public uint Execute(PacketDistributed ipacket)
        {
            CG_GUILD_REQ_INFO packet = (CG_GUILD_REQ_INFO )ipacket;

            if (null == packet)
            {
                return((uint)PACKET_EXE.PACKET_EXE_ERROR);
            }
            //enter your logic
            return((uint)PACKET_EXE.PACKET_EXE_CONTINUE);
        }
Exemplo n.º 2
0
        //申请帮会信息
        public void ReqGuildInfo()
        {
            //if (null != GameManager.gameManager.PlayerDataPool.GuildInfo)
            //{
            //    GameManager.gameManager.PlayerDataPool.GuildInfo.CleanUp();
            //}

            CG_GUILD_REQ_INFO msg = (CG_GUILD_REQ_INFO)PacketDistributed.CreatePacket(MessageID.PACKET_CG_GUILD_REQ_INFO);

            msg.Requester = GUID;
            msg.SendPacket();

            m_bNeedRequestGuildInfo = false;
            StartCoroutine(ResetGuildInfoTime());
        }