Class BiomeRestrictionsManager
Inheritance
System.Object
BiomeRestrictionsManager
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public sealed class BiomeRestrictionsManager : Singleton<BiomeRestrictionsManager>, IController, IViewController, IHasUniversalID
Constructors
BiomeRestrictionsManager()
Declaration
public BiomeRestrictionsManager()
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
CheckBiomeChanges(User)
Called whenever player moves tiles to check if new tile is in a separate biome and apply biome specific modifiers
Declaration
public void CheckBiomeChanges(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user |
TeleportToClosestLand(User)
Called from the client whenever player runs out of calories while swimming
Declaration
public bool TeleportToClosestLand(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user |
Returns
Type | Description |
---|---|
System.Boolean |