EatCompletedEventArgs Properties |
The EatCompletedEventArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | Action |
Retrieves the Acton that was completed.
(Inherited from ActionResponseEventArgs.) |
![]() | ActionID |
Retrives the ID of the action.
(Inherited from ActionResponseEventArgs.) |
![]() | EatAction | 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. |
![]() | Successful | 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. |