Пример #1
0
 public override void OnRelease()
 {
     if (this.stFrom != null)
     {
         this.stFrom.Release();
         this.stFrom = null;
     }
     this.bChatType = 0;
     if (this.stChatInfo != null)
     {
         this.stChatInfo.Release();
         this.stChatInfo = null;
     }
 }
Пример #2
0
 public COMDT_CHAT_MSG_BATTLE()
 {
     this.stFrom     = (COMDT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_CHAT_PLAYER_INFO.CLASS_ID);
     this.stChatInfo = (COMDT_BATTLE_CHAT_UNION)ProtocolObjectPool.Get(COMDT_BATTLE_CHAT_UNION.CLASS_ID);
 }
Пример #3
0
 public override void OnUse()
 {
     this.stFrom     = (COMDT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_CHAT_PLAYER_INFO.CLASS_ID);
     this.stChatInfo = (COMDT_BATTLE_CHAT_UNION)ProtocolObjectPool.Get(COMDT_BATTLE_CHAT_UNION.CLASS_ID);
 }