OpenTTD Source: IndustryGenerationProbabilities Struct Reference

OpenTTD Source 15.3

Data Fields
IndustryGenerationProbabilities Struct Reference

## Data Fields
std::array< uint32_t, NUM_INDUSTRYTYPES > | probs {}
std::array< bool, NUM_INDUSTRYTYPES > | force_one {}
uint64_t | total = 0
uint | num_forced = 0

## Detailed Description

Definition at line 2459 of file industry_cmd.cpp.

## Field Documentation

## ◆ force_one

std::array<bool, NUM_INDUSTRYTYPES> IndustryGenerationProbabilities::force_one {}

Definition at line 2461 of file industry_cmd.cpp.

## ◆ num_forced

uint IndustryGenerationProbabilities::num_forced = 0

Definition at line 2463 of file industry_cmd.cpp.

## ◆ probs

std::array<uint32_t, NUM_INDUSTRYTYPES> IndustryGenerationProbabilities::probs {}

Definition at line 2460 of file industry_cmd.cpp.

## ◆ total

uint64_t IndustryGenerationProbabilities::total = 0

Definition at line 2462 of file industry_cmd.cpp.

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

- src/industry_cmd.cpp