PopulationChangeReason Enumeration |
Describes the reason for the death of a creature.
Namespace: Terrarium.Sdk.Enumerations
Member name | Value | Description | |
---|---|---|---|
NotDead | 0 | The creature is not dead yet. This will be returned by all creatures that are alive in the Terrarium and is a place holder to represent an undead state. | |
Initial | 1 | Represents initial population changes instituted whenever the game state is deserialized. These creatures were not added to the game, but were pre-existing. When creating new reporting data this has to be remembered. | |
Born | 2 | The creature was added to the population through birth. | |
OldAge | 3 | The creature died from old age. This happens once a creature has lived out its entire lifespan. | |
TeleportedTo | 4 | The creature was removed from the engine because it was teleported to another peer. | |
Starved | 5 | The creature died do to starvation. If a creature runs completely out of energy then they are considered starved. | |
Sick | 6 | The creature is not dead yet. This will be returned by all creatures that are alive in the Terrarium and is a place holder to represent an undead state. | |
TeleportedFrom | 7 | The creature was added to the engine because it was successfully received from another peer. | |
Killed | 8 | The creature was killed by the attack of another creature. | |
Error | 9 | The creature threw an exception and was terminated. | |
SecurityViolation | 10 | The creature performed an action that violated terrarium security. | |
Timeout | 11 | The creature used too much of a timeslice and was timed out. | |
OrganismBlacklisted | 12 | The creature was removed from the game engine because it was blacklisted by the hosting code due to a malicious timeout. |