@nativewrappers/redm 0.0.44

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.
@@ -0,0 +1,4 @@
1
+ export * from "./Attributes";
2
+ export * from "./Ped";
3
+ export * from "./Relationship";
4
+ export * from "./VehicleSeat";
package/enums/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export * from "./Attributes";
2
+ export * from "./Ped";
3
+ export * from "./Relationship";
4
+ export * from "./VehicleSeat";
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ export * from "./entities/index";
2
+ export * from "./enums/index";
3
+ export * from "./Volume";
4
+ export * from "./RelationshipGroup";
5
+ export * from "./Attribute";
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export * from "./entities/index";
2
+ export * from "./enums/index";
3
+ export * from "./Volume";
4
+ export * from "./RelationshipGroup";
5
+ export * from "./Attribute";
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@nativewrappers/redm",
3
+ "description": "Native wrappers and utilities for use with RedM.",
4
+ "author": "Remco Troost <d0p3t>",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "version": "0.0.44",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/nativewrappers/fivem.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/nativewrappers/fivem/issues"
14
+ },
15
+ "homepage": "https://fivemjs.avarian.dev/",
16
+ "keywords": [
17
+ "fivem",
18
+ "wrapper",
19
+ "javascript",
20
+ "typescript",
21
+ "citizenfx"
22
+ ],
23
+ "files": [
24
+ "./**/*.js",
25
+ "./**/*.d.ts"
26
+ ],
27
+ "exports": {
28
+ ".": "./index.js"
29
+ },
30
+ "dependencies": {
31
+ "@nativewrappers/common": "0.0.44"
32
+ }
33
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @module Used for showing when a function can throw an error if certain conditions are hit
3
+ */
4
+ export type Throwable<T> = T;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @module Used for showing when a function can throw an error if certain conditions are hit
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Just a short hand for Citizen.invokeNative
3
+ * @param hash
4
+ * @param args
5
+ * @returns
6
+ */
7
+ export declare const _N: <T = void>(hash: string, ...args: InputArgument[]) => T;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Just a short hand for Citizen.invokeNative
3
+ * @param hash
4
+ * @param args
5
+ * @returns
6
+ */
7
+ export const _N = (hash, ...args) => {
8
+ return Citizen.invokeNative(hash, ...args);
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./Native";
2
+ export { Vector2, Vector3, Vector4, Maths, Color, Quaternion, Delay, enumValues, getStringFromUInt8Array, getUInt32FromUint8Array, } from "../../common/utils/index";
package/utils/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./Native";
2
+ export { Vector2, Vector3, Vector4, Maths, Color, Quaternion, Delay, enumValues, getStringFromUInt8Array, getUInt32FromUint8Array, } from "../../common/utils/index";