@altv/types-client
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -1390,5 +1390,5 @@ declare module "alt-client" { | ||
public vTilesY: number; | ||
constructor(zoomDataId: number); | ||
public static get(zoomData: string): MapZoomData; | ||
@@ -1503,3 +1503,3 @@ | ||
static muteInput: boolean; | ||
/** | ||
@@ -1568,6 +1568,7 @@ * Determines if the voice activation is enabled. | ||
/** | ||
* Adds a new gxt text with the specified value. | ||
* | ||
* @param key Gxt text name. | ||
* @param value Gxt text value. | ||
* Adds a new GXT entry with the specified value. | ||
* | ||
* @remarks The GXT entry FE_THDR_GTAO is locked and cannot be changed. | ||
* @param key GXT entry name. | ||
* @param value GXT entry value. | ||
*/ | ||
@@ -1638,3 +1639,3 @@ export function addGxtText(key: string, value: string): void; | ||
*/ | ||
export function everyTick(handler: () => void): number; | ||
export function everyTick(handler: (...args: any[]) => void): number; | ||
@@ -1652,5 +1653,5 @@ /** | ||
/** | ||
* Gets the value of the specified gxt text. | ||
* Gets the value of the specified GXT entry. | ||
* | ||
* @param key Gxt text name. | ||
* @param key GXT entry name. | ||
*/ | ||
@@ -1739,3 +1740,3 @@ export function getGxtText(key: string): string; | ||
export function isKeyToggled(key: number): boolean; | ||
/** | ||
@@ -1792,3 +1793,3 @@ * Determines whether the specified key is pressed. | ||
*/ | ||
export function nextTick(handler: () => void): number; | ||
export function nextTick(handler: (...args: any[]) => void): number; | ||
@@ -1862,5 +1863,5 @@ /** | ||
/** | ||
* Removes the specified gxt text. | ||
* Removes the specified GXT entry. | ||
* | ||
* @param key Gxt text name. | ||
* @param key GXT entry name. | ||
*/ | ||
@@ -1916,24 +1917,24 @@ export function removeGxtText(key: string): void; | ||
/** | ||
* Sets the specified config flag to the specified state. | ||
* | ||
* Sets the specified ped config flag of the local player to the specified state. | ||
* | ||
* @param flag Config flag name. | ||
* @param state Config flag state. | ||
*/ | ||
export function setConfigFlag(flag: string, state: boolean): void; | ||
export function setConfigFlag(flag: "DISABLE_PED_PROP_KNOCK_OFF", state: boolean): void; | ||
/** | ||
* Returns the state of the specified config flag. | ||
* | ||
* Returns the state of the specified ped config flag of the local player. | ||
* | ||
* @param flag Config flag name. | ||
* @returns State of the specified config flag. | ||
*/ | ||
export function getConfigFlag(flag: string): boolean; | ||
export function getConfigFlag(flag: "DISABLE_PED_PROP_KNOCK_OFF"): boolean; | ||
/** | ||
* Returns whether the specified config flag exists. | ||
* | ||
* | ||
* @param flag Config flag name. | ||
* @returns True when the config flag exists. | ||
*/ | ||
export function doesConfigFlagExist(flag: string): boolean; | ||
export function doesConfigFlagExist(flag: "DISABLE_PED_PROP_KNOCK_OFF"): boolean; | ||
@@ -1954,3 +1955,3 @@ /** | ||
*/ | ||
export function setInterval(handler: () => void, miliseconds: number): number; | ||
export function setInterval(handler: (...args: any[]) => void, miliseconds: number): number; | ||
@@ -1987,3 +1988,3 @@ /** | ||
*/ | ||
export function setTimeout(handler: () => void, miliseconds: number): number; | ||
export function setTimeout(handler: (...args: any[]) => void, miliseconds: number): number; | ||
@@ -2074,3 +2075,3 @@ /** | ||
public addSubProtocol(protocol: string): void; | ||
/** | ||
@@ -2080,3 +2081,3 @@ * Gets all added sub protocols. | ||
public getSubProtocols(): string[]; | ||
/** | ||
@@ -2115,3 +2116,3 @@ * Sets the specified header to the specified value. | ||
*/ | ||
export function unloadYtyp(path: string): boolean; | ||
export function unloadYtyp(path: string): boolean; | ||
} |
{ | ||
"name": "@altv/types-client", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "This package contains types definitions for alt:V client-side module.", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54463
1740