Show / Hide Table of Contents

Class ContainedWorkables

Inheritance
System.Object
ContainedWorkables
Implements
IClearRequestHandler
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
Namespace: Eco.Gameplay.Economy
Assembly: Eco.Gameplay.dll
Syntax
public class ContainedWorkables : Object, IClearRequestHandler, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions

Constructors

ContainedWorkables()

Declaration
public ContainedWorkables()

Properties

AllWorkables

Declaration
public ControllerList<Workable> AllWorkables { get; set; }
Property Value
Type Description
ControllerList<Workable>

Any

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

Contracts

Declaration
public IEnumerable<Contract> Contracts { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Contract>

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Description

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

HasDataThatCanBeCleared

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

Subscriptions

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

Workables

Declaration
public IEnumerable<Workable> Workables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Workable>

WorkParties

Declaration
public IEnumerable<WorkParty> WorkParties { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<WorkParty>

Methods

Add(Workable)

Declaration
public void Add(Workable workable)
Parameters
Type Name Description
Workable workable

Finalize()

Declaration
protected override void Finalize()

GetFromRegistrars(WorldObject)

Declaration
public void GetFromRegistrars(WorldObject hostObject)
Parameters
Type Name Description
WorldObject hostObject

GetFromRegistrars(User)

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

RecalculateWorkables()

Declaration
public void RecalculateWorkables()

Remove(Workable)

Declaration
public void Remove(Workable workable)
Parameters
Type Name Description
Workable workable

RemovedWorkable(INetObject, Object)

Declaration
public void RemovedWorkable(INetObject arg1, object arg2)
Parameters
Type Name Description
INetObject arg1
System.Object arg2

Subscribe(Action)

Declaration
public void Subscribe(Action onChange)
Parameters
Type Name Description
System.Action onChange

TryHandleClearRequest(Player)

Declaration
public Result TryHandleClearRequest(Player player)
Parameters
Type Name Description
Player player
Returns
Type Description
Result

Unsubscribe(Action)

Declaration
public void Unsubscribe(Action onChange)
Parameters
Type Name Description
System.Action onChange

UpdateHostName()

Declaration
public void UpdateHostName()

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IClearRequestHandler
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)
TypeTooltipExtensions.UILinkGeneric(Object)
ContainedWorkablesTooltipLibrary.ContainedWorkablesTooltip(ContainedWorkables)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