Quantcast New API version 100004 change log (Craglorn) - ESOUI
Thread Tools Display Modes
05/22/14, 02:19 PM   #1
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 430
New API version 100004 change log (Craglorn)

Several new game features have been added. See patch notes for specific discussions about these features. This is the AddOn API documentation about them.

Death Recap API:
There are now specific logs about what caused your character's untimely demise. Additionally, the system exposes hints about how to improve your character's chances of survival.
  • Added global variables DeathRecapHintImportance
  • DEATH_RECAP_HINT_IMPORTANCE_ALWAYS_INCLUDE
  • DEATH_RECAP_HINT_IMPORTANCE_EXCLUSIVE
  • DEATH_RECAP_HINT_IMPORTANCE_NORMAL
  • Added ActionResult:
  • ACTION_RESULT_KILLED_BY_SUBZONE (indicates that a player died due to environmental damage)
  • Added DeathRecap API:
  • GetNumKillingAttacks
  • GetKillingAttackInfo
  • DoesKillingAttackHaveAttacker
  • GetKillingAttackerInfo
  • GetNumDeathRecapHints
  • GetDeathRecapHintInfo
  • Changed GetDeathInfo return values

Raid/Trials API:

This includes a new game type with leaderboards and LFG tools.
  • Changed some LFG and LFM functionality along with this new feature:[/color]
  • Changed GetLFGOption
  • Added GetLFGActivityMaxValue
  • Added EVENT_INSTANCE_KICK_TIME_UPDATE to inform the player that there's a pending instance kick that's about to happen.
  • Added new LFGActivity global: LFG_ACTIVITY_TRIAL
  • Added new LFGGroupType global:
  • LFG_GROUP_TYPE_LARGE
  • LFG_GROUP_TYPE_MEDIUM
  • LFG_GROUP_TYPE_REGULAR
  • Added new NotificationType: NOTIFICATION_TYPE_LEADERBOARD
  • Added new RaidLifeVisibilityChoice global (to choose which method used to visualize your remaining raid lives, changed by setting UISetting UI_SETTING_SHOW_RAID_LIVES):
  • RAID_LIFE_VISIBILITY_CHOICE_AUTOMATIC
  • RAID_LIFE_VISIBILITY_CHOICE_OFF
  • RAID_LIFE_VISIBILITY_CHOICE_ON
  • Changed some tutorial trigger globals for raid leaderboard functionality:
  • Changed TUTORIAL_TRIGGER_CAMPAIGN_LEADERBOARDS_OPENED to TUTORIAL_TRIGGER_LEADERBOARDS_OPENED (as a more generic tutorial type for leaderboards)
  • Added
  • TUTORIAL_TRIGGER_RAID_TRIAL_COMPLETED
  • TUTORIAL_TRIGGER_RAID_TRIAL_FAILED
  • TUTORIAL_TRIGGER_RAID_TRIAL_STARTED
  • Added global RAID_GROUP_SIZE_THRESHOLD.
  • Added new ResurrectFailureReason:
  • RESURRECT_FAILURE_REASON_NO_INSTANCE_REVIVE_COUNTERS to indicate that the raid has no more revive counters remaining and this attempt is on its last legs.
  • Added new TimeFormatPrecisionCode globals to help display those raid times with better precision:
  • TIME_FORMAT_PRECISION_MILLISECONDS
  • TIME_FORMAT_PRECISION_MILLISECONDS_NO_HOURS_OR_DAYS
  • Changed GetSoulGemInfo to return the ItemQuality of the queried gem in favor of having a separate API for GetReviveSoulGemInfo. That function was removed.
  • Added IsUnitResurrectableByPlayer to query if the given unit is resurrectable by the local player
  • Added IsUnitBeingResurrected to query if somebody is currently attempting to resurrect the given unit
  • Added DoesUnitHaveResurrectPending to query if somebody has already resurrected the given unit and they're just taking their sweet time to get up.
  • API function listing for this system:
  • GetInstanceKickTime
  • GetRaidReviveCounterInfo
  • GetCurrentRaidTime
  • GetCurrentRaidDeaths
  • IsRaidInProgress
  • HasRaidEnded
  • WasRaidSuccessful
  • IsPlayerInRaid
  • IsPlayerInReviveCounterRaid
  • IsPlayerInRaidStagingArea
  • GetRaidName
  • GetCurrentParticipatingRaidId
  • QueryRaidLeaderboardData
  • GetNumRaidLeaderboards
  • GetRaidLeaderboardInfo
  • GetRaidLeaderboardLocalPlayerInfo
  • GetNumRaidLeaderboardEntries
  • GetRaidLeaderboardEntryInfo
  • GetRaidOfTheWeekTimes
  • GetPlayerRaidParticipationInfo
  • GetPlayerRaidProgressInfo
  • GetNumRaidScoreNotifications
  • GetRaidScoreNotificationId
  • GetRaidScoreNotificationInfo
  • GetNumRaidScoreNotificationMembers
  • GetRaidScoreNotificationMemberInfo
  • RemoveRaidScoreNotification
  • New events:
  • EVENT_RAID_LEADERBOARD_DATA_CHANGED
  • EVENT_RAID_LEADERBOARD_PLAYER_DATA_CHANGED
  • EVENT_RAID_PARTICIPATION_UPDATE
  • EVENT_RAID_REVIVE_COUNTER_UPDATE
  • EVENT_RAID_SCORE_NOTIFICATION_ADDED
  • EVENT_RAID_SCORE_NOTIFICATION_REMOVED
  • EVENT_RAID_TIMER_STATE_UPDATE
  • EVENT_RAID_TRIAL_COMPLETE
  • EVENT_RAID_TRIAL_FAILED
  • EVENT_RAID_TRIAL_NEW_BEST_TIME
  • EVENT_RAID_TRIAL_STARTED

