About: BagId   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

__NOWYSIWYG__ {| class="darktable" |- ! style="position:relative" | Reference e |- | AddOns WoW API Widget API XML UI Event API WoW Lua Macro API CVars Changes |} → [[:Category:|]] [[Category:]]__NOWYSIWYG__ru:Шаблон:WoWAPI __TOC__← [[|]] While dealing with container and inventory items, many developers use a bag/slot couple and set bag to -1 for the case of an inventory item. But a problem occurs when the bank is opened (after BANKFRAME_OPENED event being fired) because the 28 slots of the bank count as actual container slots with -1 as bagID. In the same idea, items in the bank bags can be accessed via container item functions (like GetContainerItemLink(bagID, slotID), PickupContainerItem(bagID, slotID)) with 5 as bagID for the first bank bag, 6 for the second ... until 11 fo

AttributesValues
rdfs:label
  • BagId
rdfs:comment
  • __NOWYSIWYG__ {| class="darktable" |- ! style="position:relative" | Reference e |- | AddOns WoW API Widget API XML UI Event API WoW Lua Macro API CVars Changes |} → [[:Category:|]] [[Category:]]__NOWYSIWYG__ru:Шаблон:WoWAPI __TOC__← [[|]] While dealing with container and inventory items, many developers use a bag/slot couple and set bag to -1 for the case of an inventory item. But a problem occurs when the bank is opened (after BANKFRAME_OPENED event being fired) because the 28 slots of the bank count as actual container slots with -1 as bagID. In the same idea, items in the bank bags can be accessed via container item functions (like GetContainerItemLink(bagID, slotID), PickupContainerItem(bagID, slotID)) with 5 as bagID for the first bank bag, 6 for the second ... until 11 fo
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • __NOWYSIWYG__ {| class="darktable" |- ! style="position:relative" | Reference e |- | AddOns WoW API Widget API XML UI Event API WoW Lua Macro API CVars Changes |} → [[:Category:|]] [[Category:]]__NOWYSIWYG__ru:Шаблон:WoWAPI __TOC__← [[|]] While dealing with container and inventory items, many developers use a bag/slot couple and set bag to -1 for the case of an inventory item. But a problem occurs when the bank is opened (after BANKFRAME_OPENED event being fired) because the 28 slots of the bank count as actual container slots with -1 as bagID. In the same idea, items in the bank bags can be accessed via container item functions (like GetContainerItemLink(bagID, slotID), PickupContainerItem(bagID, slotID)) with 5 as bagID for the first bank bag, 6 for the second ... until 11 for the seventh. To sum up, the current possibilities for bagID are : * 0 for the backpack * 1 to 4 for the bags on the character (numbered right to left) * -2 for the keyring * -4 for the tokens bag While the bank is opened: * -1 for the bank content * 5 to 11 for bank bags (numbered left to right, was 5-10 prior to 2.0)
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software