Exemple #1
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 #2
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 #3
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);
 }