Simulator::StarRequestFilter struct

Constructors, destructors, conversion operators

StarRequestFilter()

Public functions

auto AddStarType(StarType type) -> void
auto AddTechLevel(TechLevel level) -> void
auto RemoveStarType(StarType type) -> void
auto RemoveTechLevel(TechLevel level) -> void

Public variables

int starTypes
Flags that represent accepted star types.
int techLevels
Flags that represent accepted planet tech levels.
int flags
float minDistance
Minimum distance for stars to be detected, in parsecs.
float maxDistance
Maximum distance for stars to be detected, in parsecs.
float field_14
int field_18

Variable documentation

int Simulator::StarRequestFilter::starTypes

Flags that represent accepted star types.

By default, all types are accepted. To accept specific types, first set to 0 and then call AddStarType()

int Simulator::StarRequestFilter::techLevels

Flags that represent accepted planet tech levels.

By default, all tech levels are accepted. To accept specific levels, first set to 0 and then call AddTechLevel()