public override void OnRelease() { this.ullAcntUid = 0uL; this.dwPropID = 0u; if (this.stRewardList != null) { this.stRewardList.Release(); this.stRewardList = null; } }
public COMDT_GIFTUSE_LIMITCHK_INFO() { this.stRewardList = (COMDT_REWARD_SHORTINFO)ProtocolObjectPool.Get(COMDT_REWARD_SHORTINFO.CLASS_ID); }
public override void OnUse() { this.stRewardList = (COMDT_REWARD_SHORTINFO)ProtocolObjectPool.Get(COMDT_REWARD_SHORTINFO.CLASS_ID); }