Exemplo n.º 1
0
 public override void OnRelease()
 {
     if (this.stDeskInfo != null)
     {
         this.stDeskInfo.Release();
         this.stDeskInfo = null;
     }
     this.dwLeftMs = 0;
     if (this.astCampInfo != null)
     {
         for (int i = 0; i < this.astCampInfo.Length; i++)
         {
             if (this.astCampInfo[i] != null)
             {
                 this.astCampInfo[i].Release();
                 this.astCampInfo[i] = null;
             }
         }
     }
     if (this.stFreeHero != null)
     {
         this.stFreeHero.Release();
         this.stFreeHero = null;
     }
     if (this.stFreeHeroSymbol != null)
     {
         this.stFreeHeroSymbol.Release();
         this.stFreeHeroSymbol = null;
     }
     if (this.stPickStateExtra != null)
     {
         this.stPickStateExtra.Release();
         this.stPickStateExtra = null;
     }
 }
 public override void OnRelease()
 {
     if (this.stMatchInfo != null)
     {
         this.stMatchInfo.Release();
         this.stMatchInfo = null;
     }
     if (this.stSymbolPage != null)
     {
         this.stSymbolPage.Release();
         this.stSymbolPage = null;
     }
     if (this.stFreeHeroRcd != null)
     {
         this.stFreeHeroRcd.Release();
         this.stFreeHeroRcd = null;
     }
     if (this.stBanTime != null)
     {
         this.stBanTime.Release();
         this.stBanTime = null;
     }
     if (this.stBriefInfo != null)
     {
         this.stBriefInfo.Release();
         this.stBriefInfo = null;
     }
     if (this.stGameVip != null)
     {
         this.stGameVip.Release();
         this.stGameVip = null;
     }
 }
Exemplo n.º 3
0
 public override void OnRelease()
 {
     this.dwSelfObjID = 0;
     if (this.stDeskInfo != null)
     {
         this.stDeskInfo.Release();
         this.stDeskInfo = null;
     }
     if (this.astCampInfo != null)
     {
         for (int i = 0; i < this.astCampInfo.Length; i++)
         {
             if (this.astCampInfo[i] != null)
             {
                 this.astCampInfo[i].Release();
                 this.astCampInfo[i] = null;
             }
         }
     }
     if (this.stFreeHero != null)
     {
         this.stFreeHero.Release();
         this.stFreeHero = null;
     }
     if (this.stFreeHeroSymbol != null)
     {
         this.stFreeHeroSymbol.Release();
         this.stFreeHeroSymbol = null;
     }
 }
Exemplo n.º 4
0
 public SCPKG_MULTGAME_BEGINPICK()
 {
     for (int i = 0; i < 2; i++)
     {
         this.astCampInfo[i] = (CSDT_CAMPINFO)ProtocolObjectPool.Get(CSDT_CAMPINFO.CLASS_ID);
     }
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }
 public COMDT_GAMEACNT_DETAIL()
 {
     this.stMatchInfo   = (COMDT_ACNT_MATCH_BRIEF_INFO)ProtocolObjectPool.Get(COMDT_ACNT_MATCH_BRIEF_INFO.CLASS_ID);
     this.stSymbolPage  = (COMDT_GAMEACNT_SYMBOLPAGE)ProtocolObjectPool.Get(COMDT_GAMEACNT_SYMBOLPAGE.CLASS_ID);
     this.stFreeHeroRcd = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
     this.stBanTime     = (COMDT_ACNT_BANTIME)ProtocolObjectPool.Get(COMDT_ACNT_BANTIME.CLASS_ID);
     this.stBriefInfo   = (COMDT_ACNT_EXTRAINFO)ProtocolObjectPool.Get(COMDT_ACNT_EXTRAINFO.CLASS_ID);
     this.stGameVip     = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID);
 }
Exemplo n.º 6
0
 public CSDT_RECONN_PICKINFO()
 {
     for (int i = 0; i < 2; i++)
     {
         this.astCampInfo[i] = (CSDT_RECONN_CAMPPICKINFO)ProtocolObjectPool.Get(CSDT_RECONN_CAMPPICKINFO.CLASS_ID);
     }
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }
 public CSDT_RECONN_ADJUSTINFO()
 {
     this.stDeskInfo  = (COMDT_DESKINFO)ProtocolObjectPool.Get(COMDT_DESKINFO.CLASS_ID);
     this.astCampInfo = new CSDT_RECONN_CAMPPICKINFO[2];
     for (int i = 0; i < 2; i++)
     {
         this.astCampInfo[i] = (CSDT_RECONN_CAMPPICKINFO)ProtocolObjectPool.Get(CSDT_RECONN_CAMPPICKINFO.CLASS_ID);
     }
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
     this.stHeroSwapInfo   = (CSDT_RECONN_ADJUST_STATE_EXTRA)ProtocolObjectPool.Get(CSDT_RECONN_ADJUST_STATE_EXTRA.CLASS_ID);
 }
