Ejemplo 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;
     }
 }
Ejemplo 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);
 }
Ejemplo 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);
 }