UNPKG

rock-mod

Version:

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

14 lines (13 loc) 485 B
import { type IBaseObject } from "./IBaseObject"; import { type IBaseObjectsIterator } from "./IBaseObjectsIterator"; import { type BaseObjectType } from "../../../../shared"; export interface IBaseObjectsManagerOptions { baseObjectsType: `${BaseObjectType}`; } export interface IBaseObjectCreateOptions { } export interface IBaseObjectsManager<T extends IBaseObject> { get iterator(): IBaseObjectsIterator<T>; getByID(id: number): T; findByID(id: number): T | null; }