OpenBag()

From Warcraft Wiki
(Redirected from API CloseBag)
Jump to navigation Jump to search
This function is implemented in FrameXML/ContainerFrame.lua.
  • OpenBag() opens the bag, and can force the container to update itself even if it was already open
  • CloseBag() closes the bag
OpenBag(id[, force])
CloseBag(id)

Arguments

id
Number (BagID) - Unique identifier for each bag
force
Boolean - (OpenBag only) Optional flag to force ContainerFrame_Update() even if the bag was already open.

See Also

References