View Single Post
02-22-16, 01:06 PM   #24
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Thank you. That is what I needed: https://github.com/tomrus88/Blizzard...9bbe6...master

The dump function and slash command may become handy.

Lua Code:
  1. --7.01
  2. SlashCmdList["DUMP"] = function(msg)
  3.     UIParentLoadAddOn("Blizzard_DebugTools");
  4.     DevTools_DumpCommand(msg);
  5.     if (not IsKioskModeEnabled()) then
  6.         UIParentLoadAddOn("Blizzard_DebugTools");
  7.         DevTools_DumpCommand(msg);
  8.     end
  9. end
  10.  
  11. --7.03
  12. SlashCmdList["DUMP"] = function(msg)
  13.     if (not IsKioskModeEnabled() and not ScriptsDisallowedForBeta()) then
  14.         UIParentLoadAddOn("Blizzard_DebugTools");
  15.         DevTools_DumpCommand(msg);
  16.     end
  17. end

Current slash command list: https://github.com/tomrus88/Blizzard...ngs.lua#L10406

Curious what that KioskMode is. There even is an addon called KioskModeUI.
https://github.com/tomrus88/Blizzard...rd_KioskModeUI
Maybe they used that for conventions when they showed off the DemonHunter and gave people a certain amount of time to play it.

Another interesting binding. PvpUI toggle?

Lua Code:
  1. <Binding name="TOGGLECHARACTER4" category="BINDING_HEADER_INTERFACE">
  2.         if (not ScriptsDisallowedForBeta()) then
  3.             TogglePVPUI();
  4.         end
  5.     </Binding>
  6.  
  7. --or that wargame slash command
  8. SlashCmdList["WARGAME"] = function(msg)
  9.     -- TEMP: Disable the PVP UI for Beta
  10.     if (ScriptsDisallowedForBeta()) then
  11.         return;
  12.     end
  13.     -- Parameters are (playername, area, isTournamentMode). Since the player name can be multiple words,
  14.     -- we pass in theses parameters as a whitespace delimited string and let the C side tokenize it
  15.     StartWarGameByName(msg);
  16. end

Animated statusbar templates? O_O
https://github.com/tomrus88/Blizzard...dStatusBar.lua
https://github.com/tomrus88/Blizzard...dStatusBar.xml
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 02-22-16 at 04:25 PM.