Update openrct2.d.ts

This commit is contained in:
Aaron van Geffen 2024-04-27 22:52:34 +02:00
parent 1312352b73
commit 922b27aa02
1 changed files with 40 additions and 0 deletions

View File

@ -2819,6 +2819,26 @@ declare global {
* Removes all items from the guest's possession.
*/
removeAllItems(): void;
/**
* The animations available to this guest.
*/
readonly availableAnimations: string[];
/**
* The animation the guest is currently exhibiting.
*/
animation: string;
/**
* The frame offset in the current animation.
*/
animationOffset: number;
/**
* The total number of frames in the current animation.
*/
readonly animationLength: number;
}
/**
@ -3146,6 +3166,26 @@ declare global {
* Gets the patrol area for the staff member.
*/
readonly patrolArea: PatrolArea;
/**
* The animations available to this staff memer.
*/
readonly availableAnimations: string[];
/**
* The animation the staff memer is currently exhibiting.
*/
animation: string;
/**
* The frame offset in the current animation.
*/
animationOffset: number;
/**
* The total number of frames in the current animation.
*/
readonly animationLength: number;
}
type StaffType = "handyman" | "mechanic" | "security" | "entertainer";