Skip to content

PlayerDataInput

Copy as Markdown

PlayerDataInput = PlayerData | object

A table given to mount / useRupaPlayer: a PlayerData, or any object as it comes (imported from the export’s <base>.player.json, whose numbers and tuples TypeScript widens, or fetched). The player checks it when it mounts and leaves out what fails; the states are named by the generic (mount<"enter" | "hover">(root, data)).