public override void OnRelease()
 {
     if (this.stNewMaster != null)
     {
         this.stNewMaster.Release();
         this.stNewMaster = null;
     }
 }
Exemple #2
0
 public override void OnRelease()
 {
     this.iRoomEntity     = 0;
     this.dwRoomID        = 0;
     this.dwRoomSeq       = 0;
     this.ullSelfUid      = 0L;
     this.iSelfGameEntity = 0;
     if (this.stRoomMaster != null)
     {
         this.stRoomMaster.Release();
         this.stRoomMaster = null;
     }
     if (this.stRoomInfo != null)
     {
         this.stRoomInfo.Release();
         this.stRoomInfo = null;
     }
     if (this.stMemInfo != null)
     {
         this.stMemInfo.Release();
         this.stMemInfo = null;
     }
 }
Exemple #3
0
 public override void OnUse()
 {
     this.stRoomMaster = (COMDT_ROOM_MASTER)ProtocolObjectPool.Get(COMDT_ROOM_MASTER.CLASS_ID);
     this.stRoomInfo   = (COMDT_NORMALROOM_ATTR)ProtocolObjectPool.Get(COMDT_NORMALROOM_ATTR.CLASS_ID);
     this.stMemInfo    = (COMDT_MULTROOMMEMBER_INFO)ProtocolObjectPool.Get(COMDT_MULTROOMMEMBER_INFO.CLASS_ID);
 }
Exemple #4
0
 public COMDT_JOINMULTGAMERSP_SUCC()
 {
     this.stRoomMaster = (COMDT_ROOM_MASTER)ProtocolObjectPool.Get(COMDT_ROOM_MASTER.CLASS_ID);
     this.stRoomInfo   = (COMDT_NORMALROOM_ATTR)ProtocolObjectPool.Get(COMDT_NORMALROOM_ATTR.CLASS_ID);
     this.stMemInfo    = (COMDT_MULTROOMMEMBER_INFO)ProtocolObjectPool.Get(COMDT_MULTROOMMEMBER_INFO.CLASS_ID);
 }
 public COMDT_ROOMCHG_MASTERCHG()
 {
     this.stNewMaster = (COMDT_ROOM_MASTER)ProtocolObjectPool.Get(COMDT_ROOM_MASTER.CLASS_ID);
 }
 public override void OnUse()
 {
     this.stNewMaster = (COMDT_ROOM_MASTER)ProtocolObjectPool.Get(COMDT_ROOM_MASTER.CLASS_ID);
 }