OpenTTD Source 20241224-master-gee860a5c8e
LoggedChangeGRFParameterChanged Struct Reference
Inheritance diagram for LoggedChangeGRFParameterChanged:
LoggedChange

Public Member Functions

 LoggedChangeGRFParameterChanged (uint32_t grfid)
 
void FormatTo (std::back_insert_iterator< std::string > &output_iterator, GrfIDMapping &grf_names, GamelogActionType action_type) override
 
- Public Member Functions inherited from LoggedChange
 LoggedChange (GamelogChangeType type=GLCT_NONE)
 

Data Fields

uint32_t grfid
 ID of GRF with changed parameters.
 
- Data Fields inherited from LoggedChange
GamelogChangeType ct
 

Detailed Description

Definition at line 94 of file gamelog_internal.h.

Constructor & Destructor Documentation

◆ LoggedChangeGRFParameterChanged() [1/2]

LoggedChangeGRFParameterChanged::LoggedChangeGRFParameterChanged ( )
inline

Definition at line 95 of file gamelog_internal.h.

◆ LoggedChangeGRFParameterChanged() [2/2]

LoggedChangeGRFParameterChanged::LoggedChangeGRFParameterChanged ( uint32_t  grfid)
inline

Definition at line 96 of file gamelog_internal.h.

Member Function Documentation

◆ FormatTo()

void LoggedChangeGRFParameterChanged::FormatTo ( std::back_insert_iterator< std::string > &  output_iterator,
GrfIDMapping &  grf_names,
GamelogActionType  action_type 
)
overridevirtual

Implements LoggedChange.

Definition at line 273 of file gamelog.cpp.

Field Documentation

◆ grfid

uint32_t LoggedChangeGRFParameterChanged::grfid

ID of GRF with changed parameters.

Definition at line 100 of file gamelog_internal.h.


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