예제 #1
0
 public override void OnRelease()
 {
     this.ullUid          = 0L;
     this.iLogicWorldId   = 0;
     this.bIsOnline       = 0;
     this.dwLastLoginTime = 0;
     this.dwLevel         = 0;
     this.dwExp           = 0;
     this.dwPower         = 0;
     this.dwPvpLevel      = 0;
     this.dwPvpExp        = 0;
     this.bGradeOfRank    = 0;
     this.bMaxGradeOfRank = 0;
     if (this.stGameVip != null)
     {
         this.stGameVip.Release();
         this.stGameVip = null;
     }
     if (this.stStatistic != null)
     {
         this.stStatistic.Release();
         this.stStatistic = null;
     }
     if (this.stGuildInfo != null)
     {
         this.stGuildInfo.Release();
         this.stGuildInfo = null;
     }
     if (this.stBanTime != null)
     {
         this.stBanTime.Release();
         this.stBanTime = null;
     }
     if (this.stMostUsedHero != null)
     {
         this.stMostUsedHero.Release();
         this.stMostUsedHero = null;
     }
     this.dwQQVIPMask = 0;
     this.bPrivilege  = 0;
     this.bGender     = 0;
     if (this.stHonorInfo != null)
     {
         this.stHonorInfo.Release();
         this.stHonorInfo = null;
     }
     this.dwCreditValue = 0;
     if (this.stRankInfo != null)
     {
         this.stRankInfo.Release();
         this.stRankInfo = null;
     }
     this.dwCurClassOfRank = 0;
     if (this.stLikeNum != null)
     {
         this.stLikeNum.Release();
         this.stLikeNum = null;
     }
 }
예제 #2
0
 public override void OnRelease()
 {
     this.bCurGrade = 0;
     if (this.stRankInfo != null)
     {
         this.stRankInfo.Release();
         this.stRankInfo = null;
     }
 }
 public override void OnRelease()
 {
     this.bGrade = 0;
     if (this.stRankDetail != null)
     {
         this.stRankDetail.Release();
         this.stRankDetail = null;
     }
 }
 public override void OnRelease()
 {
     this.bCurGrade  = 0;
     this.dwCurClass = 0u;
     if (this.stRankInfo != null)
     {
         this.stRankInfo.Release();
         this.stRankInfo = null;
     }
     this.bMaxGradeOfRank = 0;
 }
예제 #5
0
 public override void OnUse()
 {
     this.stGameVip      = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID);
     this.stStatistic    = (CSDT_PVPDETAIL_INFO)ProtocolObjectPool.Get(CSDT_PVPDETAIL_INFO.CLASS_ID);
     this.stGuildInfo    = (COMDT_ACNT_GUILD_INFO)ProtocolObjectPool.Get(COMDT_ACNT_GUILD_INFO.CLASS_ID);
     this.stBanTime      = (COMDT_ACNT_BANTIME)ProtocolObjectPool.Get(COMDT_ACNT_BANTIME.CLASS_ID);
     this.stMostUsedHero = (COMDT_MOST_USED_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_MOST_USED_HERO_DETAIL.CLASS_ID);
     this.stHonorInfo    = (COMDT_ACNT_HONORINFO)ProtocolObjectPool.Get(COMDT_ACNT_HONORINFO.CLASS_ID);
     this.stRankInfo     = (COMDT_RANKDETAIL)ProtocolObjectPool.Get(COMDT_RANKDETAIL.CLASS_ID);
     this.stLikeNum      = (COMDT_LIKE_NUMS)ProtocolObjectPool.Get(COMDT_LIKE_NUMS.CLASS_ID);
 }
예제 #6
0
 public override void OnUse()
 {
     this.stGameVip      = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID);
     this.stStatistic    = (CSDT_PVPDETAIL_INFO)ProtocolObjectPool.Get(CSDT_PVPDETAIL_INFO.CLASS_ID);
     this.stGuildInfo    = (COMDT_ACNT_GUILD_INFO)ProtocolObjectPool.Get(COMDT_ACNT_GUILD_INFO.CLASS_ID);
     this.stBanTime      = (COMDT_ACNT_BANTIME)ProtocolObjectPool.Get(COMDT_ACNT_BANTIME.CLASS_ID);
     this.stMostUsedHero = (COMDT_MOST_USED_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_MOST_USED_HERO_DETAIL.CLASS_ID);
     this.stHonorInfo    = (COMDT_ACNT_HONORINFO)ProtocolObjectPool.Get(COMDT_ACNT_HONORINFO.CLASS_ID);
     this.stRankInfo     = (COMDT_RANKDETAIL)ProtocolObjectPool.Get(COMDT_RANKDETAIL.CLASS_ID);
     this.stLikeNum      = (COMDT_LIKE_NUMS)ProtocolObjectPool.Get(COMDT_LIKE_NUMS.CLASS_ID);
     if (this.astShowAchievement != null)
     {
         for (int i = 0; i < this.astShowAchievement.Length; i++)
         {
             this.astShowAchievement[i] = (CSDT_SHOWACHIEVE_DETAIL)ProtocolObjectPool.Get(CSDT_SHOWACHIEVE_DETAIL.CLASS_ID);
         }
     }
     this.stAcntMasterInfo = (COMDT_ACNT_MASTER_INFO)ProtocolObjectPool.Get(COMDT_ACNT_MASTER_INFO.CLASS_ID);
 }
