Package be.demmel.jgws.packets.gameserver.outbound

Examples of be.demmel.jgws.packets.gameserver.outbound.P221_UpdateFaction


    P126_ZoneDataMapData mapData = new P126_ZoneDataMapData();
    mapData.setUnknown1(new long[] { (0x0B << 16), (0xff | 0xff << 8 | 0x54 << 16 | 0x03 << 24), (0x3b | 0x04 << 8 | 0x3a << 16 | 0x04 << 24),
        (0x3a | 0x04 << 8 | 0xe8 << 16), 0, 0, (0x17 << 24) });
    ctx.write(mapData);

    P221_UpdateFaction faction = new P221_UpdateFaction();
    faction.setKurzFree(0);
    faction.setKurzTotal(0);
    faction.setLuxFree(0);
    faction.setLuxTotal(0);
    faction.setImpFree(0);
    faction.setImpTotal(0);
    faction.setBalthFree(0);
    faction.setBalthMax(0);
    faction.setLevel(character.getLevel());
    faction.setMorale(character.getMorale());
    ctx.write(faction);

    P207_UpdateAvailableSkills updateAvailableSkills = new P207_UpdateAvailableSkills();
    // TODO: convert the skills from the char to the right integer values (because the client uses the length of ints, we have bytes)
    // empty for now, database doesn't support it for now anyway
View Full Code Here

TOP

Related Classes of be.demmel.jgws.packets.gameserver.outbound.P221_UpdateFaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.