import { Vector3 } from '../types/Vector3'; import { int, float } from '../types/NativeAliases'; export declare class Builtin { /** * Old name: _LOG10 * * @param value * @returns */ static log10(value: float): float; /** * Calculates distance between vectors but does not perform Sqrt operations. (Its way faster) * The value returned will be in RAGE units. * * @param pos1 * @param pos2 * @returns */ static vdist2(pos1: Vector3, pos2: Vector3): float; /** * @returns */ static timerb(): int; /** * @param value * @param bitShift * @returns */ static shiftRight(value: int, bitShift: int): int; /** * Gets the current frame time. * * @returns */ static timestep(): float; /** * @param value * @returns */ static sin(value: float): float; /** * @param value * @returns */ static sqrt(value: float): float; /** * @param value * @returns */ static round(value: float): int; /** * @param value * @returns */ static cos(value: float): float; /** * @param value * @param bitShift * @returns */ static shiftLeft(value: int, bitShift: int): int; /** * @param value * @returns */ static toFloat(value: int): float; /** * @param value */ static settimerb(value: int): void; /** * Rounds a float value up to the next whole number * * @param value * @returns */ static ceil(value: float): int; /** * Calculates the magnitude of a vector but does not perform Sqrt operations. (Its way faster) * * @param pos * @returns */ static vmag2(pos: Vector3): float; /** * Counts up. Every 1000 is 1 real-time second. Use SETTIMERA(int value) to set the timer (e.g.: SETTIMERA(0)). * * @returns */ static timera(): int; /** * THREAD_PRIO_HIGHEST = 0 * THREAD_PRIO_NORMAL = 1 * THREAD_PRIO_LOWEST = 2 * THREAD_PRIO_MANUAL_UPDATE = 100 * * @param priority */ static setThisThreadPriority(priority: int): void; /** * @param value */ static settimera(value: int): void; /** * Calculates distance between vectors. * The value returned will be in meters. * * @param pos1 * @param pos2 * @returns */ static vdist(pos1: Vector3, pos2: Vector3): float; /** * @param base * @param exponent * @returns */ static pow(base: float, exponent: float): float; /** * Rounds a float value down to the next whole number * * @param value * @returns */ static floor(value: float): int; /** * Calculates the magnitude of a vector. * * @param pos * @returns */ static vmag(pos: Vector3): float; /** * @param ms */ static wait(ms: int): void; } //# sourceMappingURL=Builtin.d.ts.map