@nativewrappers/fivem
Version:
Native wrappers and utilities for use with FiveM.
15 lines (14 loc) • 544 B
TypeScript
import { VehicleWindowIndex } from "../enums/Vehicle";
import type { Vehicle } from "./Vehicle";
import { VehicleWindow } from "./VehicleWindow";
export declare class VehicleWindowCollection {
private _owner;
private readonly _vehicleWindows;
constructor(owner: Vehicle);
getWindow(index: VehicleWindowIndex): VehicleWindow;
getAllWindows(): (VehicleWindow | null)[];
get AreAllWindowsIntact(): boolean;
rollDownAllWindows(): void;
rollUpAllWindows(): void;
hasWindow(window: VehicleWindowIndex): boolean;
}