@cybermp-community/client-types 2.1.1 → 2.1.3
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.
|
@@ -2,9 +2,9 @@ import type * as C from "./index";
|
|
|
2
2
|
|
|
3
3
|
// THIS CODE IS GENERATED, PLEASE DO NOT EDIT THIS
|
|
4
4
|
export class EulerAngles {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"pitch": number;
|
|
6
|
+
"roll": number;
|
|
7
|
+
"yaw": number;
|
|
8
8
|
static "AlmostEqual"(a: EulerAngles, b: EulerAngles, epsilon: number): boolean;
|
|
9
9
|
static "Dot"(a: EulerAngles, b: EulerAngles): number;
|
|
10
10
|
static "GetAxes"(rotation: EulerAngles): void;
|
|
@@ -2,10 +2,10 @@ import type * as C from "./index";
|
|
|
2
2
|
|
|
3
3
|
// THIS CODE IS GENERATED, PLEASE DO NOT EDIT THIS
|
|
4
4
|
export class Vector4 {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
5
|
+
"w": number;
|
|
6
|
+
"x": number;
|
|
7
|
+
"y": number;
|
|
8
|
+
"z": number;
|
|
9
9
|
static "ClampLength"(self: Vector4, min: number, max: number): Vector4;
|
|
10
10
|
static "Cross"(a: Vector4, b: Vector4): Vector4;
|
|
11
11
|
static "Distance"(from: Vector4, to: Vector4): number;
|
|
@@ -3,6 +3,5 @@ import type * as C from "./index";
|
|
|
3
3
|
|
|
4
4
|
// THIS CODE IS GENERATED, PLEASE DO NOT EDIT THIS
|
|
5
5
|
export class gameScriptableSystemsContainer extends C.gameIScriptableSystemsContainer {
|
|
6
|
-
"Get"(systemName: string): M.Handle<C.gameScriptableSystem>;
|
|
7
6
|
"QueueRequest"(request: M.Handle<C.gameScriptableSystemRequest>): void;
|
|
8
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cybermp-community/client-types",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "TypeScript type definitions for the CyberMP client-side environment.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -31,10 +31,13 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsc",
|
|
34
|
-
"types:generate": "tsx ./src",
|
|
35
34
|
"codeware:dumper:build": "cd dumper && cargo build --release",
|
|
36
|
-
"codeware:
|
|
37
|
-
"generate": "
|
|
35
|
+
"codeware:dumper:generate-dumps": "./dumper/target/release/codeware-dumper.exe ./codeware/scripts -r -o ./generated-dumps",
|
|
36
|
+
"codeware:dumper:generate-types": "tsx src/codeware/index.ts",
|
|
37
|
+
"cyberpunk:dumps:download": "tsx ./scripts/download-dumps.ts",
|
|
38
|
+
"cyberpunk:dumps:apply-modified": "tsx ./scripts/apply-modified.ts",
|
|
39
|
+
"cyberpunk:dumps:generate-types": "tsx ./src",
|
|
40
|
+
"generate": "bun run codeware:dumper:generate-dumps && bun run cyberpunk:dumps:download && bun run cyberpunk:dumps:apply-modified && bun run cyberpunk:dumps:generate-types",
|
|
38
41
|
"bump": "npm version patch --no-git-tag-version",
|
|
39
42
|
"pub": "npm publish --access public"
|
|
40
43
|
},
|
|
@@ -57,4 +60,4 @@
|
|
|
57
60
|
"tsx": "^4.7.1",
|
|
58
61
|
"typescript": "^5.3.3"
|
|
59
62
|
}
|
|
60
|
-
}
|
|
63
|
+
}
|