debugger

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: LGPL-3.0 Imports: 10 Imported by: 0

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."`
}

func (*PauseCmd) Run

func (c *PauseCmd) Run(ctx context.Context) error

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."`
}

func (*ResetCmd) Run

func (c *ResetCmd) Run(ctx context.Context) error

type ResumeCmd

type ResumeCmd struct {
	Instances []string `help:"Instance IDs to resume, e.g. game or game-2. Repeatable or comma-separated; resumes every instance if omitted."`
}

func (*ResumeCmd) Run

func (c *ResumeCmd) Run(ctx context.Context) error

type StepCmd

type StepCmd struct {
	Instances []string `help:"Instance IDs to step, e.g. game or game-2. Repeatable or comma-separated; steps every instance if omitted."`
}

func (*StepCmd) Run

func (c *StepCmd) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL