OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IHasThirst

Namespace: OpenMod.Extensions.Games.Abstractions.Entities
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IHasThirst

Properties

| Improve this Doc View Source

MaxThirst

Gets the max thirst the entity can have.

Declaration
double MaxThirst { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Thirst

Gets the thirst of the entity.

Declaration
double Thirst { get; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

SetThirstAsync(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

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)