bool CanAdd(Pickup pickup) | True if the dock would accept the pickup. |
Pickup Peek() | The docked pickup, or null. |
bool Search(Func<Pickup, bool> predicate) | Tests the docked pickup with the predicate. For a pouch, tests the items in its sub-docks instead. |
bool TryPeek(out Pickup pickup) | Gets the docked pickup and returns whether there is one. |
bool TryPop(out Pickup pickup) | Undocks one of the docked item, optionally only if it matches the predicate. |
bool TryPop(out Pickup pickup, Func<Pickup, bool> predicate) | Undocks one of the docked item, optionally only if it matches the predicate. |
bool TryPush(Pickup pickup) | Docks one of the pickup into this dock. True if the dock returned Ok. |