Package gwlpr.protocol.gameserver.outbound

Examples of gwlpr.protocol.gameserver.outbound.P151_UpdateTargetGenericModifier


        channel.writeAndFlush(updateGenericValueTarget);
    }

    public static void send(Channel channel, int targetAgentID, int casterAgentID, GenericValue valueID, float value)
    {
        P151_UpdateTargetGenericModifier updateGenericValueModifier = new P151_UpdateTargetGenericModifier();
        updateGenericValueModifier.init(channel);
        updateGenericValueModifier.setValueID(valueID.ordinal());
        updateGenericValueModifier.setTarget(targetAgentID);
        updateGenericValueModifier.setCaster(casterAgentID);
        updateGenericValueModifier.setValue(Float.floatToRawIntBits(value));

        channel.writeAndFlush(updateGenericValueModifier);
    }
View Full Code Here

TOP

Related Classes of gwlpr.protocol.gameserver.outbound.P151_UpdateTargetGenericModifier

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.