ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Unofficial API changes (100003 to 100007 differences) (https://www.esoui.com/forums/showthread.php?t=1864)

Harven 06/27/14 08:48 AM

Unofficial API changes (100003 to 100007 differences)
 
The following data is produced by comparing API 100003 and 100007 global variables (I have no access to 100004 global variables) - there may be some mistakes :) Also I have added 100007 raw globals dump: http://wiki.esoui.com/Raw_globals_dump
  • New Functions:
    Warning: Spoiler
  • Removed Functions:
    Warning: Spoiler
  • New Protected Functions:
    Warning: Spoiler
  • Removed Protected Functions:
    Warning: Spoiler
  • New Constants:
    Warning: Spoiler
  • Removed Constants:
    Warning: Spoiler
  • New Tables:
    Warning: Spoiler
  • Removed Tables:
    Warning: Spoiler
  • New Userdata:
    Warning: Spoiler
  • Removed Userdata:
    Warning: Spoiler

SkOODaT 06/27/14 09:07 AM

thank you so much :)

zgrssd 06/27/14 09:30 AM

Thanks a ton. I tried to do something like this to update the globals using zgoo.
But I barely understand the concept of the globale table, so I was out of my league.

Harven 06/27/14 09:37 AM

I'm happy I could help :)
Here's the slash command used to make the dump:
Lua Code:
  1. SLASH_COMMANDS["/globalsdump"] = function()
  2.         local counter = 0
  3.         for k,v in zo_insecurePairs(_G) do
  4.             counter = counter + 1
  5.             if type(v) == "function" then
  6.                 table.insert(GlobalsDump["functions"], k)
  7.             elseif type(v) == "userdata" then
  8.                 table.insert(GlobalsDump["userdata"], k)
  9.             elseif type(v) == "table" then
  10.                 table.insert(GlobalsDump["tables"], k)
  11.             elseif k == tostring(v) then
  12.                 table.insert(GlobalsDump["protected"], k)
  13.             else
  14.                 GlobalsDump["constants"][k] = tostring(v)
  15.             end
  16.         end
  17.         d("count: "..counter)
  18.     end
GlobalsDump is a saved variable table.


All times are GMT -6. The time now is 10:39 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI