@ragempcommunity/types-server
Advanced tools
Comparing version 2.1.6 to 2.1.8
@@ -335,16 +335,16 @@ /// <reference path="enums.d.ts" /> | ||
/** | ||
* Gets the closest set of entities to a position in the defined dimension. | ||
* | ||
* @param position Vector3 | ||
* @param dimension The Dimension | ||
* @param limit Limit of results | ||
* @returns Array of entities sorted by distance to given position | ||
* | ||
* @example | ||
* ``` | ||
* const [closestVehicle] = mp.vehicles.getClosestInDimension(player.position, player.dimension, 1); | ||
* closestVehicle.locked = true; | ||
* ``` | ||
*/ | ||
/** | ||
* Gets the closest set of entities to a position in the defined dimension. | ||
* | ||
* @param position Vector3 | ||
* @param dimension The Dimension | ||
* @param limit Limit of results | ||
* @returns Array of entities sorted by distance to given position | ||
* | ||
* @example | ||
* ``` | ||
* const [closestVehicle] = mp.vehicles.getClosestInDimension(player.position, player.dimension, 1); | ||
* closestVehicle.locked = true; | ||
* ``` | ||
*/ | ||
public getClosestInDimension(position: Vector3, dimension: number, limit: number): T[]; | ||
@@ -582,3 +582,3 @@ | ||
*/ | ||
public cancelPendingRpc(procName?: string): void; | ||
public cancelPendingProc(procName?: string): void; | ||
@@ -683,3 +683,3 @@ /** | ||
*/ | ||
public hasPendingRpc(procName?: string): boolean; | ||
public hasPendingProc(procName?: string): boolean; | ||
@@ -1315,3 +1315,3 @@ /** | ||
/* | ||
* @deprecated Broken/Removed in RageMP 1.1 DP1 | ||
* @deprecated Broken/Removed in RageMP 1.1 DP1 | ||
*/ | ||
@@ -1446,2 +1446,7 @@ entityDestroyed: (entity: EntityMp) => void; | ||
/** | ||
* Returns a list of binded events. | ||
*/ | ||
readonly binded: { [key: string]: Function }[] | ||
/** | ||
* Resets the whole event manager. | ||
@@ -1448,0 +1453,0 @@ */ |
{ | ||
"name": "@ragempcommunity/types-server", | ||
"version": "2.1.6", | ||
"version": "2.1.8", | ||
"description": "Types definitions for RAGE:MP server-side module", | ||
@@ -16,3 +16,3 @@ "main": "index.d.ts", | ||
}, | ||
"gitHead": "8fc6659df9439ef6a5e10e7682afb0dba248f86e" | ||
"gitHead": "f396129dd04f155019c4154c718b2c5a01d2d77f" | ||
} |
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
94576
3188