예제 #1
0
 public COMDT_ASSIST_ROLE_EXTPVP()
 {
     this.stOneVsOneInfo     = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stThreeVsThreeInfo = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stFiveVsFiveInfo   = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stLadderInfo       = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stGuildMatch       = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stTotalInfo        = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
 }
예제 #2
0
 public override void OnUse()
 {
     this.stOneVsOneInfo     = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stThreeVsThreeInfo = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stFiveVsFiveInfo   = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stLadderInfo       = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stGuildMatch       = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stTotalInfo        = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
 }
예제 #3
0
 public CSDT_PVPDETAIL_INFO()
 {
     this.stOneVsOneInfo      = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stTwoVsTwoInfo      = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stThreeVsThreeInfo  = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stFourVsFourInfo    = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stFiveVsFiveInfo    = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stLadderInfo        = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stVsMachineInfo     = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stEntertainmentInfo = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stKVDetail          = (COMDT_STATISTIC_KEY_VALUE_DETAIL)ProtocolObjectPool.Get(COMDT_STATISTIC_KEY_VALUE_DETAIL.CLASS_ID);
     this.stGuildMatch        = (COMDT_PVPBATTLE_INFO)ProtocolObjectPool.Get(COMDT_PVPBATTLE_INFO.CLASS_ID);
     this.stMultiExtraDetail  = (COMDT_STATISTIC_DATA_EXTRA_DETAIL)ProtocolObjectPool.Get(COMDT_STATISTIC_DATA_EXTRA_DETAIL.CLASS_ID);
     this.stRadarDetail       = (CSDT_STATISTIC_DATA_EXTRA_RADAR_DETAIL)ProtocolObjectPool.Get(CSDT_STATISTIC_DATA_EXTRA_RADAR_DETAIL.CLASS_ID);
 }
 public override void OnRelease()
 {
     if (this.stOneVsOneInfo != null)
     {
         this.stOneVsOneInfo.Release();
         this.stOneVsOneInfo = null;
     }
     if (this.stThreeVsThreeInfo != null)
     {
         this.stThreeVsThreeInfo.Release();
         this.stThreeVsThreeInfo = null;
     }
     if (this.stFiveVsFiveInfo != null)
     {
         this.stFiveVsFiveInfo.Release();
         this.stFiveVsFiveInfo = null;
     }
     if (this.stLadderInfo != null)
     {
         this.stLadderInfo.Release();
         this.stLadderInfo = null;
     }
     if (this.stGuildMatch != null)
     {
         this.stGuildMatch.Release();
         this.stGuildMatch = null;
     }
     if (this.stEntertainment != null)
     {
         this.stEntertainment.Release();
         this.stEntertainment = null;
     }
     this.dwMvp        = 0u;
     this.dwLoseSoul   = 0u;
     this.dwGodLike    = 0u;
     this.dwTripleKill = 0u;
     this.dwQuadraKill = 0u;
     this.dwPentaKill  = 0u;
     if (this.stTotalInfo != null)
     {
         this.stTotalInfo.Release();
         this.stTotalInfo = null;
     }
     this.dwClassOfRank = 0u;
 }
예제 #5
0
 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;
     }
     if (this.stGuildMatch != null)
     {
         this.stGuildMatch.Release();
         this.stGuildMatch = null;
     }
     if (this.stMultiExtraDetail != null)
     {
         this.stMultiExtraDetail.Release();
         this.stMultiExtraDetail = null;
     }
     if (this.stRadarDetail != null)
     {
         this.stRadarDetail.Release();
         this.stRadarDetail = null;
     }
 }