Show / Hide Table of Contents

Class AnnexationRecord

Stores a record of every settlement that can annex another, or its progress towards that.

Inheritance
System.Object
AnnexationRecord
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
Namespace: Eco.Gameplay.Settlements.Annexation
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
Type Description
LocString

CanAnnex

Declaration
public bool CanAnnex { get; set; }
Property Value
Type Description
System.Boolean

ClaimsProgress

Declaration
public List<ResourceRequirementProgress> ClaimsProgress { get; set; }
Property Value
Type Description
System.Collections.Generic.List<ResourceRequirementProgress>

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

CultureTooltipMaker

Declaration
public Lazy<LocString> CultureTooltipMaker { get; set; }
Property Value
Type Description
System.Lazy<LocString>

CultureWeightDescription

Declaration
public LocString CultureWeightDescription { get; set; }
Property Value
Type Description
LocString

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

PlotsTooltipMaker

Declaration
public Lazy<LocString> PlotsTooltipMaker { get; set; }
Property Value
Type Description
System.Lazy<LocString>

ResourceProgress

Declaration
public List<ResourceRequirementProgress> ResourceProgress { get; set; }
Property Value
Type Description
System.Collections.Generic.List<ResourceRequirementProgress>

Source

Declaration
public Settlement Source { get; set; }
Property Value
Type Description
Settlement

Subscriptions

Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
Type Description
ThreadSafeSubscriptions

SurroundProgress

Declaration
public float SurroundProgress { get; set; }
Property Value
Type Description
System.Single

Target

Declaration
public IAnnexable Target { get; set; }
Property Value
Type Description
IAnnexable

Title

Declaration
public LocString Title { get; set; }
Property Value
Type Description
LocString

Methods

Clone()

Declaration
public AnnexationRecord Clone()
Returns
Type Description
AnnexationRecord

PerformAnnexation(User)

Declaration
public void PerformAnnexation(User user)
Parameters
Type Name Description
User user

ShowAnnexButton(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

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions

Extension Methods

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