Exemple #1
0
 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;
     }
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 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);
 }