UNPKG

rock-mod

Version:

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

19 lines (18 loc) 834 B
import { type IEntity } from "../../common/entity/IEntity"; import { type IRageWorldObjectOptions, RageWorldObject } from "../worldObject/RageWorldObject"; import { type IVector3D, Vector3D } from "../../../../shared/common/utils"; export interface IRageEntityOptions<T extends EntityMp> extends IRageWorldObjectOptions<T> { rotation?: IVector3D; } export declare abstract class RageEntity<T extends EntityMp> extends RageWorldObject<T> implements IEntity { private _rotation; get model(): number; get rotation(): Vector3D; protected constructor(options: IRageEntityOptions<T>); setModel(value: string): void; setRotation(value: Vector3D): void; getNetData(name: string): unknown; setNetData(name: string, value: unknown): void; private _getEntityRotationProperty; private _isVectorLike; }