@cybermp-community/client-types 2.3.6 → 2.3.7

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.
@@ -15957,4 +15957,8 @@ export interface MpClasses {
15957
15957
  StaticEntitySpec: typeof C.StaticEntitySpec;
15958
15958
  StaticEntitySystem: C.StaticEntitySystem;
15959
15959
  WorldNodeSetupWrapper: typeof C.WorldNodeSetupWrapper;
15960
+ ScriptableTweak: typeof C.ScriptableTweak;
15961
+ TweakDBBatch: typeof C.TweakDBBatch;
15962
+ TweakDBManager: typeof C.TweakDBManager;
15963
+ TweakXL: typeof C.TweakXL;
15960
15964
  }
@@ -1,5 +1,5 @@
1
1
  export interface MpCef {
2
- setFocus(focus: boolean, cursor?: boolean): void;
2
+ setFocus(focus: boolean, cursor?: boolean = focus): void;
3
3
  isInFocus(): boolean;
4
4
  setUrl(url: string): void;
5
5
  }
@@ -83,19 +83,23 @@ declare module '../classes.d.ts' {
83
83
  GetGender(): CyberEnums.RedscriptPlayerGender;
84
84
  }
85
85
 
86
+ export interface entEntity {
87
+ ReassembleWithComponents(arr: entIComponent[]): void
88
+ }
89
+
86
90
  export interface AimingStateDecisions {
87
- "OnItemEquipped"(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
88
- "OnItemUnequipped"(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
91
+ OnItemEquipped(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
92
+ OnItemUnequipped(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
89
93
  }
90
94
 
91
95
  export interface AimingStateEvents {
92
- "OnItemEquipped"(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
93
- "OnItemUnequipped"(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
96
+ OnItemEquipped(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
97
+ OnItemUnequipped(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
94
98
  }
95
99
 
96
100
  export interface ApplyStatGroupEffectorCallback {
97
- "OnItemEquipped"(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
98
- "OnItemUnequipped"(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
101
+ OnItemEquipped(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
102
+ OnItemUnequipped(slot: CyberEnums.AttachmentSlots, item: gameItemID): void;
99
103
  }
100
104
 
101
105
  export interface gameuiICharacterCustomizationSystem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybermp-community/client-types",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
4
4
  "description": "TypeScript type definitions for the CyberMP client-side environment.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -30,12 +30,12 @@
30
30
  "dist"
31
31
  ],
32
32
  "scripts": {
33
- "codeware:dumper:build": "cd dumper && cargo build --release",
33
+ "redscript:dumper:build": "cd dumper && cargo build --release",
34
34
  "dumps:generate:codeware": "./dumper/target/release/codeware-dumper.exe ./libs/codeware/scripts -r -o ./json/redscript/codeware",
35
35
  "dunps:generate:tweak-xl": "./dumper/target/release/codeware-dumper.exe ./libs/tweak-xl/scripts -r -o ./json/redscript/tweak-xl",
36
36
  "dunps:generate:archive-xl": "./dumper/target/release/codeware-dumper.exe ./libs/archive-xl/scripts -r -o ./json/redscript/archive-xl",
37
37
  "dumps:cyberpunk:download": "tsx ./scripts/download-dumps.ts",
38
- "dumps:generate": "rimraf ./json && bun run dumps:cyberpunk:download && bun run dunps:generate:archive-xl && bun run dumps:generate:codeware",
38
+ "dumps:generate": "rimraf ./json && bun run dumps:cyberpunk:download && bun run dunps:generate:archive-xl && bun run dunps:generate:tweak-xl && bun run dumps:generate:codeware",
39
39
  "types:apply-modified": "tsx ./scripts/apply-modified.ts",
40
40
  "types:generate": "tsx ./src",
41
41
  "generate": "bun run dumps:generate && bun run types:apply-modified && bun run types:generate",
@@ -51,7 +51,9 @@
51
51
  "redscript",
52
52
  "codeware",
53
53
  "mp",
54
- "types"
54
+ "types",
55
+ "archivexl",
56
+ "tweakxl"
55
57
  ],
56
58
  "devDependencies": {
57
59
  "@types/node": "^20.11.20",