Class Injunction
Inheritance
System.Object
Injunction
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[OnlySettlementsWithChildren]
public class Injunction : SimpleProposable, ILinkableParameterized<SimpleEntry.NamingOptions>, ICachesValidity, IDescribable, IProposable, IHasID, IReInitializable, IHasReferenceableSerializableID, IHostedObject, INamed, IHasTeleportOption, IHasSerializableID, ILinkableParameterized<bool>, ILinkable, ISuffixName, ISingleEditingUser, IPlayerUseTracking, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, ISettlementAssociated, INotifyPropertyChanged, IRPCAuthChecks, ICustomValidity, IValidity, IHasClientControlledContainers, IController, IViewController, IHasUniversalID
Constructors
Injunction()
Declaration
Properties
BlockedTriggersAndLegalActions
Declaration
public IEnumerable<Type> BlockedTriggersAndLegalActions { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
LawsToIgnore
Declaration
public ControllerList<Law> LawsToIgnore { get; set; }
Property Value
LegalActionsToIgnoreInLesserLaws
Declaration
public ControllerList<Type> LegalActionsToIgnoreInLesserLaws { get; set; }
Property Value
OnlyAffectSettlements
Declaration
public ControllerList<Settlement> OnlyAffectSettlements { get; set; }
Property Value
SettlementsAffected
Returns settlements affected, returning all if a whitelist is not specified.
Declaration
public IEnumerable<Settlement> SettlementsAffected { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Settlement> |
|
TriggersToIgnoreInLesserLaws
Declaration
public ControllerList<Type> TriggersToIgnoreInLesserLaws { get; set; }
Property Value
Methods
Destroyed()
Declaration
public override void Destroyed()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
OnStateChangedInternal(ProposableState, CivicsUtils.StateChangeDetailFlags)
Declaration
public override void OnStateChangedInternal(ProposableState oldState, CivicsUtils.StateChangeDetailFlags flags)
Parameters
Overrides
Declaration
[NewTooltip]
public LocString Tooltip()
Returns
Explicit Interface Implementations
ICustomValidity.Valid()
Declaration
Result ICustomValidity.Valid()
Returns
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Extension Methods