OpenTTD Source 20260208-master-g43af8e94d0
LoggedAction Struct Reference

Contains information about one logged action that caused at least one logged change. More...

#include <gamelog_internal.h>

Data Fields

std::vector< std::unique_ptr< LoggedChange > > change
 Logged changes in this action.
GamelogActionType at {}
 Type of action.
uint64_t tick = 0
 Tick when it happened.

Detailed Description

Contains information about one logged action that caused at least one logged change.

Definition at line 150 of file gamelog_internal.h.

Field Documentation

◆ at

GamelogActionType LoggedAction::at {}

Type of action.

Definition at line 152 of file gamelog_internal.h.

Referenced by Gamelog::GetOverriddenIdentifier(), and Gamelog::Print().

◆ change

◆ tick

uint64_t LoggedAction::tick = 0

Tick when it happened.

Definition at line 153 of file gamelog_internal.h.

Referenced by Gamelog::Print().


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