OpenTTD Source 20250205-master-gfd85ab1e2c
StringParam Struct Reference

Public Types

enum  ParamType : uint8_t { 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 15 of file game_text.hpp.

Member Enumeration Documentation

◆ ParamType

enum StringParam::ParamType : uint8_t

Definition at line 16 of file game_text.hpp.

Constructor & Destructor Documentation

◆ StringParam()

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

Definition at line 27 of file game_text.hpp.

Field Documentation

◆ cmd

const char* StringParam::cmd

Definition at line 25 of file game_text.hpp.

◆ consumes

uint8_t StringParam::consumes

Definition at line 24 of file game_text.hpp.

◆ type

ParamType StringParam::type

Definition at line 23 of file game_text.hpp.


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