mirror of https://github.com/OpenRCT2/OpenRCT2.git
Correct scripting documentation for guest.generation
This commit is contained in:
parent
b0df7d9334
commit
f4c30ba63a
|
@ -267,7 +267,7 @@ declare global {
|
|||
subscribe(hook: "network.leave", callback: (e: NetworkEventArgs) => void): IDisposable;
|
||||
subscribe(hook: "ride.ratings.calculate", callback: (e: RideRatingsCalculateArgs) => void): IDisposable;
|
||||
subscribe(hook: "action.location", callback: (e: ActionLocationArgs) => void): IDisposable;
|
||||
subscribe(hook: "guest.generation", callback: (id: number) => void): IDisposable;
|
||||
subscribe(hook: "guest.generation", callback: (e: GuestGenerationArgs) => void): IDisposable;
|
||||
subscribe(hook: "vehicle.crash", callback: (e: VehicleCrashArgs) => void): IDisposable;
|
||||
|
||||
/**
|
||||
|
@ -519,6 +519,10 @@ declare global {
|
|||
result: boolean;
|
||||
}
|
||||
|
||||
interface GuestGenerationArgs {
|
||||
readonly id: number;
|
||||
}
|
||||
|
||||
type VehicleCrashIntoType = "another_vehicle" | "land" | "water";
|
||||
|
||||
interface VehicleCrashArgs {
|
||||
|
|
Loading…
Reference in New Issue