Kohi Game Engine
console_command_context Struct Reference

Context to be passed along with an executing console command (i.e. arguments to the command). More...

#include <console.h>

Data Fields

const char * command
 The full, original console command. More...
 
const char * command_name
 The console command name only. More...
 
u8 argument_count
 The number of arguments passed. More...
 
console_command_argumentarguments
 The arguments array. More...
 
void * listener
 A pointer to a listener, if required. More...
 

Detailed Description

Context to be passed along with an executing console command (i.e. arguments to the command).

Field Documentation

◆ argument_count

u8 argument_count

The number of arguments passed.

◆ arguments

The arguments array.

◆ command

const char* command

The full, original console command.

◆ command_name

const char* command_name

The console command name only.

◆ listener

void* listener

A pointer to a listener, if required.


The documentation for this struct was generated from the following file: