OpenTTD Source: LoggedChangeGRFParameterChanged Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
LoggedChangeGRFParameterChanged Struct Reference
Inheritance diagram for LoggedChangeGRFParameterChanged:

## 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:

- src/gamelog_internal.h
- src/gamelog.cpp