public override void OnUse()
 {
     this.stOneVsOneInfo      = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stTwoVsTwoInfo      = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stThreeVsThreeInfo  = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stFourVsFourInfo    = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stFiveVsFiveInfo    = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stLadderInfo        = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stVsMachineInfo     = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stEntertainmentInfo = (CSDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(CSDT_PVPBATTLE_INFO.CLASS_ID);
     this.stKVDetail          = (COMDT_STATISTIC_KEY_VALUE_DETAIL)ProtocolObjectPool.Get(COMDT_STATISTIC_KEY_VALUE_DETAIL.CLASS_ID);
 }
 public override void OnRelease()
 {
     if (this.stOneVsOneInfo != null)
     {
         this.stOneVsOneInfo.Release();
         this.stOneVsOneInfo = null;
     }
     if (this.stTwoVsTwoInfo != null)
     {
         this.stTwoVsTwoInfo.Release();
         this.stTwoVsTwoInfo = null;
     }
     if (this.stThreeVsThreeInfo != null)
     {
         this.stThreeVsThreeInfo.Release();
         this.stThreeVsThreeInfo = null;
     }
     if (this.stFourVsFourInfo != null)
     {
         this.stFourVsFourInfo.Release();
         this.stFourVsFourInfo = null;
     }
     if (this.stFiveVsFiveInfo != null)
     {
         this.stFiveVsFiveInfo.Release();
         this.stFiveVsFiveInfo = null;
     }
     if (this.stLadderInfo != null)
     {
         this.stLadderInfo.Release();
         this.stLadderInfo = null;
     }
     if (this.stVsMachineInfo != null)
     {
         this.stVsMachineInfo.Release();
         this.stVsMachineInfo = null;
     }
     if (this.stEntertainmentInfo != null)
     {
         this.stEntertainmentInfo.Release();
         this.stEntertainmentInfo = null;
     }
     if (this.stKVDetail != null)
     {
         this.stKVDetail.Release();
         this.stKVDetail = null;
     }
 }