UNPKG

rock-mod

Version:

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

16 lines (15 loc) 733 B
import { type IEntity } from "../../common/entity/IEntity"; import { AltVWorldObject, type IAltVWorldObjectOptions } from "../worldObject/AltVWorldObject"; import Entity = AltVServer.Entity; import { Vector3D } from "../../../../shared/common/utils"; export interface IAltVEntityOptions<T extends Entity> extends IAltVWorldObjectOptions<T> { } export declare abstract class AltVEntity<T extends Entity> extends AltVWorldObject<T> implements IEntity { get model(): number; get rotation(): Vector3D; protected constructor(options: IAltVEntityOptions<T>); setModel(value: string): void; setRotation(value: Vector3D): void; getNetData(name: string): unknown; setNetData(name: string, value: unknown): void; }