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); }
public override void OnRelease() { if (this.stCurState != null) { this.stCurState.Release(); this.stCurState = null; } if (this.stNextState != null) { this.stNextState.Release(); this.stNextState = null; } }
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; }
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); }
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); }