Update 41 (Version 9.3)
The next DLC "Scions of Ithelia" will be available on the PTS later today.
New API Version: 101041 Notable Changes
PTS Dev Guild We have created guilds on the EU and NA server for all addon developers, which get copied over during the PTS cycle for a new update, so we can test guild related things, ask for help with testing or just chat. If you need an invite, ask here or over on our Matrix channel. You are also free to join them on the live servers so you don't always have to be reinvited when the PTS is wiped. Links
|
New repair kits will be implemented with update 41
-New "Equipment repair kit" itemId is : 44879 which was "Grand Repair Kit" -New "Cyrodiil Repair Kit" itemId is : 204483 Assumption: All repair kits are likely to be replaced by the universal one in your inventory. Thanks Masteroshi for checking this |
New group finder playstyles:
- Story: GROUP_FINDER_PLAYSTYLE_STORY (enum 32) lang = SI_GROUPFINDERPLAYSTYLE32 - Roleplay: GROUP_FINDER_PLAYSTYLE_ROLE_PLAY (enum 16) lang = SI_GROUPFINDERPLAYSTYLE16 |
2 Attachment(s)
Documentation
|
Lua Code:
I suppose the code iterates through your player guilds, is it possible in the future to also return the guildId if the boolean returns true? :) EDIT: Oh, in case of multiple shared guilds, I don't know how it would work... Return a table with shared guilds maybe? Lua Code:
EDIT: Oh could that be parent of parent? Lua Code:
Lua Code:
|
Quote:
|
Quote:
|
ZO_ComboBox changes
ZO_ComboBox changes
The ZO_ComboBox with API101041 will use a new TopLevelControl for the dropdown (the scroll list that opens below the combobox and shows the selectable entries) so that the dropdown overlays other controls properly. Basically you should not see any difference and have nothing to do in your addons if you have not accessed your combobox/dropdown by any internal references like combobox.m_dropdown or combobox.m_scroll -> But if you are referecing/accessing those, please read below how to fix these missing references within API101041 What did ZOs do to fix the overlaying dropdowns? For that purpose ZOs has added a new dropdownObject (with it's own class ZO_ComboBoxDropdown_Keyboard) which get's set at the ZO_ComboBox init function: Lua Code:
The object ZO_COMBO_BOX_DROPDOWN_KEYBOARD will be passed in via the XML: Code:
<TopLevelControl name="ZO_ComboBoxDropdown_Singleton_Keyboard" inherits="ZO_ComboBoxDropdown_Keyboard_Template"> Thix XML inherits from the other virtual XML ZO_ComboBoxDropdown_Keyboard_Template: Code:
<TopLevelControl name="ZO_ComboBoxDropdown_Keyboard_Template" hidden="true" virtual="true" tier="HIGH" level="ZO_HIGH_TIER_KEYBOARD_COMBO_BOX_DROPDOWN" mouseEnabled="true" clampedToScreen="true"> OnInitialized calls: Lua Code:
Attention: The object ZO_COMBO_BOX_DROPDOWN_KEYBOARD is a "singleton" so it is only craeted ONCE for ALL ZO_comboBoxes which makes it impossible to open 2 comboboxes at the same time (as the same TLC will be reused to show the list entries). What do I have to do if my addon get nil errors (e.g. at .m_dropdown or .m_scroll)? The difference to API 101040 is that ZO_ComboBox.m_dropdown and .m_scroll do not exist any longer! They moved to .m_dropdownObject To implement current support for live AND PTS API101041 you can do something like Lua Code:
And in your code then use it like this: Lua Code:
Entries at the combobox's dropdown changed from table to ZO_EntryData!!! The function ZO_ComboBox:AddMenuItems will now simply call the combobox.m_dropdownObject:Show() function Lua Code:
Function CreateScrollableComboBoxEntry creates the ZO_DataEntry entries here. If you need to manually add entries to your ZO_ComboBox you can copy that local function from ZOs code and reuse it that way at your ZO_ComboBox:AddMenuItems OR at your version of function MY_ADDONS_COMBO_BOX_DROPDOWN_KEYBOARD:Show(comboBox, itemTable, minWidth, maxHeight, spacing) Here is the function's code: Lua Code:
Edit: Currently clicking the ZO_ComboBox control does not open the dropdown, only clicking the small v button does open it (and if that buttons DrawLevel is too low it hides behind the other controls so you might have to change the DrawLevel in your XML code to the same/higher than the combobox control's!). Here is an info from code who realized that, and ZOs answer: Quote:
|
Undaunted - DLC dungeon key reward changes
Quote:
|
2 Attachment(s)
Updated documentation
|
All times are GMT -6. The time now is 01:41 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI