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,6 +1,6 @@
|
|
|
1
|
-
import { IEventsManager } from "../../common/events/IEventsManager";
|
|
2
|
-
import { IClientInternalEvents } from "@RockMod/client/net/common/events/types";
|
|
3
|
-
import { IClientToServerEvents, IServerToClientEvents } from "@shared/net/common/events/types";
|
|
1
|
+
import { type IEventsManager } from "../../common/events/IEventsManager";
|
|
2
|
+
import { type IClientInternalEvents } from "@RockMod/client/net/common/events/types";
|
|
3
|
+
import { type IClientToServerEvents, type IServerToClientEvents } from "@shared/net/common/events/types";
|
|
4
4
|
interface IRageClientInternalEvents extends IClientInternalEvents, IClientEvents {
|
|
5
5
|
}
|
|
6
6
|
export declare class RageEventsManager implements IEventsManager {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRPCManager } from "../../common/rpc/IRPCManager";
|
|
2
|
-
import { IClientRPCList, IServerRPCList } from "@shared/net/common/rpc/types";
|
|
1
|
+
import { type IRPCManager } from "../../common/rpc/IRPCManager";
|
|
2
|
+
import { type IClientRPCList, type IServerRPCList } from "@shared/net/common/rpc/types";
|
|
3
3
|
export declare class RageRPCManager implements IRPCManager {
|
|
4
4
|
register<K extends keyof IClientRPCList>(rpcName: K, handler: (...args: Parameters<IClientRPCList[K]>) => ReturnType<IClientRPCList[K]>): void;
|
|
5
5
|
unregister<K extends keyof IClientRPCList>(rpcName: K): void;
|
package/dist/server/RockMod.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { INetManager } from "./net/common/INetManager";
|
|
2
|
-
import { IBlipsManager, IColshapesManager, IMarkersManager, IObjectsManager, IPedsManager, IPlayersManager, IVehiclesManager } from "./entities";
|
|
3
|
-
import { IUtilsManager } from "./utils";
|
|
4
|
-
import { IManagersFactory } from "./factories/common/IManagersFactory";
|
|
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
|
+
import { type IManagersFactory } from "./factories/common/IManagersFactory";
|
|
5
5
|
type MultiplayerType = "RageMP" | "AltV" | "Mock";
|
|
6
6
|
export interface RockModOptions {
|
|
7
7
|
multiplayer: MultiplayerType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBaseObject, IBaseObjectOptions } from "../../common/baseObject/IBaseObject";
|
|
1
|
+
import { type IBaseObject, type IBaseObjectOptions } from "../../common/baseObject/IBaseObject";
|
|
2
2
|
import BaseObject = AltVServer.BaseObject;
|
|
3
3
|
import { BaseObjectType } from "../../../../shared";
|
|
4
4
|
export interface IAltVBaseObjectOptions<T extends BaseObject> extends IBaseObjectOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AltVBaseObject } from "./AltVBaseObject";
|
|
2
|
-
import { IBaseObjectsIterator } from "../../common/baseObject/IBaseObjectsIterator";
|
|
1
|
+
import { type AltVBaseObject } from "./AltVBaseObject";
|
|
2
|
+
import { type IBaseObjectsIterator } from "../../common/baseObject/IBaseObjectsIterator";
|
|
3
3
|
import BaseObject = AltVServer.BaseObject;
|
|
4
4
|
export declare class AltVBaseObjectsIterator<T extends AltVBaseObject<BaseObject>> implements IBaseObjectsIterator<T> {
|
|
5
5
|
private readonly _baseObjects;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaseObjectsManager, IBaseObjectsManagerOptions } from "../../common/baseObject/IBaseObjectsManager";
|
|
2
|
-
import { AltVBaseObject } from "./AltVBaseObject";
|
|
1
|
+
import { type IBaseObjectsManager, type IBaseObjectsManagerOptions } from "../../common/baseObject/IBaseObjectsManager";
|
|
2
|
+
import { type AltVBaseObject } from "./AltVBaseObject";
|
|
3
3
|
import { AltVBaseObjectsIterator } from "./AltVBaseObjectsIterator";
|
|
4
4
|
import BaseObject = AltVServer.BaseObject;
|
|
5
5
|
export interface IAltVBaseObjectsManagerOptions extends IBaseObjectsManagerOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AltVWorldObject, IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
2
|
-
import { IBlip } from "../../common";
|
|
3
|
-
import { IBlipColor, IBlipSprite } from "../../../../shared";
|
|
1
|
+
import { AltVWorldObject, type IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
2
|
+
import { type IBlip } from "../../common";
|
|
3
|
+
import { type IBlipColor, type IBlipSprite } from "../../../../shared";
|
|
4
4
|
export interface IAltVBlipOptions extends IAltVWorldObjectOptions<AltVServer.Blip> {
|
|
5
5
|
}
|
|
6
6
|
export declare class AltVBlip extends AltVWorldObject<AltVServer.Blip> implements IBlip {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBlipCreateOptions, IBlipsManager } from "../../common";
|
|
1
|
+
import { type IBlipCreateOptions, type IBlipsManager } from "../../common";
|
|
2
2
|
import { AltVWorldObjectsManager } from "../worldObject/AltVWorldObjectsManager";
|
|
3
3
|
import { AltVBlip } from "./AltVBlip";
|
|
4
4
|
export interface IAltVBlipCreateOptions extends IBlipCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICircleColshape } from "../../common";
|
|
2
|
-
import { AltVColshape, IAltVColshapeOptions } from "./AltVColshape";
|
|
1
|
+
import { type ICircleColshape } from "../../common";
|
|
2
|
+
import { AltVColshape, type IAltVColshapeOptions } from "./AltVColshape";
|
|
3
3
|
export interface IAltVCircleColshapeOptions extends IAltVColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class AltVCircleColshape extends AltVColshape implements ICircleColshape {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AltVWorldObject, IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
1
|
+
import { AltVWorldObject, type IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
2
2
|
import Colshape = AltVServer.Colshape;
|
|
3
3
|
export interface IAltVColshapeOptions extends IAltVWorldObjectOptions<Colshape> {
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { AltVWorldObjectsManager } from "../worldObject/AltVWorldObjectsManager";
|
|
3
|
-
import { AltVColshape } from "./AltVColshape";
|
|
3
|
+
import { type AltVColshape } from "./AltVColshape";
|
|
4
4
|
import { AltVCircleColshape } from "./AltVCircleColshape";
|
|
5
5
|
import { AltVCuboidColshape } from "./AltVCuboidColshape";
|
|
6
6
|
import { AltVCylinderColshape } from "./AltVCylinderColshape";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICuboidColshape } from "../../common";
|
|
2
|
-
import { AltVColshape, IAltVColshapeOptions } from "./AltVColshape";
|
|
1
|
+
import { type ICuboidColshape } from "../../common";
|
|
2
|
+
import { AltVColshape, type IAltVColshapeOptions } from "./AltVColshape";
|
|
3
3
|
export interface IAltVCuboidColshapeOptions extends IAltVColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class AltVCuboidColshape extends AltVColshape implements ICuboidColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICylinderColshape } from "../../common";
|
|
2
|
-
import { AltVColshape, IAltVColshapeOptions } from "./AltVColshape";
|
|
1
|
+
import { type ICylinderColshape } from "../../common";
|
|
2
|
+
import { AltVColshape, type IAltVColshapeOptions } from "./AltVColshape";
|
|
3
3
|
export interface IAltVCylinderColshapeOptions extends IAltVColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class AltVCylinderColshape extends AltVColshape implements ICylinderColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRectangleColshape } from "../../common";
|
|
2
|
-
import { AltVColshape, IAltVColshapeOptions } from "./AltVColshape";
|
|
1
|
+
import { type IRectangleColshape } from "../../common";
|
|
2
|
+
import { AltVColshape, type IAltVColshapeOptions } from "./AltVColshape";
|
|
3
3
|
export interface IAltVRectangleColshapeOptions extends IAltVColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class AltVRectangleColshape extends AltVColshape implements IRectangleColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISphereColshape } from "../../common";
|
|
2
|
-
import { AltVColshape, IAltVColshapeOptions } from "./AltVColshape";
|
|
1
|
+
import { type ISphereColshape } from "../../common";
|
|
2
|
+
import { AltVColshape, type IAltVColshapeOptions } from "./AltVColshape";
|
|
3
3
|
export interface IAltVSphereColshapeOptions extends IAltVColshapeOptions {
|
|
4
4
|
}
|
|
5
5
|
export declare class AltVSphereColshape extends AltVColshape implements ISphereColshape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntitiesManager } from "../../common/entity/IEntitiesManager";
|
|
2
|
-
import { AltVEntity } from "./AltVEntity";
|
|
1
|
+
import { type IEntitiesManager } from "../../common/entity/IEntitiesManager";
|
|
2
|
+
import { type AltVEntity } from "./AltVEntity";
|
|
3
3
|
import { AltVWorldObjectsManager } from "../worldObject/AltVWorldObjectsManager";
|
|
4
4
|
import Entity = AltVServer.Entity;
|
|
5
5
|
export declare abstract class AltVEntitiesManager<T extends AltVEntity<Entity>> extends AltVWorldObjectsManager<T> implements IEntitiesManager<T> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntity } from "../../common/entity/IEntity";
|
|
2
|
-
import { AltVWorldObject, IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
1
|
+
import { type IEntity } from "../../common/entity/IEntity";
|
|
2
|
+
import { AltVWorldObject, type IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
3
3
|
import Entity = AltVServer.Entity;
|
|
4
4
|
import { Vector3D } from "../../../../shared/common/utils";
|
|
5
5
|
export interface IAltVEntityOptions<T extends Entity> extends IAltVWorldObjectOptions<T> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AltVWorldObject, IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
1
|
+
import { AltVWorldObject, type IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject";
|
|
2
2
|
import Marker = AltVServer.Marker;
|
|
3
|
-
import { IMarker } from "../../common";
|
|
4
|
-
import { IRGBA, IVector3D } from "../../../../shared/common/utils";
|
|
5
|
-
import { IMarkerType } from "../../../../shared";
|
|
3
|
+
import { type IMarker } from "../../common";
|
|
4
|
+
import { type IRGBA, type IVector3D } from "../../../../shared/common/utils";
|
|
5
|
+
import { type IMarkerType } from "../../../../shared";
|
|
6
6
|
export interface IAltVMarkerOptions extends IAltVWorldObjectOptions<Marker> {
|
|
7
7
|
}
|
|
8
8
|
export declare class AltVMarker extends AltVWorldObject<Marker> implements IMarker {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMarkerCreateOptions, IMarkersManager } from "../../common";
|
|
1
|
+
import { type IMarkerCreateOptions, type IMarkersManager } from "../../common";
|
|
2
2
|
import { AltVWorldObjectsManager } from "../worldObject/AltVWorldObjectsManager";
|
|
3
3
|
import { AltVMarker } from "./AltVMarker";
|
|
4
4
|
export interface IAltVMarkerCreateOptions extends IMarkerCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AltVEntity, IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
|
-
import { IObject } from "../../common/object/IObject";
|
|
1
|
+
import { AltVEntity, type IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
|
+
import { type IObject } from "../../common/object/IObject";
|
|
3
3
|
export interface IAltVObjectOptions extends IAltVEntityOptions<AltVServer.Object> {
|
|
4
4
|
}
|
|
5
5
|
export declare class AltVObject extends AltVEntity<AltVServer.Object> 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 { AltVEntitiesManager } from "../entity/AltVEntitiesManager";
|
|
3
3
|
import { AltVObject } from "./AltVObject";
|
|
4
4
|
export interface IAltVObjectCreateOptions extends IObjectCreateOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AltVEntity, IAltVEntityOptions } from "../entity/AltVEntity";
|
|
1
|
+
import { AltVEntity, type IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
2
|
import Ped = AltVServer.Ped;
|
|
3
|
-
import { IPed } from "../../common";
|
|
3
|
+
import { type IPed } from "../../common";
|
|
4
4
|
export interface IAltVPedOptions extends IAltVEntityOptions<Ped> {
|
|
5
5
|
}
|
|
6
6
|
export declare class AltVPed extends AltVEntity<Ped> implements IPed {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPedCreateOptions, IPedsManager } from "../../common";
|
|
1
|
+
import { type IPedCreateOptions, type IPedsManager } from "../../common";
|
|
2
2
|
import { AltVEntitiesManager } from "../entity/AltVEntitiesManager";
|
|
3
3
|
import { AltVPed } from "./AltVPed";
|
|
4
4
|
export interface IAltVPedCreateOptions extends IPedCreateOptions {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AltVEntity, IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
|
-
import { ICustomization, IPlayer } from "../../common/player/IPlayer";
|
|
3
|
-
import { AltVVehicle } from "../vehicle/AltVVehicle";
|
|
1
|
+
import { AltVEntity, type IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
|
+
import { type ICustomization, type IPlayer } from "../../common/player/IPlayer";
|
|
3
|
+
import { type AltVVehicle } from "../vehicle/AltVVehicle";
|
|
4
4
|
import Player = AltVServer.Player;
|
|
5
|
-
import { Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
6
|
-
import { IAltVClientRPC } from "../../../net/altv/rpc/AltVRPCManager";
|
|
7
|
-
import { IServerToClientEvents } from "../../../../shared";
|
|
5
|
+
import { type Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
6
|
+
import { type IAltVClientRPC } from "../../../net/altv/rpc/AltVRPCManager";
|
|
7
|
+
import { type IServerToClientEvents } from "../../../../shared";
|
|
8
8
|
interface AltVPlayerOptions extends IAltVEntityOptions<Player> {
|
|
9
9
|
}
|
|
10
10
|
export declare class AltVPlayer extends AltVEntity<Player> implements IPlayer {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AltVEntitiesManager } from "../entity/AltVEntitiesManager";
|
|
2
|
-
import { AltVPlayer } from "./AltVPlayer";
|
|
3
|
-
import { IPlayersManager } from "../../common/player/IPlayersManager";
|
|
2
|
+
import { type AltVPlayer } from "./AltVPlayer";
|
|
3
|
+
import { type IPlayersManager } from "../../common/player/IPlayersManager";
|
|
4
4
|
export declare class AltVPlayersManager extends AltVEntitiesManager<AltVPlayer> implements IPlayersManager {
|
|
5
5
|
constructor();
|
|
6
6
|
getByName(name: string): AltVPlayer;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AltVEntity, IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
|
-
import { IVehicle } from "../../common/vehicle/IVehicle";
|
|
1
|
+
import { AltVEntity, type IAltVEntityOptions } from "../entity/AltVEntity";
|
|
2
|
+
import { type IVehicle } from "../../common/vehicle/IVehicle";
|
|
3
3
|
import Vehicle = AltVServer.Vehicle;
|
|
4
4
|
import { RGBA } from "../../../../shared/common/utils";
|
|
5
|
-
import { AltVPlayer } from "../player/AltVPlayer";
|
|
5
|
+
import { type AltVPlayer } from "../player/AltVPlayer";
|
|
6
6
|
export interface IAltVVehicleOptions extends IAltVEntityOptions<Vehicle> {
|
|
7
7
|
}
|
|
8
8
|
export declare class AltVVehicle extends AltVEntity<Vehicle> implements IVehicle {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AltVEntitiesManager } from "../entity/AltVEntitiesManager";
|
|
2
2
|
import { AltVVehicle } from "./AltVVehicle";
|
|
3
|
-
import { IVehicleCreateOptions, IVehiclesManager } from "../../common/vehicle/IVehiclesManager";
|
|
4
|
-
import { IVehicle } from "../../common/vehicle/IVehicle";
|
|
3
|
+
import { type IVehicleCreateOptions, type IVehiclesManager } from "../../common/vehicle/IVehiclesManager";
|
|
4
|
+
import { type IVehicle } from "../../common/vehicle/IVehicle";
|
|
5
5
|
export interface IAltVVehicleCreateOptions extends IVehicleCreateOptions {
|
|
6
6
|
}
|
|
7
7
|
export declare class AltVVehiclesManager extends AltVEntitiesManager<AltVVehicle> implements IVehiclesManager {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObject } from "../../common/worldObject/IWorldObject";
|
|
1
|
+
import { type IWorldObject } from "../../common/worldObject/IWorldObject";
|
|
2
2
|
import { Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
3
|
-
import { AltVBaseObject, IAltVBaseObjectOptions } from "../baseObject/AltVBaseObject";
|
|
3
|
+
import { AltVBaseObject, type IAltVBaseObjectOptions } from "../baseObject/AltVBaseObject";
|
|
4
4
|
import WorldObject = AltVServer.WorldObject;
|
|
5
5
|
export interface IAltVWorldObjectOptions<T extends WorldObject> extends IAltVBaseObjectOptions<T> {
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator";
|
|
2
|
-
import { AltVWorldObject } from "./AltVWorldObject";
|
|
1
|
+
import { type IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator";
|
|
2
|
+
import { type AltVWorldObject } from "./AltVWorldObject";
|
|
3
3
|
import { AltVBaseObjectsIterator } from "../baseObject/AltVBaseObjectsIterator";
|
|
4
|
-
import { Vector2D, Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
|
+
import { type Vector2D, type Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
5
5
|
import WorldObject = AltVServer.WorldObject;
|
|
6
6
|
export declare class AltVWorldObjectsIterator<T extends AltVWorldObject<WorldObject>> extends AltVBaseObjectsIterator<T> implements IWorldObjectsIterator<T> {
|
|
7
7
|
constructor(baseObjects: ReadonlyMap<number, T>);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObjectsManager } from "../../common/worldObject/IWorldObjectsManager";
|
|
2
|
-
import { AltVWorldObject } from "./AltVWorldObject";
|
|
3
|
-
import { AltVBaseObjectsManager, IAltVBaseObjectsManagerOptions } from "../baseObject/AltVBaseObjectsManager";
|
|
1
|
+
import { type IWorldObjectsManager } from "../../common/worldObject/IWorldObjectsManager";
|
|
2
|
+
import { type AltVWorldObject } from "./AltVWorldObject";
|
|
3
|
+
import { AltVBaseObjectsManager, type IAltVBaseObjectsManagerOptions } from "../baseObject/AltVBaseObjectsManager";
|
|
4
4
|
import { AltVWorldObjectsIterator } from "./AltVWorldObjectsIterator";
|
|
5
5
|
import WorldObject = AltVServer.WorldObject;
|
|
6
6
|
export interface IAltVWorldObjectsManagerOptions extends IAltVBaseObjectsManagerOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IBaseObject } from "./IBaseObject";
|
|
2
|
-
import { IBaseObjectsIterator } from "./IBaseObjectsIterator";
|
|
3
|
-
import { BaseObjectType } from "../../../../shared";
|
|
1
|
+
import { type IBaseObject } from "./IBaseObject";
|
|
2
|
+
import { type IBaseObjectsIterator } from "./IBaseObjectsIterator";
|
|
3
|
+
import { type BaseObjectType } from "../../../../shared";
|
|
4
4
|
export interface IBaseObjectsManagerOptions {
|
|
5
5
|
baseObjectsType: `${BaseObjectType}`;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IWorldObject, IWorldObjectOptions } from "../worldObject";
|
|
2
|
-
import { IBlipColor, IBlipSprite } from "../../../../shared";
|
|
1
|
+
import { type IWorldObject, type IWorldObjectOptions } from "../worldObject";
|
|
2
|
+
import { type IBlipColor, type IBlipSprite } from "../../../../shared";
|
|
3
3
|
export interface IBlipOptions extends IWorldObjectOptions {
|
|
4
4
|
}
|
|
5
5
|
export interface IBlip extends IWorldObject {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IWorldObjectCreateOptions, IWorldObjectsManager } from "../worldObject";
|
|
2
|
-
import { IBlip } from "./IBlip";
|
|
1
|
+
import { type IWorldObjectCreateOptions, type IWorldObjectsManager } from "../worldObject";
|
|
2
|
+
import { type IBlip } from "./IBlip";
|
|
3
3
|
export interface IBlipCreateOptions extends IWorldObjectCreateOptions {
|
|
4
4
|
alpha?: number;
|
|
5
5
|
color?: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IWorldObjectCreateOptions, IWorldObjectsManager } from "../worldObject";
|
|
2
|
-
import { IColshape } from "./IColshape";
|
|
3
|
-
import { IVector2D } from "../../../../shared/common/utils";
|
|
4
|
-
import { ICircleColshape } from "./ICircleColshape";
|
|
5
|
-
import { ICuboidColshape } from "./ICuboidColshape";
|
|
6
|
-
import { ICylinderColshape } from "./ICylinderColshape";
|
|
7
|
-
import { IRectangleColshape } from "./IRectangleColshape";
|
|
8
|
-
import { ISphereColshape } from "./ISphereColshape";
|
|
1
|
+
import { type IWorldObjectCreateOptions, type IWorldObjectsManager } from "../worldObject";
|
|
2
|
+
import { type IColshape } from "./IColshape";
|
|
3
|
+
import { type IVector2D } from "../../../../shared/common/utils";
|
|
4
|
+
import { type ICircleColshape } from "./ICircleColshape";
|
|
5
|
+
import { type ICuboidColshape } from "./ICuboidColshape";
|
|
6
|
+
import { type ICylinderColshape } from "./ICylinderColshape";
|
|
7
|
+
import { type IRectangleColshape } from "./IRectangleColshape";
|
|
8
|
+
import { type ISphereColshape } from "./ISphereColshape";
|
|
9
9
|
export interface ICircleColshapeCreateOptions extends Omit<IWorldObjectCreateOptions, "position"> {
|
|
10
10
|
position: IVector2D;
|
|
11
11
|
range: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObjectCreateOptions, IWorldObjectsManager, IWorldObjectsManagerOptions } from "../worldObject/IWorldObjectsManager";
|
|
2
|
-
import { IEntity } from "./IEntity";
|
|
3
|
-
import { IVector3D } from "../../../../shared/common/utils";
|
|
1
|
+
import { type IWorldObjectCreateOptions, type IWorldObjectsManager, type IWorldObjectsManagerOptions } from "../worldObject/IWorldObjectsManager";
|
|
2
|
+
import { type IEntity } from "./IEntity";
|
|
3
|
+
import { type IVector3D } from "../../../../shared/common/utils";
|
|
4
4
|
export interface IEntitiesManagerOptions extends IWorldObjectsManagerOptions {
|
|
5
5
|
}
|
|
6
6
|
export interface IEntityCreateOptions extends IWorldObjectCreateOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IWorldObject, IWorldObjectOptions } from "../worldObject/IWorldObject";
|
|
2
|
-
import { IVector3D } from "../../../../shared/common/utils";
|
|
1
|
+
import { type IWorldObject, type IWorldObjectOptions } from "../worldObject/IWorldObject";
|
|
2
|
+
import { type IVector3D } from "../../../../shared/common/utils";
|
|
3
3
|
export interface IEntityOptions extends IWorldObjectOptions {
|
|
4
4
|
}
|
|
5
5
|
export interface IEntity extends IWorldObject {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWorldObject, IWorldObjectOptions } from "../worldObject";
|
|
2
|
-
import { IRGBA, IVector3D } from "../../../../shared/common/utils";
|
|
3
|
-
import { IMarkerType } from "../../../../shared";
|
|
1
|
+
import { type IWorldObject, type IWorldObjectOptions } from "../worldObject";
|
|
2
|
+
import { type IRGBA, type IVector3D } from "../../../../shared/common/utils";
|
|
3
|
+
import { type IMarkerType } from "../../../../shared";
|
|
4
4
|
export interface IMarkerOptions extends IWorldObjectOptions {
|
|
5
5
|
type: IMarkerType;
|
|
6
6
|
scale: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IMarker } from "./IMarker";
|
|
2
|
-
import { IWorldObjectCreateOptions, IWorldObjectsManager } from "../worldObject";
|
|
3
|
-
import { IRGBA, IVector3D } from "../../../../shared/common/utils";
|
|
4
|
-
import { IMarkerType } from "../../../../shared";
|
|
1
|
+
import { type IMarker } from "./IMarker";
|
|
2
|
+
import { type IWorldObjectCreateOptions, type IWorldObjectsManager } from "../worldObject";
|
|
3
|
+
import { type IRGBA, type IVector3D } from "../../../../shared/common/utils";
|
|
4
|
+
import { type IMarkerType } from "../../../../shared";
|
|
5
5
|
export interface IMarkerCreateOptions extends IWorldObjectCreateOptions {
|
|
6
6
|
type: IMarkerType;
|
|
7
7
|
scale: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntitiesManager, IEntityCreateOptions } from "../entity";
|
|
2
|
-
import { IObject } from "./IObject";
|
|
1
|
+
import { type IEntitiesManager, type IEntityCreateOptions } from "../entity";
|
|
2
|
+
import { type IObject } from "./IObject";
|
|
3
3
|
export interface IObjectCreateOptions extends IEntityCreateOptions {
|
|
4
4
|
alpha: number;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntitiesManager, IEntityCreateOptions } from "../entity";
|
|
2
|
-
import { IPed } from "./IPed";
|
|
1
|
+
import { type IEntitiesManager, type IEntityCreateOptions } from "../entity";
|
|
2
|
+
import { type IPed } from "./IPed";
|
|
3
3
|
export interface IPedCreateOptions extends IEntityCreateOptions {
|
|
4
4
|
frozen: boolean;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IEntity, IEntityOptions } from "../entity/IEntity";
|
|
2
|
-
import { IVehicle } from "../vehicle/IVehicle";
|
|
3
|
-
import { IVector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
|
-
import { IServerToClientEvents } from "../../../../shared";
|
|
5
|
-
import { IClientRPCList } from "../../../../shared/net/common/rpc/types";
|
|
1
|
+
import { type IEntity, type IEntityOptions } from "../entity/IEntity";
|
|
2
|
+
import { type IVehicle } from "../vehicle/IVehicle";
|
|
3
|
+
import { type IVector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
|
+
import { type IServerToClientEvents } from "../../../../shared";
|
|
5
|
+
import { type IClientRPCList } from "../../../../shared/net/common/rpc/types";
|
|
6
6
|
export interface ICustomization {
|
|
7
7
|
gender: boolean;
|
|
8
8
|
shapeFirst: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntitiesManager } from "../entity/IEntitiesManager";
|
|
2
|
-
import { IPlayer } from "./IPlayer";
|
|
1
|
+
import { type IEntitiesManager } from "../entity/IEntitiesManager";
|
|
2
|
+
import { type IPlayer } from "./IPlayer";
|
|
3
3
|
export interface IPlayersManager extends IEntitiesManager<IPlayer> {
|
|
4
4
|
getByName(name: string): IPlayer;
|
|
5
5
|
findByName(name: string): IPlayer | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEntity, IEntityOptions } from "../entity/IEntity";
|
|
2
|
-
import { IRGBA } from "../../../../shared/common/utils";
|
|
3
|
-
import { IPlayer } from "../player";
|
|
1
|
+
import { type IEntity, type IEntityOptions } from "../entity/IEntity";
|
|
2
|
+
import { type IRGBA } from "../../../../shared/common/utils";
|
|
3
|
+
import { type IPlayer } from "../player";
|
|
4
4
|
export declare enum VehicleSeat {
|
|
5
5
|
NONE = 255,
|
|
6
6
|
DRIVER = 256,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IEntitiesManager, IEntityCreateOptions } from "../entity/IEntitiesManager";
|
|
2
|
-
import { IVehicle } from "./IVehicle";
|
|
1
|
+
import { type IEntitiesManager, type IEntityCreateOptions } from "../entity/IEntitiesManager";
|
|
2
|
+
import { type IVehicle } from "./IVehicle";
|
|
3
3
|
export interface IVehicleCreateOptions extends IEntityCreateOptions {
|
|
4
4
|
engine: boolean;
|
|
5
5
|
locked: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBaseObject, IBaseObjectOptions } from "../baseObject";
|
|
2
|
-
import { IVector3D } from "../../../../shared/common/utils";
|
|
1
|
+
import { type IBaseObject, type IBaseObjectOptions } from "../baseObject";
|
|
2
|
+
import { type IVector3D } from "../../../../shared/common/utils";
|
|
3
3
|
export interface IWorldObjectOptions extends IBaseObjectOptions {
|
|
4
4
|
}
|
|
5
5
|
export interface IWorldObject extends IBaseObject {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IBaseObjectsIterator } from "../baseObject/IBaseObjectsIterator";
|
|
2
|
-
import { IWorldObject } from "./IWorldObject";
|
|
3
|
-
import { Vector2D, Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
1
|
+
import { type IBaseObjectsIterator } from "../baseObject/IBaseObjectsIterator";
|
|
2
|
+
import { type IWorldObject } from "./IWorldObject";
|
|
3
|
+
import { type Vector2D, type Vector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
4
4
|
export interface IWorldObjectsIterator<T extends IWorldObject> extends IBaseObjectsIterator<T> {
|
|
5
5
|
dimension(value: number): IterableIterator<T>;
|
|
6
6
|
range2D(center: Vector2D, range: number): IterableIterator<T>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IBaseObjectCreateOptions, IBaseObjectsManager, IBaseObjectsManagerOptions } from "../baseObject";
|
|
2
|
-
import { IWorldObject } from "./IWorldObject";
|
|
3
|
-
import { IWorldObjectsIterator } from "./IWorldObjectsIterator";
|
|
4
|
-
import { IVector3D } from "../../../../shared/common/utils";
|
|
1
|
+
import { type IBaseObjectCreateOptions, type IBaseObjectsManager, type IBaseObjectsManagerOptions } from "../baseObject";
|
|
2
|
+
import { type IWorldObject } from "./IWorldObject";
|
|
3
|
+
import { type IWorldObjectsIterator } from "./IWorldObjectsIterator";
|
|
4
|
+
import { type IVector3D } from "../../../../shared/common/utils";
|
|
5
5
|
export interface IWorldObjectsManagerOptions extends IBaseObjectsManagerOptions {
|
|
6
6
|
}
|
|
7
7
|
export interface IWorldObjectCreateOptions extends IBaseObjectCreateOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IBaseObject } from "../../common/baseObject/IBaseObject";
|
|
2
|
-
import { IVector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
3
|
-
import { BaseObjectType } from "../../../../shared";
|
|
1
|
+
import { type IBaseObject } from "../../common/baseObject/IBaseObject";
|
|
2
|
+
import { type IVector3D } from "../../../../shared/common/utils/math/Vectors";
|
|
3
|
+
import { type BaseObjectType } from "../../../../shared";
|
|
4
4
|
export interface IMockBaseObjectOptions {
|
|
5
5
|
id: number;
|
|
6
6
|
type: BaseObjectType;
|