Class District
Implements
ILinkableParameterized<System.Boolean>
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Eco.Gameplay.LegislationSystem
Assembly: Eco.Gameplay.dll
Syntax
public class District : SimpleProposable, ILinkableParameterized<SimpleEntry.NamingOptions>, ICachesValidity, IDescribable, IProposable, IHostedObject, IHasTeleportOption, ILinkableParameterized<bool>, ILinkable, ICustomValidity, IValidity, ISuffixName, ISingleEditingUser, IPlayerUseTracking, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, ISettlementAssociated, INotifyPropertyChanged, IRPCAuthChecks, IParentedEntry, IHasID, IController, IViewController, IHasUniversalID, INamed, IReInitializable, IHasReferenceableSerializableID, IHasSerializableID
Constructors
District()
Declaration
public District()
Properties
Color
Declaration
public Color Color { get; }
Property Value
Type | Description |
---|---|
Color |
ContainingMap
Declaration
public DistrictMap ContainingMap { get; set; }
Property Value
Type | Description |
---|---|
DistrictMap |
EntryDescription
Declaration
public string EntryDescription { get; }
Property Value
Type | Description |
---|---|
System.String |
Parent
Declaration
public IHasID Parent { get; }
Property Value
Type | Description |
---|---|
IHasID |
RequiresSlot
Declaration
protected override bool RequiresSlot { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
TextName
Declaration
protected override LocString TextName { get; }
Property Value
Type | Description |
---|---|
LocString |
Overrides
Methods
OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
Declaration
public override void OnLinkClicked(TooltipOrigin origin, TooltipClickContext clickContext, User user)
Parameters
Type | Name | Description |
---|---|---|
TooltipOrigin | origin | |
TooltipClickContext | clickContext | |
User | user |
Overrides
SetColor(Color)
Declaration
public void SetColor(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color |
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged