Exemplo n.º 1
0
 public override void OnRelease()
 {
     if (this.stFrom != null)
     {
         this.stFrom.Release();
         this.stFrom = null;
     }
 }
Exemplo n.º 2
0
 public override void OnRelease()
 {
     this.dwMsgIdx = 0;
     this.dwHornID = 0;
     if (this.stFrom != null)
     {
         this.stFrom.Release();
         this.stFrom = null;
     }
 }
Exemplo n.º 3
0
 public override void OnRelease()
 {
     this.dwHornID       = 0u;
     this.dwBeginShowSec = 0u;
     this.dwEndShowSec   = 0u;
     if (this.stFrom != null)
     {
         this.stFrom.Release();
         this.stFrom = null;
     }
 }
Exemplo n.º 4
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;
     }
 }
Exemplo n.º 5
0
 public override void OnUse()
 {
     this.stFrom = (COMDT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_CHAT_PLAYER_INFO.CLASS_ID);
 }
Exemplo n.º 6
0
 public COMDT_CHAT_MSG_ROOM()
 {
     this.stFrom    = (COMDT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_CHAT_PLAYER_INFO.CLASS_ID);
     this.szContent = new byte[64];
 }
Exemplo n.º 7
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);
 }
Exemplo n.º 8
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);
 }