public override void OnRelease()
 {
     this.iLevelID    = 0;
     this.bGameResult = 0;
     this.dwStartTime = 0u;
     this.dwUsedTime  = 0u;
     this.bGameType   = 0;
     if (this.stGameDetail != null)
     {
         this.stGameDetail.Release();
         this.stGameDetail = null;
     }
 }
Ejemplo n.º 2
0
 public override void OnRelease()
 {
     this.bGameResult = 0;
     this.bGameType   = 0;
     if (this.stGameDetail != null)
     {
         this.stGameDetail.Release();
         this.stGameDetail = null;
     }
     this.iLevelID = 0;
     if (this.stHeroData != null)
     {
         this.stHeroData.Release();
         this.stHeroData = null;
     }
 }
Ejemplo n.º 3
0
 public override void OnUse()
 {
     this.stGameDetail = (COMDT_SINGLE_GAME_FIN_DETAIL)ProtocolObjectPool.Get(COMDT_SINGLE_GAME_FIN_DETAIL.CLASS_ID);
     this.stHeroData   = (COMDT_SETTLE_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_SETTLE_HERO_DETAIL.CLASS_ID);
 }
 public CSDT_CHEAT_PASS_SINGLE_GAME()
 {
     this.stGameDetail = (COMDT_SINGLE_GAME_FIN_DETAIL)ProtocolObjectPool.Get(COMDT_SINGLE_GAME_FIN_DETAIL.CLASS_ID);
     this.stHeroData   = (COMDT_SETTLE_HERO_DETAIL)ProtocolObjectPool.Get(COMDT_SETTLE_HERO_DETAIL.CLASS_ID);
 }
 public COMDT_SINGLE_GAME_PARAM()
 {
     this.stGameDetail = (COMDT_SINGLE_GAME_FIN_DETAIL)ProtocolObjectPool.Get(COMDT_SINGLE_GAME_FIN_DETAIL.CLASS_ID);
 }