MicroTutorialModule
A static class in Root.Township, ATT.MicroTutorial.
Server, dev-only console module microtutorial (alias mt) for listing, starting, stepping and exiting micro tutorials.
- Listed in ATT, Features and other game namespaces
- Attributes
ServerOnly,DevOnly,Module,Alias
Fields
Methods
8 private and internal methods
| Member | What it is |
|---|---|
private static async Task ExitTutorial(Player player) | Command exit: despawns the player's tutorial. |
private static async Task<IResult<IMicroTutorial>> GetActiveTutorialForPlayer(Player player) | Returns the player's active tutorial as a result, or an error if they have none. |
private static async Task<IMicroTutorialSystem> GetTutorialSystem() | Resolves the micro tutorial system from the game's static lifetime scope. |
private static async Task<string> ListActiveTutorials() | Command active: lists the active tutorials and their players. |
private static async Task<string> ListAvailableTutorials() | Command list: lists every MicroTutorialSettings with its hash. |
private static async Task<string> NextStep(Player player) | Command next-step (alias next): broadcasts a force-complete event. Every active step listens to it, not only this player's. |
private static string SetLogLevel(int level) | Command set-log-level: sets the micro tutorial log level, 0 (trace) to 5 (fatal). |
private static async Task StartTutorial(Player player, MicroTutorialSettings tutorialSettings) | Command start: spawns the given tutorial for the player. |