@cybermp/client-types 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,11 +47,6 @@ interface MpGamePrecomputed {
|
|
|
47
47
|
CyberMP: CyberMP;
|
|
48
48
|
TweakDB: TweakDB;
|
|
49
49
|
|
|
50
|
-
getStreamedPool(
|
|
51
|
-
objName: "CVehicle" | "CPed" | "CPickups" | "CObject",
|
|
52
|
-
): number[];
|
|
53
|
-
getStreamedPlayers(): number[];
|
|
54
|
-
|
|
55
50
|
/**
|
|
56
51
|
* Method to retrieve input events.
|
|
57
52
|
*/
|
|
@@ -62,6 +57,8 @@ interface MpGamePrecomputed {
|
|
|
62
57
|
) => void,
|
|
63
58
|
): void;
|
|
64
59
|
|
|
60
|
+
getDisplayResolution(): [number, number];
|
|
61
|
+
|
|
65
62
|
/**
|
|
66
63
|
* Event when the game is started.
|
|
67
64
|
*/
|
|
@@ -10,9 +10,10 @@ interface MpGlobalPrecomputed {
|
|
|
10
10
|
meta: MpMeta;
|
|
11
11
|
voiceChat: MpVoiceChat;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
getStreamedPool(
|
|
14
|
+
objName: "CVehicle" | "CPed" | "CPickups" | "CObject",
|
|
15
|
+
): number[];
|
|
16
|
+
getStreamedPlayers(): number[];
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Focus or unfocus CEF view.
|