Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
This function is implemented in FrameXML/ContainerFrame.lua.
  • OpenBackpack() opens the backpack if it was not already open, or sets a flag to affect CloseBackpack()
  • CloseBackpack() closes the backpack unless it was already open before OpenBackpack() was called
backpackWasOpen = OpenBackpack()
CloseBackpack()

Returns[]

backpackWasOpen
Boolean (1 or nil) - Evaluates to true if OpenBackpack detected the backpack was already open and will prevent CloseBackpack() from acting

See Also[]

References[]

 
Advertisement