public override void OnRelease() { if (this.stHeroInfo != null) { this.stHeroInfo.Release(); this.stHeroInfo = null; } if (this.stHeroSkin != null) { this.stHeroSkin.Release(); this.stHeroSkin = null; } this.dwFrom = 0u; }
public override void OnRelease() { this.iResult = 0; if (this.stHeroInfo != null) { this.stHeroInfo.Release(); this.stHeroInfo = null; } if (this.stHeroSkin != null) { this.stHeroSkin.Release(); this.stHeroSkin = null; } }
public SCPKG_ADDHERO_NTY() { this.stHeroInfo = (COMDT_HEROINFO)ProtocolObjectPool.Get(COMDT_HEROINFO.CLASS_ID); this.stHeroSkin = (COMDT_HERO_SKIN)ProtocolObjectPool.Get(COMDT_HERO_SKIN.CLASS_ID); }
public override void OnUse() { this.stHeroInfo = (COMDT_HEROINFO)ProtocolObjectPool.Get(COMDT_HEROINFO.CLASS_ID); this.stHeroSkin = (COMDT_HERO_SKIN)ProtocolObjectPool.Get(COMDT_HERO_SKIN.CLASS_ID); }