public CSDT_RECONN_BAN_PICK_STATE_INFO()
 {
     this.Camp1BanList = new uint[3];
     this.Camp2BanList = new uint[3];
     this.stCurState   = (CSDT_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_BAN_PICK_STATE_INFO.CLASS_ID);
     this.stNextState  = (CSDT_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_BAN_PICK_STATE_INFO.CLASS_ID);
 }
示例#2
0
 public override void OnRelease()
 {
     if (this.stCurState != null)
     {
         this.stCurState.Release();
         this.stCurState = null;
     }
     if (this.stNextState != null)
     {
         this.stNextState.Release();
         this.stNextState = null;
     }
 }
示例#3
0
 public override void OnRelease()
 {
     this.bCamp1BanNum = 0;
     this.bCamp2BanNum = 0;
     if (this.stCurState != null)
     {
         this.stCurState.Release();
         this.stCurState = null;
     }
     if (this.stNextState != null)
     {
         this.stNextState.Release();
         this.stNextState = null;
     }
     this.bBanPosNum = 0;
 }
示例#4
0
 public SCPKG_NTF_CUR_BAN_PICK_INFO()
 {
     this.stCurState  = (CSDT_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_BAN_PICK_STATE_INFO.CLASS_ID);
     this.stNextState = (CSDT_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_BAN_PICK_STATE_INFO.CLASS_ID);
 }
示例#5
0
 public override void OnUse()
 {
     this.stCurState  = (CSDT_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_BAN_PICK_STATE_INFO.CLASS_ID);
     this.stNextState = (CSDT_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_BAN_PICK_STATE_INFO.CLASS_ID);
 }