Nucleus handler tools › Docs › Game › Play

Game.Play

Open in the workbench (search, and try it in a handler)

Game.Play: () => void

Called once per instance (player), in player order. By default it runs after Nucleus has set up the instance (Goldberg, XInput DLLs, ...) and before the game starts, and Context.StartArguments is read after it. Game.GamePlayBeforeGameSetup runs it before that setup; Game.GamePlayAfterLaunch runs it after the game has started (then Context.StartArguments has no effect). If both are true it never runs. Context, Player, PlayerList, Handler and ProtoInput are available inside it. An error thrown here ends the whole session.

✎ AI-written, based on Nucleus GenericGameHandler.cs (where it is called). Not from the official docs. Is it wrong? Tell us

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop