@mint-sdk/types-shared 0.1.0-alpha.1
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.
- package/index.d.ts +2065 -0
- package/package.json +10 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,2065 @@
|
|
|
1
|
+
/** Types and runtime functions available in both MiNT scripting hosts. */
|
|
2
|
+
declare module "alt-shared" {
|
|
3
|
+
import * as mint from "mint-shared";
|
|
4
|
+
|
|
5
|
+
/** Resource name of the executing resource. */
|
|
6
|
+
export const resourceName: string;
|
|
7
|
+
|
|
8
|
+
/** MiNT runtime version. */
|
|
9
|
+
export const version: string;
|
|
10
|
+
|
|
11
|
+
/** Whether the current server session enables debug tooling. */
|
|
12
|
+
export const debug: boolean;
|
|
13
|
+
|
|
14
|
+
/** Whether the current script executes on the client host. */
|
|
15
|
+
export const isClient: boolean;
|
|
16
|
+
|
|
17
|
+
/** Whether the current script executes on the server host. */
|
|
18
|
+
export const isServer: boolean;
|
|
19
|
+
|
|
20
|
+
/** Default dimension (0). */
|
|
21
|
+
export const defaultDimension: number;
|
|
22
|
+
|
|
23
|
+
/** Global dimension (-2147483648). */
|
|
24
|
+
export const globalDimension: number;
|
|
25
|
+
|
|
26
|
+
export type ScriptValue = null | boolean | bigint | number | string;
|
|
27
|
+
|
|
28
|
+
/** A bounded structured value copied by MiNT's versioned network codec. */
|
|
29
|
+
export type NetworkValue =
|
|
30
|
+
| ScriptValue
|
|
31
|
+
| Uint8Array
|
|
32
|
+
| readonly NetworkValue[]
|
|
33
|
+
| { readonly [key: string]: NetworkValue };
|
|
34
|
+
export type NetworkCallback = (...args: NetworkValue[]) => void;
|
|
35
|
+
export type NetworkRpcValue = NetworkValue | undefined;
|
|
36
|
+
/** @deprecated Use NetworkCallback. */
|
|
37
|
+
export type ScriptCallback = NetworkCallback;
|
|
38
|
+
|
|
39
|
+
type IsExactNetworkType<TLeft, TRight> =
|
|
40
|
+
(<T>() => T extends TLeft ? 1 : 2) extends (<T>() => T extends TRight ? 1 : 2)
|
|
41
|
+
? (<T>() => T extends TRight ? 1 : 2) extends (<T>() => T extends TLeft ? 1 : 2)
|
|
42
|
+
? true
|
|
43
|
+
: false
|
|
44
|
+
: false;
|
|
45
|
+
type HasSeenNetworkType<T, TSeen> = true extends (
|
|
46
|
+
TSeen extends unknown ? IsExactNetworkType<T, TSeen> : never
|
|
47
|
+
) ? true : false;
|
|
48
|
+
type NetworkArrayExtraKeys<T extends readonly unknown[]> =
|
|
49
|
+
Exclude<keyof T, keyof any[] | `${number}`>;
|
|
50
|
+
type NetworkBinaryExtraKeys<T extends Uint8Array> =
|
|
51
|
+
Exclude<keyof T, keyof Uint8Array>;
|
|
52
|
+
|
|
53
|
+
type NetworkValueBinaryCheck<T extends Uint8Array> =
|
|
54
|
+
[NetworkBinaryExtraKeys<T>] extends [never] ? true : false;
|
|
55
|
+
|
|
56
|
+
type NetworkValueArrayCheck<T extends readonly unknown[], TSeen> =
|
|
57
|
+
[NetworkArrayExtraKeys<T>] extends [never]
|
|
58
|
+
? IsNetworkValue<Required<T>[number], TSeen | T>
|
|
59
|
+
: false;
|
|
60
|
+
|
|
61
|
+
type NetworkValueObjectPropertiesCheck<T extends object, TSeen> = false extends {
|
|
62
|
+
[K in keyof T]-?: IsNetworkValue<Required<T>[K], TSeen | T>
|
|
63
|
+
}[keyof T] ? false : true;
|
|
64
|
+
|
|
65
|
+
type NetworkValueObjectCheck<T extends object, TSeen> =
|
|
66
|
+
Extract<keyof T, symbol> extends never
|
|
67
|
+
? [keyof T] extends [never]
|
|
68
|
+
? false
|
|
69
|
+
: NetworkValueObjectPropertiesCheck<T, TSeen>
|
|
70
|
+
: false;
|
|
71
|
+
|
|
72
|
+
/** Recursively checks named structural types without requiring an index signature. */
|
|
73
|
+
export type IsNetworkValueMember<T, TSeen = never> =
|
|
74
|
+
[T] extends [ScriptValue] ? true
|
|
75
|
+
: T extends Uint8Array ? NetworkValueBinaryCheck<T>
|
|
76
|
+
: HasSeenNetworkType<T, TSeen> extends true ? true
|
|
77
|
+
: T extends readonly unknown[] ? NetworkValueArrayCheck<T, TSeen>
|
|
78
|
+
: T extends (...args: any[]) => any ? false
|
|
79
|
+
: T extends abstract new (...args: any[]) => any ? false
|
|
80
|
+
: T extends object ? NetworkValueObjectCheck<T, TSeen>
|
|
81
|
+
: false;
|
|
82
|
+
|
|
83
|
+
export type IsNetworkValue<T, TSeen = never> = [T] extends [never]
|
|
84
|
+
? true
|
|
85
|
+
: false extends (T extends unknown ? IsNetworkValueMember<T, TSeen> : never)
|
|
86
|
+
? false
|
|
87
|
+
: true;
|
|
88
|
+
|
|
89
|
+
export type TakeNetworkTuple<
|
|
90
|
+
TArgs extends readonly unknown[],
|
|
91
|
+
TLength extends number,
|
|
92
|
+
TPrefix extends unknown[] = [],
|
|
93
|
+
> = TPrefix['length'] extends TLength
|
|
94
|
+
? TPrefix
|
|
95
|
+
: TArgs extends readonly [infer THead, ...infer TTail]
|
|
96
|
+
? TakeNetworkTuple<TTail, TLength, [...TPrefix, THead]>
|
|
97
|
+
: TPrefix;
|
|
98
|
+
|
|
99
|
+
export type NetworkTuplePrefixes<
|
|
100
|
+
TArgs extends readonly unknown[],
|
|
101
|
+
TLength extends number,
|
|
102
|
+
> = TLength extends unknown ? TakeNetworkTuple<TArgs, TLength> : never;
|
|
103
|
+
|
|
104
|
+
type HasNetworkParameters<TCallback> = false extends (
|
|
105
|
+
TCallback extends (...args: infer TArgs) => unknown
|
|
106
|
+
? IsNetworkValue<Required<TArgs>[number]>
|
|
107
|
+
: false
|
|
108
|
+
) ? false : true;
|
|
109
|
+
|
|
110
|
+
/** Keeps an augmented event/RPC tuple inside the runtime network codec. */
|
|
111
|
+
export type NetworkParameters<TCallback> = HasNetworkParameters<TCallback> extends true
|
|
112
|
+
? TCallback extends (...args: infer TArgs) => unknown
|
|
113
|
+
? number extends TArgs['length']
|
|
114
|
+
? TArgs
|
|
115
|
+
: NetworkTuplePrefixes<Required<TArgs>, TArgs['length']>
|
|
116
|
+
: never
|
|
117
|
+
: never;
|
|
118
|
+
|
|
119
|
+
/** Infers and validates an unaugmented network argument tuple. */
|
|
120
|
+
export type NetworkArguments<TArgs extends readonly unknown[]> =
|
|
121
|
+
TArgs & NetworkParameters<(...args: TArgs) => unknown>;
|
|
122
|
+
|
|
123
|
+
/** Preserves a named listener signature after validating its arguments. */
|
|
124
|
+
export type NetworkListener<TCallback extends (...args: any[]) => unknown> =
|
|
125
|
+
TCallback & (NetworkParameters<TCallback> extends never ? never : unknown);
|
|
126
|
+
|
|
127
|
+
/** Unwraps and validates an augmented RPC return value. */
|
|
128
|
+
export type NetworkRpcReturn<TCallback> = [TCallback] extends [(
|
|
129
|
+
...args: infer _TArgs
|
|
130
|
+
) => infer TResult]
|
|
131
|
+
? [Awaited<TResult>] extends [never]
|
|
132
|
+
? never
|
|
133
|
+
: IsNetworkValue<Exclude<Awaited<TResult>, undefined | void>> extends true
|
|
134
|
+
? Awaited<TResult>
|
|
135
|
+
: never
|
|
136
|
+
: never;
|
|
137
|
+
|
|
138
|
+
/** Validates an inferred RPC result without widening it through the contextual overload. */
|
|
139
|
+
export type NetworkRpcResultCheck<TResult> =
|
|
140
|
+
[Awaited<TResult>] extends [never]
|
|
141
|
+
? unknown
|
|
142
|
+
: NetworkRpcReturn<() => TResult> extends never
|
|
143
|
+
? never
|
|
144
|
+
: unknown;
|
|
145
|
+
|
|
146
|
+
/** Preserves a named RPC listener after validating its arguments and result. */
|
|
147
|
+
export type NetworkRpcListener<TCallback extends (...args: any[]) => unknown> =
|
|
148
|
+
NetworkListener<TCallback> & (
|
|
149
|
+
[Awaited<ReturnType<TCallback>>] extends [never]
|
|
150
|
+
? unknown
|
|
151
|
+
: NetworkRpcReturn<TCallback> extends never
|
|
152
|
+
? never
|
|
153
|
+
: unknown
|
|
154
|
+
);
|
|
155
|
+
|
|
156
|
+
/** Extend through module augmentation to type resource-local global metadata. */
|
|
157
|
+
export interface ICustomGlobalMeta extends mint.ICustomGlobalMeta {}
|
|
158
|
+
|
|
159
|
+
/** Extend through module augmentation to type server-synchronized global metadata. */
|
|
160
|
+
export interface ICustomGlobalSyncedMeta extends mint.ICustomGlobalSyncedMeta {}
|
|
161
|
+
|
|
162
|
+
/** Extend through module augmentation to type resource-local BaseObject metadata. */
|
|
163
|
+
export interface ICustomBaseObjectMeta extends mint.ICustomBaseObjectMeta {}
|
|
164
|
+
|
|
165
|
+
/** Extend through module augmentation to type synchronized BaseObject metadata. */
|
|
166
|
+
export interface ICustomBaseObjectSyncedMeta extends mint.ICustomBaseObjectSyncedMeta {}
|
|
167
|
+
|
|
168
|
+
/** Extend through module augmentation to type synchronized Entity metadata. */
|
|
169
|
+
export interface ICustomEntitySyncedMeta
|
|
170
|
+
extends ICustomBaseObjectSyncedMeta, mint.ICustomEntitySyncedMeta {}
|
|
171
|
+
|
|
172
|
+
/** Extend through module augmentation to type stream-synchronized Entity metadata. */
|
|
173
|
+
export interface ICustomEntityStreamSyncedMeta
|
|
174
|
+
extends mint.ICustomEntityStreamSyncedMeta {}
|
|
175
|
+
|
|
176
|
+
/** Extend through module augmentation to type synchronized Ped metadata. */
|
|
177
|
+
export interface ICustomPedSyncedMeta
|
|
178
|
+
extends ICustomEntitySyncedMeta, mint.ICustomPedSyncedMeta {}
|
|
179
|
+
|
|
180
|
+
/** Extend through module augmentation to type stream-synchronized Ped metadata. */
|
|
181
|
+
export interface ICustomPedStreamSyncedMeta
|
|
182
|
+
extends ICustomEntityStreamSyncedMeta, mint.ICustomPedStreamSyncedMeta {}
|
|
183
|
+
|
|
184
|
+
/** Extend through module augmentation to type synchronized Player metadata. */
|
|
185
|
+
export interface ICustomPlayerSyncedMeta
|
|
186
|
+
extends ICustomEntitySyncedMeta, mint.ICustomPlayerSyncedMeta {}
|
|
187
|
+
|
|
188
|
+
/** Extend through module augmentation to type stream-synchronized Player metadata. */
|
|
189
|
+
export interface ICustomPlayerStreamSyncedMeta
|
|
190
|
+
extends ICustomEntityStreamSyncedMeta, mint.ICustomPlayerStreamSyncedMeta {}
|
|
191
|
+
|
|
192
|
+
/** Extend through module augmentation to type synchronized Vehicle metadata. */
|
|
193
|
+
export interface ICustomVehicleSyncedMeta
|
|
194
|
+
extends ICustomEntitySyncedMeta, mint.ICustomVehicleSyncedMeta {}
|
|
195
|
+
|
|
196
|
+
/** Extend through module augmentation to type stream-synchronized Vehicle metadata. */
|
|
197
|
+
export interface ICustomVehicleStreamSyncedMeta
|
|
198
|
+
extends ICustomEntityStreamSyncedMeta, mint.ICustomVehicleStreamSyncedMeta {}
|
|
199
|
+
|
|
200
|
+
/** Extend through module augmentation to type Player-local metadata. */
|
|
201
|
+
export interface ICustomPlayerLocalMeta extends mint.ICustomPlayerLocalMeta {}
|
|
202
|
+
|
|
203
|
+
/** Extend through module augmentation to type server-to-client events. */
|
|
204
|
+
export interface ICustomServerClientEvent extends mint.ICustomServerClientEvent {}
|
|
205
|
+
|
|
206
|
+
/** Extend through module augmentation to type client-to-server events. */
|
|
207
|
+
export interface ICustomClientServerEvent extends mint.ICustomClientServerEvent {}
|
|
208
|
+
|
|
209
|
+
/** Extend through module augmentation to type server-to-client RPCs. */
|
|
210
|
+
export interface ICustomServerClientRpc extends mint.ICustomServerClientRpc {}
|
|
211
|
+
|
|
212
|
+
/** Extend through module augmentation to type client-to-server RPCs. */
|
|
213
|
+
export interface ICustomClientServerRpc extends mint.ICustomClientServerRpc {}
|
|
214
|
+
|
|
215
|
+
/** Extend through module augmentation to type Checkpoint stream-synced metadata. */
|
|
216
|
+
export interface ICustomCheckpointStreamSyncedMeta
|
|
217
|
+
extends mint.ICustomCheckpointStreamSyncedMeta {}
|
|
218
|
+
|
|
219
|
+
/** Extend through module augmentation to type VirtualEntity stream-synced metadata. */
|
|
220
|
+
export interface ICustomVirtualEntityStreamSyncedMeta
|
|
221
|
+
extends mint.ICustomVirtualEntityStreamSyncedMeta {}
|
|
222
|
+
|
|
223
|
+
/** Resolves a declared metadata value while restricting every value to MiNT ScriptValue. */
|
|
224
|
+
export type InterfaceValueByKey<
|
|
225
|
+
TInterface,
|
|
226
|
+
TKey,
|
|
227
|
+
VDefault extends ScriptValue = ScriptValue,
|
|
228
|
+
> = TKey extends keyof TInterface
|
|
229
|
+
? [Extract<TInterface[TKey], ScriptValue>] extends [never]
|
|
230
|
+
? VDefault
|
|
231
|
+
: Extract<TInterface[TKey], ScriptValue>
|
|
232
|
+
: VDefault;
|
|
233
|
+
|
|
234
|
+
/** Resolves a writable metadata value; unsupported declared values remain unwritable. */
|
|
235
|
+
export type WritableInterfaceValueByKey<
|
|
236
|
+
TInterface,
|
|
237
|
+
TKey,
|
|
238
|
+
VDefault extends ScriptValue = ScriptValue,
|
|
239
|
+
> = TKey extends keyof TInterface
|
|
240
|
+
? Extract<TInterface[TKey], ScriptValue>
|
|
241
|
+
: VDefault;
|
|
242
|
+
|
|
243
|
+
/** Converts a metadata interface for the BaseObject bulk setter. */
|
|
244
|
+
export type MetaValues<TInterface> = {
|
|
245
|
+
[K in keyof TInterface]?: Extract<TInterface[K], ScriptValue>;
|
|
246
|
+
} & Record<string, ScriptValue>;
|
|
247
|
+
|
|
248
|
+
export type ExtractStringKeys<TInterface> = Extract<keyof TInterface, string>;
|
|
249
|
+
|
|
250
|
+
export interface IVector2 {
|
|
251
|
+
readonly x: number;
|
|
252
|
+
readonly y: number;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/** Coordinates preserve all JavaScript number values, including NaN and infinities. */
|
|
256
|
+
export class Vector2 implements IVector2 {
|
|
257
|
+
constructor(x: number, y: number);
|
|
258
|
+
constructor(arr: [number, number]);
|
|
259
|
+
constructor(obj: IVector2);
|
|
260
|
+
constructor(value: number);
|
|
261
|
+
|
|
262
|
+
readonly x: number;
|
|
263
|
+
readonly y: number;
|
|
264
|
+
get length(): number;
|
|
265
|
+
|
|
266
|
+
toArray(): [number, number];
|
|
267
|
+
toFixed(precision: number): Vector2;
|
|
268
|
+
toString(): string;
|
|
269
|
+
|
|
270
|
+
add(x: number, y: number): Vector2;
|
|
271
|
+
add(value: number): Vector2;
|
|
272
|
+
add(array: [number, number]): Vector2;
|
|
273
|
+
add(vector: IVector2): Vector2;
|
|
274
|
+
sub(x: number, y: number): Vector2;
|
|
275
|
+
sub(value: number): Vector2;
|
|
276
|
+
sub(array: [number, number]): Vector2;
|
|
277
|
+
sub(vector: IVector2): Vector2;
|
|
278
|
+
div(x: number, y: number): Vector2;
|
|
279
|
+
div(value: number): Vector2;
|
|
280
|
+
div(array: [number, number]): Vector2;
|
|
281
|
+
div(vector: IVector2): Vector2;
|
|
282
|
+
/** Returns the scalar dot product. The pinned alt:V 16.6.0 Vector2 return type is erroneous. */
|
|
283
|
+
dot(x: number, y: number): number;
|
|
284
|
+
dot(value: number): number;
|
|
285
|
+
dot(array: [number, number]): number;
|
|
286
|
+
dot(vector: IVector2): number;
|
|
287
|
+
mul(x: number, y: number): Vector2;
|
|
288
|
+
mul(value: number): Vector2;
|
|
289
|
+
mul(array: [number, number]): Vector2;
|
|
290
|
+
mul(vector: IVector2): Vector2;
|
|
291
|
+
|
|
292
|
+
negative(): Vector2;
|
|
293
|
+
inverse(): Vector2;
|
|
294
|
+
normalize(): Vector2;
|
|
295
|
+
distanceTo(vector: IVector2): number;
|
|
296
|
+
distanceToSquared(vector: IVector2): number;
|
|
297
|
+
angleTo(vector: IVector2): number;
|
|
298
|
+
angleToDegrees(vector: IVector2): number;
|
|
299
|
+
toRadians(): Vector2;
|
|
300
|
+
toDegrees(): Vector2;
|
|
301
|
+
isInRange(vector: IVector2, range: number): boolean;
|
|
302
|
+
lerp(vector: IVector2, ratio: number): Vector2;
|
|
303
|
+
|
|
304
|
+
static readonly zero: Vector2;
|
|
305
|
+
static readonly one: Vector2;
|
|
306
|
+
static readonly up: Vector2;
|
|
307
|
+
static readonly down: Vector2;
|
|
308
|
+
static readonly left: Vector2;
|
|
309
|
+
static readonly right: Vector2;
|
|
310
|
+
static readonly negativeInfinity: Vector2;
|
|
311
|
+
static readonly positiveInfinity: Vector2;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface IVector3 {
|
|
315
|
+
readonly x: number;
|
|
316
|
+
readonly y: number;
|
|
317
|
+
readonly z: number;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** Coordinates preserve all JavaScript number values, including NaN and infinities. */
|
|
321
|
+
export class Vector3 implements IVector3 {
|
|
322
|
+
constructor(x: number, y: number, z: number);
|
|
323
|
+
constructor(arr: [number, number, number]);
|
|
324
|
+
constructor(obj: IVector3);
|
|
325
|
+
constructor(value: number);
|
|
326
|
+
|
|
327
|
+
readonly x: number;
|
|
328
|
+
readonly y: number;
|
|
329
|
+
readonly z: number;
|
|
330
|
+
get length(): number;
|
|
331
|
+
|
|
332
|
+
toArray(): [number, number, number];
|
|
333
|
+
toFixed(precision: number): Vector3;
|
|
334
|
+
toString(): string;
|
|
335
|
+
|
|
336
|
+
add(x: number, y: number, z: number): Vector3;
|
|
337
|
+
add(value: number): Vector3;
|
|
338
|
+
add(array: [number, number, number]): Vector3;
|
|
339
|
+
add(vector: IVector3): Vector3;
|
|
340
|
+
sub(x: number, y: number, z: number): Vector3;
|
|
341
|
+
sub(value: number): Vector3;
|
|
342
|
+
sub(array: [number, number, number]): Vector3;
|
|
343
|
+
sub(vector: IVector3): Vector3;
|
|
344
|
+
div(x: number, y: number, z: number): Vector3;
|
|
345
|
+
div(value: number): Vector3;
|
|
346
|
+
div(array: [number, number, number]): Vector3;
|
|
347
|
+
div(vector: IVector3): Vector3;
|
|
348
|
+
dot(x: number, y: number, z: number): number;
|
|
349
|
+
dot(value: number): number;
|
|
350
|
+
dot(array: [number, number, number]): number;
|
|
351
|
+
dot(vector: IVector3): number;
|
|
352
|
+
cross(x: number, y: number, z: number): Vector3;
|
|
353
|
+
cross(value: number): Vector3;
|
|
354
|
+
cross(array: [number, number, number]): Vector3;
|
|
355
|
+
cross(vector: IVector3): Vector3;
|
|
356
|
+
mul(x: number, y: number, z: number): Vector3;
|
|
357
|
+
mul(value: number): Vector3;
|
|
358
|
+
mul(array: [number, number, number]): Vector3;
|
|
359
|
+
mul(vector: IVector3): Vector3;
|
|
360
|
+
|
|
361
|
+
negative(): Vector3;
|
|
362
|
+
inverse(): Vector3;
|
|
363
|
+
normalize(): Vector3;
|
|
364
|
+
distanceTo(vector: IVector3): number;
|
|
365
|
+
distanceToSquared(vector: IVector3): number;
|
|
366
|
+
angleTo(vector: IVector3): number;
|
|
367
|
+
angleToDegrees(vector: IVector3): number;
|
|
368
|
+
toRadians(): Vector3;
|
|
369
|
+
toDegrees(): Vector3;
|
|
370
|
+
isInRange(vector: IVector3, range: number): boolean;
|
|
371
|
+
lerp(vector: IVector3, ratio: number): Vector3;
|
|
372
|
+
|
|
373
|
+
static readonly zero: Vector3;
|
|
374
|
+
static readonly one: Vector3;
|
|
375
|
+
static readonly forward: Vector3;
|
|
376
|
+
static readonly back: Vector3;
|
|
377
|
+
static readonly up: Vector3;
|
|
378
|
+
static readonly down: Vector3;
|
|
379
|
+
static readonly left: Vector3;
|
|
380
|
+
static readonly right: Vector3;
|
|
381
|
+
static readonly negativeInfinity: Vector3;
|
|
382
|
+
static readonly positiveInfinity: Vector3;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface IQuaternion {
|
|
386
|
+
readonly x: number;
|
|
387
|
+
readonly y: number;
|
|
388
|
+
readonly z: number;
|
|
389
|
+
readonly w: number;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/** Components preserve all JavaScript number values, including NaN and infinities. */
|
|
393
|
+
export class Quaternion implements IQuaternion {
|
|
394
|
+
constructor(x: number, y: number, z: number, w: number);
|
|
395
|
+
constructor(arr: [number, number, number, number]);
|
|
396
|
+
constructor(obj: IQuaternion);
|
|
397
|
+
constructor(value: number);
|
|
398
|
+
|
|
399
|
+
readonly x: number;
|
|
400
|
+
readonly y: number;
|
|
401
|
+
readonly z: number;
|
|
402
|
+
readonly w: number;
|
|
403
|
+
|
|
404
|
+
toArray(): [number, number, number, number];
|
|
405
|
+
toFixed(precision: number): Quaternion;
|
|
406
|
+
toString(): string;
|
|
407
|
+
|
|
408
|
+
static readonly zero: Quaternion;
|
|
409
|
+
static readonly one: Quaternion;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/** Structural color input. Channels must be integers in the inclusive 0..255 range. */
|
|
413
|
+
export interface IRGBA {
|
|
414
|
+
readonly r: number;
|
|
415
|
+
readonly g: number;
|
|
416
|
+
readonly b: number;
|
|
417
|
+
readonly a: number;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Mutable integer color. Static bindings are readonly, while their RGBA instances remain mutable.
|
|
422
|
+
*/
|
|
423
|
+
export class RGBA implements IRGBA {
|
|
424
|
+
constructor(r: number, g: number, b: number, a?: number);
|
|
425
|
+
constructor(array: [r: number, g: number, b: number, a?: number]);
|
|
426
|
+
constructor(rgba: { r: number; g: number; b: number; a?: number });
|
|
427
|
+
|
|
428
|
+
r: number;
|
|
429
|
+
g: number;
|
|
430
|
+
b: number;
|
|
431
|
+
a: number;
|
|
432
|
+
|
|
433
|
+
toArray(): [r: number, g: number, b: number, a: number];
|
|
434
|
+
toBGRA(): RGBA;
|
|
435
|
+
toARGB(): RGBA;
|
|
436
|
+
/** Packs channels as an unsigned 0xRRGGBBAA integer. */
|
|
437
|
+
toInt(): number;
|
|
438
|
+
toString(): string;
|
|
439
|
+
|
|
440
|
+
static readonly red: RGBA;
|
|
441
|
+
static readonly green: RGBA;
|
|
442
|
+
static readonly blue: RGBA;
|
|
443
|
+
static readonly black: RGBA;
|
|
444
|
+
static readonly white: RGBA;
|
|
445
|
+
static readonly clear: RGBA;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export interface IWeapon {
|
|
449
|
+
readonly hash: number;
|
|
450
|
+
readonly tintIndex: number;
|
|
451
|
+
readonly components: readonly number[];
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/** The value object is normalized on both hosts; host-only constructors are not implied. */
|
|
455
|
+
export enum BaseObjectType {
|
|
456
|
+
Player = 0,
|
|
457
|
+
Vehicle = 1,
|
|
458
|
+
Ped = 2,
|
|
459
|
+
Object = 3,
|
|
460
|
+
Blip = 4,
|
|
461
|
+
WebView = 5,
|
|
462
|
+
VoiceChannel = 6,
|
|
463
|
+
Colshape = 7,
|
|
464
|
+
Checkpoint = 8,
|
|
465
|
+
Audio = 11,
|
|
466
|
+
AudioOutput = 12,
|
|
467
|
+
AudioOutputWorld = 13,
|
|
468
|
+
AudioOutputAttached = 14,
|
|
469
|
+
AudioOutputFrontend = 15,
|
|
470
|
+
RmlElement = 16,
|
|
471
|
+
RmlDocument = 17,
|
|
472
|
+
LocalPlayer = 18,
|
|
473
|
+
LocalObject = 19,
|
|
474
|
+
VirtualEntity = 20,
|
|
475
|
+
VirtualEntityGroup = 21,
|
|
476
|
+
Marker = 22,
|
|
477
|
+
TextLabel = 23,
|
|
478
|
+
LocalPed = 24,
|
|
479
|
+
LocalVehicle = 25,
|
|
480
|
+
AudioFilter = 26,
|
|
481
|
+
/* MiNT extensions */
|
|
482
|
+
Pickup = 65536,
|
|
483
|
+
ParticleEffect = 65537
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export enum VehicleLockState {
|
|
487
|
+
None,
|
|
488
|
+
Unlocked,
|
|
489
|
+
Locked,
|
|
490
|
+
LockoutPlayerOnly,
|
|
491
|
+
LockPlayerInside,
|
|
492
|
+
InitiallyLocked,
|
|
493
|
+
ForceDoorsShut,
|
|
494
|
+
LockedCanBeDamaged
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export enum KeyCode {
|
|
498
|
+
Key0 = 48,
|
|
499
|
+
Key1 = 49,
|
|
500
|
+
Key2 = 50,
|
|
501
|
+
Key3 = 51,
|
|
502
|
+
Key4 = 52,
|
|
503
|
+
Key5 = 53,
|
|
504
|
+
Key6 = 54,
|
|
505
|
+
Key7 = 55,
|
|
506
|
+
Key8 = 56,
|
|
507
|
+
Key9 = 57,
|
|
508
|
+
Backspace = 8,
|
|
509
|
+
Tab = 9,
|
|
510
|
+
Clear = 12,
|
|
511
|
+
Enter = 13,
|
|
512
|
+
Return = 13,
|
|
513
|
+
Escape = 27,
|
|
514
|
+
Space = 32,
|
|
515
|
+
Left = 37,
|
|
516
|
+
Up = 38,
|
|
517
|
+
Right = 39,
|
|
518
|
+
Down = 40,
|
|
519
|
+
Delete = 46,
|
|
520
|
+
Insert = 45,
|
|
521
|
+
Home = 36,
|
|
522
|
+
End = 35,
|
|
523
|
+
PageUp = 33,
|
|
524
|
+
PageDown = 34,
|
|
525
|
+
CapsLock = 20,
|
|
526
|
+
Shift = 16,
|
|
527
|
+
Alt = 18,
|
|
528
|
+
Ctrl = 17,
|
|
529
|
+
"-" = 189,
|
|
530
|
+
"=" = 187,
|
|
531
|
+
"," = 188,
|
|
532
|
+
";" = 186,
|
|
533
|
+
"." = 190,
|
|
534
|
+
"/" = 191,
|
|
535
|
+
"`" = 192,
|
|
536
|
+
"~" = 192,
|
|
537
|
+
"'" = 222,
|
|
538
|
+
"[" = 219,
|
|
539
|
+
"]" = 221,
|
|
540
|
+
"\\" = 220,
|
|
541
|
+
KpMultiply = 106,
|
|
542
|
+
KpAdd = 107,
|
|
543
|
+
KpSubtract = 109,
|
|
544
|
+
KpDecimal = 110,
|
|
545
|
+
KpDivide = 111,
|
|
546
|
+
A = 65,
|
|
547
|
+
B = 66,
|
|
548
|
+
C = 67,
|
|
549
|
+
D = 68,
|
|
550
|
+
E = 69,
|
|
551
|
+
F = 70,
|
|
552
|
+
G = 71,
|
|
553
|
+
H = 72,
|
|
554
|
+
I = 73,
|
|
555
|
+
J = 74,
|
|
556
|
+
K = 75,
|
|
557
|
+
L = 76,
|
|
558
|
+
M = 77,
|
|
559
|
+
N = 78,
|
|
560
|
+
O = 79,
|
|
561
|
+
P = 80,
|
|
562
|
+
Q = 81,
|
|
563
|
+
R = 82,
|
|
564
|
+
S = 83,
|
|
565
|
+
T = 84,
|
|
566
|
+
U = 85,
|
|
567
|
+
V = 86,
|
|
568
|
+
W = 87,
|
|
569
|
+
X = 88,
|
|
570
|
+
Y = 89,
|
|
571
|
+
Z = 90,
|
|
572
|
+
F1 = 112,
|
|
573
|
+
F2 = 113,
|
|
574
|
+
F3 = 114,
|
|
575
|
+
F4 = 115,
|
|
576
|
+
F5 = 116,
|
|
577
|
+
F6 = 117,
|
|
578
|
+
F7 = 118,
|
|
579
|
+
F8 = 119,
|
|
580
|
+
F9 = 120,
|
|
581
|
+
F10 = 121,
|
|
582
|
+
F11 = 122,
|
|
583
|
+
F12 = 123,
|
|
584
|
+
F13 = 124,
|
|
585
|
+
F14 = 125,
|
|
586
|
+
F15 = 126,
|
|
587
|
+
F16 = 127,
|
|
588
|
+
F17 = 128,
|
|
589
|
+
F18 = 129,
|
|
590
|
+
F19 = 130,
|
|
591
|
+
F20 = 131,
|
|
592
|
+
Numpad0 = 96,
|
|
593
|
+
Numpad1 = 97,
|
|
594
|
+
Numpad2 = 98,
|
|
595
|
+
Numpad3 = 99,
|
|
596
|
+
Numpad4 = 100,
|
|
597
|
+
Numpad5 = 101,
|
|
598
|
+
Numpad6 = 102,
|
|
599
|
+
Numpad7 = 103,
|
|
600
|
+
Numpad8 = 104,
|
|
601
|
+
Numpad9 = 105,
|
|
602
|
+
MouseLeft = 1,
|
|
603
|
+
MouseRight = 2,
|
|
604
|
+
MouseMiddle = 4
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
// <generated:blip-sprite>
|
|
608
|
+
export enum BlipSprite {
|
|
609
|
+
Higher = 0,
|
|
610
|
+
Lower = 1,
|
|
611
|
+
PolicePed = 2,
|
|
612
|
+
WantedRadius = 3,
|
|
613
|
+
Area = 4,
|
|
614
|
+
Centre = 5,
|
|
615
|
+
North = 6,
|
|
616
|
+
Waypoint = 7,
|
|
617
|
+
Radius = 8,
|
|
618
|
+
RadiusOutline = 9,
|
|
619
|
+
WeaponHigher = 10,
|
|
620
|
+
WeaponLower = 11,
|
|
621
|
+
HigherAI = 12,
|
|
622
|
+
LowerAI = 13,
|
|
623
|
+
PoliceHeliSpin = 14,
|
|
624
|
+
PolicePlaneMove = 15,
|
|
625
|
+
MPCrew = 27,
|
|
626
|
+
MPFriendlies = 28,
|
|
627
|
+
CableCar = 36,
|
|
628
|
+
Activities = 37,
|
|
629
|
+
Raceflag = 38,
|
|
630
|
+
Safehouse = 40,
|
|
631
|
+
Police = 41,
|
|
632
|
+
PoliceChase = 42,
|
|
633
|
+
PoliceHeli = 43,
|
|
634
|
+
BombA = 44,
|
|
635
|
+
Snitch = 47,
|
|
636
|
+
PlanningLocations = 48,
|
|
637
|
+
CriminalCarsteal = 50,
|
|
638
|
+
CriminalDrugs = 51,
|
|
639
|
+
CriminalHoldups = 52,
|
|
640
|
+
CriminalPlayer = 54,
|
|
641
|
+
CopPatrol = 56,
|
|
642
|
+
CopPlayer = 57,
|
|
643
|
+
CriminalWanted = 58,
|
|
644
|
+
Heist = 59,
|
|
645
|
+
PoliceStation = 60,
|
|
646
|
+
Hospital = 61,
|
|
647
|
+
AssassinsMark = 62,
|
|
648
|
+
Elevator = 63,
|
|
649
|
+
Helicopter = 64,
|
|
650
|
+
RandomCharacter = 66,
|
|
651
|
+
SecurityVan = 67,
|
|
652
|
+
TowTruck = 68,
|
|
653
|
+
IllegalParking = 70,
|
|
654
|
+
Barber = 71,
|
|
655
|
+
CarModShop = 72,
|
|
656
|
+
ClothesStore = 73,
|
|
657
|
+
Tattoo = 75,
|
|
658
|
+
ArmenianFamily = 76,
|
|
659
|
+
LesterFamily = 77,
|
|
660
|
+
MichaelFamily = 78,
|
|
661
|
+
TrevorFamily = 79,
|
|
662
|
+
JewelryHeist = 80,
|
|
663
|
+
DragRaceFinish = 82,
|
|
664
|
+
Rampage = 84,
|
|
665
|
+
VinewoodTours = 85,
|
|
666
|
+
LamarFamily = 86,
|
|
667
|
+
FranklinFamily = 88,
|
|
668
|
+
ChineseStrand = 89,
|
|
669
|
+
FlightSchool = 90,
|
|
670
|
+
EyeSky = 91,
|
|
671
|
+
AirHockey = 92,
|
|
672
|
+
Bar = 93,
|
|
673
|
+
BaseJump = 94,
|
|
674
|
+
Basketball = 95,
|
|
675
|
+
BiolabHeist = 96,
|
|
676
|
+
CabaretClub = 99,
|
|
677
|
+
CarWash = 100,
|
|
678
|
+
ComedyClub = 102,
|
|
679
|
+
Darts = 103,
|
|
680
|
+
DocksHeist = 104,
|
|
681
|
+
FbiHeist = 105,
|
|
682
|
+
FbiOfficersStrand = 106,
|
|
683
|
+
FinaleBankHeist = 107,
|
|
684
|
+
FinancierStrand = 108,
|
|
685
|
+
Golf = 109,
|
|
686
|
+
GunShop = 110,
|
|
687
|
+
InternetCafe = 111,
|
|
688
|
+
MichaelFamilyExile = 112,
|
|
689
|
+
NiceHouseHeist = 113,
|
|
690
|
+
RandomFemale = 114,
|
|
691
|
+
RandomMale = 115,
|
|
692
|
+
RuralBankHeist = 118,
|
|
693
|
+
ShootingRange = 119,
|
|
694
|
+
SolomonStrand = 120,
|
|
695
|
+
StripClub = 121,
|
|
696
|
+
Tennis = 122,
|
|
697
|
+
TrevorFamilyExile = 123,
|
|
698
|
+
MichaelTrevorFamily = 124,
|
|
699
|
+
Triathlon = 126,
|
|
700
|
+
OffRoadRacing = 127,
|
|
701
|
+
GangCops = 128,
|
|
702
|
+
GangMexicans = 129,
|
|
703
|
+
GangBikers = 130,
|
|
704
|
+
SnitchRed = 133,
|
|
705
|
+
CriminalCuffKeys = 134,
|
|
706
|
+
Cinema = 135,
|
|
707
|
+
MusicVenue = 136,
|
|
708
|
+
PoliceStationBlue = 137,
|
|
709
|
+
Airport = 138,
|
|
710
|
+
CriminalSavedVehicle = 139,
|
|
711
|
+
WeedStash = 140,
|
|
712
|
+
Hunting = 141,
|
|
713
|
+
Pool = 142,
|
|
714
|
+
ObjectiveBlue = 143,
|
|
715
|
+
ObjectiveGreen = 144,
|
|
716
|
+
ObjectiveRed = 145,
|
|
717
|
+
ObjectiveYellow = 146,
|
|
718
|
+
ArmsDealing = 147,
|
|
719
|
+
MPFriend = 148,
|
|
720
|
+
CelebrityTheft = 149,
|
|
721
|
+
WeaponAssaultRifle = 150,
|
|
722
|
+
WeaponBat = 151,
|
|
723
|
+
WeaponGrenade = 152,
|
|
724
|
+
WeaponHealth = 153,
|
|
725
|
+
WeaponKnife = 154,
|
|
726
|
+
WeaponMolotov = 155,
|
|
727
|
+
WeaponPistol = 156,
|
|
728
|
+
WeaponRocket = 157,
|
|
729
|
+
WeaponShotgun = 158,
|
|
730
|
+
WeaponSmg = 159,
|
|
731
|
+
WeaponSniper = 160,
|
|
732
|
+
MPNoise = 161,
|
|
733
|
+
PointOfInterest = 162,
|
|
734
|
+
Passive = 163,
|
|
735
|
+
UsingMenu = 164,
|
|
736
|
+
GangCopsPartner = 171,
|
|
737
|
+
WeaponMinigun = 173,
|
|
738
|
+
WeaponArmour = 175,
|
|
739
|
+
PropertyTakeover = 176,
|
|
740
|
+
GangMexicansHighlight = 177,
|
|
741
|
+
GangBikersHighlight = 178,
|
|
742
|
+
TriathlonCycling = 179,
|
|
743
|
+
TriathlonSwimming = 180,
|
|
744
|
+
PropertyTakeoverBikers = 181,
|
|
745
|
+
PropertyTakeoverCops = 182,
|
|
746
|
+
PropertyTakeoverVagos = 183,
|
|
747
|
+
Camera = 184,
|
|
748
|
+
CentreRed = 185,
|
|
749
|
+
HandcuffKeysBikers = 186,
|
|
750
|
+
HandcuffKeysVagos = 187,
|
|
751
|
+
HandcuffsClosedBikers = 188,
|
|
752
|
+
HandcuffsClosedVagos = 189,
|
|
753
|
+
CameraBadger = 192,
|
|
754
|
+
CameraFacade = 193,
|
|
755
|
+
CameraIfruit = 194,
|
|
756
|
+
Yoga = 197,
|
|
757
|
+
Taxi = 198,
|
|
758
|
+
Shrink = 205,
|
|
759
|
+
Epsilon = 206,
|
|
760
|
+
FinancierStrandGrey = 207,
|
|
761
|
+
TrevorFamilyGrey = 208,
|
|
762
|
+
TrevorFamilyRed = 209,
|
|
763
|
+
FranklinFamilyGrey = 210,
|
|
764
|
+
FranklinFamilyBlue = 211,
|
|
765
|
+
FranklinA = 212,
|
|
766
|
+
FranklinB = 213,
|
|
767
|
+
FranklinC = 214,
|
|
768
|
+
GangVehicle = 225,
|
|
769
|
+
GangVehicleBikers = 226,
|
|
770
|
+
GangVehicleCops = 227,
|
|
771
|
+
GangVehicleVagos = 228,
|
|
772
|
+
Guncar = 229,
|
|
773
|
+
DrivingBikers = 230,
|
|
774
|
+
DrivingCops = 231,
|
|
775
|
+
DrivingVagos = 232,
|
|
776
|
+
GangCopsHighlight = 233,
|
|
777
|
+
ShieldBikers = 234,
|
|
778
|
+
ShieldCops = 235,
|
|
779
|
+
ShieldVagos = 236,
|
|
780
|
+
CustodyBikers = 237,
|
|
781
|
+
CustodyVagos = 238,
|
|
782
|
+
ArmsDealingAir = 251,
|
|
783
|
+
PlayerStateArrested = 252,
|
|
784
|
+
PlayerStateCustody = 253,
|
|
785
|
+
PlayerStateDriving = 254,
|
|
786
|
+
PlayerStateKeyholder = 255,
|
|
787
|
+
PlayerStatePartner = 256,
|
|
788
|
+
Ztype = 262,
|
|
789
|
+
Stinger = 263,
|
|
790
|
+
Packer = 264,
|
|
791
|
+
Monroe = 265,
|
|
792
|
+
Fairground = 266,
|
|
793
|
+
Property = 267,
|
|
794
|
+
GangHighlight = 268,
|
|
795
|
+
Altruist = 269,
|
|
796
|
+
AI = 270,
|
|
797
|
+
OnMission = 271,
|
|
798
|
+
CashPickup = 272,
|
|
799
|
+
Chop = 273,
|
|
800
|
+
Dead = 274,
|
|
801
|
+
TerritoryLocked = 275,
|
|
802
|
+
CashLost = 276,
|
|
803
|
+
CashVagos = 277,
|
|
804
|
+
CashCops = 278,
|
|
805
|
+
Hooker = 279,
|
|
806
|
+
Friend = 280,
|
|
807
|
+
Mission2to4 = 281,
|
|
808
|
+
Mission2to8 = 282,
|
|
809
|
+
Mission2to12 = 283,
|
|
810
|
+
Mission2to16 = 284,
|
|
811
|
+
CustodyDropOff = 285,
|
|
812
|
+
OnMissionCops = 286,
|
|
813
|
+
OnMissionLost = 287,
|
|
814
|
+
OnMissionVagos = 288,
|
|
815
|
+
CriminalCarStealCops = 289,
|
|
816
|
+
CriminalCarStealBikers = 290,
|
|
817
|
+
CriminalCarStealVagos = 291,
|
|
818
|
+
BandStrand = 292,
|
|
819
|
+
SimeonFamily = 293,
|
|
820
|
+
Mission1 = 294,
|
|
821
|
+
Mission2 = 295,
|
|
822
|
+
FriendDarts = 296,
|
|
823
|
+
FriendComedyClub = 297,
|
|
824
|
+
FriendCinema = 298,
|
|
825
|
+
FriendTennis = 299,
|
|
826
|
+
FriendStripClub = 300,
|
|
827
|
+
FriendLiveMusic = 301,
|
|
828
|
+
FriendGolf = 302,
|
|
829
|
+
BountyHit = 303,
|
|
830
|
+
UgcMission = 304,
|
|
831
|
+
Horde = 305,
|
|
832
|
+
CrateDrop = 306,
|
|
833
|
+
PlaneDrop = 307,
|
|
834
|
+
Sub = 308,
|
|
835
|
+
Race = 309,
|
|
836
|
+
Deathmatch = 310,
|
|
837
|
+
ArmWrestling = 311,
|
|
838
|
+
Mission1to2 = 312,
|
|
839
|
+
ShootingRangeGunShop = 313,
|
|
840
|
+
RaceAir = 314,
|
|
841
|
+
RaceLand = 315,
|
|
842
|
+
RaceSea = 316,
|
|
843
|
+
Tow = 317,
|
|
844
|
+
Garbage = 318,
|
|
845
|
+
Drill = 319,
|
|
846
|
+
Spikes = 320,
|
|
847
|
+
Firetruck = 321,
|
|
848
|
+
Minigun2 = 322,
|
|
849
|
+
Bugstar = 323,
|
|
850
|
+
Submarine = 324,
|
|
851
|
+
Chinook = 325,
|
|
852
|
+
GetawayCar = 326,
|
|
853
|
+
MissionBikers1 = 327,
|
|
854
|
+
MissionBikers1to2 = 328,
|
|
855
|
+
MissionBikers2 = 329,
|
|
856
|
+
MissionBikers2to4 = 330,
|
|
857
|
+
MissionBikers2to8 = 331,
|
|
858
|
+
MissionBikers2to12 = 332,
|
|
859
|
+
MissionBikers2to16 = 333,
|
|
860
|
+
MissionCops1 = 334,
|
|
861
|
+
MissionCops1to2 = 335,
|
|
862
|
+
MissionCops2 = 336,
|
|
863
|
+
MissionCops2to4 = 337,
|
|
864
|
+
MissionCops2to8 = 338,
|
|
865
|
+
MissionCops2to12 = 339,
|
|
866
|
+
MissionCops2to16 = 340,
|
|
867
|
+
MissionVagos1 = 341,
|
|
868
|
+
MissionVagos1to2 = 342,
|
|
869
|
+
MissionVagos2 = 343,
|
|
870
|
+
MissionVagos2to4 = 344,
|
|
871
|
+
MissionVagos2to8 = 345,
|
|
872
|
+
MissionVagos2to12 = 346,
|
|
873
|
+
MissionVagos2to16 = 347,
|
|
874
|
+
GangBike = 348,
|
|
875
|
+
GasGrenade = 349,
|
|
876
|
+
PropertyForSale = 350,
|
|
877
|
+
GangAttackPackage = 351,
|
|
878
|
+
MartinMadrazzo = 352,
|
|
879
|
+
EnemyHeliSpin = 353,
|
|
880
|
+
Boost = 354,
|
|
881
|
+
Devin = 355,
|
|
882
|
+
Dock = 356,
|
|
883
|
+
Garage = 357,
|
|
884
|
+
GolfFlag = 358,
|
|
885
|
+
Hangar = 359,
|
|
886
|
+
Helipad = 360,
|
|
887
|
+
JerryCan = 361,
|
|
888
|
+
Mask = 362,
|
|
889
|
+
HeistPrep = 363,
|
|
890
|
+
Incapacitated = 364,
|
|
891
|
+
SpawnPointPickup = 365,
|
|
892
|
+
Boilersuit = 366,
|
|
893
|
+
Completed = 367,
|
|
894
|
+
Rockets = 368,
|
|
895
|
+
GarageForSale = 369,
|
|
896
|
+
HelipadForSale = 370,
|
|
897
|
+
DockForSale = 371,
|
|
898
|
+
HangarForSale = 372,
|
|
899
|
+
Placeholder6 = 373,
|
|
900
|
+
Business = 374,
|
|
901
|
+
BusinessForSale = 375,
|
|
902
|
+
RaceBike = 376,
|
|
903
|
+
Parachute = 377,
|
|
904
|
+
TeamDeathmatch = 378,
|
|
905
|
+
RaceFoot = 379,
|
|
906
|
+
VehicleDeathmatch = 380,
|
|
907
|
+
Barry = 381,
|
|
908
|
+
Dom = 382,
|
|
909
|
+
Maryann = 383,
|
|
910
|
+
Cletus = 384,
|
|
911
|
+
Josh = 385,
|
|
912
|
+
Minute = 386,
|
|
913
|
+
Omega = 387,
|
|
914
|
+
Tonya = 388,
|
|
915
|
+
Paparazzo = 389,
|
|
916
|
+
Aim = 390,
|
|
917
|
+
CrateDropBackground = 391,
|
|
918
|
+
GreenAndNetPlayer1 = 392,
|
|
919
|
+
GreenAndNetPlayer2 = 393,
|
|
920
|
+
GreenAndNetPlayer3 = 394,
|
|
921
|
+
GreenAndFriendly = 395,
|
|
922
|
+
NetPlayer1AndNetPlayer2 = 396,
|
|
923
|
+
NetPlayer1AndNetPlayer3 = 397,
|
|
924
|
+
Creator = 398,
|
|
925
|
+
CreatorDirection = 399,
|
|
926
|
+
Abigail = 400,
|
|
927
|
+
Blimp = 401,
|
|
928
|
+
Repair = 402,
|
|
929
|
+
Testosterone = 403,
|
|
930
|
+
Dinghy = 404,
|
|
931
|
+
Fanatic = 405,
|
|
932
|
+
InfoIcon = 407,
|
|
933
|
+
CaptureTheFlag = 408,
|
|
934
|
+
LastTeamStanding = 409,
|
|
935
|
+
Boat = 410,
|
|
936
|
+
CaptureTheFlagBase = 411,
|
|
937
|
+
CaptureTheFlagOutline = 413,
|
|
938
|
+
CaptureTheFlagBaseNoBag = 414,
|
|
939
|
+
WeaponJerrycan = 415,
|
|
940
|
+
Rp = 416,
|
|
941
|
+
LevelInside = 417,
|
|
942
|
+
BountyHitInside = 418,
|
|
943
|
+
CaptureTheUSAFlag = 419,
|
|
944
|
+
CaptureTheUSAFlagOutline = 420,
|
|
945
|
+
Tank = 421,
|
|
946
|
+
PlayerHeli = 422,
|
|
947
|
+
PlayerPlane = 423,
|
|
948
|
+
PlayerJet = 424,
|
|
949
|
+
CentreStroke = 425,
|
|
950
|
+
PlayerGunCar = 426,
|
|
951
|
+
PlayerBoat = 427,
|
|
952
|
+
MPHeist = 428,
|
|
953
|
+
Temp1 = 429,
|
|
954
|
+
Temp2 = 430,
|
|
955
|
+
Temp3 = 431,
|
|
956
|
+
Temp4 = 432,
|
|
957
|
+
Temp5 = 433,
|
|
958
|
+
Temp6 = 434,
|
|
959
|
+
RaceStunt = 435,
|
|
960
|
+
HotProperty = 436,
|
|
961
|
+
UrbanWarfareVersus = 437,
|
|
962
|
+
KingOfTheCastle = 438,
|
|
963
|
+
PlayerKing = 439,
|
|
964
|
+
DeadDrop = 440,
|
|
965
|
+
PennedIn = 441,
|
|
966
|
+
Beast = 442,
|
|
967
|
+
EdgePointer = 443,
|
|
968
|
+
EdgeCrossTheLine = 444,
|
|
969
|
+
MPLamar = 445,
|
|
970
|
+
Bennys = 446,
|
|
971
|
+
CornerNumber1 = 447,
|
|
972
|
+
CornerNumber2 = 448,
|
|
973
|
+
CornerNumber3 = 449,
|
|
974
|
+
CornerNumber4 = 450,
|
|
975
|
+
CornerNumber5 = 451,
|
|
976
|
+
CornerNumber6 = 452,
|
|
977
|
+
CornerNumber7 = 453,
|
|
978
|
+
CornerNumber8 = 454,
|
|
979
|
+
Yacht = 455,
|
|
980
|
+
FindersKeepers = 456,
|
|
981
|
+
AssaultPackage = 457,
|
|
982
|
+
HuntTheBoss = 458,
|
|
983
|
+
Sightseer = 459,
|
|
984
|
+
TurretedLimo = 460,
|
|
985
|
+
BellyOfTheBeast = 461,
|
|
986
|
+
YachtLocation = 462,
|
|
987
|
+
PickupBeast = 463,
|
|
988
|
+
PickupZoned = 464,
|
|
989
|
+
PickupRandom = 465,
|
|
990
|
+
PickupSlowTime = 466,
|
|
991
|
+
PickupSwap = 467,
|
|
992
|
+
PickupThermal = 468,
|
|
993
|
+
PickupWeed = 469,
|
|
994
|
+
WeaponRailgun = 470,
|
|
995
|
+
Seashark = 471,
|
|
996
|
+
PickupHidden = 472,
|
|
997
|
+
Warehouse = 473,
|
|
998
|
+
WarehouseForSale = 474,
|
|
999
|
+
Office = 475,
|
|
1000
|
+
OfficeForSale = 476,
|
|
1001
|
+
Truck = 477,
|
|
1002
|
+
Contraband = 478,
|
|
1003
|
+
Trailer = 479,
|
|
1004
|
+
VIP = 480,
|
|
1005
|
+
Cargobob = 481,
|
|
1006
|
+
AreaOutline = 482,
|
|
1007
|
+
PickupAccelerator = 483,
|
|
1008
|
+
PickupGhost = 484,
|
|
1009
|
+
PickupDetonator = 485,
|
|
1010
|
+
PickupBomb = 486,
|
|
1011
|
+
PickupArmoured = 487,
|
|
1012
|
+
Stunt = 488,
|
|
1013
|
+
WeaponLives = 489,
|
|
1014
|
+
StuntPremium = 490,
|
|
1015
|
+
Adversary = 491,
|
|
1016
|
+
BikerClubhouse = 492,
|
|
1017
|
+
BikerCagedIn = 493,
|
|
1018
|
+
BikerTurfWar = 494,
|
|
1019
|
+
BikerJoust = 495,
|
|
1020
|
+
ProductionWeed = 496,
|
|
1021
|
+
ProductionCrack = 497,
|
|
1022
|
+
ProductionFakeId = 498,
|
|
1023
|
+
ProductionMeth = 499,
|
|
1024
|
+
ProductionMoney = 500,
|
|
1025
|
+
Package = 501,
|
|
1026
|
+
Capture1 = 502,
|
|
1027
|
+
Capture2 = 503,
|
|
1028
|
+
Capture3 = 504,
|
|
1029
|
+
Capture4 = 505,
|
|
1030
|
+
Capture5 = 506,
|
|
1031
|
+
Capture6 = 507,
|
|
1032
|
+
Capture7 = 508,
|
|
1033
|
+
Capture8 = 509,
|
|
1034
|
+
Capture9 = 510,
|
|
1035
|
+
Capture10 = 511,
|
|
1036
|
+
Quad = 512,
|
|
1037
|
+
Bus = 513,
|
|
1038
|
+
DrugsPackage = 514,
|
|
1039
|
+
PickupJump = 515,
|
|
1040
|
+
Adversary4 = 516,
|
|
1041
|
+
Adversary8 = 517,
|
|
1042
|
+
Adversary10 = 518,
|
|
1043
|
+
Adversary12 = 519,
|
|
1044
|
+
Adversary16 = 520,
|
|
1045
|
+
Laptop = 521,
|
|
1046
|
+
PickupDeadline = 522,
|
|
1047
|
+
SportsCar = 523,
|
|
1048
|
+
WarehouseVehicle = 524,
|
|
1049
|
+
RegPapers = 525,
|
|
1050
|
+
PoliceStationDropoff = 526,
|
|
1051
|
+
Junkyard = 527,
|
|
1052
|
+
ExVech1 = 528,
|
|
1053
|
+
ExVech2 = 529,
|
|
1054
|
+
ExVech3 = 530,
|
|
1055
|
+
ExVech4 = 531,
|
|
1056
|
+
ExVech5 = 532,
|
|
1057
|
+
ExVech6 = 533,
|
|
1058
|
+
ExVech7 = 534,
|
|
1059
|
+
TargetA = 535,
|
|
1060
|
+
TargetB = 536,
|
|
1061
|
+
TargetC = 537,
|
|
1062
|
+
TargetD = 538,
|
|
1063
|
+
TargetE = 539,
|
|
1064
|
+
TargetF = 540,
|
|
1065
|
+
TargetG = 541,
|
|
1066
|
+
TargetH = 542,
|
|
1067
|
+
Juggernaut = 543,
|
|
1068
|
+
PickupRepair = 544,
|
|
1069
|
+
SteeringWheel = 545,
|
|
1070
|
+
Trophy = 546,
|
|
1071
|
+
PickupRocketBoost = 547,
|
|
1072
|
+
PickupHomingRocket = 548,
|
|
1073
|
+
PickupMachinegun = 549,
|
|
1074
|
+
PickupParachute = 550,
|
|
1075
|
+
PickupTime5 = 551,
|
|
1076
|
+
PickupTime10 = 552,
|
|
1077
|
+
PickupTime15 = 553,
|
|
1078
|
+
PickupTime20 = 554,
|
|
1079
|
+
PickupTime30 = 555,
|
|
1080
|
+
Supplies = 556,
|
|
1081
|
+
PropertyBunker = 557,
|
|
1082
|
+
GrWvm1 = 558,
|
|
1083
|
+
GrWvm2 = 559,
|
|
1084
|
+
GrWvm3 = 560,
|
|
1085
|
+
GrWvm4 = 561,
|
|
1086
|
+
GrWvm5 = 562,
|
|
1087
|
+
GrWvm6 = 563,
|
|
1088
|
+
GrCovertOps = 564,
|
|
1089
|
+
AdversaryBunker = 565,
|
|
1090
|
+
GrMocUpgrade = 566,
|
|
1091
|
+
GrWUpgrade = 567,
|
|
1092
|
+
SmCargo = 568,
|
|
1093
|
+
SmHangar = 569,
|
|
1094
|
+
TfCheckpoint = 570,
|
|
1095
|
+
RaceTf = 571,
|
|
1096
|
+
SmWp1 = 572,
|
|
1097
|
+
SmWp2 = 573,
|
|
1098
|
+
SmWp3 = 574,
|
|
1099
|
+
SmWp4 = 575,
|
|
1100
|
+
SmWp5 = 576,
|
|
1101
|
+
SmWp6 = 577,
|
|
1102
|
+
SmWp7 = 578,
|
|
1103
|
+
SmWp8 = 579,
|
|
1104
|
+
SmWp9 = 580,
|
|
1105
|
+
SmWp10 = 581,
|
|
1106
|
+
SmWp11 = 582,
|
|
1107
|
+
SmWp12 = 583,
|
|
1108
|
+
SmWp13 = 584,
|
|
1109
|
+
SmWp14 = 585,
|
|
1110
|
+
NhpBag = 586,
|
|
1111
|
+
NhpChest = 587,
|
|
1112
|
+
NhpOrbit = 588,
|
|
1113
|
+
NhpVeh1 = 589,
|
|
1114
|
+
NhpBase = 590,
|
|
1115
|
+
NhpOverlay = 591,
|
|
1116
|
+
NhpTurret = 592,
|
|
1117
|
+
NhpMgFirewall = 593,
|
|
1118
|
+
NhpMgNode = 594,
|
|
1119
|
+
NhpWp1 = 595,
|
|
1120
|
+
NhpWp2 = 596,
|
|
1121
|
+
NhpWp3 = 597,
|
|
1122
|
+
NhpWp4 = 598,
|
|
1123
|
+
NhpWp5 = 599,
|
|
1124
|
+
NhpWp6 = 600,
|
|
1125
|
+
NhpWp7 = 601,
|
|
1126
|
+
NhpWp8 = 602,
|
|
1127
|
+
NhpWp9 = 603,
|
|
1128
|
+
NhpCCTV = 604,
|
|
1129
|
+
NhpStarterpack = 605,
|
|
1130
|
+
NhpTurretConsole = 606,
|
|
1131
|
+
NhpMgMirRotate = 607,
|
|
1132
|
+
NhpMgMirStatic = 608,
|
|
1133
|
+
NhpMgProxy = 609,
|
|
1134
|
+
AcsrRaceTarget = 610,
|
|
1135
|
+
AcsrRaceHotring = 611,
|
|
1136
|
+
AcsrWp1 = 612,
|
|
1137
|
+
AcsrWp2 = 613,
|
|
1138
|
+
BatClubProperty = 614,
|
|
1139
|
+
BatCargo = 615,
|
|
1140
|
+
BatTruck = 616,
|
|
1141
|
+
BatHackJewel = 617,
|
|
1142
|
+
BatHackGold = 618,
|
|
1143
|
+
BatKeypad = 619,
|
|
1144
|
+
BatHackTarget = 620,
|
|
1145
|
+
PickupDtbHealth = 621,
|
|
1146
|
+
PickupDtbBlastIncrease = 622,
|
|
1147
|
+
PickupDtbBlastDecrease = 623,
|
|
1148
|
+
PickupDtbBombIncrease = 624,
|
|
1149
|
+
PickupDtbBombDecrease = 625,
|
|
1150
|
+
BatRivalClub = 626,
|
|
1151
|
+
BatDrone = 627,
|
|
1152
|
+
BatCashReg = 628,
|
|
1153
|
+
CCTV = 629,
|
|
1154
|
+
BatAssassinate = 630,
|
|
1155
|
+
BatPbus = 631,
|
|
1156
|
+
BatWp1 = 632,
|
|
1157
|
+
BatWp2 = 633,
|
|
1158
|
+
BatWp3 = 634,
|
|
1159
|
+
BatWp4 = 635,
|
|
1160
|
+
BatWp5 = 636,
|
|
1161
|
+
BatWp6 = 637,
|
|
1162
|
+
Blimp2 = 638,
|
|
1163
|
+
Oppressor2 = 639,
|
|
1164
|
+
BatWp7 = 640,
|
|
1165
|
+
ArenaSeries = 641,
|
|
1166
|
+
ArenaPremium = 642,
|
|
1167
|
+
ArenaWorkshop = 643,
|
|
1168
|
+
RaceWars = 644,
|
|
1169
|
+
ArenaTurret = 645,
|
|
1170
|
+
ArenaRCCar = 646,
|
|
1171
|
+
ArenaRCWorkshop = 647,
|
|
1172
|
+
ArenaTrapFire = 648,
|
|
1173
|
+
ArenaTrapFlip = 649,
|
|
1174
|
+
ArenaTrapSea = 650,
|
|
1175
|
+
ArenaTrapTurn = 651,
|
|
1176
|
+
ArenaTrapPit = 652,
|
|
1177
|
+
ArenaTrapMine = 653,
|
|
1178
|
+
ArenaTrapBomb = 654,
|
|
1179
|
+
ArenaTrapWall = 655,
|
|
1180
|
+
ArenaTrapBrd = 656,
|
|
1181
|
+
ArenaTrapSbrd = 657,
|
|
1182
|
+
ArenaBruiser = 658,
|
|
1183
|
+
ArenaBrutus = 659,
|
|
1184
|
+
ArenaCerberus = 660,
|
|
1185
|
+
ArenaDeathbike = 661,
|
|
1186
|
+
ArenaDominator = 662,
|
|
1187
|
+
ArenaImpaler = 663,
|
|
1188
|
+
ArenaImperator = 664,
|
|
1189
|
+
ArenaIssi = 665,
|
|
1190
|
+
ArenaSasquatch = 666,
|
|
1191
|
+
ArenaScarab = 667,
|
|
1192
|
+
ArenaSlamvan = 668,
|
|
1193
|
+
ArenaZr = 669,
|
|
1194
|
+
AP = 670,
|
|
1195
|
+
ComicStore = 671,
|
|
1196
|
+
CopCar = 672,
|
|
1197
|
+
RCTimeTrials = 673,
|
|
1198
|
+
KingOfTheHill = 674,
|
|
1199
|
+
KingOfTheHillTeams = 675,
|
|
1200
|
+
Rucksack = 676,
|
|
1201
|
+
ShippingContainer = 677,
|
|
1202
|
+
Agatha = 678,
|
|
1203
|
+
Casino = 679,
|
|
1204
|
+
CasinoTableGames = 680,
|
|
1205
|
+
CasinoWheel = 681,
|
|
1206
|
+
CasinoConcierge = 682,
|
|
1207
|
+
CasinoChips = 683,
|
|
1208
|
+
CasinoHorseRacing = 684,
|
|
1209
|
+
AdversaryFeatured = 685,
|
|
1210
|
+
Roulette1 = 686,
|
|
1211
|
+
Roulette2 = 687,
|
|
1212
|
+
Roulette3 = 688,
|
|
1213
|
+
Roulette4 = 689,
|
|
1214
|
+
Roulette5 = 690,
|
|
1215
|
+
Roulette6 = 691,
|
|
1216
|
+
Roulette7 = 692,
|
|
1217
|
+
Roulette8 = 693,
|
|
1218
|
+
Roulette9 = 694,
|
|
1219
|
+
Roulette10 = 695,
|
|
1220
|
+
Roulette11 = 696,
|
|
1221
|
+
Roulette12 = 697,
|
|
1222
|
+
Roulette13 = 698,
|
|
1223
|
+
Roulette14 = 699,
|
|
1224
|
+
Roulette15 = 700,
|
|
1225
|
+
Roulette16 = 701,
|
|
1226
|
+
Roulette17 = 702,
|
|
1227
|
+
Roulette18 = 703,
|
|
1228
|
+
Roulette19 = 704,
|
|
1229
|
+
Roulette20 = 705,
|
|
1230
|
+
Roulette21 = 706,
|
|
1231
|
+
Roulette22 = 707,
|
|
1232
|
+
Roulette23 = 708,
|
|
1233
|
+
Roulette24 = 709,
|
|
1234
|
+
Roulette25 = 710,
|
|
1235
|
+
Roulette26 = 711,
|
|
1236
|
+
Roulette27 = 712,
|
|
1237
|
+
Roulette28 = 713,
|
|
1238
|
+
Roulette29 = 714,
|
|
1239
|
+
Roulette30 = 715,
|
|
1240
|
+
Roulette31 = 716,
|
|
1241
|
+
Roulette32 = 717,
|
|
1242
|
+
Roulette33 = 718,
|
|
1243
|
+
Roulette34 = 719,
|
|
1244
|
+
Roulette35 = 720,
|
|
1245
|
+
Roulette36 = 721,
|
|
1246
|
+
Roulette0 = 722,
|
|
1247
|
+
Roulette00 = 723,
|
|
1248
|
+
Limo = 724,
|
|
1249
|
+
WeaponAlien = 725,
|
|
1250
|
+
RaceOpenWheel = 726,
|
|
1251
|
+
Rappel = 727,
|
|
1252
|
+
SwapCar = 728,
|
|
1253
|
+
ScubaGear = 729,
|
|
1254
|
+
Cpanel1 = 730,
|
|
1255
|
+
Cpanel2 = 731,
|
|
1256
|
+
Cpanel3 = 732,
|
|
1257
|
+
Cpanel4 = 733,
|
|
1258
|
+
SnowTruck = 734,
|
|
1259
|
+
Buggy1 = 735,
|
|
1260
|
+
Buggy2 = 736,
|
|
1261
|
+
Zhaba = 737,
|
|
1262
|
+
Gerald = 738,
|
|
1263
|
+
Ron = 739,
|
|
1264
|
+
Arcade = 740,
|
|
1265
|
+
DroneControls = 741,
|
|
1266
|
+
RCTank = 742,
|
|
1267
|
+
Stairs = 743,
|
|
1268
|
+
Camera2 = 744,
|
|
1269
|
+
Winky = 745,
|
|
1270
|
+
MiniSub = 746,
|
|
1271
|
+
KartRetro = 747,
|
|
1272
|
+
KartModern = 748,
|
|
1273
|
+
MilitaryQuad = 749,
|
|
1274
|
+
MilitaryTruck = 750,
|
|
1275
|
+
ShipWheel = 751,
|
|
1276
|
+
UFO = 752,
|
|
1277
|
+
Seasparrow2 = 753,
|
|
1278
|
+
Dinghy2 = 754,
|
|
1279
|
+
PatrolBoat = 755,
|
|
1280
|
+
RetroSportsCar = 756,
|
|
1281
|
+
Squadee = 757,
|
|
1282
|
+
FoldingWingJet = 758,
|
|
1283
|
+
Valkyrie2 = 759,
|
|
1284
|
+
Sub2 = 760,
|
|
1285
|
+
BoltCutters = 761,
|
|
1286
|
+
RappelGear = 762,
|
|
1287
|
+
KeyCard = 763,
|
|
1288
|
+
Password = 764,
|
|
1289
|
+
IslandHeistPrep = 765,
|
|
1290
|
+
IslandParty = 766,
|
|
1291
|
+
ControlTower = 767,
|
|
1292
|
+
UnderwaterGate = 768,
|
|
1293
|
+
PowerSwitch = 769,
|
|
1294
|
+
CompoundGate = 770,
|
|
1295
|
+
RappelPoint = 771,
|
|
1296
|
+
KeyPad = 772,
|
|
1297
|
+
SubControls = 773,
|
|
1298
|
+
SubPeriscope = 774,
|
|
1299
|
+
SubMissile = 775,
|
|
1300
|
+
Painting = 776,
|
|
1301
|
+
CarMeet = 777,
|
|
1302
|
+
CarTestArea = 778,
|
|
1303
|
+
AutoShopProperty = 779,
|
|
1304
|
+
DocksExport = 780,
|
|
1305
|
+
PrizeCar = 781,
|
|
1306
|
+
TestCar = 782,
|
|
1307
|
+
CarRobberyBoard = 783,
|
|
1308
|
+
CarRobberyPrep = 784,
|
|
1309
|
+
StreetRaceSeries = 785,
|
|
1310
|
+
PursuitSeries = 786,
|
|
1311
|
+
CarMeetOrganiser = 787,
|
|
1312
|
+
SecuroServ = 788,
|
|
1313
|
+
BountyCollectibles = 789,
|
|
1314
|
+
MovieCollectibles = 790,
|
|
1315
|
+
TrailerRamp = 791,
|
|
1316
|
+
RaceOrganiser = 792,
|
|
1317
|
+
ChalkboardList = 793,
|
|
1318
|
+
ExportVehicle = 794,
|
|
1319
|
+
Train = 795,
|
|
1320
|
+
HeistDiamond = 796,
|
|
1321
|
+
HeistDoomsday = 797,
|
|
1322
|
+
HeistIsland = 798,
|
|
1323
|
+
Slamvan2 = 799,
|
|
1324
|
+
Crusader = 800,
|
|
1325
|
+
ConstructionOutfit = 801,
|
|
1326
|
+
OverlayJammed = 802,
|
|
1327
|
+
HeistIslandUnavailable = 803,
|
|
1328
|
+
HeistDiamondUnavailable = 804,
|
|
1329
|
+
HeistDoomsdayUnavailable = 805,
|
|
1330
|
+
Placeholder7 = 806,
|
|
1331
|
+
Placeholder8 = 807,
|
|
1332
|
+
Placeholder9 = 808,
|
|
1333
|
+
FeaturedSeries = 809,
|
|
1334
|
+
VehicleForSale = 810,
|
|
1335
|
+
VanKeys = 811,
|
|
1336
|
+
SuvService = 812,
|
|
1337
|
+
SecurityContract = 813,
|
|
1338
|
+
Safe = 814,
|
|
1339
|
+
PedR = 815,
|
|
1340
|
+
PedE = 816,
|
|
1341
|
+
Payphone = 817,
|
|
1342
|
+
Patriot3 = 818,
|
|
1343
|
+
MusicStudio = 819,
|
|
1344
|
+
Jubilee = 820,
|
|
1345
|
+
Granger2 = 821,
|
|
1346
|
+
ExplosiveCharge = 822,
|
|
1347
|
+
Deity = 823,
|
|
1348
|
+
DChampion = 824,
|
|
1349
|
+
Buffalo4 = 825,
|
|
1350
|
+
Agency = 826,
|
|
1351
|
+
}
|
|
1352
|
+
// </generated:blip-sprite>
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
export enum BlipColor {
|
|
1356
|
+
White,
|
|
1357
|
+
Red,
|
|
1358
|
+
Green,
|
|
1359
|
+
Blue,
|
|
1360
|
+
Yellow = 5,
|
|
1361
|
+
LightRed,
|
|
1362
|
+
Violet,
|
|
1363
|
+
Pink,
|
|
1364
|
+
LightOrange,
|
|
1365
|
+
LightBrown,
|
|
1366
|
+
LightGreen,
|
|
1367
|
+
LightBlue,
|
|
1368
|
+
LightPurple,
|
|
1369
|
+
DarkPurple,
|
|
1370
|
+
Cyan,
|
|
1371
|
+
LightYellow,
|
|
1372
|
+
Organe,
|
|
1373
|
+
DarkPink = 19,
|
|
1374
|
+
GraniteGreen,
|
|
1375
|
+
DarkBrown,
|
|
1376
|
+
LightGray,
|
|
1377
|
+
LightPink,
|
|
1378
|
+
LemonGreen,
|
|
1379
|
+
ForestGreen,
|
|
1380
|
+
ElectricBlue,
|
|
1381
|
+
BrightPurple,
|
|
1382
|
+
DarkYellow,
|
|
1383
|
+
DarkCyan = 30,
|
|
1384
|
+
Beige = 36,
|
|
1385
|
+
DarkGray = 40,
|
|
1386
|
+
PinkRed,
|
|
1387
|
+
Gold = 46,
|
|
1388
|
+
Orange,
|
|
1389
|
+
BrilliantRose,
|
|
1390
|
+
MediumPurple = 50,
|
|
1391
|
+
Salmon,
|
|
1392
|
+
DarkGreen,
|
|
1393
|
+
BlizzardBlue,
|
|
1394
|
+
OracleBlue,
|
|
1395
|
+
Silver,
|
|
1396
|
+
EastBay = 58,
|
|
1397
|
+
YellowOrange = 60,
|
|
1398
|
+
MulberryPink,
|
|
1399
|
+
AltoGray,
|
|
1400
|
+
JellyBeanBlue,
|
|
1401
|
+
DarkOrange,
|
|
1402
|
+
Mamba,
|
|
1403
|
+
TransparentBlack = 72,
|
|
1404
|
+
DeepRed = 76,
|
|
1405
|
+
TransparentRed = 79,
|
|
1406
|
+
TransparentBlue = 80,
|
|
1407
|
+
Purple = 83
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
// <generated:blip-type>
|
|
1411
|
+
export enum BlipType {
|
|
1412
|
+
Vehicle = 1,
|
|
1413
|
+
Ped = 2,
|
|
1414
|
+
Object = 3,
|
|
1415
|
+
Destination = 4,
|
|
1416
|
+
Cont = 5,
|
|
1417
|
+
PickupUnk = 6,
|
|
1418
|
+
Radius = 7,
|
|
1419
|
+
Pickup = 8,
|
|
1420
|
+
Cop = 9,
|
|
1421
|
+
Area = 10,
|
|
1422
|
+
Gallery = 11,
|
|
1423
|
+
PickupObject = 12,
|
|
1424
|
+
}
|
|
1425
|
+
// </generated:blip-type>
|
|
1426
|
+
|
|
1427
|
+
export enum MarkerType {
|
|
1428
|
+
MarkerCone = 0,
|
|
1429
|
+
MarkerCylinder = 1,
|
|
1430
|
+
MarkerArrow = 2,
|
|
1431
|
+
MarkerArrowFlat = 3,
|
|
1432
|
+
MarkerFlag = 4,
|
|
1433
|
+
MarkerRingFlag = 5,
|
|
1434
|
+
MarkerRing = 6,
|
|
1435
|
+
MarkerPlane = 7,
|
|
1436
|
+
MarkerBikeLogo1 = 8,
|
|
1437
|
+
MarkerBikeLogo2 = 9,
|
|
1438
|
+
MarkerNum0 = 10,
|
|
1439
|
+
MarkerNum1 = 11,
|
|
1440
|
+
MarkerNum2 = 12,
|
|
1441
|
+
MarkerNum3 = 13,
|
|
1442
|
+
MarkerNum4 = 14,
|
|
1443
|
+
MarkerNum5 = 15,
|
|
1444
|
+
MarkerNum6 = 16,
|
|
1445
|
+
MarkerNum7 = 17,
|
|
1446
|
+
MarkerNum8 = 18,
|
|
1447
|
+
MarkerNum9 = 19,
|
|
1448
|
+
MarkerChevron1 = 20,
|
|
1449
|
+
MarkerChevron2 = 21,
|
|
1450
|
+
MarkerChevron3 = 22,
|
|
1451
|
+
MarkerRingFlat = 23,
|
|
1452
|
+
MarkerLap = 24,
|
|
1453
|
+
MarkerHalo = 25,
|
|
1454
|
+
MarkerHaloPoint = 26,
|
|
1455
|
+
MarkerHaloRotate = 27,
|
|
1456
|
+
MarkerSphere = 28,
|
|
1457
|
+
MarkerMoney = 29,
|
|
1458
|
+
MarkerLines = 30,
|
|
1459
|
+
MarkerBeast = 31,
|
|
1460
|
+
MarkerQuestionMark = 32,
|
|
1461
|
+
MarkerTransformPlane = 33,
|
|
1462
|
+
MarkerTransformHelicopter = 34,
|
|
1463
|
+
MarkerTransformBoat = 35,
|
|
1464
|
+
MarkerTransformCar = 36,
|
|
1465
|
+
MarkerTransformBike = 37,
|
|
1466
|
+
MarkerTransformPushBike = 38,
|
|
1467
|
+
MarkerTransformTruck = 39,
|
|
1468
|
+
MarkerTransformParachute = 40,
|
|
1469
|
+
MarkerTransformThruster = 41,
|
|
1470
|
+
MarkerWarp = 42,
|
|
1471
|
+
MarkerBoxes = 43,
|
|
1472
|
+
MarkerPitLane = 44
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export enum ColShapeType {
|
|
1476
|
+
Sphere,
|
|
1477
|
+
Cylinder,
|
|
1478
|
+
Circle,
|
|
1479
|
+
Cuboid,
|
|
1480
|
+
Rectangle,
|
|
1481
|
+
CheckpointCylinder,
|
|
1482
|
+
Polygon
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
export enum CheckpointType {
|
|
1486
|
+
CylinderSingleArrow,
|
|
1487
|
+
CylinderDoubleArrow,
|
|
1488
|
+
CylinderTripleArrow,
|
|
1489
|
+
CylinderCycleArrow,
|
|
1490
|
+
CylinderCheckerboard,
|
|
1491
|
+
CylinderWrench,
|
|
1492
|
+
CylinderSingleArrow2,
|
|
1493
|
+
CylinderDoubleArrow2,
|
|
1494
|
+
CylinderTripleArrow2,
|
|
1495
|
+
CylinderCycleArrow2,
|
|
1496
|
+
CylinderCheckerboard2,
|
|
1497
|
+
CylinderWrench2,
|
|
1498
|
+
RingSingleArrow,
|
|
1499
|
+
RingDoubleArrow,
|
|
1500
|
+
RingTripleArrow,
|
|
1501
|
+
RingCycleArrow,
|
|
1502
|
+
RingCheckerboard,
|
|
1503
|
+
SingleArrow,
|
|
1504
|
+
DoubleArrow,
|
|
1505
|
+
TripleArrow,
|
|
1506
|
+
CycleArrow,
|
|
1507
|
+
Checkerboard,
|
|
1508
|
+
CylinderSingleArrow3,
|
|
1509
|
+
CylinderDoubleArrow3,
|
|
1510
|
+
CylinderTripleArrow3,
|
|
1511
|
+
CylinderCycleArrow3,
|
|
1512
|
+
CylinderCheckerboard3,
|
|
1513
|
+
CylinderSingleArrow4,
|
|
1514
|
+
CylinderDoubleArrow4,
|
|
1515
|
+
CylinderTripleArrow4,
|
|
1516
|
+
CylinderCycleArrow4,
|
|
1517
|
+
CylinderCheckerboard4,
|
|
1518
|
+
CylinderSingleArrow5,
|
|
1519
|
+
CylinderDoubleArrow5,
|
|
1520
|
+
CylinderTripleArrow5,
|
|
1521
|
+
CylinderCycleArrow5,
|
|
1522
|
+
CylinderCheckerboard5,
|
|
1523
|
+
RingPlaneUp,
|
|
1524
|
+
RingPlaneLeft,
|
|
1525
|
+
RingPlaneRight,
|
|
1526
|
+
RingPlaneDown,
|
|
1527
|
+
Empty,
|
|
1528
|
+
Ring,
|
|
1529
|
+
Empty2,
|
|
1530
|
+
Cylinder,
|
|
1531
|
+
Cylinder1,
|
|
1532
|
+
Cylinder2,
|
|
1533
|
+
Cylinder3,
|
|
1534
|
+
Cylinder4,
|
|
1535
|
+
Cylinder5,
|
|
1536
|
+
Empty3,
|
|
1537
|
+
Empty4,
|
|
1538
|
+
Empty5,
|
|
1539
|
+
Empty6,
|
|
1540
|
+
RingDollar,
|
|
1541
|
+
RingWolf,
|
|
1542
|
+
RingQuestionMark,
|
|
1543
|
+
RingPlane,
|
|
1544
|
+
RingChopper,
|
|
1545
|
+
RingBoat,
|
|
1546
|
+
RingCar,
|
|
1547
|
+
RingBike,
|
|
1548
|
+
RingBicycle,
|
|
1549
|
+
RingTruck,
|
|
1550
|
+
RingParachute,
|
|
1551
|
+
RingJetpack,
|
|
1552
|
+
RingWhirl
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
export enum PedConfigFlag {
|
|
1556
|
+
NoCriticalHits = 2,
|
|
1557
|
+
DrownsInWater = 3,
|
|
1558
|
+
DisableReticuleFixedLockon = 4,
|
|
1559
|
+
UpperBodyDamageAnimsOnly = 7,
|
|
1560
|
+
NeverLeavesGroup = 13,
|
|
1561
|
+
BlockNonTemporaryEvents = 17,
|
|
1562
|
+
CanPunch = 18,
|
|
1563
|
+
IgnoreSeenMelee = 24,
|
|
1564
|
+
GetOutUndriveableVehicle = 29,
|
|
1565
|
+
CanFlyThruWindscreen = 32,
|
|
1566
|
+
DiesWhenRagdoll = 33,
|
|
1567
|
+
HasHelmet = 34,
|
|
1568
|
+
PutOnMotorcycleHelmet = 35,
|
|
1569
|
+
DontTakeOffHelmet = 36,
|
|
1570
|
+
DisableEvasiveDives = 39,
|
|
1571
|
+
DontInfluenceWantedLevel = 42,
|
|
1572
|
+
DisablePlayerLockon = 43,
|
|
1573
|
+
DisableLockonToRandomPeds = 44,
|
|
1574
|
+
AllowLockonToFriendlyPlayers = 45,
|
|
1575
|
+
BeingDeleted = 47,
|
|
1576
|
+
BlockWeaponSwitching = 48,
|
|
1577
|
+
NoCollision = 52,
|
|
1578
|
+
IsShooting = 58,
|
|
1579
|
+
WasShooting = 59,
|
|
1580
|
+
IsOnGround = 60,
|
|
1581
|
+
WasOnGround = 61,
|
|
1582
|
+
InVehicle = 62,
|
|
1583
|
+
OnMount = 63,
|
|
1584
|
+
AttachedToVehicle = 64,
|
|
1585
|
+
IsSwimming = 65,
|
|
1586
|
+
WasSwimming = 66,
|
|
1587
|
+
IsSkiing = 67,
|
|
1588
|
+
IsSitting = 68,
|
|
1589
|
+
KilledByStealth = 69,
|
|
1590
|
+
KilledByTakedown = 70,
|
|
1591
|
+
Knockedout = 71,
|
|
1592
|
+
IsSniperScopeActive = 72,
|
|
1593
|
+
SuperDead = 73,
|
|
1594
|
+
UsingCoverPoint = 75,
|
|
1595
|
+
IsInTheAir = 76,
|
|
1596
|
+
IsAimingGun = 78,
|
|
1597
|
+
ForcePedLoadCover = 93,
|
|
1598
|
+
VaultFromCover = 97,
|
|
1599
|
+
IsDrunk = 100,
|
|
1600
|
+
ForcedAim = 101,
|
|
1601
|
+
IsNotRagdollAndNotPlayingAnim = 104,
|
|
1602
|
+
ForceReload = 105,
|
|
1603
|
+
DontActivateRagdollFromVehicleImpact = 106,
|
|
1604
|
+
DontActivateRagdollFromBulletImpact = 107,
|
|
1605
|
+
DontActivateRagdollFromExplosions = 108,
|
|
1606
|
+
DontActivateRagdollFromFire = 109,
|
|
1607
|
+
DontActivateRagdollFromElectrocution = 110,
|
|
1608
|
+
KeepWeaponHolsteredUnlessFired = 113,
|
|
1609
|
+
GetOutBurningVehicle = 116,
|
|
1610
|
+
BumpedByPlayer = 117,
|
|
1611
|
+
RunFromFiresAndExplosions = 118,
|
|
1612
|
+
TreatAsPlayerDuringTargeting = 119,
|
|
1613
|
+
IsHandCuffed = 120,
|
|
1614
|
+
IsAnkleCuffed = 121,
|
|
1615
|
+
DisableMelee = 122,
|
|
1616
|
+
DisableUnarmedDrivebys = 123,
|
|
1617
|
+
JustGetsPulledOutWhenElectrocuted = 124,
|
|
1618
|
+
NmMessage466 = 125,
|
|
1619
|
+
WillNotHotwireLawEnforcementVehicle = 126,
|
|
1620
|
+
WillCommandeerRatherThanJack = 127,
|
|
1621
|
+
CanBeAgitated = 128,
|
|
1622
|
+
ForcePedToFaceLeftInCover = 129,
|
|
1623
|
+
ForcePedToFaceRightInCover = 130,
|
|
1624
|
+
BlockPedFromTurningInCover = 131,
|
|
1625
|
+
KeepRelationshipGroupAfterCleanUp = 132,
|
|
1626
|
+
ForcePedToBeDragged = 133,
|
|
1627
|
+
PreventPedFromReactingToBeingJacked = 134,
|
|
1628
|
+
IsScuba = 135,
|
|
1629
|
+
WillArrestRatherThanJack = 136,
|
|
1630
|
+
RemoveDeadExtraFarAway = 137,
|
|
1631
|
+
RidingTrain = 138,
|
|
1632
|
+
ArrestResult = 139,
|
|
1633
|
+
CanAttackFriendly = 140,
|
|
1634
|
+
WillJackAnyPlayer = 141,
|
|
1635
|
+
WillJackWantedPlayersRatherThanStealCar = 144,
|
|
1636
|
+
ShootingAnimFlag = 145,
|
|
1637
|
+
DisableLadderClimbing = 146,
|
|
1638
|
+
StairsDetected = 147,
|
|
1639
|
+
SlopeDetected = 148,
|
|
1640
|
+
CowerInsteadOfFlee = 150,
|
|
1641
|
+
CanActivateRagdollWhenVehicleUpsideDown = 151,
|
|
1642
|
+
AlwaysRespondToCriesForHelp = 152,
|
|
1643
|
+
DisableBloodPoolCreation = 153,
|
|
1644
|
+
ShouldFixIfNoCollision = 154,
|
|
1645
|
+
CanPerformArrest = 155,
|
|
1646
|
+
CanPerformUncuff = 156,
|
|
1647
|
+
CanBeArrested = 157,
|
|
1648
|
+
PlayerPreferFrontSeatMP = 159,
|
|
1649
|
+
IsInjured = 166,
|
|
1650
|
+
DontEnterVehiclesInPlayersGroup = 167,
|
|
1651
|
+
PreventAllMeleeTaunts = 169,
|
|
1652
|
+
IsInjured2 = 170,
|
|
1653
|
+
AlwaysSeeApproachingVehicles = 171,
|
|
1654
|
+
CanDiveAwayFromApproachingVehicles = 172,
|
|
1655
|
+
AllowPlayerToInterruptVehicleEntryExit = 173,
|
|
1656
|
+
OnlyAttackLawIfPlayerIsWanted = 174,
|
|
1657
|
+
PedsJackingMeDontGetIn = 177,
|
|
1658
|
+
PedIgnoresAnimInterruptEvents = 179,
|
|
1659
|
+
IsInCustody = 180,
|
|
1660
|
+
ForceStandardBumpReactionThresholds = 181,
|
|
1661
|
+
LawWillOnlyAttackIfPlayerIsWanted = 182,
|
|
1662
|
+
IsAgitated = 183,
|
|
1663
|
+
PreventAutoShuffleToDriversSeat = 184,
|
|
1664
|
+
UseKinematicModeWhenStationary = 185,
|
|
1665
|
+
EnableWeaponBlocking = 186,
|
|
1666
|
+
HasHurtStarted = 187,
|
|
1667
|
+
DisableHurt = 188,
|
|
1668
|
+
PlayerIsWeird = 189,
|
|
1669
|
+
DoNothingWhenOnFootByDefault = 193,
|
|
1670
|
+
UsingScenario = 194,
|
|
1671
|
+
VisibleOnScreen = 195,
|
|
1672
|
+
DontActivateRagdollOnVehicleCollisionWhenDead = 199,
|
|
1673
|
+
HasBeenInArmedCombat = 200,
|
|
1674
|
+
AvoidanceIgnoreAll = 202,
|
|
1675
|
+
AvoidanceIgnoredByAll = 203,
|
|
1676
|
+
AvoidanceIgnoreGroup1 = 204,
|
|
1677
|
+
AvoidanceMemberOfGroup1 = 205,
|
|
1678
|
+
ForcedToUseSpecificGroupSeatIndex = 206,
|
|
1679
|
+
DisableExplosionReactions = 208,
|
|
1680
|
+
DodgedPlayer = 209,
|
|
1681
|
+
WaitingForPlayerControlInterrupt = 210,
|
|
1682
|
+
ForcedToStayInCover = 211,
|
|
1683
|
+
GeneratesSoundEvents = 212,
|
|
1684
|
+
ListensToSoundEvents = 213,
|
|
1685
|
+
AllowToBeTargetedInAVehicle = 214,
|
|
1686
|
+
WaitForDirectEntryPointToBeFreeWhenExiting = 215,
|
|
1687
|
+
OnlyRequireOnePressToExitVehicle = 216,
|
|
1688
|
+
ForceExitToSkyDive = 217,
|
|
1689
|
+
DontEnterLeadersVehicle = 220,
|
|
1690
|
+
DisableExitToSkyDive = 221,
|
|
1691
|
+
Shrink = 223,
|
|
1692
|
+
MeleeCombat = 224,
|
|
1693
|
+
DisablePotentialToBeWalkedIntoResponse = 225,
|
|
1694
|
+
DisablePedAvoidance = 226,
|
|
1695
|
+
ForceRagdollUponDeath = 227,
|
|
1696
|
+
DisablePanicInVehicle = 229,
|
|
1697
|
+
AllowedToDetachTrailer = 230,
|
|
1698
|
+
IsHoldingProp = 236,
|
|
1699
|
+
BlocksPathingWhenDead = 237,
|
|
1700
|
+
ForceSkinCharacterCloth = 240,
|
|
1701
|
+
DisableStoppingVehicleEngine = 241,
|
|
1702
|
+
PhoneDisableTextingAnimations = 242,
|
|
1703
|
+
PhoneDisableTalkingAnimations = 243,
|
|
1704
|
+
PhoneDisableCameraAnimations = 244,
|
|
1705
|
+
DisableBlindFiringInShotReactions = 245,
|
|
1706
|
+
AllowNearbyCoverUsage = 246,
|
|
1707
|
+
CanPlayInCarIdles = 248,
|
|
1708
|
+
CanAttackNonWantedPlayerAsLaw = 249,
|
|
1709
|
+
WillTakeDamageWhenVehicleCrashes = 250,
|
|
1710
|
+
AICanDrivePlayerAsRearPassenger = 251,
|
|
1711
|
+
PlayerCanJackFriendlyPlayers = 252,
|
|
1712
|
+
IsOnStairs = 253,
|
|
1713
|
+
AIDriverAllowFriendlyPassengerSeatEntry = 255,
|
|
1714
|
+
AllowMissionPedToUseInjuredMovement = 257,
|
|
1715
|
+
PreventUsingLowerPrioritySeats = 261,
|
|
1716
|
+
DisableClosingVehicleDoor = 264,
|
|
1717
|
+
TeleportToLeaderVehicle = 268,
|
|
1718
|
+
AvoidanceIgnoreWeirdPedBuffer = 269,
|
|
1719
|
+
OnStairSlope = 270,
|
|
1720
|
+
DontBlipCop = 272,
|
|
1721
|
+
ClimbedShiftedFence = 273,
|
|
1722
|
+
KillWhenTrapped = 275,
|
|
1723
|
+
EdgeDetected = 276,
|
|
1724
|
+
AvoidTearGas = 279,
|
|
1725
|
+
NoWrithe = 281,
|
|
1726
|
+
OnlyUseForcedSeatWhenEnteringHeliInGroup = 282,
|
|
1727
|
+
DisableWeirdPedEvents = 285,
|
|
1728
|
+
ShouldChargeNow = 286,
|
|
1729
|
+
RagdollingOnBoat = 287,
|
|
1730
|
+
HasBrandishedWeapon = 288,
|
|
1731
|
+
FreezePosition = 292,
|
|
1732
|
+
DisableShockingEvents = 294,
|
|
1733
|
+
NeverReactToPedOnRoof = 296,
|
|
1734
|
+
DisableShockingDrivingOnPavementEvents = 299,
|
|
1735
|
+
DisablePedConstraints = 301,
|
|
1736
|
+
ForceInitialPeekInCover = 302,
|
|
1737
|
+
DisableJumpingFromVehiclesAfterLeader = 305,
|
|
1738
|
+
IsInCluster = 310,
|
|
1739
|
+
ShoutToGroupOnPlayerMelee = 311,
|
|
1740
|
+
IgnoredByAutoOpenDoors = 312,
|
|
1741
|
+
NoPedMelee = 314,
|
|
1742
|
+
CheckLoSForSoundEvents = 315,
|
|
1743
|
+
CanSayFollowedByPlayerAudio = 317,
|
|
1744
|
+
ActivateRagdollFromMinorPlayerContact = 318,
|
|
1745
|
+
ForcePoseCharacterCloth = 320,
|
|
1746
|
+
HasClothCollisionBounds = 321,
|
|
1747
|
+
HasHighHeels = 322,
|
|
1748
|
+
DontBehaveLikeLaw = 324,
|
|
1749
|
+
DisablePoliceInvestigatingBody = 326,
|
|
1750
|
+
DisableWritheShootFromGround = 327,
|
|
1751
|
+
LowerPriorityOfWarpSeats = 328,
|
|
1752
|
+
DisableTalkTo = 329,
|
|
1753
|
+
DontBlip = 330,
|
|
1754
|
+
IsSwitchingWeapon = 331,
|
|
1755
|
+
IgnoreLegIkRestrictions = 332,
|
|
1756
|
+
AllowTaskDoNothingTimeslicing = 339,
|
|
1757
|
+
NotAllowedToJackAnyPlayers = 342,
|
|
1758
|
+
AlwaysLeaveTrainUponArrival = 345,
|
|
1759
|
+
OnlyWritheFromWeaponDamage = 347,
|
|
1760
|
+
UseSloMoBloodVfx = 348,
|
|
1761
|
+
EquipJetpack = 349,
|
|
1762
|
+
PreventDraggedOutOfCarThreatResponse = 350,
|
|
1763
|
+
ForceDeepSurfaceCheck = 356,
|
|
1764
|
+
DisableDeepSurfaceAnims = 357,
|
|
1765
|
+
DontBlipNotSynced = 358,
|
|
1766
|
+
IsDuckingInVehicle = 359,
|
|
1767
|
+
PreventAutoShuffleToTurretSeat = 360,
|
|
1768
|
+
DisableEventInteriorStatusCheck = 361,
|
|
1769
|
+
HasReserveParachute = 362,
|
|
1770
|
+
UseReserveParachute = 363,
|
|
1771
|
+
TreatDislikeAsHateWhenInCombat = 364,
|
|
1772
|
+
OnlyUpdateTargetWantedIfSeen = 365,
|
|
1773
|
+
AllowAutoShuffleToDriversSeat = 366,
|
|
1774
|
+
PreventReactingToSilencedCloneBullets = 372,
|
|
1775
|
+
DisableInjuredCryForHelpEvents = 373,
|
|
1776
|
+
NeverLeaveTrain = 374,
|
|
1777
|
+
DontDropJetpackOnDeath = 375,
|
|
1778
|
+
DisableAutoEquipHelmetsInBikes = 380,
|
|
1779
|
+
IsClimbingLadder = 388,
|
|
1780
|
+
HasBareFeet = 389,
|
|
1781
|
+
GoOnWithoutVehicleIfItIsUnableToGetBackToRoad = 391,
|
|
1782
|
+
BlockDroppingHealthSnacksOnDeath = 392,
|
|
1783
|
+
ForceThreatResponseToNonFriendToFriendMeleeActions = 394,
|
|
1784
|
+
DontRespondToRandomPedsDamage = 395,
|
|
1785
|
+
AllowContinuousThreatResponseWantedLevelUpdates = 396,
|
|
1786
|
+
KeepTargetLossResponseOnCleanup = 397,
|
|
1787
|
+
PlayersDontDragMeOutOfCar = 398,
|
|
1788
|
+
BroadcastRepondedToThreatWhenGoingToPointShooting = 399,
|
|
1789
|
+
IgnorePedTypeForIsFriendlyWith = 400,
|
|
1790
|
+
TreatNonFriendlyAsHateWhenInCombat = 401,
|
|
1791
|
+
DontLeaveVehicleIfLeaderNotInVehicle = 402,
|
|
1792
|
+
AllowMeleeReactionIfMeleeProofIsOn = 404,
|
|
1793
|
+
UseNormalExplosionDamageWhenBlownUpInVehicle = 407,
|
|
1794
|
+
DisableHomingMissileLockForVehiclePedInside = 408,
|
|
1795
|
+
DisableTakeOffScubaGear = 409,
|
|
1796
|
+
Alpha = 410,
|
|
1797
|
+
LawPedsCanFleeFromNonWantedPlayer = 411,
|
|
1798
|
+
ForceBlipSecurityPedsIfPlayerIsWanted = 412,
|
|
1799
|
+
IsHolsteringWeapon = 413,
|
|
1800
|
+
UseGoToPointForScenarioNavigation = 414,
|
|
1801
|
+
DontClearLocalPassengersWantedLevel = 415,
|
|
1802
|
+
BlockAutoSwapOnWeaponPickups = 416,
|
|
1803
|
+
ThisPedIsATargetPriorityForAI = 417,
|
|
1804
|
+
IsSwitchingHelmetVisor = 418,
|
|
1805
|
+
ForceHelmetVisorSwitch = 419,
|
|
1806
|
+
FlamingFootprints = 421,
|
|
1807
|
+
DisableVehicleCombat = 422,
|
|
1808
|
+
DisablePropKnockOff = 423,
|
|
1809
|
+
FallsLikeAircraft = 424,
|
|
1810
|
+
UseLockpickVehicleEntryAnimations = 426,
|
|
1811
|
+
IgnoreInteriorCheckForSprinting = 427,
|
|
1812
|
+
SwatHeliSpawnWithinLastSpottedLocation = 428,
|
|
1813
|
+
DisableStartingVehicleEngine = 429,
|
|
1814
|
+
IgnoreBeingOnFire = 430,
|
|
1815
|
+
DisableTurretOrRearSeatPreference = 431,
|
|
1816
|
+
DisableWantedHelicopterSpawning = 432,
|
|
1817
|
+
UseTargetPerceptionForCreatingAimedAtEvents = 433,
|
|
1818
|
+
DisableHomingMissileLockon = 434,
|
|
1819
|
+
ForceIgnoreMaxMeleeActiveSupportCombatants = 435,
|
|
1820
|
+
StayInDefensiveAreaWhenInVehicle = 436,
|
|
1821
|
+
DontShoutTargetPosition = 437,
|
|
1822
|
+
DisableHelmetArmor = 438,
|
|
1823
|
+
PreventVehExitDueToInvalidWeapon = 441,
|
|
1824
|
+
IgnoreNetSessionFriendlyFireCheckForAllowDamage = 442,
|
|
1825
|
+
DontLeaveCombatIfTargetPlayerIsAttackedByPolice = 443,
|
|
1826
|
+
CheckLockedBeforeWarp = 444,
|
|
1827
|
+
DontShuffleInVehicleToMakeRoom = 445,
|
|
1828
|
+
GiveWeaponOnGetup = 446,
|
|
1829
|
+
DontHitVehicleWithProjectiles = 447,
|
|
1830
|
+
DisableForcedEntryForOpenVehiclesFromTryLockedDoor = 448,
|
|
1831
|
+
FiresDummyRockets = 449,
|
|
1832
|
+
IsArresting = 450,
|
|
1833
|
+
IsDecoyPed = 451,
|
|
1834
|
+
HasEstablishedDecoy = 452,
|
|
1835
|
+
BlockDispatchedHelicoptersFromLanding = 453,
|
|
1836
|
+
DontCryForHelpOnStun = 454,
|
|
1837
|
+
CanBeIncapacitated = 456,
|
|
1838
|
+
MutableForcedAim = 457,
|
|
1839
|
+
DontChangeTargetFromMelee = 458,
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
export enum VoiceConnectionState {
|
|
1843
|
+
Disconnected,
|
|
1844
|
+
Connecting,
|
|
1845
|
+
Connected
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
export enum Permission {
|
|
1849
|
+
NONE,
|
|
1850
|
+
SCREEN_CAPTURE,
|
|
1851
|
+
WEBRTC,
|
|
1852
|
+
CLIPBOARD_ACCESS,
|
|
1853
|
+
EXTENDED_VOICE_API,
|
|
1854
|
+
All
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
export enum FileEncoding {
|
|
1858
|
+
Utf8 = "utf-8",
|
|
1859
|
+
Utf16 = "utf-16",
|
|
1860
|
+
Binary = "binary"
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
export interface IResource {
|
|
1864
|
+
readonly name: string;
|
|
1865
|
+
readonly type: string;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
export interface IResourceConfig {
|
|
1869
|
+
readonly type?: string;
|
|
1870
|
+
readonly deps?: readonly string[];
|
|
1871
|
+
readonly main?: string;
|
|
1872
|
+
readonly "client-main"?: string;
|
|
1873
|
+
readonly "client-type"?: string;
|
|
1874
|
+
readonly "client-files"?: readonly string[];
|
|
1875
|
+
readonly "required-permissions"?: readonly Permission[];
|
|
1876
|
+
readonly "optional-permissions"?: readonly Permission[];
|
|
1877
|
+
readonly [key: string]: unknown;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
export class Resource {
|
|
1881
|
+
protected constructor();
|
|
1882
|
+
readonly isStarted: boolean;
|
|
1883
|
+
readonly type: string;
|
|
1884
|
+
readonly name: string;
|
|
1885
|
+
readonly main: string;
|
|
1886
|
+
readonly exports: Record<string, any>;
|
|
1887
|
+
readonly dependencies: readonly string[];
|
|
1888
|
+
readonly dependants: readonly string[];
|
|
1889
|
+
readonly requiredPermissions: readonly Permission[];
|
|
1890
|
+
readonly optionalPermissions: readonly Permission[];
|
|
1891
|
+
readonly valid: boolean;
|
|
1892
|
+
readonly config: IResourceConfig;
|
|
1893
|
+
|
|
1894
|
+
static getByName(name: string): Resource | null;
|
|
1895
|
+
static readonly all: readonly Resource[];
|
|
1896
|
+
static readonly current: Resource;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
export class File {
|
|
1900
|
+
protected constructor();
|
|
1901
|
+
static exists(filename: string): boolean;
|
|
1902
|
+
static read(
|
|
1903
|
+
filename: string,
|
|
1904
|
+
encoding?: FileEncoding.Utf8 | `${FileEncoding.Utf8}`
|
|
1905
|
+
| FileEncoding.Utf16 | `${FileEncoding.Utf16}`,
|
|
1906
|
+
): string;
|
|
1907
|
+
static read(
|
|
1908
|
+
filename: string,
|
|
1909
|
+
encoding: FileEncoding.Binary | `${FileEncoding.Binary}`,
|
|
1910
|
+
): ArrayBuffer;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* Options supported by MiNT's bounded host-neutral inspector.
|
|
1915
|
+
* Numeric limits are clamped to safe runtime ceilings.
|
|
1916
|
+
*/
|
|
1917
|
+
export interface IInspectOptions {
|
|
1918
|
+
depth?: number;
|
|
1919
|
+
maxArrayLength?: number;
|
|
1920
|
+
maxStringLength?: number;
|
|
1921
|
+
sorted?: boolean;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export class Utils {
|
|
1925
|
+
protected constructor();
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
export namespace Utils {
|
|
1929
|
+
function wait(timeout: number): Promise<void>;
|
|
1930
|
+
function waitFor(callback: () => boolean, timeout?: number): Promise<void>;
|
|
1931
|
+
function inspect(value: unknown, options?: IInspectOptions): string;
|
|
1932
|
+
function assert(assertion: unknown, message?: string): asserts assertion;
|
|
1933
|
+
|
|
1934
|
+
class Timer {
|
|
1935
|
+
readonly id: number;
|
|
1936
|
+
constructor(callback: () => void, ms: number, once: boolean);
|
|
1937
|
+
destroy(): void;
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
class Timeout extends Timer {
|
|
1941
|
+
constructor(callback: () => void, ms: number);
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
class Interval extends Timer {
|
|
1945
|
+
constructor(callback: () => void, ms: number);
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
class NextTick extends Timer {
|
|
1949
|
+
constructor(callback: () => void);
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
class EveryTick extends Timer {
|
|
1953
|
+
constructor(callback: () => void);
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
export abstract class BaseObject {
|
|
1958
|
+
protected constructor();
|
|
1959
|
+
readonly id: number;
|
|
1960
|
+
readonly type: BaseObjectType;
|
|
1961
|
+
readonly valid: boolean;
|
|
1962
|
+
getMeta<K extends string>(key: Exclude<K, keyof ICustomBaseObjectMeta>): ScriptValue | undefined;
|
|
1963
|
+
getMeta<K extends ExtractStringKeys<ICustomBaseObjectMeta>>(key: K): InterfaceValueByKey<ICustomBaseObjectMeta, K> | undefined;
|
|
1964
|
+
hasMeta(key: string): boolean;
|
|
1965
|
+
setMeta<K extends string>(key: Exclude<K, keyof ICustomBaseObjectMeta>, value: ScriptValue): void;
|
|
1966
|
+
setMeta<K extends ExtractStringKeys<ICustomBaseObjectMeta>>(key: K, value: WritableInterfaceValueByKey<ICustomBaseObjectMeta, K>): void;
|
|
1967
|
+
setMeta(values: MetaValues<ICustomBaseObjectMeta>): void;
|
|
1968
|
+
deleteMeta(key: string): void;
|
|
1969
|
+
getMetaDataKeys(): readonly string[];
|
|
1970
|
+
getSyncedMeta<K extends string>(key: Exclude<K, keyof ICustomBaseObjectSyncedMeta>): ScriptValue | undefined;
|
|
1971
|
+
getSyncedMeta<K extends ExtractStringKeys<ICustomBaseObjectSyncedMeta>>(key: K): InterfaceValueByKey<ICustomBaseObjectSyncedMeta, K> | undefined;
|
|
1972
|
+
hasSyncedMeta(key: string): boolean;
|
|
1973
|
+
getSyncedMetaKeys(): readonly string[];
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
export function on(eventName: string, callback: NetworkCallback): void;
|
|
1977
|
+
export function on<TCallback extends (...args: any[]) => unknown>(
|
|
1978
|
+
eventName: string,
|
|
1979
|
+
callback: NetworkListener<TCallback>,
|
|
1980
|
+
): void;
|
|
1981
|
+
export function on(
|
|
1982
|
+
callback: (eventName: string, ...args: any[]) => void,
|
|
1983
|
+
): void;
|
|
1984
|
+
export function off(eventName: string, callback: NetworkCallback): void;
|
|
1985
|
+
export function off<TCallback extends (...args: any[]) => unknown>(
|
|
1986
|
+
eventName: string,
|
|
1987
|
+
callback: NetworkListener<TCallback>,
|
|
1988
|
+
): void;
|
|
1989
|
+
export function off(
|
|
1990
|
+
callback: (eventName: string, ...args: any[]) => void,
|
|
1991
|
+
): void;
|
|
1992
|
+
export function once(eventName: string, callback: NetworkCallback): void;
|
|
1993
|
+
export function once<TCallback extends (...args: any[]) => unknown>(
|
|
1994
|
+
eventName: string,
|
|
1995
|
+
callback: NetworkListener<TCallback>,
|
|
1996
|
+
): void;
|
|
1997
|
+
export function once(
|
|
1998
|
+
callback: (eventName: string, ...args: any[]) => void,
|
|
1999
|
+
): void;
|
|
2000
|
+
export function emit(eventName: string, ...args: ScriptValue[]): void;
|
|
2001
|
+
export function emitRaw<TArgs extends readonly unknown[]>(
|
|
2002
|
+
eventName: string,
|
|
2003
|
+
...args: NetworkArguments<TArgs>
|
|
2004
|
+
): void;
|
|
2005
|
+
|
|
2006
|
+
export function getMeta<K extends string>(key: K): InterfaceValueByKey<ICustomGlobalMeta, K> | undefined;
|
|
2007
|
+
export function hasMeta(key: string): boolean;
|
|
2008
|
+
export function setMeta<K extends string>(key: K, value: WritableInterfaceValueByKey<ICustomGlobalMeta, K>): void;
|
|
2009
|
+
export function deleteMeta(key: string): void;
|
|
2010
|
+
export function getMetaKeys(): readonly string[];
|
|
2011
|
+
|
|
2012
|
+
export function getSyncedMeta<K extends string>(key: K): InterfaceValueByKey<ICustomGlobalSyncedMeta, K> | undefined;
|
|
2013
|
+
export function hasSyncedMeta(key: string): boolean;
|
|
2014
|
+
export function getSyncedMetaKeys(): readonly string[];
|
|
2015
|
+
|
|
2016
|
+
export function everyTick(callback: (...args: any[]) => void): number;
|
|
2017
|
+
export function clearEveryTick(id: number): void;
|
|
2018
|
+
export function nextTick(callback: (...args: any[]) => void): number;
|
|
2019
|
+
export function clearNextTick(id: number): void;
|
|
2020
|
+
export function setTimeout(callback: (...args: any[]) => void, milliseconds: number): number;
|
|
2021
|
+
export function clearTimeout(id: number): void;
|
|
2022
|
+
export function setInterval(callback: (...args: any[]) => void, milliseconds: number): number;
|
|
2023
|
+
export function clearInterval(id: number): void;
|
|
2024
|
+
export function clearTimer(id: number): void;
|
|
2025
|
+
|
|
2026
|
+
export function hasResource(name: string): boolean;
|
|
2027
|
+
export function getAllResources(): readonly IResource[];
|
|
2028
|
+
export function getEventListeners(
|
|
2029
|
+
eventName: string | null,
|
|
2030
|
+
): readonly ((...args: any[]) => void)[];
|
|
2031
|
+
export function stringToSHA256(value: string): string;
|
|
2032
|
+
export function time(timerName?: string): void;
|
|
2033
|
+
export function timeEnd(timerName?: string): void;
|
|
2034
|
+
|
|
2035
|
+
export function hash(value: string | number): number;
|
|
2036
|
+
|
|
2037
|
+
export function log(...args: ScriptValue[]): void;
|
|
2038
|
+
export function logWarning(...args: ScriptValue[]): void;
|
|
2039
|
+
export function logError(...args: ScriptValue[]): void;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
/** Canonical MiNT alias for the shared scripting API. */
|
|
2043
|
+
declare module 'mint-shared' {
|
|
2044
|
+
export interface ICustomGlobalMeta {}
|
|
2045
|
+
export interface ICustomGlobalSyncedMeta {}
|
|
2046
|
+
export interface ICustomBaseObjectMeta {}
|
|
2047
|
+
export interface ICustomBaseObjectSyncedMeta {}
|
|
2048
|
+
export interface ICustomEntitySyncedMeta extends ICustomBaseObjectSyncedMeta {}
|
|
2049
|
+
export interface ICustomEntityStreamSyncedMeta {}
|
|
2050
|
+
export interface ICustomPedSyncedMeta extends ICustomEntitySyncedMeta {}
|
|
2051
|
+
export interface ICustomPedStreamSyncedMeta extends ICustomEntityStreamSyncedMeta {}
|
|
2052
|
+
export interface ICustomPlayerSyncedMeta extends ICustomEntitySyncedMeta {}
|
|
2053
|
+
export interface ICustomPlayerStreamSyncedMeta extends ICustomEntityStreamSyncedMeta {}
|
|
2054
|
+
export interface ICustomVehicleSyncedMeta extends ICustomEntitySyncedMeta {}
|
|
2055
|
+
export interface ICustomVehicleStreamSyncedMeta extends ICustomEntityStreamSyncedMeta {}
|
|
2056
|
+
export interface ICustomPlayerLocalMeta {}
|
|
2057
|
+
export interface ICustomServerClientEvent {}
|
|
2058
|
+
export interface ICustomClientServerEvent {}
|
|
2059
|
+
export interface ICustomServerClientRpc {}
|
|
2060
|
+
export interface ICustomClientServerRpc {}
|
|
2061
|
+
export interface ICustomCheckpointStreamSyncedMeta {}
|
|
2062
|
+
export interface ICustomVirtualEntityStreamSyncedMeta {}
|
|
2063
|
+
|
|
2064
|
+
export * from 'alt-shared';
|
|
2065
|
+
}
|