OpenTTD Source: LoggedAction Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
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
| Tick when it happened.

## Detailed Description

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

Definition at line 142 of file gamelog_internal.h.

## Field Documentation

## ◆ at

GamelogActionType LoggedAction::at

Type of action.

Definition at line 144 of file gamelog_internal.h.

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

## ◆ change

std::vector<std::unique_ptr<LoggedChange> > LoggedAction::change

Logged changes in this action.

Definition at line 143 of file gamelog_internal.h.

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

## ◆ tick

uint64_t LoggedAction::tick

Tick when it happened.

Definition at line 145 of file gamelog_internal.h.

Referenced by Gamelog::Change().

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

- src/gamelog_internal.h