Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
myangelkamikaze committed Nov 12, 2023
1 parent 1974b8a commit 8e92183
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions ElectronicObserver/Services/DataSerializationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,51 +23,6 @@ public class DataSerializationService
Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
};

public string DeckBuilderFleet(int fleetId) => fleetId switch
{
1 => DeckBuilderFleet1(),
2 => DeckBuilderFleet2(),
3 => DeckBuilderFleet3(),
4 => DeckBuilderFleet4(),
_ => ""
};

private string DeckBuilderFleet1()
{
return DeckBuilder
(
KCDatabase.Instance.Admiral.Level,
KCDatabase.Instance.Fleet[1]
);
}

private string DeckBuilderFleet2()
{
return DeckBuilder
(
KCDatabase.Instance.Admiral.Level,
fleet2: KCDatabase.Instance.Fleet[2]
);
}

private string DeckBuilderFleet3()
{
return DeckBuilder
(
KCDatabase.Instance.Admiral.Level,
fleet3: KCDatabase.Instance.Fleet[3]
);
}

private string DeckBuilderFleet4()
{
return DeckBuilder
(
KCDatabase.Instance.Admiral.Level,
fleet4: KCDatabase.Instance.Fleet[4]
);
}

public string FleetAnalysisShips(bool allShips)
{
return FleetAnalysisShips(KCDatabase.Instance.Ships.Values
Expand Down

0 comments on commit 8e92183

Please sign in to comment.