m
Move page script moved page API SplitContainerItem to WoW:API SplitContainerItem without leaving a redirect
m (Remove singatures made using ~ in main namespace) |
m (Move page script moved page API SplitContainerItem to WoW:API SplitContainerItem without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 7: | Line 7: | ||
;''Arguments'' | ;''Arguments'' | ||
:;[[API TYPE bagID|bagID]]: Integer - id of the bag the slot is located in. | :;[[API TYPE bagID|bagID]]: Integer - id of the bag the slot is located in. | ||
:;slot : Integer - slot inside the bag (top left slot is 1, slot to the right of it is 2). | :;slot : Integer - slot inside the bag (top left slot is 1, slot to the right of it is 2). | ||
| Line 22: | Line 21: | ||
:This function always puts the requested item(s) on the cursor (unlike [[API_ PickupContainerItem |PickupContainerItem()]] which can pick up items, place items, or cast spells on items based on what's already on the cursor). | :This function always puts the requested item(s) on the cursor (unlike [[API_ PickupContainerItem |PickupContainerItem()]] which can pick up items, place items, or cast spells on items based on what's already on the cursor). | ||
:Passing a larger count than is in the requested bag and slot will pick up nothing. | :Passing a larger count than is in the requested bag and slot will pick up nothing. | ||
:''A bug was found 11/19/06 that destroyed 2 items without warning or confirmation as a result of trying to split a higher amount than the stack actually contained.'' | |||