import type { Entity } from '../classes/Entity'; import type { PropSet } from '../classes/PropSet'; import type { Vehicle } from '../classes/Vehicle'; import { Vector3 } from '../types/Vector3'; import { int, float } from '../types/NativeAliases'; export declare class Propset { /** * @param vehicle * @returns */ static doesVehicleHaveAnyLightPropSet(vehicle: Vehicle): boolean; /** * Same as _CREATE_PROP_SET * * @param propsetType * @param pos * @param placementType * @param heading * @param zProbe * @param p7 * @param useVegMod * @returns */ static createPropSet2(propsetType: string | number, pos: Vector3, placementType: int, heading: float, zProbe: float, p7: boolean, useVegMod: boolean): PropSet | null; /** * @param vehicle * @returns */ static isVehiclePropSetLoadedAdditional(vehicle: Vehicle): boolean; /** * @param propSet * @param coords * @param onGroundProperly * @param heading */ static modifyPropsetCoordsAndHeading(propSet: int, coords: Vector3, onGroundProperly: boolean, heading: float): void; /** * https://github.com/femga/rdr3_discoveries/blob/master/vehicles/vehicle_modding/vehicle_propsets.lua * * @param vehicle * @param propset */ static addAdditionalPropSetForVehicle(vehicle: Vehicle, propset: string | number): void; /** * @param vehicle * @returns */ static getVehiclePropSet(vehicle: Vehicle): PropSet | null; /** * @param p0 */ static N_0x58E0B01D45CA7357(p0: any): void; /** * @param hash * @returns */ static hasPropSetLoaded(hash: string | number): any; /** * @param vehicle * @returns */ static doesVehicleHaveAnyPropSet(vehicle: Vehicle): boolean; /** * Example before/after deleting a train carriage's propset: https://imgur.com/a/qRNrIrK * * @param trainCarriage * @returns */ static getTrainCarriagePropSet(trainCarriage: Entity): PropSet | null; /** * @param vehicle * @returns */ static getVehiclePropSetHash(vehicle: Vehicle): number; /** * @param vehicle * @returns */ static isVehicleLightPropSetLoaded(vehicle: Vehicle): boolean; /** * @param hash * @returns */ static releasePropSet(hash: string | number): any; /** * @param propsetHash * @param pos * @returns */ static getPropSetAtCoords(propsetHash: string | number, pos: Vector3): PropSet | null; /** * @param vehicle * @returns */ static isVehiclePropSetLoaded(vehicle: Vehicle): boolean; /** * @param vehicle * @param wagonIndex * @returns */ static hasVehicleTrailerPropSetLoaded(vehicle: Vehicle, wagonIndex: int): any; /** * Returns PropSet handle to be used with _GET_PROP_SET_MODEL * * @param vehicle * @returns */ static getVehicleLightPropSet(vehicle: Vehicle): PropSet | null; /** * List of vehicle propsets (wagons & trains): https://pastebin.com/1CsnvGLu / https://pastebin.com/v7TtqTgE * * @param vehicle * @param propset */ static addPropSetForVehicle(vehicle: Vehicle, propset: string | number): void; /** * Same as _REQUEST_PROP_SET * * @param hash * @returns */ static requestPropSet2(hash: string | number): any; /** * To remove propsets either parse a zero as hash or call 0xE31C0CB1C3186D40 * 0xA6A9712955F53D9C returns lightPropset Hashes * https://github.com/femga/rdr3_discoveries/blob/master/vehicles/vehicle_modding/vehicle_lantern_propsets.lua * * @param vehicle * @param lightPropset */ static addLightPropSetToVehicle(vehicle: Vehicle, lightPropset: string | number): void; /** * @param propsetHash * @param pos * @returns */ static doesPropSetOfTypeExistNearCoords(propsetHash: string | number, pos: Vector3): boolean; /** * Same as _HAS_PROP_SET_LOADED * * @param hash * @returns */ static hasPropSetLoaded2(hash: string | number): any; /** * Same as CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY * * @param hash * @param pos * @param entity * @param p5 * @param p6 * @param p7 * @param p8 * @returns */ static createPropSetInstanceAttachedToEntity2(hash: string | number, pos: Vector3, entity: Entity, p5: float, p6: boolean, p7: int, p8: boolean): PropSet | null; /** * propsetType: https://github.com/femga/rdr3_discoveries/blob/master/objects/propsets_list.lua * placementType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/PlacementType * * @param propsetType * @param pos * @param placementType * @param heading * @param zProbe * @param p7 * @param useVegMod * @returns */ static createPropSet(propsetType: string | number, pos: Vector3, placementType: int, heading: float, zProbe: float, p7: boolean, useVegMod: boolean): PropSet | null; /** * @param vehicle */ static removeVehicleLightPropSets(vehicle: Vehicle): void; /** * @param vehicle */ static removeVehiclePropSets(vehicle: Vehicle): void; /** * @param hash * @returns */ static requestPropSet(hash: string | number): any; /** * @param hash * @param pos * @param entity * @param p5 * @param p6 * @param p7 * @param p8 * @returns */ static createPropSetInstanceAttachedToEntity(hash: string | number, pos: Vector3, entity: Entity, p5: float, p6: boolean, p7: int, p8: boolean): PropSet | null; } //# sourceMappingURL=Propset.d.ts.map