@nativewrappers/common-game 0.0.114 → 0.0.120
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/entities/CommonBaseEntity.d.ts +3 -3
- package/entities/CommonBaseEntity.js +2 -3
- package/entities/CommonEntityType.d.ts +3 -3
- package/entities/CommonEntityType.js +0 -3
- package/entities/CommonPed.d.ts +1 -1
- package/entities/CommonPed.js +1 -1
- package/entities/CommonPlayer.d.ts +1 -1
- package/entities/CommonPlayer.js +2 -2
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ClassTypes } from "../common/utils/ClassTypes";
|
|
2
|
-
import { Quaternion } from "../common/utils/Quaternion";
|
|
2
|
+
import type { Quaternion } from "../common/utils/Quaternion";
|
|
3
3
|
import { Vector3 } from "../common/utils/Vector";
|
|
4
4
|
import type { CommonBaseEntityBoneCollection } from "./CommonBaseEntityBoneCollection";
|
|
5
|
-
import type { StateBagChangeHandler } from "
|
|
6
|
-
import { CommonModel } from "
|
|
5
|
+
import type { StateBagChangeHandler } from "../cfx/StateBagChangeHandler";
|
|
6
|
+
import { CommonModel } from "../CommonModel";
|
|
7
7
|
export declare abstract class CommonBaseEntity {
|
|
8
8
|
protected handle: number;
|
|
9
9
|
protected stateBagCookies: number[];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { Quaternion } from "../common/utils/Quaternion";
|
|
4
3
|
import { Vector3 } from "../common/utils/Vector";
|
|
5
|
-
import cfx from "
|
|
6
|
-
import { CommonModel } from "
|
|
4
|
+
import cfx from "../cfx/cfx";
|
|
5
|
+
import { CommonModel } from "../CommonModel";
|
|
7
6
|
import { GlobalData } from "../common/GlobalData";
|
|
8
7
|
class CommonBaseEntity {
|
|
9
8
|
static {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonPed } from "./CommonPed";
|
|
2
|
-
import { CommonProp } from "./CommonProp";
|
|
3
|
-
import { CommonVehicle } from "./CommonVehicle";
|
|
1
|
+
import type { CommonPed } from "./CommonPed";
|
|
2
|
+
import type { CommonProp } from "./CommonProp";
|
|
3
|
+
import type { CommonVehicle } from "./CommonVehicle";
|
|
4
4
|
export type CommonEntity = CommonProp | CommonPed | CommonVehicle | null;
|
package/entities/CommonPed.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CommonTasks } from "common-game/CommonTasks";
|
|
2
1
|
import { CommonBaseEntity } from "./CommonBaseEntity";
|
|
3
2
|
import { CommonPlayer } from "./CommonPlayer";
|
|
4
3
|
import { ClassTypes } from "../common/utils/ClassTypes";
|
|
5
4
|
import { CommonPedBoneCollection } from "./CommonPedBoneCollection";
|
|
5
|
+
import { CommonTasks } from "../CommonTasks";
|
|
6
6
|
export declare class CommonPed extends CommonBaseEntity {
|
|
7
7
|
private tasks;
|
|
8
8
|
protected type: ClassTypes;
|
package/entities/CommonPed.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { CommonTasks } from "common-game/CommonTasks";
|
|
4
3
|
import { CommonBaseEntity } from "./CommonBaseEntity";
|
|
5
4
|
import { CommonPlayer } from "./CommonPlayer";
|
|
6
5
|
import { ClassTypes } from "../common/utils/ClassTypes";
|
|
7
6
|
import { CommonPedBoneCollection } from "./CommonPedBoneCollection";
|
|
7
|
+
import { CommonTasks } from "../CommonTasks";
|
|
8
8
|
class CommonPed extends CommonBaseEntity {
|
|
9
9
|
static {
|
|
10
10
|
__name(this, "CommonPed");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StateBagChangeHandler } from "
|
|
1
|
+
import type { StateBagChangeHandler } from "../cfx/StateBagChangeHandler";
|
|
2
2
|
import { CommonPed } from "./CommonPed";
|
|
3
3
|
import type { CommonEntity } from "./CommonEntityType";
|
|
4
4
|
export declare class CommonPlayer {
|
package/entities/CommonPlayer.js
CHANGED
|
@@ -2,9 +2,9 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
import { CommonPed } from "./CommonPed";
|
|
4
4
|
import { ClassTypes } from "../common/utils/ClassTypes";
|
|
5
|
-
import { GameConstants } from "common-game/CommonGameConstants";
|
|
6
|
-
import cfx from "common-game/cfx/cfx";
|
|
7
5
|
import { GetEntityClassFromHandle } from "./GetEntityClassIdFromHandle";
|
|
6
|
+
import cfx from "../cfx/cfx";
|
|
7
|
+
import { GameConstants } from "../CommonGameConstants";
|
|
8
8
|
class CommonPlayer {
|
|
9
9
|
static {
|
|
10
10
|
__name(this, "CommonPlayer");
|