Show / Hide Table of Contents

Interface IProposable

Inherited Members
IHostedObject.DisableHostedObject()
IHostedObject.ReenableHostedObject()
IHostedObject.AssignHostObject(WorldObject)
IHostedObject.CanBeAssignedTo(IOrphanAssignment)
IHostedObject.HostObject
IHostedObject.ScanPeriodically
IHostedObject.IsActive
IHostedObject.WasRemoved
IHostedObject.RequiresHost
IHostedObject.LastValidTime
IHostedObject.Creator
IHostedObject.HostingSettlement
IHostedObject.ExpirationWarningsIssued
IHostedObject.CanBeEdited
IHostedObject.IHasTeleportOption.CanTeleport
IHostedObject.IHasTeleportOption.Pos
IHasTeleportOption.Pos
IHasTeleportOption.CanTeleport
ILinkableParameterized<Boolean>.UILinkContent(Boolean)
ILinkable.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
ILinkable.UILinkContent()
ICustomValidity.Valid()
ICustomValidity.SkipPropertyValidation
ISuffixName.NameSuffix
ISingleEditingUser.CurrentEditingUser
IPlayerUseTracking.OnUsingPlayersChange()
IPlayerUseTracking.UsingPlayers
ISettlementAssociated.Settlement
Namespace: Eco.Gameplay.Civics.Misc
Assembly: Eco.Gameplay.dll
Syntax
public interface IProposable : IHasID, IReInitializable, IHasReferenceableSerializableID, IHostedObject, INamed, IHasTeleportOption, IHasSerializableID, ILinkableParameterized<bool>, ILinkable, ICustomValidity, IValidity, ISuffixName, ISingleEditingUser, IPlayerUseTracking, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, ISettlementAssociated, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Properties

DescribedWithTable

Declaration
bool DescribedWithTable { get; }
Property Value
Type Description
System.Boolean

Election

Declaration
Election Election { get; set; }
Property Value
Type Description
Election

Initialized

Declaration
bool Initialized { get; }
Property Value
Type Description
System.Boolean

RemovalElection

Declaration
Election RemovalElection { get; set; }
Property Value
Type Description
Election

RemovedBy

Declaration
User RemovedBy { get; set; }
Property Value
Type Description
User

RequiresCivicActionToActivate

Declaration
virtual bool RequiresCivicActionToActivate { get; }
Property Value
Type Description
System.Boolean

RevisionParent

Declaration
IProposable RevisionParent { get; set; }
Property Value
Type Description
IProposable

State

Declaration
ProposableState State { get; set; }
Property Value
Type Description
ProposableState

TargetToReplace

Declaration
IProposable TargetToReplace { get; set; }
Property Value
Type Description
IProposable

Methods

ApplyUpdatedProposable(IProposable)

Declaration
void ApplyUpdatedProposable(IProposable old)
Parameters
Type Name Description
IProposable old

GetPairsOfOldAndNewRevisions(IProposable)

Declaration
Dictionary<IHasID, IHasID> GetPairsOfOldAndNewRevisions(IProposable old)
Parameters
Type Name Description
IProposable old
Returns
Type Description
System.Collections.Generic.Dictionary<IHasID, IHasID>

InitializeDraftProposable()

Declaration
void InitializeDraftProposable()

OnBeforeStateChangeInternal(ProposableState, CivicsUtils.StateChangeDetailFlags)

Declaration
virtual void OnBeforeStateChangeInternal(ProposableState newState, CivicsUtils.StateChangeDetailFlags flags)
Parameters
Type Name Description
ProposableState newState
CivicsUtils.StateChangeDetailFlags flags

OnStateChangedInternal(ProposableState, CivicsUtils.StateChangeDetailFlags)

Declaration
void OnStateChangedInternal(ProposableState oldState, CivicsUtils.StateChangeDetailFlags flags)
Parameters
Type Name Description
ProposableState oldState
CivicsUtils.StateChangeDetailFlags flags

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
RegistrarExtensions.IsProposableSpecial(IProposable)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
CivicsUtils.TryDestroyProposable(IProposable, Player)
CivicsUtils.Active(IProposable)
CivicsUtils.UpdateNameSuffix(IProposable, Boolean)
CivicsUtils.SetProposedState(IProposable, ProposableState, Boolean, Boolean, CivicsUtils.StateChangeDetailFlags)
CivicsUtils.CanBeAssignedToContainer(IProposable, IOrphanAssignment)
CivicsUtils.Open(IProposable, Player)
ProposableUtils.HasValidConstitution(IProposable)
TypeTooltipExtensions.UILinkGeneric(Object)
CivicsTooltipLibrary.TooltipProposable(IProposable)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