OpenTTD Source 20241224-master-gee860a5c8e
GRFPresence Struct Reference

Information about the presence of a Grf at a certain point during gamelog history Note about missing Grfs: Changes to missing Grfs are not logged including manual removal of the Grf. More...

#include <gamelog_internal.h>

Public Member Functions

 GRFPresence (const GRFConfig *gc)
 

Data Fields

const GRFConfiggc
 GRFConfig, if known.
 
bool was_missing
 Grf was missing during some gameload in the past.
 

Detailed Description

Information about the presence of a Grf at a certain point during gamelog history Note about missing Grfs: Changes to missing Grfs are not logged including manual removal of the Grf.

So if the gamelog tells a Grf is missing we do not know whether it was readded or completely removed at some later point.

Definition at line 22 of file gamelog_internal.h.

Constructor & Destructor Documentation

◆ GRFPresence()

GRFPresence::GRFPresence ( const GRFConfig gc)
inline

Definition at line 26 of file gamelog_internal.h.

Field Documentation

◆ gc

const GRFConfig* GRFPresence::gc

GRFConfig, if known.

Definition at line 23 of file gamelog_internal.h.

◆ was_missing

bool GRFPresence::was_missing

Grf was missing during some gameload in the past.

Definition at line 24 of file gamelog_internal.h.


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