UNPKG

rock-mod

Version:

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

32 lines (31 loc) 1.69 kB
import { type CCMPEventsManager } from "../../../net/ccmp/events/CCMPEventsManager"; import { type ICircleColshapeCreateOptions, type IColshapesManager, type ICuboidColshapeCreateOptions, type ICylinderColshapeCreateOptions, type IRectangleColshapeCreateOptions, type ISphereColshapeCreateOptions } from "../../common/colshape/IColshapesManager"; import { type IWorldObjectsIterator } from "../../common/worldObject/IWorldObjectsIterator"; import { CCMPColshape } from "./CCMPColshape"; export declare class CCMPColshapesManager implements IColshapesManager { private readonly _events; private readonly _colshapes; private readonly _colshapesByRemoteId; private readonly _iterator; constructor(_events: CCMPEventsManager); createCircle(options: ICircleColshapeCreateOptions): CCMPColshape; createCuboid(options: ICuboidColshapeCreateOptions): CCMPColshape; createCylinder(options: ICylinderColshapeCreateOptions): CCMPColshape; createRectangle(options: IRectangleColshapeCreateOptions): CCMPColshape; createSphere(options: ISphereColshapeCreateOptions): CCMPColshape; syncWithMpPool(): void; registerById(id: number): CCMPColshape; unregisterById(id: number): CCMPColshape; findByID(id: number): CCMPColshape | null; getByID(id: number): CCMPColshape; findByRemoteID(remoteId: number): CCMPColshape | null; getByRemoteID(remoteId: number): CCMPColshape; deleteById(id: number): CCMPColshape; get iterator(): IWorldObjectsIterator<CCMPColshape>; private _register; private _unregister; private _findRegistered; private _registerLifecycleEvents; private _filter; private _pruneDestroyed; }