@cybermp-community/client-types 2.2.0 → 2.3.0

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/dist/game.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface MpFuncs {
18
18
  "AngleDistance"(target: number, current: number): number;
19
19
  "AngleNormalize"(a: number): number;
20
20
  "AngleNormalize180"(a: number): number;
21
- "ApplyStatPoolModifier"(statPoolTypeString: M.ScriptRef<string>, rangeBegin: number, rangeEnd: number, startDelay: number, valuePerSec: number, delayOnChange: boolean, statPoolModType: gameStatPoolModificationTypes): void;
21
+ "ApplyStatPoolModifier"(statPoolTypeString: M.ScriptRef<string>, rangeBegin: number, rangeEnd: number, startDelay: number, valuePerSec: number, delayOnChange: boolean, statPoolModType: E.gameStatPoolModificationTypes): void;
22
22
  "AreDebugContextsEnabled"(): boolean;
23
23
  "ArmouryEquipWeapon"(itemID: C.gameItemID, QuickslotID: number): void;
24
24
  "ArraySort"(arr: number[]): number[];
@@ -35,11 +35,11 @@ export interface MpFuncs {
35
35
  "CalcSeed"(object: M.Handle<C.IScriptable>): number;
36
36
  "CanChangeAttitudeRelationFor"(groupName: string): boolean;
37
37
  "CanLog"(): boolean;
38
- "Cast"(value: boolean): AIbehaviorConditionOutcomes;
39
- "Cast"(flag: EAIGateSignalFlags): AISignalFlags;
40
- "Cast"(value: AIbehaviorConditionOutcomes): boolean;
41
- "Cast"(hotkey: gameEHotkey): number;
42
- "Cast"(value: bigint): AIPatrolContinuationPolicy;
38
+ "Cast"(value: boolean): E.AIbehaviorConditionOutcomes;
39
+ "Cast"(flag: E.EAIGateSignalFlags): E.AISignalFlags;
40
+ "Cast"(value: E.AIbehaviorConditionOutcomes): boolean;
41
+ "Cast"(hotkey: E.gameEHotkey): number;
42
+ "Cast"(value: bigint): E.AIPatrolContinuationPolicy;
43
43
  "Cast;BlackboardID_Bool;BlackboardID"(id: C.gamebbScriptID_Bool): C.gamebbScriptID;
44
44
  "Cast;BlackboardID_Entity;BlackboardID"(id: C.gamebbScriptID_EntityPtr): C.gamebbScriptID;
45
45
  "Cast;BlackboardID_EntityID;BlackboardID"(id: C.gamebbScriptID_EntityID): C.gamebbScriptID;
@@ -168,9 +168,13 @@ export interface MpFuncs {
168
168
  "Clamp"(v: number, min: number, max: number): number;
169
169
  "ClampF"(v: number, min: number, max: number): number;
170
170
  "ColorToHexString"(value: M.ScriptRef<C.Color>): string;
171
- "Compare"(comparator: ECompareOp, val1: number, val2: number): boolean;
171
+ "Compare"(comparator: E.ECompareOp, val1: number, val2: number): boolean;
172
172
  "CompareArrayNameContents"(arr1: string[], arr2: string[]): boolean;
173
- "CompareF"(comparator: ECompareOp, val1: number, val2: number): boolean;
173
+ "CompareF"(comparator: E.ECompareOp, val1: number, val2: number): boolean;
174
+ "ConvertAppearanceNameToFPP"(app: string): string;
175
+ "ConvertAppearanceNameToFullSleeves"(app: string): string;
176
+ "ConvertAppearanceNameToPartialSleeves"(app: string): string;
177
+ "ConvertAppearanceNameToTPP"(app: string): string;
174
178
  "CosF"(a: number): number;
175
179
  "CreateCRUID"(value: bigint): string;
176
180
  "CreateDisableRagdollEvent"(debugSourceName: string): M.Handle<C.entRagdollDisableEvent>;
@@ -181,7 +185,7 @@ export interface MpFuncs {
181
185
  "CreateLocalizationString"(value: string): string;
182
186
  "CreateNodeRef"(value: M.ScriptRef<string>): string;
183
187
  "CreatePersistentID"(entityID: C.entEntityID, componentName?: string): C.gamePersistentID;
184
- "CreateRagdollActivationRequestEvent"(activationType: entragdollActivationRequestType, filterDataOverride: string, applyPowerPose: boolean, applyMomentum: boolean, debugSourceName: string): M.Handle<C.entRagdollActivationRequestEvent>;
188
+ "CreateRagdollActivationRequestEvent"(activationType: E.entragdollActivationRequestType, filterDataOverride: string, applyPowerPose: boolean, applyMomentum: boolean, debugSourceName: string): M.Handle<C.entRagdollActivationRequestEvent>;
185
189
  "CreateRagdollApplyImpulseEvent"(worldPos: C.Vector4, imuplseVal: C.Vector4, influenceRadius: number): M.Handle<C.entRagdollApplyImpulseEvent>;
186
190
  "DebugBreak"(): void;
187
191
  "DebugDevices"(shouldDebug: boolean): void;
@@ -211,12 +215,12 @@ export interface MpFuncs {
211
215
  "FloatToString"(value: number): string;
212
216
  "FloatToStringPrec"(value: number, precision: number): string;
213
217
  "FloorF"(a: number): number;
214
- "GOGRewardSystemErrorToDisplayString"(error: gameOnlineSystemErrors): string;
218
+ "GOGRewardSystemErrorToDisplayString"(error: E.gameOnlineSystemErrors): string;
215
219
  "GameFileExists"(path: M.ScriptRef<string>): boolean;
216
220
  "GameTimeIntervalContainsTime"(): void;
217
221
  "GetActionAnimationSlideParams"(slideRecord: M.Handle<C.gamedataAIActionSlideData_Record>): C.gameActionAnimationSlideParams;
218
222
  "GetAllBlackboardDefs"(): M.Handle<C.gamebbAllScriptDefinitions>;
219
- "GetAnimOptionsInfiniteLoop"(loopType: inkanimLoopType): C.inkanimPlaybackOptions;
223
+ "GetAnimOptionsInfiniteLoop"(loopType: E.inkanimLoopType): C.inkanimPlaybackOptions;
220
224
  "GetCaptionTagsFromArray"(argList: M.ScriptRef<M.Handle<C.gameinteractionsChoiceCaptionPart>[]>): string;
221
225
  "GetDamageSystemLogFlags"(): bigint;
222
226
  "GetDisplaySize"(wrapperSize: C.Vector2, frameSize: C.Vector2): C.Vector2;
@@ -228,7 +232,7 @@ export interface MpFuncs {
228
232
  "GetGameObjectFromEntityReference"(reference: C.gameEntityReference): [boolean, M.WeakHandle<C.gameObject>];
229
233
  "GetGameObjectsFromSpawnerEntityID"(entityID: C.entEntityID, communityEntryNames: string[]): void;
230
234
  "GetIgnoredVisionBlockerTypes"(objID: C.gameStatsObjectID): C.senseVisionBlockerTypeFlags;
231
- "GetImmortality"(gameObject: M.Handle<C.gameObject>): [boolean, gameGodModeType];
235
+ "GetImmortality"(gameObject: M.Handle<C.gameObject>): [boolean, E.gameGodModeType];
232
236
  "GetInvalidDelayID"(): C.gameDelayID;
233
237
  "GetInvalidVisionBlockerID"(): number;
234
238
  "GetItemTypeFromContext"(context: C.AIbehaviorScriptExecutionContext): number;
@@ -238,11 +242,11 @@ export interface MpFuncs {
238
242
  "GetLocalizedTextByKey"(hashKey: string): string;
239
243
  "GetLocalizedTextGanderDepened"(textKey: M.ScriptRef<string>, variantIsFemale: boolean): string;
240
244
  "GetLocalizedTextGanderDepenedByKey"(hashKey: string, variantIsFemale: boolean): string;
241
- "GetLookAtLimitDegreesValue"(limitType: animLookAtLimitDegreesType): number;
242
- "GetLookAtLimitDistanceValue"(limitType: animLookAtLimitDistanceType): number;
243
- "GetLookAtLimits"(softLimitDegreesType: animLookAtLimitDegreesType, hardLimitDegreesType: animLookAtLimitDegreesType, hardLimitDistanceType: animLookAtLimitDistanceType, backLimitDegreesType: animLookAtLimitDegreesType): C.animLookAtLimits;
244
- "GetLookAtStatus"(status: animLookAtStatus, currentStatus: number): boolean;
245
- "GetLookAtTransitionSpeed"(style: animLookAtStyle): number;
245
+ "GetLookAtLimitDegreesValue"(limitType: E.animLookAtLimitDegreesType): number;
246
+ "GetLookAtLimitDistanceValue"(limitType: E.animLookAtLimitDistanceType): number;
247
+ "GetLookAtLimits"(softLimitDegreesType: E.animLookAtLimitDegreesType, hardLimitDegreesType: E.animLookAtLimitDegreesType, hardLimitDistanceType: E.animLookAtLimitDistanceType, backLimitDegreesType: E.animLookAtLimitDegreesType): C.animLookAtLimits;
248
+ "GetLookAtStatus"(status: E.animLookAtStatus, currentStatus: number): boolean;
249
+ "GetLookAtTransitionSpeed"(style: E.animLookAtStyle): number;
246
250
  "GetMainPlayer"(): M.Handle<C.PlayerPuppet>;
247
251
  "GetMountedVehicle"(object: M.Handle<C.gameObject>): M.WeakHandle<C.vehicleBaseObject>;
248
252
  "GetNotSavableClasses"(): string[];
@@ -264,7 +268,7 @@ export interface MpFuncs {
264
268
  "HashToNodeRef"(value: bigint): string;
265
269
  "InitializeScripts"(): void;
266
270
  "Int8ToInt"(): void;
267
- "IntToEPreventionHeatStage"(index: number): EPreventionHeatStage;
271
+ "IntToEPreventionHeatStage"(index: number): E.EPreventionHeatStage;
268
272
  "IntToInt8"(): void;
269
273
  "IntToString"(value: number): string;
270
274
  "IntToUint64"(): void;
@@ -318,7 +322,7 @@ export interface MpFuncs {
318
322
  "MinF"(a: number, b: number): number;
319
323
  "ModF"(a: number, b: number): number;
320
324
  "ModLog"(mod: string, text: M.ScriptRef<string>): void;
321
- "ModifierTypeToString"(type: gameStatModifierType): string;
325
+ "ModifierTypeToString"(type: E.gameStatModifierType): string;
322
326
  "Murmur3"(data: M.ScriptRef<string>, seed?: number): number;
323
327
  "NameToHash"(value: string): bigint;
324
328
  "NameToString"(n: string): string;
@@ -326,15 +330,15 @@ export interface MpFuncs {
326
330
  "NoTrailZeros"(str: M.ScriptRef<string>): string;
327
331
  "NodeRefToHash"(value: string): bigint;
328
332
  "OperatorAdd"(o: M.Handle<C.gameObject>, s: string): string;
329
- "OperatorAdd"(s: string, stat: gamedataStatType): string;
330
- "OperatorAdd"(stat: gamedataStatType, s: string): string;
331
- "OperatorAdd"(s: string, mode: gamecheatsystemFlag): string;
332
- "OperatorAdd"(mode: gameGodModeType, s: string): string;
333
- "OperatorAdd"(mode: gamecheatsystemFlag, s: string): string;
333
+ "OperatorAdd"(s: string, stat: E.gamedataStatType): string;
334
+ "OperatorAdd"(stat: E.gamedataStatType, s: string): string;
335
+ "OperatorAdd"(s: string, mode: E.gamecheatsystemFlag): string;
336
+ "OperatorAdd"(mode: E.gameGodModeType, s: string): string;
337
+ "OperatorAdd"(mode: E.gamecheatsystemFlag, s: string): string;
334
338
  "OperatorAdd"(s: string, o: M.Handle<C.gameObject>): string;
335
- "OperatorAdd"(att: EAIAttitude, s: string): string;
336
- "OperatorAdd"(s: string, att: EAIAttitude): string;
337
- "OperatorAdd"(s: string, mode: gameGodModeType): string;
339
+ "OperatorAdd"(att: E.EAIAttitude, s: string): string;
340
+ "OperatorAdd"(s: string, att: E.EAIAttitude): string;
341
+ "OperatorAdd"(s: string, mode: E.gameGodModeType): string;
338
342
  "OperatorAdd;BoolScript_RefString;String"(a: boolean, b: M.ScriptRef<string>): string;
339
343
  "OperatorAdd;CNameCName;CName"(a: string, b: string): string;
340
344
  "OperatorAdd;DoubleDouble;Double"(a: number, b: number): number;
@@ -367,13 +371,13 @@ export interface MpFuncs {
367
371
  "OperatorAdd;Vector4Vector4;Vector4"(a: C.Vector4, b: C.Vector4): C.Vector4;
368
372
  "OperatorAdd;WorldPositionVector4;WorldPosition"(a: C.WorldPosition, b: C.Vector4): C.WorldPosition;
369
373
  "OperatorAdd;WorldPositionWorldPosition;WorldPosition"(a: C.WorldPosition, b: C.WorldPosition): C.WorldPosition;
370
- "OperatorAnd"(l: FTEntityRequirementsFlag, r: FTEntityRequirementsFlag): FTEntityRequirementsFlag;
371
- "OperatorAnd"(i: bigint, f: damageSystemLogFlags): bigint;
374
+ "OperatorAnd"(l: E.FTEntityRequirementsFlag, r: E.FTEntityRequirementsFlag): E.FTEntityRequirementsFlag;
375
+ "OperatorAnd"(i: bigint, f: E.damageSystemLogFlags): bigint;
372
376
  "OperatorAnd;Int16Int16;Int16"(a: number, b: number): number;
373
377
  "OperatorAnd;Int32Int32;Int32"(a: number, b: number): number;
374
378
  "OperatorAnd;Int64Int64;Int64"(a: bigint, b: bigint): bigint;
375
379
  "OperatorAnd;Int8Int8;Int8"(a: number, b: number): number;
376
- "OperatorAnd;TSFMVTSFMV;TSFMV"(a: gametargetingSystemSearchFilterMaskValue, b: gametargetingSystemSearchFilterMaskValue): gametargetingSystemSearchFilterMaskValue;
380
+ "OperatorAnd;TSFMVTSFMV;TSFMV"(a: E.gametargetingSystemSearchFilterMaskValue, b: E.gametargetingSystemSearchFilterMaskValue): E.gametargetingSystemSearchFilterMaskValue;
377
381
  "OperatorAnd;Uint16Uint16;Uint16"(a: number, b: number): number;
378
382
  "OperatorAnd;Uint32Uint32;Uint32"(a: number, b: number): number;
379
383
  "OperatorAnd;Uint64Uint64;Uint64"(a: bigint, b: bigint): bigint;
@@ -497,7 +501,7 @@ export interface MpFuncs {
497
501
  "OperatorEqual"(action1: M.Handle<C.gamedeviceAction>, action2: M.Handle<C.gamedeviceAction>): boolean;
498
502
  "OperatorEqual"(var1: C.inkWidgetReference, var2: C.inkWidgetReference): boolean;
499
503
  "OperatorEqual"(x: C.redResourceReferenceScriptToken, y: C.redResourceReferenceScriptToken): boolean;
500
- "OperatorEqual"(rbool: boolean, ebool: EBOOL): boolean;
504
+ "OperatorEqual"(rbool: boolean, ebool: E.EBOOL): boolean;
501
505
  "OperatorEqual"(l1: C.DeviceLink, l2: C.DeviceLink): boolean;
502
506
  "OperatorEqual"(ps: M.Handle<C.gamePersistentState>, link: C.DeviceLink): boolean;
503
507
  "OperatorEqual"(hudInstance1: M.Handle<C.ModuleInstance>, hudInstance2: M.Handle<C.ModuleInstance>): boolean;
@@ -505,7 +509,7 @@ export interface MpFuncs {
505
509
  "OperatorEqual"(action1: M.Handle<C.PuppetAction>, action2: M.Handle<C.PuppetAction>): boolean;
506
510
  "OperatorEqual"(link: C.DeviceLink, ps: M.Handle<C.gamePersistentState>): boolean;
507
511
  "OperatorEqual"(record_1: string, record_2: C.gameItemID): boolean;
508
- "OperatorEqual"(ebool: EBOOL, rbool: boolean): boolean;
512
+ "OperatorEqual"(ebool: E.EBOOL, rbool: boolean): boolean;
509
513
  "OperatorEqual"(goTarget: M.WeakHandle<C.gameObject>, target: M.Handle<C.Target>): boolean;
510
514
  "OperatorEqual"(target: M.Handle<C.Target>, goTarget: M.WeakHandle<C.gameObject>): boolean;
511
515
  "OperatorEqual"(documentAdress1: C.SDocumentAdress, documentAdress2: C.SDocumentAdress): boolean;
@@ -527,12 +531,12 @@ export interface MpFuncs {
527
531
  "OperatorEqual;Uint32Uint32;Bool"(a: number, b: number): boolean;
528
532
  "OperatorEqual;Uint64Uint64;Bool"(a: bigint, b: bigint): boolean;
529
533
  "OperatorEqual;Uint8Uint8;Bool"(a: number, b: number): boolean;
530
- "OperatorGreater"(enum1: ESecurityAreaType, enum2: ESecurityAreaType): boolean;
531
- "OperatorGreater"(enum1: ESecurityNotificationType, enum2: ESecurityNotificationType): boolean;
532
- "OperatorGreater"(enum1: ESecurityAccessLevel, enum2: ESecurityAccessLevel): boolean;
533
- "OperatorGreater"(q1: gamedataQuality, q2: gamedataQuality): boolean;
534
- "OperatorGreater"(enum1: gameCityAreaType, enum2: gameCityAreaType): boolean;
535
- "OperatorGreater"(enum1: ESecuritySystemState, enum2: ESecuritySystemState): boolean;
534
+ "OperatorGreater"(enum1: E.ESecurityAreaType, enum2: E.ESecurityAreaType): boolean;
535
+ "OperatorGreater"(enum1: E.ESecurityNotificationType, enum2: E.ESecurityNotificationType): boolean;
536
+ "OperatorGreater"(enum1: E.ESecurityAccessLevel, enum2: E.ESecurityAccessLevel): boolean;
537
+ "OperatorGreater"(q1: E.gamedataQuality, q2: E.gamedataQuality): boolean;
538
+ "OperatorGreater"(enum1: E.gameCityAreaType, enum2: E.gameCityAreaType): boolean;
539
+ "OperatorGreater"(enum1: E.ESecuritySystemState, enum2: E.ESecuritySystemState): boolean;
536
540
  "OperatorGreater;DoubleDouble;Bool"(a: number, b: number): boolean;
537
541
  "OperatorGreater;EngineTimeEngineTime;Bool"(a: C.EngineTime, b: C.EngineTime): boolean;
538
542
  "OperatorGreater;EngineTimeFloat;Bool"(a: C.EngineTime, b: number): boolean;
@@ -546,9 +550,9 @@ export interface MpFuncs {
546
550
  "OperatorGreater;Uint32Uint32;Bool"(a: number, b: number): boolean;
547
551
  "OperatorGreater;Uint64Uint64;Bool"(a: bigint, b: bigint): boolean;
548
552
  "OperatorGreater;Uint8Uint8;Bool"(a: number, b: number): boolean;
549
- "OperatorGreaterEqual"(activeMode1: ActiveMode, activeMode2: ActiveMode): boolean;
550
- "OperatorGreaterEqual"(enum1: ESecurityNotificationType, enum2: ESecurityNotificationType): boolean;
551
- "OperatorGreaterEqual"(q1: gamedataQuality, q2: gamedataQuality): boolean;
553
+ "OperatorGreaterEqual"(activeMode1: E.ActiveMode, activeMode2: E.ActiveMode): boolean;
554
+ "OperatorGreaterEqual"(enum1: E.ESecurityNotificationType, enum2: E.ESecurityNotificationType): boolean;
555
+ "OperatorGreaterEqual"(q1: E.gamedataQuality, q2: E.gamedataQuality): boolean;
552
556
  "OperatorGreaterEqual;DoubleDouble;Bool"(a: number, b: number): boolean;
553
557
  "OperatorGreaterEqual;EngineTimeEngineTime;Bool"(a: C.EngineTime, b: C.EngineTime): boolean;
554
558
  "OperatorGreaterEqual;EngineTimeFloat;Bool"(a: C.EngineTime, b: number): boolean;
@@ -562,12 +566,12 @@ export interface MpFuncs {
562
566
  "OperatorGreaterEqual;Uint32Uint32;Bool"(a: number, b: number): boolean;
563
567
  "OperatorGreaterEqual;Uint64Uint64;Bool"(a: bigint, b: bigint): boolean;
564
568
  "OperatorGreaterEqual;Uint8Uint8;Bool"(a: number, b: number): boolean;
565
- "OperatorLess"(enum1: ESecurityNotificationType, enum2: ESecurityNotificationType): boolean;
566
- "OperatorLess"(enum1: ESecuritySystemState, enum2: ESecuritySystemState): boolean;
567
- "OperatorLess"(enum1: ESecurityAccessLevel, enum2: ESecurityAccessLevel): boolean;
568
- "OperatorLess"(q1: gamedataQuality, q2: gamedataQuality): boolean;
569
- "OperatorLess"(enum1: ESecurityAreaType, enum2: ESecurityAreaType): boolean;
570
- "OperatorLess"(f1: hitFlag, f2: hitFlag): boolean;
569
+ "OperatorLess"(enum1: E.ESecurityNotificationType, enum2: E.ESecurityNotificationType): boolean;
570
+ "OperatorLess"(enum1: E.ESecuritySystemState, enum2: E.ESecuritySystemState): boolean;
571
+ "OperatorLess"(enum1: E.ESecurityAccessLevel, enum2: E.ESecurityAccessLevel): boolean;
572
+ "OperatorLess"(q1: E.gamedataQuality, q2: E.gamedataQuality): boolean;
573
+ "OperatorLess"(enum1: E.ESecurityAreaType, enum2: E.ESecurityAreaType): boolean;
574
+ "OperatorLess"(f1: E.hitFlag, f2: E.hitFlag): boolean;
571
575
  "OperatorLess;DoubleDouble;Bool"(a: number, b: number): boolean;
572
576
  "OperatorLess;EngineTimeEngineTime;Bool"(a: C.EngineTime, b: C.EngineTime): boolean;
573
577
  "OperatorLess;EngineTimeFloat;Bool"(a: C.EngineTime, b: number): boolean;
@@ -582,9 +586,9 @@ export interface MpFuncs {
582
586
  "OperatorLess;Uint32Uint32;Bool"(a: number, b: number): boolean;
583
587
  "OperatorLess;Uint64Uint64;Bool"(a: bigint, b: bigint): boolean;
584
588
  "OperatorLess;Uint8Uint8;Bool"(a: number, b: number): boolean;
585
- "OperatorLessEqual"(activeMode1: ActiveMode, activeMode2: ActiveMode): boolean;
586
- "OperatorLessEqual"(enum1: ESecurityNotificationType, enum2: ESecurityNotificationType): boolean;
587
- "OperatorLessEqual"(q1: gamedataQuality, q2: gamedataQuality): boolean;
589
+ "OperatorLessEqual"(activeMode1: E.ActiveMode, activeMode2: E.ActiveMode): boolean;
590
+ "OperatorLessEqual"(enum1: E.ESecurityNotificationType, enum2: E.ESecurityNotificationType): boolean;
591
+ "OperatorLessEqual"(q1: E.gamedataQuality, q2: E.gamedataQuality): boolean;
588
592
  "OperatorLessEqual;DoubleDouble;Bool"(a: number, b: number): boolean;
589
593
  "OperatorLessEqual;EngineTimeEngineTime;Bool"(a: C.EngineTime, b: C.EngineTime): boolean;
590
594
  "OperatorLessEqual;EngineTimeFloat;Bool"(a: C.EngineTime, b: number): boolean;
@@ -600,9 +604,9 @@ export interface MpFuncs {
600
604
  "OperatorLessEqual;Uint8Uint8;Bool"(a: number, b: number): boolean;
601
605
  "OperatorLogicAnd;BoolSkipBool;Bool"(a: boolean, b: boolean): boolean;
602
606
  "OperatorLogicNot"(a: string): boolean;
603
- "OperatorLogicNot"(ebool: EBOOL): boolean;
607
+ "OperatorLogicNot"(ebool: E.EBOOL): boolean;
604
608
  "OperatorLogicNot;Bool;Bool"(a: boolean): boolean;
605
- "OperatorLogicOr"(att: EAIAttitude, match: boolean): boolean;
609
+ "OperatorLogicOr"(att: E.EAIAttitude, match: boolean): boolean;
606
610
  "OperatorLogicOr;BoolSkipBool;Bool"(a: boolean, b: boolean): boolean;
607
611
  "OperatorModulo;DoubleDouble;Double"(a: number, b: number): number;
608
612
  "OperatorModulo;FloatFloat;Float"(a: number, b: number): number;
@@ -646,8 +650,8 @@ export interface MpFuncs {
646
650
  "OperatorNeg;Quaternion;Quaternion"(a: C.Quaternion): C.Quaternion;
647
651
  "OperatorNeg;Vector4;Vector4"(b: C.Vector4): C.Vector4;
648
652
  "OperatorNeg;WorldPosition;WorldPosition"(b: C.WorldPosition): C.WorldPosition;
649
- "OperatorNotEqual"(ebool: EBOOL, rbool: boolean): boolean;
650
- "OperatorNotEqual"(rbool: boolean, ebool: EBOOL): boolean;
653
+ "OperatorNotEqual"(ebool: E.EBOOL, rbool: boolean): boolean;
654
+ "OperatorNotEqual"(rbool: boolean, ebool: E.EBOOL): boolean;
651
655
  "OperatorNotEqual;DelayIDDelayID;Bool"(a: C.gameDelayID, b: C.gameDelayID): boolean;
652
656
  "OperatorNotEqual;DoubleDouble;Bool"(a: number, b: number): boolean;
653
657
  "OperatorNotEqual;EngineTimeEngineTime;Bool"(a: C.EngineTime, b: C.EngineTime): boolean;
@@ -665,21 +669,21 @@ export interface MpFuncs {
665
669
  "OperatorNotEqual;Uint32Uint32;Bool"(a: number, b: number): boolean;
666
670
  "OperatorNotEqual;Uint64Uint64;Bool"(a: bigint, b: bigint): boolean;
667
671
  "OperatorNotEqual;Uint8Uint8;Bool"(a: number, b: number): boolean;
668
- "OperatorOr"(l: FTEntityRequirementsFlag, r: FTEntityRequirementsFlag): FTEntityRequirementsFlag;
669
- "OperatorOr"(i: bigint, f: damageSystemLogFlags): bigint;
670
- "OperatorOr"(f1: damageSystemLogFlags, f2: damageSystemLogFlags): bigint;
671
- "OperatorOr"(f: damageSystemLogFlags, i: bigint): bigint;
672
- "OperatorOr;DMGPipelineTypeDMGPipelineType;DMGPipelineType"(a: gameDamageListenerPipelineType, b: gameDamageListenerPipelineType): gameDamageListenerPipelineType;
672
+ "OperatorOr"(l: E.FTEntityRequirementsFlag, r: E.FTEntityRequirementsFlag): E.FTEntityRequirementsFlag;
673
+ "OperatorOr"(i: bigint, f: E.damageSystemLogFlags): bigint;
674
+ "OperatorOr"(f1: E.damageSystemLogFlags, f2: E.damageSystemLogFlags): bigint;
675
+ "OperatorOr"(f: E.damageSystemLogFlags, i: bigint): bigint;
676
+ "OperatorOr;DMGPipelineTypeDMGPipelineType;DMGPipelineType"(a: E.gameDamageListenerPipelineType, b: E.gameDamageListenerPipelineType): E.gameDamageListenerPipelineType;
673
677
  "OperatorOr;Int16Int16;Int16"(a: number, b: number): number;
674
678
  "OperatorOr;Int32Int32;Int32"(a: number, b: number): number;
675
679
  "OperatorOr;Int64Int64;Int64"(a: bigint, b: bigint): bigint;
676
680
  "OperatorOr;Int8Int8;Int8"(a: number, b: number): number;
677
- "OperatorOr;TSFMVTSFMV;TSFMV"(a: gametargetingSystemSearchFilterMaskValue, b: gametargetingSystemSearchFilterMaskValue): gametargetingSystemSearchFilterMaskValue;
681
+ "OperatorOr;TSFMVTSFMV;TSFMV"(a: E.gametargetingSystemSearchFilterMaskValue, b: E.gametargetingSystemSearchFilterMaskValue): E.gametargetingSystemSearchFilterMaskValue;
678
682
  "OperatorOr;Uint16Uint16;Uint16"(a: number, b: number): number;
679
683
  "OperatorOr;Uint32Uint32;Uint32"(a: number, b: number): number;
680
684
  "OperatorOr;Uint64Uint64;Uint64"(a: bigint, b: bigint): bigint;
681
685
  "OperatorOr;Uint8Uint8;Uint8"(a: number, b: number): number;
682
- "OperatorSubtract"(level1: ESecurityAccessLevel, value: number): ESecurityAccessLevel;
686
+ "OperatorSubtract"(level1: E.ESecurityAccessLevel, value: number): E.ESecurityAccessLevel;
683
687
  "OperatorSubtract;DoubleDouble;Double"(a: number, b: number): number;
684
688
  "OperatorSubtract;EngineTimeEngineTime;EngineTime"(a: C.EngineTime, b: C.EngineTime): C.EngineTime;
685
689
  "OperatorSubtract;EngineTimeFloat;EngineTime"(a: C.EngineTime, b: number): C.EngineTime;
@@ -708,6 +712,7 @@ export interface MpFuncs {
708
712
  "OperatorXor;Uint32Uint32;Uint32"(a: number, b: number): number;
709
713
  "OperatorXor;Uint64Uint64;Uint64"(a: bigint, b: bigint): bigint;
710
714
  "OperatorXor;Uint8Uint8;Uint8"(a: number, b: number): number;
715
+ "OverrideDynamicAppearanceCondition"(app: string, attr: string, value: string): string;
711
716
  "ParseInt16"(str: string, base?: number): number;
712
717
  "ParseInt32"(str: string, base?: number): number;
713
718
  "ParseInt64"(str: string, base?: number): bigint;
@@ -723,8 +728,8 @@ export interface MpFuncs {
723
728
  "PreloadGameEffectAttackResources"(attackRecord: M.Handle<C.gamedataAttack_GameEffect_Record>, effectSystem: M.Handle<C.gameEffectSystem>): void;
724
729
  "PreviewConfig_DisableTurrets"(): boolean;
725
730
  "Print"(text: M.ScriptRef<string>): void;
726
- "ProcessCompare"(comparator: EComparisonType, valA: number, valB: number): boolean;
727
- "ProcessCompareInt"(comparator: EComparisonType, valA: number, valB: number): boolean;
731
+ "ProcessCompare"(comparator: E.EComparisonType, valA: number, valB: number): boolean;
732
+ "ProcessCompareInt"(comparator: E.EComparisonType, valA: number, valB: number): boolean;
728
733
  "ProgressMultipleAchievementsImpl"(achievementId: string, achievementCount: string, baseProgressString: string, intervalString: string): void;
729
734
  "PropagateDebugHitInformations"(hitDebugInfos: C.gameHitDetectionDebugFrameData[]): void;
730
735
  "ProportionalClampF"(inMin: number, inMax: number, v: number, outMin: number, outMax: number): number;
@@ -757,15 +762,15 @@ export interface MpFuncs {
757
762
  "RoundFEx"(a: number): number;
758
763
  "RoundMath"(f: number): number;
759
764
  "RoundTo"(f: number, decimal: number): number;
760
- "SelectWidgets"(widget: M.Handle<C.inkWidget>, selectionRule?: inkSelectionRule, param?: string): M.Handle<C.inkWidgetsSet>;
765
+ "SelectWidgets"(widget: M.Handle<C.inkWidget>, selectionRule?: E.inkSelectionRule, param?: string): M.Handle<C.inkWidgetsSet>;
761
766
  "SendInputHintData"(show: boolean, data: M.ScriptRef<C.gameuiInputHintData>, targetHintContainer?: string): void;
762
767
  "ServerAddPingTarget"(pingEntry: C.gamePingEntry): void;
763
- "SetDefaultStatPoolModifiers"(statPoolTypeString: M.ScriptRef<string>, statPoolModType: gameStatPoolModificationTypes): void;
768
+ "SetDefaultStatPoolModifiers"(statPoolTypeString: M.ScriptRef<string>, statPoolModType: E.gameStatPoolModificationTypes): void;
764
769
  "SetFactValue"(factName: string, factCount: number): boolean;
765
770
  "SgnF"(a: number): number;
766
771
  "SinF"(a: number): number;
767
772
  "SortHandleWithValueArray"(arr: M.ScriptRef<C.scriptOptimizationsHandleWithValue[]>): void;
768
- "SpaceFill"(str: string, length: number, mode?: ESpaceFillMode, fillChar?: string): string;
773
+ "SpaceFill"(str: string, length: number, mode?: E.ESpaceFillMode, fillChar?: string): string;
769
774
  "SpawnVirtualPS"(entityID: C.entEntityID, componentName: string, psClassName: string): M.Handle<C.gamePersistentState>;
770
775
  "SqrF"(a: number): number;
771
776
  "SqrtF"(a: number): number;
@@ -800,13 +805,13 @@ export interface MpFuncs {
800
805
  "StringToInt"(value: M.ScriptRef<string>, defValue?: number): number;
801
806
  "StringToName"(str: M.ScriptRef<string>): string;
802
807
  "StringToUint64"(value: M.ScriptRef<string>, defValue?: bigint): bigint;
803
- "SwitchPlayerImmortalityMode"(cheat: gamecheatsystemFlag): void;
804
- "TSF_All"(mask: gametargetingSystemSearchFilterMaskValue): C.gameTargetSearchFilter;
808
+ "SwitchPlayerImmortalityMode"(cheat: E.gamecheatsystemFlag): void;
809
+ "TSF_All"(mask: E.gametargetingSystemSearchFilterMaskValue): C.gameTargetSearchFilter;
805
810
  "TSF_And"(tsf1: C.gameTargetSearchFilter, tsf2: C.gameTargetSearchFilter, tsf3?: C.gameTargetSearchFilter, tsf4?: C.gameTargetSearchFilter): C.gameTargetSearchFilter;
806
- "TSF_Any"(mask: gametargetingSystemSearchFilterMaskValue): C.gameTargetSearchFilter;
811
+ "TSF_Any"(mask: E.gametargetingSystemSearchFilterMaskValue): C.gameTargetSearchFilter;
807
812
  "TSF_EnemyNPC"(): C.gameTargetSearchFilter;
808
813
  "TSF_NPC"(): C.gameTargetSearchFilter;
809
- "TSF_Not"(mask: gametargetingSystemSearchFilterMaskValue): C.gameTargetSearchFilter;
814
+ "TSF_Not"(mask: E.gametargetingSystemSearchFilterMaskValue): C.gameTargetSearchFilter;
810
815
  "TSF_Or"(tsf1: C.gameTargetSearchFilter, tsf2: C.gameTargetSearchFilter, tsf3?: C.gameTargetSearchFilter, tsf4?: C.gameTargetSearchFilter): C.gameTargetSearchFilter;
811
816
  "TSF_Quickhackable"(): C.gameTargetSearchFilter;
812
817
  "TSQ_ALL"(): C.gameTargetSearchQuery;
@@ -823,8 +828,8 @@ export interface MpFuncs {
823
828
  "ToTelemetryDamage"(attackData: M.Handle<C.gamedamageAttackData>): C.gameTelemetryDamage;
824
829
  "ToTelemetryDamage"(evt: M.Handle<C.gameeventsTargetDamageEvent>): C.gameTelemetryDamage;
825
830
  "ToTelemetryDamage"(evt: M.Handle<C.gameeventsDamageReceivedEvent>): C.gameTelemetryDamage;
826
- "ToTelemetryDamageDealt"(evt: M.Handle<C.gameeventsDamageReceivedEvent>, situation: gameTelemetryDamageSituation, distance: number, time: number): C.gameTelemetryDamageDealt;
827
- "ToTelemetryDamageDealt"(evt: M.Handle<C.gameeventsTargetDamageEvent>, situation: gameTelemetryDamageSituation, distance: number, time: number): C.gameTelemetryDamageDealt;
831
+ "ToTelemetryDamageDealt"(evt: M.Handle<C.gameeventsDamageReceivedEvent>, situation: E.gameTelemetryDamageSituation, distance: number, time: number): C.gameTelemetryDamageDealt;
832
+ "ToTelemetryDamageDealt"(evt: M.Handle<C.gameeventsTargetDamageEvent>, situation: E.gameTelemetryDamageSituation, distance: number, time: number): C.gameTelemetryDamageDealt;
828
833
  "ToTelemetryEnemy"(target: M.WeakHandle<C.gameObject>): C.gameTelemetryEnemy;
829
834
  "ToTelemetryInventoryItem"(inventoryItemData: M.ScriptRef<C.gameInventoryItemData>): C.gameTelemetryInventoryItem;
830
835
  "Trace"(): void;
@@ -842,11 +847,11 @@ export interface MpFuncs {
842
847
  "OnInitialize"(): boolean;
843
848
  "OnPlayerAttach"(playerPuppet: M.Handle<C.gameObject>): boolean;
844
849
  "OnPreviewInitialized"(): boolean;
845
- "Close"(result: GenericMessageNotificationResult): void;
850
+ "Close"(result: E.GenericMessageNotificationResult): void;
846
851
  "SetupInventory"(isCurrentPlayerObjectCustomizable: boolean): void;
847
852
  }
848
853
 
849
854
  export interface MpGame extends MpFuncs, MpClasses {
850
855
  }
851
856
 
852
- export * from "./precomputed/game.d.ts";
857
+ export type * from "./precomputed/game.d.ts";