Class ContainedWorkables
Inheritance
System.Object
ContainedWorkables
Implements
System.ComponentModel.INotifyPropertyChanged
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
Any
Declaration
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
HasDataThatCanBeCleared
Declaration
public bool HasDataThatCanBeCleared { get; }
Property Value
Type |
Description |
System.Boolean |
|
Subscriptions
Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
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
Finalize()
Declaration
protected override void Finalize()
GetFromRegistrars(WorldObject)
Declaration
public void GetFromRegistrars(WorldObject hostObject)
Parameters
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
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
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
System.ComponentModel.INotifyPropertyChanged
Extension Methods