Changes to /stuck API:

To prevent abuse /stuck now charges the cost of fast-travel, has a cooldown, and takes a random amount of time to teleport.
  • Added CURRENCY_CHANGE_REASON_STUCK to indicate that money was deducted from your character due to using /stuck
  • Added API:
  • IsStuckFixPending
  • CanUseStuck
  • GetTimeUntilStuckAvailable
  • GetStuckCooldown
  • Added events:
  • EVENT_STUCK_BEGIN
  • EVENT_STUCK_CANCELED
  • EVENT_STUCK_COMPLETE
  • EVENT_STUCK_ERROR_ALREADY_IN_PROGRESS
  • EVENT_STUCK_ERROR_INVALID_LOCATION
  • EVENT_STUCK_ERROR_IN_COMBAT
  • EVENT_STUCK_ERROR_ON_COOLDOWN

New Campaign and Alliance War functionality:
  • Added function IsUnderpopBonusEnabled to see if the given campaign and alliance is currently receiving bonuses for not having as many players as the other sides.
  • Added EVENT_CAMPAIGN_UNDERPOP_BONUS_CHANGE_NOTIFICATION to show which campaign is being given the under pop bonus
  • Added CombatSetting COMBAT_SETTING_USE_BATTLE_LEVEL:
Allows the user to choose whether or not they would like to be battle-levelled in certain areas. Some areas force the user to be battle-levelled.
  • Added function CanChangeBattleLevelPreference to query if the user is in an area that allows this setting to be changed.

Updated resolution modes:

Changed FullscreenMode to support:
  • FULLSCREEN_MODE_FULLSCREEN_EXCLUSIVE - actual exclusive mode support
  • FULLSCREEN_MODE_FULLSCREEN_WINDOWED - what was previously known as "maximized", this is a borderless, non-exclusive fullscreen mode.
  • FULLSCREEN_MODE_WINDOWED - a window frame with a border

Changes to the mount/stable sytems:
  • Added new ItemType: ITEMTYPE_MOUNT
  • Added events EVENT_MOUNT_ADDED_TO_STABLE and EVENT_STABLE_FULL
Changes to quest sharing system (there were some back-end changes):
  • Removed QuestShareResult.
  • Removed EVENT_QUEST_SHARE_UPDATE

Removed
MapDisplayPinType MAP_PIN_TYPE_PIN_GLOW, it was no longer used.

Removed deprecated functions:
  • TargetUnit
  • TargetUnitByName
  • ClearTarget
  • TargetNearestEnemy

ToggleChatLog
now returns whether or not logging is enabled so that addons that switched this wouldn't need to guess what the current mode was.


Removed deprecated chat channel functions:
  • AcceptChatInvite
  • IsInCustomChatChannel
  • IsCustomChatChannel
  • JoinChatChannel
  • LeaveChatChannel
Changes to the force-respec system:
  • GetLatestAbilityRespecNote
  • GetLatestAttributeRespecNote
  • The events EVENT_SKILL_FORCE_RESPEC, and EVENT_ATTRIBUTE_FORCE_RESPEC now include notes about why the respec is being forced

Mundus stone interactions
now send an event that the user can choose how to respond to to confirm or decline whether or not to accept the buff the stone applies:
  • Added EVENT_CONFIRM_MUNDUS_STONE_INTERACT to inform the user when they need to confirm the application of a mundus stone buff
  • Use SetPendingInteractionConfirmed(accept) to confirm whether or not to accept this buff

Added
a new center-screen announcement event type EVENT_DISPLAY_ANNOUNCEMENT which contains a potential title and description to display.


UI Object API Changes:
  • Removed TooltipControl deprecated API AppendYourCorpse

Miscellaneous Changes:
  • Added Globals:
  • MIN_REQUIRED_LEVEL_TO_CREATE_GUILD - your character must be this level before being allowed to make a guild.
  • MAP_PIN_TYPE_GROUP_LEADER
  • Added functions:
  • FormatIntegerWithDigitGrouping(number, delimiterString)
