rock-mod 0.9.0 → 0.9.1
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/client/RockMod.d.ts +4 -4
- package/dist/client/entities/common/baseObject/IBaseObject.d.ts +1 -1
- package/dist/client/entities/common/baseObject/IBaseObjectsIterator.d.ts +1 -1
- package/dist/client/entities/common/baseObject/IBaseObjectsManager.d.ts +3 -3
- package/dist/client/entities/common/blip/IBlip.d.ts +2 -2
- package/dist/client/entities/common/blip/IBlipsManager.d.ts +2 -2
- package/dist/client/entities/common/colshape/ICircleColshape.d.ts +1 -1
- package/dist/client/entities/common/colshape/IColshape.d.ts +1 -1
- package/dist/client/entities/common/colshape/IColshapesManager.d.ts +8 -8
- package/dist/client/entities/common/colshape/ICuboidColshape.d.ts +1 -1
- package/dist/client/entities/common/colshape/ICylinderColshape.d.ts +1 -1
- package/dist/client/entities/common/colshape/IRectangleColshape.d.ts +1 -1
- package/dist/client/entities/common/colshape/ISphereColshape.d.ts +1 -1
- package/dist/client/entities/common/entity/IEntitiesManager.d.ts +3 -3
- package/dist/client/entities/common/entity/IEntity.d.ts +2 -2
- package/dist/client/entities/common/marker/IMarker.d.ts +3 -3
- package/dist/client/entities/common/marker/IMarkersManager.d.ts +4 -4
- package/dist/client/entities/common/object/IObject.d.ts +1 -1
- package/dist/client/entities/common/object/IObjectsManager.d.ts +2 -2
- package/dist/client/entities/common/ped/IPed.d.ts +1 -1
- package/dist/client/entities/common/ped/IPedsManager.d.ts +2 -2
- package/dist/client/entities/common/player/IPlayer.d.ts +1 -1
- package/dist/client/entities/common/player/IPlayersManager.d.ts +2 -2
- package/dist/client/entities/common/vehicle/IVehicle.d.ts +1 -1
- package/dist/client/entities/common/vehicle/IVehiclesManager.d.ts +2 -2
- package/dist/client/entities/common/worldObject/IWorldObject.d.ts +2 -2
- package/dist/client/entities/common/worldObject/IWorldObjectsIterator.d.ts +3 -3
- package/dist/client/entities/common/worldObject/IWorldObjectsManager.d.ts +4 -4
- package/dist/client/entities/ragemp/baseObject/RageBaseObject.d.ts +2 -2
- package/dist/client/entities/ragemp/baseObject/RageBaseObjectsIterator.d.ts +2 -2
- package/dist/client/entities/ragemp/baseObject/RageBaseObjectsManager.d.ts +2 -2
- package/dist/client/entities/ragemp/blip/RageBlip.d.ts +3 -3
- package/dist/client/entities/ragemp/blip/RageBlipsManager.d.ts +1 -1
- package/dist/client/entities/ragemp/colshape/RageCircleColshape.d.ts +2 -2
- package/dist/client/entities/ragemp/colshape/RageColshape.d.ts +1 -1
- package/dist/client/entities/ragemp/colshape/RageColshapesManager.d.ts +2 -2
- package/dist/client/entities/ragemp/colshape/RageCuboidColshape.d.ts +2 -2
- package/dist/client/entities/ragemp/colshape/RageCylinderColshape.d.ts +2 -2
- package/dist/client/entities/ragemp/colshape/RageRectangleColshape.d.ts +2 -2
- package/dist/client/entities/ragemp/colshape/RageSphereColshape.d.ts +2 -2
- package/dist/client/entities/ragemp/entity/RageEntitiesManager.d.ts +3 -3
- package/dist/client/entities/ragemp/entity/RageEntity.d.ts +2 -2
- package/dist/client/entities/ragemp/marker/RageMarker.d.ts +4 -4
- package/dist/client/entities/ragemp/marker/RageMarkersManager.d.ts +1 -1
- package/dist/client/entities/ragemp/object/RageObject.d.ts +2 -2
- package/dist/client/entities/ragemp/object/RageObjectsManager.d.ts +1 -1
- package/dist/client/entities/ragemp/ped/RagePed.d.ts +2 -2
- package/dist/client/entities/ragemp/ped/RagePedsManager.d.ts +1 -1
- package/dist/client/entities/ragemp/player/RagePlayer.d.ts +2 -2
- package/dist/client/entities/ragemp/player/RagePlayersManager.d.ts +2 -2
- package/dist/client/entities/ragemp/vehicle/RageVehicle.d.ts +2 -2
- package/dist/client/entities/ragemp/vehicle/RageVehiclesManager.d.ts +1 -1
- package/dist/client/entities/ragemp/worldObject/RageWorldObject.d.ts +2 -2
- package/dist/client/entities/ragemp/worldObject/RageWorldObjectsIterator.d.ts +3 -3
- package/dist/client/entities/ragemp/worldObject/RageWorldObjectsManager.d.ts +3 -3
- package/dist/client/factories/common/IManagersFactory.d.ts +3 -3
- package/dist/client/factories/ragemp/RageManagersFactory.d.ts +1 -1
- package/dist/client/net/common/INetManager.d.ts +2 -2
- package/dist/client/net/common/events/IEventsManager.d.ts +2 -2
- package/dist/client/net/common/events/types.d.ts +1 -1
- package/dist/client/net/common/rpc/IRPCManager.d.ts +1 -1
- package/dist/client/net/ragemp/RageNetManager.d.ts +1 -1
- package/dist/client/net/ragemp/events/RageEventsManager.d.ts +3 -3
- package/dist/client/net/ragemp/rpc/RageRPCManager.d.ts +2 -2
- package/dist/client/utils/ragemp/RageUtilsManager.d.ts +1 -1
- package/dist/server/RockMod.d.ts +4 -4
- package/dist/server/entities/altv/baseObject/AltVBaseObject.d.ts +1 -1
- package/dist/server/entities/altv/baseObject/AltVBaseObjectsIterator.d.ts +2 -2
- package/dist/server/entities/altv/baseObject/AltVBaseObjectsManager.d.ts +2 -2
- package/dist/server/entities/altv/blip/AltVBlip.d.ts +3 -3
- package/dist/server/entities/altv/blip/AltVBlipsManager.d.ts +1 -1
- package/dist/server/entities/altv/colshape/AltVCircleColshape.d.ts +2 -2
- package/dist/server/entities/altv/colshape/AltVColshape.d.ts +1 -1
- package/dist/server/entities/altv/colshape/AltVColshapesManager.d.ts +2 -2
- package/dist/server/entities/altv/colshape/AltVCuboidColshape.d.ts +2 -2
- package/dist/server/entities/altv/colshape/AltVCylinderColshape.d.ts +2 -2
- package/dist/server/entities/altv/colshape/AltVRectangleColshape.d.ts +2 -2
- package/dist/server/entities/altv/colshape/AltVSphereColshape.d.ts +2 -2
- package/dist/server/entities/altv/entity/AltVEntitiesManager.d.ts +2 -2
- package/dist/server/entities/altv/entity/AltVEntity.d.ts +2 -2
- package/dist/server/entities/altv/marker/AltVMarker.d.ts +4 -4
- package/dist/server/entities/altv/marker/AltVMarkersManager.d.ts +1 -1
- package/dist/server/entities/altv/object/AltVObject.d.ts +2 -2
- package/dist/server/entities/altv/object/AltVObjectsManager.d.ts +1 -1
- package/dist/server/entities/altv/ped/AltVPed.d.ts +2 -2
- package/dist/server/entities/altv/ped/AltVPedsManager.d.ts +1 -1
- package/dist/server/entities/altv/player/AltVPlayer.d.ts +6 -6
- package/dist/server/entities/altv/player/AltVPlayersManager.d.ts +2 -2
- package/dist/server/entities/altv/vehicle/AltVVehicle.d.ts +3 -3
- package/dist/server/entities/altv/vehicle/AltVVehiclesManager.d.ts +2 -2
- package/dist/server/entities/altv/worldObject/AltVWorldObject.d.ts +2 -2
- package/dist/server/entities/altv/worldObject/AltVWorldObjectsIterator.d.ts +3 -3
- package/dist/server/entities/altv/worldObject/AltVWorldObjectsManager.d.ts +3 -3
- package/dist/server/entities/common/baseObject/IBaseObject.d.ts +1 -1
- package/dist/server/entities/common/baseObject/IBaseObjectsIterator.d.ts +1 -1
- package/dist/server/entities/common/baseObject/IBaseObjectsManager.d.ts +3 -3
- package/dist/server/entities/common/blip/IBlip.d.ts +2 -2
- package/dist/server/entities/common/blip/IBlipsManager.d.ts +2 -2
- package/dist/server/entities/common/colshape/ICircleColshape.d.ts +1 -1
- package/dist/server/entities/common/colshape/IColshape.d.ts +1 -1
- package/dist/server/entities/common/colshape/IColshapesManager.d.ts +8 -8
- package/dist/server/entities/common/colshape/ICuboidColshape.d.ts +1 -1
- package/dist/server/entities/common/colshape/ICylinderColshape.d.ts +1 -1
- package/dist/server/entities/common/colshape/IRectangleColshape.d.ts +1 -1
- package/dist/server/entities/common/colshape/ISphereColshape.d.ts +1 -1
- package/dist/server/entities/common/entity/IEntitiesManager.d.ts +3 -3
- package/dist/server/entities/common/entity/IEntity.d.ts +2 -2
- package/dist/server/entities/common/marker/IMarker.d.ts +3 -3
- package/dist/server/entities/common/marker/IMarkersManager.d.ts +4 -4
- package/dist/server/entities/common/object/IObject.d.ts +1 -1
- package/dist/server/entities/common/object/IObjectsManager.d.ts +2 -2
- package/dist/server/entities/common/ped/IPed.d.ts +1 -1
- package/dist/server/entities/common/ped/IPedsManager.d.ts +2 -2
- package/dist/server/entities/common/player/IPlayer.d.ts +5 -5
- package/dist/server/entities/common/player/IPlayersManager.d.ts +2 -2
- package/dist/server/entities/common/vehicle/IVehicle.d.ts +3 -3
- package/dist/server/entities/common/vehicle/IVehiclesManager.d.ts +2 -2
- package/dist/server/entities/common/worldObject/IWorldObject.d.ts +2 -2
- package/dist/server/entities/common/worldObject/IWorldObjectsIterator.d.ts +3 -3
- package/dist/server/entities/common/worldObject/IWorldObjectsManager.d.ts +4 -4
- package/dist/server/entities/mock/baseObject/MockBaseObject.d.ts +3 -3
- package/dist/server/entities/mock/baseObject/MockBaseObjectsIterator.d.ts +2 -2
- package/dist/server/entities/mock/baseObject/MockBaseObjectsManager.d.ts +3 -3
- package/dist/server/entities/mock/blip/MockBlip.d.ts +3 -3
- package/dist/server/entities/mock/blip/MockBlipsManager.d.ts +1 -1
- package/dist/server/entities/mock/colshape/MockCircleColshape.d.ts +2 -2
- package/dist/server/entities/mock/colshape/MockColshape.d.ts +2 -2
- package/dist/server/entities/mock/colshape/MockColshapesManager.d.ts +2 -2
- package/dist/server/entities/mock/colshape/MockCuboidColshape.d.ts +2 -2
- package/dist/server/entities/mock/colshape/MockCylinderColshape.d.ts +2 -2
- package/dist/server/entities/mock/colshape/MockRectangleColshape.d.ts +2 -2
- package/dist/server/entities/mock/colshape/MockSphereColshape.d.ts +2 -2
- package/dist/server/entities/mock/common/IMockEntity.d.ts +1 -1
- package/dist/server/entities/mock/entity/MockEntitiesManager.d.ts +3 -3
- package/dist/server/entities/mock/entity/MockEntity.d.ts +3 -3
- package/dist/server/entities/mock/marker/MockMarker.d.ts +3 -3
- package/dist/server/entities/mock/marker/MockMarkersManager.d.ts +1 -1
- package/dist/server/entities/mock/object/MockObject.d.ts +2 -2
- package/dist/server/entities/mock/object/MockObjectsManager.d.ts +1 -1
- package/dist/server/entities/mock/ped/MockPed.d.ts +2 -2
- package/dist/server/entities/mock/ped/MockPedsManager.d.ts +1 -1
- package/dist/server/entities/mock/player/MockPlayer.d.ts +6 -6
- package/dist/server/entities/mock/player/MockPlayersManager.d.ts +1 -1
- package/dist/server/entities/mock/vehicle/MockVehicle.d.ts +3 -3
- package/dist/server/entities/mock/vehicle/MockVehiclesManager.d.ts +1 -1
- package/dist/server/entities/mock/worldObject/MockWorldObject.d.ts +3 -3
- package/dist/server/entities/mock/worldObject/MockWorldObjectsIterator.d.ts +3 -3
- package/dist/server/entities/mock/worldObject/MockWorldObjectsManager.d.ts +3 -3
- package/dist/server/entities/ragemp/baseObject/RageBaseObject.d.ts +2 -2
- package/dist/server/entities/ragemp/baseObject/RageBaseObject.js +1 -1
- package/dist/server/entities/ragemp/baseObject/RageBaseObjectsIterator.d.ts +2 -2
- package/dist/server/entities/ragemp/baseObject/RageBaseObjectsManager.d.ts +2 -2
- package/dist/server/entities/ragemp/blip/RageBlip.d.ts +3 -3
- package/dist/server/entities/ragemp/blip/RageBlipsManager.d.ts +1 -1
- package/dist/server/entities/ragemp/colshape/RageCircleColshape.d.ts +2 -2
- package/dist/server/entities/ragemp/colshape/RageColshape.d.ts +1 -1
- package/dist/server/entities/ragemp/colshape/RageColshapesManager.d.ts +2 -2
- package/dist/server/entities/ragemp/colshape/RageCuboidColshape.d.ts +2 -2
- package/dist/server/entities/ragemp/colshape/RageCylinderColshape.d.ts +2 -2
- package/dist/server/entities/ragemp/colshape/RageRectangleColshape.d.ts +2 -2
- package/dist/server/entities/ragemp/colshape/RageSphereColshape.d.ts +2 -2
- package/dist/server/entities/ragemp/entity/RageEntitiesManager.d.ts +3 -3
- package/dist/server/entities/ragemp/entity/RageEntity.d.ts +2 -2
- package/dist/server/entities/ragemp/marker/RageMarker.d.ts +4 -4
- package/dist/server/entities/ragemp/marker/RageMarkersManager.d.ts +1 -1
- package/dist/server/entities/ragemp/object/RageObject.d.ts +2 -2
- package/dist/server/entities/ragemp/object/RageObjectsManager.d.ts +1 -1
- package/dist/server/entities/ragemp/ped/RagePed.d.ts +2 -2
- package/dist/server/entities/ragemp/ped/RagePedsManager.d.ts +1 -1
- package/dist/server/entities/ragemp/player/RagePlayer.d.ts +5 -5
- package/dist/server/entities/ragemp/player/RagePlayersManager.d.ts +2 -2
- package/dist/server/entities/ragemp/vehicle/RageVehicle.d.ts +3 -3
- package/dist/server/entities/ragemp/vehicle/RageVehiclesManager.d.ts +1 -1
- package/dist/server/entities/ragemp/worldObject/RageWorldObject.d.ts +2 -2
- package/dist/server/entities/ragemp/worldObject/RageWorldObjectsIterator.d.ts +3 -3
- package/dist/server/entities/ragemp/worldObject/RageWorldObjectsManager.d.ts +3 -3
- package/dist/server/factories/altv/AltVManagersFactory.d.ts +1 -1
- package/dist/server/factories/common/IManagersFactory.d.ts +3 -3
- package/dist/server/factories/mock/MockManagersFactory.d.ts +2 -2
- package/dist/server/factories/ragemp/RageManagersFactory.d.ts +1 -1
- package/dist/server/net/altv/AltVNetManager.d.ts +1 -1
- package/dist/server/net/altv/events/AltVEventsManager.d.ts +4 -4
- package/dist/server/net/altv/rpc/AltVRPCManager.d.ts +3 -3
- package/dist/server/net/common/INetManager.d.ts +2 -2
- package/dist/server/net/common/events/IEventsManager.d.ts +3 -3
- package/dist/server/net/common/events/types.d.ts +1 -1
- package/dist/server/net/common/rpc/IRPCManager.d.ts +2 -2
- package/dist/server/net/mock/MockNetManager.d.ts +1 -1
- package/dist/server/net/mock/events/MockEventsManager.d.ts +4 -4
- package/dist/server/net/mock/rpc/MockRPCManager.d.ts +4 -4
- package/dist/server/net/ragemp/RageNetManager.d.ts +1 -1
- package/dist/server/net/ragemp/events/RageEventsManager.d.ts +4 -4
- package/dist/server/net/ragemp/rpc/RageRPCManager.d.ts +3 -3
- package/dist/server/testing.d.ts +1 -1
- package/dist/server/utils/altv/AltVUtilsManager.d.ts +1 -1
- package/dist/server/utils/mock/MockUtilsManager.d.ts +1 -1
- package/dist/server/utils/ragemp/RageUtilsManager.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaseObjectsIterator } from "../../common/baseObject/IBaseObjectsIterator";
|
|
2
|
-
import { MockBaseObject } from "./MockBaseObject";
|
|
1
|
+
import { type IBaseObjectsIterator } from "../../common/baseObject/IBaseObjectsIterator";
|
|
2
|
+
import { type MockBaseObject } from "./MockBaseObject";
|
|
3
3
|
export declare class MockBaseObjectsIterator<T extends MockBaseObject> implements IBaseObjectsIterator<T> {
|
|
4
4
|
protected readonly _baseObjects: ReadonlyMap<number, T>;
|
|
5
5
|
constructor(baseObjects: ReadonlyMap<number, T>);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IBaseObjectsManager, IBaseObjectsManagerOptions } from "../../common/baseObject/IBaseObjectsManager";
|
|
2
|
-
import { MockBaseObject } from "./MockBaseObject";
|
|
1
|
+
import { type IBaseObjectsManager, type IBaseObjectsManagerOptions } from "../../common/baseObject/IBaseObjectsManager";
|
|
2
|
+
import { type MockBaseObject } from "./MockBaseObject";
|
|
3
3
|
import { MockBaseObjectsIterator } from "./MockBaseObjectsIterator";
|
|
4
|
-
import { BaseObjectType } from "../../../../shared";
|
|
4
|
+
import { type BaseObjectType } from "../../../../shared";
|
|
5
5
|
export interface IMockBaseObjectsManagerOptions extends IBaseObjectsManagerOptions {
|
|
6
6
|
}
|
|
7
7
|
export declare abstract class MockBaseObjectsManager<T extends MockBaseObject> implements IBaseObjectsManager<T> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MockWorldObject, IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
2
|
-
import { IBlip } from "../../common";
|
|
3
|
-
import { IBlipColor, IBlipSprite } from "../../../../shared";
|
|
1
|
+
import { MockWorldObject, type IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
2
|
+
import { type IBlip } from "../../common";
|
|
3
|
+
import { type IBlipColor, type IBlipSprite } from "../../../../shared";
|
|
4
4
|
export interface IMockBlipOptions extends IMockWorldObjectOptions {
|
|
5
5
|
alpha: number;
|
|
6
6
|
color: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBlipCreateOptions, IBlipsManager } from "../../common/blip/IBlipsManager";
|
|
1
|
+
import { type IBlipCreateOptions, type IBlipsManager } from "../../common/blip/IBlipsManager";
|
|
2
2
|
import { MockWorldObjectsManager } from "../worldObject/MockWorldObjectsManager";
|
|
3
3
|
import { MockBlip } from "./MockBlip";
|
|
4
4
|
export interface IMockBlipCreateOptions extends IBlipCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICircleColshape } from "../../common";
|
|
2
|
-
import { IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
1
|
+
import { type ICircleColshape } from "../../common";
|
|
2
|
+
import { type IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
3
3
|
export interface IMockCircleColshapeCreateOptions extends IMockColshapeOptions {
|
|
4
4
|
range: number;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IColshape } from "../../common/colshape/IColshape";
|
|
2
|
-
import { MockWorldObject, IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
1
|
+
import { type IColshape } from "../../common/colshape/IColshape";
|
|
2
|
+
import { MockWorldObject, type IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
3
3
|
export interface IMockColshapeOptions extends IMockWorldObjectOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare abstract class MockColshape extends MockWorldObject implements IColshape {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ICircleColshapeCreateOptions, IColshapesManager, ICuboidColshapeCreateOptions, ICylinderColshapeCreateOptions, IRectangleColshapeCreateOptions, ISphereColshapeCreateOptions } from "../../common";
|
|
1
|
+
import { type ICircleColshapeCreateOptions, type IColshapesManager, type ICuboidColshapeCreateOptions, type ICylinderColshapeCreateOptions, type IRectangleColshapeCreateOptions, type ISphereColshapeCreateOptions } from "../../common";
|
|
2
2
|
import { MockWorldObjectsManager } from "../worldObject/MockWorldObjectsManager";
|
|
3
3
|
import { MockCircleColshape } from "./MockCircleColshape";
|
|
4
4
|
import { MockCuboidColshape } from "./MockCuboidColshape";
|
|
5
5
|
import { MockCylinderColshape } from "./MockCylinderColshape";
|
|
6
6
|
import { MockRectangleColshape } from "./MockRectangleColshape";
|
|
7
7
|
import { MockSphereColshape } from "./MockSphereColshape";
|
|
8
|
-
import { MockColshape } from "./MockColshape";
|
|
8
|
+
import { type MockColshape } from "./MockColshape";
|
|
9
9
|
export interface IMockCircleColshapeCreateOptions extends ICircleColshapeCreateOptions {
|
|
10
10
|
}
|
|
11
11
|
export interface IMockCuboidColshapeCreateOptions extends ICuboidColshapeCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICuboidColshape } from "../../common";
|
|
2
|
-
import { IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
1
|
+
import { type ICuboidColshape } from "../../common";
|
|
2
|
+
import { type IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
3
3
|
export interface IMockCuboidColshapeCreateOptions extends IMockColshapeOptions {
|
|
4
4
|
width: number;
|
|
5
5
|
depth: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICylinderColshape } from "../../common";
|
|
2
|
-
import { IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
1
|
+
import { type ICylinderColshape } from "../../common";
|
|
2
|
+
import { type IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
3
3
|
export interface IMockCylinderColshapeCreateOptions extends IMockColshapeOptions {
|
|
4
4
|
height: number;
|
|
5
5
|
range: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRectangleColshape } from "../../common";
|
|
2
|
-
import { IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
1
|
+
import { type IRectangleColshape } from "../../common";
|
|
2
|
+
import { type IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
3
3
|
export interface IMockRectangleColshapeCreateOptions extends IMockColshapeOptions {
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISphereColshape } from "../../common";
|
|
2
|
-
import { IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
1
|
+
import { type ISphereColshape } from "../../common";
|
|
2
|
+
import { type IMockColshapeOptions, MockColshape } from "./MockColshape";
|
|
3
3
|
export interface IMockSphereColshapeCreateOptions extends IMockColshapeOptions {
|
|
4
4
|
range: number;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEntitiesManager } from "../../common/entity/IEntitiesManager";
|
|
2
|
-
import { MockEntity } from "./MockEntity";
|
|
3
|
-
import { IMockWorldObjectsManagerOptions, MockWorldObjectsManager } from "../worldObject/MockWorldObjectsManager";
|
|
1
|
+
import { type IEntitiesManager } from "../../common/entity/IEntitiesManager";
|
|
2
|
+
import { type MockEntity } from "./MockEntity";
|
|
3
|
+
import { type IMockWorldObjectsManagerOptions, MockWorldObjectsManager } from "../worldObject/MockWorldObjectsManager";
|
|
4
4
|
export interface IMockEntitiesManagerOptions extends IMockWorldObjectsManagerOptions {
|
|
5
5
|
}
|
|
6
6
|
export declare abstract class MockEntitiesManager<T extends MockEntity> extends MockWorldObjectsManager<T> implements IEntitiesManager<T> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEntity } from "../../common/entity/IEntity";
|
|
2
|
-
import { MockWorldObject, IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
3
|
-
import { IVector3D, Vector3D } from "../../../../shared/common/utils";
|
|
1
|
+
import { type IEntity } from "../../common/entity/IEntity";
|
|
2
|
+
import { MockWorldObject, type IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
3
|
+
import { type IVector3D, Vector3D } from "../../../../shared/common/utils";
|
|
4
4
|
export interface IMockEntityOptions extends IMockWorldObjectOptions {
|
|
5
5
|
model: number;
|
|
6
6
|
rotation: IVector3D;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IMarker } from "../../common/marker/IMarker";
|
|
2
|
-
import { MockWorldObject, IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
3
|
-
import { IRGBA, IVector3D } from "../../../../shared/common/utils";
|
|
1
|
+
import { type IMarker } from "../../common/marker/IMarker";
|
|
2
|
+
import { MockWorldObject, type IMockWorldObjectOptions } from "../worldObject/MockWorldObject";
|
|
3
|
+
import { type IRGBA, type IVector3D } from "../../../../shared/common/utils";
|
|
4
4
|
import { IMarkerType } from "../../../../shared";
|
|
5
5
|
export interface IMockMarkerOptions extends IMockWorldObjectOptions {
|
|
6
6
|
markerType?: IMarkerType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMarkerCreateOptions, IMarkersManager } from "../../common/marker/IMarkersManager";
|
|
1
|
+
import { type IMarkerCreateOptions, type IMarkersManager } from "../../common/marker/IMarkersManager";
|
|
2
2
|
import { MockWorldObjectsManager } from "../worldObject/MockWorldObjectsManager";
|
|
3
3
|
import { MockMarker } from "./MockMarker";
|
|
4
4
|
export interface IMockMarkerCreateOptions extends IMarkerCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IObject } from "../../common/object/IObject";
|
|
2
|
-
import { MockEntity, IMockEntityOptions } from "../entity/MockEntity";
|
|
1
|
+
import { type IObject } from "../../common/object/IObject";
|
|
2
|
+
import { MockEntity, type IMockEntityOptions } from "../entity/MockEntity";
|
|
3
3
|
export interface IMockObjectOptions extends IMockEntityOptions {
|
|
4
4
|
alpha?: number;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IObjectCreateOptions, IObjectsManager } from "../../common/object/IObjectsManager";
|
|
1
|
+
import { type IObjectCreateOptions, type IObjectsManager } from "../../common/object/IObjectsManager";
|
|
2
2
|
import { MockEntitiesManager } from "../entity/MockEntitiesManager";
|
|
3
3
|
import { MockObject } from "./MockObject";
|
|
4
4
|
export interface IMockObjectCreateOptions extends IObjectCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IPed } from "../../common/ped/IPed";
|
|
2
|
-
import { MockEntity, IMockEntityOptions } from "../entity/MockEntity";
|
|
1
|
+
import { type IPed } from "../../common/ped/IPed";
|
|
2
|
+
import { MockEntity, type IMockEntityOptions } from "../entity/MockEntity";
|
|
3
3
|
export interface IMockPedOptions extends IMockEntityOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class MockPed extends MockEntity implements IPed {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPedCreateOptions, IPedsManager } from "../../common/ped/IPedsManager";
|
|
1
|
+
import { type IPedCreateOptions, type IPedsManager } from "../../common/ped/IPedsManager";
|
|
2
2
|
import { MockEntitiesManager } from "../entity/MockEntitiesManager";
|
|
3
3
|
import { MockPed } from "./MockPed";
|
|
4
4
|
export interface IMockPedCreateOptions extends IPedCreateOptions {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IPlayer } from "../../common/player/IPlayer";
|
|
2
|
-
import { MockEntity, IMockEntityOptions } from "../entity/MockEntity";
|
|
3
|
-
import { Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
|
-
import { RageVehicle } from "../../ragemp/vehicle/RageVehicle";
|
|
5
|
-
import { IMockClientRPC } from "../../../net/mock/rpc/MockRPCManager";
|
|
6
|
-
import { IServerToClientEvents } from "../../../../shared";
|
|
1
|
+
import { type IPlayer } from "../../common/player/IPlayer";
|
|
2
|
+
import { MockEntity, type IMockEntityOptions } from "../entity/MockEntity";
|
|
3
|
+
import { type Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
|
+
import { type RageVehicle } from "../../ragemp/vehicle/RageVehicle";
|
|
5
|
+
import { type IMockClientRPC } from "../../../net/mock/rpc/MockRPCManager";
|
|
6
|
+
import { type IServerToClientEvents } from "../../../../shared";
|
|
7
7
|
export interface IMockPlayerOptions extends IMockEntityOptions {
|
|
8
8
|
name?: string;
|
|
9
9
|
socialClub?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPlayersManager } from "../../common/player/IPlayersManager";
|
|
1
|
+
import { type IPlayersManager } from "../../common/player/IPlayersManager";
|
|
2
2
|
import { MockPlayer } from "./MockPlayer";
|
|
3
3
|
import { MockEntitiesManager } from "../entity/MockEntitiesManager";
|
|
4
4
|
import { Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IVehicle } from "../../common/vehicle/IVehicle";
|
|
2
|
-
import { MockEntity, IMockEntityOptions } from "../entity/MockEntity";
|
|
1
|
+
import { type IVehicle } from "../../common/vehicle/IVehicle";
|
|
2
|
+
import { MockEntity, type IMockEntityOptions } from "../entity/MockEntity";
|
|
3
3
|
import { RGBA } from "../../../../shared/common/utils";
|
|
4
|
-
import { MockPlayer } from "../player/MockPlayer";
|
|
4
|
+
import { type MockPlayer } from "../player/MockPlayer";
|
|
5
5
|
export interface IMockVehicleOptions extends IMockEntityOptions {
|
|
6
6
|
engine?: boolean;
|
|
7
7
|
locked?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IVehicleCreateOptions, IVehiclesManager } from "../../common/vehicle/IVehiclesManager";
|
|
1
|
+
import { type IVehicleCreateOptions, type IVehiclesManager } from "../../common/vehicle/IVehiclesManager";
|
|
2
2
|
import { MockEntitiesManager } from "../entity/MockEntitiesManager";
|
|
3
3
|
import { MockVehicle } from "./MockVehicle";
|
|
4
4
|
export interface IMockVehicleCreateOptions extends IVehicleCreateOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObject } from "../../common/worldObject/IWorldObject";
|
|
2
|
-
import { MockBaseObject, IMockBaseObjectOptions } from "../baseObject/MockBaseObject";
|
|
3
|
-
import { IVector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
1
|
+
import { type IWorldObject } from "../../common/worldObject/IWorldObject";
|
|
2
|
+
import { MockBaseObject, type IMockBaseObjectOptions } from "../baseObject/MockBaseObject";
|
|
3
|
+
import { type IVector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
4
|
export interface IMockWorldObjectOptions extends IMockBaseObjectOptions {
|
|
5
5
|
position: IVector3D;
|
|
6
6
|
dimension: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator";
|
|
2
|
-
import { MockWorldObject } from "./MockWorldObject";
|
|
1
|
+
import { type IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator";
|
|
2
|
+
import { type MockWorldObject } from "./MockWorldObject";
|
|
3
3
|
import { MockBaseObjectsIterator } from "../baseObject/MockBaseObjectsIterator";
|
|
4
|
-
import { Vector2D, Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
|
+
import { type Vector2D, type Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
5
5
|
export declare class MockWorldObjectsIterator<T extends MockWorldObject> extends MockBaseObjectsIterator<T> implements IWorldObjectsIterator<T> {
|
|
6
6
|
constructor(baseObjects: ReadonlyMap<number, T>);
|
|
7
7
|
dimension(value: number): IterableIterator<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObjectsManager } from "../../common/worldObject/IWorldObjectsManager";
|
|
2
|
-
import { MockWorldObject } from "./MockWorldObject";
|
|
3
|
-
import { IMockBaseObjectsManagerOptions, MockBaseObjectsManager } from "../baseObject/MockBaseObjectsManager";
|
|
1
|
+
import { type IWorldObjectsManager } from "../../common/worldObject/IWorldObjectsManager";
|
|
2
|
+
import { type MockWorldObject } from "./MockWorldObject";
|
|
3
|
+
import { type IMockBaseObjectsManagerOptions, MockBaseObjectsManager } from "../baseObject/MockBaseObjectsManager";
|
|
4
4
|
import { MockWorldObjectsIterator } from "./MockWorldObjectsIterator";
|
|
5
5
|
export interface IMockWorldObjectsManagerOptions extends IMockBaseObjectsManagerOptions {
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaseObject, IBaseObjectOptions } from "../../common/baseObject/IBaseObject";
|
|
2
|
-
import { BaseObjectType } from "../../../../shared";
|
|
1
|
+
import { type IBaseObject, type IBaseObjectOptions } from "../../common/baseObject/IBaseObject";
|
|
2
|
+
import { type BaseObjectType } from "../../../../shared";
|
|
3
3
|
export interface IRageBaseObjectOptions<T extends EntityMp> extends IBaseObjectOptions {
|
|
4
4
|
mpEntity: T;
|
|
5
5
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RageBaseObject = void 0;
|
|
4
4
|
// RAGEMP BUG: event 'entityDestroyed' is not callable
|
|
5
|
-
const unsupportedRageEntityTypes = new Set(["blip", "colshape", "object", "vehicle"]);
|
|
5
|
+
const unsupportedRageEntityTypes = new Set(["blip", "colshape", "object", "ped", "vehicle"]);
|
|
6
6
|
class RageBaseObject {
|
|
7
7
|
_mpEntity;
|
|
8
8
|
get id() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaseObjectsIterator } from "../../common/baseObject/IBaseObjectsIterator";
|
|
2
|
-
import { RageBaseObject } from "./RageBaseObject";
|
|
1
|
+
import { type IBaseObjectsIterator } from "../../common/baseObject/IBaseObjectsIterator";
|
|
2
|
+
import { type RageBaseObject } from "./RageBaseObject";
|
|
3
3
|
export declare class RageBaseObjectsIterator<T extends RageBaseObject> implements IBaseObjectsIterator<T> {
|
|
4
4
|
private readonly _baseObjects;
|
|
5
5
|
constructor(baseObjects: ReadonlyMap<number, T>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaseObjectsManager, IBaseObjectsManagerOptions } from "../../common/baseObject/IBaseObjectsManager";
|
|
2
|
-
import { RageBaseObject } from "./RageBaseObject";
|
|
1
|
+
import { type IBaseObjectsManager, type IBaseObjectsManagerOptions } from "../../common/baseObject/IBaseObjectsManager";
|
|
2
|
+
import { type RageBaseObject } from "./RageBaseObject";
|
|
3
3
|
import { RageBaseObjectsIterator } from "./RageBaseObjectsIterator";
|
|
4
4
|
export interface IRageBaseObjectsManagerOptions extends IBaseObjectsManagerOptions {
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
2
|
-
import { IBlip } from "../../common";
|
|
3
|
-
import { IBlipColor, IBlipSprite } from "../../../../shared";
|
|
1
|
+
import { type IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
2
|
+
import { type IBlip } from "../../common";
|
|
3
|
+
import { type IBlipColor, type IBlipSprite } from "../../../../shared";
|
|
4
4
|
export interface IRageBlipOptions extends IRageWorldObjectOptions<EntityMp> {
|
|
5
5
|
}
|
|
6
6
|
export declare class RageBlip extends RageWorldObject<EntityMp> implements IBlip {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBlipCreateOptions, IBlipsManager } from "../../common";
|
|
1
|
+
import { type IBlipCreateOptions, type IBlipsManager } from "../../common";
|
|
2
2
|
import { RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager";
|
|
3
3
|
import { RageBlip } from "./RageBlip";
|
|
4
4
|
export interface IRageBlipCreateOptions extends IBlipCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
2
|
-
import { ICircleColshape } from "../../common";
|
|
1
|
+
import { type IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
2
|
+
import { type ICircleColshape } from "../../common";
|
|
3
3
|
export interface IRageCircleColshapeOptions extends IRageColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class RageCircleColshape extends RageColshape implements ICircleColshape {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
1
|
+
import { type IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
2
2
|
export interface IRageColshapeOptions extends IRageWorldObjectOptions<ColshapeMp> {
|
|
3
3
|
}
|
|
4
4
|
export declare abstract class RageColshape extends RageWorldObject<ColshapeMp> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager";
|
|
2
|
-
import { RageColshape } from "./RageColshape";
|
|
3
|
-
import { ICircleColshapeCreateOptions, IColshapesManager, ICuboidColshapeCreateOptions, ICylinderColshapeCreateOptions, IRectangleColshapeCreateOptions, ISphereColshapeCreateOptions } from "../../common";
|
|
2
|
+
import { type RageColshape } from "./RageColshape";
|
|
3
|
+
import { type ICircleColshapeCreateOptions, type IColshapesManager, type ICuboidColshapeCreateOptions, type ICylinderColshapeCreateOptions, type IRectangleColshapeCreateOptions, type ISphereColshapeCreateOptions } from "../../common";
|
|
4
4
|
import { RageCircleColshape } from "./RageCircleColshape";
|
|
5
5
|
import { RageCuboidColshape } from "./RageCuboidColshape";
|
|
6
6
|
import { RageCylinderColshape } from "./RageCylinderColshape";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
2
|
-
import { ICuboidColshape } from "../../common";
|
|
1
|
+
import { type IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
2
|
+
import { type ICuboidColshape } from "../../common";
|
|
3
3
|
export interface IRageCuboidColshapeOptions extends IRageColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class RageCuboidColshape extends RageColshape implements ICuboidColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICylinderColshape } from "../../common";
|
|
2
|
-
import { IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
1
|
+
import { type ICylinderColshape } from "../../common";
|
|
2
|
+
import { type IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
3
3
|
export interface IRageCylinderColshapeOptions extends IRageColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class RageCylinderColshape extends RageColshape implements ICylinderColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRectangleColshape } from "../../common";
|
|
2
|
-
import { IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
1
|
+
import { type IRectangleColshape } from "../../common";
|
|
2
|
+
import { type IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
3
3
|
export interface IRageRectangleColshapeOptions extends IRageColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class RageRectangleColshape extends RageColshape implements IRectangleColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISphereColshape } from "../../common";
|
|
2
|
-
import { IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
1
|
+
import { type ISphereColshape } from "../../common";
|
|
2
|
+
import { type IRageColshapeOptions, RageColshape } from "./RageColshape";
|
|
3
3
|
export interface IRageSphereColshapeOptions extends IRageColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class RageSphereColshape extends RageColshape implements ISphereColshape {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEntitiesManager } from "../../common/entity/IEntitiesManager";
|
|
2
|
-
import { RageEntity } from "./RageEntity";
|
|
3
|
-
import { IRageWorldObjectsManagerOptions, RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager";
|
|
1
|
+
import { type IEntitiesManager } from "../../common/entity/IEntitiesManager";
|
|
2
|
+
import { type RageEntity } from "./RageEntity";
|
|
3
|
+
import { type IRageWorldObjectsManagerOptions, RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager";
|
|
4
4
|
export interface IRageEntitiesManagerOptions extends IRageWorldObjectsManagerOptions {
|
|
5
5
|
}
|
|
6
6
|
export declare abstract class RageEntitiesManager<T extends RageEntity<EntityMp>> extends RageWorldObjectsManager<T> implements IEntitiesManager<T> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntity } from "../../common/entity/IEntity";
|
|
2
|
-
import { IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
1
|
+
import { type IEntity } from "../../common/entity/IEntity";
|
|
2
|
+
import { type IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
3
3
|
import { Vector3D } from "../../../../shared/common/utils";
|
|
4
4
|
export interface IRageEntityOptions<T extends EntityMp> extends IRageWorldObjectOptions<T> {
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IMarker } from "../../common";
|
|
2
|
-
import { IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
3
|
-
import { IRGBA, IVector3D } from "../../../../shared/common/utils";
|
|
4
|
-
import { IMarkerType } from "../../../../shared";
|
|
1
|
+
import { type IMarker } from "../../common";
|
|
2
|
+
import { type IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject";
|
|
3
|
+
import { type IRGBA, type IVector3D } from "../../../../shared/common/utils";
|
|
4
|
+
import { type IMarkerType } from "../../../../shared";
|
|
5
5
|
export interface IRageMarkerOptions extends IRageWorldObjectOptions<MarkerMp> {
|
|
6
6
|
}
|
|
7
7
|
export declare class RageMarker extends RageWorldObject<MarkerMp> implements IMarker {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMarkerCreateOptions, IMarkersManager } from "../../common";
|
|
1
|
+
import { type IMarkerCreateOptions, type IMarkersManager } from "../../common";
|
|
2
2
|
import { RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager";
|
|
3
3
|
import { RageMarker } from "./RageMarker";
|
|
4
4
|
export interface IRageMarkerCreateOptions extends IMarkerCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
-
import { IObject } from "../../common/object/IObject";
|
|
1
|
+
import { type IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
+
import { type IObject } from "../../common/object/IObject";
|
|
3
3
|
export interface IRageObjectOptions extends IRageEntityOptions<ObjectMp> {
|
|
4
4
|
}
|
|
5
5
|
export declare class RageObject extends RageEntity<ObjectMp> implements IObject {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IObjectCreateOptions, IObjectsManager } from "../../common/object/IObjectsManager";
|
|
1
|
+
import { type IObjectCreateOptions, type IObjectsManager } from "../../common/object/IObjectsManager";
|
|
2
2
|
import { RageEntitiesManager } from "../entity/RageEntitiesManager";
|
|
3
3
|
import { RageObject } from "./RageObject";
|
|
4
4
|
export interface IRageObjectCreateOptions extends IObjectCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
-
import { IPed } from "../../common";
|
|
1
|
+
import { type IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
+
import { type IPed } from "../../common";
|
|
3
3
|
export interface IRagePedOptions extends IRageEntityOptions<PedMp> {
|
|
4
4
|
}
|
|
5
5
|
export declare class RagePed extends RageEntity<PedMp> implements IPed {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPedCreateOptions, IPedsManager } from "../../common";
|
|
1
|
+
import { type IPedCreateOptions, type IPedsManager } from "../../common";
|
|
2
2
|
import { RageEntitiesManager } from "../entity/RageEntitiesManager";
|
|
3
3
|
import { RagePed } from "./RagePed";
|
|
4
4
|
export interface IRagePedCreateOptions extends IPedCreateOptions {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
-
import { ICustomization, IPlayer } from "../../common/player/IPlayer";
|
|
3
|
-
import { RageVehicle } from "../vehicle/RageVehicle";
|
|
4
|
-
import { IServerToClientEvents, Vector3D } from "../../../../shared";
|
|
5
|
-
import { IClientRPCList } from "../../../../shared/net/common/rpc/types";
|
|
1
|
+
import { type IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
+
import { type ICustomization, type IPlayer } from "../../common/player/IPlayer";
|
|
3
|
+
import { type RageVehicle } from "../vehicle/RageVehicle";
|
|
4
|
+
import { type IServerToClientEvents, type Vector3D } from "../../../../shared";
|
|
5
|
+
import { type IClientRPCList } from "../../../../shared/net/common/rpc/types";
|
|
6
6
|
interface IRagePlayerOptions extends IRageEntityOptions<PlayerMp> {
|
|
7
7
|
}
|
|
8
8
|
export declare class RagePlayer extends RageEntity<PlayerMp> implements IPlayer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RageEntitiesManager } from "../entity/RageEntitiesManager";
|
|
2
2
|
import { RagePlayer } from "./RagePlayer";
|
|
3
|
-
import { IPlayersManager } from "../../common/player/IPlayersManager";
|
|
4
|
-
import { RageNetManager } from "../../../net/ragemp/RageNetManager";
|
|
3
|
+
import { type IPlayersManager } from "../../common/player/IPlayersManager";
|
|
4
|
+
import { type RageNetManager } from "../../../net/ragemp/RageNetManager";
|
|
5
5
|
export declare class RagePlayersManager extends RageEntitiesManager<RagePlayer> implements IPlayersManager {
|
|
6
6
|
constructor(net: RageNetManager);
|
|
7
7
|
getByName(name: string): RagePlayer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
-
import { IVehicle } from "../../common/vehicle/IVehicle";
|
|
1
|
+
import { type IRageEntityOptions, RageEntity } from "../entity/RageEntity";
|
|
2
|
+
import { type IVehicle } from "../../common/vehicle/IVehicle";
|
|
3
3
|
import { RGBA } from "../../../../shared/common/utils";
|
|
4
|
-
import { RagePlayer } from "../player/RagePlayer";
|
|
4
|
+
import { type RagePlayer } from "../player/RagePlayer";
|
|
5
5
|
export interface IRageVehicleOptions extends IRageEntityOptions<VehicleMp> {
|
|
6
6
|
}
|
|
7
7
|
export declare class RageVehicle extends RageEntity<VehicleMp> implements IVehicle {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RageEntitiesManager } from "../entity/RageEntitiesManager";
|
|
2
2
|
import { RageVehicle } from "./RageVehicle";
|
|
3
|
-
import { IVehicleCreateOptions, IVehiclesManager } from "../../common/vehicle/IVehiclesManager";
|
|
3
|
+
import { type IVehicleCreateOptions, type IVehiclesManager } from "../../common/vehicle/IVehiclesManager";
|
|
4
4
|
export interface IRageVehicleCreateOptions extends IVehicleCreateOptions {
|
|
5
5
|
}
|
|
6
6
|
export declare class RageVehiclesManager extends RageEntitiesManager<RageVehicle> implements IVehiclesManager {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IWorldObject } from "../../common/worldObject/IWorldObject";
|
|
2
|
-
import { IRageBaseObjectOptions, RageBaseObject } from "../baseObject/RageBaseObject";
|
|
1
|
+
import { type IWorldObject } from "../../common/worldObject/IWorldObject";
|
|
2
|
+
import { type IRageBaseObjectOptions, RageBaseObject } from "../baseObject/RageBaseObject";
|
|
3
3
|
import { Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
4
|
export interface IRageWorldObjectOptions<T extends EntityMp> extends IRageBaseObjectOptions<T> {
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RageWorldObject } from "./RageWorldObject";
|
|
1
|
+
import { type RageWorldObject } from "./RageWorldObject";
|
|
2
2
|
import { RageBaseObjectsIterator } from "../baseObject/RageBaseObjectsIterator";
|
|
3
|
-
import { IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator";
|
|
4
|
-
import { Vector2D, Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
3
|
+
import { type IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator";
|
|
4
|
+
import { type Vector2D, type Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
5
5
|
export declare class RageWorldObjectsIterator<T extends RageWorldObject<EntityMp>> extends RageBaseObjectsIterator<T> implements IWorldObjectsIterator<T> {
|
|
6
6
|
constructor(baseObjects: ReadonlyMap<number, T>);
|
|
7
7
|
dimension(value: number): IterableIterator<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObjectsManager } from "../../common";
|
|
2
|
-
import { IRageBaseObjectsManagerOptions, RageBaseObjectsManager } from "../baseObject/RageBaseObjectsManager";
|
|
3
|
-
import { RageWorldObject } from "./RageWorldObject";
|
|
1
|
+
import { type IWorldObjectsManager } from "../../common";
|
|
2
|
+
import { type IRageBaseObjectsManagerOptions, RageBaseObjectsManager } from "../baseObject/RageBaseObjectsManager";
|
|
3
|
+
import { type RageWorldObject } from "./RageWorldObject";
|
|
4
4
|
import { RageWorldObjectsIterator } from "./RageWorldObjectsIterator";
|
|
5
5
|
export interface IRageWorldObjectsManagerOptions extends IRageBaseObjectsManagerOptions {
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IManagersFactory } from "../common/IManagersFactory";
|
|
1
|
+
import { type IManagersFactory } from "../common/IManagersFactory";
|
|
2
2
|
import { AltVNetManager } from "../../net/altv/AltVNetManager";
|
|
3
3
|
import { AltVBlipsManager } from "../../entities/altv/blip/AltVBlipsManager";
|
|
4
4
|
import { AltVColshapesManager } from "../../entities/altv/colshape/AltVColshapesManager";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { INetManager } from "../../net/common/INetManager";
|
|
2
|
-
import { IBlipsManager, IColshapesManager, IMarkersManager, IObjectsManager, IPedsManager, IPlayersManager, IVehiclesManager } from "../../entities";
|
|
3
|
-
import { IUtilsManager } from "../../utils";
|
|
1
|
+
import { type INetManager } from "../../net/common/INetManager";
|
|
2
|
+
import { type IBlipsManager, type IColshapesManager, type IMarkersManager, type IObjectsManager, type IPedsManager, type IPlayersManager, type IVehiclesManager } from "../../entities";
|
|
3
|
+
import { type IUtilsManager } from "../../utils";
|
|
4
4
|
export interface IManagersFactory {
|
|
5
5
|
createNetManager(): INetManager;
|
|
6
6
|
createBlipsManager(): IBlipsManager;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IManagersFactory } from "../common/IManagersFactory";
|
|
1
|
+
import { type IManagersFactory } from "../common/IManagersFactory";
|
|
2
2
|
import { MockNetManager } from "../../net/mock/MockNetManager";
|
|
3
3
|
import { MockPlayersManager } from "../../entities/mock/player/MockPlayersManager";
|
|
4
|
-
import { IUtilsManager } from "../../utils";
|
|
4
|
+
import { type IUtilsManager } from "../../utils";
|
|
5
5
|
import { MockBlipsManager } from "../../entities/mock/blip/MockBlipsManager";
|
|
6
6
|
import { MockColshapesManager } from "../../entities/mock/colshape/MockColshapesManager";
|
|
7
7
|
import { MockMarkersManager } from "../../entities/mock/marker/MockMarkersManager";
|