Class SettlementCivicActionsUtils
Inheritance
System.Object
SettlementCivicActionsUtils
Namespace: Eco.Gameplay.Settlements
Assembly: Eco.Gameplay.dll
Syntax
public static class SettlementCivicActionsUtils : Object
Methods
CanInviteOrApply(Settlement, Settlement, Boolean)
Check for settlement joining/inviting validity
Declaration
public static Result CanInviteOrApply(this Settlement originSettlement, Settlement targetSettlement, bool inviting)
Parameters
| Type | Name | Description |
|---|---|---|
| Settlement | originSettlement | |
| Settlement | targetSettlement | |
| System.Boolean | inviting |
Returns
| Type | Description |
|---|---|
| Result |
Remarks
inviting boolean is to determine we are inviting or applying to the target settlement