auto verkaufen

This commit is contained in:
hydrant
2020-04-02 22:29:27 +02:00
parent 85cd638a4c
commit a8994d9e4a
4 changed files with 92 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
declare interface IGlobalData {
declare type IGlobalData = {
InTuning: boolean,
HideGui: boolean,
InMenu: boolean,
@@ -7,7 +7,7 @@
InInput: boolean
}
declare interface AccountData {
declare type AccountData = {
regDate: string;
adminLevel: string;
faction: string;
@@ -17,9 +17,15 @@ declare interface AccountData {
job: string;
paycheck: Paycheck;
licenses: Licenses;
vehicles: VehicleData[];
}
declare interface Paycheck {
declare type VehicleData = {
Id: number;
Model: number;
};
declare type Paycheck = {
financialHelp: number;
financialInterest: number;
vehicleTaxation: number;
@@ -29,18 +35,18 @@ declare interface Paycheck {
rentalFees: number;
}
declare interface Licenses {
declare type Licenses = {
drivingLicenseCar: boolean;
drivingLicenseBike: boolean;
flightLicensePlane: boolean;
weaponLicense: boolean;
}
declare interface FactionRanks {
declare type FactionRanks = {
factionId: number,
ranks: FactionRank[]
}
declare interface FactionRank {
declare type FactionRank = {
}