Class PluginModulesComponent
Component which allows to add Plugin Modules to a world object (like better efficiency, longer labor queue etc).
Inheritance
System.Object
PluginModulesComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class PluginModulesComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IInventoryWorldObjectComponent, IPermanentDestroyHandler
Constructors
PluginModulesComponent()
Declaration
public PluginModulesComponent()
Fields
OnChanged
Declaration
public readonly ThreadSafeAction OnChanged
Field Value
Properties
AllowedModulesInfo
Cached information about allowed modules (tags) you can plug. Actual module items stored in inventory.
Declaration
public LocString AllowedModulesInfo { get; }
Property Value
Availability
Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Overrides
Inventory
Declaration
public AuthorizationInventory Inventory { get; }
Property Value
Methods
GetModule(ModuleTypes)
Declaration
public PluginModule GetModule(ModuleTypes types)
Parameters
Returns
Initialize()
Declaration
public override void Initialize()
Overrides
TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
Declaration
public override InventoryMoveResult TryPickup(Player player, InventoryChangeSet playerInvChanges, Inventory targetInventory, bool force)
Parameters
Returns
Overrides
Explicit Interface Implementations
IInventoryWorldObjectComponent.Inventory
Declaration
Inventory IInventoryWorldObjectComponent.Inventory { get; }
Returns
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods