Package gwlpr.protocol.gameserver.outbound

Examples of gwlpr.protocol.gameserver.outbound.P077_UpdateAppearance


        String name = entity.get(Name.class).name;
        AgentIdentifiers agentIDs = entity.get(AgentIdentifiers.class);
        PlayerAppearance appearance = entity.get(PlayerAppearance.class);
       
        // send update agent appearance
        P077_UpdateAppearance updateAppear= new P077_UpdateAppearance();
        updateAppear.init(channel);
        updateAppear.setAgentID(agentIDs.localID);
        updateAppear.setLocalID(agentIDs.agentID);
        updateAppear.setAppearanceDump(byteArrayToInt(appearance.appearanceDump));
        updateAppear.setUnknown1((byte) 0);
        updateAppear.setUnknown2(0);
        updateAppear.setUnknown3(0x3CBFA094);
        updateAppear.setName(name);

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

TOP

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

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.