예제 #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()
 {
     if (this.stActivityInfo != null)
     {
         this.stActivityInfo.Release();
         this.stActivityInfo = null;
     }
 }
예제 #3
0
 public override void OnUse()
 {
     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);
 }
예제 #4
0
 public override void OnRelease()
 {
     this.bIsSucc          = 0;
     this.dwGameAcntObjID  = 0;
     this.ullGameAcntUid   = 0L;
     this.dwLevel          = 0;
     this.dwExp            = 0;
     this.dwPvpLevel       = 0;
     this.dwPvpExp         = 0;
     this.dwMaxActionPoint = 0;
     this.dwCurActionPoint = 0;
     this.dwTitleId        = 0;
     this.dwHeadId         = 0;
     this.dwSkillPoint     = 0;
     if (this.stLoginTaskInfo != null)
     {
         this.stLoginTaskInfo.Release();
         this.stLoginTaskInfo = null;
     }
     if (this.stPveProgress != null)
     {
         this.stPveProgress.Release();
         this.stPveProgress = null;
     }
     if (this.stNewbieBits != null)
     {
         this.stNewbieBits.Release();
         this.stNewbieBits = null;
     }
     if (this.stClientBits != null)
     {
         this.stClientBits.Release();
         this.stClientBits = null;
     }
     if (this.stNewCltBits != null)
     {
         this.stNewCltBits.Release();
         this.stNewCltBits = null;
     }
     if (this.stShopBuyRcd != null)
     {
         this.stShopBuyRcd.Release();
         this.stShopBuyRcd = null;
     }
     this.dwServerCurTimeSec = 0;
     this.dwServerCurTimeMs  = 0;
     this.dwSPUpdTimeSec     = 0;
     this.bGradeOfRank       = 0;
     this.dwClassOfRank      = 0;
     if (this.stActivityInfo != null)
     {
         this.stActivityInfo.Release();
         this.stActivityInfo = null;
     }
 }
예제 #5
0
 public SCPKG_ACNTACTIVITYINFO_RSP()
 {
     this.stActivityInfo = (COMDT_ACNT_ACTIVITY_INFO)ProtocolObjectPool.Get(COMDT_ACNT_ACTIVITY_INFO.CLASS_ID);
 }
예제 #6
0
 public override void OnUse()
 {
     this.stActivityInfo = (COMDT_ACNT_ACTIVITY_INFO)ProtocolObjectPool.Get(COMDT_ACNT_ACTIVITY_INFO.CLASS_ID);
 }