Click or drag to resize
EatCompletedEventArgsSuccessful Property

Provides information about whether or not an eat action was successful. Often times if multiple creatures are eating the state target, the target will run out of food value before all creatures get to eat. In this case the eat won't be successful and the creature won't gain any energy.

Namespace: Terrarium.Sdk.Classes.Creature.Events
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public bool Successful { get; }

Return Value

Type: Boolean
True if your creature gained energy from eating, False otherwise.
See Also