Class FuelRestriction
Restricts the inventory to only accept fuel items.
Inheritance
System.Object
FuelRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class FuelRestriction : InventoryRestriction
Constructors
FuelRestriction()
Declaration
Properties
Message
Declaration
public override LocString Message { get; }
Property Value
Overrides
Priority
Declaration
public override int Priority { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Methods
MaxAccepted(Item, Int32)
Declaration
public override int MaxAccepted(Item item, int currentQuantity)
Parameters
Type |
Name |
Description |
Item |
item |
|
System.Int32 |
currentQuantity |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Extension Methods