예제 #7
0
 public CSDT_ACNT_DETAIL_INFO()
 {
     this.szAcntName         = new byte[64];
     this.szOpenID           = new byte[64];
     this.szOpenUrl          = new byte[256];
     this.stGameVip          = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID);
     this.stStatistic        = (CSDT_PVPDETAIL_INFO)ProtocolObjectPool.Get(CSDT_PVPDETAIL_INFO.CLASS_ID);
     this.stGuildInfo        = (COMDT_ACNT_GUILD_INFO)ProtocolObjectPool.Get(COMDT_ACNT_GUILD_INFO.CLASS_ID);
     this.stBanTime          = (COMDT_ACNT_BANTIME)ProtocolObjectPool.Get(COMDT_ACNT_BANTIME.CLASS_ID);
     this.stMostUsedHero     = (COMDT_MOST_USED_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_MOST_USED_HERO_DETAIL.CLASS_ID);
     this.stHonorInfo        = (COMDT_ACNT_HONORINFO)ProtocolObjectPool.Get(COMDT_ACNT_HONORINFO.CLASS_ID);
     this.stRankInfo         = (COMDT_RANKDETAIL)ProtocolObjectPool.Get(COMDT_RANKDETAIL.CLASS_ID);
     this.stLikeNum          = (COMDT_LIKE_NUMS)ProtocolObjectPool.Get(COMDT_LIKE_NUMS.CLASS_ID);
     this.astShowAchievement = new CSDT_SHOWACHIEVE_DETAIL[3];
     for (int i = 0; i < 3; i++)
     {
         this.astShowAchievement[i] = (CSDT_SHOWACHIEVE_DETAIL)ProtocolObjectPool.Get(CSDT_SHOWACHIEVE_DETAIL.CLASS_ID);
     }
     this.szSignatureInfo  = new byte[128];
     this.stAcntMasterInfo = (COMDT_ACNT_MASTER_INFO)ProtocolObjectPool.Get(COMDT_ACNT_MASTER_INFO.CLASS_ID);
 }
 public COMDT_ACNT_MATCH_BRIEF_INFO()
 {
     this.stRankDetail = (COMDT_RANKDETAIL)ProtocolObjectPool.Get(COMDT_RANKDETAIL.CLASS_ID);
 }
 public override void OnUse()
 {
     this.stRankDetail = (COMDT_RANKDETAIL)ProtocolObjectPool.Get(COMDT_RANKDETAIL.CLASS_ID);
 }
예제 #10
0
 public override void OnRelease()
 {
     this.ullUid          = 0uL;
     this.iLogicWorldId   = 0;
     this.bIsOnline       = 0;
     this.dwLastLoginTime = 0u;
     this.dwLevel         = 0u;
     this.dwExp           = 0u;
     this.dwPower         = 0u;
     this.dwPvpLevel      = 0u;
     this.dwPvpExp        = 0u;
     this.bGradeOfRank    = 0;
     this.bMaxGradeOfRank = 0;
     this.dwWangZheCnt    = 0u;
     if (this.stGameVip != null)
     {
         this.stGameVip.Release();
         this.stGameVip = null;
     }
     if (this.stStatistic != null)
     {
         this.stStatistic.Release();
         this.stStatistic = null;
     }
     if (this.stGuildInfo != null)
     {
         this.stGuildInfo.Release();
         this.stGuildInfo = null;
     }
     if (this.stBanTime != null)
     {
         this.stBanTime.Release();
         this.stBanTime = null;
     }
     if (this.stMostUsedHero != null)
     {
         this.stMostUsedHero.Release();
         this.stMostUsedHero = null;
     }
     this.dwQQVIPMask = 0u;
     this.bPrivilege  = 0;
     this.bGender     = 0;
     if (this.stHonorInfo != null)
     {
         this.stHonorInfo.Release();
         this.stHonorInfo = null;
     }
     this.dwCreditValue = 0u;
     if (this.stRankInfo != null)
     {
         this.stRankInfo.Release();
         this.stRankInfo = null;
     }
     this.dwCurClassOfRank = 0u;
     if (this.stLikeNum != null)
     {
         this.stLikeNum.Release();
         this.stLikeNum = null;
     }
     this.dwAchieveMentScore = 0u;
     if (this.astShowAchievement != null)
     {
         for (int i = 0; i < this.astShowAchievement.Length; i++)
         {
             if (this.astShowAchievement[i] != null)
             {
                 this.astShowAchievement[i].Release();
                 this.astShowAchievement[i] = null;
             }
         }
     }
     this.dwRefuseFriendBits = 0u;
     if (this.stAcntMasterInfo != null)
     {
         this.stAcntMasterInfo.Release();
         this.stAcntMasterInfo = null;
     }
     this.iSumDelCreditValue  = 0;
     this.dwMostDelCreditType = 0u;
     this.ullUserPrivacyBits  = 0uL;
     if (this.stFriendCard != null)
     {
         this.stFriendCard.Release();
         this.stFriendCard = null;
     }
 }
예제 #11
0
 public SCPKG_UPDRANKINFO_NTF()
 {
     this.stRankInfo = (COMDT_RANKDETAIL)ProtocolObjectPool.Get(COMDT_RANKDETAIL.CLASS_ID);
 }