Skip to content

Commit

Permalink
Merge pull request #35 from rage-rorp/main
Browse files Browse the repository at this point in the history
testCapsule & getEntityIsFreeAimingAt
  • Loading branch information
leonardssh authored May 22, 2022
2 parents f8aa7bf + 2ff165c commit 9e6854d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/client/game/player.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ declare interface GamePlayer extends GamePlayerLegacy {
stopTeleport(): void;
isTeleportActive(): boolean;
getCurrentStealthNoise(): number;
getEntityIsFreeAimingAt(): EntityMp | number | undefined;
setHealthRechargeMultiplier(regenRate: number): void;
getHealthRechargeLimit(): number;
setHealthRechargeLimit(limit: number): void;
Expand Down
2 changes: 1 addition & 1 deletion packages/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ declare interface RaycastingMp {
/**
* Raycast from point to point, where the ray has a radius.
*/
testCapsule(startPos: Vector3, endPos: Vector3, radius: number, ignoreEntity?: EntityMp, flags?: number | number[]): RaycastResult;
testCapsule(startPos: Vector3, endPos: Vector3, radius: number, ignoreEntity?: EntityMp | EntityMp[], flags?: number | number[]): RaycastResult;
}

declare interface RaycastResult {
Expand Down

0 comments on commit 9e6854d

Please sign in to comment.