public override void OnRelease() { this.bWealType = 0; this.dwWealID = 0u; if (this.stWealData != null) { this.stWealData.Release(); this.stWealData = null; } }
public COMDT_TEAM_WEAL_DETAIL() { this.stWealData = (COMDT_TEAM_WEAL_UNION)ProtocolObjectPool.Get(COMDT_TEAM_WEAL_UNION.CLASS_ID); }
public override void OnUse() { this.stWealData = (COMDT_TEAM_WEAL_UNION)ProtocolObjectPool.Get(COMDT_TEAM_WEAL_UNION.CLASS_ID); }