Esempio n. 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;
     }
 }
Esempio n. 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);
 }
Esempio n. 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);
 }