Beispiel #1
0
 public override void OnRelease()
 {
     this.iRoomEntity = 0;
     this.dwRoomID    = 0;
     this.dwRoomSeq   = 0;
     if (this.stRoomInfo != null)
     {
         this.stRoomInfo.Release();
         this.stRoomInfo = null;
     }
     if (this.stMemInfo != null)
     {
         this.stMemInfo.Release();
         this.stMemInfo = null;
     }
     this.dwMatchSec = 0;
 }
Beispiel #2
0
 public COMDT_MATCH_SUCC_DETAIL()
 {
     this.stRoomInfo = (COMDT_MATCHROOM_ATTR)ProtocolObjectPool.Get(COMDT_MATCHROOM_ATTR.CLASS_ID);
     this.stMemInfo  = (COMDT_MULTROOMMEMBER_INFO)ProtocolObjectPool.Get(COMDT_MULTROOMMEMBER_INFO.CLASS_ID);
 }
Beispiel #3
0
 public override void OnUse()
 {
     this.stRoomInfo = (COMDT_MATCHROOM_ATTR)ProtocolObjectPool.Get(COMDT_MATCHROOM_ATTR.CLASS_ID);
     this.stMemInfo  = (COMDT_MULTROOMMEMBER_INFO)ProtocolObjectPool.Get(COMDT_MULTROOMMEMBER_INFO.CLASS_ID);
 }