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;
     }
 }
 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);
 }
 public override void OnRelease()
 {
     this.dwPayLevel      = 0;
     this.bMaxGradeOfRank = 0;
     if (this.stPvpDetailInfo != null)
     {
         this.stPvpDetailInfo.Release();
         this.stPvpDetailInfo = null;
     }
 }
Example #4
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);
 }
Example #5
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 override void OnUse()
 {
     this.stPvpDetailInfo = (CSDT_PVPDETAIL_INFO)ProtocolObjectPool.Get(CSDT_PVPDETAIL_INFO.CLASS_ID);
 }
Example #7
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;
     }
 }
Example #8
0
 public SCPKG_ACNTDETAILINFO_RSP()
 {
     this.stPvpDetailInfo = (CSDT_PVPDETAIL_INFO)ProtocolObjectPool.Get(CSDT_PVPDETAIL_INFO.CLASS_ID);
     this.szGuildName     = new byte[32];
 }