UNPKG

rock-mod

Version:

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

38 lines (37 loc) 1.37 kB
import { CCMPWorldObject } from "../worldObject/CCMPWorldObject"; import { type IBlip } from "../../common/blip/IBlip"; import { BaseObjectType, type IBlipColor, type IBlipSprite } from "../../../../shared"; import { type IVector3D } from "../../../../shared/common/utils/math/Vectors"; import type { Blip as CcmpBlip } from "@classic-mp/types/server"; export interface ICCMPBlipOptions { ccmpBlip: CcmpBlip; onDestroy: (blip: CCMPBlip) => void; } export declare class CCMPBlip extends CCMPWorldObject implements IBlip { private readonly _ccmpBlip; private readonly _onDestroy; get id(): number; get type(): BaseObjectType; get isExists(): boolean; get position(): IVector3D; get dimension(): number; get name(): string; get sprite(): IBlipSprite; get color(): number; get alpha(): number; get scale(): number; get drawDistance(): number; get global(): boolean; get shortRange(): boolean; get rotation(): number; constructor(options: ICCMPBlipOptions); destroy(): void; setPosition(value: IVector3D): void; setDimension(value: number): void; getNetData(name: string): unknown; setNetData(name: string, value: unknown): void; setName(value: string): void; setSprite(value: IBlipSprite): void; setColor(value: IBlipColor): void; setAlpha(value: number): void; }