OpenTTD Source: LoggedChangeOldVersion Struct Reference

OpenTTD Source 15.0-RC2

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

## Public Member Functions
| LoggedChangeOldVersion (uint32_t type, uint32_t version)
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 | type = 0
| type of savegame,
uint32_t | version = 0
| major and minor version OR ttdp version
Data Fields inherited from LoggedChange
GamelogChangeType | ct {}

## Detailed Description

Definition at line 62 of file gamelog_internal.h.

## Constructor & Destructor Documentation

## ◆ LoggedChangeOldVersion() [1/2]

LoggedChangeOldVersion::LoggedChangeOldVersion | ( |  | ) |
| inline

Definition at line 63 of file gamelog_internal.h.

## ◆ LoggedChangeOldVersion() [2/2]

LoggedChangeOldVersion::LoggedChangeOldVersion | ( | uint32_t | type,
|  | uint32_t | version
| ) |  |
| inline

Definition at line 64 of file gamelog_internal.h.

## Member Function Documentation

## ◆ FormatTo()

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

Implements LoggedChange.

Definition at line 192 of file gamelog.cpp.

## Field Documentation

## ◆ type

uint32_t LoggedChangeOldVersion::type = 0

type of savegame,

See also
  SavegameType

Definition at line 68 of file gamelog_internal.h.

## ◆ version

uint32_t LoggedChangeOldVersion::version = 0

major and minor version OR ttdp version

Definition at line 69 of file gamelog_internal.h.

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

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