OpenTTD Source: StationScopeResolver::Cache Struct Reference

OpenTTD Source 15.3

Data Fields
StationScopeResolver::Cache Struct Reference

Station variable cache This caches 'expensive' station variable lookups which iterate over several tiles that may be called multiple times per Resolve(). More...

`#include <newgrf_station.h>`

## Data Fields
std::optional< uint32_t > | v40
std::optional< uint32_t > | v41
std::optional< uint32_t > | v45
std::optional< uint32_t > | v46
std::optional< uint32_t > | v47
std::optional< uint32_t > | v49

## Detailed Description

Station variable cache This caches 'expensive' station variable lookups which iterate over several tiles that may be called multiple times per Resolve().

Definition at line 39 of file newgrf_station.h.

## Field Documentation

## ◆ v40

std::optional<uint32_t> StationScopeResolver::Cache::v40

Definition at line 40 of file newgrf_station.h.

## ◆ v41

std::optional<uint32_t> StationScopeResolver::Cache::v41

Definition at line 41 of file newgrf_station.h.

## ◆ v45

std::optional<uint32_t> StationScopeResolver::Cache::v45

Definition at line 42 of file newgrf_station.h.

## ◆ v46

std::optional<uint32_t> StationScopeResolver::Cache::v46

Definition at line 43 of file newgrf_station.h.

## ◆ v47

std::optional<uint32_t> StationScopeResolver::Cache::v47

Definition at line 44 of file newgrf_station.h.

## ◆ v49

std::optional<uint32_t> StationScopeResolver::Cache::v49

Definition at line 45 of file newgrf_station.h.

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

- src/newgrf_station.h