UNPKG

rock-mod

Version:

Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.

15 lines (14 loc) 641 B
import { type IWorldObjectCreateOptions, type IWorldObjectsManager, type IWorldObjectsManagerOptions } from "../worldObject/IWorldObjectsManager"; import { type IEntity } from "./IEntity"; import { type IVector3D } from "../../../../shared/common/utils"; export interface IEntitiesManagerOptions extends IWorldObjectsManagerOptions { } export interface IEntityCreateOptions extends IWorldObjectCreateOptions { model: string; rotation: IVector3D; } export interface IEntitiesManager<T extends IEntity> extends IWorldObjectsManager<T> { syncWithMpPool(): void; registerById(id: number): T; unregisterById(id: number): T; }