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

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


    updateSkillBar.setSkillBar(new long[8]);
    updateSkillBar.setSkillBarPvpMask(new long[8]);
    updateSkillBar.setUnknown4((byte) 1);
    ctx.write(updateSkillBar);

    P147_UpdateGenericValueInt updateEnergy = new P147_UpdateGenericValueInt();
    updateEnergy.setAgentId(character.getAgentID());
    updateEnergy.setValueId(GenericValues.Energy.getValue());
    updateEnergy.setValue(character.getEnergy());
    ctx.write(updateEnergy);

    P150_UpdateGenericValueFloat updateEnergyRegen = new P150_UpdateGenericValueFloat();
    updateEnergyRegen.setAgentId(character.getAgentID());
    updateEnergyRegen.setValueId(GenericValues.EnergyRegen.getValue());
    updateEnergyRegen.setValue(character.getEnergyRegen());
    ctx.write(updateEnergyRegen);

    P147_UpdateGenericValueInt updateHealth = new P147_UpdateGenericValueInt();
    updateHealth.setAgentId(character.getAgentID());
    updateHealth.setValueId(GenericValues.Health.getValue());
    updateHealth.setValue(character.getHealth());
    ctx.write(updateHealth);

    P150_UpdateGenericValueFloat updateHealthRegen = new P150_UpdateGenericValueFloat();
    updateHealthRegen.setAgentId(character.getAgentID());
    updateHealthRegen.setValueId(GenericValues.HealthRegen.getValue());
    updateHealthRegen.setValue(character.getHealthRegen());
    ctx.write(updateHealthRegen);

    P147_UpdateGenericValueInt updatelevel = new P147_UpdateGenericValueInt();
    updatelevel.setAgentId(character.getAgentID());
    updatelevel.setValueId(GenericValues.PublicLevel.getValue());
    updatelevel.setValue(character.getLevel());
    ctx.write(updatelevel);

    P127_ZoneDataPrepMapData prepMap = new P127_ZoneDataPrepMapData();
    prepMap.setUnknown1(64);
    prepMap.setUnknown2(128);
View Full Code Here

TOP

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

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.