Class Law
Implements
ILinkableParameterized<System.Boolean>
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Eco.Gameplay.Civics.Laws
Assembly: Eco.Gameplay.dll
Syntax
public class Law : SimpleProposable, ILinkableParameterized<SimpleEntry.NamingOptions>, ICachesValidity, IProposable, IHasID, IReInitializable, IHasReferenceableSerializableID, IHostedObject, INamed, IHasTeleportOption, IHasSerializableID, ILinkableParameterized<bool>, ILinkable, ICustomValidity, IValidity, ISuffixName, ISingleEditingUser, IPlayerUseTracking, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, ISettlementAssociated, INotifyPropertyChanged, IRPCAuthChecks, IHasClientControlledContainers, IController, IViewController, IHasUniversalID, INotifyRecursiveChanged, IDescribable
Constructors
Law()
Declaration
public Law()
Properties
DescribedWithTable
Declaration
public override bool DescribedWithTable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IconName
Declaration
public override string IconName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Sections
Declaration
public ControllerList<LawSection> Sections { get; set; }
Property Value
Type | Description |
---|---|
ControllerList<LawSection> |
Methods
ApplyUpdatedProposable(IProposable)
Declaration
public override void ApplyUpdatedProposable(IProposable old)
Parameters
Type | Name | Description |
---|---|---|
IProposable | old |
Overrides
Description()
Declaration
public override LocString Description()
Returns
Type | Description |
---|---|
LocString |
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
InitializeDraftProposable()
Declaration
public override void InitializeDraftProposable()
Overrides
OnRecursiveChange(PropertyInfo, Object)
Declaration
public void OnRecursiveChange(PropertyInfo prop, object objParent)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | prop | |
System.Object | objParent |
TryPerform(GameAction, AccountChangeSet)
Declaration
public PostResult TryPerform(GameAction action, AccountChangeSet acc)
Parameters
Type | Name | Description |
---|---|---|
GameAction | action | |
AccountChangeSet | acc |
Returns
Type | Description |
---|---|
PostResult |
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged