rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
15 lines (14 loc) • 930 B
TypeScript
import { type IGraphicsManager, type ILoopedParticleFxAtCoordOptions, type IParticleFxAtCoordOptions, type IScreenTextOptions } from "../../../game";
import { type IVector3D, type IVector2D } from "../../../../shared/index";
export declare class RageGraphicsManager implements IGraphicsManager {
drawText(text: string, position: IVector2D, options?: IScreenTextOptions): void;
world3dToScreen2d(position: IVector3D): IVector2D | null;
startScreenEffect(effectName: string, duration: number, looped: boolean): void;
stopScreenEffect(effectName: string): void;
setPtfxAssetNextCall(assetName: string): void;
startParticleFxNonLoopedAtCoord(options: IParticleFxAtCoordOptions): boolean;
startParticleFxLoopedAtCoord(options: ILoopedParticleFxAtCoordOptions): number;
stopParticleFxLooped(handle: number, p1: boolean): void;
getSafeZoneSize(): number;
getActiveScreenResolution(): IVector2D;
}