Simulator::cCultureSet class

Constructors, destructors, conversion operators

cCultureSet()
~cCultureSet()

Public functions

auto SetCreation(ModelTypes creationType, const ResourceKey& modelKey) -> const ResourceKey&
Assigns a creation to a certain type.
auto GetCreation(ModelTypes creationType) -> const ResourceKey*

Protected variables

map<uint32_t, ResourceKey> mModelTypeToKeyMap

Function documentation

const ResourceKey& Simulator::cCultureSet::SetCreation(ModelTypes creationType, const ResourceKey& modelKey)

Assigns a creation to a certain type.

Parameters
creationType
modelKey

The available types can be found in the ModelTypes enum, such as "BuildingCityHall". The ResourceKey points directly to the creation model (the .bld, .crt,... files)