OpenTTD Source 20241224-master-gf74b0cf984
LoggedChangeOldVersion Struct Reference
Inheritance diagram for LoggedChangeOldVersion:
LoggedChange

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
 type of savegame,
 
uint32_t version
 major and minor version OR ttdp version
 
- Data Fields inherited from LoggedChange
GamelogChangeType ct
 

Detailed Description

Definition at line 61 of file gamelog_internal.h.

Constructor & Destructor Documentation

◆ LoggedChangeOldVersion() [1/2]

LoggedChangeOldVersion::LoggedChangeOldVersion ( )
inline

Definition at line 62 of file gamelog_internal.h.

◆ LoggedChangeOldVersion() [2/2]

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

Definition at line 63 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

type of savegame,

See also
SavegameType

Definition at line 67 of file gamelog_internal.h.

◆ version

uint32_t LoggedChangeOldVersion::version

major and minor version OR ttdp version

Definition at line 68 of file gamelog_internal.h.


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