libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Ship::CommandArgument Struct Reference

Metadata for a single positional argument of a console command. More...

#include <Console.h>

Public Attributes

std::string Info
 Human-readable description of the argument.
 
ArgumentType Type = ArgumentType::NUMBER
 Expected value type (text or numeric).
 
bool Optional = false
 If true, the argument may be omitted.
 

Detailed Description

Metadata for a single positional argument of a console command.

Member Data Documentation

◆ Info

std::string Ship::CommandArgument::Info

Human-readable description of the argument.

◆ Optional

bool Ship::CommandArgument::Optional = false

If true, the argument may be omitted.

◆ Type

ArgumentType Ship::CommandArgument::Type = ArgumentType::NUMBER

Expected value type (text or numeric).


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