Package gwlpr.protocol.gameserver.outbound

Examples of gwlpr.protocol.gameserver.outbound.P026_AgentMoveDirection


        int agentID = entity.get(AgentIdentifiers.class).agentID;
        Vector2 dir = entity.get(Direction.class).direction;
        MovementType movT = entity.get(Movement.class).moveType;
       
        // construct the message
        P026_AgentMoveDirection moveDir = new P026_AgentMoveDirection();
        moveDir.init(channel);
        moveDir.setAgentID(agentID);
        moveDir.setDirection(dir);
        moveDir.setMovementType(movT.getVal());

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

TOP

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

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.