Class RepairComponent
Inheritance
System.Object
RepairComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[RequireComponent]
[RequireComponent]
public class RepairComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IInventoryWorldObjectComponent, IPermanentDestroyHandler
Constructors
RepairComponent()
Declaration
Fields
MaxDurabilityPenaltyMultiplier
Set this to detemine a multiplier based on skills/talents/etc for the max durability reduction during repair.
Declaration
public IDynamicValue MaxDurabilityPenaltyMultiplier
Field Value
Properties
Availability
Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Overrides
Description
Declaration
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
Inventory
Declaration
public Inventory Inventory { get; }
Property Value
RepairMaterial
Declaration
public LimitedInventory RepairMaterial { get; set; }
Property Value
ToRepair
Declaration
public LimitedInventory ToRepair { get; set; }
Property Value
Methods
Destroy()
Declaration
public override void Destroy()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
Repair(Player, BankAccount)
Declaration
public void Repair(Player player, BankAccount account)
Parameters
TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
Declaration
public override InventoryMoveResult TryPickup(Player player, InventoryChangeSet invChanges, Inventory targetInventory, bool force)
Parameters
Returns
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods