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