UNPKG

rock-mod

Version:

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

20 lines (19 loc) 778 B
import { type IEntity } from "../../common/entity/IEntity"; import { MockWorldObject, type IMockWorldObjectOptions } from "../worldObject/MockWorldObject"; import { type IVector3D, Vector3D } from "../../../../shared/common/utils"; export interface IMockEntityOptions extends IMockWorldObjectOptions { model: number; rotation: IVector3D; } export declare abstract class MockEntity extends MockWorldObject implements IEntity { private _model; private _rotation; private _netData; get model(): number; get rotation(): Vector3D; protected constructor(options: IMockEntityOptions); setModel(value: string): void; setRotation(value: Vector3D): void; getNetData(name: string): unknown; setNetData(name: string, value: unknown): void; }