Class ToolbarBackpackInventory
Represents the player's combined toolbar and backpack inventories.
Inheritance
System.Object
ToolbarBackpackInventory
Assembly: Eco.Gameplay.dll
public class ToolbarBackpackInventory : Inventory, IController, IViewController, IHasUniversalID
Constructors
Declaration
public ToolbarBackpackInventory(bool newInventory = true)
Parameters
Type |
Name |
Description |
System.Boolean |
newInventory |
|
Fields
Declaration
public const int DefaultWeightLimit = 30000
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public static ThreadSafeAction<User, ToolbarBackpackInventory> ToolbarBackpackInventoryChangedEvent
Field Value
Declaration
public WeightRestriction WeightRestriction
Field Value
Properties
Declaration
public LimitedInventory Backpack { get; }
Property Value
Declaration
protected override IEnumerable<Inventory> SubInventories { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Inventory> |
|
Overrides
Declaration
public ToolbarInventory Toolbar { get; }
Property Value
Declaration
public WeightComponent WeightComponent { get; }
Property Value
Methods
Declaration
protected override void Initialize()
Overrides
Declaration
public void SetUser(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Declaration
public void SetWeightLimit(int weightLimit)
Parameters
Type |
Name |
Description |
System.Int32 |
weightLimit |
|
Implements
Extension Methods