public SplitStackResult InventoryControlWrapper.SplitStack(int localId, int value, bool actuallySplit = true)
Requests the specified quantity from an item stack in this grid. Check the returned result before continuing.
localIdint- The item's identifier within its owning inventory; do not substitute a grid position.
valueint- Specifies value.
actuallySplitbool- Action-control flag. Support varies by overload; do not assume that false makes the operation side-effect-free.
Returns: The SplitStackResult result.