コード例 #1
0
 public override void OnRelease()
 {
     if (this.stBattleList != null)
     {
         this.stBattleList.Release();
         this.stBattleList = null;
     }
 }
コード例 #2
0
 public override void OnRelease()
 {
     if (this.stBattlePlayer != null)
     {
         this.stBattlePlayer.Release();
         this.stBattlePlayer = null;
     }
     if (this.stBattleParam != null)
     {
         this.stBattleParam.Release();
         this.stBattleParam = null;
     }
     if (this.stBattleList != null)
     {
         this.stBattleList.Release();
         this.stBattleList = null;
     }
 }
コード例 #3
0
 public CSPKG_STARTSINGLEGAMEREQ()
 {
     this.stBattlePlayer = (CSDT_BATTLE_PLAYER_BRIEF)ProtocolObjectPool.Get(CSDT_BATTLE_PLAYER_BRIEF.CLASS_ID);
     this.stBattleParam  = (CSDT_START_SINGLE_GAME_PARAM)ProtocolObjectPool.Get(CSDT_START_SINGLE_GAME_PARAM.CLASS_ID);
     this.stBattleList   = (COMDT_BATTLELIST)ProtocolObjectPool.Get(COMDT_BATTLELIST.CLASS_ID);
 }
コード例 #4
0
 public override void OnUse()
 {
     this.stBattlePlayer = (CSDT_BATTLE_PLAYER_BRIEF)ProtocolObjectPool.Get(CSDT_BATTLE_PLAYER_BRIEF.CLASS_ID);
     this.stBattleParam  = (CSDT_START_SINGLE_GAME_PARAM)ProtocolObjectPool.Get(CSDT_START_SINGLE_GAME_PARAM.CLASS_ID);
     this.stBattleList   = (COMDT_BATTLELIST)ProtocolObjectPool.Get(COMDT_BATTLELIST.CLASS_ID);
 }
コード例 #5
0
 public override void OnUse()
 {
     this.stBattleList = (COMDT_BATTLELIST)ProtocolObjectPool.Get(COMDT_BATTLELIST.CLASS_ID);
 }
コード例 #6
0
 public CSPKG_BATTLELIST_REQ()
 {
     this.stBattleList = (COMDT_BATTLELIST)ProtocolObjectPool.Get(COMDT_BATTLELIST.CLASS_ID);
 }