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

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


    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());
View Full Code Here

TOP

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

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.