To better support digit grouping with multibyte delimiter strings. For example in French, delimiterString is usually a non-breaking space sequence.
  • weaponType GetItemWeaponType(itemLink)
  • armorType GetItemArmorType(itemLink)
To help those inventory filter addons out a little so that they don't rely on texture paths or locale-specific data.
  • Added Events:
  • EVENT_CAMPAIGN_ASSIGNMENT_RESULT (integer result) - where result is actually one of the globals from CAMPAIGN_REASSIGN_ERROR_*
  • EVENT_RETICLE_TARGET_PLAYER_CHANGED - Updated to better inform users about when the reticle target changes to another player (instead of just any other unit)

Last edited by Cairenn : 05/22/14 at 06:40 PM.
  Reply With Quote
05/23/14, 12:29 AM   #2
umarmung
Join Date: Mar 2014
Posts: 10
Can the Death Recap be disabled?
  Reply With Quote
05/23/14, 08:44 AM   #3
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
weaponType GetItemWeaponType(itemLink)
armorType GetItemArmorType(itemLink)

...at least, this will help.
__________________
Andral Gwain Remus - Ebonheart Pact - EU
Addons: AlphaGear, CraftStore
  Reply With Quote
05/23/14, 09:02 AM   #4
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
Originally Posted by @AlphaLemming View Post
weaponType GetItemWeaponType(itemLink)
armorType GetItemArmorType(itemLink)

...at least, this will help.
Ai, that 's a cool catch / change.
  Reply With Quote
05/24/14, 02:41 AM   #5
Vuelhering
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 169
Originally Posted by @AlphaLemming View Post
weaponType GetItemWeaponType(itemLink)
armorType GetItemArmorType(itemLink)

...at least, this will help.
We can thank insaneclown for that. I think that's his name... he started a thread on reddit, and a TON of people voted it up and it was seen and responded to.

It's a strange, fickle community but is an excellent sounding board.
__________________
Knights who say Ni!

"Blaming addons for bad behavior of people is like blaming the getaway car for the bank robbery."
  Reply With Quote
05/24/14, 06:03 AM   #6
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
Sounds like the death recap functions would be beneficial to make an eavesdrop like addon. Anyone have this already on their addon schedule yet?
  Reply With Quote
06/16/14, 05:34 AM   #7
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 281
Is anybody planning on updating the API reference on the wiki?
http://wiki.esoui.com

The next mayor update is already on PTS and we sill have not worked this one in.
  Reply With Quote
06/16/14, 09:54 AM   #8
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 116
Originally Posted by zgrssd View Post
Is anybody planning on updating the API reference on the wiki?
http://wiki.esoui.com

The next mayor update is already on PTS and we sill have not worked this one in.
The Psijic Order folder on the forums had a sub-folder where add-on API notes were posted. Now that PTS is pubic. The sub-folders were removed or just the links taken away. I have no idea if we will even see API notes before it goes live anymore.

At the moment the API number check is 100007 on PST but the PST is getting another update today. Anyone seen notes on the differences from 100004 to 100007?
--halja

Last edited by Halja : 06/16/14 at 10:37 AM.
  Reply With Quote
06/16/14, 11:38 AM   #9
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 651
Originally Posted by zgrssd View Post
Is anybody planning on updating the API reference on the wiki?
http://wiki.esoui.com

The next mayor update is already on PTS and we sill have not worked this one in.
It is a wiki - you can do it yourself.
  Reply With Quote
06/16/14, 11:59 AM   #10
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 281
Originally Posted by Seerah View Post
It is a wiki - you can do it yourself.
I already did my share of wiki work lately and am busy with developing the CCDR.
So for the time being I put a SEP field over it that is tuned to me.
  Reply With Quote
06/16/14, 03:01 PM   #11
katkat42
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 163
I've been trying to keep the Events page tidy, with as much information as I have. The whole wiki is a big task, but adopting a single page is more manageable. Any takers for the functions and constants pages? Or sub-sections thereof?
__________________
"GUIs are tough. Let's go wumpus hunting."
  Reply With Quote
06/16/14, 09:07 PM   #12
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 241
Originally Posted by Halja View Post
The Psijic Order folder on the forums had a sub-folder where add-on API notes were posted. Now that PTS is pubic. The sub-folders were removed or just the links taken away. I have no idea if we will even see API notes before it goes live anymore.

At the moment the API number check is 100007 on PST but the PST is getting another update today. Anyone seen notes on the differences from 100004 to 100007?
--halja
Yeah, and it looks like addons that touch the inventory window (like Research Assistant and ESOutpost) are broken on PTS.
  Reply With Quote
06/24/14, 08:05 AM   #13
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 281
I included the Chat related changes and started working my insights from creating the UTC addon into that section.
It should help however wants to work with that later.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » New API version 100004 change log (Craglorn)

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