Click or drag to resize
DisplayAction Enumeration
Used to determine what the most prominent completed action for the previous tick was. This is used by the rendering engine to decide which animation should be used. Note that the values of the enumeration were initially set to enable quick render processing, but the values are now much less important.

Namespace: Terrarium.Sdk.Enumerations
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public enum DisplayAction
Members
  Member nameValueDescription
Attacked-1 The creature attacked. This happens quite a bit and is a very prominent display action.
Defended7 The creature defended. This also hapens quite a bit and is a very prominent display action.
Dead4000 The creature was dead in the previous tick and is still dead.
Died15 The creature died in the previous tick and the dying animation should be performed if there is one.
Ate23 The creature was eating in the previous tick.
Moved31 The creature was moving in the previous tick.
NoAction32 The creature was not performing any actions.
Teleported33 The creature was teleporting in the previous tick. This could be used for a great teleportation animation if one existed.
Reproduced34 The creature was reproducing in the previous tick. The animation for reproduction should be shown if there is one.
See Also