Type Alias ItemEvents
ItemEvents : {
hintFound: [hint: Hint];
hintReceived: [hint: Hint];
hintsInitialized: [hints: Hint[]];
itemsReceived: [items: Item[], startingIndex: number];
}
hintFound: [hint: Hint];
hintReceived: [hint: Hint];
hintsInitialized: [hints: Hint[]];
itemsReceived: [items: Item[], startingIndex: number];
}
Type declaration
hint
Found : [hint: Hint]Fired when a hint has been found.
hint
Received : [hint: Hint]Fired when a new hint has been received.
hints
Initialized : [hints: Hint[]]Fired shortly after initial connection with all current hints relevant to this player.
items
Received : [items: Item[], startingIndex: number]Fired when items have been received.
Param: startingIndex
The ItemsManager.received index for the first item in the
items
array.
An interface with all supported item/hint events and their respective callback arguments. To be called from ItemsManager.