Nucleus handler tools β€Ί Docs β€Ί Context β€Ί OrigRootFolder

Context.OrigRootFolder

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

Context.OrigRootFolder: string
AI-writtenAI-written. Based on: Nucleus GenericGameHandler.cs (opens in a new tab) (rootFolder from exeFolder.ToLower() and BinariesFolder; context.OrigRootFolder = rootFolder).

The original game folder: the folder of the game executable the user picked, in lower case, with Game.BinariesFolder removed. Set per player when the instance is set up, before Game.Play. Context.RootFolder is the instance's own folder.

Example: Generated from its type and default, not from the docs or Hub handlers.

var origRootFolder = Context.OrigRootFolder;
Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop