public override void OnUse() { this.stBaseInfo = (COMDT_HEROINFO)ProtocolObjectPool.Get(COMDT_HEROINFO.CLASS_ID); this.stBurningInfo = (COMDT_HERO_BURNING_INFO)ProtocolObjectPool.Get(COMDT_HERO_BURNING_INFO.CLASS_ID); this.stHeroExtral = (COMDT_HEROEXTRALINFO)ProtocolObjectPool.Get(COMDT_HEROEXTRALINFO.CLASS_ID); this.stNewHeroEquipList = (COMDT_HERO_EQUIPLIST_NEW)ProtocolObjectPool.Get(COMDT_HERO_EQUIPLIST_NEW.CLASS_ID); }
public COMDT_CHOICEHERO() { this.stBaseInfo = (COMDT_HEROINFO)ProtocolObjectPool.Get(COMDT_HEROINFO.CLASS_ID); this.SymbolID = new uint[30]; this.stBurningInfo = (COMDT_HERO_BURNING_INFO)ProtocolObjectPool.Get(COMDT_HERO_BURNING_INFO.CLASS_ID); this.stHeroExtral = (COMDT_HEROEXTRALINFO)ProtocolObjectPool.Get(COMDT_HEROEXTRALINFO.CLASS_ID); this.HeroEquipList = new uint[6]; }
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 override void OnRelease() { if (this.stBaseInfo != null) { this.stBaseInfo.Release(); this.stBaseInfo = null; } if (this.stBurningInfo != null) { this.stBurningInfo.Release(); this.stBurningInfo = null; } if (this.stHeroExtral != null) { this.stHeroExtral.Release(); this.stHeroExtral = 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); }