api/OneBag3

OneBag3:CloseBag(bagid)

Hides the bag frame

Parameters

bagid
the numeric id of the bag being checked


OneBag3:CreateBackpackButton(parent)

Creates the backpack button, which differs signifcantly from the other bag buttons

Parameters

parent
the parent frame which the button will be attached to.


OneBag3:CreateBagButton(bag, parent, bagid)

Creates a button for a bag

Parameters

bag
parent
the parent frame which the button will be attached to.
bagid
the numeric id of the bag being checked


OneBag3:IsBagOpen(bagid)

A replacement for the IsBagOpen function that provides valid results when using OneBag

Parameters

bagid
the numeric id of the bag being checked


OneBag3:LoadCustomConfig(baseconfig)

Provides the custom config options for OneConfig

Parameters

baseconfig
the base configuration table into which the custom options are injected


OneBag3:OnEnable()

Sets up hooks and registers events


OneBag3:OnInitialize()

Handles the do once configuration, including db, frames and configuration


OneBag3:OpenBag(bagid)

Shows the bag frame

Parameters

bagid
the numeric id of the bag being checked


OneBag3:ToggleBag(bagid)

Toggles the visibility of the bag frame

Parameters

bagid
the numeric id of the bag being checked



Comments

Posts Quoted:
Reply
Clear All Quotes