Skip to main content

GlobalPopulationDefinition.PopulationInfo

A class in Root.Township, Alta.Populations.

A snapshot of a global population for listing: hash, name, how many are spawned and the maximum.

Constructors​

MemberWhat it is
PopulationInfo()Creates a GlobalPopulationDefinition.PopulationInfo with default values.

Properties​

MemberWhat it is
uint Hash { get; set; }The population definition's hash.
string Name { get; set; }The definition asset's name.
int PopulationSize { get; set; }Maximum spawned count for the population.
int SpawnedCount { get; set; }How many are spawned now.

Methods​

MemberWhat it is
static GlobalPopulationDefinition.PopulationInfo op_Implicit(GlobalPopulationDefinition item)Builds a PopulationInfo from a GlobalPopulationDefinition.

Used in​

Members of other types that take, return or hold a PopulationInfo: