Ejemplo n.º 1
0
 public override void OnRelease()
 {
     if (this.stPlayerInfo != null)
     {
         this.stPlayerInfo.Release();
         this.stPlayerInfo = null;
     }
     this.bIsGM           = 0;
     this.dwGradeOfRank   = 0u;
     this.dwClassOfRank   = 0u;
     this.dwRandomHeroCnt = 0u;
     if (this.stUsableHero != null)
     {
         this.stUsableHero.Release();
         this.stUsableHero = null;
     }
     if (this.stRecentUsedHero != null)
     {
         this.stRecentUsedHero.Release();
         this.stRecentUsedHero = null;
     }
     if (this.stIntimacyRelation != null)
     {
         this.stIntimacyRelation.Release();
         this.stIntimacyRelation = null;
     }
 }
Ejemplo n.º 2
0
 public override void OnUse()
 {
     this.stPlayerInfo       = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
     this.stUsableHero       = (COMDT_ACNT_USABLE_HERO)ProtocolObjectPool.Get(COMDT_ACNT_USABLE_HERO.CLASS_ID);
     this.stRecentUsedHero   = (COMDT_RECENT_USED_HERO)ProtocolObjectPool.Get(COMDT_RECENT_USED_HERO.CLASS_ID);
     this.stIntimacyRelation = (COMDT_INTIMACY_RELATION_INFO)ProtocolObjectPool.Get(COMDT_INTIMACY_RELATION_INFO.CLASS_ID);
 }
Ejemplo n.º 3
0
 public override void OnRelease()
 {
     if (this.stEnemyDetail != null)
     {
         this.stEnemyDetail.Release();
         this.stEnemyDetail = null;
     }
 }
Ejemplo n.º 4
0
 public CSDT_CAMPPLAYERINFO()
 {
     this.stPlayerInfo       = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
     this.szOpenID           = new byte[64];
     this.stUsableHero       = (COMDT_ACNT_USABLE_HERO)ProtocolObjectPool.Get(COMDT_ACNT_USABLE_HERO.CLASS_ID);
     this.stRecentUsedHero   = (COMDT_RECENT_USED_HERO)ProtocolObjectPool.Get(COMDT_RECENT_USED_HERO.CLASS_ID);
     this.stIntimacyRelation = (COMDT_INTIMACY_RELATION_INFO)ProtocolObjectPool.Get(COMDT_INTIMACY_RELATION_INFO.CLASS_ID);
 }
Ejemplo n.º 5
0
 public override void OnRelease()
 {
     this.bErrCode = 0;
     if (this.stChoiceHero != null)
     {
         this.stChoiceHero.Release();
         this.stChoiceHero = null;
     }
 }
Ejemplo n.º 6
0
 public override void OnRelease()
 {
     if (this.stPlayerInfo != null)
     {
         this.stPlayerInfo.Release();
         this.stPlayerInfo = null;
     }
     this.bIsGM           = 0;
     this.dwGradeOfRank   = 0;
     this.dwRandomHeroCnt = 0;
 }
Ejemplo n.º 7
0
 public override void OnUse()
 {
     this.stPlayerInfo = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
Ejemplo n.º 8
0
 public override void OnUse()
 {
     this.stChoiceHero = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
Ejemplo n.º 9
0
 public override void OnUse()
 {
     this.stEnemyDetail = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
 public COMDT_BURNING_ENEMY_REAL_MAN()
 {
     this.szHeadUrl     = new byte[256];
     this.stVip         = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID);
     this.stEnemyDetail = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
 public override void OnUse()
 {
     this.stVip         = (COMDT_GAME_VIP_CLIENT)ProtocolObjectPool.Get(COMDT_GAME_VIP_CLIENT.CLASS_ID);
     this.stEnemyDetail = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
Ejemplo n.º 12
0
 public COMDT_BURNING_ENEMY_ROBOT()
 {
     this.stEnemyDetail = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
Ejemplo n.º 13
0
 public SCPKG_OPER_HERO_NTF()
 {
     this.stChoiceHero = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
 }
Ejemplo n.º 14
0
 public override void OnUse()
 {
     this.stPlayerInfo = (COMDT_PLAYERINFO)ProtocolObjectPool.Get(COMDT_PLAYERINFO.CLASS_ID);
     this.stUsableHero = (COMDT_ACNT_USABLE_HERO)ProtocolObjectPool.Get(COMDT_ACNT_USABLE_HERO.CLASS_ID);
 }