public override void OnRelease()
 {
     if (this.stStatisticData != null)
     {
         this.stStatisticData.Release();
         this.stStatisticData = null;
     }
     if (this.stHeroData != null)
     {
         this.stHeroData.Release();
         this.stHeroData = null;
     }
     if (this.stGeneralData != null)
     {
         this.stGeneralData.Release();
         this.stGeneralData = null;
     }
     if (this.stNonHeroData != null)
     {
         this.stNonHeroData.Release();
         this.stNonHeroData = null;
     }
     if (this.stOtherData != null)
     {
         this.stOtherData.Release();
         this.stOtherData = null;
     }
 }
 public COMDT_SETTLE_COMMON_DATA()
 {
     this.stStatisticData = (COMDT_STATISTIC_DATA)ProtocolObjectPool.Get(COMDT_STATISTIC_DATA.CLASS_ID);
     this.stHeroData      = (COMDT_SETTLE_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_SETTLE_HERO_DETAIL.CLASS_ID);
     this.stGeneralData   = (COMDT_SETTLE_GAME_GENERAL_INFO)ProtocolObjectPool.Get(COMDT_SETTLE_GAME_GENERAL_INFO.CLASS_ID);
     this.stNonHeroData   = (COMDT_NONHERO_DETAIL)ProtocolObjectPool.Get(COMDT_NONHERO_DETAIL.CLASS_ID);
     this.stOtherData     = (COMDT_SETTLE_OTHERINFO)ProtocolObjectPool.Get(COMDT_SETTLE_OTHERINFO.CLASS_ID);
 }