Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Pause *PauseCmd `cmd:"" group:"Debugger Commands:" help:"Pause the execution of ticks in your Cardinal game environment"`
Resume *ResumeCmd `cmd:"" group:"Debugger Commands:" help:"Resume the execution of ticks after a pause"`
Step *StepCmd `cmd:"" group:"Debugger Commands:" help:"Execute a single tick (only works when paused)"`
Reset *ResetCmd `cmd:"" group:"Debugger Commands:" help:"Reset the world to its initial state (before tick 0)"`
}
type PauseCmd ¶
type PauseCmd struct {
Instances []string `help:"Instance IDs to pause, e.g. game or game-2. Repeatable or comma-separated; pauses every instance if omitted."`
}
type ResetCmd ¶
type ResetCmd struct {
Instances []string `help:"Instance IDs to reset, e.g. game or game-2. Repeatable or comma-separated; resets every instance if omitted."`
}
Click to show internal directories.
Click to hide internal directories.