예제 #1
0
 public SCPKG_CMD_GAMELOGINRSP()
 {
     this.szName               = new byte[64];
     this.stLoginTaskInfo      = (COMDT_ACNT_TASKINFO)ProtocolObjectPool.Get(COMDT_ACNT_TASKINFO.CLASS_ID);
     this.stPveProgress        = (COMDT_ACNT_LEVEL_COMPLETE_DETAIL)ProtocolObjectPool.Get(COMDT_ACNT_LEVEL_COMPLETE_DETAIL.CLASS_ID);
     this.stNewbieBits         = (COMDT_NEWBIE_STATUS_BITS)ProtocolObjectPool.Get(COMDT_NEWBIE_STATUS_BITS.CLASS_ID);
     this.stClientBits         = (COMDT_CLIENT_BITS)ProtocolObjectPool.Get(COMDT_CLIENT_BITS.CLASS_ID);
     this.stNewCltBits         = (COMDT_NEWCLIENT_BITS)ProtocolObjectPool.Get(COMDT_NEWCLIENT_BITS.CLASS_ID);
     this.stShopBuyRcd         = (CSDT_ACNT_SHOPBUY_INFO)ProtocolObjectPool.Get(CSDT_ACNT_SHOPBUY_INFO.CLASS_ID);
     this.stActivityInfo       = (COMDT_ACNT_ACTIVITY_INFO)ProtocolObjectPool.Get(COMDT_ACNT_ACTIVITY_INFO.CLASS_ID);
     this.stGuildBaseInfo      = (COMDT_ACNT_GUILD_INFO)ProtocolObjectPool.Get(COMDT_ACNT_GUILD_INFO.CLASS_ID);
     this.stGuildExtInfo       = (COMDT_ACNT_GUILD_EXT_INFO)ProtocolObjectPool.Get(COMDT_ACNT_GUILD_EXT_INFO.CLASS_ID);
     this.stArenaData          = (CSDT_ACNT_ARENADATA)ProtocolObjectPool.Get(CSDT_ACNT_ARENADATA.CLASS_ID);
     this.stCoinList           = (COMDT_COIN_LIST)ProtocolObjectPool.Get(COMDT_COIN_LIST.CLASS_ID);
     this.szHeadUrl            = new byte[256];
     this.BanTime              = new uint[100];
     this.stPropMultiple       = (COMDT_PROP_MULTIPLE)ProtocolObjectPool.Get(COMDT_PROP_MULTIPLE.CLASS_ID);
     this.stMostUsedHero       = (COMDT_MOST_USED_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_MOST_USED_HERO_DETAIL.CLASS_ID);
     this.stInBattleNewbieBits = (COMDT_INBATTLE_NEWBIE_BITS_DETAIL)ProtocolObjectPool.Get(COMDT_INBATTLE_NEWBIE_BITS_DETAIL.CLASS_ID);
     this.stLicense            = (COMDT_ACNT_LICENSE)ProtocolObjectPool.Get(COMDT_ACNT_LICENSE.CLASS_ID);
     this.stMonthWeekCardInfo  = (COMDT_MONTH_WEEK_CARD_INFO)ProtocolObjectPool.Get(COMDT_MONTH_WEEK_CARD_INFO.CLASS_ID);
     this.stHeadImage          = (COMDT_ACNT_HEADIMG_LIST)ProtocolObjectPool.Get(COMDT_ACNT_HEADIMG_LIST.CLASS_ID);
     this.stPresentLimit       = (COMDT_HERO_PRESENT_LIMIT)ProtocolObjectPool.Get(COMDT_HERO_PRESENT_LIMIT.CLASS_ID);
     this.stSelfDefineChatInfo = (COMDT_SELFDEFINE_CHATINFO)ProtocolObjectPool.Get(COMDT_SELFDEFINE_CHATINFO.CLASS_ID);
     this.stLikeNum            = (COMDT_LIKE_NUMS)ProtocolObjectPool.Get(COMDT_LIKE_NUMS.CLASS_ID);
     this.szSignatureInfo      = new byte[128];
     this.stPasswdInfo         = (CSDT_ACNTPSWD_LOGININFO)ProtocolObjectPool.Get(CSDT_ACNTPSWD_LOGININFO.CLASS_ID);
     this.stRecentUsedHero     = (COMDT_RECENT_USED_HERO)ProtocolObjectPool.Get(COMDT_RECENT_USED_HERO.CLASS_ID);
     this.stMobaInfo           = (COMDT_MOBA_INFO)ProtocolObjectPool.Get(COMDT_MOBA_INFO.CLASS_ID);
     this.stChgNameCD          = (COMDT_CHGNAME_CD)ProtocolObjectPool.Get(COMDT_CHGNAME_CD.CLASS_ID);
     this.stAcntMasterInfo     = (COMDT_ACNT_MASTER_INFO)ProtocolObjectPool.Get(COMDT_ACNT_MASTER_INFO.CLASS_ID);
 }
예제 #2
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;
     }
 }
예제 #3
0
 public override void OnRelease()
 {
     if (this.stLikeNum != null)
     {
         this.stLikeNum.Release();
         this.stLikeNum = null;
     }
     this.dwVipLevel  = 0u;
     this.dwHeadImgID = 0u;
 }
예제 #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);
 }
예제 #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);
     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);
 }
예제 #6
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);
 }
예제 #7
0
 public COMDT_ASSIST_ROLE_EXTBASE()
 {
     this.stLikeNum = (COMDT_LIKE_NUMS)ProtocolObjectPool.Get(COMDT_LIKE_NUMS.CLASS_ID);
 }
예제 #8
0
 public override void OnUse()
 {
     this.stLikeNum = (COMDT_LIKE_NUMS)ProtocolObjectPool.Get(COMDT_LIKE_NUMS.CLASS_ID);
 }
예제 #9
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;
     }
 }