View Single Post
03/19/14, 08:41 PM   #1
umarmung
Join Date: Mar 2014
Posts: 10
3/19 ESO addon API gutted

http://www.reddit.com/r/elderscrolls...ut_any_addons/

API Version Change: Version is now 100003. Update your addons with the "## APIVersion: " tag in the appropriate .txt file.

Main changes: - Removed a number of deprecated events and functions. - Locked down access to Unit information and ability cast functionality. - Locked down access to combat events so that only your own outgoing spells can be monitored with any level of detail. Incoming damage and healing from spells have been restricted to only showing the value and not the name of the spell, type of damage or healing, or who is casting it.

Global Variable Changes: - Removed CastBarType enumeration
Added MouseDestroyItemFailedReason to help inform the user why an item couldn't be destroyed
Removed TOOLTIP_GAME_DATA_SOCKET because much of the old item socketing API has been removed.
Removed a number of unused, irrelevant, or private ActionResults: ACTION_RESULT_BEGIN ACTION_RESULT_BEGIN_CHANNEL ACTION_RESULT_BUFF ACTION_RESULT_COMPLETE ACTION_RESULT_DEBUFF ACTION_RESULT_EFFECT_FADED ACTION_RESULT_EFFECT_GAINED ACTION_RESULT_EFFECT_GAINED_DURATION ACTION_RESULT_LINKED_CAST
Added ACTION_RESULT_MERCENARY_LIMIT (for errors from keep/siege messaging)
Added CampaignReassignmentErrorReason enumeration value for CAMPAIGN_REASSIGN_ERROR_CAMPAIGNS_DISABLED
Added QueueForCampaignResponseType enumeration values: QUEUE_FOR_CAMPAIGN_RESULT_CAMPAIGNS_DISABLED QUEUE_FOR_CAMPAIGN_RESULT_CAMPAIGN_FULL QUEUE_FOR_CAMPAIGN_RESULT_DESTINATION_NOT_UP QUEUE_FOR_CAMPAIGN_RESULT_GROUP_MEMBER_WITH_INSUFFICIENT_LEVEL QUEUE_FOR_CAMPAIGN_RESULT_INSUFFICIENT_LEVEL QUEUE_FOR_CAMPAIGN_RESULT_NOT_ONLINE
Game API Changes:
Removed deprecated functions: DoesUnitHaveTooltip GetUnitFinesseRankInfo GetUnitXPDebt GetUnitPrimaryPowerType GetUnitPrimaryPowerIndex GetMaxPowerPools DoesUnitUsePowerType GetUnitCastingInfo GetUnitBuffSlot GetBuffEffectType GetBuffAbilityType GetBuffStatusEffectType CheckUnitBuffsForAbilityType GetPoisonEffectColorIndex GetPlayerBuffPriorities GetSynergyInfo GetNumSynergies GetSlotAbilityRank CheckSlotAbilityStatusLine HasOtherAbilityOngoingFailure GetActionSlotType IsSlotActionInRange IsSlotActionTooClose GetJournalQuestIsPushed GetQuestDailyCount SetUseInteractionCamera GetItemNumSockets GetItemSocketType GetMaxTransformPlugs GetPlugItemInfo GetPlugItemLink StartSocketingItem StartSocketingUnit ResetSocketing StopSocketing ApplySocketing ClearSocket ApplyPlugToSocket IsCurrentlySocketingItem IsCurrentlySocketingUnit CanPlayerModifySockets AreSocketingChangesPending SocketingChangesWillDestroyUpgrades CanPlugGoInSocket GetClosestKeep GetClosestKeepOfType GetAvAKeepsHeld GetKeepPvPSystem GetParentKeepForKeep GetActiveKeepId DepositBattleTokens GetBattleTokensForKeepUpgradePathLevel GetKeepInCombat RequestKeepInfoForKeep GetBattleTokens IsMapPinFilterSet SetMapPinFilter GetNumMapPinFilters GetSiegeAmmoIcon GetNumGuildReputationRanks GetGuildReputationRankInfo GetNumUsedPlayerAuras GetPlayerAuraInfo GetPlayerMaxLevel GetStatIncreasePerLevel GetNumWeaponSets GetCurrentWeaponSet GetWeaponSetInfo GetWeaponSetXPInfo GetNumWeaponSetRanks GetWeaponSetAbilityInfo RespecAbilityProgression GetNumAbilityProgressions GetNumAbilityProgressionRanks GetNumAttributePassives GetAttributePassiveInfo GetNumAttributeDerivedStats GetAttributeDerivedStatInfo GetNumActiveCombatTips GetGameCameraMinCameraDistance GetGameCameraMaxCameraDistance IsGameCameraTargetInMeleeRange IsGameCameraTargetOutOfRange IsGameCameraUnitHighlightedValid IsGameCameraPreferredTargetHighlightedByReticle IsGameCameraFirstPerson GetKeepWallInfo GetNumHookPoints GetHookPointInfo GetNumHookPointStoreEntries GetHookPointStoreInfo AddHookPointPurchase CompleteHookPointPurchase GetNumKeepPieceHealItems RepairKeepPiece PlaceInSocket IsFriendlyForwardCampAvailable
Removed LogChatText entirely. The user can still create chat logs with the /chatlog command, however the logs are not flushed immediately. It's no longer possible to log arbitrary data to that file.
Added new Synergy API: GetSynergyInfo: returns information about the currently available synergy. Arguments: None Returns: synergyName, iconFilename
Added GetPendingItemPost for information about an item that is being posted to the Guild Store. Arguments: None Returns: bag, slot, quantity
Restricted information that GetUnitBuffInfo has access to. It can now only be used to discover long term buffs about the local player. As such, the final return value "isLongTermBuff" has been removed since the API only returns long-term buffs.
Restricted access to the following functions. They are now private functions and cannot be called by AddOns. SendChatMessage GameCameraInteractStart GameCameraMouseFreeLookStart GameCameraMouseFreeLookStop CycleGameCameraPreferredEnemyTarget ClearGameCameraPreferredTarget ReleaseGameCameraSiegeControlled
Changed Synergy ability API to use a new function ActivateSynergy instead of the old API functions (Activate Buff, UseSynergyEffect, and UseMostRecentSynergyEffect)
Renamed InventoryContainsEmptySoulGem to DoesInventoryContainEmptySoulGem
The Emote API has been changed so that it no longer allows emotes that didn't have slash commands to be used by the player.
Game Event Changes:
Removed events: EVENT_ABILITY_PROGRESSION_FULL_UPDATE EVENT_ABILITY_RANGE_CHANGED EVENT_ACTION_PAGE_UPDATED EVENT_BATTLE_TOKEN_UPDATE EVENT_BEGIN_CAST EVENT_CAMERA_DISTANCE_SETTING_CHANGED EVENT_CHAT_MESSAGE_COMBAT EVENT_CLOSE_HOOK_POINT_STORE EVENT_CONTROLLED_SIEGE_SOCKETS_CHANGED EVENT_CURRENT_WEAPON_SET_UPDATE EVENT_DELAY_CAST EVENT_DROWN_TIMER_UPDATE EVENT_END_CAST EVENT_GAME_SCORE EVENT_GAME_STATE_CHANGED EVENT_GAME_TIMER_PAUSED EVENT_GUILD_REPUTATION_ADDED EVENT_GUILD_REPUTATION_LOADED EVENT_GUILD_REPUTATION_POINTS_UPDATED EVENT_GUILD_REPUTATION_RANK_UPDATED EVENT_HOOK_POINTS_UPDATED EVENT_INTERACTION_TRANSITION_PENDING EVENT_KEEP_BATTLE_TOKENS_UPDATE EVENT_KEEP_CAPTURE_REWARDS EVENT_KEEP_COMBAT_STATE_CHANGED EVENT_KEEP_RESOURCE_LOCK_UPDATE EVENT_KILL_SPAM EVENT_LEVEL_UP_INFO_UPDATED EVENT_LOCAL_PLAYER_ABILITY_OCCURED EVENT_LOCAL_PLAYER_CHARGEUP_BEGIN EVENT_LOCAL_PLAYER_CHARGEUP_COMPLETE EVENT_LOCAL_PLAYER_KICKOFF_CAST EVENT_LOCAL_PLAYER_WEAPON_ABILITY_WAIT_BEGIN EVENT_LOCAL_PLAYER_WEAPON_ABILITY_WAIT_END EVENT_MINIMAP_FILTERS_INITIALIZED EVENT_MOUSEOVER_CHANGED EVENT_NEW_DISCOVERY_AREA EVENT_NEW_REVEAL EVENT_OPEN_HOOK_POINT_STORE EVENT_PLAYER_AURA_UPDATE EVENT_PREFERRED_TARGET_HIGHLIGHT_UPDATE EVENT_PVP_FLAG_CHANGED EVENT_QUEST_DAILY_COUNT_CHANGED EVENT_QUEST_INTERACT_DIALOG EVENT_REASSIGN_CAMPAIGN_FAILED EVENT_SET_CHEVRON EVENT_SHOW_LINKED_CAST EVENT_SHOW_SCOREBOARD EVENT_SHOW_SCOREBUTTON EVENT_SHOW_TIME EVENT_SOCKETING_ITEM_ALREADY_HAS_PROPERTY EVENT_SOCKETING_UNIT_DESTROYED EVENT_SOCKETING_UNIT_SOCKETS_CHANGED EVENT_UPDATE_GAME_STATE EVENT_WEAPON_SET_FULL_UPDATE EVENT_WEAPON_SET_RANK_UPDATE EVENT_WEAPON_SET_XP_UPDATE
Added Event: EVENT_MOUSE_REQUEST_DESTROY_ITEM_FAILED (bagId, slotIndex, itemCount, name, reason)
Changed Event EVENT_SKILL_POINTS_CHANGED to pass information about partial point gains: EVENT_SKILL_POINTS_CHANGED (pointsBefore, pointsNow, partialPointsBefore, partialPointsNow)
Changed Synergy Event API replacing existing events with a single EVENT_SYNERGY_ABILITY_CHANGED that should be used to know when to query the Synergy API about changes to the current Synergy that will be used.
UI Object API Changes:
Changed CompassDisplayControl API for GetCenterOveredPinInfo to return the draw level of the pin currently in the center of the compass. Returns: description, type, distance, drawLayer, (new field) drawLevel, suppressed
Removed TooltipControl API: SetAttributePassive SetHookPointStoreEntry SetPlugItem SetSiegeFire SetSocketingItem SetSynergyBuff SetUnit SetWeaponSetAbility

Last edited by umarmung : 03/19/14 at 08:51 PM.
  Reply With Quote