Click or drag to resize
EatCompletedEventArgs Properties

The EatCompletedEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyAction
Retrieves the Acton that was completed.
(Inherited from ActionResponseEventArgs.)
Public propertyActionID
Retrives the ID of the action.
(Inherited from ActionResponseEventArgs.)
Public propertyEatAction

Provides information about the original EatAction and the parameters passed into the BeginEating method. This can be used to retrieve the state of the creature you tried to eat.

Public propertySuccessful

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.

Top
See Also