Exemplo n.º 8
0
 public CSDT_RECONN_BANINFO()
 {
     this.stDeskInfo  = (COMDT_DESKINFO)ProtocolObjectPool.Get(COMDT_DESKINFO.CLASS_ID);
     this.astCampInfo = new CSDT_CAMPINFO[2];
     for (int i = 0; i < 2; i++)
     {
         this.astCampInfo[i] = (CSDT_CAMPINFO)ProtocolObjectPool.Get(CSDT_CAMPINFO.CLASS_ID);
     }
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
     this.stStateInfo      = (CSDT_RECONN_BAN_PICK_STATE_INFO)ProtocolObjectPool.Get(CSDT_RECONN_BAN_PICK_STATE_INFO.CLASS_ID);
 }
Exemplo n.º 9
0
 public override void OnUse()
 {
     this.stDeskInfo = (COMDT_DESKINFO)ProtocolObjectPool.Get(COMDT_DESKINFO.CLASS_ID);
     if (this.astCampInfo != null)
     {
         for (int i = 0; i < this.astCampInfo.Length; i++)
         {
             this.astCampInfo[i] = (CSDT_CAMPINFO)ProtocolObjectPool.Get(CSDT_CAMPINFO.CLASS_ID);
         }
     }
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }
Exemplo n.º 10
0
 public override void OnRelease()
 {
     if (this.stFreeHero != null)
     {
         this.stFreeHero.Release();
         this.stFreeHero = null;
     }
     if (this.stFreeHeroSymbol != null)
     {
         this.stFreeHeroSymbol.Release();
         this.stFreeHeroSymbol = null;
     }
 }
Exemplo n.º 11
0
 public override void OnUse()
 {
     this.stDeskInfo = (COMDT_DESKINFO)ProtocolObjectPool.Get(COMDT_DESKINFO.CLASS_ID);
     if (this.astCampInfo != null)
     {
         for (int i = 0; i < this.astCampInfo.Length; i++)
         {
             this.astCampInfo[i] = (CSDT_RECONN_CAMPPICKINFO)ProtocolObjectPool.Get(CSDT_RECONN_CAMPPICKINFO.CLASS_ID);
         }
     }
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
     this.stPickStateExtra = (CSDT_RECONN_PICK_STATE_EXTRA)ProtocolObjectPool.Get(CSDT_RECONN_PICK_STATE_EXTRA.CLASS_ID);
 }
Exemplo n.º 12
0
 public override void OnRelease()
 {
     this.dwInitHeroID = 0u;
     if (this.stBattleListOfArena != null)
     {
         this.stBattleListOfArena.Release();
         this.stBattleListOfArena = null;
     }
     if (this.stFreeHeroOfArena != null)
     {
         this.stFreeHeroOfArena.Release();
         this.stFreeHeroOfArena = null;
     }
 }
Exemplo n.º 13
0
 public override void OnUse()
 {
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }
Exemplo n.º 14
0
 public COMDT_HEROCTRLINFO()
 {
     this.stBattleListOfArena = (COMDT_BATTLEHERO)ProtocolObjectPool.Get(COMDT_BATTLEHERO.CLASS_ID);
     this.stFreeHeroOfArena   = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }
Exemplo n.º 15
0
 public override void OnUse()
 {
     this.stBattleListOfArena = (COMDT_BATTLEHERO)ProtocolObjectPool.Get(COMDT_BATTLEHERO.CLASS_ID);
     this.stFreeHeroOfArena   = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }
 public SCPKG_FREEHERO_RSP()
 {
     this.stFreeHero       = (COMDT_FREEHERO)ProtocolObjectPool.Get(COMDT_FREEHERO.CLASS_ID);
     this.stFreeHeroSymbol = (COMDT_FREEHERO_INACNT)ProtocolObjectPool.Get(COMDT_FREEHERO_INACNT.CLASS_ID);
 }