OpenTTD Source 20241224-master-gee860a5c8e
StringParam Struct Reference

Public Types

enum  ParamType { UNUSED , RAW_STRING , STRING , OTHER }
 

Public Member Functions

 StringParam (ParamType type, uint8_t consumes, const char *cmd)
 

Data Fields

ParamType type
 
uint8_t consumes
 
const char * cmd
 

Detailed Description

Definition at line 13 of file game_text.hpp.

Member Enumeration Documentation

◆ ParamType

enum StringParam::ParamType

Definition at line 14 of file game_text.hpp.

Constructor & Destructor Documentation

◆ StringParam()

StringParam::StringParam ( ParamType  type,
uint8_t  consumes,
const char *  cmd 
)
inline

Definition at line 25 of file game_text.hpp.

Field Documentation

◆ cmd

const char* StringParam::cmd

Definition at line 23 of file game_text.hpp.

◆ consumes

uint8_t StringParam::consumes

Definition at line 22 of file game_text.hpp.

◆ type

ParamType StringParam::type

Definition at line 21 of file game_text.hpp.


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