GGUI::GGCommandSource struct

Command completion and execution. Called during the UI update.

Public variables

void* Context
void(* Complete
Call add(name, hint) for each command starting with prefix, in display order. The hint describes its arguments (<seconds>) or is empty.
void(* Run
Run line. Output is up to the source (the engine logs it, so it shows in a log view).

Variable documentation

void* GGUI::GGCommandSource::Context

passed to each function