Exemple #1
0
        /// <summary>
        /// 发送聊天信息
        /// </summary>
        /// <param name="channel"></param>
        /// <param name="content"></param>
        /// <param name="cb"></param>
        /// <returns></returns>
        public bool SendMsgChatSystemGC2GMReqChat(SRoleKey roleKey, EChatChanel channel, string content, CChatEquipID equipID, CBMsgChatSystemGM2GCAckChat cb)
        {
            CMsgChatC2GMReqChat req = new CMsgChatC2GMReqChat(roleKey, channel, content, equipID);

            CMsgChatSystemGM2GCAckChat.s_cb = cb;
            return(CGameClient.Singleton.SendMsg(req));
        }
        public bool SendMsgPlayerSystemGC2GMReqGetRoleData(SRoleKey a_roleKey, CBMsgPlayerSystemGM2GCAckGetRoleData a_cb)
        {
            CMsgPlayerSystemGC2GMReqGetRoleData req = new CMsgPlayerSystemGC2GMReqGetRoleData(a_roleKey);

            CMsgPlayerSystemGM2GCAckGetRoleData.cb = a_cb;
            return(CGameClient.Singleton.SendMsg(req));
        }
Exemple #3
0
 public CMsgSceneSystemGC2GMReqEnterStage(UInt32 instanceID, UInt16 index, SRoleKey helperKey)
     : base(CServerType.SRVTYPE_GAMESERVER, CFuncType.EFUNCTYPE_SCENESYSTEM, CSceneSystemMsgNumID.EMSGNUMID_SCENESYSTEM_GC2GM_REQ_ENTER_STAGE)
 {
     m_instanceID = instanceID;
     m_index      = index;
     m_helperKey  = helperKey;
 }
Exemple #4
0
 public CMsgChatC2GMReqChat(SRoleKey receiverKey, EChatChanel channel, string content, CChatEquipID equipID)
     : base(CServerType.SRVTYPE_GAMESERVER, CFuncType.EFUNCTYPE_CHATSYSTEM, CChatSystemMsgNumID.EMSGNUMID_CHATSYSTEM_GC2GM_REQ_CHAT)
 {
     m_roleKey     = receiverKey;
     m_channel     = channel;
     m_content     = content;
     m_chatEquipID = equipID;
 }
Exemple #5
0
        /// <summary>
        /// 发送进入关卡的消息
        /// </summary>
        /// <param name="instanceID">副本ID</param>
        /// <param name="index">副本内关卡序号</param>
        /// <param name="cb"></param>
        /// <returns></returns>
        public bool SendMsgSceneSystemGC2GMReqEnterStage(UInt32 instanceID, UInt16 index, SRoleKey helperKey, CBMsgSceneSystemGM2GCAckEnterStage cb)
        {
            CMsgSceneSystemGC2GMReqEnterStage req = new CMsgSceneSystemGC2GMReqEnterStage(instanceID, index, helperKey);

            CMsgSceneSystemGM2GCAckEnterStage.s_cb = cb;
            return(CGameClient.Singleton.SendMsg(req));
        }
Exemple #6
0
 public CMsgPlayerSystemGC2GMReqGetRoleData(SRoleKey a_roleKey)
     : base(CServerType.SRVTYPE_GAMESERVER, CFuncType.EFUNCTYPE_PLAYERSYSTEM, CPlayerSystemMsgNumID.EMSGNUMID_PLAYERSYSTEM_GC2GM_REQ_GET_ROLEDATA)
 {
     m_roleKey = a_roleKey;
 }