Zmiany w wyglądzie list graczy online i spawnów

This commit is contained in:
2020-12-02 20:59:35 +01:00
parent 6ae89c9953
commit 93f2d7e526
7 changed files with 146 additions and 499 deletions
+17 -5
View File
@@ -4,33 +4,45 @@ import ScheduledTrain from './ScheduledTrain';
export default interface Station {
stationName: string;
stationHash: string;
maxUsers: number;
currentUsers: number;
spawnString: string;
spawns: { spawnName: string; spawnLength: number }[];
dispatcherRate: number;
dispatcherName: string;
dispatcherExp: number;
dispatcherId: number;
dispatcherIsSupporter: boolean;
stationLines: string;
stationProject: string;
reqLevel: string;
supportersOnly: string;
signalType: string;
controlType: string;
default: boolean;
nonPublic: boolean;
routes: {
oneWay: { catenary: number; noCatenary: number };
twoWay: { catenary: number; noCatenary: number };
};
checkpoints: {
checkpointName: string;
scheduledTrains: ScheduledTrain[],
}[] | null;
checkpoints:
| {
checkpointName: string;
scheduledTrains: ScheduledTrain[];
}[]
| null;
online: boolean;
occupiedTo: string;
statusTimestamp: number;
stationTrains: Train[];
scheduledTrains: ScheduledTrain[];
}