Quantcast PTS 2.5 API changes (2.4.9.1325902 to 2.5.0.1325934 diff) - ESOUI
Thread Tools Display Modes
07/05/16, 07:47 AM   #1
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 137
PTS 2.5 API changes (2.4.9.1325902 to 2.5.0.1325934 diff)

Hey!

A little late this time Look here for official api changelog. Also see 2.4 Update discussion thread. The following data is produced by comparing 2.4.9.1325902 and 2.5.0.1325934 global variables.
  • New Functions:
    Warning: Spoiler
  • Removed Functions:
    Warning: Spoiler
  • New Protected Functions:
    Warning: Spoiler
  • No Removed Protected Functions!
  • New Constants:
    Warning: Spoiler
  • Removed Constants:
    Warning: Spoiler
  • New Tables:
    Warning: Spoiler
  • Removed Tables:
    Warning: Spoiler
  • New Userdata:
    Warning: Spoiler
  • Removed Userdata:
    Warning: Spoiler

Previous diff: PTS 2.4 API changes (2.3.9 to 2.4.0 diff)
  Reply With Quote
07/07/16, 03:49 AM   #2
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 1,538
Many thanks for the list!

level and rank are new global constants? I hope they are not leaked, somehow looks like...
And I wodner what this new table exit will contain :-)
  Reply With Quote
07/07/16, 11:05 AM   #3
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 116
Originally Posted by Baertram View Post
Many thanks for the list!

level and rank are new global constants? I hope they are not leaked, somehow looks like...
And I wodner what this new table exit will contain :-)
How about _MAX_VALUE and _MIN_VALUE as new global constants too?
Don't get me wrong I have been guilty of tossing an underscore to a name as a cheap sort to the top.
  Reply With Quote
07/07/16, 01:15 PM   #4
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 241
Also "exit" as a new table is a bit odd.
  Reply With Quote
07/07/16, 04:35 PM   #5
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 137
Yeah, some leaked locals I think table exit contains following elements:
function 'callback',
string 'name' = "Exit",
numer 'alignment' = 1,
string 'keybind' = "UI_SHORTCUT_NEGATIVE"

rank and levels both are booleans set to true
  Reply With Quote
07/08/16, 03:42 AM   #6
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 442
leaking variables

@Chip: Found them:
One in keyboard and the other one (with UI_SHORTCUT_NEGATIVE) in gamepad:
Code:
function ZO_DyeStamp_Confirmation_Base:AddExitKey()
    -- Special exit button
    exit = 
    {
        alignment = KEYBIND_STRIP_ALIGN_RIGHT,
        name = GetString(SI_EXIT_BUTTON),
        keybind = "UI_SHORTCUT_EXIT",
        callback = function() self:EndConfirmation() end,
    }
    table.insert(self.keybindStripDescriptor, exit)
end
Code:
function ZO_ActivityFinderTemplate_Keyboard:RefreshFilters()
...
                local minGroupSize, maxGroupSize = ZO_ACTIVITY_FINDER_ROOT_MANAGER:GetGroupSizeRangeForActivityType(activityType)
                level = true
                rank = true
                local entry = ZO_ComboBox:CreateItemEntry(activityName, OnFilterChanged)
...
__________________
@votan73 (EU - megaserver)

Last edited by votan : 07/08/16 at 03:49 AM.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » PTS 2.5 API changes (2.4.9.1325902 to 2.5.0.1325934 diff)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off