Show / Hide Table of Contents

Class SettlementLegal

Inheritance
System.Object
SettlementLegal
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Economy
Assembly: Eco.Gameplay.dll
Syntax
public class SettlementLegal : Object, INotifyPropertyChanged

Constructors

SettlementLegal()

Declaration
public SettlementLegal()

Methods

Initialize(Settlement)

Declaration
public void Initialize(Settlement settlement)
Parameters
Type Name Description
Settlement settlement

LawIsBlocked(Law)

See if this settlement or any of its parents is blocking the specified law.

Declaration
public bool LawIsBlocked(Law law)
Parameters
Type Name Description
Law law
Returns
Type Description
System.Boolean

TriggerOrLegalActionIsBlocked(Type)

See if this settlement or any of its parents is blocking the specified trigger or legal action.

Declaration
public bool TriggerOrLegalActionIsBlocked(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean

UpdateBlocks()

Declaration
public void UpdateBlocks()

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