Miese Corona Zeiten push für Lenhardt
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
players: IPlayerPool;
|
||||
vehicles: IVehiclePool;
|
||||
attachments: IEntityAttachmentPool;
|
||||
|
||||
disableDefaultEngineBehaviour(): void;
|
||||
}
|
||||
@@ -41,6 +42,7 @@ interface IBrowser {
|
||||
|
||||
interface IEntity {
|
||||
id: number;
|
||||
remoteId: any;
|
||||
type: EntityType;
|
||||
getSharedData<T>(key: string): T;
|
||||
}
|
||||
@@ -51,6 +53,12 @@ interface IPlayer extends IEntity {
|
||||
vehicle: IVehicle;
|
||||
}
|
||||
|
||||
interface IEntityAttachments {
|
||||
remoteId: any;
|
||||
__attachments: any[];
|
||||
__attachmentObjects: any[];
|
||||
}
|
||||
|
||||
interface IVehicle extends IEntity {
|
||||
isSeatFree(seat: VehicleSeat): boolean;
|
||||
setEngineStatus(status: boolean, instantly: boolean, otherwise: boolean);
|
||||
@@ -67,8 +75,16 @@ interface IPlayerPool extends IEntityPool<IPlayer> {
|
||||
local: IPlayer;
|
||||
}
|
||||
|
||||
interface IVehiclePool extends IEntityPool<IVehicle> {
|
||||
interface IEntityAttachmentPool {
|
||||
attachmentPool: IEntityAttachments[];
|
||||
find(entity: EntityMp): IEntityAttachments;
|
||||
remove(entity: IEntity): void;
|
||||
set(entity: IEntity, attachments: any[], attachmentObjects: any[]): IEntityAttachments;
|
||||
at(handle: any): IEntityAttachments;
|
||||
get(entity: IEntity): IEntityAttachments;
|
||||
}
|
||||
|
||||
interface IVehiclePool extends IEntityPool<IVehicle> {
|
||||
}
|
||||
|
||||
enum EntityType {
|
||||
@@ -122,6 +138,8 @@ export {
|
||||
IBrowser,
|
||||
|
||||
IPlayer,
|
||||
IEntityAttachments,
|
||||
IEntityAttachmentPool,
|
||||
IVehicle,
|
||||
IEntity,
|
||||
IEntityPool,
|
||||
|
||||
Reference in New Issue
Block a user