Package gwlpr.protocol.gameserver.outbound

Examples of gwlpr.protocol.gameserver.outbound.P171_UpdatePrivProfessions


        send(channel, agentID, charData.primary.ordinal(), charData.secondary.ordinal(), true);
    }
   
    public static void send(Channel channel, int agentID, int primary, int secondary, boolean isPvP)
    {
        P171_UpdatePrivProfessions updatePrivateProfessions = new P171_UpdatePrivProfessions();
        updatePrivateProfessions.init(channel);
        updatePrivateProfessions.setAgentID(agentID);
        updatePrivateProfessions.setPrimaryProf((byte) primary);
        updatePrivateProfessions.setSecondaryProf((byte) secondary);
        updatePrivateProfessions.setIsPvP((byte) (isPvP ? 1 : 0));

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

TOP

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

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.