Files
reallife-gamemode/ReallifeGamemode.Client/global.d.ts
2020-04-05 14:56:04 +02:00

53 lines
997 B
TypeScript

declare type IGlobalData = {
InTuning: boolean,
HideGui: boolean,
InMenu: boolean,
InChat: boolean,
LoggedIn: boolean,
InInput: boolean
}
declare type AccountData = {
regDate: string;
adminLevel: string;
faction: string;
factionRank: string;
group: string;
groupRank: string;
job: string;
paycheck: Paycheck;
licenses: Licenses;
vehicles: VehicleData[];
}
declare type VehicleData = {
Id: number;
Model: number;
};
declare type Paycheck = {
financialHelp: number;
financialInterest: number;
vehicleTaxation: number;
propertyTaxation: number;
wage: number;
amount: number;
rentalFees: number;
healthInsurance: number;
}
declare type Licenses = {
drivingLicenseCar: boolean;
drivingLicenseBike: boolean;
flightLicensePlane: boolean;
weaponLicense: boolean;
}
declare type FactionRanks = {
factionId: number,
ranks: FactionRank[]
}
declare type FactionRank = {
}