import type { Entity } from '../classes/Entity'; import type { Ped } from '../classes/Ped'; import { Vector3 } from '../types/Vector3'; import { int, float } from '../types/NativeAliases'; export declare class Water { /** * Only used in native_son1 R* Script: p1 = 1 * * @param entity * @param p1 */ static N_0x0DCEC6A92E497E17(entity: Entity, p1: int): void; /** * Only used in fishing_core R* Script * * @param ped */ static N_0xF0FBF193F1F5C0EA(ped: Ped): void; /** * enum eScriptWaterTestResult * { * SCRIPT_WATER_TEST_RESULT_NONE, * SCRIPT_WATER_TEST_RESULT_WATER, * SCRIPT_WATER_TEST_RESULT_BLOCKED, * }; * * @param pos1 * @param pos2 * @param flags * @returns intersectionPos */ static testProbeAgainstAllWater(pos1: Vector3, pos2: Vector3, flags: int): [int, Vector3]; /** * Only used in R* Script guama1 this native allows to modify the ocean water in the guarma island. wave direction accepts 0, 1 and 2 values. * * @param wavesHeight * @param p1 * @param waveDirection * @param p3 * @param waveAmmount * @param p5 * @param waveSpeed * @param wavesStrength * @param p8 */ static setOceanGuarmaWaterQuadrant(wavesHeight: float, p1: float, waveDirection: int, p3: float, waveAmmount: float, p5: float, waveSpeed: float, wavesStrength: float, p8: int): void; /** * Checks against a global variable that is set by _SET_WORLD_WATER_TYPE. If it's set to 1 (Guarma) it will fail. See TEST_PROBE_AGAINST_ALL_WATER. * * @param pos * @param flags * @returns waterHeight */ static testVerticalProbeAgainstAllWater(pos: Vector3, flags: int): [int, number]; /** * Only used in fussar1 / train_robbery2 R* Script */ static N_0xE8126623008372AA(): void; /** * Only used in guama1 / guama3 R* Script * *REQUEST** or *RESET** */ static resetGuarmaWaterState(): void; /** * Called together with REMOVE_EXTRA_CALMING_QUAD in rcm_crackpot1 R* Script: p0 = 0 * *REMOVE** * * @param p0 */ static N_0x09A1C7DFDCE54FBC(p0: int): void; /** * Only used in rcm_crackpot1 R* Script: p0 = 0 * * @param index */ static removeExtraCalmingQuad(index: int): void; /** * 0 = World * 1 = Guarma * * @param waterType */ static setWorldWaterType(waterType: int): void; /** * Must be called every frame to take full effect. */ static disableWaterLookup(): void; /** * @returns */ static getWorldWaterType(): int; /** * @param pos * @returns height */ static getWaterHeightNoWaves(pos: Vector3): [boolean, number]; /** * Used in bounty1, fanale3, sean1 R* Scripts * * @param entity */ static N_0xB34A6009A0DB80B8(entity: Entity): void; static enableWaterLookup(): void; /** * Checks against a global variable that is set by _SET_WORLD_WATER_TYPE. If that is set to one it will fail. Likely not the only issue but part of it. * * @param pos * @returns height */ static getWaterHeight(pos: Vector3): [boolean, number]; /** * Only used in fishing_core R* Script */ static N_0xA33F5069B0CB89B8(): void; } //# sourceMappingURL=Water.d.ts.map