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

Public Member Functions

 LoggedChangeGRFRemoved (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 removed GRF.
 
- Data Fields inherited from LoggedChange
GamelogChangeType ct
 

Detailed Description

Definition at line 78 of file gamelog_internal.h.

Constructor & Destructor Documentation

◆ LoggedChangeGRFRemoved() [1/2]

LoggedChangeGRFRemoved::LoggedChangeGRFRemoved ( )
inline

Definition at line 79 of file gamelog_internal.h.

◆ LoggedChangeGRFRemoved() [2/2]

LoggedChangeGRFRemoved::LoggedChangeGRFRemoved ( uint32_t  grfid)
inline

Definition at line 80 of file gamelog_internal.h.

Member Function Documentation

◆ FormatTo()

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

Implements LoggedChange.

Definition at line 241 of file gamelog.cpp.

Field Documentation

◆ grfid

uint32_t LoggedChangeGRFRemoved::grfid

ID of removed GRF.

Definition at line 84 of file gamelog_internal.h.


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