コード例 #1
0
 public override void OnRelease()
 {
     if (this.stFrom != null)
     {
         this.stFrom.Release();
         this.stFrom = null;
     }
 }
コード例 #2
0
 public override void OnRelease()
 {
     this.dwMsgIdx = 0;
     this.dwHornID = 0;
     if (this.stFrom != null)
     {
         this.stFrom.Release();
         this.stFrom = null;
     }
 }
コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #5
0
 public override void OnUse()
 {
     this.stFrom = (COMDT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_CHAT_PLAYER_INFO.CLASS_ID);
 }
コード例 #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];
 }
コード例 #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);
 }
コード例 #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);
 }