Class AnnexationRecord
Stores a record of every settlement that can annex another, or its progress towards that.
Inheritance
System.Object
AnnexationRecord
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class AnnexationRecord : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions
Constructors
AnnexationRecord()
Declaration
public AnnexationRecord()
Fields
CultureNotificationThreshold
Declaration
public float CultureNotificationThreshold
Field Value
Type |
Description |
System.Single |
|
Properties
ActiveCitizenRequirementProgress
Declaration
public LocString ActiveCitizenRequirementProgress { get; set; }
Property Value
CanAnnex
Declaration
public bool CanAnnex { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ClaimsProgress
Declaration
public List<ResourceRequirementProgress> ClaimsProgress { get; set; }
Property Value
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
CultureRequirementProgress
Declaration
public float CultureRequirementProgress { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public Lazy<LocString> CultureTooltipMaker { get; set; }
Property Value
CultureWeightDescription
Declaration
public LocString CultureWeightDescription { get; set; }
Property Value
HasEnoughCitizens
Declaration
public bool HasEnoughCitizens { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MinPercentSurrounded
Declaration
public float MinPercentSurrounded { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public Lazy<LocString> PlotsTooltipMaker { get; set; }
Property Value
ResourceProgress
Declaration
public List<ResourceRequirementProgress> ResourceProgress { get; set; }
Property Value
Source
Declaration
public Settlement Source { get; set; }
Property Value
Subscriptions
Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
SurroundProgress
Declaration
public float SurroundProgress { get; set; }
Property Value
Type |
Description |
System.Single |
|
Target
Declaration
public IAnnexable Target { get; set; }
Property Value
Title
Declaration
public LocString Title { get; set; }
Property Value
Methods
Clone()
Declaration
public AnnexationRecord Clone()
Returns
Declaration
public void PerformAnnexation(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Declaration
public bool ShowAnnexButton(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Boolean |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods