Class SettlementPropertyUtils
Inheritance
System.Object
SettlementPropertyUtils
Namespace: Eco.Gameplay.Settlements
Assembly: Eco.Gameplay.dll
Syntax
public static class SettlementPropertyUtils : Object
Methods
ShouldAllowClaim(User, Settlement, PlotPos, Type)
Look at all immigration policies on settlements at the given location and see if youre allowed to claim land here.
Declaration
public static Result ShouldAllowClaim(User user, Settlement associatedSettlement, PlotPos pos, Type itemUsedToClaim)
Parameters
Type | Name | Description |
---|---|---|
User | user | |
Settlement | associatedSettlement | this is set if claiming on a claim stake that is associated to a particular settlement. |
PlotPos | pos | |
System.Type | itemUsedToClaim |
Returns
Type | Description |
---|---|
Result |