예제 #1
0
 public override void __Init__(Api_req_SortieBattle reqBattle, enumMapWarType warType, BattleFormationKinds1 formationId, MapModel map, List <MapModel> maps, bool lastCell, bool isBoss)
 {
     base.__Init__(reqBattle, warType, formationId, map, maps, lastCell, isBoss);
     if (warType == enumMapWarType.Normal || warType == enumMapWarType.AirBattle)
     {
         DebugBattleMaker.SerializeDayBattle(this._battleData);
     }
     else if (warType == enumMapWarType.Midnight)
     {
         DebugBattleMaker.SerializeNightBattle(this._battleData);
     }
     else if (warType == enumMapWarType.Night_To_Day)
     {
         DebugBattleMaker.SerializeNightBattle(this._battleData);
     }
 }
예제 #2
0
        public override void __Init__(Api_req_SortieBattle reqBattle, enumMapWarType warType, BattleFormationKinds1 formationId, MapModel map, List <MapModel> maps, bool lastCell, bool isBoss)
        {
            base.__Init__(reqBattle, warType, formationId, map, maps, lastCell, isBoss);
            switch (warType)
            {
            case enumMapWarType.Normal:
            case enumMapWarType.AirBattle:
                DebugBattleMaker.SerializeDayBattle(_battleData);
                break;

            case enumMapWarType.Midnight:
                DebugBattleMaker.SerializeNightBattle(_battleData);
                break;

            case enumMapWarType.Night_To_Day:
                DebugBattleMaker.SerializeNightBattle(_battleData);
                break;
            }
        }
예제 #3
0
 public override void StartDayToNightBattle()
 {
     base.StartDayToNightBattle();
     DebugBattleMaker.SerializeNightBattle(_battleData);
 }