rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
27 lines (26 loc) • 1.19 kB
TypeScript
import { type Colshape as CcmpColshape } from "@classic-mp/types/client";
import { BaseObjectType } from "../../../../shared/entities";
import { type IVector3D, Vector3D } from "../../../../shared/common/utils";
import { type IColshape } from "../../common/colshape/IColshape";
export declare class CCMPColshape implements IColshape {
private readonly _ccmpColshape;
private readonly _onDestroy;
private _destroyed;
constructor(_ccmpColshape: CcmpColshape, _onDestroy?: (colshape: CCMPColshape) => void);
get id(): number;
get remoteId(): number | null;
get type(): BaseObjectType;
get isExists(): boolean;
get handle(): number;
destroy(): void;
get position(): Vector3D;
get dimension(): number;
get key(): string | undefined;
setPosition(_value: IVector3D): void;
setDimension(_value: number): void;
setCoords(_xPos: number, _yPos: number, _zPos: number, _xAxis: boolean, _yAxis: boolean, _zAxis: boolean, _clearArea: boolean): void;
getVariable(name: string): unknown | null;
getSyncedMeta(key: string): unknown | undefined;
hasSyncedMeta(key: string): boolean;
getSyncedMetaKeys(): readonly string[];
}