Interface IHasThirst
Namespace: OpenMod.Extensions.Games.Abstractions.Entities
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IHasThirst
Properties
| Improve this Doc View SourceMaxThirst
Gets the max thirst the entity can have.
Declaration
double MaxThirst { get; }
Property Value
Type | Description |
---|---|
System.Double |
Thirst
Gets the thirst of the entity.
Declaration
double Thirst { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceSetThirstAsync(Double)
Sets the thirst of the entity.
Declaration
Task SetThirstAsync(double thirst)
Parameters
Type | Name | Description |
---|---|---|
System.Double | thirst | The thirst to set to. |
Returns
Type | Description |
---|---|
Task |