public override void OnRelease() { this.dwDeadline = 0; if (this.stFreeHeroList != null) { this.stFreeHeroList.Release(); this.stFreeHeroList = null; } }
public override void OnUse() { this.stFreeHeroList = (COMDT_FREEHERO_LIST)ProtocolObjectPool.Get(COMDT_FREEHERO_LIST.CLASS_ID); }
public COMDT_FREEHERO() { this.stFreeHeroList = (COMDT_FREEHERO_LIST)ProtocolObjectPool.Get(COMDT_FREEHERO_LIST.CLASS_ID); }