Package gwlpr.protocol.gameserver.outbound

Examples of gwlpr.protocol.gameserver.outbound.P035_AgentRotate


    public static void sendRotateAgent(Channel channel, Entity entity, float cos, float sin)
    {
        // retrieve the entity related data we need...
        int agentID = entity.get(AgentIdentifiers.class).agentID;
       
        P035_AgentRotate rot = new P035_AgentRotate();
        rot.init(channel);
        rot.setAgent(agentID);
        rot.setRotation1(Float.floatToRawIntBits(cos));
        rot.setRotation2(Float.floatToRawIntBits(sin));//0x40060A92);

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

TOP

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

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.