public override void OnRelease() { this.dwCnt = 0u; this.dwReachMask = 0u; this.dwDrawMask = 0u; if (this.stNormalMiss != null) { this.stNormalMiss.Release(); this.stNormalMiss = null; } if (this.stPeriodMiss != null) { this.stPeriodMiss.Release(); this.stPeriodMiss = null; } this.dwLuckyPoint = 0u; }
public COMDT_LUCKYDRAW_INFO() { this.stNormalMiss = (COMDT_LUCKYDRAW_MISS)ProtocolObjectPool.Get(COMDT_LUCKYDRAW_MISS.CLASS_ID); this.stPeriodMiss = (COMDT_LUCKYDRAW_MISS)ProtocolObjectPool.Get(COMDT_LUCKYDRAW_MISS.CLASS_ID); }
public override void OnUse() { this.stNormalMiss = (COMDT_LUCKYDRAW_MISS)ProtocolObjectPool.Get(COMDT_LUCKYDRAW_MISS.CLASS_ID); this.stPeriodMiss = (COMDT_LUCKYDRAW_MISS)ProtocolObjectPool.Get(COMDT_LUCKYDRAW_MISS.CLASS_ID); }