Originally Posted by Ketho
But when was model:GetModelFileID() added?
|
It was probably added after we complained to a dev on irc about losing GetModel, although I don't recall him mentioning anything about it.
Don't rely on those diffs being 100% accurate; they were generated a couple months ago, and even then they weren't complete. It's missing a few script handlers because there isn't really any way to fetch those when they add new ones, unless they're used in the framexml or you do some reverse engineering on the client.
Specifically, models have an
OnModelLoaded script that runs when the model actually shows up, and an
OnPanFinished script. Cooldowns have an
OnCooldownDone script.
Some other additional api functions..
Lua Code:
C_ArtifactUI.DoesEquippedArtifactHaveAnyRelicsSlotted
C_ArtifactUI.GetNumObtainedArtifacts
C_ArtifactUI.ShouldSuppressForgeRotation
C_Garrison.GetLooseShipments
C_MapCanvas.GetNumDetailLayers
C_MountJournal.ClearRecentFanfares
C_PetJournal.ClearRecentFanfares
C_Scenario.ShouldShowCriteria
C_TalkingHead.GetConversationsDeferred
C_TalkingHead.IgnoreCurrentTalkingHead
C_TalkingHead.IsCurrentTalkingHeadIgnored
C_TalkingHead.SetConversationsDeferred
C_TaskQuest.GetQuestZoneID
C_TaskQuest.RequestPreloadRewardData
C_TradeSkillUI.IsRecipeSearchInProgress
C_TransmogCollection.ClearNewAppearance
C_TransmogCollection.GetAppearanceCameraIDBySource
C_TransmogCollection.GetLatestAppearance
C_TransmogCollection.IsNewAppearance
AreInvasionsAvailable
EJ_GetInvTypeSortOrder
EJ_IsLootListOutOfDate
GetSpellBookItemTextureFileName
GetSpellTextureFileName
GetTickTime
HasInboxItem
HasSendMailItem
IsInCinematicScene
IsQuestIgnored
IsQuestItemHidden
IsServerControlledBackfill
SortQuestSortTypes
UnignoreQuest