WoW:API SetCurrentGuildBankTab: Difference between revisions

m
Move page script moved page API SetCurrentGuildBankTab to WoW:API SetCurrentGuildBankTab without leaving a redirect
(Created page with "This API appears to be broken in the current patch as of 11/1/2011 It DOES NOT really change the current guild bank tab! However, if you call GetCurrentGuildBankTab(), it will ...")
 
m (Move page script moved page API SetCurrentGuildBankTab to WoW:API SetCurrentGuildBankTab without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This API appears to be broken in the current patch as of 11/1/2011
{{Wowapi}}
This API appears to be broken in the current patch ([[Patch 4.2.2]]) as of 11/1/2011.


It DOES NOT really change the current guild bank tab! However, if you call GetCurrentGuildBankTab(), it will return the last digit given to this function.
It DOES NOT really change the current guild bank tab! However, if you call GetCurrentGuildBankTab(), it will return the last digit given to this function.
Line 13: Line 14:
  function() GuildBankTab4Button:Click() end,
  function() GuildBankTab4Button:Click() end,
  function() GuildBankTab5Button:Click() end,
  function() GuildBankTab5Button:Click() end,
  function() GuildBankTab6Button:Click() end
  function() GuildBankTab6Button:Click() end,
function() GuildBankTab7Button:Click() end
  }
  }
  SetCurrentGuildBankTab = function(tab)
  SetCurrentGuildBankTab = function(tab)
Line 20: Line 22:
  return func()
  return func()
  else
  else
  return error(string.format("Tab %s cannot be clicked!", tab))
  error(string.format("Tab %s cannot be clicked!", tab), 2)
  end
  end
  end
  end
  end
  end
Anonymous user