Added client support for server URIs

This commit is contained in:
dpassoni
2023-03-06 14:42:59 +01:00
parent 6a599a12a1
commit 8e83621b22
12 changed files with 221 additions and 239 deletions

View File

@@ -1,6 +1,15 @@
interface ServerData {
units: {[key: string]: UnitData},
bullseye: any, //TODO
airbases: any, //TODO
logs: any //TODO
interface UnitsData {
units: {[key: string]: UnitData},
}
interface AirbasesData {
airbases: {[key: string]: any},
}
interface BullseyesData {
bullseyes: {[key: string]: any},
}
interface LogData {
logs: {[key: string]: string},
}

View File

@@ -20,7 +20,6 @@ interface FormationData {
isLeader: boolean;
isWingman: boolean;
leaderID: number;
wingmen: Unit[];
wingmenIDs: number[];
}