ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Tutorials & Other Helpful Info (https://www.esoui.com/forums/forumdisplay.php?f=172)
-   -   PTS 2.4 API changes (2.3.9 to 2.4.0 diff) (https://www.esoui.com/forums/showthread.php?t=6257)

Harven 04/28/16 04:03 AM

PTS 2.4 API changes (2.3.9 to 2.4.0 diff)
 
Hey!

Here you go, as usual ;) Look here for official api changelog. Also see 2.4 Update discussion thread. The following data is produced by comparing 2.3.9 and 2.4.0 global variables.
  • New Functions:
    Warning: Spoiler
  • Removed Functions:
    Warning: Spoiler
  • No changes in 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.3 API changes (2.2.10.1258783 to 2.3.0.1262254 diff)

haggen 04/28/16 08:59 AM

Awesome! Thank you Harven. :)

sirinsidiator 04/29/16 05:51 AM

Thanks!
It looks like the variables "level" and "rank" are leaked into global space in ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua line 213 and 214. They do not seem to get used, so maybe someone forgot to remove them?

@AlphaLemming 04/29/16 07:01 AM

Thanks you!

Oh, new styles and a new Armor/Weapon trait:

RA_GADA
AKATOSH
DROMOTHRA
MINOTAUR
SKINCHANGER
ASSASSINS
MORAG_TONG

ARMOR_PROSPEROUS
WEAPON_DECISIVE

sirinsidiator 04/29/16 08:52 AM

The traits were just renamed:
Quote:

The item trait ITEM_TRAIT_TYPE_ARMOR_EXPLORATION has been replaced with ITEM_TRAIT_TYPE_ARMOR_PROSPEROUS, and the item trait ITEM_TRAIT_TYPE_WEAPON_WEIGHTED has been replaced with ITEM_TRAIT_TYPE_WEAPON_DECISIVE.

prasoc 04/29/16 02:35 PM

Thanks for the dev changelog, Harven!

Also, does anyone know what happened to "ZO_GamepadSubMenuEntryTemplate_Setup"? My addon uses this quite extensively - is this removal due to the new item locking feature?

sirinsidiator 04/29/16 03:16 PM

It says "This function shouldn't be used anymore (update GamepadProvisioner.lua)" in the source code for 2.3, so I guess it was replaced with a different way to set it up?
EDIT: SharedGamepadEntryTemplateSetup does still exist, so you could just replace it?

prasoc 04/29/16 03:31 PM

Ah, I see - the "ZO_" function is just a dummy, easy to update :) also, what API version is your github repo currently at? Has it been updated to the newest PTS release?

sirinsidiator 04/29/16 04:07 PM

The master branch is always at the level of the live server, but we have a pts branch too. Unfortunately github search does not support searching different branches.


All times are GMT -6. The time now is 08:40 AM.

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