Originally Posted by ZOS_ChipHilseberg
Here's the updated docs for the next PTS update.
|
Thank you very much!
There are some nice changes:
Code:
MAX_TEXT_CHAT_INPUT_CHARACTERS
* GetLocationName(*integer* _worldId_)
** _Returns:_ *string* _worldName_
* GetCurrentCharacterId()
** _Returns:_ *string* _id_
* RequestOpenUnsafeURL(*string* _URL_)
* GetNumCharacters()
** _Returns:_ *integer* _numCharacters_
* GetCharacterInfo(*luaindex* _index_)
** _Returns:_ *string* _name_, *[Gender|#Gender]* _gender_, *integer* _level_, *integer* _championRank_, *integer* _classId_, *integer* _raceId_, *[Alliance|#Alliance]* _alliance_, *string* _id_, *integer* _locationId_
* EVENT_KEEP_ALLIANCE_OWNER_CHANGED (*integer* _keepId_, *integer* _battlegroundContext_, *integer* _owningAlliance_, *integer* _oldOwningAlliance_)
Will GetLocationName return the same worldName as GetWorldName and will there be constant values for the IDs (e.g. WORLD_EU, WORLD_NA, WORLD_PTS)?
And does RequestOpenUnsafeURL mean there has been a change of policy regarding exchanging data with external services? If it is what I think it is, it would allow addons to send data to external servers pretty easily, which would make me hope that CopyAllTextToClipboard will be made public again and we may get functions to access saveData files directly without the need for an UI reload.