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); } }
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; } }
public override void StartDayToNightBattle() { base.StartDayToNightBattle(); DebugBattleMaker.SerializeNightBattle(_battleData); }