-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
map.ts
76 lines (72 loc) · 1.38 KB
/
map.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
export interface ITruckyMapInfo {
_id: string,
realName: string,
x: number,
z: number,
game: string,
type: string,
country: string,
dlc: string,
mod: string
}
export interface ITruckyMapDLC {
_id: string,
name: string,
game: string,
order: number
}
export interface ITruckyMapResolution {
distance: number,
resolved: boolean,
area: boolean,
poi: {
_id: string,
realName: string,
x: number,
z: number,
game: string,
type: string,
country: string,
dlc: string,
mod: string
}
}
export interface ITruckyMapServer {
_id: string,
id: number,
name: string,
game: string,
shortname: string,
apiserverid: number,
trucks: number,
code: string,
order: number,
active: boolean,
mod: string,
event: boolean
}
export interface ITruckyMapPlayer {
name: string,
online: boolean,
x: number,
y: number,
mp_id: number,
p_id: number,
time: bigint,
server: number,
heading: number,
serverDetails: {
_id: string,
id: number,
name: string,
game: string,
shortname: string,
apiserverid: string,
trucks: number,
code: string,
order: number,
active: boolean,
mod: string,
event: boolean
}
}