Class SeedRestriction
Restricts the inventory to only accept items that are seeds
Inheritance
System.Object
SeedRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class SeedRestriction : InventoryRestriction
Constructors
SeedRestriction()
Declaration
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