public override void OnRelease()
 {
     this.dwHeroID = 0;
     this.bWearPos = 0;
     if (this.stWearInfo != null)
     {
         this.stWearInfo.Release();
         this.stWearInfo = null;
     }
 }
 public override void OnUse()
 {
     this.stWearInfo = (COMDT_HERO_WEARINFO)ProtocolObjectPool.Get(COMDT_HERO_WEARINFO.CLASS_ID);
 }
Example #3
0
 public SCPKG_CMD_GEAR_ADVANCE()
 {
     this.stWearInfo = (COMDT_HERO_WEARINFO)ProtocolObjectPool.Get(COMDT_HERO_WEARINFO.CLASS_ID);
 }