Click or drag to resize
PopulationChangeReason Enumeration

Describes the reason for the death of a creature.

Namespace: Terrarium.Sdk.Enumerations
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public enum PopulationChangeReason
Members
  Member nameValueDescription
NotDead0

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.

Initial1 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.
Born2 The creature was added to the population through birth.
OldAge3

The creature died from old age. This happens once a creature has lived out its entire lifespan.

TeleportedTo4 The creature was removed from the engine because it was teleported to another peer.
Starved5

The creature died do to starvation. If a creature runs completely out of energy then they are considered starved.

Sick6

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.

TeleportedFrom7 The creature was added to the engine because it was successfully received from another peer.
Killed8

The creature was killed by the attack of another creature.

Error9

The creature threw an exception and was terminated.

SecurityViolation10

The creature performed an action that violated terrarium security.

Timeout11

The creature used too much of a timeslice and was timed out.

OrganismBlacklisted12 The creature was removed from the game engine because it was blacklisted by the hosting code due to a malicious timeout.
See Also