コード例 #1
0
 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;
     }
 }
コード例 #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;
     }
 }
コード例 #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);
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 public COMDT_SINGLE_GAME_PARAM()
 {
     this.stGameDetail = (COMDT_SINGLE_GAME_FIN_DETAIL)ProtocolObjectPool.Get(COMDT_SINGLE_GAME_FIN_DETAIL.CLASS_ID);
 }