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.EnumerationsAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic enum DisplayAction
Public Enumeration DisplayAction
public enum class DisplayAction
Members
| Member name | Value | Description |
---|
| Attacked | -1 |
The creature attacked. This happens quite a bit and is
a very prominent display action.
|
| Defended | 7 |
The creature defended. This also hapens quite a bit
and is a very prominent display action.
|
| Dead | 4000 |
The creature was dead in the previous tick and is still
dead.
|
| Died | 15 |
The creature died in the previous tick and the dying
animation should be performed if there is one.
|
| Ate | 23 |
The creature was eating in the previous tick.
|
| Moved | 31 |
The creature was moving in the previous tick.
|
| NoAction | 32 |
The creature was not performing any actions.
|
| Teleported | 33 |
The creature was teleporting in the previous
tick. This could be used for a great teleportation
animation if one existed.
|
| Reproduced | 34 |
The creature was reproducing in the previous
tick. The animation for reproduction should be
shown if there is one.
|
See Also