Ejemplo n.º 1
0
        // 召集队员
        public void ReqCallMember()
        {
            CG_TEAM_CALLMEMBER msg = (CG_TEAM_CALLMEMBER)PacketDistributed.CreatePacket(MessageID.PACKET_CG_TEAM_CALLMEMBER);

            msg.ObjID = ServerID;
            msg.SendPacket();
        }
        public uint Execute(PacketDistributed ipacket)
        {
            CG_TEAM_CALLMEMBER packet = (CG_TEAM_CALLMEMBER )ipacket;

            if (null == packet)
            {
                return((uint)PACKET_EXE.PACKET_EXE_ERROR);
            }
            //enter your logic
            return((uint)PACKET_EXE.PACKET_EXE_CONTINUE);
        }