UNPKG

rock-mod

Version:

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

30 lines (29 loc) 1.86 kB
import { RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager"; import { type RageColshape } from "./RageColshape"; import { type ICircleColshapeCreateOptions, type IColshapesManager, type ICuboidColshapeCreateOptions, type ICylinderColshapeCreateOptions, type IRectangleColshapeCreateOptions, type ISphereColshapeCreateOptions } from "../../common"; import { RageCircleColshape } from "./RageCircleColshape"; import { RageCuboidColshape } from "./RageCuboidColshape"; import { RageCylinderColshape } from "./RageCylinderColshape"; import { RageRectangleColshape } from "./RageRectangleColshape"; import { RageSphereColshape } from "./RageSphereColshape"; import { type RagePlayer } from "../player/RagePlayer"; export interface IRageCircleColshapeCreateOptions extends ICircleColshapeCreateOptions { } export interface IRageCuboidColshapeCreateOptions extends ICuboidColshapeCreateOptions { } export interface IRageCylinderColshapeCreateOptions extends ICylinderColshapeCreateOptions { } export interface IRageRectangleColshapeCreateOptions extends IRectangleColshapeCreateOptions { } export interface IRageSphereColshapeCreateOptions extends ISphereColshapeCreateOptions { } export declare class RageColshapesManager extends RageWorldObjectsManager<RageColshape> implements IColshapesManager { private readonly _colshapesParticipants; constructor(); createCircle(options: IRageCircleColshapeCreateOptions): RageCircleColshape; createCuboid(options: IRageCuboidColshapeCreateOptions): RageCuboidColshape; createCylinder(options: IRageCylinderColshapeCreateOptions): RageCylinderColshape; createRectangle(options: IRageRectangleColshapeCreateOptions): RageRectangleColshape; createSphere(options: IRageSphereColshapeCreateOptions): RageSphereColshape; getParticipants(colshape: RageColshape): Set<RagePlayer>; }