From 93b45ac12e1a74a73e87bd0af5b8b32a01192610 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 4 May 2025 14:32:03 +0200 Subject: [PATCH] Code format --- C_Timer.lua | 2 +- Color.lua | 2 +- allstates.lua | 2 +- api/AbandonQuest.lua | 2 +- api/AbandonSkill.lua | 4 +- api/AcceptAreaSpiritHeal.lua | 2 +- api/AcceptBattlefieldPort.lua | 6 +- api/AcceptDuel.lua | 2 +- api/AcceptGroup.lua | 2 +- api/AcceptGuild.lua | 2 +- api/AcceptLevelGrant.lua | 2 +- api/AcceptProposal.lua | 2 +- api/AcceptQuest.lua | 2 +- api/AcceptResurrect.lua | 2 +- api/AcceptSockets.lua | 2 +- api/AcceptSpellConfirmationPrompt.lua | 3 +- api/AcceptTrade.lua | 2 +- api/AcceptXPLoss.lua | 2 +- api/AcknowledgeAutoAcceptQuest.lua | 3 +- api/AcknowledgeSurvey.lua | 3 +- api/ActionHasRange.lua | 6 +- api/AddAutoQuestPopUp.lua | 10 +-- api/AddChatWindowChannel.lua | 8 +- api/AddChatWindowMessages.lua | 6 +- api/AddFriend.lua | 4 +- api/AddIgnore.lua | 4 +- api/AddMute.lua | 4 +- api/AddOrDelIgnore.lua | 4 +- api/AddOrDelMute.lua | 6 +- api/AddOrRemoveFriend.lua | 6 +- api/AddQuestWatch.lua | 4 +- api/AddTrackedAchievement.lua | 4 +- api/AddTradeMoney.lua | 2 +- api/Ambiguate.lua | 8 +- api/AntiAliasingSupported.lua | 3 +- api/ApplyBarberShopStyle.lua | 2 +- api/ApplyTransmogrifications.lua | 2 +- api/ArchaeologyGetIconInfo.lua | 3 +- api/ArchaeologyMapUpdateAll.lua | 4 +- api/ArcheologyGetVisibleBlobID.lua | 6 +- api/AreAccountAchievementsHidden.lua | 4 +- api/ArenaTeam_GetTeamSizeID.lua | 6 +- api/AscendStop.lua | 2 +- api/AssistUnit.lua | 6 +- api/AttackTarget.lua | 2 +- api/AutoChooseCurrentGraphicsSetting.lua | 3 +- api/AutoEquipCursorItem.lua | 2 +- api/AutoLootMailItem.lua | 4 +- api/AutoStoreGuildBankItem.lua | 6 +- api/BNAcceptFriendInvite.lua | 3 +- api/BNCheckBattleTagInviteToGuildMember.lua | 3 +- api/BNCheckBattleTagInviteToUnit.lua | 3 +- api/BNConnected.lua | 4 +- api/BNCreateConversation.lua | 8 +- api/BNDeclineFriendInvite.lua | 3 +- api/BNFeaturesEnabled.lua | 4 +- api/BNFeaturesEnabledAndConnected.lua | 3 +- api/BNGetBlockedInfo.lua | 3 +- api/BNGetBlockedToonInfo.lua | 3 +- api/BNGetConversationInfo.lua | 6 +- api/BNGetConversationMemberInfo.lua | 12 +-- api/BNGetCustomMessageTable.lua | 3 +- api/BNGetFriendIndex.lua | 6 +- api/BNGetFriendInfo.lua | 36 ++++---- api/BNGetFriendInfoByID.lua | 36 ++++---- api/BNGetFriendInviteInfo.lua | 3 +- api/BNGetFriendToonInfo.lua | 34 +++---- api/BNGetInfo.lua | 16 ++-- api/BNGetMatureLanguageFilter.lua | 4 +- api/BNGetMaxNumConversations.lua | 4 +- api/BNGetMaxPlayersInConversation.lua | 4 +- api/BNGetNumBlocked.lua | 3 +- api/BNGetNumBlockedToons.lua | 3 +- api/BNGetNumConversationMembers.lua | 6 +- api/BNGetNumFOF.lua | 3 +- api/BNGetNumFriendInvites.lua | 3 +- api/BNGetNumFriendToons.lua | 6 +- api/BNGetNumFriends.lua | 6 +- api/BNGetSelectedBlock.lua | 3 +- api/BNGetSelectedFriend.lua | 4 +- api/BNGetSelectedToonBlock.lua | 3 +- api/BNGetToonInfo.lua | 36 ++++---- api/BNInviteFriend.lua | 3 +- api/BNInviteToConversation.lua | 6 +- api/BNIsBlocked.lua | 3 +- api/BNIsFriend.lua | 3 +- api/BNIsFriendConversationValid.lua | 3 +- api/BNIsSelf.lua | 6 +- api/BNIsToonBlocked.lua | 3 +- api/BNLeaveConversation.lua | 3 +- api/BNListConversation.lua | 3 +- api/BNRemoveFriend.lua | 3 +- api/BNReportFriendInvite.lua | 3 +- api/BNReportPlayer.lua | 3 +- api/BNRequestFOFInfo.lua | 3 +- api/BNSendConversationMessage.lua | 3 +- api/BNSendFriendInvite.lua | 3 +- api/BNSendFriendInviteByID.lua | 3 +- api/BNSendGameData.lua | 8 +- api/BNSendSoR.lua | 3 +- api/BNSendVerifiedBattleTagInvite.lua | 3 +- api/BNSendWhisper.lua | 6 +- api/BNSetAFK.lua | 3 +- api/BNSetBlocked.lua | 3 +- api/BNSetCustomMessage.lua | 4 +- api/BNSetDND.lua | 3 +- api/BNSetFocus.lua | 3 +- api/BNSetFriendNote.lua | 6 +- api/BNSetMatureLanguageFilter.lua | 4 +- api/BNSetSelectedBlock.lua | 3 +- api/BNSetSelectedFriend.lua | 3 +- api/BNSetSelectedToonBlock.lua | 3 +- api/BNSetToonBlocked.lua | 3 +- api/BNSummonFriendByIndex.lua | 3 +- api/BNTokenFindName.lua | 3 +- api/BankButtonIDToInvSlotID.lua | 8 +- api/BarberShopReset.lua | 2 +- api/BattlefieldMgrEntryInviteResponse.lua | 3 +- api/BattlefieldMgrExitRequest.lua | 3 +- api/BattlefieldMgrQueueInviteResponse.lua | 3 +- api/BattlefieldMgrQueueRequest.lua | 3 +- api/BeginTrade.lua | 3 +- api/BindEnchant.lua | 2 +- api/BreakUpLargeNumbers.lua | 3 +- api/BuyGuildBankTab.lua | 2 +- api/BuyGuildCharter.lua | 4 +- api/BuyMerchantItem.lua | 6 +- api/BuyReagentBank.lua | 3 +- api/BuyTrainerService.lua | 4 +- api/BuybackItem.lua | 4 +- api/C_BlackMarket.Close.lua | 3 +- api/C_BlackMarket.GetHotItem.lua | 3 +- api/C_BlackMarket.GetItemInfoByID.lua | 3 +- api/C_BlackMarket.GetItemInfoByIndex.lua | 3 +- api/C_BlackMarket.GetNumItems.lua | 3 +- api/C_BlackMarket.ItemPlaceBid.lua | 3 +- api/C_BlackMarket.RequestItems.lua | 2 +- api/C_Garrison.AddFollowerToMission.lua | 3 +- api/C_Garrison.AssignFollowerToBuilding.lua | 3 +- api/C_Garrison.CanGenerateRecruits.lua | 3 +- api/C_Garrison.CanOpenMissionChest.lua | 3 +- ...C_Garrison.CanSetRecruitmentPreference.lua | 3 +- api/C_Garrison.CanUpgradeGarrison.lua | 3 +- api/C_Garrison.CancelConstruction.lua | 3 +- api/C_Garrison.CastSpellOnFollower.lua | 3 +- api/C_Garrison.CloseArchitect.lua | 3 +- api/C_Garrison.CloseGarrisonTradeskillNPC.lua | 3 +- api/C_Garrison.CloseMissionNPC.lua | 3 +- api/C_Garrison.CloseRecruitmentNPC.lua | 3 +- api/C_Garrison.CloseTradeskillCrafter.lua | 3 +- api/C_Garrison.GenerateRecruits.lua | 3 +- api/C_Garrison.GetAvailableMissions.lua | 2 +- api/C_Garrison.GetAvailableRecruits.lua | 3 +- api/C_Garrison.GetBasicMissionInfo.lua | 3 +- ..._Garrison.GetBuffedFollowersForMission.lua | 3 +- api/C_Garrison.GetBuildingInfo.lua | 38 ++++---- api/C_Garrison.GetBuildingLockInfo.lua | 3 +- api/C_Garrison.GetBuildingSizes.lua | 3 +- api/C_Garrison.GetBuildingSpecInfo.lua | 3 +- api/C_Garrison.GetBuildingTimeRemaining.lua | 3 +- api/C_Garrison.GetBuildingTooltip.lua | 3 +- api/C_Garrison.GetBuildingUpgradeInfo.lua | 3 +- api/C_Garrison.GetBuildings.lua | 3 +- api/C_Garrison.GetBuildingsForPlot.lua | 3 +- api/C_Garrison.GetBuildingsForSize.lua | 3 +- api/C_Garrison.GetCompleteMissions.lua | 3 +- api/C_Garrison.GetFollowerAbilities.lua | 3 +- api/C_Garrison.GetFollowerAbilityAtIndex.lua | 3 +- ...Garrison.GetFollowerAbilityAtIndexByID.lua | 3 +- ....GetFollowerAbilityCounterMechanicInfo.lua | 3 +- ...Garrison.GetFollowerAbilityDescription.lua | 3 +- api/C_Garrison.GetFollowerAbilityIcon.lua | 3 +- api/C_Garrison.GetFollowerAbilityIsTrait.lua | 3 +- api/C_Garrison.GetFollowerAbilityLink.lua | 3 +- api/C_Garrison.GetFollowerAbilityName.lua | 3 +- api/C_Garrison.GetFollowerActivationCost.lua | 3 +- api/C_Garrison.GetFollowerBiasForMission.lua | 3 +- api/C_Garrison.GetFollowerClassSpec.lua | 3 +- api/C_Garrison.GetFollowerClassSpecAtlas.lua | 3 +- api/C_Garrison.GetFollowerClassSpecByID.lua | 3 +- api/C_Garrison.GetFollowerClassSpecName.lua | 3 +- api/C_Garrison.GetFollowerDisplayID.lua | 3 +- api/C_Garrison.GetFollowerDisplayIDByID.lua | 3 +- api/C_Garrison.GetFollowerInfo.lua | 3 +- api/C_Garrison.GetFollowerInfoForBuilding.lua | 20 ++--- ...C_Garrison.GetFollowerItemLevelAverage.lua | 3 +- api/C_Garrison.GetFollowerItems.lua | 3 +- api/C_Garrison.GetFollowerLevel.lua | 3 +- api/C_Garrison.GetFollowerLevelXP.lua | 3 +- api/C_Garrison.GetFollowerLink.lua | 3 +- api/C_Garrison.GetFollowerLinkByID.lua | 3 +- ...arrison.GetFollowerMissionCompleteInfo.lua | 3 +- api/C_Garrison.GetFollowerModelItems.lua | 3 +- api/C_Garrison.GetFollowerName.lua | 3 +- api/C_Garrison.GetFollowerNameByID.lua | 3 +- ...Garrison.GetFollowerPortraitIconIDByID.lua | 3 +- api/C_Garrison.GetFollowerQuality.lua | 3 +- api/C_Garrison.GetFollowerQualityTable.lua | 3 +- api/C_Garrison.GetFollowerSoftCap.lua | 3 +- api/C_Garrison.GetFollowerSourceTextByID.lua | 3 +- api/C_Garrison.GetFollowerStatus.lua | 3 +- api/C_Garrison.GetFollowerTraitAtIndex.lua | 3 +- ...C_Garrison.GetFollowerTraitAtIndexByID.lua | 3 +- api/C_Garrison.GetFollowerXP.lua | 3 +- api/C_Garrison.GetFollowerXPTable.lua | 3 +- api/C_Garrison.GetFollowers.lua | 3 +- ..._Garrison.GetFollowersTraitsForMission.lua | 3 +- api/C_Garrison.GetGarrisonInfo.lua | 3 +- api/C_Garrison.GetGarrisonUpgradeCost.lua | 3 +- api/C_Garrison.GetInProgressMissions.lua | 3 +- api/C_Garrison.GetLandingPageItems.lua | 3 +- ...C_Garrison.GetLandingPageShipmentCount.lua | 3 +- api/C_Garrison.GetLandingPageShipmentInfo.lua | 24 ++--- ..._Garrison.GetMissionCompleteEncounters.lua | 3 +- api/C_Garrison.GetMissionDisplayIDs.lua | 3 +- api/C_Garrison.GetMissionInfo.lua | 3 +- api/C_Garrison.GetMissionLink.lua | 3 +- api/C_Garrison.GetMissionMaxFollowers.lua | 3 +- api/C_Garrison.GetMissionName.lua | 3 +- api/C_Garrison.GetMissionRewardInfo.lua | 3 +- api/C_Garrison.GetMissionTimes.lua | 3 +- ...arrison.GetMissionUncounteredMechanics.lua | 3 +- api/C_Garrison.GetNumActiveFollowers.lua | 3 +- ...son.GetNumFollowerActivationsRemaining.lua | 3 +- ...arrison.GetNumFollowerDailyActivations.lua | 3 +- api/C_Garrison.GetNumFollowers.lua | 3 +- api/C_Garrison.GetNumFollowersOnMission.lua | 3 +- api/C_Garrison.GetNumPendingShipments.lua | 3 +- api/C_Garrison.GetNumShipmentReagents.lua | 3 +- api/C_Garrison.GetOwnedBuildingInfo.lua | 54 +++++------ api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua | 26 +++--- api/C_Garrison.GetPartyBuffs.lua | 3 +- api/C_Garrison.GetPartyMissionInfo.lua | 3 +- api/C_Garrison.GetPendingShipmentInfo.lua | 3 +- api/C_Garrison.GetPlots.lua | 3 +- api/C_Garrison.GetPlotsForBuilding.lua | 3 +- ...rrison.GetPossibleFollowersForBuilding.lua | 3 +- api/C_Garrison.GetRecruitAbilities.lua | 3 +- ...Garrison.GetRecruiterAbilityCategories.lua | 3 +- api/C_Garrison.GetRecruiterAbilityList.lua | 3 +- api/C_Garrison.GetRecruitmentPreferences.lua | 3 +- api/C_Garrison.GetRewardChance.lua | 3 +- api/C_Garrison.GetShipmentContainerInfo.lua | 8 +- api/C_Garrison.GetShipmentItemInfo.lua | 3 +- ...arrison.GetShipmentReagentCurrencyInfo.lua | 3 +- api/C_Garrison.GetShipmentReagentInfo.lua | 3 +- api/C_Garrison.GetShipmentReagentItemLink.lua | 3 +- api/C_Garrison.GetSpecChangeCost.lua | 3 +- api/C_Garrison.GetTabForPlot.lua | 3 +- api/C_Garrison.IsAboveFollowerSoftCap.lua | 3 +- api/C_Garrison.IsFollowerCollected.lua | 3 +- api/C_Garrison.IsFollowerUnique.lua | 3 +- api/C_Garrison.IsInvasionAvailable.lua | 3 +- api/C_Garrison.IsOnGarrisonMap.lua | 3 +- api/C_Garrison.IsUsingPartyGarrison.lua | 3 +- api/C_Garrison.IsVisitGarrisonAvailable.lua | 3 +- api/C_Garrison.MarkMissionComplete.lua | 3 +- api/C_Garrison.MissionBonusRoll.lua | 3 +- api/C_Garrison.PlaceBuilding.lua | 3 +- api/C_Garrison.RecruitFollower.lua | 3 +- api/C_Garrison.RemoveFollower.lua | 3 +- api/C_Garrison.RemoveFollowerFromBuilding.lua | 3 +- api/C_Garrison.RemoveFollowerFromMission.lua | 3 +- api/C_Garrison.RequestGarrisonUpgradeable.lua | 3 +- ...arrison.RequestLandingPageShipmentInfo.lua | 3 +- api/C_Garrison.RequestShipmentCreation.lua | 3 +- api/C_Garrison.RequestShipmentInfo.lua | 3 +- api/C_Garrison.SearchForFollower.lua | 3 +- api/C_Garrison.SetBuildingActive.lua | 3 +- api/C_Garrison.SetBuildingSpecialization.lua | 3 +- api/C_Garrison.SetFollowerFavorite.lua | 3 +- api/C_Garrison.SetFollowerInactive.lua | 3 +- api/C_Garrison.SetRecruitmentPreferences.lua | 3 +- api/C_Garrison.SetUsingPartyGarrison.lua | 3 +- api/C_Garrison.StartMission.lua | 3 +- api/C_Garrison.SwapBuildings.lua | 3 +- api/C_Garrison.UpgradeBuilding.lua | 3 +- api/C_Garrison.UpgradeGarrison.lua | 3 +- api/C_LFGList.AcceptInvite.lua | 3 +- api/C_LFGList.ApplyToGroup.lua | 3 +- api/C_LFGList.CancelApplication.lua | 3 +- api/C_LFGList.ClearSearchResults.lua | 3 +- api/C_LFGList.CreateListing.lua | 3 +- api/C_LFGList.DeclineApplicant.lua | 3 +- api/C_LFGList.DeclineInvite.lua | 3 +- api/C_LFGList.GetActiveEntryInfo.lua | 2 +- api/C_LFGList.GetActivityGroupInfo.lua | 2 +- api/C_LFGList.GetActivityInfo.lua | 3 +- api/C_LFGList.GetActivityInfoExpensive.lua | 3 +- api/C_LFGList.GetApplicantInfo.lua | 3 +- api/C_LFGList.GetApplicantMemberInfo.lua | 3 +- api/C_LFGList.GetApplicantMemberStats.lua | 3 +- api/C_LFGList.GetApplicants.lua | 3 +- api/C_LFGList.GetApplicationInfo.lua | 14 +-- api/C_LFGList.GetApplications.lua | 4 +- api/C_LFGList.GetAvailableActivities.lua | 2 +- api/C_LFGList.GetAvailableActivityGroups.lua | 3 +- api/C_LFGList.GetAvailableCategories.lua | 3 +- api/C_LFGList.GetAvailableRoles.lua | 3 +- api/C_LFGList.GetCategoryInfo.lua | 3 +- api/C_LFGList.GetNumApplicants.lua | 3 +- api/C_LFGList.GetNumApplications.lua | 4 +- ..._LFGList.GetNumInvitedApplicantMembers.lua | 3 +- api/C_LFGList.GetRoleCheckInfo.lua | 3 +- ...C_LFGList.GetSearchResultEncounterInfo.lua | 2 +- api/C_LFGList.GetSearchResultFriends.lua | 2 +- api/C_LFGList.GetSearchResultInfo.lua | 30 +++---- api/C_LFGList.GetSearchResultMemberCounts.lua | 2 +- api/C_LFGList.GetSearchResultMemberInfo.lua | 2 +- api/C_LFGList.GetSearchResults.lua | 6 +- api/C_LFGList.HasActivityList.lua | 3 +- api/C_LFGList.InviteApplicant.lua | 3 +- api/C_LFGList.IsCurrentlyApplying.lua | 3 +- api/C_LFGList.RefreshApplicants.lua | 3 +- api/C_LFGList.RemoveApplicant.lua | 3 +- api/C_LFGList.RemoveListing.lua | 3 +- api/C_LFGList.ReportApplicant.lua | 3 +- api/C_LFGList.ReportSearchResult.lua | 3 +- api/C_LFGList.RequestAvailableActivities.lua | 3 +- api/C_LFGList.Search.lua | 3 +- api/C_LFGList.SetApplicantMemberRole.lua | 3 +- api/C_LFGList.UpdateListing.lua | 3 +- api/C_LootHistory.CanMasterLoot.lua | 3 +- api/C_LootHistory.GetExpiration.lua | 3 +- api/C_LootHistory.GetItem.lua | 3 +- api/C_LootHistory.GetNumItems.lua | 3 +- api/C_LootHistory.GetPlayerInfo.lua | 3 +- api/C_LootHistory.GiveMasterLoot.lua | 3 +- api/C_LootHistory.SetExpiration.lua | 3 +- api/C_LossOfControl.GetEventInfo.lua | 3 +- api/C_LossOfControl.GetNumEvents.lua | 3 +- api/C_MapBar.BarIsShown.lua | 3 +- api/C_MapBar.GetCurrentValue.lua | 3 +- api/C_MapBar.GetMaxValue.lua | 3 +- api/C_MapBar.GetParticipationPercentage.lua | 3 +- api/C_MapBar.GetPhaseIndex.lua | 3 +- api/C_MapBar.GetTag.lua | 3 +- api/C_MountJournal.Dismiss.lua | 3 +- ...MountJournal.GetCollectedFilterSetting.lua | 3 +- api/C_MountJournal.GetIsFavorite.lua | 3 +- api/C_MountJournal.GetMountInfo.lua | 52 +++++------ api/C_MountJournal.GetMountInfoExtra.lua | 3 +- api/C_MountJournal.GetNumMounts.lua | 3 +- api/C_MountJournal.Pickup.lua | 3 +- ...MountJournal.SetCollectedFilterSetting.lua | 3 +- api/C_MountJournal.SetIsFavorite.lua | 3 +- api/C_MountJournal.Summon.lua | 3 +- api/C_NewItems.ClearAll.lua | 3 +- api/C_PetBattles.AcceptPVPDuel.lua | 3 +- api/C_PetBattles.AcceptQueuedPVPMatch.lua | 2 +- api/C_PetBattles.CanAcceptQueuedPVPMatch.lua | 3 +- api/C_PetBattles.CanActivePetSwapOut.lua | 3 +- api/C_PetBattles.CanPetSwapIn.lua | 3 +- api/C_PetBattles.CancelPVPDuel.lua | 3 +- api/C_PetBattles.ChangePet.lua | 4 +- api/C_PetBattles.DeclineQueuedPVPMatch.lua | 3 +- api/C_PetBattles.ForfeitGame.lua | 3 +- api/C_PetBattles.GetAbilityEffectInfo.lua | 3 +- api/C_PetBattles.GetAbilityInfoByID.lua | 20 ++--- api/C_PetBattles.GetAbilityProcTurnIndex.lua | 3 +- ...PetBattles.GetAbilityStateModification.lua | 3 +- api/C_PetBattles.GetAllEffectNames.lua | 3 +- api/C_PetBattles.GetAllStates.lua | 3 +- api/C_PetBattles.GetAttackModifier.lua | 6 +- api/C_PetBattles.GetAuraInfo.lua | 3 +- api/C_PetBattles.GetBattleState.lua | 12 +-- api/C_PetBattles.GetBreedQuality.lua | 8 +- api/C_PetBattles.GetDisplayID.lua | 3 +- api/C_PetBattles.GetForfeitPenalty.lua | 3 +- api/C_PetBattles.GetHealth.lua | 8 +- api/C_PetBattles.GetLevel.lua | 8 +- api/C_PetBattles.GetMaxHealth.lua | 8 +- api/C_PetBattles.GetName.lua | 10 +-- api/C_PetBattles.GetNumAuras.lua | 8 +- api/C_PetBattles.GetPVPMatchmakingInfo.lua | 3 +- api/C_PetBattles.GetPetSpeciesID.lua | 3 +- api/C_PetBattles.GetPetType.lua | 3 +- api/C_PetBattles.GetPlayerTrapAbility.lua | 3 +- api/C_PetBattles.GetPower.lua | 6 +- api/C_PetBattles.GetSelectedAction.lua | 3 +- api/C_PetBattles.GetStateValue.lua | 3 +- api/C_PetBattles.GetTurnTimeInfo.lua | 6 +- api/C_PetBattles.GetXP.lua | 10 +-- api/C_PetBattles.IsInBattle.lua | 2 +- api/C_PetBattles.IsPlayerNPC.lua | 6 +- api/C_PetBattles.IsSkipAvailable.lua | 3 +- api/C_PetBattles.IsTrapAvailable.lua | 3 +- api/C_PetBattles.IsWaitingOnOpponent.lua | 4 +- api/C_PetBattles.IsWildBattle.lua | 4 +- ...attles.SetPendingReportBattlePetTarget.lua | 3 +- ...Battles.SetPendingReportTargetFromUnit.lua | 3 +- api/C_PetBattles.ShouldShowPetSelect.lua | 3 +- api/C_PetBattles.SkipTurn.lua | 2 +- api/C_PetBattles.StartPVPDuel.lua | 3 +- api/C_PetBattles.StartPVPMatchmaking.lua | 3 +- api/C_PetBattles.StopPVPMatchmaking.lua | 3 +- api/C_PetBattles.UseAbility.lua | 4 +- api/C_PetBattles.UseTrap.lua | 2 +- api/C_PetJournal.AddAllPetSourcesFilter.lua | 3 +- api/C_PetJournal.AddAllPetTypesFilter.lua | 3 +- api/C_PetJournal.CagePetByID.lua | 3 +- api/C_PetJournal.ClearAllPetSourcesFilter.lua | 3 +- api/C_PetJournal.ClearAllPetTypesFilter.lua | 3 +- api/C_PetJournal.ClearSearchFilter.lua | 3 +- api/C_PetJournal.FindPetIDByName.lua | 3 +- api/C_PetJournal.GetBattlePetLink.lua | 3 +- api/C_PetJournal.GetNumCollectedInfo.lua | 2 +- api/C_PetJournal.GetNumPetSources.lua | 3 +- api/C_PetJournal.GetNumPetTypes.lua | 3 +- api/C_PetJournal.GetNumPets.lua | 2 +- api/C_PetJournal.GetOwnedBattlePetString.lua | 3 +- api/C_PetJournal.GetPetAbilityInfo.lua | 3 +- api/C_PetJournal.GetPetAbilityList.lua | 3 +- api/C_PetJournal.GetPetCooldownByGUID.lua | 3 +- api/C_PetJournal.GetPetInfoByIndex.lua | 3 +- api/C_PetJournal.GetPetInfoByPetID.lua | 68 +++++++------- api/C_PetJournal.GetPetInfoBySpeciesID.lua | 3 +- api/C_PetJournal.GetPetLoadOutInfo.lua | 14 +-- api/C_PetJournal.GetPetSortParameter.lua | 3 +- api/C_PetJournal.GetPetStats.lua | 26 +++--- api/C_PetJournal.GetPetTeamAverageLevel.lua | 3 +- api/C_PetJournal.GetSummonedPetGUID.lua | 3 +- api/C_PetJournal.IsFindBattleEnabled.lua | 3 +- api/C_PetJournal.IsFlagFiltered.lua | 3 +- api/C_PetJournal.IsJournalReadOnly.lua | 3 +- api/C_PetJournal.IsJournalUnlocked.lua | 3 +- api/C_PetJournal.IsPetSourceFiltered.lua | 3 +- api/C_PetJournal.IsPetTypeFiltered.lua | 3 +- api/C_PetJournal.PetCanBeReleased.lua | 3 +- api/C_PetJournal.PetIsCapturable.lua | 3 +- api/C_PetJournal.PetIsFavorite.lua | 3 +- api/C_PetJournal.PetIsHurt.lua | 3 +- api/C_PetJournal.PetIsLockedForConvert.lua | 3 +- api/C_PetJournal.PetIsRevoked.lua | 3 +- api/C_PetJournal.PetIsSlotted.lua | 3 +- api/C_PetJournal.PetIsSummonable.lua | 3 +- api/C_PetJournal.PetIsTradable.lua | 3 +- api/C_PetJournal.PickupPet.lua | 3 +- api/C_PetJournal.ReleasePetByID.lua | 3 +- api/C_PetJournal.SetAbility.lua | 8 +- api/C_PetJournal.SetCustomName.lua | 3 +- api/C_PetJournal.SetFavorite.lua | 3 +- api/C_PetJournal.SetFlagFilter.lua | 3 +- api/C_PetJournal.SetPetLoadOutInfo.lua | 6 +- api/C_PetJournal.SetPetSortParameter.lua | 3 +- api/C_PetJournal.SetPetSourceFilter.lua | 3 +- api/C_PetJournal.SetPetTypeFilter.lua | 3 +- api/C_PetJournal.SetSearchFilter.lua | 3 +- api/C_PetJournal.SummonPetByGUID.lua | 3 +- api/C_PetJournal.SummonRandomPet.lua | 3 +- api/C_Questline.GetNumAvailableQuestlines.lua | 3 +- api/C_Questline.GetQuestlineInfoByIndex.lua | 3 +- api/C_RecruitAFriend.CheckEmailEnabled.lua | 3 +- api/C_RecruitAFriend.GetRecruitInfo.lua | 3 +- api/C_RecruitAFriend.IsSendingEnabled.lua | 3 +- api/C_RecruitAFriend.SendRecruit.lua | 3 +- api/C_Scenario.GetBonusStepRewardQuestID.lua | 3 +- api/C_Scenario.GetBonusSteps.lua | 3 +- api/C_Scenario.GetCriteriaInfo.lua | 3 +- api/C_Scenario.GetCriteriaInfoByStep.lua | 3 +- api/C_Scenario.GetInfo.lua | 3 +- api/C_Scenario.GetProvingGroundsInfo.lua | 3 +- api/C_Scenario.GetScenarioIconInfo.lua | 3 +- api/C_Scenario.GetStepInfo.lua | 3 +- api/C_Scenario.GetSupersededObjectives.lua | 3 +- api/C_Scenario.IsChallengeMode.lua | 3 +- api/C_Scenario.IsInScenario.lua | 3 +- api/C_Scenario.TreatScenarioAsDungeon.lua | 3 +- ...askQuest.GetQuestObjectiveStrByQuestID.lua | 3 +- api/C_TaskQuest.GetQuestTitleByQuestID.lua | 6 +- api/C_TaskQuest.GetQuestsForPlayerByMapID.lua | 3 +- api/C_Timer.After.lua | 6 +- api/C_ToyBox.ClearAllSourceTypesFiltered.lua | 3 +- api/C_ToyBox.FilterToys.lua | 3 +- api/C_ToyBox.GetFilterCollected.lua | 3 +- api/C_ToyBox.GetFilterUncollected.lua | 3 +- api/C_ToyBox.GetIsFavorite.lua | 3 +- api/C_ToyBox.GetNumFilteredToys.lua | 3 +- api/C_ToyBox.GetNumLearnedDisplayedToys.lua | 3 +- api/C_ToyBox.GetNumTotalDisplayedToys.lua | 3 +- api/C_ToyBox.GetNumToys.lua | 3 +- api/C_ToyBox.GetToyFromIndex.lua | 3 +- api/C_ToyBox.GetToyInfo.lua | 12 +-- api/C_ToyBox.GetToyLink.lua | 3 +- api/C_ToyBox.HasFavorites.lua | 3 +- api/C_ToyBox.IsSourceTypeFiltered.lua | 3 +- api/C_ToyBox.PickupToyBoxItem.lua | 3 +- api/C_ToyBox.SetAllSourceTypesFiltered.lua | 3 +- api/C_ToyBox.SetFilterCollected.lua | 3 +- api/C_ToyBox.SetFilterSourceType.lua | 3 +- api/C_ToyBox.SetFilterString.lua | 3 +- api/C_ToyBox.SetFilterUncollected.lua | 3 +- api/C_ToyBox.SetIsFavorite.lua | 3 +- ...phy.MonumentChangeAppearanceToTrophyID.lua | 3 +- api/C_Trophy.MonumentCloseMonumentUI.lua | 3 +- api/C_Trophy.MonumentGetCount.lua | 3 +- api/C_Trophy.MonumentGetSelectedTrophyID.lua | 3 +- api/C_Trophy.MonumentGetTrophyInfoByIndex.lua | 3 +- api/C_Trophy.MonumentLoadList.lua | 3 +- api/C_Trophy.MonumentLoadSelectedTrophyID.lua | 3 +- ...Trophy.MonumentRevertAppearanceToSaved.lua | 3 +- api/C_Trophy.MonumentSaveSelection.lua | 3 +- api/CalendarAddEvent.lua | 2 +- api/CalendarCanAddEvent.lua | 4 +- api/CalendarCanSendInvite.lua | 4 +- api/CalendarCloseEvent.lua | 2 +- api/CalendarContextDeselectEvent.lua | 2 +- api/CalendarContextEventCanRemove.lua | 3 +- api/CalendarContextEventClipboard.lua | 4 +- api/CalendarContextGetEventIndex.lua | 14 +-- api/CalendarContextInviteTentative.lua | 3 +- api/CalendarDefaultGuildFilter.lua | 8 +- api/CalendarEventAvailable.lua | 2 +- api/CalendarEventCanEdit.lua | 4 +- api/CalendarEventCanModerate.lua | 6 +- api/CalendarEventClearAutoApprove.lua | 2 +- api/CalendarEventClearLocked.lua | 2 +- api/CalendarEventClearModerator.lua | 4 +- api/CalendarEventDecline.lua | 2 +- api/CalendarEventGetCalendarType.lua | 10 +-- api/CalendarEventGetInvite.lua | 42 ++++----- api/CalendarEventGetInviteResponseTime.lua | 16 ++-- api/CalendarEventGetInviteSortCriterion.lua | 12 +-- api/CalendarEventGetNumInvites.lua | 4 +- api/CalendarEventGetRepeatOptions.lua | 4 +- api/CalendarEventGetSelectedInvite.lua | 4 +- api/CalendarEventGetStatusOptions.lua | 4 +- api/CalendarEventGetTypes.lua | 4 +- api/CalendarEventGetTypesDisplayOrdered.lua | 3 +- api/CalendarEventHasPendingInvite.lua | 4 +- api/CalendarEventHaveSettingsChanged.lua | 4 +- api/CalendarEventInvite.lua | 4 +- api/CalendarEventIsModerator.lua | 4 +- api/CalendarEventRemoveInvite.lua | 4 +- api/CalendarEventSelectInvite.lua | 4 +- api/CalendarEventSetAutoApprove.lua | 2 +- api/CalendarEventSetDate.lua | 8 +- api/CalendarEventSetDescription.lua | 4 +- api/CalendarEventSetLocked.lua | 2 +- api/CalendarEventSetLockoutDate.lua | 8 +- api/CalendarEventSetLockoutTime.lua | 6 +- api/CalendarEventSetModerator.lua | 4 +- api/CalendarEventSetRepeatOption.lua | 4 +- api/CalendarEventSetSize.lua | 4 +- api/CalendarEventSetTextureID.lua | 4 +- api/CalendarEventSetTime.lua | 6 +- api/CalendarEventSetTitle.lua | 4 +- api/CalendarEventSignUp.lua | 2 +- api/CalendarEventSortInvites.lua | 12 +-- api/CalendarEventTentative.lua | 3 +- api/CalendarGetAbsMonth.lua | 14 +-- api/CalendarGetDate.lua | 10 +-- api/CalendarGetDayEventSequenceInfo.lua | 3 +- api/CalendarGetEventIndex.lua | 14 +-- api/CalendarGetEventInfo.lua | 90 +++++++++---------- api/CalendarGetFirstPendingInvite.lua | 8 +- api/CalendarGetGuildEventInfo.lua | 76 ++++++++-------- api/CalendarGetGuildEventSelectionInfo.lua | 3 +- api/CalendarGetHolidayInfo.lua | 14 +-- api/CalendarGetMaxCreateDate.lua | 10 +-- api/CalendarGetMaxDate.lua | 10 +-- api/CalendarGetMinDate.lua | 10 +-- api/CalendarGetMinHistoryDate.lua | 10 +-- api/CalendarGetMonth.lua | 12 +-- api/CalendarGetMonthNames.lua | 4 +- api/CalendarGetNumDayEvents.lua | 8 +- api/CalendarGetNumGuildEvents.lua | 4 +- api/CalendarGetNumPendingInvites.lua | 4 +- api/CalendarGetRaidInfo.lua | 28 +++--- api/CalendarGetWeekdayNames.lua | 4 +- api/CalendarIsActionPending.lua | 4 +- api/CalendarMassInviteGuild.lua | 8 +- api/CalendarNewEvent.lua | 2 +- api/CalendarNewGuildAnnouncement.lua | 2 +- api/CalendarNewGuildEvent.lua | 2 +- api/CalendarOpenEvent.lua | 8 +- api/CalendarRemoveEvent.lua | 2 +- api/CalendarSetAbsMonth.lua | 6 +- api/CalendarUpdateEvent.lua | 2 +- api/CallCompanion.lua | 10 +-- api/CameraOrSelectOrMoveStart.lua | 2 +- api/CameraOrSelectOrMoveStop.lua | 4 +- api/CameraZoomIn.lua | 4 +- api/CameraZoomOut.lua | 4 +- api/CanAbandonQuest.lua | 6 +- api/CanAlterSkin.lua | 4 +- api/CanBeRaidTarget.lua | 6 +- api/CanCancelAuction.lua | 6 +- api/CanComplainChat.lua | 6 +- api/CanComplainInboxItem.lua | 6 +- api/CanEditGuildBankTabInfo.lua | 3 +- api/CanEditGuildEvent.lua | 4 +- api/CanEditGuildInfo.lua | 4 +- api/CanEditGuildTabInfo.lua | 6 +- api/CanEditMOTD.lua | 4 +- api/CanEditOfficerNote.lua | 4 +- api/CanEditPublicNote.lua | 4 +- api/CanEjectPassengerFromSeat.lua | 6 +- api/CanExitVehicle.lua | 4 +- api/CanGrantLevel.lua | 6 +- api/CanGuildBankRepair.lua | 4 +- api/CanGuildDemote.lua | 4 +- api/CanGuildInvite.lua | 4 +- api/CanGuildPromote.lua | 4 +- api/CanGuildRemove.lua | 4 +- api/CanHearthAndResurrectFromArea.lua | 4 +- api/CanInitiateWarGame.lua | 3 +- api/CanInspect.lua | 8 +- api/CanItemBeSocketedToArtifact.lua | 3 +- api/CanJoinBattlefieldAsGroup.lua | 4 +- api/CanLootUnit.lua | 3 +- api/CanMapChangeDifficulty.lua | 3 +- api/CanMerchantRepair.lua | 4 +- api/CanPartyLFGBackfill.lua | 3 +- api/CanQueueForWintergrasp.lua | 4 +- api/CanReplaceGuildMaster.lua | 3 +- api/CanResetTutorials.lua | 3 +- api/CanSendAuctionQuery.lua | 14 +-- api/CanShowAchievementUI.lua | 4 +- api/CanShowResetInstances.lua | 4 +- api/CanSignPetition.lua | 4 +- api/CanSolveArtifact.lua | 4 +- api/CanSummonFriend.lua | 8 +- api/CanSwitchVehicleSeat.lua | 4 +- api/CanSwitchVehicleSeats.lua | 4 +- api/CanTrackBattlePets.lua | 3 +- api/CanTransmogrifyItemWithItem.lua | 3 +- api/CanUpgradeExpansion.lua | 2 +- api/CanUseEquipmentSets.lua | 4 +- api/CanUseVoidStorage.lua | 3 +- api/CanViewGuildRecipes.lua | 3 +- api/CanViewOfficerNote.lua | 4 +- api/CanWithdrawGuildBankMoney.lua | 4 +- api/CancelAreaSpiritHeal.lua | 2 +- api/CancelAuction.lua | 4 +- api/CancelBarberShop.lua | 2 +- api/CancelDuel.lua | 2 +- api/CancelEmote.lua | 3 +- api/CancelGuildMembershipRequest.lua | 3 +- api/CancelItemTempEnchantment.lua | 4 +- api/CancelLogout.lua | 2 +- api/CancelMasterLootRoll.lua | 3 +- api/CancelPendingEquip.lua | 4 +- api/CancelPreloadingMovie.lua | 3 +- api/CancelSell.lua | 3 +- api/CancelShapeshiftForm.lua | 2 +- api/CancelSummon.lua | 2 +- api/CancelTrade.lua | 2 +- api/CancelTradeAccept.lua | 2 +- api/CancelUnitBuff.lua | 20 ++--- api/CastGlyph.lua | 3 +- api/CastGlyphByID.lua | 3 +- api/CastGlyphByName.lua | 3 +- api/CastPetAction.lua | 6 +- api/CastShapeshiftForm.lua | 4 +- api/CastSpell.lua | 10 +-- api/CastSpellByID.lua | 6 +- api/CastSpellByName.lua | 6 +- api/ChangeActionBarPage.lua | 4 +- api/ChangeChatColor.lua | 10 +-- api/ChannelBan.lua | 6 +- api/ChannelInvite.lua | 6 +- api/ChannelKick.lua | 6 +- api/ChannelModerator.lua | 6 +- api/ChannelMute.lua | 8 +- api/ChannelSilenceAll.lua | 10 +-- api/ChannelSilenceVoice.lua | 10 +-- api/ChannelToggleAnnouncements.lua | 4 +- api/ChannelUnSilenceAll.lua | 10 +-- api/ChannelUnSilenceVoice.lua | 10 +-- api/ChannelUnban.lua | 6 +- api/ChannelUnmoderator.lua | 6 +- api/ChannelUnmute.lua | 8 +- api/ChannelVoiceOff.lua | 6 +- api/ChannelVoiceOn.lua | 6 +- api/ChatFrame_AddMessageEventFilter.lua | 6 +- api/ChatFrame_GetMessageEventFilters.lua | 6 +- api/ChatFrame_RemoveMessageEventFilter.lua | 6 +- api/ChatHistory_GetAccessID.lua | 8 +- api/ChatHistory_GetChatType.lua | 8 +- api/CheckBinderDist.lua | 4 +- api/CheckInbox.lua | 2 +- api/CheckSpiritHealerDist.lua | 4 +- api/CheckTalentMasterDist.lua | 4 +- api/ClearAchievementComparisonUnit.lua | 2 +- api/ClearAllLFGDungeons.lua | 2 +- api/ClearAllTracking.lua | 3 +- api/ClearAutoAcceptQuestSound.lua | 3 +- api/ClearBlacklistMap.lua | 4 +- api/ClearCursor.lua | 2 +- api/ClearFocus.lua | 2 +- api/ClearInspectPlayer.lua | 2 +- api/ClearItemUpgrade.lua | 2 +- api/ClearMissingLootDisplay.lua | 3 +- api/ClearOverrideBindings.lua | 4 +- api/ClearPartyAssignment.lua | 14 +-- api/ClearRaidMarker.lua | 3 +- api/ClearSendMail.lua | 2 +- api/ClearTarget.lua | 2 +- api/ClearTransmogrifySlot.lua | 3 +- api/ClearTutorials.lua | 2 +- api/ClearVoidTransferDepositSlot.lua | 3 +- api/ClickAuctionSellItemButton.lua | 2 +- api/ClickLandmark.lua | 4 +- api/ClickSendMailItemButton.lua | 6 +- api/ClickSocketButton.lua | 4 +- api/ClickTargetTradeButton.lua | 4 +- api/ClickTradeButton.lua | 4 +- api/ClickTransmogrifySlot.lua | 3 +- api/ClickVoidStorageSlot.lua | 6 +- api/ClickVoidTransferDepositSlot.lua | 6 +- api/ClickVoidTransferWithdrawalSlot.lua | 6 +- api/CloseAuctionHouse.lua | 2 +- api/CloseBankFrame.lua | 2 +- api/CloseGossip.lua | 2 +- api/CloseGuildBankFrame.lua | 2 +- api/CloseGuildRegistrar.lua | 2 +- api/CloseGuildRoster.lua | 3 +- api/CloseItemText.lua | 2 +- api/CloseItemUpgrade.lua | 3 +- api/CloseLoot.lua | 2 +- api/CloseMail.lua | 2 +- api/CloseMerchant.lua | 2 +- api/ClosePetStables.lua | 2 +- api/ClosePetition.lua | 2 +- api/CloseQuest.lua | 2 +- api/CloseQuestChoice.lua | 3 +- api/CloseSocketInfo.lua | 2 +- api/CloseTabardCreation.lua | 2 +- api/CloseTaxiMap.lua | 2 +- api/CloseTrade.lua | 2 +- api/CloseTradeSkill.lua | 2 +- api/CloseTrainer.lua | 2 +- api/CloseTransmogrifyFrame.lua | 3 +- api/CloseVoidStorageFrame.lua | 3 +- api/ClosestUnitPosition.lua | 3 +- api/CollapseAllFactionHeaders.lua | 2 +- api/CollapseChannelHeader.lua | 4 +- api/CollapseFactionHeader.lua | 4 +- api/CollapseQuestHeader.lua | 4 +- api/CollapseTradeSkillSubClass.lua | 4 +- api/CollapseWarGameHeader.lua | 3 +- api/CombatLogAddFilter.lua | 12 +-- api/CombatLogAdvanceEntry.lua | 8 +- api/CombatLogClearEntries.lua | 2 +- api/CombatLogGetCurrentEntry.lua | 22 ++--- api/CombatLogGetNumEntries.lua | 4 +- api/CombatLogGetRetentionTime.lua | 4 +- api/CombatLogResetFilter.lua | 2 +- api/CombatLogSetCurrentEntry.lua | 6 +- api/CombatLogSetRetentionTime.lua | 4 +- api/CombatLog_Object_IsA.lua | 39 +++++--- api/CombatTextSetActiveUnit.lua | 4 +- api/CommentatorEnterInstance.lua | 3 +- api/CommentatorExitInstance.lua | 3 +- api/CommentatorFollowPlayer.lua | 3 +- api/CommentatorFollowUnit.lua | 3 +- api/CommentatorGetCamera.lua | 3 +- api/CommentatorGetCurrentMapID.lua | 3 +- api/CommentatorGetInstanceInfo.lua | 3 +- api/CommentatorGetMapInfo.lua | 3 +- api/CommentatorGetMode.lua | 3 +- api/CommentatorGetNumMaps.lua | 3 +- api/CommentatorGetNumPlayers.lua | 3 +- api/CommentatorGetPlayerInfo.lua | 3 +- api/CommentatorLookatPlayer.lua | 3 +- api/CommentatorSetCamera.lua | 3 +- api/CommentatorSetCameraCollision.lua | 3 +- api/CommentatorSetMapAndInstanceIndex.lua | 3 +- api/CommentatorSetMode.lua | 3 +- api/CommentatorSetMoveSpeed.lua | 3 +- api/CommentatorSetTargetHeightOffset.lua | 3 +- api/CommentatorStartWargame.lua | 3 +- api/CommentatorToggleMode.lua | 3 +- api/CommentatorUpdateMapInfo.lua | 3 +- api/CommentatorUpdatePlayerInfo.lua | 3 +- api/CommentatorZoomIn.lua | 3 +- api/CommentatorZoomOut.lua | 3 +- api/ComplainInboxItem.lua | 4 +- api/CompleteLFGRoleCheck.lua | 3 +- api/CompleteQuest.lua | 2 +- api/ConfirmAcceptQuest.lua | 2 +- api/ConfirmBindOnUse.lua | 2 +- api/ConfirmBinder.lua | 2 +- api/ConfirmLootSlot.lua | 4 +- api/ConfirmReadyCheck.lua | 4 +- api/ConfirmSummon.lua | 2 +- api/ConfirmTalentWipe.lua | 2 +- api/ConsoleAddMessage.lua | 2 +- api/ConsoleExec.lua | 4 +- api/ContainerIDToInventoryID.lua | 6 +- api/ContainerRefundItemPurchase.lua | 6 +- api/ConvertToParty.lua | 2 +- api/ConvertToRaid.lua | 2 +- api/CreateFont.lua | 6 +- api/CreateMacro.lua | 12 +-- api/CreateNewRaidProfile.lua | 3 +- api/CursorCanGoInSlot.lua | 6 +- api/CursorHasItem.lua | 4 +- api/CursorHasMacro.lua | 4 +- api/CursorHasMoney.lua | 4 +- api/CursorHasSpell.lua | 4 +- api/DeclineChannelInvite.lua | 3 +- api/DeclineGroup.lua | 2 +- api/DeclineGuild.lua | 2 +- api/DeclineGuildApplicant.lua | 3 +- api/DeclineLevelGrant.lua | 2 +- api/DeclineQuest.lua | 2 +- api/DeclineResurrect.lua | 2 +- api/DeclineSpellConfirmationPrompt.lua | 3 +- api/DelIgnore.lua | 4 +- api/DelMute.lua | 4 +- api/DeleteCursorItem.lua | 2 +- api/DeleteEquipmentSet.lua | 4 +- api/DeleteGMTicket.lua | 2 +- api/DeleteInboxItem.lua | 4 +- api/DeleteMacro.lua | 6 +- api/DeleteRaidProfile.lua | 3 +- api/DemoteAssistant.lua | 8 +- api/DepositGuildBankMoney.lua | 4 +- api/DepositReagentBank.lua | 2 +- api/DescendStop.lua | 2 +- api/DetectWowMouse.lua | 2 +- api/DisableAddOn.lua | 8 +- api/DisableAllAddOns.lua | 4 +- api/DisableSpellAutocast.lua | 4 +- api/DismissCompanion.lua | 8 +- api/Dismount.lua | 2 +- api/DisplayChannelOwner.lua | 6 +- api/DisplayChannelVoiceOff.lua | 4 +- api/DisplayChannelVoiceOn.lua | 4 +- api/DoEmote.lua | 4 +- api/DoMasterLootRoll.lua | 3 +- api/DoReadyCheck.lua | 2 +- api/DropCursorMoney.lua | 2 +- api/DropItemOnUnit.lua | 6 +- api/DungeonUsesTerrainMap.lua | 3 +- api/EJ_ClearSearch.lua | 3 +- api/EJ_GetCreatureInfo.lua | 3 +- api/EJ_GetCurrentInstance.lua | 3 +- api/EJ_GetCurrentTier.lua | 3 +- api/EJ_GetDifficulty.lua | 3 +- api/EJ_GetEncounterInfo.lua | 14 +-- api/EJ_GetEncounterInfoByIndex.lua | 3 +- api/EJ_GetInstanceByIndex.lua | 3 +- api/EJ_GetInstanceInfo.lua | 20 ++--- api/EJ_GetLootFilter.lua | 3 +- api/EJ_GetLootInfo.lua | 3 +- api/EJ_GetLootInfoByIndex.lua | 3 +- api/EJ_GetMapEncounter.lua | 3 +- api/EJ_GetNumLoot.lua | 3 +- api/EJ_GetNumSearchResults.lua | 3 +- api/EJ_GetNumTiers.lua | 3 +- api/EJ_GetSearchResult.lua | 3 +- api/EJ_GetSectionInfo.lua | 66 +++++++------- api/EJ_GetSectionPath.lua | 3 +- api/EJ_GetTierInfo.lua | 3 +- api/EJ_HandleLinkPath.lua | 3 +- api/EJ_InstanceIsRaid.lua | 3 +- api/EJ_IsValidInstanceDifficulty.lua | 3 +- api/EJ_ResetLootFilter.lua | 3 +- api/EJ_SelectEncounter.lua | 3 +- api/EJ_SelectInstance.lua | 3 +- api/EJ_SelectTier.lua | 3 +- api/EJ_SetDifficulty.lua | 4 +- api/EJ_SetLootFilter.lua | 3 +- api/EJ_SetSearch.lua | 3 +- api/EditMacro.lua | 12 +-- api/EjectPassengerFromSeat.lua | 4 +- api/EnableAddOn.lua | 8 +- api/EnableAllAddOns.lua | 4 +- api/EnableSpellAutocast.lua | 4 +- api/EndBoundTradeable.lua | 4 +- api/EndRefund.lua | 4 +- api/EnumerateFrames.lua | 6 +- api/EnumerateServerChannels.lua | 4 +- api/EquipCursorItem.lua | 4 +- api/EquipItemByName.lua | 8 +- api/EquipPendingItem.lua | 4 +- ...uipmentManagerClearIgnoredSlotsForSave.lua | 2 +- api/EquipmentManagerIgnoreSlotForSave.lua | 4 +- api/EquipmentManagerIsSlotIgnoredForSave.lua | 6 +- api/EquipmentManagerUnignoreSlotForSave.lua | 4 +- api/EquipmentManager_UnpackLocation.lua | 14 +-- api/EquipmentSetContainsLockedItems.lua | 6 +- api/ExecuteVoidTransfer.lua | 3 +- api/ExpandAllFactionHeaders.lua | 2 +- api/ExpandChannelHeader.lua | 4 +- api/ExpandCurrencyList.lua | 6 +- api/ExpandFactionHeader.lua | 4 +- api/ExpandQuestHeader.lua | 4 +- api/ExpandTradeSkillSubClass.lua | 4 +- api/ExpandWarGameHeader.lua | 3 +- api/FactionToggleAtWar.lua | 4 +- api/FillLocalizedClassList.lua | 6 +- api/FindSpellBookSlotBySpellID.lua | 3 +- api/FlagTutorial.lua | 4 +- api/FlipCameraYaw.lua | 4 +- api/FlyoutHasSpell.lua | 3 +- api/FocusUnit.lua | 6 +- api/FollowUnit.lua | 4 +- api/ForceGossip.lua | 3 +- api/ForceLogout.lua | 2 +- api/ForceQuit.lua | 2 +- api/FrameXML_Debug.lua | 4 +- api/GMEuropaBugsEnabled.lua | 3 +- api/GMEuropaComplaintsEnabled.lua | 3 +- api/GMEuropaSuggestionsEnabled.lua | 3 +- api/GMEuropaTicketsEnabled.lua | 3 +- api/GMItemRestorationButtonEnabled.lua | 3 +- api/GMQuickTicketSystemEnabled.lua | 3 +- api/GMQuickTicketSystemThrottled.lua | 3 +- api/GMReportLag.lua | 3 +- api/GMRequestPlayerInfo.lua | 3 +- api/GMResponseNeedMoreHelp.lua | 2 +- api/GMResponseResolve.lua | 2 +- api/GMSubmitBug.lua | 3 +- api/GMSubmitSuggestion.lua | 3 +- api/GMSurveyAnswer.lua | 8 +- api/GMSurveyAnswerSubmit.lua | 8 +- api/GMSurveyCommentSubmit.lua | 4 +- api/GMSurveyNumAnswers.lua | 6 +- api/GMSurveyQuestion.lua | 6 +- api/GMSurveySubmit.lua | 2 +- api/GameMovieFinished.lua | 2 +- api/GetAbandonQuestItems.lua | 4 +- api/GetAbandonQuestName.lua | 4 +- api/GetAccountExpansionLevel.lua | 16 ++-- api/GetAchievementCategory.lua | 6 +- api/GetAchievementComparisonInfo.lua | 12 +-- api/GetAchievementCriteriaInfo.lua | 32 +++---- api/GetAchievementCriteriaInfoByID.lua | 3 +- api/GetAchievementGuildRep.lua | 3 +- api/GetAchievementInfo.lua | 42 ++++----- api/GetAchievementLink.lua | 6 +- api/GetAchievementNumCriteria.lua | 6 +- api/GetAchievementNumRewards.lua | 6 +- api/GetAchievementReward.lua | 8 +- api/GetActionAutocast.lua | 8 +- api/GetActionBarPage.lua | 4 +- api/GetActionBarToggles.lua | 10 +-- api/GetActionCharges.lua | 3 +- api/GetActionCooldown.lua | 10 +-- api/GetActionCount.lua | 6 +- api/GetActionInfo.lua | 40 ++++----- api/GetActionLossOfControlCooldown.lua | 3 +- api/GetActionText.lua | 6 +- api/GetActionTexture.lua | 6 +- api/GetActiveArtifactByRace.lua | 3 +- api/GetActiveLevel.lua | 6 +- api/GetActiveLootRollIDs.lua | 3 +- api/GetActiveSpecGroup.lua | 4 +- api/GetActiveTitle.lua | 6 +- api/GetActiveVoiceChannel.lua | 4 +- api/GetAddOnCPUUsage.lua | 8 +- api/GetAddOnDependencies.lua | 8 +- api/GetAddOnEnableState.lua | 8 +- api/GetAddOnInfo.lua | 50 +++++------ api/GetAddOnMemoryUsage.lua | 8 +- api/GetAddOnMetadata.lua | 10 +-- api/GetAddOnOptionalDependencies.lua | 8 +- api/GetAllowLowLevelRaid.lua | 3 +- api/GetArchaeologyInfo.lua | 4 +- api/GetArchaeologyRaceInfo.lua | 16 ++-- api/GetArchaeologyRaceInfoByID.lua | 3 +- api/GetAreaMapInfo.lua | 4 +- api/GetAreaMaps.lua | 6 +- api/GetAreaSpiritHealerTime.lua | 4 +- api/GetArenaOpponentSpec.lua | 6 +- api/GetArmorEffectiveness.lua | 3 +- api/GetArmorPenetration.lua | 4 +- api/GetArtifactInfoByRace.lua | 3 +- api/GetArtifactProgress.lua | 8 +- api/GetAuctionHouseDepositRate.lua | 4 +- api/GetAuctionItemBattlePetInfo.lua | 16 ++-- api/GetAuctionItemClasses.lua | 4 +- api/GetAuctionItemInfo.lua | 38 ++++---- api/GetAuctionItemLink.lua | 14 +-- api/GetAuctionItemSubClasses.lua | 6 +- api/GetAuctionItemTimeLeft.lua | 22 ++--- api/GetAuctionSellItemInfo.lua | 20 ++--- api/GetAuctionSort.lua | 16 ++-- api/GetAutoCompletePresenceID.lua | 6 +- api/GetAutoCompleteRealms.lua | 3 +- api/GetAutoDeclineGuildInvites.lua | 3 +- api/GetAutoQuestPopUp.lua | 12 +-- api/GetAvailableLevel.lua | 6 +- api/GetAvailableLocales.lua | 3 +- api/GetAvailableQuestInfo.lua | 18 ++-- api/GetAvailableTitle.lua | 6 +- api/GetAverageItemLevel.lua | 8 +- api/GetAvoidance.lua | 3 +- api/GetBackpackAutosortDisabled.lua | 3 +- api/GetBackpackCurrencyInfo.lua | 20 ++--- api/GetBagName.lua | 6 +- api/GetBagSlotFlag.lua | 3 +- api/GetBankAutosortDisabled.lua | 3 +- api/GetBankBagSlotFlag.lua | 3 +- api/GetBankSlotCost.lua | 4 +- api/GetBarberShopTotalCost.lua | 4 +- api/GetBattlefieldArenaFaction.lua | 2 +- api/GetBattlefieldEstimatedWaitTime.lua | 6 +- api/GetBattlefieldFlagPosition.lua | 10 +-- api/GetBattlefieldInstanceExpiration.lua | 4 +- api/GetBattlefieldInstanceRunTime.lua | 4 +- api/GetBattlefieldMapIconScale.lua | 4 +- api/GetBattlefieldPortExpiration.lua | 6 +- api/GetBattlefieldScore.lua | 40 ++++----- api/GetBattlefieldStatData.lua | 8 +- api/GetBattlefieldStatInfo.lua | 10 +-- api/GetBattlefieldStatus.lua | 34 +++---- api/GetBattlefieldTimeWaited.lua | 6 +- api/GetBattlefieldVehicleInfo.lua | 32 +++---- api/GetBattlefieldWinner.lua | 10 +-- api/GetBattlegroundInfo.lua | 16 ++-- api/GetBattlegroundPoints.lua | 3 +- api/GetBestFlexRaidChoice.lua | 3 +- api/GetBestRFChoice.lua | 3 +- api/GetBidderAuctionItems.lua | 2 +- api/GetBillingTimeRested.lua | 4 +- api/GetBindLocation.lua | 4 +- api/GetBinding.lua | 10 +-- api/GetBindingAction.lua | 8 +- api/GetBindingByKey.lua | 6 +- api/GetBindingKey.lua | 8 +- api/GetBindingText.lua | 3 +- api/GetBlacklistMap.lua | 6 +- api/GetBlacklistMapName.lua | 3 +- api/GetBladedArmorEffect.lua | 3 +- api/GetBlockChance.lua | 4 +- api/GetBonusBarIndex.lua | 3 +- api/GetBonusBarOffset.lua | 4 +- api/GetBuildInfo.lua | 10 +-- api/GetBuybackItemInfo.lua | 16 ++-- api/GetBuybackItemLink.lua | 6 +- api/GetCVar.lua | 6 +- api/GetCVarBitfield.lua | 3 +- api/GetCVarBool.lua | 6 +- api/GetCVarDefault.lua | 6 +- api/GetCVarInfo.lua | 12 +-- api/GetCallPetSpellInfo.lua | 3 +- api/GetCategoryAchievementPoints.lua | 8 +- api/GetCategoryInfo.lua | 10 +-- api/GetCategoryList.lua | 4 +- api/GetCategoryNumAchievements.lua | 12 +-- api/GetCemeteryPreference.lua | 3 +- api/GetChallengeBestTime.lua | 3 +- api/GetChallengeBestTimeInfo.lua | 3 +- api/GetChallengeBestTimeNum.lua | 3 +- api/GetChallengeMapMoney.lua | 3 +- api/GetChallengeMapRewardInfo.lua | 3 +- api/GetChallengeMode.lua | 3 +- api/GetChallengeModeCompletionInfo.lua | 3 +- api/GetChallengeModeCompletionReward.lua | 3 +- api/GetChallengeModeLeaderInfo.lua | 3 +- api/GetChallengeModeMapInfo.lua | 3 +- api/GetChallengeModeMapPlayerStats.lua | 3 +- api/GetChallengeModeMapTable.lua | 3 +- api/GetChallengeModeMapTimes.lua | 3 +- api/GetChannelDisplayInfo.lua | 28 +++--- api/GetChannelList.lua | 8 +- api/GetChannelName.lua | 1 + api/GetChannelRosterInfo.lua | 18 ++-- api/GetChatTypeIndex.lua | 6 +- api/GetChatWindowChannels.lua | 10 +-- api/GetChatWindowInfo.lua | 24 ++--- api/GetChatWindowMessages.lua | 6 +- api/GetChatWindowSavedDimensions.lua | 3 +- api/GetChatWindowSavedPosition.lua | 3 +- api/GetClassInfo.lua | 3 +- api/GetClassInfoByID.lua | 3 +- api/GetClickFrame.lua | 6 +- api/GetCoinIcon.lua | 18 ++-- api/GetCoinText.lua | 8 +- api/GetCoinTextureString.lua | 8 +- api/GetCombatRating.lua | 78 ++++++++++------ api/GetCombatRatingBonus.lua | 78 ++++++++++------ api/GetComboPoints.lua | 8 +- api/GetCompanionInfo.lua | 32 +++---- api/GetComparisonAchievementPoints.lua | 4 +- api/GetComparisonCategoryNumAchievements.lua | 6 +- api/GetComparisonStatistic.lua | 6 +- api/GetContainerFreeSlots.lua | 8 +- api/GetContainerItemCooldown.lua | 12 +-- api/GetContainerItemDurability.lua | 10 +-- api/GetContainerItemEquipmentSetInfo.lua | 10 +-- api/GetContainerItemGems.lua | 12 +-- api/GetContainerItemID.lua | 8 +- api/GetContainerItemInfo.lua | 26 +++--- api/GetContainerItemLink.lua | 8 +- api/GetContainerItemPurchaseCurrency.lua | 3 +- api/GetContainerItemPurchaseInfo.lua | 18 ++-- api/GetContainerItemPurchaseItem.lua | 14 +-- api/GetContainerItemQuestInfo.lua | 12 +-- api/GetContainerNumFreeSlots.lua | 8 +- api/GetContainerNumSlots.lua | 6 +- api/GetContinentMapInfo.lua | 3 +- api/GetContinentMaps.lua | 3 +- api/GetCorpseMapPosition.lua | 6 +- api/GetCorpseRecoveryDelay.lua | 4 +- api/GetCritChance.lua | 4 +- api/GetCritChanceFromAgility.lua | 6 +- api/GetCritChanceProvidesParryEffect.lua | 3 +- api/GetCriteriaSpell.lua | 3 +- api/GetCurrencyInfo.lua | 20 ++--- api/GetCurrencyLink.lua | 6 +- api/GetCurrencyListInfo.lua | 26 +++--- api/GetCurrencyListLink.lua | 3 +- api/GetCurrencyListSize.lua | 4 +- api/GetCurrentArenaSeason.lua | 4 +- api/GetCurrentBindingSet.lua | 8 +- api/GetCurrentGraphicsSetting.lua | 3 +- api/GetCurrentGuildBankTab.lua | 4 +- api/GetCurrentKeyBoardFocus.lua | 4 +- api/GetCurrentLevelDraenorTalent.lua | 3 +- api/GetCurrentLevelSpells.lua | 3 +- api/GetCurrentMapAreaID.lua | 4 +- api/GetCurrentMapContinent.lua | 22 ++--- api/GetCurrentMapDungeonLevel.lua | 12 +-- api/GetCurrentMapHeaderIndex.lua | 3 +- api/GetCurrentMapLevelRange.lua | 6 +- api/GetCurrentMapZone.lua | 4 +- api/GetCurrentResolution.lua | 4 +- api/GetCurrentTitle.lua | 4 +- api/GetCursorInfo.lua | 60 ++++++------- api/GetCursorMoney.lua | 4 +- api/GetCursorPosition.lua | 6 +- api/GetDailyQuestsCompleted.lua | 4 +- api/GetDeathReleasePosition.lua | 6 +- api/GetDebugAnimationStats.lua | 3 +- api/GetDebugSpellEffects.lua | 3 +- api/GetDebugStats.lua | 3 +- api/GetDebugZoneMap.lua | 3 +- api/GetDefaultLanguage.lua | 4 +- api/GetDefaultVideoOptions.lua | 3 +- api/GetDefaultVideoQualityOption.lua | 3 +- api/GetDistanceSqToQuest.lua | 6 +- api/GetDodgeChance.lua | 4 +- api/GetDungeonDifficultyID.lua | 3 +- api/GetDungeonMapInfo.lua | 3 +- api/GetDungeonMaps.lua | 3 +- api/GetEclipseDirection.lua | 4 +- api/GetEquipmentSetIgnoreSlots.lua | 3 +- api/GetEquipmentSetInfo.lua | 22 ++--- api/GetEquipmentSetInfoByName.lua | 20 ++--- api/GetEquipmentSetItemIDs.lua | 6 +- api/GetEquipmentSetLocations.lua | 6 +- api/GetEventCPUUsage.lua | 8 +- api/GetEventTime.lua | 3 +- api/GetExistingSocketInfo.lua | 10 +-- api/GetExistingSocketLink.lua | 6 +- api/GetExpansionLevel.lua | 14 +-- api/GetExpertise.lua | 4 +- api/GetExtendedItemInfo.lua | 3 +- api/GetExtraBarIndex.lua | 3 +- api/GetFacialHairCustomization.lua | 4 +- api/GetFactionInfo.lua | 52 +++++------ api/GetFactionInfoByID.lua | 52 +++++------ api/GetFirstTradeSkill.lua | 4 +- api/GetFlexRaidDungeonInfo.lua | 3 +- api/GetFlyoutID.lua | 6 +- api/GetFlyoutInfo.lua | 12 +-- api/GetFlyoutSlotInfo.lua | 10 +-- api/GetFrameCPUUsage.lua | 10 +-- api/GetFramerate.lua | 4 +- api/GetFramesRegisteredForEvent.lua | 6 +- api/GetFriendInfo.lua | 20 ++--- api/GetGMStatus.lua | 3 +- api/GetGMTicket.lua | 2 +- api/GetGMTicketCategories.lua | 4 +- api/GetGameTime.lua | 6 +- api/GetGamma.lua | 4 +- api/GetGlyphClearInfo.lua | 3 +- api/GetGlyphInfo.lua | 14 +-- api/GetGlyphLinkByID.lua | 3 +- api/GetGossipActiveQuests.lua | 14 +-- api/GetGossipAvailableQuests.lua | 22 ++--- api/GetGossipOptions.lua | 24 ++--- api/GetGossipText.lua | 4 +- api/GetGraphicsAPIs.lua | 3 +- api/GetGreetingText.lua | 4 +- api/GetGuildAchievementMemberInfo.lua | 3 +- api/GetGuildAchievementMembers.lua | 3 +- api/GetGuildAchievementNumMembers.lua | 3 +- api/GetGuildApplicantInfo.lua | 3 +- api/GetGuildApplicantSelection.lua | 3 +- api/GetGuildBankBonusDepositMoney.lua | 3 +- api/GetGuildBankItemInfo.lua | 12 +-- api/GetGuildBankItemLink.lua | 8 +- api/GetGuildBankMoney.lua | 4 +- api/GetGuildBankMoneyTransaction.lua | 22 ++--- api/GetGuildBankTabCost.lua | 4 +- api/GetGuildBankTabInfo.lua | 16 ++-- api/GetGuildBankTabPermissions.lua | 12 +-- api/GetGuildBankText.lua | 6 +- api/GetGuildBankTransaction.lua | 34 +++---- api/GetGuildBankWithdrawGoldLimit.lua | 3 +- api/GetGuildBankWithdrawMoney.lua | 4 +- api/GetGuildCategoryList.lua | 4 +- api/GetGuildChallengeInfo.lua | 3 +- api/GetGuildCharterCost.lua | 4 +- api/GetGuildEventInfo.lua | 32 +++---- api/GetGuildExpirationTime.lua | 3 +- api/GetGuildFactionGroup.lua | 3 +- api/GetGuildFactionInfo.lua | 3 +- api/GetGuildInfo.lua | 12 +-- api/GetGuildInfoText.lua | 4 +- api/GetGuildLevelEnabled.lua | 3 +- api/GetGuildLogoInfo.lua | 3 +- api/GetGuildMemberRecipes.lua | 3 +- api/GetGuildMembershipRequestInfo.lua | 3 +- api/GetGuildMembershipRequestSettings.lua | 3 +- api/GetGuildNewsFilters.lua | 3 +- api/GetGuildNewsInfo.lua | 48 +++++----- api/GetGuildNewsMemberName.lua | 3 +- api/GetGuildNewsSort.lua | 3 +- api/GetGuildPerkInfo.lua | 3 +- api/GetGuildRecipeInfoPostQuery.lua | 3 +- api/GetGuildRecipeMember.lua | 12 +-- api/GetGuildRecruitmentComment.lua | 3 +- api/GetGuildRecruitmentSettings.lua | 3 +- api/GetGuildRenameRequired.lua | 3 +- api/GetGuildRewardInfo.lua | 3 +- api/GetGuildRosterInfo.lua | 40 ++++----- ...GetGuildRosterLargestAchievementPoints.lua | 3 +- api/GetGuildRosterLastOnline.lua | 12 +-- api/GetGuildRosterMOTD.lua | 4 +- api/GetGuildRosterSelection.lua | 4 +- api/GetGuildRosterShowOffline.lua | 4 +- api/GetGuildTabardFileNames.lua | 14 +-- api/GetGuildTradeSkillInfo.lua | 34 +++---- api/GetHairCustomization.lua | 4 +- api/GetHaste.lua | 2 +- api/GetHitModifier.lua | 3 +- api/GetHolidayBGHonorCurrencyBonuses.lua | 12 +-- api/GetHomePartyInfo.lua | 4 +- api/GetIgnoreName.lua | 6 +- api/GetInboxHeaderInfo.lua | 32 +++---- api/GetInboxInvoiceInfo.lua | 30 +++---- api/GetInboxItem.lua | 16 ++-- api/GetInboxItemLink.lua | 8 +- api/GetInboxNumItems.lua | 6 +- api/GetInboxText.lua | 12 +-- api/GetInspectArenaData.lua | 3 +- api/GetInspectGlyph.lua | 3 +- api/GetInspectGuildInfo.lua | 3 +- api/GetInspectHonorData.lua | 14 +-- api/GetInspectRatedBGData.lua | 3 +- api/GetInspectSpecialization.lua | 4 +- api/GetInspectTalent.lua | 3 +- api/GetInstanceBootTimeRemaining.lua | 4 +- api/GetInstanceInfo.lua | 82 ++++++++--------- api/GetInstanceLockTimeRemaining.lua | 4 +- api/GetInstanceLockTimeRemainingEncounter.lua | 3 +- api/GetInventoryAlertStatus.lua | 12 +-- api/GetInventoryItemBroken.lua | 8 +- api/GetInventoryItemCooldown.lua | 12 +-- api/GetInventoryItemCount.lua | 8 +- api/GetInventoryItemDurability.lua | 8 +- api/GetInventoryItemEquippedUnusable.lua | 3 +- api/GetInventoryItemGems.lua | 10 +-- api/GetInventoryItemID.lua | 8 +- api/GetInventoryItemLink.lua | 8 +- api/GetInventoryItemQuality.lua | 8 +- api/GetInventoryItemTexture.lua | 8 +- api/GetInventoryItemsForSlot.lua | 6 +- api/GetInventorySlotInfo.lua | 85 ++++++++++++------ api/GetItemCooldown.lua | 14 +-- api/GetItemCount.lua | 14 +-- api/GetItemFamily.lua | 44 ++++----- api/GetItemGem.lua | 14 +-- api/GetItemIcon.lua | 10 +-- api/GetItemInfo.lua | 24 ++--- api/GetItemLevelIncrement.lua | 4 +- api/GetItemQualityColor.lua | 12 +-- api/GetItemSpecInfo.lua | 3 +- api/GetItemSpell.lua | 12 +-- api/GetItemStatDelta.lua | 10 +-- api/GetItemStats.lua | 8 +- api/GetItemTransmogrifyInfo.lua | 16 ++-- api/GetItemUniqueness.lua | 12 +-- api/GetItemUpdateLevel.lua | 4 +- api/GetItemUpgradeEffect.lua | 3 +- api/GetItemUpgradeItemInfo.lua | 18 ++-- api/GetItemUpgradeStats.lua | 10 +-- api/GetLFDChoiceCollapseState.lua | 3 +- api/GetLFDChoiceEnabledState.lua | 3 +- api/GetLFDChoiceLockedState.lua | 3 +- api/GetLFDChoiceOrder.lua | 3 +- api/GetLFDLockInfo.lua | 3 +- api/GetLFDLockPlayerCount.lua | 3 +- api/GetLFDRoleLockInfo.lua | 3 +- api/GetLFDRoleRestrictions.lua | 3 +- api/GetLFGBonusFactionID.lua | 3 +- api/GetLFGBootProposal.lua | 3 +- api/GetLFGCategoryForID.lua | 3 +- api/GetLFGCompletionReward.lua | 20 ++--- api/GetLFGCompletionRewardItem.lua | 3 +- api/GetLFGDeserterExpiration.lua | 3 +- api/GetLFGDungeonEncounterInfo.lua | 14 +-- api/GetLFGDungeonInfo.lua | 32 +++---- api/GetLFGDungeonNumEncounters.lua | 8 +- api/GetLFGDungeonRewardCapBarInfo.lua | 3 +- api/GetLFGDungeonRewardCapInfo.lua | 3 +- api/GetLFGDungeonRewardInfo.lua | 3 +- api/GetLFGDungeonRewardLink.lua | 3 +- api/GetLFGDungeonRewards.lua | 3 +- api/GetLFGDungeonShortageRewardInfo.lua | 3 +- api/GetLFGDungeonShortageRewardLink.lua | 3 +- api/GetLFGInfoServer.lua | 3 +- api/GetLFGInviteRoleAvailability.lua | 3 +- api/GetLFGInviteRoleRestrictions.lua | 3 +- api/GetLFGMode.lua | 24 ++--- api/GetLFGProposal.lua | 2 +- api/GetLFGProposalEncounter.lua | 3 +- api/GetLFGProposalMember.lua | 3 +- api/GetLFGQueueStats.lua | 36 ++++---- api/GetLFGQueuedList.lua | 3 +- api/GetLFGRandomCooldownExpiration.lua | 3 +- api/GetLFGRandomDungeonInfo.lua | 3 +- api/GetLFGRoleShortageRewards.lua | 33 ++++--- api/GetLFGRoleUpdate.lua | 3 +- api/GetLFGRoleUpdateBattlegroundInfo.lua | 3 +- api/GetLFGRoleUpdateMember.lua | 3 +- api/GetLFGRoleUpdateSlot.lua | 3 +- api/GetLFGRoles.lua | 10 +-- api/GetLFGSuspendedPlayers.lua | 3 +- api/GetLFGTypes.lua | 4 +- api/GetLFRChoiceOrder.lua | 3 +- api/GetLanguageByIndex.lua | 8 +- api/GetLatestCompletedAchievements.lua | 6 +- ...tLatestCompletedComparisonAchievements.lua | 4 +- api/GetLatestThreeSenders.lua | 8 +- api/GetLatestUpdatedComparisonStats.lua | 4 +- api/GetLatestUpdatedStats.lua | 4 +- api/GetLegacyRaidDifficultyID.lua | 3 +- api/GetLevelUpInstances.lua | 3 +- api/GetLifesteal.lua | 3 +- api/GetLocale.lua | 24 ++--- api/GetLookingForGuildComment.lua | 3 +- api/GetLookingForGuildSettings.lua | 3 +- api/GetLooseMacroIcons.lua | 3 +- api/GetLooseMacroItemIcons.lua | 3 +- api/GetLootInfo.lua | 2 +- api/GetLootMethod.lua | 20 ++--- api/GetLootRollItemInfo.lua | 14 +-- api/GetLootRollItemLink.lua | 6 +- api/GetLootRollTimeLeft.lua | 6 +- api/GetLootSlotInfo.lua | 12 +-- api/GetLootSlotLink.lua | 6 +- api/GetLootSlotType.lua | 6 +- api/GetLootSourceInfo.lua | 14 +-- api/GetLootSpecialization.lua | 4 +- api/GetLootThreshold.lua | 4 +- api/GetMacroBody.lua | 8 +- api/GetMacroIcons.lua | 6 +- api/GetMacroIndexByName.lua | 6 +- api/GetMacroInfo.lua | 12 +-- api/GetMacroItem.lua | 10 +-- api/GetMacroItemIcons.lua | 6 +- api/GetMacroSpell.lua | 12 +-- api/GetManaRegen.lua | 6 +- api/GetMapContinents.lua | 4 +- api/GetMapDebugObjectInfo.lua | 3 +- api/GetMapHierarchy.lua | 3 +- api/GetMapInfo.lua | 12 +-- api/GetMapLandmarkInfo.lua | 18 ++-- api/GetMapNameByID.lua | 6 +- api/GetMapOverlayInfo.lua | 18 ++-- api/GetMapSubzones.lua | 6 +- api/GetMapZones.lua | 6 +- api/GetMasterLootCandidate.lua | 6 +- api/GetMastery.lua | 2 +- api/GetMasteryEffect.lua | 3 +- api/GetMaxAnimFramerate.lua | 3 +- api/GetMaxArenaCurrency.lua | 4 +- api/GetMaxBattlefieldID.lua | 4 +- api/GetMaxCombatRatingBonus.lua | 78 ++++++++++------ api/GetMaxPlayerLevel.lua | 4 +- api/GetMaxRewardCurrencies.lua | 3 +- api/GetMaxSpellStartRecoveryOffset.lua | 3 +- api/GetMaxTalentTier.lua | 3 +- api/GetMeleeHaste.lua | 4 +- api/GetMerchantCurrencies.lua | 3 +- api/GetMerchantFilter.lua | 2 +- api/GetMerchantItemCostInfo.lua | 6 +- api/GetMerchantItemCostItem.lua | 14 +-- api/GetMerchantItemInfo.lua | 18 ++-- api/GetMerchantItemLink.lua | 6 +- api/GetMerchantItemMaxStack.lua | 6 +- api/GetMerchantNumItems.lua | 4 +- api/GetMinimapZoneText.lua | 4 +- api/GetMirrorTimerInfo.lua | 24 ++--- api/GetMirrorTimerProgress.lua | 14 +-- api/GetMissingLootItemInfo.lua | 3 +- api/GetMissingLootItemLink.lua | 3 +- api/GetModResilienceDamageReduction.lua | 3 +- api/GetModifiedClick.lua | 6 +- api/GetModifiedClickAction.lua | 6 +- api/GetMoney.lua | 4 +- api/GetMonitorAspectRatio.lua | 6 +- api/GetMonitorCount.lua | 4 +- api/GetMonitorName.lua | 6 +- api/GetMouseButtonClicked.lua | 4 +- api/GetMouseButtonName.lua | 16 ++-- api/GetMouseFocus.lua | 4 +- api/GetMovieDownloadProgress.lua | 3 +- api/GetMultiCastBarIndex.lua | 3 +- api/GetMultiCastTotemSpells.lua | 3 +- api/GetMultistrike.lua | 3 +- api/GetMultistrikeEffect.lua | 3 +- api/GetMuteName.lua | 6 +- api/GetMuteStatus.lua | 10 +-- api/GetNamePlateMotionType.lua | 3 +- api/GetNetIpTypes.lua | 3 +- api/GetNetStats.lua | 10 +-- api/GetNewSocketInfo.lua | 10 +-- api/GetNewSocketLink.lua | 6 +- api/GetNextAchievement.lua | 8 +- api/GetNextCompleatedTutorial.lua | 3 +- api/GetNumActiveQuests.lua | 4 +- api/GetNumAddOns.lua | 4 +- api/GetNumArchaeologyRaces.lua | 4 +- api/GetNumArenaOpponentSpecs.lua | 4 +- api/GetNumArenaOpponents.lua | 4 +- api/GetNumArtifactsByRace.lua | 6 +- api/GetNumAuctionItems.lua | 14 +-- api/GetNumAutoQuestPopUps.lua | 4 +- api/GetNumAvailableQuests.lua | 4 +- api/GetNumBankSlots.lua | 6 +- api/GetNumBattlefieldFlagPositions.lua | 4 +- api/GetNumBattlefieldScores.lua | 4 +- api/GetNumBattlefieldStats.lua | 4 +- api/GetNumBattlefieldVehicles.lua | 4 +- api/GetNumBattlegroundTypes.lua | 4 +- api/GetNumBindings.lua | 4 +- api/GetNumBuybackItems.lua | 4 +- api/GetNumChallengeMapRewards.lua | 3 +- api/GetNumChallengeModeLeaders.lua | 3 +- api/GetNumChannelMembers.lua | 6 +- api/GetNumClasses.lua | 3 +- api/GetNumCompanions.lua | 10 +-- api/GetNumComparisonCompletedAchievements.lua | 6 +- api/GetNumCompletedAchievements.lua | 8 +- api/GetNumDisplayChannels.lua | 4 +- api/GetNumDungeonMapLevels.lua | 6 +- api/GetNumEquipmentSets.lua | 4 +- api/GetNumFactions.lua | 4 +- api/GetNumFlexRaidDungeons.lua | 3 +- api/GetNumFlyouts.lua | 4 +- api/GetNumFrames.lua | 4 +- api/GetNumFriends.lua | 6 +- api/GetNumGlyphSockets.lua | 2 +- api/GetNumGlyphs.lua | 4 +- api/GetNumGossipActiveQuests.lua | 4 +- api/GetNumGossipAvailableQuests.lua | 4 +- api/GetNumGossipOptions.lua | 4 +- api/GetNumGroupMembers.lua | 4 +- api/GetNumGuildApplicants.lua | 3 +- api/GetNumGuildBankMoneyTransactions.lua | 4 +- api/GetNumGuildBankTabs.lua | 4 +- api/GetNumGuildBankTransactions.lua | 6 +- api/GetNumGuildChallenges.lua | 3 +- api/GetNumGuildEvents.lua | 4 +- api/GetNumGuildMembers.lua | 8 +- api/GetNumGuildMembershipRequests.lua | 3 +- api/GetNumGuildNews.lua | 4 +- api/GetNumGuildPerks.lua | 4 +- api/GetNumGuildRewards.lua | 4 +- api/GetNumGuildTradeSkill.lua | 2 +- api/GetNumIgnores.lua | 4 +- api/GetNumItemUpgradeEffects.lua | 3 +- api/GetNumLanguages.lua | 4 +- api/GetNumLootItems.lua | 4 +- api/GetNumMacros.lua | 6 +- api/GetNumMapDebugObjects.lua | 3 +- api/GetNumMapLandmarks.lua | 4 +- api/GetNumMapOverlays.lua | 4 +- api/GetNumMembersInRank.lua | 3 +- api/GetNumMissingLootItems.lua | 3 +- api/GetNumModifiedClickActions.lua | 4 +- api/GetNumMutes.lua | 4 +- api/GetNumNamePlateMotionTypes.lua | 3 +- api/GetNumPackages.lua | 3 +- api/GetNumPetitionNames.lua | 4 +- api/GetNumQuestChoices.lua | 4 +- api/GetNumQuestCurrencies.lua | 3 +- api/GetNumQuestItemDrops.lua | 3 +- api/GetNumQuestItems.lua | 4 +- api/GetNumQuestLeaderBoards.lua | 6 +- api/GetNumQuestLogChoices.lua | 4 +- api/GetNumQuestLogEntries.lua | 6 +- api/GetNumQuestLogRewardCurrencies.lua | 3 +- api/GetNumQuestLogRewardFactions.lua | 3 +- api/GetNumQuestLogRewards.lua | 4 +- api/GetNumQuestLogTasks.lua | 3 +- api/GetNumQuestPOIWorldEffects.lua | 3 +- api/GetNumQuestRewards.lua | 4 +- api/GetNumQuestWatches.lua | 4 +- api/GetNumRFDungeons.lua | 4 +- api/GetNumRaidProfiles.lua | 3 +- api/GetNumRandomScenarios.lua | 3 +- api/GetNumRecruitingGuilds.lua | 3 +- api/GetNumRewardCurrencies.lua | 3 +- api/GetNumRoutes.lua | 6 +- api/GetNumSavedInstances.lua | 4 +- api/GetNumSavedWorldBosses.lua | 3 +- api/GetNumScenarios.lua | 3 +- api/GetNumShapeshiftForms.lua | 4 +- api/GetNumSockets.lua | 4 +- api/GetNumSpecGroups.lua | 3 +- api/GetNumSpecializations.lua | 3 +- api/GetNumSpecializationsForClassID.lua | 3 +- api/GetNumSpellTabs.lua | 4 +- api/GetNumStationeries.lua | 4 +- api/GetNumSubgroupMembers.lua | 4 +- api/GetNumTitles.lua | 4 +- api/GetNumTrackedAchievements.lua | 4 +- api/GetNumTrackingTypes.lua | 4 +- api/GetNumTradeSkills.lua | 4 +- api/GetNumTrainerServices.lua | 4 +- api/GetNumUnspentTalents.lua | 3 +- api/GetNumVoiceSessionMembersBySessionID.lua | 6 +- api/GetNumVoiceSessions.lua | 4 +- api/GetNumVoidTransferDeposit.lua | 3 +- api/GetNumVoidTransferWithdrawal.lua | 3 +- api/GetNumWarGameTypes.lua | 3 +- api/GetNumWhoResults.lua | 6 +- api/GetNumWorldPVPAreas.lua | 3 +- api/GetNumWorldStateUI.lua | 4 +- api/GetNumberOfDetailTiles.lua | 3 +- api/GetOSLocale.lua | 3 +- api/GetObjectiveText.lua | 4 +- api/GetOptOutOfLoot.lua | 4 +- api/GetOutdoorPVPWaitTime.lua | 4 +- api/GetOverrideAPBySpellPower.lua | 3 +- api/GetOverrideBarIndex.lua | 3 +- api/GetOverrideBarSkin.lua | 3 +- api/GetOverrideSpellPowerByAP.lua | 4 +- api/GetOwnerAuctionItems.lua | 2 +- api/GetPOITextureCoords.lua | 12 +-- api/GetPVPDesired.lua | 4 +- api/GetPVPLifetimeStats.lua | 6 +- api/GetPVPRewards.lua | 14 +-- api/GetPVPRoles.lua | 3 +- api/GetPVPSessionStats.lua | 6 +- api/GetPVPTimer.lua | 4 +- api/GetPVPYesterdayStats.lua | 6 +- api/GetPackageInfo.lua | 3 +- api/GetParryChance.lua | 4 +- api/GetPartyAssignment.lua | 16 ++-- api/GetPartyLFGBackfillInfo.lua | 3 +- api/GetPartyLFGID.lua | 3 +- api/GetPersonalRatedInfo.lua | 3 +- api/GetPetActionCooldown.lua | 10 +-- api/GetPetActionInfo.lua | 18 ++-- api/GetPetActionSlotUsable.lua | 6 +- api/GetPetActionsUsable.lua | 4 +- api/GetPetExperience.lua | 6 +- api/GetPetFoodTypes.lua | 16 ++-- api/GetPetIcon.lua | 4 +- api/GetPetMeleeHaste.lua | 3 +- api/GetPetSpellBonusDamage.lua | 3 +- api/GetPetTalentTree.lua | 4 +- api/GetPetTimeRemaining.lua | 4 +- api/GetPetitionInfo.lua | 20 ++--- api/GetPetitionNameInfo.lua | 6 +- api/GetPlayerFacing.lua | 4 +- api/GetPlayerInfoByGUID.lua | 24 ++--- api/GetPlayerMapPosition.lua | 8 +- api/GetPlayerTradeCurrency.lua | 3 +- api/GetPlayerTradeMoney.lua | 4 +- api/GetPossessInfo.lua | 8 +- api/GetPowerRegen.lua | 6 +- api/GetPrevCompleatedTutorial.lua | 3 +- api/GetPreviousAchievement.lua | 6 +- api/GetPreviousArenaSeason.lua | 4 +- api/GetProfessionInfo.lua | 24 ++--- api/GetProfessions.lua | 14 +-- api/GetProgressText.lua | 4 +- api/GetPvpPowerDamage.lua | 3 +- api/GetPvpPowerHealing.lua | 3 +- api/GetQuestBackgroundMaterial.lua | 14 +-- api/GetQuestChoiceInfo.lua | 3 +- api/GetQuestChoiceOptionInfo.lua | 3 +- api/GetQuestChoiceRewardCurrency.lua | 3 +- api/GetQuestChoiceRewardFaction.lua | 3 +- api/GetQuestChoiceRewardInfo.lua | 3 +- api/GetQuestChoiceRewardItem.lua | 3 +- api/GetQuestCurrencyInfo.lua | 16 ++-- api/GetQuestDifficultyColor.lua | 6 +- api/GetQuestFactionGroup.lua | 3 +- api/GetQuestGreenRange.lua | 4 +- api/GetQuestID.lua | 4 +- api/GetQuestIndexForTimer.lua | 6 +- api/GetQuestIndexForWatch.lua | 6 +- api/GetQuestItemInfo.lua | 36 ++++---- api/GetQuestItemLink.lua | 14 +-- api/GetQuestLink.lua | 6 +- api/GetQuestLogChoiceInfo.lua | 16 ++-- api/GetQuestLogCompletionText.lua | 4 +- api/GetQuestLogCriteriaSpell.lua | 10 +-- api/GetQuestLogGroupNum.lua | 4 +- api/GetQuestLogIndexByID.lua | 6 +- api/GetQuestLogIsAutoComplete.lua | 3 +- api/GetQuestLogItemDrop.lua | 3 +- api/GetQuestLogItemLink.lua | 10 +-- api/GetQuestLogLeaderBoard.lua | 22 ++--- api/GetQuestLogPortraitGiver.lua | 8 +- api/GetQuestLogPortraitTurnIn.lua | 8 +- api/GetQuestLogPushable.lua | 4 +- api/GetQuestLogQuestText.lua | 6 +- api/GetQuestLogQuestType.lua | 3 +- api/GetQuestLogRequiredMoney.lua | 4 +- api/GetQuestLogRewardCurrencyInfo.lua | 3 +- api/GetQuestLogRewardFactionInfo.lua | 3 +- api/GetQuestLogRewardInfo.lua | 14 +-- api/GetQuestLogRewardMoney.lua | 4 +- api/GetQuestLogRewardSkillPoints.lua | 8 +- api/GetQuestLogRewardSpell.lua | 10 +-- api/GetQuestLogRewardTalents.lua | 4 +- api/GetQuestLogRewardTitle.lua | 4 +- api/GetQuestLogRewardXP.lua | 4 +- api/GetQuestLogSelection.lua | 4 +- api/GetQuestLogSpecialItemCooldown.lua | 10 +-- api/GetQuestLogSpecialItemInfo.lua | 10 +-- api/GetQuestLogSpellLink.lua | 4 +- api/GetQuestLogTaskInfo.lua | 3 +- api/GetQuestLogTimeLeft.lua | 4 +- api/GetQuestLogTitle.lua | 46 +++++----- api/GetQuestMoneyToGet.lua | 4 +- api/GetQuestObjectiveInfo.lua | 3 +- api/GetQuestPOIBlobCount.lua | 3 +- api/GetQuestPOILeaderBoard.lua | 3 +- api/GetQuestPOIWorldEffectInfo.lua | 3 +- api/GetQuestPOIs.lua | 3 +- api/GetQuestPortraitGiver.lua | 8 +- api/GetQuestPortraitTurnIn.lua | 8 +- api/GetQuestProgressBarPercent.lua | 6 +- api/GetQuestResetTime.lua | 4 +- api/GetQuestReward.lua | 4 +- api/GetQuestSortIndex.lua | 3 +- api/GetQuestSpellLink.lua | 4 +- api/GetQuestTagInfo.lua | 3 +- api/GetQuestText.lua | 4 +- api/GetQuestTimers.lua | 4 +- api/GetQuestWatchIndex.lua | 6 +- api/GetQuestWatchInfo.lua | 3 +- api/GetQuestWorldMapAreaID.lua | 8 +- api/GetQuestsCompleted.lua | 6 +- api/GetRFDungeonInfo.lua | 40 ++++----- api/GetRaidBuffInfo.lua | 3 +- api/GetRaidDifficultyID.lua | 3 +- api/GetRaidProfileFlattenedOptions.lua | 3 +- api/GetRaidProfileName.lua | 3 +- api/GetRaidProfileOption.lua | 3 +- api/GetRaidProfileSavedPosition.lua | 3 +- api/GetRaidRosterInfo.lua | 36 ++++---- api/GetRaidTargetIndex.lua | 26 +++--- api/GetRandomBGHonorCurrencyBonuses.lua | 3 +- api/GetRandomDungeonBestChoice.lua | 2 +- api/GetRandomScenarioBestChoice.lua | 3 +- api/GetRandomScenarioInfo.lua | 3 +- api/GetRangedCritChance.lua | 4 +- api/GetRangedHaste.lua | 4 +- api/GetRatedBattleGroundInfo.lua | 3 +- api/GetReadyCheckStatus.lua | 14 +-- api/GetReadyCheckTimeLeft.lua | 4 +- api/GetReagentBankCost.lua | 4 +- api/GetRealZoneText.lua | 4 +- api/GetRealmName.lua | 4 +- api/GetRecruitingGuildInfo.lua | 3 +- api/GetRecruitingGuildSelection.lua | 3 +- api/GetRecruitingGuildSettings.lua | 3 +- api/GetRecruitingGuildTabardInfo.lua | 3 +- api/GetRefreshRates.lua | 4 +- api/GetRegisteredAddonMessagePrefixes.lua | 6 +- api/GetReleaseTimeRemaining.lua | 4 +- api/GetRepairAllCost.lua | 6 +- api/GetResSicknessDuration.lua | 4 +- api/GetRestState.lua | 16 ++-- api/GetRestrictedAccountData.lua | 3 +- api/GetRewardMoney.lua | 4 +- api/GetRewardNumSkillUps.lua | 3 +- api/GetRewardSkillLineID.lua | 3 +- api/GetRewardSkillPoints.lua | 3 +- api/GetRewardSpell.lua | 10 +-- api/GetRewardTalents.lua | 4 +- api/GetRewardText.lua | 4 +- api/GetRewardTitle.lua | 4 +- api/GetRewardXP.lua | 4 +- api/GetRunningMacro.lua | 4 +- api/GetRunningMacroButton.lua | 14 +-- api/GetSavedInstanceChatLink.lua | 6 +- api/GetSavedInstanceEncounterInfo.lua | 3 +- api/GetSavedInstanceInfo.lua | 46 +++++----- api/GetSavedWorldBossInfo.lua | 10 +-- api/GetScenariosChoiceOrder.lua | 3 +- api/GetScreenHeight.lua | 4 +- api/GetScreenResolutions.lua | 4 +- api/GetScreenWidth.lua | 4 +- api/GetScriptCPUUsage.lua | 4 +- api/GetSelectedArtifactInfo.lua | 16 ++-- api/GetSelectedAuctionItem.lua | 12 +-- api/GetSelectedDisplayChannel.lua | 4 +- api/GetSelectedFaction.lua | 4 +- api/GetSelectedFriend.lua | 4 +- api/GetSelectedGlyphSpellIndex.lua | 3 +- api/GetSelectedIgnore.lua | 4 +- api/GetSelectedMute.lua | 4 +- api/GetSelectedStationeryTexture.lua | 4 +- api/GetSelectedWarGameType.lua | 3 +- api/GetSendMailCOD.lua | 4 +- api/GetSendMailItem.lua | 12 +-- api/GetSendMailItemLink.lua | 6 +- api/GetSendMailMoney.lua | 4 +- api/GetSendMailPrice.lua | 4 +- api/GetSessionTime.lua | 3 +- ...GetSetBonusesForSpecializationByItemID.lua | 3 +- api/GetShapeshiftForm.lua | 4 +- api/GetShapeshiftFormCooldown.lua | 10 +-- api/GetShapeshiftFormID.lua | 4 +- api/GetShapeshiftFormInfo.lua | 14 +-- api/GetShieldBlock.lua | 4 +- api/GetSocketItemBoundTradeable.lua | 4 +- api/GetSocketItemInfo.lua | 8 +- api/GetSocketItemRefundable.lua | 4 +- api/GetSocketTypes.lua | 16 ++-- api/GetSortBagsRightToLeft.lua | 3 +- api/GetSpecialization.lua | 4 +- api/GetSpecializationInfo.lua | 26 +++--- api/GetSpecializationInfoByID.lua | 18 ++-- api/GetSpecializationInfoForClassID.lua | 3 +- api/GetSpecializationMasterySpells.lua | 10 +-- api/GetSpecializationNameForSpecID.lua | 6 +- api/GetSpecializationReadinessSpell.lua | 3 +- api/GetSpecializationRole.lua | 3 +- api/GetSpecializationRoleByID.lua | 3 +- api/GetSpecializationSpells.lua | 14 +-- api/GetSpecsForSpell.lua | 3 +- api/GetSpeed.lua | 3 +- api/GetSpellAutocast.lua | 14 +-- api/GetSpellAvailableLevel.lua | 3 +- api/GetSpellBaseCooldown.lua | 6 +- api/GetSpellBonusHealing.lua | 4 +- api/GetSpellBookItemInfo.lua | 16 ++-- api/GetSpellBookItemName.lua | 16 ++-- api/GetSpellBookItemTexture.lua | 3 +- api/GetSpellCharges.lua | 14 +-- api/GetSpellConfirmationPromptsInfo.lua | 3 +- api/GetSpellCooldown.lua | 10 +-- api/GetSpellCount.lua | 14 +-- api/GetSpellCritChanceFromIntellect.lua | 6 +- api/GetSpellDescription.lua | 6 +- api/GetSpellHitModifier.lua | 3 +- api/GetSpellInfo.lua | 28 +++--- api/GetSpellLevelLearned.lua | 3 +- api/GetSpellLink.lua | 18 ++-- api/GetSpellLossOfControlCooldown.lua | 3 +- api/GetSpellPenetration.lua | 4 +- api/GetSpellTabInfo.lua | 12 +-- api/GetSpellTexture.lua | 14 +-- api/GetSpellsForCharacterUpgradeTier.lua | 3 +- api/GetStationeryInfo.lua | 10 +-- api/GetStatistic.lua | 6 +- api/GetStatisticsCategoryList.lua | 4 +- api/GetSubZoneText.lua | 4 +- api/GetSuggestedGroupNum.lua | 4 +- api/GetSummonConfirmAreaName.lua | 4 +- api/GetSummonConfirmSummoner.lua | 4 +- api/GetSummonConfirmTimeLeft.lua | 4 +- api/GetSummonFriendCooldown.lua | 6 +- api/GetSuperTrackedQuestID.lua | 3 +- api/GetTabardCreationCost.lua | 4 +- api/GetTabardInfo.lua | 3 +- api/GetTalentClearInfo.lua | 3 +- api/GetTalentInfo.lua | 30 +++---- api/GetTalentInfoByID.lua | 3 +- api/GetTalentInfoBySpecialization.lua | 3 +- api/GetTalentRowSelectionInfo.lua | 3 +- api/GetTargetTradeCurrency.lua | 3 +- api/GetTargetTradeMoney.lua | 4 +- api/GetTaxiBenchmarkMode.lua | 4 +- api/GetTempShapeshiftBarIndex.lua | 3 +- api/GetText.lua | 10 +-- api/GetThreatStatusColor.lua | 10 +-- api/GetTime.lua | 4 +- api/GetTimeToWellRested.lua | 3 +- api/GetTitleName.lua | 6 +- api/GetTitleText.lua | 4 +- api/GetTotalAchievementPoints.lua | 6 +- api/GetTrackedAchievements.lua | 4 +- api/GetTrackingInfo.lua | 16 ++-- api/GetTradePlayerItemInfo.lua | 16 ++-- api/GetTradePlayerItemLink.lua | 6 +- api/GetTradeSkillCategoryFilter.lua | 3 +- api/GetTradeSkillCooldown.lua | 6 +- api/GetTradeSkillDescription.lua | 6 +- api/GetTradeSkillIcon.lua | 6 +- api/GetTradeSkillInfo.lua | 52 +++++------ api/GetTradeSkillInvSlotFilter.lua | 6 +- api/GetTradeSkillInvSlots.lua | 4 +- api/GetTradeSkillItemLevelFilter.lua | 6 +- api/GetTradeSkillItemLink.lua | 6 +- api/GetTradeSkillItemNameFilter.lua | 4 +- api/GetTradeSkillLine.lua | 8 +- api/GetTradeSkillListLink.lua | 4 +- api/GetTradeSkillNumMade.lua | 8 +- api/GetTradeSkillNumReagents.lua | 6 +- api/GetTradeSkillReagentInfo.lua | 14 +-- api/GetTradeSkillReagentItemLink.lua | 8 +- api/GetTradeSkillRecipeLink.lua | 6 +- api/GetTradeSkillSelectionIndex.lua | 4 +- api/GetTradeSkillSubCategories.lua | 3 +- api/GetTradeSkillSubClassFilteredSlots.lua | 3 +- api/GetTradeSkillSubClasses.lua | 4 +- api/GetTradeSkillTexture.lua | 3 +- api/GetTradeSkillTools.lua | 10 +-- api/GetTradeTargetItemInfo.lua | 16 ++-- api/GetTradeTargetItemLink.lua | 6 +- api/GetTradeskillRepeatCount.lua | 4 +- api/GetTrainerGreetingText.lua | 4 +- api/GetTrainerSelectionIndex.lua | 4 +- api/GetTrainerServiceAbilityReq.lua | 10 +-- api/GetTrainerServiceCost.lua | 10 +-- api/GetTrainerServiceDescription.lua | 6 +- api/GetTrainerServiceIcon.lua | 6 +- api/GetTrainerServiceInfo.lua | 24 ++--- api/GetTrainerServiceItemLink.lua | 6 +- api/GetTrainerServiceLevelReq.lua | 6 +- api/GetTrainerServiceNumAbilityReq.lua | 6 +- api/GetTrainerServiceSkillLine.lua | 6 +- api/GetTrainerServiceSkillReq.lua | 10 +-- api/GetTrainerServiceStepIndex.lua | 3 +- api/GetTrainerServiceTypeFilter.lua | 12 +-- api/GetTrainerTradeskillRankValues.lua | 3 +- api/GetTransmogrifyCost.lua | 3 +- api/GetTransmogrifySlotInfo.lua | 18 ++-- api/GetTutorialsEnabled.lua | 3 +- api/GetUnitHealthModifier.lua | 6 +- api/GetUnitManaRegenRateFromSpirit.lua | 6 +- api/GetUnitMaxHealthModifier.lua | 6 +- api/GetUnitName.lua | 8 +- api/GetUnitPitch.lua | 6 +- api/GetUnitPowerModifier.lua | 6 +- api/GetUnitSpeed.lua | 12 +-- api/GetVehicleBarIndex.lua | 3 +- api/GetVehicleUIIndicator.lua | 3 +- api/GetVehicleUIIndicatorSeat.lua | 3 +- api/GetVersatilityBonus.lua | 3 +- api/GetVideoCaps.lua | 16 ++-- api/GetVideoOptions.lua | 10 +-- api/GetVoiceCurrentSessionID.lua | 4 +- api/GetVoiceSessionInfo.lua | 8 +- api/GetVoiceSessionMemberInfoBySessionID.lua | 16 ++-- api/GetVoiceStatus.lua | 10 +-- api/GetVoidItemHyperlinkString.lua | 3 +- api/GetVoidItemInfo.lua | 18 ++-- api/GetVoidStorageSlotPageIndex.lua | 3 +- api/GetVoidTransferCost.lua | 3 +- api/GetVoidTransferDepositInfo.lua | 3 +- api/GetVoidTransferWithdrawalInfo.lua | 3 +- api/GetVoidUnlockCost.lua | 3 +- api/GetWarGameQueueStatus.lua | 3 +- api/GetWarGameTypeInfo.lua | 3 +- api/GetWatchedFactionInfo.lua | 28 +++--- api/GetWeaponEnchantInfo.lua | 14 +-- api/GetWhoInfo.lua | 24 ++--- api/GetWorldElapsedTime.lua | 3 +- api/GetWorldElapsedTimers.lua | 3 +- api/GetWorldLocFromMapPos.lua | 3 +- api/GetWorldMapTransformInfo.lua | 3 +- api/GetWorldMapTransforms.lua | 3 +- api/GetWorldPVPQueueStatus.lua | 16 ++-- api/GetWorldStateUIInfo.lua | 32 +++---- api/GetXPExhaustion.lua | 4 +- api/GetZonePVPInfo.lua | 22 ++--- api/GetZoneText.lua | 4 +- api/GiveMasterLoot.lua | 6 +- api/GlyphMatchesSocket.lua | 6 +- api/GrantLevel.lua | 4 +- api/GuildControlAddRank.lua | 4 +- api/GuildControlDelRank.lua | 4 +- api/GuildControlGetAllowedShifts.lua | 3 +- api/GuildControlGetNumRanks.lua | 4 +- api/GuildControlGetRankFlags.lua | 4 +- api/GuildControlGetRankName.lua | 6 +- api/GuildControlSaveRank.lua | 4 +- api/GuildControlSetRank.lua | 4 +- api/GuildControlShiftRankDown.lua | 3 +- api/GuildControlShiftRankUp.lua | 3 +- api/GuildDemote.lua | 4 +- api/GuildDisband.lua | 2 +- api/GuildInfo.lua | 2 +- api/GuildInvite.lua | 4 +- api/GuildLeave.lua | 2 +- api/GuildMasterAbsent.lua | 3 +- api/GuildNewsSetSticky.lua | 3 +- api/GuildNewsSort.lua | 3 +- api/GuildPromote.lua | 4 +- api/GuildRoster.lua | 2 +- api/GuildRosterSendSoR.lua | 3 +- api/GuildRosterSetOfficerNote.lua | 6 +- api/GuildRosterSetPublicNote.lua | 6 +- api/GuildSetLeader.lua | 4 +- api/GuildSetMOTD.lua | 4 +- api/GuildUninvite.lua | 4 +- api/HasAPEffectsSpellPower.lua | 3 +- api/HasAction.lua | 6 +- api/HasBonusActionBar.lua | 3 +- api/HasCompletedAnyAchievement.lua | 4 +- api/HasDebugZoneMap.lua | 3 +- api/HasDraenorZoneAbility.lua | 3 +- api/HasExtraActionBar.lua | 3 +- api/HasFullControl.lua | 4 +- api/HasInspectHonorData.lua | 4 +- api/HasKey.lua | 4 +- api/HasLFGRestrictions.lua | 3 +- api/HasNewMail.lua | 4 +- api/HasOverrideActionBar.lua | 3 +- api/HasPetSpells.lua | 10 +-- api/HasPetUI.lua | 6 +- api/HasSPEffectsAttackPower.lua | 3 +- api/HasSoulstone.lua | 4 +- api/HasTempShapeshiftActionBar.lua | 3 +- api/HasVehicleActionBar.lua | 3 +- api/HasWandEquipped.lua | 4 +- api/HaveQuestData.lua | 3 +- api/HearthAndResurrectFromArea.lua | 2 +- api/HideRepairCursor.lua | 2 +- api/InActiveBattlefield.lua | 3 +- api/InCinematic.lua | 4 +- api/InCombatLockdown.lua | 4 +- api/InGuildParty.lua | 10 +-- api/InRepairMode.lua | 4 +- api/InboxItemCanDelete.lua | 6 +- api/InitWorldMapPing.lua | 2 +- api/InitiateRolePoll.lua | 4 +- api/InitiateTrade.lua | 6 +- api/InteractUnit.lua | 4 +- api/InterfaceOptionsFrame_OpenToCategory.lua | 6 +- api/InterfaceOptions_AddCategory.lua | 4 +- api/InviteUnit.lua | 4 +- api/IsAchievementEligible.lua | 3 +- api/IsActionInRange.lua | 8 +- api/IsActiveBattlefieldArena.lua | 6 +- api/IsActiveQuestLegendary.lua | 3 +- api/IsActiveQuestTrivial.lua | 6 +- api/IsAddOnLoadOnDemand.lua | 8 +- api/IsAddOnLoaded.lua | 8 +- api/IsAddonMessagePrefixRegistered.lua | 6 +- api/IsAddonVersionCheckEnabled.lua | 3 +- api/IsAltKeyDown.lua | 4 +- api/IsArenaSkirmish.lua | 3 +- api/IsArenaTeamCaptain.lua | 6 +- api/IsArtifactCompletionHistoryAvailable.lua | 3 +- api/IsAtStableMaster.lua | 4 +- api/IsAttackAction.lua | 6 +- api/IsAttackSpell.lua | 14 +-- api/IsAuctionSortReversed.lua | 16 ++-- api/IsAutoRepeatAction.lua | 6 +- api/IsAutoRepeatSpell.lua | 6 +- api/IsAvailableQuestTrivial.lua | 6 +- api/IsBNLogin.lua | 3 +- api/IsBagSlotFlagEnabledOnOtherBags.lua | 3 +- api/IsBagSlotFlagEnabledOnOtherBankBags.lua | 3 +- api/IsBarberShopStyleValid.lua | 3 +- api/IsBattlePayItem.lua | 3 +- api/IsBlizzCon.lua | 3 +- api/IsBreadcrumbQuest.lua | 3 +- api/IsCemeterySelectionAvailable.lua | 3 +- api/IsCharacterNewlyBoosted.lua | 3 +- api/IsChatAFK.lua | 4 +- api/IsChatDND.lua | 4 +- api/IsConsumableAction.lua | 6 +- api/IsConsumableItem.lua | 10 +-- api/IsConsumableSpell.lua | 14 +-- api/IsContainerFiltered.lua | 3 +- api/IsControlKeyDown.lua | 4 +- api/IsCurrentAction.lua | 6 +- api/IsCurrentItem.lua | 10 +-- api/IsCurrentQuestFailed.lua | 4 +- api/IsCurrentSpell.lua | 14 +-- api/IsDebugBuild.lua | 3 +- api/IsDesaturateSupported.lua | 4 +- api/IsDisplayChannelModerator.lua | 4 +- api/IsDisplayChannelOwner.lua | 4 +- api/IsDressableItem.lua | 10 +-- api/IsEncounterInProgress.lua | 3 +- api/IsEquippableItem.lua | 10 +-- api/IsEquippedAction.lua | 6 +- api/IsEquippedItem.lua | 10 +-- api/IsEquippedItemType.lua | 6 +- api/IsEuropeanNumbers.lua | 3 +- api/IsEveryoneAssistant.lua | 3 +- api/IsExpansionTrial.lua | 3 +- api/IsFactionInactive.lua | 6 +- api/IsFalling.lua | 4 +- api/IsFishingLoot.lua | 4 +- api/IsFlyableArea.lua | 4 +- api/IsFlying.lua | 4 +- api/IsGMClient.lua | 3 +- api/IsGlyphFlagSet.lua | 3 +- api/IsGuildLeader.lua | 4 +- api/IsGuildRankAssignmentAllowed.lua | 3 +- api/IsHarmfulItem.lua | 10 +-- api/IsHarmfulSpell.lua | 14 +-- api/IsHelpfulItem.lua | 10 +-- api/IsHelpfulSpell.lua | 14 +-- api/IsIgnored.lua | 8 +- api/IsIgnoredOrMuted.lua | 6 +- api/IsInActiveWorldPVP.lua | 3 +- api/IsInArenaTeam.lua | 4 +- api/IsInGroup.lua | 10 +-- api/IsInGuild.lua | 4 +- api/IsInInstance.lua | 16 ++-- api/IsInLFGDungeon.lua | 3 +- api/IsInRaid.lua | 4 +- api/IsInScenarioGroup.lua | 3 +- api/IsIndoors.lua | 4 +- api/IsInventoryItemLocked.lua | 6 +- api/IsInventoryItemProfessionBag.lua | 3 +- api/IsItemAction.lua | 3 +- api/IsItemInRange.lua | 12 +-- api/IsLFGComplete.lua | 3 +- api/IsLFGDungeonJoinable.lua | 3 +- api/IsLeftAltKeyDown.lua | 4 +- api/IsLeftControlKeyDown.lua | 4 +- api/IsLeftShiftKeyDown.lua | 4 +- api/IsLegacyDifficulty.lua | 3 +- api/IsLinuxClient.lua | 4 +- api/IsLoggedIn.lua | 4 +- api/IsMacClient.lua | 4 +- api/IsMapGarrisonMap.lua | 3 +- api/IsMasterLooter.lua | 3 +- api/IsModifiedClick.lua | 6 +- api/IsModifierKeyDown.lua | 4 +- api/IsMounted.lua | 4 +- api/IsMouselooking.lua | 4 +- api/IsMovieLocal.lua | 3 +- api/IsMoviePlayable.lua | 3 +- api/IsMuted.lua | 8 +- api/IsOnGlueScreen.lua | 3 +- api/IsOnTournamentRealm.lua | 2 +- api/IsOutOfBounds.lua | 4 +- api/IsOutdoors.lua | 4 +- api/IsPVPTimerRunning.lua | 4 +- api/IsPartyLFG.lua | 3 +- api/IsPassiveSpell.lua | 14 +-- api/IsPetActive.lua | 3 +- api/IsPetAttackAction.lua | 6 +- api/IsPetAttackActive.lua | 4 +- api/IsPlayerInMicroDungeon.lua | 3 +- api/IsPlayerInWorld.lua | 3 +- api/IsPlayerMoving.lua | 3 +- api/IsPlayerNeutral.lua | 3 +- api/IsPlayerSpell.lua | 6 +- api/IsPossessBarVisible.lua | 4 +- api/IsQuestCompletable.lua | 4 +- api/IsQuestComplete.lua | 3 +- api/IsQuestFlaggedCompleted.lua | 6 +- api/IsQuestHardWatched.lua | 3 +- api/IsQuestLogSpecialItemInRange.lua | 6 +- api/IsQuestSequenced.lua | 3 +- api/IsQuestTask.lua | 3 +- api/IsQuestWatched.lua | 6 +- api/IsRaidMarkerActive.lua | 3 +- api/IsRatedBattleground.lua | 4 +- api/IsRatedMap.lua | 3 +- api/IsReagentBankUnlocked.lua | 4 +- api/IsReferAFriendLinked.lua | 6 +- api/IsResting.lua | 4 +- api/IsRestrictedAccount.lua | 3 +- api/IsRightAltKeyDown.lua | 4 +- api/IsRightControlKeyDown.lua | 4 +- api/IsRightShiftKeyDown.lua | 4 +- api/IsSelectedSpellBookItem.lua | 3 +- api/IsShiftKeyDown.lua | 4 +- api/IsSilenced.lua | 8 +- api/IsSpellClassOrSpec.lua | 3 +- api/IsSpellInRange.lua | 16 ++-- api/IsSpellKnown.lua | 8 +- api/IsSpellOverlayed.lua | 6 +- api/IsStackableAction.lua | 6 +- api/IsStealthed.lua | 4 +- api/IsStereoVideoAvailable.lua | 4 +- api/IsStoryQuest.lua | 3 +- api/IsSubZonePVPPOI.lua | 4 +- api/IsSwimming.lua | 4 +- api/IsTalentSpell.lua | 12 +-- api/IsTestBuild.lua | 3 +- api/IsThreatWarningEnabled.lua | 4 +- api/IsTitleKnown.lua | 6 +- api/IsTrackedAchievement.lua | 6 +- api/IsTrackingBattlePets.lua | 3 +- api/IsTradeSkillGuild.lua | 3 +- api/IsTradeSkillLinked.lua | 6 +- api/IsTradeSkillReady.lua | 3 +- api/IsTradeSkillRepeating.lua | 3 +- api/IsTradeskillTrainer.lua | 4 +- api/IsTrialAccount.lua | 3 +- api/IsTutorialFlagged.lua | 3 +- api/IsUnitOnQuest.lua | 10 +-- api/IsUnitOnQuestByQuestID.lua | 3 +- api/IsUsableAction.lua | 8 +- api/IsUsableItem.lua | 12 +-- api/IsUsableSpell.lua | 16 ++-- api/IsUsingVehicleControls.lua | 3 +- api/IsVehicleAimAngleAdjustable.lua | 4 +- api/IsVehicleAimPowerAdjustable.lua | 3 +- api/IsVoiceChatAllowed.lua | 4 +- api/IsVoiceChatAllowedByServer.lua | 2 +- api/IsVoiceChatEnabled.lua | 4 +- api/IsVoidStorageReady.lua | 4 +- api/IsWargame.lua | 3 +- api/IsWindowsClient.lua | 4 +- api/IsXPUserDisabled.lua | 4 +- api/ItemAddedToArtifact.lua | 3 +- api/ItemHasRange.lua | 10 +-- api/ItemTextGetCreator.lua | 4 +- api/ItemTextGetItem.lua | 4 +- api/ItemTextGetMaterial.lua | 14 +-- api/ItemTextGetPage.lua | 4 +- api/ItemTextGetText.lua | 4 +- api/ItemTextHasNextPage.lua | 4 +- api/ItemTextNextPage.lua | 2 +- api/ItemTextPrevPage.lua | 2 +- api/JoinArena.lua | 3 +- api/JoinBattlefield.lua | 6 +- api/JoinChannelByName.lua | 3 +- api/JoinLFG.lua | 2 +- api/JoinPermanentChannel.lua | 8 +- api/JoinRatedBattlefield.lua | 3 +- api/JoinSingleLFG.lua | 3 +- api/JoinSkirmish.lua | 3 +- api/JoinTemporaryChannel.lua | 4 +- api/JumpOrAscendStart.lua | 2 +- api/KBArticle_GetData.lua | 16 ++-- api/KBArticle_IsLoaded.lua | 4 +- api/KBQuery_BeginLoading.lua | 12 +-- api/KBQuery_GetArticleHeaderCount.lua | 4 +- api/KBQuery_GetArticleHeaderData.lua | 12 +-- api/KBQuery_GetTotalArticleCount.lua | 4 +- api/KBQuery_IsLoaded.lua | 4 +- api/KBSetup_BeginLoading.lua | 6 +- api/KBSetup_GetArticleHeaderCount.lua | 4 +- api/KBSetup_GetArticleHeaderData.lua | 12 +-- api/KBSetup_GetCategoryCount.lua | 4 +- api/KBSetup_GetCategoryData.lua | 8 +- api/KBSetup_GetLanguageCount.lua | 4 +- api/KBSetup_GetLanguageData.lua | 8 +- api/KBSetup_GetSubCategoryCount.lua | 6 +- api/KBSetup_GetSubCategoryData.lua | 10 +-- api/KBSetup_GetTotalArticleCount.lua | 4 +- api/KBSetup_IsLoaded.lua | 4 +- api/KBSystem_GetMOTD.lua | 4 +- api/KBSystem_GetServerNotice.lua | 4 +- api/KBSystem_GetServerStatus.lua | 4 +- api/LFGTeleport.lua | 4 +- api/LearnTalents.lua | 3 +- api/LeaveBattlefield.lua | 2 +- api/LeaveChannelByName.lua | 4 +- api/LeaveLFG.lua | 2 +- api/LeaveParty.lua | 2 +- api/LeaveSingleLFG.lua | 3 +- api/ListChannelByName.lua | 4 +- api/ListChannels.lua | 2 +- api/LoadAddOn.lua | 42 ++++----- api/LoggingChat.lua | 6 +- api/LoggingCombat.lua | 6 +- api/Logout.lua | 2 +- api/LootSlot.lua | 4 +- api/LootSlotHasItem.lua | 3 +- api/MacOptions_AreOSShortcutsDisabled.lua | 3 +- api/MacOptions_GetGameBundleName.lua | 3 +- api/MacOptions_HasNewStyleUniversalAccess.lua | 3 +- api/MacOptions_IsUniversalAccessEnabled.lua | 3 +- api/MacOptions_OpenUniversalAccess.lua | 3 +- api/MacOptions_SetOSShortcutsDisabled.lua | 3 +- api/ModifyEquipmentSet.lua | 8 +- api/MouselookStart.lua | 2 +- api/MouselookStop.lua | 2 +- api/MoveAndSteerStart.lua | 2 +- api/MoveAndSteerStop.lua | 2 +- api/MoveBackwardStart.lua | 2 +- api/MoveBackwardStop.lua | 2 +- api/MoveForwardStart.lua | 2 +- api/MoveForwardStop.lua | 2 +- api/MoveViewDownStart.lua | 2 +- api/MoveViewDownStop.lua | 2 +- api/MoveViewInStart.lua | 2 +- api/MoveViewInStop.lua | 2 +- api/MoveViewLeftStart.lua | 2 +- api/MoveViewLeftStop.lua | 2 +- api/MoveViewOutStart.lua | 2 +- api/MoveViewOutStop.lua | 2 +- api/MoveViewRightStart.lua | 2 +- api/MoveViewRightStop.lua | 2 +- api/MoveViewUpStart.lua | 2 +- api/MoveViewUpStop.lua | 2 +- api/MovieRecording_Cancel.lua | 2 +- api/MovieRecording_DataRate.lua | 10 +-- api/MovieRecording_DeleteMovie.lua | 4 +- api/MovieRecording_GetAspectRatio.lua | 4 +- api/MovieRecording_GetFullWidth.lua | 3 +- api/MovieRecording_GetHalfWidth.lua | 3 +- api/MovieRecording_GetMovieFullPath.lua | 4 +- api/MovieRecording_GetProgress.lua | 6 +- api/MovieRecording_GetQuarterWidth.lua | 3 +- api/MovieRecording_GetSelectedWidth.lua | 3 +- api/MovieRecording_GetTime.lua | 4 +- api/MovieRecording_GetViewportWidth.lua | 4 +- api/MovieRecording_GetWidthAt.lua | 3 +- api/MovieRecording_GetWidthCount.lua | 3 +- api/MovieRecording_IsCompressing.lua | 4 +- ...ieRecording_IsCursorRecordingSupported.lua | 4 +- api/MovieRecording_IsRecording.lua | 4 +- api/MovieRecording_IsSupported.lua | 4 +- api/MovieRecording_LoadSelectedWidth.lua | 3 +- api/MovieRecording_MaxLength.lua | 10 +-- api/MovieRecording_QueueMovieToCompress.lua | 4 +- api/MovieRecording_SaveSelectedWidth.lua | 3 +- ...MovieRecording_SearchUncompressedMovie.lua | 4 +- api/MovieRecording_SetSelectedWidth.lua | 3 +- api/MovieRecording_Toggle.lua | 2 +- api/MovieRecording_ToggleGUI.lua | 2 +- api/MusicPlayer_BackTrack.lua | 2 +- api/MusicPlayer_NextTrack.lua | 2 +- api/MusicPlayer_PlayPause.lua | 2 +- api/MusicPlayer_VolumeDown.lua | 2 +- api/MusicPlayer_VolumeUp.lua | 2 +- api/NeutralPlayerSelectFaction.lua | 3 +- api/NewGMTicket.lua | 6 +- api/NextView.lua | 2 +- api/NoPlayTime.lua | 4 +- api/NotWhileDeadError.lua | 2 +- api/NotifyInspect.lua | 4 +- api/NumTaxiNodes.lua | 4 +- api/OfferPetition.lua | 2 +- api/OffhandHasWeapon.lua | 4 +- api/OpenCalendar.lua | 2 +- api/OpenTrainer.lua | 3 +- api/OpeningCinematic.lua | 2 +- api/PartialPlayTime.lua | 4 +- api/PartyLFGStartBackfill.lua | 3 +- api/PetAbandon.lua | 2 +- api/PetAggressiveMode.lua | 2 +- api/PetAssistMode.lua | 3 +- api/PetAttack.lua | 6 +- api/PetCanBeAbandoned.lua | 4 +- api/PetCanBeDismissed.lua | 4 +- api/PetCanBeRenamed.lua | 4 +- api/PetDefensiveMode.lua | 2 +- api/PetDismiss.lua | 2 +- api/PetFollow.lua | 2 +- api/PetHasActionBar.lua | 4 +- api/PetHasSpellbook.lua | 3 +- api/PetMoveTo.lua | 2 +- api/PetPassiveMode.lua | 2 +- api/PetRename.lua | 14 +-- api/PetStopAttack.lua | 2 +- api/PetUsesPetFrame.lua | 3 +- api/PetWait.lua | 2 +- api/PickupAction.lua | 4 +- api/PickupBagFromSlot.lua | 4 +- api/PickupCompanion.lua | 10 +-- api/PickupContainerItem.lua | 6 +- api/PickupCurrency.lua | 3 +- api/PickupEquipmentSet.lua | 4 +- api/PickupEquipmentSetByName.lua | 4 +- api/PickupGuildBankItem.lua | 6 +- api/PickupGuildBankMoney.lua | 4 +- api/PickupInventoryItem.lua | 4 +- api/PickupItem.lua | 8 +- api/PickupMacro.lua | 6 +- api/PickupMerchantItem.lua | 4 +- api/PickupPetAction.lua | 4 +- api/PickupPetSpell.lua | 3 +- api/PickupPlayerMoney.lua | 4 +- api/PickupSpell.lua | 4 +- api/PickupSpellBookItem.lua | 3 +- api/PickupTalent.lua | 3 +- api/PickupTradeMoney.lua | 4 +- api/PitchDownStart.lua | 2 +- api/PitchDownStop.lua | 2 +- api/PitchUpStart.lua | 2 +- api/PitchUpStop.lua | 2 +- api/PlaceAction.lua | 4 +- api/PlaceAuctionBid.lua | 14 +-- api/PlaceGlyphInSocket.lua | 4 +- api/PlaceRaidMarker.lua | 3 +- api/PlayAutoAcceptQuestSound.lua | 3 +- api/PlayMusic.lua | 4 +- api/PlaySound.lua | 6 +- api/PlaySoundFile.lua | 6 +- api/PlaySoundKitID.lua | 3 +- api/PlayerCanTeleport.lua | 4 +- api/PlayerHasHearthstone.lua | 4 +- api/PlayerHasToy.lua | 3 +- api/PlayerIsPVPInactive.lua | 8 +- api/PortGraveyard.lua | 3 +- api/PreloadMovie.lua | 3 +- api/PrevView.lua | 2 +- api/ProcessMapClick.lua | 6 +- api/ProcessQuestLogRewardFactions.lua | 3 +- api/PromoteToAssistant.lua | 4 +- api/PromoteToLeader.lua | 8 +- api/PurchaseSlot.lua | 2 +- api/PutItemInBackpack.lua | 4 +- api/PutItemInBag.lua | 6 +- api/QueryAuctionItems.lua | 34 ++++--- api/QueryGuildBankLog.lua | 4 +- api/QueryGuildBankTab.lua | 4 +- api/QueryGuildBankText.lua | 4 +- api/QueryGuildEventLog.lua | 2 +- api/QueryGuildMembersForRecipe.lua | 3 +- api/QueryGuildNews.lua | 3 +- api/QueryGuildRecipes.lua | 3 +- api/QueryWorldCountdownTimer.lua | 3 +- api/QuestChooseRewardError.lua | 2 +- api/QuestFlagsPVP.lua | 4 +- api/QuestGetAutoAccept.lua | 3 +- api/QuestGetAutoLaunched.lua | 3 +- api/QuestHasPOIInfo.lua | 3 +- api/QuestIsDaily.lua | 3 +- api/QuestIsFromAreaTrigger.lua | 3 +- api/QuestIsWeekly.lua | 3 +- api/QuestLogPushQuest.lua | 4 +- api/QuestLogShouldShowPortrait.lua | 3 +- api/QuestMapUpdateAllQuests.lua | 3 +- api/QuestPOIGetIconInfo.lua | 12 +-- api/QuestPOIGetQuestIDByIndex.lua | 3 +- api/QuestPOIGetQuestIDByVisibleIndex.lua | 3 +- api/QuestPOIGetSecondaryLocations.lua | 3 +- api/QuestPOIUpdateIcons.lua | 3 +- api/Quit.lua | 2 +- api/RaidProfileExists.lua | 3 +- api/RaidProfileHasUnsavedChanges.lua | 3 +- api/RandomRoll.lua | 6 +- api/ReagentBankButtonIDToInvSlotID.lua | 3 +- api/RefreshLFGList.lua | 3 +- api/RefreshWorldMap.lua | 3 +- api/RegisterAddonMessagePrefix.lua | 6 +- api/RegisterCVar.lua | 6 +- api/RejectProposal.lua | 2 +- api/ReloadUI.lua | 2 +- api/RemoveAutoQuestPopUp.lua | 4 +- api/RemoveChatWindowChannel.lua | 6 +- api/RemoveChatWindowMessages.lua | 6 +- api/RemoveFriend.lua | 4 +- api/RemoveGlyphFromSocket.lua | 4 +- api/RemoveItemFromArtifact.lua | 3 +- api/RemoveQuestWatch.lua | 4 +- api/RemoveTalent.lua | 3 +- api/RemoveTrackedAchievement.lua | 4 +- api/RenamePetition.lua | 4 +- api/RepairAllItems.lua | 4 +- api/ReplaceEnchant.lua | 2 +- api/ReplaceGuildMaster.lua | 3 +- api/ReplaceTradeEnchant.lua | 2 +- api/RepopMe.lua | 2 +- api/ReportBug.lua | 3 +- api/ReportPlayer.lua | 10 +-- api/ReportPlayerIsPVPAFK.lua | 6 +- api/ReportSuggestion.lua | 3 +- api/RequestArtifactCompletionHistory.lua | 2 +- api/RequestBattlefieldScoreData.lua | 2 +- api/RequestBattlegroundInstanceInfo.lua | 4 +- api/RequestChallengeModeLeaders.lua | 3 +- api/RequestChallengeModeMapInfo.lua | 3 +- api/RequestChallengeModeRewards.lua | 3 +- api/RequestGuildApplicantsList.lua | 3 +- api/RequestGuildChallengeInfo.lua | 3 +- api/RequestGuildMembership.lua | 3 +- api/RequestGuildMembershipList.lua | 3 +- api/RequestGuildPartyState.lua | 3 +- api/RequestGuildRecruitmentSettings.lua | 3 +- api/RequestGuildRewards.lua | 3 +- api/RequestInspectHonorData.lua | 2 +- api/RequestLFDPartyLockInfo.lua | 3 +- api/RequestLFDPlayerLockInfo.lua | 2 +- api/RequestPVPOptionsEnabled.lua | 3 +- api/RequestPVPRewards.lua | 2 +- api/RequestRaidInfo.lua | 2 +- api/RequestRandomBattlegroundInstanceInfo.lua | 3 +- api/RequestRatedInfo.lua | 3 +- api/RequestRecruitingGuildsList.lua | 3 +- api/RequestTimePlayed.lua | 2 +- api/RequeueSkirmish.lua | 3 +- api/ResetAddOns.lua | 3 +- api/ResetCPUUsage.lua | 2 +- api/ResetChallengeMode.lua | 3 +- api/ResetChatColors.lua | 2 +- api/ResetChatWindows.lua | 2 +- api/ResetCursor.lua | 2 +- api/ResetDisabledAddOns.lua | 2 +- api/ResetInstances.lua | 2 +- api/ResetPerformanceValues.lua | 3 +- api/ResetSetMerchantFilter.lua | 2 +- api/ResetTutorials.lua | 2 +- api/ResetView.lua | 4 +- api/ResistancePercent.lua | 8 +- api/RespondMailLockSendItem.lua | 3 +- api/RestartGx.lua | 2 +- api/RestoreRaidProfileFromCopy.lua | 3 +- api/ResurrectGetOfferer.lua | 4 +- api/ResurrectHasSickness.lua | 4 +- api/ResurrectHasTimer.lua | 4 +- api/RetrieveCorpse.lua | 2 +- api/ReturnInboxItem.lua | 4 +- api/RunBinding.lua | 4 +- api/RunScript.lua | 4 +- api/SaveAddOns.lua | 3 +- api/SaveEquipmentSet.lua | 6 +- api/SaveRaidProfileCopy.lua | 3 +- api/SaveView.lua | 4 +- api/Screenshot.lua | 2 +- api/SearchGuildRecipes.lua | 3 +- api/SearchLFGGetEncounterResults.lua | 3 +- api/SearchLFGGetJoinedID.lua | 3 +- api/SearchLFGGetNumResults.lua | 3 +- api/SearchLFGGetPartyResults.lua | 3 +- api/SearchLFGGetResults.lua | 34 +++---- api/SearchLFGJoin.lua | 3 +- api/SearchLFGLeave.lua | 3 +- api/SearchLFGSort.lua | 3 +- api/SecondsToTime.lua | 12 +-- api/SecureCmdOptionParse.lua | 8 +- api/SelectActiveQuest.lua | 4 +- api/SelectAvailableQuest.lua | 4 +- api/SelectGossipActiveQuest.lua | 4 +- api/SelectGossipAvailableQuest.lua | 4 +- api/SelectGossipOption.lua | 8 +- api/SelectPackage.lua | 3 +- api/SelectQuestLogEntry.lua | 4 +- api/SelectStationery.lua | 4 +- api/SelectTradeSkill.lua | 4 +- api/SelectTrainerService.lua | 4 +- api/SelectedRealmName.lua | 3 +- api/SendAddonMessage.lua | 37 +++++--- api/SendChatMessage.lua | 30 +++---- api/SendMail.lua | 8 +- api/SendQuestChoiceResponse.lua | 3 +- api/SendWho.lua | 4 +- api/SetAbandonQuest.lua | 4 +- api/SetAchievementComparisonPortrait.lua | 3 +- api/SetAchievementComparisonUnit.lua | 6 +- api/SetActionBarToggles.lua | 12 +-- api/SetActionUIButton.lua | 3 +- api/SetActiveSpecGroup.lua | 3 +- api/SetActiveVoiceChannel.lua | 4 +- api/SetActiveVoiceChannelBySessionID.lua | 4 +- api/SetAddonVersionCheck.lua | 3 +- api/SetAllowLowLevelRaid.lua | 4 +- api/SetAuctionsTabShowing.lua | 3 +- api/SetAutoDeclineGuildInvites.lua | 3 +- api/SetBackpackAutosortDisabled.lua | 3 +- api/SetBagPortraitTexture.lua | 6 +- api/SetBagSlotFlag.lua | 3 +- api/SetBankAutosortDisabled.lua | 3 +- api/SetBankBagSlotFlag.lua | 3 +- api/SetBarSlotFromIntro.lua | 3 +- api/SetBarberShopAlternateFormFrame.lua | 3 +- api/SetBinding.lua | 8 +- api/SetBindingClick.lua | 10 +-- api/SetBindingItem.lua | 12 +-- api/SetBindingMacro.lua | 10 +-- api/SetBindingSpell.lua | 8 +- api/SetBlacklistMap.lua | 3 +- api/SetCVar.lua | 8 +- api/SetCVarBitfield.lua | 3 +- api/SetCemeteryPreference.lua | 3 +- api/SetChannelOwner.lua | 6 +- api/SetChannelPassword.lua | 6 +- api/SetChatColorNameByClass.lua | 6 +- api/SetChatWindowAlpha.lua | 6 +- api/SetChatWindowColor.lua | 10 +-- api/SetChatWindowDocked.lua | 6 +- api/SetChatWindowLocked.lua | 6 +- api/SetChatWindowName.lua | 6 +- api/SetChatWindowSavedDimensions.lua | 3 +- api/SetChatWindowSavedPosition.lua | 3 +- api/SetChatWindowShown.lua | 6 +- api/SetChatWindowSize.lua | 6 +- api/SetChatWindowUninteractable.lua | 6 +- api/SetConsoleKey.lua | 3 +- api/SetCurrencyBackpack.lua | 6 +- api/SetCurrencyUnused.lua | 6 +- api/SetCurrentGraphicsSetting.lua | 3 +- api/SetCurrentGuildBankTab.lua | 4 +- api/SetCurrentTitle.lua | 4 +- api/SetCursor.lua | 4 +- api/SetDefaultVideoOptions.lua | 3 +- api/SetDungeonMapLevel.lua | 4 +- api/SetEuropeanNumbers.lua | 4 +- api/SetEveryoneIsAssistant.lua | 3 +- api/SetFactionActive.lua | 4 +- api/SetFactionInactive.lua | 4 +- api/SetFocusedAchievement.lua | 3 +- api/SetFriendNotes.lua | 8 +- api/SetGamma.lua | 4 +- api/SetGlyphFilter.lua | 3 +- api/SetGlyphNameFilter.lua | 3 +- api/SetGuildApplicantSelection.lua | 3 +- api/SetGuildBankTabInfo.lua | 8 +- api/SetGuildBankTabItemWithdraw.lua | 3 +- api/SetGuildBankText.lua | 6 +- api/SetGuildBankWithdrawGoldLimit.lua | 3 +- api/SetGuildInfoText.lua | 4 +- api/SetGuildMemberRank.lua | 6 +- api/SetGuildNewsFilter.lua | 3 +- api/SetGuildRecruitmentComment.lua | 3 +- api/SetGuildRecruitmentSettings.lua | 3 +- api/SetGuildRosterSelection.lua | 4 +- api/SetGuildRosterShowOffline.lua | 4 +- api/SetGuildTradeSkillCategoryFilter.lua | 3 +- api/SetGuildTradeSkillItemNameFilter.lua | 3 +- api/SetInsertItemsLeftToRight.lua | 3 +- api/SetInventoryPortraitTexture.lua | 8 +- api/SetItemSearch.lua | 3 +- api/SetItemUpgradeFromCursorItem.lua | 2 +- api/SetLFGBonusFactionID.lua | 3 +- api/SetLFGBootVote.lua | 3 +- api/SetLFGComment.lua | 4 +- api/SetLFGDungeon.lua | 4 +- api/SetLFGDungeonEnabled.lua | 3 +- api/SetLFGHeaderCollapsed.lua | 3 +- api/SetLFGRoles.lua | 10 +-- api/SetLayoutMode.lua | 3 +- api/SetLegacyRaidDifficultyID.lua | 3 +- api/SetLookingForGuildComment.lua | 3 +- api/SetLookingForGuildSettings.lua | 3 +- api/SetLootMethod.lua | 16 ++-- api/SetLootPortrait.lua | 4 +- api/SetLootSpecialization.lua | 4 +- api/SetLootThreshold.lua | 4 +- api/SetMacroItem.lua | 10 +-- api/SetMacroSpell.lua | 10 +-- api/SetMapByID.lua | 4 +- api/SetMapToCurrentZone.lua | 2 +- api/SetMaxAnimFramerate.lua | 3 +- api/SetMerchantFilter.lua | 3 +- api/SetModifiedClick.lua | 6 +- api/SetMouselookOverrideBinding.lua | 10 +-- api/SetMultiCastSpell.lua | 6 +- api/SetNamePlateMotionType.lua | 3 +- api/SetOptOutOfLoot.lua | 4 +- api/SetOverrideBinding.lua | 10 +-- api/SetOverrideBindingClick.lua | 12 +-- api/SetOverrideBindingItem.lua | 14 +-- api/SetOverrideBindingMacro.lua | 12 +-- api/SetOverrideBindingSpell.lua | 10 +-- api/SetPVP.lua | 4 +- api/SetPVPRoles.lua | 3 +- api/SetPartyAssignment.lua | 14 +-- api/SetPendingReportPetTarget.lua | 3 +- api/SetPendingReportTarget.lua | 4 +- api/SetPetSlot.lua | 3 +- api/SetPetStablePaperdoll.lua | 4 +- api/SetPortraitTexture.lua | 6 +- api/SetPortraitToTexture.lua | 6 +- api/SetRaidDifficultyID.lua | 3 +- api/SetRaidProfileOption.lua | 3 +- api/SetRaidProfileSavedPosition.lua | 3 +- api/SetRaidSubgroup.lua | 6 +- api/SetRaidTargetProtected.lua | 3 +- api/SetRecruitingGuildSelection.lua | 3 +- api/SetSavedInstanceExtend.lua | 3 +- api/SetScreenResolution.lua | 4 +- api/SetSelectedArtifact.lua | 3 +- api/SetSelectedAuctionItem.lua | 12 +-- api/SetSelectedDisplayChannel.lua | 4 +- api/SetSelectedFaction.lua | 4 +- api/SetSelectedFriend.lua | 4 +- api/SetSelectedIgnore.lua | 4 +- api/SetSelectedMute.lua | 4 +- api/SetSelectedScreenResolutionIndex.lua | 3 +- api/SetSelectedWarGameType.lua | 3 +- api/SetSendMailCOD.lua | 4 +- api/SetSendMailMoney.lua | 6 +- api/SetSendMailShowing.lua | 4 +- api/SetSortBagsRightToLeft.lua | 3 +- api/SetSpecialization.lua | 3 +- api/SetSpellbookPetAction.lua | 3 +- api/SetSuperTrackedQuestID.lua | 3 +- api/SetTaxiBenchmarkMode.lua | 4 +- api/SetTaxiMap.lua | 4 +- api/SetTracking.lua | 6 +- api/SetTradeCurrency.lua | 3 +- api/SetTradeMoney.lua | 4 +- api/SetTradeSkillCategoryFilter.lua | 4 +- api/SetTradeSkillInvSlotFilter.lua | 8 +- api/SetTradeSkillItemLevelFilter.lua | 6 +- api/SetTradeSkillItemNameFilter.lua | 4 +- api/SetTradeSkillRepeatCount.lua | 3 +- api/SetTrainerServiceTypeFilter.lua | 14 +-- api/SetUIVisibility.lua | 4 +- api/SetView.lua | 4 +- api/SetWatchedFactionIndex.lua | 4 +- api/SetWhoToUI.lua | 4 +- api/SetupFullscreenScale.lua | 4 +- api/ShouldHideTalentsTab.lua | 3 +- api/ShowAccountAchievements.lua | 4 +- api/ShowBuybackSellCursor.lua | 4 +- api/ShowCloak.lua | 4 +- api/ShowContainerSellCursor.lua | 6 +- api/ShowFriends.lua | 2 +- api/ShowHelm.lua | 4 +- api/ShowInventorySellCursor.lua | 4 +- api/ShowMerchantSellCursor.lua | 4 +- api/ShowQuestComplete.lua | 3 +- api/ShowQuestOffer.lua | 3 +- api/ShowRepairCursor.lua | 2 +- api/ShowingCloak.lua | 4 +- api/ShowingHelm.lua | 4 +- api/SignPetition.lua | 2 +- api/SitStandOrDescendStart.lua | 2 +- api/SocketContainerItem.lua | 6 +- api/SocketInventoryItem.lua | 4 +- api/SocketItemToArtifact.lua | 3 +- api/SolveArtifact.lua | 2 +- api/SortAuctionApplySort.lua | 10 +-- api/SortAuctionClearSort.lua | 10 +-- api/SortAuctionItems.lua | 49 ++++++---- api/SortAuctionSetSort.lua | 52 +++++++---- api/SortBags.lua | 3 +- api/SortBankBags.lua | 2 +- api/SortBattlefieldScoreData.lua | 55 ++++++++---- api/SortGuildRoster.lua | 18 ++-- api/SortGuildTradeSkill.lua | 3 +- api/SortQuestWatches.lua | 4 +- api/SortReagentBankBags.lua | 2 +- api/SortWho.lua | 16 ++-- ...d_ChatSystem_GetInputDriverNameByIndex.lua | 4 +- api/Sound_ChatSystem_GetNumInputDrivers.lua | 2 +- api/Sound_ChatSystem_GetNumOutputDrivers.lua | 2 +- ..._ChatSystem_GetOutputDriverNameByIndex.lua | 4 +- ...d_GameSystem_GetInputDriverNameByIndex.lua | 4 +- api/Sound_GameSystem_GetNumInputDrivers.lua | 2 +- api/Sound_GameSystem_GetNumOutputDrivers.lua | 2 +- ..._GameSystem_GetOutputDriverNameByIndex.lua | 4 +- api/Sound_GameSystem_RestartSoundSystem.lua | 2 +- api/SpellCanTargetGlyph.lua | 4 +- api/SpellCanTargetItem.lua | 4 +- api/SpellCanTargetUnit.lua | 8 +- api/SpellCancelQueuedSpell.lua | 3 +- api/SpellGetVisibilityInfo.lua | 3 +- api/SpellHasRange.lua | 14 +-- api/SpellIsAlwaysShown.lua | 3 +- api/SpellIsSelfBuff.lua | 6 +- api/SpellIsTargeting.lua | 4 +- api/SpellStopCasting.lua | 2 +- api/SpellStopTargeting.lua | 2 +- api/SpellTargetItem.lua | 8 +- api/SpellTargetUnit.lua | 6 +- api/SplitContainerItem.lua | 8 +- api/SplitGuildBankItem.lua | 8 +- api/StartAttack.lua | 6 +- api/StartDuel.lua | 8 +- api/StartSpectatorWarGame.lua | 3 +- api/StartWarGame.lua | 3 +- api/StartWarGameByName.lua | 3 +- api/StopAttack.lua | 2 +- api/StopCinematic.lua | 2 +- api/StopMacro.lua | 2 +- api/StopMusic.lua | 2 +- api/StopSound.lua | 4 +- api/StopTradeSkillRepeat.lua | 2 +- api/Stopwatch_Clear.lua | 3 +- api/Stopwatch_FinishCountdown.lua | 3 +- api/Stopwatch_IsPlaying.lua | 4 +- api/Stopwatch_Pause.lua | 3 +- api/Stopwatch_Play.lua | 3 +- api/Stopwatch_StartCountdown.lua | 8 +- api/Stopwatch_Toggle.lua | 2 +- api/StrafeLeftStart.lua | 2 +- api/StrafeLeftStop.lua | 2 +- api/StrafeRightStart.lua | 2 +- api/StrafeRightStop.lua | 2 +- api/Stuck.lua | 2 +- api/SubmitRequiredGuildRename.lua | 3 +- api/SummonFriend.lua | 6 +- api/SummonRandomCritter.lua | 2 +- api/SwapRaidSubgroup.lua | 6 +- api/TakeInboxItem.lua | 6 +- api/TakeInboxMoney.lua | 4 +- api/TakeInboxTextItem.lua | 4 +- api/TakeTaxiNode.lua | 4 +- api/TargetDirectionEnemy.lua | 3 +- api/TargetDirectionFinished.lua | 3 +- api/TargetDirectionFriend.lua | 3 +- api/TargetLastEnemy.lua | 2 +- api/TargetLastFriend.lua | 2 +- api/TargetLastTarget.lua | 2 +- api/TargetNearest.lua | 4 +- api/TargetNearestEnemy.lua | 4 +- api/TargetNearestEnemyPlayer.lua | 4 +- api/TargetNearestFriend.lua | 4 +- api/TargetNearestFriendPlayer.lua | 4 +- api/TargetNearestPartyMember.lua | 4 +- api/TargetNearestRaidMember.lua | 4 +- api/TargetUnit.lua | 8 +- api/TaxiGetDestX.lua | 8 +- api/TaxiGetDestY.lua | 8 +- api/TaxiGetNodeSlot.lua | 10 +-- api/TaxiGetSrcX.lua | 8 +- api/TaxiGetSrcY.lua | 8 +- api/TaxiNodeCost.lua | 6 +- api/TaxiNodeGetType.lua | 14 +-- api/TaxiNodeName.lua | 6 +- api/TaxiNodePosition.lua | 8 +- api/TaxiNodeSetCurrent.lua | 4 +- api/TeleportToDebugObject.lua | 3 +- api/TimeoutResurrect.lua | 3 +- api/ToggleAutoRun.lua | 2 +- api/ToggleCollision.lua | 3 +- api/ToggleCollisionDisplay.lua | 3 +- api/ToggleGlyphFilter.lua | 3 +- api/TogglePVP.lua | 2 +- api/TogglePerformancePause.lua | 3 +- api/TogglePerformanceValues.lua | 3 +- api/TogglePetAutocast.lua | 4 +- api/TogglePlayerBounds.lua | 3 +- api/TogglePortals.lua | 3 +- api/ToggleRun.lua | 2 +- api/ToggleSheath.lua | 2 +- api/ToggleSpellAutocast.lua | 12 +-- api/ToggleTris.lua | 3 +- api/TradeSkillOnlyShowMakeable.lua | 4 +- api/TradeSkillOnlyShowSkillUps.lua | 4 +- api/TriggerTutorial.lua | 3 +- api/TurnInGuildCharter.lua | 2 +- api/TurnLeftStart.lua | 2 +- api/TurnLeftStop.lua | 2 +- api/TurnOrActionStart.lua | 2 +- api/TurnOrActionStop.lua | 2 +- api/TurnRightStart.lua | 2 +- api/TurnRightStop.lua | 2 +- api/UninviteUnit.lua | 4 +- api/UnitAffectingCombat.lua | 6 +- api/UnitAlternatePowerCounterInfo.lua | 3 +- api/UnitAlternatePowerInfo.lua | 32 +++---- api/UnitAlternatePowerTextureInfo.lua | 16 ++-- api/UnitArmor.lua | 14 +-- api/UnitAttackBothHands.lua | 12 +-- api/UnitAttackPower.lua | 10 +-- api/UnitAttackSpeed.lua | 8 +- api/UnitAura.lua | 70 +++++++-------- api/UnitBattlePetLevel.lua | 3 +- api/UnitBattlePetSpeciesID.lua | 3 +- api/UnitBattlePetType.lua | 3 +- api/UnitBonusArmor.lua | 3 +- api/UnitBuff.lua | 66 +++++++------- api/UnitCanAssist.lua | 8 +- api/UnitCanCooperate.lua | 8 +- api/UnitCanPetBattle.lua | 3 +- api/UnitCastingInfo.lua | 22 ++--- api/UnitChannelInfo.lua | 20 ++--- api/UnitClass.lua | 10 +-- api/UnitClassBase.lua | 10 +-- api/UnitClassification.lua | 20 ++--- api/UnitControllingVehicle.lua | 8 +- api/UnitCreatureFamily.lua | 6 +- api/UnitCreatureType.lua | 6 +- api/UnitDamage.lua | 18 ++-- api/UnitDebuff.lua | 66 +++++++------- api/UnitDefense.lua | 8 +- api/UnitDetailedThreatSituation.lua | 26 +++--- api/UnitDistanceSquared.lua | 8 +- api/UnitExists.lua | 6 +- api/UnitFactionGroup.lua | 10 +-- api/UnitFullName.lua | 2 +- api/UnitGUID.lua | 6 +- api/UnitGetAvailableRoles.lua | 10 +-- api/UnitGetIncomingHeals.lua | 3 +- api/UnitGetTotalAbsorbs.lua | 3 +- api/UnitGetTotalHealAbsorbs.lua | 3 +- api/UnitGroupRolesAssigned.lua | 14 +-- api/UnitHPPerStamina.lua | 3 +- api/UnitHasIncomingResurrection.lua | 6 +- api/UnitHasLFGDeserter.lua | 3 +- api/UnitHasLFGRandomCooldown.lua | 3 +- api/UnitHasRelicSlot.lua | 6 +- api/UnitHasVehiclePlayerFrameUI.lua | 3 +- api/UnitHasVehicleUI.lua | 8 +- api/UnitHealth.lua | 6 +- api/UnitHealthMax.lua | 6 +- api/UnitInBattleground.lua | 6 +- api/UnitInOtherParty.lua | 3 +- api/UnitInParty.lua | 4 +- api/UnitInPhase.lua | 6 +- api/UnitInRaid.lua | 6 +- api/UnitInRange.lua | 8 +- api/UnitInVehicle.lua | 8 +- api/UnitInVehicleControlSeat.lua | 4 +- api/UnitInVehicleHidesPetFrame.lua | 3 +- api/UnitIsAFK.lua | 8 +- api/UnitIsBattlePet.lua | 3 +- api/UnitIsBattlePetCompanion.lua | 3 +- api/UnitIsCharmed.lua | 6 +- api/UnitIsConnected.lua | 6 +- api/UnitIsControlling.lua | 6 +- api/UnitIsCorpse.lua | 6 +- api/UnitIsDND.lua | 8 +- api/UnitIsDead.lua | 6 +- api/UnitIsDeadOrGhost.lua | 6 +- api/UnitIsEnemy.lua | 8 +- api/UnitIsFeignDeath.lua | 6 +- api/UnitIsFriend.lua | 8 +- api/UnitIsGhost.lua | 6 +- api/UnitIsGroupAssistant.lua | 3 +- api/UnitIsGroupLeader.lua | 6 +- api/UnitIsInMyGuild.lua | 6 +- api/UnitIsOtherPlayersBattlePet.lua | 3 +- api/UnitIsOtherPlayersPet.lua | 6 +- api/UnitIsPVP.lua | 6 +- api/UnitIsPVPFreeForAll.lua | 6 +- api/UnitIsPVPSanctuary.lua | 6 +- api/UnitIsPlayer.lua | 6 +- api/UnitIsPossessed.lua | 6 +- api/UnitIsQuestBoss.lua | 3 +- api/UnitIsRaidOfficer.lua | 4 +- api/UnitIsSameServer.lua | 8 +- api/UnitIsSilenced.lua | 8 +- api/UnitIsTalking.lua | 6 +- api/UnitIsTapped.lua | 4 +- api/UnitIsTappedByAllThreatList.lua | 6 +- api/UnitIsTappedByPlayer.lua | 6 +- api/UnitIsTrivial.lua | 6 +- api/UnitIsUnconscious.lua | 3 +- api/UnitIsUnit.lua | 8 +- api/UnitIsVisible.lua | 6 +- api/UnitIsWildBattlePet.lua | 3 +- api/UnitLeadsAnyGroup.lua | 6 +- api/UnitLevel.lua | 6 +- api/UnitMana.lua | 3 +- api/UnitManaMax.lua | 3 +- api/UnitName.lua | 8 +- api/UnitNumPowerBarTimers.lua | 3 +- api/UnitOnTaxi.lua | 6 +- api/UnitPVPName.lua | 6 +- api/UnitPlayerControlled.lua | 6 +- api/UnitPlayerOrPetInParty.lua | 8 +- api/UnitPlayerOrPetInRaid.lua | 8 +- api/UnitPosition.lua | 3 +- api/UnitPower.lua | 8 +- api/UnitPowerBarTimerInfo.lua | 3 +- api/UnitPowerMax.lua | 8 +- api/UnitPowerType.lua | 26 +++--- api/UnitRace.lua | 8 +- api/UnitRangedAttack.lua | 8 +- api/UnitRangedAttackPower.lua | 10 +-- api/UnitRangedDamage.lua | 16 ++-- api/UnitReaction.lua | 24 ++--- api/UnitRealmRelationship.lua | 3 +- api/UnitSelectionColor.lua | 14 +-- api/UnitSetRole.lua | 14 +-- api/UnitSex.lua | 14 +-- api/UnitSpellHaste.lua | 8 +- api/UnitStagger.lua | 3 +- api/UnitSwitchToVehicleSeat.lua | 6 +- api/UnitTargetsVehicleInRaidUI.lua | 6 +- api/UnitThreatPercentageOfLead.lua | 3 +- api/UnitThreatSituation.lua | 18 ++-- api/UnitUsingVehicle.lua | 6 +- api/UnitVehicleSeatCount.lua | 6 +- api/UnitVehicleSeatInfo.lua | 22 ++--- api/UnitVehicleSkin.lua | 12 +-- api/UnitXP.lua | 6 +- api/UnitXPMax.lua | 6 +- api/UnlearnSpecialization.lua | 3 +- api/UnlockVoidStorage.lua | 3 +- api/UpdateAddOnCPUUsage.lua | 2 +- api/UpdateAddOnMemoryUsage.lua | 2 +- api/UpdateGMTicket.lua | 4 +- api/UpdateInventoryAlertStatus.lua | 3 +- api/UpdateMapHighlight.lua | 22 ++--- api/UpdateWarGamesList.lua | 3 +- api/UpdateWorldMapArrow.lua | 3 +- api/UpgradeItem.lua | 2 +- api/UseAction.lua | 18 ++-- api/UseContainerItem.lua | 10 +-- api/UseEquipmentSet.lua | 6 +- api/UseHearthstone.lua | 4 +- api/UseInventoryItem.lua | 4 +- api/UseItemByName.lua | 10 +-- api/UseItemForTransmogrify.lua | 3 +- api/UseQuestLogSpecialItem.lua | 4 +- api/UseSoulstone.lua | 2 +- api/UseToy.lua | 4 +- api/UseToyByName.lua | 4 +- api/UseVoidItemForTransmogrify.lua | 3 +- api/ValidateTransmogrifications.lua | 3 +- api/VehicleAimDecrement.lua | 4 +- api/VehicleAimDownStart.lua | 2 +- api/VehicleAimDownStop.lua | 2 +- api/VehicleAimGetAngle.lua | 4 +- api/VehicleAimGetNormAngle.lua | 4 +- api/VehicleAimGetNormPower.lua | 3 +- api/VehicleAimIncrement.lua | 4 +- api/VehicleAimRequestAngle.lua | 4 +- api/VehicleAimRequestNormAngle.lua | 4 +- api/VehicleAimSetNormPower.lua | 3 +- api/VehicleAimUpStart.lua | 2 +- api/VehicleAimUpStop.lua | 2 +- api/VehicleCameraZoomIn.lua | 2 +- api/VehicleCameraZoomOut.lua | 2 +- api/VehicleExit.lua | 2 +- api/VehicleNextSeat.lua | 2 +- api/VehiclePrevSeat.lua | 2 +- api/ViewGuildRecipes.lua | 4 +- ...iceChat_ActivatePrimaryCaptureCallback.lua | 3 +- ...ceChat_GetCurrentMicrophoneSignalLevel.lua | 4 +- api/VoiceChat_IsPlayingLoopbackSound.lua | 4 +- api/VoiceChat_IsRecordingLoopbackSound.lua | 4 +- api/VoiceChat_PlayLoopbackSound.lua | 2 +- api/VoiceChat_RecordLoopbackSound.lua | 4 +- api/VoiceChat_StartCapture.lua | 3 +- api/VoiceChat_StopCapture.lua | 3 +- api/VoiceChat_StopPlayingLoopbackSound.lua | 2 +- api/VoiceChat_StopRecordingLoopbackSound.lua | 2 +- api/VoiceEnumerateCaptureDevices.lua | 6 +- api/VoiceEnumerateOutputDevices.lua | 6 +- api/VoiceGetCurrentCaptureDevice.lua | 4 +- api/VoiceGetCurrentOutputDevice.lua | 4 +- api/VoiceIsDisabledByClient.lua | 4 +- api/VoicePushToTalkStart.lua | 2 +- api/VoicePushToTalkStop.lua | 2 +- api/VoiceSelectCaptureDevice.lua | 4 +- api/VoiceSelectOutputDevice.lua | 4 +- api/WarGameRespond.lua | 3 +- api/WithdrawGuildBankMoney.lua | 4 +- api/ZoomOut.lua | 2 +- api/acos.lua | 2 +- api/asin.lua | 2 +- api/assert.lua | 8 +- api/atan.lua | 2 +- api/atan2.lua | 3 +- api/ceil.lua | 6 +- api/collectgarbage.lua | 20 ++--- api/cos.lua | 2 +- api/date.lua | 6 +- api/debugbreak.lua | 3 +- api/debugdump.lua | 3 +- api/debuginfo.lua | 3 +- api/debugload.lua | 3 +- api/debuglocals.lua | 6 +- api/debugprint.lua | 3 +- api/debugprofilestart.lua | 2 +- api/debugprofilestop.lua | 4 +- api/debugstack.lua | 10 +-- api/debugtimestamp.lua | 3 +- api/difftime.lua | 8 +- api/error.lua | 6 +- api/fastrandom.lua | 3 +- api/floor.lua | 6 +- api/forceinsecure.lua | 2 +- api/foreach.lua | 3 +- api/foreachi.lua | 3 +- api/format.lua | 8 +- api/frexp.lua | 8 +- api/gcinfo.lua | 4 +- api/geterrorhandler.lua | 4 +- api/getfenv.lua | 8 +- api/getglobal.lua | 6 +- api/getmetatable.lua | 6 +- api/getn.lua | 3 +- api/getprinthandler.lua | 4 +- api/gmatch.lua | 8 +- api/gsub.lua | 18 ++-- api/hooksecurefunc.lua | 2 +- api/ipairs.lua | 10 +-- api/issecure.lua | 4 +- api/issecurevariable.lua | 10 +-- api/ldexp.lua | 8 +- api/loadstring.lua | 10 +-- api/message.lua | 4 +- api/newproxy.lua | 8 +- api/next.lua | 10 +-- api/pairs.lua | 10 +-- api/pcall.lua | 10 +-- api/print.lua | 4 +- api/random.lua | 8 +- api/rawequal.lua | 8 +- api/rawget.lua | 8 +- api/rawset.lua | 8 +- api/scrub.lua | 6 +- api/seterrorhandler.lua | 4 +- api/setfenv.lua | 10 +-- api/setglobal.lua | 6 +- api/setmetatable.lua | 8 +- api/setprinthandler.lua | 4 +- api/sin.lua | 2 +- api/sort.lua | 6 +- api/sqrt.lua | 6 +- api/strconcat.lua | 6 +- api/strjoin.lua | 8 +- api/strsplit.lua | 8 +- api/strtrim.lua | 6 +- api/tContains.lua | 3 +- api/tDelete.lua | 3 +- api/tan.lua | 2 +- api/time.lua | 4 +- api/tonumber.lua | 8 +- api/tostring.lua | 6 +- api/tostringall.lua | 6 +- api/type.lua | 22 ++--- api/unpack.lua | 10 +-- api/wipe.lua | 6 +- api/xpcall.lua | 10 +-- ui/Frame.lua | 4 +- ui/UIObject.lua | 2 +- 3012 files changed, 8372 insertions(+), 9301 deletions(-) diff --git a/C_Timer.lua b/C_Timer.lua index a202eec..b1a9de6 100644 --- a/C_Timer.lua +++ b/C_Timer.lua @@ -15,4 +15,4 @@ C_Timer = { ---@return Timer ---@overload fun(seconds: number, callback: function, iterations: number) NewTicker = function(seconds, callback) end, -} \ No newline at end of file +} diff --git a/Color.lua b/Color.lua index e5a2176..3b0e902 100644 --- a/Color.lua +++ b/Color.lua @@ -1,4 +1,4 @@ ---@meta ---r,g,b,a ----@alias wowColor table \ No newline at end of file +---@alias wowColor table diff --git a/allstates.lua b/allstates.lua index a59b7f3..1d58930 100644 --- a/allstates.lua +++ b/allstates.lua @@ -19,4 +19,4 @@ ---@field remaining number Only used with paused, gives WA the info needed to show paused progress at the current point. state = {} ----@alias allstates table \ No newline at end of file +---@alias allstates table diff --git a/api/AbandonQuest.lua b/api/AbandonQuest.lua index 8f658bf..6a8e006 100644 --- a/api/AbandonQuest.lua +++ b/api/AbandonQuest.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Confirms abandoning a quest. Use SetAbandonQuest() first to select the quest to abandon. -function AbandonQuest() end \ No newline at end of file +function AbandonQuest() end diff --git a/api/AbandonSkill.lua b/api/AbandonSkill.lua index 9e64029..b94a30e 100644 --- a/api/AbandonSkill.lua +++ b/api/AbandonSkill.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Unlearns a skill (used only for professions) -function AbandonSkill(index) end \ No newline at end of file +function AbandonSkill(index) end diff --git a/api/AcceptAreaSpiritHeal.lua b/api/AcceptAreaSpiritHeal.lua index 4503854..3f2b150 100644 --- a/api/AcceptAreaSpiritHeal.lua +++ b/api/AcceptAreaSpiritHeal.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts the next upcoming periodic resurrection from a battleground spirit healer. Automatically called in the default UI in response to the AREA_SPIRIT_HEALER_IN_RANGE event which fires when the player's ghost is near a battleground spirit healer. -function AcceptAreaSpiritHeal() end \ No newline at end of file +function AcceptAreaSpiritHeal() end diff --git a/api/AcceptBattlefieldPort.lua b/api/AcceptBattlefieldPort.lua index 129a86b..832ab5e 100644 --- a/api/AcceptBattlefieldPort.lua +++ b/api/AcceptBattlefieldPort.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param accept 1nil +---@param index number +---@param accept 1nil ---Accepts the offered teleport to a battleground/arena or leaves the battleground/arena or queue. This function requires a hardware event when used to accept a teleport; it can be called without a hardware event for leaving a battleground/arena or its queue. -function AcceptBattlefieldPort(index, accept) end \ No newline at end of file +function AcceptBattlefieldPort(index, accept) end diff --git a/api/AcceptDuel.lua b/api/AcceptDuel.lua index cb97ab4..ccddcc6 100644 --- a/api/AcceptDuel.lua +++ b/api/AcceptDuel.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts a proposed duel -function AcceptDuel() end \ No newline at end of file +function AcceptDuel() end diff --git a/api/AcceptGroup.lua b/api/AcceptGroup.lua index dcdeac2..70db70b 100644 --- a/api/AcceptGroup.lua +++ b/api/AcceptGroup.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts an invitation to join a party or raid. Usable in response to the PARTY_INVITE_REQUEST event which fires when the player is invited to join a group. This function does not automatically hide the default UI's group invite dialog; doing such requires calling StaticPopup_Hide("PARTY_INVITE"), but only after the PARTY_MEMBERS_CHANGED event fires indicating the player has successfully joined the group. -function AcceptGroup() end \ No newline at end of file +function AcceptGroup() end diff --git a/api/AcceptGuild.lua b/api/AcceptGuild.lua index 6e0e05a..492bb92 100644 --- a/api/AcceptGuild.lua +++ b/api/AcceptGuild.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts an invitation to join a guild. Usable in response to the GUILD_INVITE_REQUEST event, which fires when the player is invited to join a guild. -function AcceptGuild() end \ No newline at end of file +function AcceptGuild() end diff --git a/api/AcceptLevelGrant.lua b/api/AcceptLevelGrant.lua index be50677..6d9def3 100644 --- a/api/AcceptLevelGrant.lua +++ b/api/AcceptLevelGrant.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts a level offered by the player's Recruit-a-Friend partner -function AcceptLevelGrant() end \ No newline at end of file +function AcceptLevelGrant() end diff --git a/api/AcceptProposal.lua b/api/AcceptProposal.lua index 6872838..ee4ab5b 100644 --- a/api/AcceptProposal.lua +++ b/api/AcceptProposal.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts a LFG dungeon invite. -function AcceptProposal() end \ No newline at end of file +function AcceptProposal() end diff --git a/api/AcceptQuest.lua b/api/AcceptQuest.lua index 8e98591..6545b8b 100644 --- a/api/AcceptQuest.lua +++ b/api/AcceptQuest.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts the quest offered by a questgiver. Usable following the QUEST_DETAIL event in which the questgiver presents the player with the details of a quest and the option to accept or decline. -function AcceptQuest() end \ No newline at end of file +function AcceptQuest() end diff --git a/api/AcceptResurrect.lua b/api/AcceptResurrect.lua index bd2e3f6..2e35863 100644 --- a/api/AcceptResurrect.lua +++ b/api/AcceptResurrect.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts an offered resurrection spell. Not used for self-resurrection; see UseSoulstone() for such cases. -function AcceptResurrect() end \ No newline at end of file +function AcceptResurrect() end diff --git a/api/AcceptSockets.lua b/api/AcceptSockets.lua index 8a2d675..483b45f 100644 --- a/api/AcceptSockets.lua +++ b/api/AcceptSockets.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts changes made in the Item Socketing UI. Any gems added are permanently socketed into the item, and any existing gems replaced by new gems are destroyed. This function only has effect while the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function AcceptSockets() end \ No newline at end of file +function AcceptSockets() end diff --git a/api/AcceptSpellConfirmationPrompt.lua b/api/AcceptSpellConfirmationPrompt.lua index cb1e480..0d03f26 100644 --- a/api/AcceptSpellConfirmationPrompt.lua +++ b/api/AcceptSpellConfirmationPrompt.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function AcceptSpellConfirmationPrompt() end \ No newline at end of file +function AcceptSpellConfirmationPrompt() end diff --git a/api/AcceptTrade.lua b/api/AcceptTrade.lua index e401f72..c818feb 100644 --- a/api/AcceptTrade.lua +++ b/api/AcceptTrade.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts a proposed trade. Once both players have accepted, the trade process completes and the actual exchange of items/money/enchants takes place. -function AcceptTrade() end \ No newline at end of file +function AcceptTrade() end diff --git a/api/AcceptXPLoss.lua b/api/AcceptXPLoss.lua index f0bf244..092df39 100644 --- a/api/AcceptXPLoss.lua +++ b/api/AcceptXPLoss.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Resurrects the player at a spirit healer, accepting possible consequences. Resurrecting at a spirit healer generally results in a loss of durability (both equipped items and those in the player's bags) and may also result in the Resurrection Sickness debuff. Early in the development of World of Warcraft, resurrecting at a spirit healer caused a loss of experience points. The change to a loss of item durability was made before the initial public release of World of Warcraft, but the name of this function was never changed. -function AcceptXPLoss() end \ No newline at end of file +function AcceptXPLoss() end diff --git a/api/AcknowledgeAutoAcceptQuest.lua b/api/AcknowledgeAutoAcceptQuest.lua index cc7be34..997ebbe 100644 --- a/api/AcknowledgeAutoAcceptQuest.lua +++ b/api/AcknowledgeAutoAcceptQuest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function AcknowledgeAutoAcceptQuest() end \ No newline at end of file +function AcknowledgeAutoAcceptQuest() end diff --git a/api/AcknowledgeSurvey.lua b/api/AcknowledgeSurvey.lua index 6754faa..2251790 100644 --- a/api/AcknowledgeSurvey.lua +++ b/api/AcknowledgeSurvey.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function AcknowledgeSurvey() end \ No newline at end of file +function AcknowledgeSurvey() end diff --git a/api/ActionHasRange.lua b/api/ActionHasRange.lua index 33ba6db..3918a6e 100644 --- a/api/ActionHasRange.lua +++ b/api/ActionHasRange.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil hasRange +---@param slot number +---@return 1nil hasRange ---Returns whether an action has a range restriction -function ActionHasRange(slot) end \ No newline at end of file +function ActionHasRange(slot) end diff --git a/api/AddAutoQuestPopUp.lua b/api/AddAutoQuestPopUp.lua index 9fecc54..a66fbbc 100644 --- a/api/AddAutoQuestPopUp.lua +++ b/api/AddAutoQuestPopUp.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questId number ----@param type OFFER ----@param COMPLETE ----@param OFFER +---@param questId number +---@param type OFFER +---@param COMPLETE +---@param OFFER ---Create a quest popup in the WatchFrame -function AddAutoQuestPopUp(questId, type, COMPLETE, OFFER) end \ No newline at end of file +function AddAutoQuestPopUp(questId, type, COMPLETE, OFFER) end diff --git a/api/AddChatWindowChannel.lua b/api/AddChatWindowChannel.lua index 34fa67e..4b11090 100644 --- a/api/AddChatWindowChannel.lua +++ b/api/AddChatWindowChannel.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param channel number ----@return number zoneChannel +---@param index number +---@param channel number +---@return number zoneChannel ---Adds a chat channel to the saved list of those displayed in a chat window. Used by the default UI's function ChatFrame_AddChannel() which manages the set of channel messages shown in a displayed ChatFrame. -function AddChatWindowChannel(index, channel) end \ No newline at end of file +function AddChatWindowChannel(index, channel) end diff --git a/api/AddChatWindowMessages.lua b/api/AddChatWindowMessages.lua index e3a0974..9475fad 100644 --- a/api/AddChatWindowMessages.lua +++ b/api/AddChatWindowMessages.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param messageGroup string +---@param index number +---@param messageGroup string ---Adds a message type to the saved list of those displayed in a chat window. Used by the default UI's function ChatFrame_AddMessageGroup(), which manages the set of message types shown in a displayed ChatFrame. -function AddChatWindowMessages(index, messageGroup) end \ No newline at end of file +function AddChatWindowMessages(index, messageGroup) end diff --git a/api/AddFriend.lua b/api/AddFriend.lua index 6537f66..94db15b 100644 --- a/api/AddFriend.lua +++ b/api/AddFriend.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Adds a character to the friends list -function AddFriend(name) end \ No newline at end of file +function AddFriend(name) end diff --git a/api/AddIgnore.lua b/api/AddIgnore.lua index 7788c72..ed69540 100644 --- a/api/AddIgnore.lua +++ b/api/AddIgnore.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Adds a character to the ignore list -function AddIgnore(name) end \ No newline at end of file +function AddIgnore(name) end diff --git a/api/AddMute.lua b/api/AddMute.lua index 3deb894..d28b400 100644 --- a/api/AddMute.lua +++ b/api/AddMute.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Adds a character to the muted list for voice chat. The Muted list acts for voice chat as the Ignore list does for text chat: muted characters will never be heard regardless of which voice channels they join the player in. -function AddMute(name) end \ No newline at end of file +function AddMute(name) end diff --git a/api/AddOrDelIgnore.lua b/api/AddOrDelIgnore.lua index b60f635..476f128 100644 --- a/api/AddOrDelIgnore.lua +++ b/api/AddOrDelIgnore.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param fullname string +---@param fullname string ---Adds the named character to the ignore list, or removes the character if already in the ignore list -function AddOrDelIgnore(fullname) end \ No newline at end of file +function AddOrDelIgnore(fullname) end diff --git a/api/AddOrDelMute.lua b/api/AddOrDelMute.lua index 7383e6f..f166b74 100644 --- a/api/AddOrDelMute.lua +++ b/api/AddOrDelMute.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Adds or removes a character from the voice mute list. Adds the character to the list if he/she is not already on it; removes the character if already on the list. The Muted list acts for voice chat as the Ignore list does for text chat: muted characters will never be heard regardless of which voice channels they join the player in. -function AddOrDelMute(unit, name) end \ No newline at end of file +function AddOrDelMute(unit, name) end diff --git a/api/AddOrRemoveFriend.lua b/api/AddOrRemoveFriend.lua index 89a33d5..f98d401 100644 --- a/api/AddOrRemoveFriend.lua +++ b/api/AddOrRemoveFriend.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param note string +---@param name string +---@param note string ---Adds the named character to the friends list, or removes the character if already in the friends list -function AddOrRemoveFriend(name, note) end \ No newline at end of file +function AddOrRemoveFriend(name, note) end diff --git a/api/AddQuestWatch.lua b/api/AddQuestWatch.lua index 81ba796..5220f41 100644 --- a/api/AddQuestWatch.lua +++ b/api/AddQuestWatch.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Adds a quest to the objectives tracker -function AddQuestWatch(questIndex) end \ No newline at end of file +function AddQuestWatch(questIndex) end diff --git a/api/AddTrackedAchievement.lua b/api/AddTrackedAchievement.lua index 25cc838..31619da 100644 --- a/api/AddTrackedAchievement.lua +++ b/api/AddTrackedAchievement.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Adds an achievement to the objectives tracker UI -function AddTrackedAchievement(id) end \ No newline at end of file +function AddTrackedAchievement(id) end diff --git a/api/AddTradeMoney.lua b/api/AddTradeMoney.lua index 89bcc6a..886fedb 100644 --- a/api/AddTradeMoney.lua +++ b/api/AddTradeMoney.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Adds the money currently on the cursor to the trade window -function AddTradeMoney() end \ No newline at end of file +function AddTradeMoney() end diff --git a/api/Ambiguate.lua b/api/Ambiguate.lua index 199380a..ca9e3d9 100644 --- a/api/Ambiguate.lua +++ b/api/Ambiguate.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param fullName string ----@param context string ----@return string name +---@param fullName string +---@param context string +---@return string name ---Returns a player Name or Name-Realm string suitable for use in a given context. -function Ambiguate(fullName, context) end \ No newline at end of file +function Ambiguate(fullName, context) end diff --git a/api/AntiAliasingSupported.lua b/api/AntiAliasingSupported.lua index efe059c..164276b 100644 --- a/api/AntiAliasingSupported.lua +++ b/api/AntiAliasingSupported.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function AntiAliasingSupported() end \ No newline at end of file +function AntiAliasingSupported() end diff --git a/api/ApplyBarberShopStyle.lua b/api/ApplyBarberShopStyle.lua index 5d76591..337ee5c 100644 --- a/api/ApplyBarberShopStyle.lua +++ b/api/ApplyBarberShopStyle.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Purchases the selected barber shop style changes. Does not exit the barber shop session, so further changes are still allowed. The BARBER_SHOP_SUCCESS and BARBER_SHOP_APPEARANCE_APPLIED events fire once the style change takes effect. -function ApplyBarberShopStyle() end \ No newline at end of file +function ApplyBarberShopStyle() end diff --git a/api/ApplyTransmogrifications.lua b/api/ApplyTransmogrifications.lua index dd056fa..abca6ed 100644 --- a/api/ApplyTransmogrifications.lua +++ b/api/ApplyTransmogrifications.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Applies all pending transmogrifications, and pays for the cost -function ApplyTransmogrifications() end \ No newline at end of file +function ApplyTransmogrifications() end diff --git a/api/ArchaeologyGetIconInfo.lua b/api/ArchaeologyGetIconInfo.lua index 253bfac..955800c 100644 --- a/api/ArchaeologyGetIconInfo.lua +++ b/api/ArchaeologyGetIconInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ArchaeologyGetIconInfo() end \ No newline at end of file +function ArchaeologyGetIconInfo() end diff --git a/api/ArchaeologyMapUpdateAll.lua b/api/ArchaeologyMapUpdateAll.lua index 7ae09d0..df317bb 100644 --- a/api/ArchaeologyMapUpdateAll.lua +++ b/api/ArchaeologyMapUpdateAll.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numEntries +---@return number numEntries ---Returns the number of digsites in the current zone. The value returned reflects dig sites for the current zone: If the world map is visible, the currently viewed zone; else, the player's zone. It will always return 0 when called while the zone is continent or further zoomed out. -function ArchaeologyMapUpdateAll() end \ No newline at end of file +function ArchaeologyMapUpdateAll() end diff --git a/api/ArcheologyGetVisibleBlobID.lua b/api/ArcheologyGetVisibleBlobID.lua index 4c535c7..2d19900 100644 --- a/api/ArcheologyGetVisibleBlobID.lua +++ b/api/ArcheologyGetVisibleBlobID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number blobID +---@param index number +---@return number blobID ---Returns the blob ID for an archaeology map landmark. Only works for the Archaeology system. The function's name is misspelled in the WoW API (should be Archaeology to be consistent with the rest of the API). -function ArcheologyGetVisibleBlobID(index) end \ No newline at end of file +function ArcheologyGetVisibleBlobID(index) end diff --git a/api/AreAccountAchievementsHidden.lua b/api/AreAccountAchievementsHidden.lua index d3235eb..102afea 100644 --- a/api/AreAccountAchievementsHidden.lua +++ b/api/AreAccountAchievementsHidden.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isHidden +---@return 1nil isHidden ---Returns whether the player is displaying only character achievements to others -function AreAccountAchievementsHidden() end \ No newline at end of file +function AreAccountAchievementsHidden() end diff --git a/api/ArenaTeam_GetTeamSizeID.lua b/api/ArenaTeam_GetTeamSizeID.lua index 1902285..f6e23e0 100644 --- a/api/ArenaTeam_GetTeamSizeID.lua +++ b/api/ArenaTeam_GetTeamSizeID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param teamSize number ----@return number teamID +---@param teamSize number +---@return number teamID ---Converts an arena team size to the appropriate numeric arena team identifier -function ArenaTeam_GetTeamSizeID(teamSize) end \ No newline at end of file +function ArenaTeam_GetTeamSizeID(teamSize) end diff --git a/api/AscendStop.lua b/api/AscendStop.lua index 93c6de6..3703520 100644 --- a/api/AscendStop.lua +++ b/api/AscendStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops movement initiated by JumpOrAscendStart. Used by the JUMP binding, which also controls ascent when swimming or flying. Has no meaningful effect if called while jumping (in which case movement is generally stopped by hitting the ground). -function AscendStop() end \ No newline at end of file +function AscendStop() end diff --git a/api/AssistUnit.lua b/api/AssistUnit.lua index b7436c3..2652664 100644 --- a/api/AssistUnit.lua +++ b/api/AssistUnit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Targets the unit targeted by another unit -function AssistUnit(unit, name) end \ No newline at end of file +function AssistUnit(unit, name) end diff --git a/api/AttackTarget.lua b/api/AttackTarget.lua index 5ac76e4..5bd0309 100644 --- a/api/AttackTarget.lua +++ b/api/AttackTarget.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins auto-attack against the player's current target. (If the "Auto Attack/Auto Shot" option is turned on, also begins Auto Shot for hunters.) -function AttackTarget() end \ No newline at end of file +function AttackTarget() end diff --git a/api/AutoChooseCurrentGraphicsSetting.lua b/api/AutoChooseCurrentGraphicsSetting.lua index 512d86a..6b062b7 100644 --- a/api/AutoChooseCurrentGraphicsSetting.lua +++ b/api/AutoChooseCurrentGraphicsSetting.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function AutoChooseCurrentGraphicsSetting() end \ No newline at end of file +function AutoChooseCurrentGraphicsSetting() end diff --git a/api/AutoEquipCursorItem.lua b/api/AutoEquipCursorItem.lua index 58a4de7..f8f9644 100644 --- a/api/AutoEquipCursorItem.lua +++ b/api/AutoEquipCursorItem.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Equips the item on the cursor. The item is automatically equipped in the first available slot in which it fits. To equip an item in a specific slot, see EquipCursorItem(). Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be equipped. Does nothing if the cursor does not contain an item. -function AutoEquipCursorItem() end \ No newline at end of file +function AutoEquipCursorItem() end diff --git a/api/AutoLootMailItem.lua b/api/AutoLootMailItem.lua index 23be214..dfafedc 100644 --- a/api/AutoLootMailItem.lua +++ b/api/AutoLootMailItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number +---@param mailID number ---Automatically takes any attached items and money from a mail. If the mail does not have body text (which can be saved as a permanent copy), also deletes the mail. -function AutoLootMailItem(mailID) end \ No newline at end of file +function AutoLootMailItem(mailID) end diff --git a/api/AutoStoreGuildBankItem.lua b/api/AutoStoreGuildBankItem.lua index ec9e409..f652b73 100644 --- a/api/AutoStoreGuildBankItem.lua +++ b/api/AutoStoreGuildBankItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param slot number +---@param tab number +---@param slot number ---Withdraws the item(s) from a slot in the guild bank, automatically adding to the player's bags -function AutoStoreGuildBankItem(tab, slot) end \ No newline at end of file +function AutoStoreGuildBankItem(tab, slot) end diff --git a/api/BNAcceptFriendInvite.lua b/api/BNAcceptFriendInvite.lua index 5623ec9..10bd215 100644 --- a/api/BNAcceptFriendInvite.lua +++ b/api/BNAcceptFriendInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNAcceptFriendInvite() end \ No newline at end of file +function BNAcceptFriendInvite() end diff --git a/api/BNCheckBattleTagInviteToGuildMember.lua b/api/BNCheckBattleTagInviteToGuildMember.lua index b8445a6..428a1b2 100644 --- a/api/BNCheckBattleTagInviteToGuildMember.lua +++ b/api/BNCheckBattleTagInviteToGuildMember.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNCheckBattleTagInviteToGuildMember() end \ No newline at end of file +function BNCheckBattleTagInviteToGuildMember() end diff --git a/api/BNCheckBattleTagInviteToUnit.lua b/api/BNCheckBattleTagInviteToUnit.lua index cb7d436..6d73f92 100644 --- a/api/BNCheckBattleTagInviteToUnit.lua +++ b/api/BNCheckBattleTagInviteToUnit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNCheckBattleTagInviteToUnit() end \ No newline at end of file +function BNCheckBattleTagInviteToUnit() end diff --git a/api/BNConnected.lua b/api/BNConnected.lua index af2ea2c..c3d7b01 100644 --- a/api/BNConnected.lua +++ b/api/BNConnected.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isOnline +---@return boolean isOnline ---Returns whether or not the player is connected to Battle.net -function BNConnected() end \ No newline at end of file +function BNConnected() end diff --git a/api/BNCreateConversation.lua b/api/BNCreateConversation.lua index 230b00f..4d5003f 100644 --- a/api/BNCreateConversation.lua +++ b/api/BNCreateConversation.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID_1 number ----@param presenceID_2 number ----@return boolean result +---@param presenceID_1 number +---@param presenceID_2 number +---@return boolean result ---Create a conversation between you and two friends -function BNCreateConversation(presenceID_1, presenceID_2) end \ No newline at end of file +function BNCreateConversation(presenceID_1, presenceID_2) end diff --git a/api/BNDeclineFriendInvite.lua b/api/BNDeclineFriendInvite.lua index 61ac369..0de77a9 100644 --- a/api/BNDeclineFriendInvite.lua +++ b/api/BNDeclineFriendInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNDeclineFriendInvite() end \ No newline at end of file +function BNDeclineFriendInvite() end diff --git a/api/BNFeaturesEnabled.lua b/api/BNFeaturesEnabled.lua index 87f8945..7262264 100644 --- a/api/BNFeaturesEnabled.lua +++ b/api/BNFeaturesEnabled.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isEnabled +---@return boolean isEnabled ---Returns whether or not RealID services are disabled -function BNFeaturesEnabled() end \ No newline at end of file +function BNFeaturesEnabled() end diff --git a/api/BNFeaturesEnabledAndConnected.lua b/api/BNFeaturesEnabledAndConnected.lua index 48d18c6..bbcb5ff 100644 --- a/api/BNFeaturesEnabledAndConnected.lua +++ b/api/BNFeaturesEnabledAndConnected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNFeaturesEnabledAndConnected() end \ No newline at end of file +function BNFeaturesEnabledAndConnected() end diff --git a/api/BNGetBlockedInfo.lua b/api/BNGetBlockedInfo.lua index 768044f..98afb55 100644 --- a/api/BNGetBlockedInfo.lua +++ b/api/BNGetBlockedInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetBlockedInfo() end \ No newline at end of file +function BNGetBlockedInfo() end diff --git a/api/BNGetBlockedToonInfo.lua b/api/BNGetBlockedToonInfo.lua index c538ca8..a3a42ac 100644 --- a/api/BNGetBlockedToonInfo.lua +++ b/api/BNGetBlockedToonInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetBlockedToonInfo() end \ No newline at end of file +function BNGetBlockedToonInfo() end diff --git a/api/BNGetConversationInfo.lua b/api/BNGetConversationInfo.lua index 69b8975..f65dd81 100644 --- a/api/BNGetConversationInfo.lua +++ b/api/BNGetConversationInfo.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel number ----@return string type +---@param channel number +---@return string type ---Returns information about an existing battle.net conversation -function BNGetConversationInfo(channel) end \ No newline at end of file +function BNGetConversationInfo(channel) end diff --git a/api/BNGetConversationMemberInfo.lua b/api/BNGetConversationMemberInfo.lua index 7041b4e..b4fe51b 100644 --- a/api/BNGetConversationMemberInfo.lua +++ b/api/BNGetConversationMemberInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel number ----@param memberIndex number ----@return number presenceID ----@return number unknown ----@return string displayName +---@param channel number +---@param memberIndex number +---@return number presenceID +---@return number unknown +---@return string displayName ---Returns information about a member of a battle.net conversation -function BNGetConversationMemberInfo(channel, memberIndex) end \ No newline at end of file +function BNGetConversationMemberInfo(channel, memberIndex) end diff --git a/api/BNGetCustomMessageTable.lua b/api/BNGetCustomMessageTable.lua index 56ef21f..406b9f6 100644 --- a/api/BNGetCustomMessageTable.lua +++ b/api/BNGetCustomMessageTable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetCustomMessageTable() end \ No newline at end of file +function BNGetCustomMessageTable() end diff --git a/api/BNGetFriendIndex.lua b/api/BNGetFriendIndex.lua index 0a33617..d4e2e08 100644 --- a/api/BNGetFriendIndex.lua +++ b/api/BNGetFriendIndex.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID number ----@return number index +---@param presenceID number +---@return number index ---Returns friendlist index of a BN friend -function BNGetFriendIndex(presenceID) end \ No newline at end of file +function BNGetFriendIndex(presenceID) end diff --git a/api/BNGetFriendInfo.lua b/api/BNGetFriendInfo.lua index 1c5fa63..245cce8 100644 --- a/api/BNGetFriendInfo.lua +++ b/api/BNGetFriendInfo.lua @@ -1,21 +1,21 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param friendIndex number ----@return number presenceID ----@return string presenceName ----@return string battleTag ----@return boolean isBattleTagPresence ----@return string toonName ----@return number toonID ----@return string client ----@return boolean isOnline ----@return number lastOnline ----@return boolean isAFK ----@return boolean isDND ----@return string messageText ----@return string noteText ----@return boolean isRIDFriend ----@return number broadcastTime ----@return boolean canSoR +---@param friendIndex number +---@return number presenceID +---@return string presenceName +---@return string battleTag +---@return boolean isBattleTagPresence +---@return string toonName +---@return number toonID +---@return string client +---@return boolean isOnline +---@return number lastOnline +---@return boolean isAFK +---@return boolean isDND +---@return string messageText +---@return string noteText +---@return boolean isRIDFriend +---@return number broadcastTime +---@return boolean canSoR ---Returns information about a RealID friend by index -function BNGetFriendInfo(friendIndex) end \ No newline at end of file +function BNGetFriendInfo(friendIndex) end diff --git a/api/BNGetFriendInfoByID.lua b/api/BNGetFriendInfoByID.lua index 6ee8f93..7a1cb4c 100644 --- a/api/BNGetFriendInfoByID.lua +++ b/api/BNGetFriendInfoByID.lua @@ -1,21 +1,21 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID number ----@return number presenceID ----@return |K string presenceName ----@return |K string battleTag ----@return boolean isBattleTagPresence ----@return string toonName ----@return number toonID ----@return string client ----@return boolean isOnline ----@return number lastOnline ----@return boolean isAFK ----@return boolean isDND ----@return string messageText ----@return string noteText ----@return boolean isRIDFriend ----@return number broadcastTime ----@return boolean canSoR +---@param presenceID number +---@return number presenceID +---@return |K string presenceName +---@return |K string battleTag +---@return boolean isBattleTagPresence +---@return string toonName +---@return number toonID +---@return string client +---@return boolean isOnline +---@return number lastOnline +---@return boolean isAFK +---@return boolean isDND +---@return string messageText +---@return string noteText +---@return boolean isRIDFriend +---@return number broadcastTime +---@return boolean canSoR ---Returns information about a RealID friend -function BNGetFriendInfoByID(presenceID) end \ No newline at end of file +function BNGetFriendInfoByID(presenceID) end diff --git a/api/BNGetFriendInviteInfo.lua b/api/BNGetFriendInviteInfo.lua index 4a72bf3..a481619 100644 --- a/api/BNGetFriendInviteInfo.lua +++ b/api/BNGetFriendInviteInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetFriendInviteInfo() end \ No newline at end of file +function BNGetFriendInviteInfo() end diff --git a/api/BNGetFriendToonInfo.lua b/api/BNGetFriendToonInfo.lua index 70ee8c1..04efa8e 100644 --- a/api/BNGetFriendToonInfo.lua +++ b/api/BNGetFriendToonInfo.lua @@ -1,20 +1,20 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param friendIndex number ----@param toonIndex number ----@return boolean hasFocus ----@return string toonName ----@return string client ----@return string realmName ----@return number realmId ----@return number faction ----@return string race ----@return string class ----@return string unknown ----@return string zoneName ----@return string level ----@return string gameText ----@return string broadcastText ----@return string broadcastTime +---@param friendIndex number +---@param toonIndex number +---@return boolean hasFocus +---@return string toonName +---@return string client +---@return string realmName +---@return number realmId +---@return number faction +---@return string race +---@return string class +---@return string unknown +---@return string zoneName +---@return string level +---@return string gameText +---@return string broadcastText +---@return string broadcastTime ---Returns information about a particular online toon tied to a RealID friend -function BNGetFriendToonInfo(friendIndex, toonIndex) end \ No newline at end of file +function BNGetFriendToonInfo(friendIndex, toonIndex) end diff --git a/api/BNGetInfo.lua b/api/BNGetInfo.lua index 607f177..451ad0a 100644 --- a/api/BNGetInfo.lua +++ b/api/BNGetInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number unknownPresenceID1 ----@return string battleTag ----@return number unknownPresenceID2 ----@return string broadcastText ----@return boolean bnetAFK ----@return boolean bnetDND ----@return boolean unknown +---@return number unknownPresenceID1 +---@return string battleTag +---@return number unknownPresenceID2 +---@return string broadcastText +---@return boolean bnetAFK +---@return boolean bnetDND +---@return boolean unknown ---Returns information about the player's RealID settings -function BNGetInfo() end \ No newline at end of file +function BNGetInfo() end diff --git a/api/BNGetMatureLanguageFilter.lua b/api/BNGetMatureLanguageFilter.lua index 8644b4f..c798b64 100644 --- a/api/BNGetMatureLanguageFilter.lua +++ b/api/BNGetMatureLanguageFilter.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isEnabled +---@return boolean isEnabled ---Returns boolean for the Mature Language Filter option's state. -function BNGetMatureLanguageFilter() end \ No newline at end of file +function BNGetMatureLanguageFilter() end diff --git a/api/BNGetMaxNumConversations.lua b/api/BNGetMaxNumConversations.lua index 9a359d1..3bbf34c 100644 --- a/api/BNGetMaxNumConversations.lua +++ b/api/BNGetMaxNumConversations.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the maximum number of simultaneous RealID conversations you can be a part of -function BNGetMaxNumConversations() end \ No newline at end of file +function BNGetMaxNumConversations() end diff --git a/api/BNGetMaxPlayersInConversation.lua b/api/BNGetMaxPlayersInConversation.lua index 6901f6c..2d4b068 100644 --- a/api/BNGetMaxPlayersInConversation.lua +++ b/api/BNGetMaxPlayersInConversation.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the maximum number of realID friends you can have in one conversation -function BNGetMaxPlayersInConversation() end \ No newline at end of file +function BNGetMaxPlayersInConversation() end diff --git a/api/BNGetNumBlocked.lua b/api/BNGetNumBlocked.lua index 50a3702..5e6361a 100644 --- a/api/BNGetNumBlocked.lua +++ b/api/BNGetNumBlocked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetNumBlocked() end \ No newline at end of file +function BNGetNumBlocked() end diff --git a/api/BNGetNumBlockedToons.lua b/api/BNGetNumBlockedToons.lua index 57c62e2..f14936c 100644 --- a/api/BNGetNumBlockedToons.lua +++ b/api/BNGetNumBlockedToons.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetNumBlockedToons() end \ No newline at end of file +function BNGetNumBlockedToons() end diff --git a/api/BNGetNumConversationMembers.lua b/api/BNGetNumConversationMembers.lua index e96c0fa..7ae52cf 100644 --- a/api/BNGetNumConversationMembers.lua +++ b/api/BNGetNumConversationMembers.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel number ----@return number memberCount +---@param channel number +---@return number memberCount ---Returns the number of members in a battle.net conversation -function BNGetNumConversationMembers(channel) end \ No newline at end of file +function BNGetNumConversationMembers(channel) end diff --git a/api/BNGetNumFOF.lua b/api/BNGetNumFOF.lua index 0ff7193..0c5fe24 100644 --- a/api/BNGetNumFOF.lua +++ b/api/BNGetNumFOF.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetNumFOF() end \ No newline at end of file +function BNGetNumFOF() end diff --git a/api/BNGetNumFriendInvites.lua b/api/BNGetNumFriendInvites.lua index a64623d..792f9dd 100644 --- a/api/BNGetNumFriendInvites.lua +++ b/api/BNGetNumFriendInvites.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetNumFriendInvites() end \ No newline at end of file +function BNGetNumFriendInvites() end diff --git a/api/BNGetNumFriendToons.lua b/api/BNGetNumFriendToons.lua index d859e9c..91a78c8 100644 --- a/api/BNGetNumFriendToons.lua +++ b/api/BNGetNumFriendToons.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param friendIndex number ----@return number numToons +---@param friendIndex number +---@return number numToons ---Returns the number of online toons for a friend -function BNGetNumFriendToons(friendIndex) end \ No newline at end of file +function BNGetNumFriendToons(friendIndex) end diff --git a/api/BNGetNumFriends.lua b/api/BNGetNumFriends.lua index 22c827d..f61d0b7 100644 --- a/api/BNGetNumFriends.lua +++ b/api/BNGetNumFriends.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number totalBNet ----@return number numBNetOnline +---@return number totalBNet +---@return number numBNetOnline ---Returns total number of RealID friends and currently online number of RealID friends -function BNGetNumFriends() end \ No newline at end of file +function BNGetNumFriends() end diff --git a/api/BNGetSelectedBlock.lua b/api/BNGetSelectedBlock.lua index 4975b9c..79ef1f1 100644 --- a/api/BNGetSelectedBlock.lua +++ b/api/BNGetSelectedBlock.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetSelectedBlock() end \ No newline at end of file +function BNGetSelectedBlock() end diff --git a/api/BNGetSelectedFriend.lua b/api/BNGetSelectedFriend.lua index b4a950f..f6fef67 100644 --- a/api/BNGetSelectedFriend.lua +++ b/api/BNGetSelectedFriend.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number friendIndex +---@return number friendIndex ---Returns the index of the selected user on your friend's list -function BNGetSelectedFriend() end \ No newline at end of file +function BNGetSelectedFriend() end diff --git a/api/BNGetSelectedToonBlock.lua b/api/BNGetSelectedToonBlock.lua index 5c8ac4b..9ca1084 100644 --- a/api/BNGetSelectedToonBlock.lua +++ b/api/BNGetSelectedToonBlock.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNGetSelectedToonBlock() end \ No newline at end of file +function BNGetSelectedToonBlock() end diff --git a/api/BNGetToonInfo.lua b/api/BNGetToonInfo.lua index 1f20fac..03d6c10 100644 --- a/api/BNGetToonInfo.lua +++ b/api/BNGetToonInfo.lua @@ -1,21 +1,21 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param bnetIDGameAccount number ----@return boolean unknown ----@return string toonName ----@return string client ----@return string realmName ----@return number realmID ----@return string faction ----@return string race ----@return string class ----@return string unknown ----@return string zoneName ----@return string level ----@return string gameText ----@return string broadcastText ----@return string broadcastTime ----@return boolean unknown ----@return string presenceID +---@param bnetIDGameAccount number +---@return boolean unknown +---@return string toonName +---@return string client +---@return string realmName +---@return number realmID +---@return string faction +---@return string race +---@return string class +---@return string unknown +---@return string zoneName +---@return string level +---@return string gameText +---@return string broadcastText +---@return string broadcastTime +---@return boolean unknown +---@return string presenceID ---Returns information about the active game account tied to a Real ID friend. Returns nil if the player is not online. -function BNGetToonInfo(bnetIDGameAccount) end \ No newline at end of file +function BNGetToonInfo(bnetIDGameAccount) end diff --git a/api/BNInviteFriend.lua b/api/BNInviteFriend.lua index b626a08..605855a 100644 --- a/api/BNInviteFriend.lua +++ b/api/BNInviteFriend.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNInviteFriend() end \ No newline at end of file +function BNInviteFriend() end diff --git a/api/BNInviteToConversation.lua b/api/BNInviteToConversation.lua index 1b3aa50..5126374 100644 --- a/api/BNInviteToConversation.lua +++ b/api/BNInviteToConversation.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel number ----@param presenceID number +---@param channel number +---@param presenceID number ---Invite a friend into an existing conversation -function BNInviteToConversation(channel, presenceID) end \ No newline at end of file +function BNInviteToConversation(channel, presenceID) end diff --git a/api/BNIsBlocked.lua b/api/BNIsBlocked.lua index 0f9524d..b5a4b8f 100644 --- a/api/BNIsBlocked.lua +++ b/api/BNIsBlocked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNIsBlocked() end \ No newline at end of file +function BNIsBlocked() end diff --git a/api/BNIsFriend.lua b/api/BNIsFriend.lua index 93306d8..ab03f80 100644 --- a/api/BNIsFriend.lua +++ b/api/BNIsFriend.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNIsFriend() end \ No newline at end of file +function BNIsFriend() end diff --git a/api/BNIsFriendConversationValid.lua b/api/BNIsFriendConversationValid.lua index 7f3546e..d187ac7 100644 --- a/api/BNIsFriendConversationValid.lua +++ b/api/BNIsFriendConversationValid.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNIsFriendConversationValid() end \ No newline at end of file +function BNIsFriendConversationValid() end diff --git a/api/BNIsSelf.lua b/api/BNIsSelf.lua index fbc6427..afbb99c 100644 --- a/api/BNIsSelf.lua +++ b/api/BNIsSelf.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID number ----@return boolean isSelf +---@param presenceID number +---@return boolean isSelf ---Returns whether or not the presence ID is the one of the player -function BNIsSelf(presenceID) end \ No newline at end of file +function BNIsSelf(presenceID) end diff --git a/api/BNIsToonBlocked.lua b/api/BNIsToonBlocked.lua index a8b906a..79c41af 100644 --- a/api/BNIsToonBlocked.lua +++ b/api/BNIsToonBlocked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNIsToonBlocked() end \ No newline at end of file +function BNIsToonBlocked() end diff --git a/api/BNLeaveConversation.lua b/api/BNLeaveConversation.lua index f7ac3ef..06ed375 100644 --- a/api/BNLeaveConversation.lua +++ b/api/BNLeaveConversation.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNLeaveConversation() end \ No newline at end of file +function BNLeaveConversation() end diff --git a/api/BNListConversation.lua b/api/BNListConversation.lua index 19f853c..e08f072 100644 --- a/api/BNListConversation.lua +++ b/api/BNListConversation.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNListConversation() end \ No newline at end of file +function BNListConversation() end diff --git a/api/BNRemoveFriend.lua b/api/BNRemoveFriend.lua index b4fd195..24875c4 100644 --- a/api/BNRemoveFriend.lua +++ b/api/BNRemoveFriend.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNRemoveFriend() end \ No newline at end of file +function BNRemoveFriend() end diff --git a/api/BNReportFriendInvite.lua b/api/BNReportFriendInvite.lua index d833c1a..efe85c3 100644 --- a/api/BNReportFriendInvite.lua +++ b/api/BNReportFriendInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNReportFriendInvite() end \ No newline at end of file +function BNReportFriendInvite() end diff --git a/api/BNReportPlayer.lua b/api/BNReportPlayer.lua index 7c4fd47..9fcdbb5 100644 --- a/api/BNReportPlayer.lua +++ b/api/BNReportPlayer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNReportPlayer() end \ No newline at end of file +function BNReportPlayer() end diff --git a/api/BNRequestFOFInfo.lua b/api/BNRequestFOFInfo.lua index fb79f81..4198d35 100644 --- a/api/BNRequestFOFInfo.lua +++ b/api/BNRequestFOFInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNRequestFOFInfo() end \ No newline at end of file +function BNRequestFOFInfo() end diff --git a/api/BNSendConversationMessage.lua b/api/BNSendConversationMessage.lua index 3a7f655..37642a2 100644 --- a/api/BNSendConversationMessage.lua +++ b/api/BNSendConversationMessage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSendConversationMessage() end \ No newline at end of file +function BNSendConversationMessage() end diff --git a/api/BNSendFriendInvite.lua b/api/BNSendFriendInvite.lua index 43d4753..db0db26 100644 --- a/api/BNSendFriendInvite.lua +++ b/api/BNSendFriendInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSendFriendInvite() end \ No newline at end of file +function BNSendFriendInvite() end diff --git a/api/BNSendFriendInviteByID.lua b/api/BNSendFriendInviteByID.lua index 48f18ce..8f3329a 100644 --- a/api/BNSendFriendInviteByID.lua +++ b/api/BNSendFriendInviteByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSendFriendInviteByID() end \ No newline at end of file +function BNSendFriendInviteByID() end diff --git a/api/BNSendGameData.lua b/api/BNSendGameData.lua index 71a614c..d417fb1 100644 --- a/api/BNSendGameData.lua +++ b/api/BNSendGameData.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID number ----@param addonPrefix string ----@param message string +---@param presenceID number +---@param addonPrefix string +---@param message string ---Sends some data to another player -function BNSendGameData(presenceID, addonPrefix, message) end \ No newline at end of file +function BNSendGameData(presenceID, addonPrefix, message) end diff --git a/api/BNSendSoR.lua b/api/BNSendSoR.lua index 0b2d0ff..12f20f3 100644 --- a/api/BNSendSoR.lua +++ b/api/BNSendSoR.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSendSoR() end \ No newline at end of file +function BNSendSoR() end diff --git a/api/BNSendVerifiedBattleTagInvite.lua b/api/BNSendVerifiedBattleTagInvite.lua index b1bb41d..a2c6e8c 100644 --- a/api/BNSendVerifiedBattleTagInvite.lua +++ b/api/BNSendVerifiedBattleTagInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSendVerifiedBattleTagInvite() end \ No newline at end of file +function BNSendVerifiedBattleTagInvite() end diff --git a/api/BNSendWhisper.lua b/api/BNSendWhisper.lua index 9e6977a..c495ce6 100644 --- a/api/BNSendWhisper.lua +++ b/api/BNSendWhisper.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID number ----@param messageText text +---@param presenceID number +---@param messageText text ---Sends a whisper over Battle.Net -function BNSendWhisper(presenceID, messageText) end \ No newline at end of file +function BNSendWhisper(presenceID, messageText) end diff --git a/api/BNSetAFK.lua b/api/BNSetAFK.lua index cf760ea..5e56de2 100644 --- a/api/BNSetAFK.lua +++ b/api/BNSetAFK.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetAFK() end \ No newline at end of file +function BNSetAFK() end diff --git a/api/BNSetBlocked.lua b/api/BNSetBlocked.lua index 287ecb7..409217f 100644 --- a/api/BNSetBlocked.lua +++ b/api/BNSetBlocked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetBlocked() end \ No newline at end of file +function BNSetBlocked() end diff --git a/api/BNSetCustomMessage.lua b/api/BNSetCustomMessage.lua index 8c87c67..ecf777b 100644 --- a/api/BNSetCustomMessage.lua +++ b/api/BNSetCustomMessage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param broadcastText string +---@param broadcastText string ---Sets the player's current RealID broadcast message. -function BNSetCustomMessage(broadcastText) end \ No newline at end of file +function BNSetCustomMessage(broadcastText) end diff --git a/api/BNSetDND.lua b/api/BNSetDND.lua index 764aa3e..689e340 100644 --- a/api/BNSetDND.lua +++ b/api/BNSetDND.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetDND() end \ No newline at end of file +function BNSetDND() end diff --git a/api/BNSetFocus.lua b/api/BNSetFocus.lua index c217902..de99419 100644 --- a/api/BNSetFocus.lua +++ b/api/BNSetFocus.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetFocus() end \ No newline at end of file +function BNSetFocus() end diff --git a/api/BNSetFriendNote.lua b/api/BNSetFriendNote.lua index 5fe064a..5336aa6 100644 --- a/api/BNSetFriendNote.lua +++ b/api/BNSetFriendNote.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param presenceID number ----@param note string +---@param presenceID number +---@param note string ---Changes the private note for a RealID friend -function BNSetFriendNote(presenceID, note) end \ No newline at end of file +function BNSetFriendNote(presenceID, note) end diff --git a/api/BNSetMatureLanguageFilter.lua b/api/BNSetMatureLanguageFilter.lua index a421d88..ce8a026 100644 --- a/api/BNSetMatureLanguageFilter.lua +++ b/api/BNSetMatureLanguageFilter.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enabled boolean +---@param enabled boolean ---Sets the Mature Language Filter option -function BNSetMatureLanguageFilter(enabled) end \ No newline at end of file +function BNSetMatureLanguageFilter(enabled) end diff --git a/api/BNSetSelectedBlock.lua b/api/BNSetSelectedBlock.lua index 259d91d..d541b6e 100644 --- a/api/BNSetSelectedBlock.lua +++ b/api/BNSetSelectedBlock.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetSelectedBlock() end \ No newline at end of file +function BNSetSelectedBlock() end diff --git a/api/BNSetSelectedFriend.lua b/api/BNSetSelectedFriend.lua index 40810f7..c532c59 100644 --- a/api/BNSetSelectedFriend.lua +++ b/api/BNSetSelectedFriend.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetSelectedFriend() end \ No newline at end of file +function BNSetSelectedFriend() end diff --git a/api/BNSetSelectedToonBlock.lua b/api/BNSetSelectedToonBlock.lua index ce27459..c0cfd95 100644 --- a/api/BNSetSelectedToonBlock.lua +++ b/api/BNSetSelectedToonBlock.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetSelectedToonBlock() end \ No newline at end of file +function BNSetSelectedToonBlock() end diff --git a/api/BNSetToonBlocked.lua b/api/BNSetToonBlocked.lua index 57ef788..c8cf7e8 100644 --- a/api/BNSetToonBlocked.lua +++ b/api/BNSetToonBlocked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSetToonBlocked() end \ No newline at end of file +function BNSetToonBlocked() end diff --git a/api/BNSummonFriendByIndex.lua b/api/BNSummonFriendByIndex.lua index 0a577ec..5b06dc3 100644 --- a/api/BNSummonFriendByIndex.lua +++ b/api/BNSummonFriendByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNSummonFriendByIndex() end \ No newline at end of file +function BNSummonFriendByIndex() end diff --git a/api/BNTokenFindName.lua b/api/BNTokenFindName.lua index 39891ca..8f7079e 100644 --- a/api/BNTokenFindName.lua +++ b/api/BNTokenFindName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BNTokenFindName() end \ No newline at end of file +function BNTokenFindName() end diff --git a/api/BankButtonIDToInvSlotID.lua b/api/BankButtonIDToInvSlotID.lua index 4e8210c..3929c20 100644 --- a/api/BankButtonIDToInvSlotID.lua +++ b/api/BankButtonIDToInvSlotID.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param buttonID number ----@param isBag 1nil ----@return number inventoryID +---@param buttonID number +---@param isBag 1nil +---@return number inventoryID ---Returns the inventoryID corresponding to a bank item or bag slot. The results of this function can be used with GetInventorySlotInfo() and other related inventory functions. -function BankButtonIDToInvSlotID(buttonID, isBag) end \ No newline at end of file +function BankButtonIDToInvSlotID(buttonID, isBag) end diff --git a/api/BarberShopReset.lua b/api/BarberShopReset.lua index 196720e..b22547b 100644 --- a/api/BarberShopReset.lua +++ b/api/BarberShopReset.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Resets barber shop options to the currently worn styles. Changes the underlying data (and thus the character's appearance) only; the default barbershop UI does not update. -function BarberShopReset() end \ No newline at end of file +function BarberShopReset() end diff --git a/api/BattlefieldMgrEntryInviteResponse.lua b/api/BattlefieldMgrEntryInviteResponse.lua index 2485b01..bda3566 100644 --- a/api/BattlefieldMgrEntryInviteResponse.lua +++ b/api/BattlefieldMgrEntryInviteResponse.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BattlefieldMgrEntryInviteResponse() end \ No newline at end of file +function BattlefieldMgrEntryInviteResponse() end diff --git a/api/BattlefieldMgrExitRequest.lua b/api/BattlefieldMgrExitRequest.lua index f7f7693..feaaadf 100644 --- a/api/BattlefieldMgrExitRequest.lua +++ b/api/BattlefieldMgrExitRequest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BattlefieldMgrExitRequest() end \ No newline at end of file +function BattlefieldMgrExitRequest() end diff --git a/api/BattlefieldMgrQueueInviteResponse.lua b/api/BattlefieldMgrQueueInviteResponse.lua index a85dfa2..390a43e 100644 --- a/api/BattlefieldMgrQueueInviteResponse.lua +++ b/api/BattlefieldMgrQueueInviteResponse.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BattlefieldMgrQueueInviteResponse() end \ No newline at end of file +function BattlefieldMgrQueueInviteResponse() end diff --git a/api/BattlefieldMgrQueueRequest.lua b/api/BattlefieldMgrQueueRequest.lua index a9b5066..5d0926a 100644 --- a/api/BattlefieldMgrQueueRequest.lua +++ b/api/BattlefieldMgrQueueRequest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BattlefieldMgrQueueRequest() end \ No newline at end of file +function BattlefieldMgrQueueRequest() end diff --git a/api/BeginTrade.lua b/api/BeginTrade.lua index e118392..3882e31 100644 --- a/api/BeginTrade.lua +++ b/api/BeginTrade.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BeginTrade() end \ No newline at end of file +function BeginTrade() end diff --git a/api/BindEnchant.lua b/api/BindEnchant.lua index f058064..1396c93 100644 --- a/api/BindEnchant.lua +++ b/api/BindEnchant.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Confirms enchanting an item (when the item will become soulbound as a result). Usable following the BIND_ENCHANT event which fires upon attempting to perform an enchantment that would cause the target item to become soulbound. -function BindEnchant() end \ No newline at end of file +function BindEnchant() end diff --git a/api/BreakUpLargeNumbers.lua b/api/BreakUpLargeNumbers.lua index 3a50d9c..65fa4c7 100644 --- a/api/BreakUpLargeNumbers.lua +++ b/api/BreakUpLargeNumbers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BreakUpLargeNumbers() end \ No newline at end of file +function BreakUpLargeNumbers() end diff --git a/api/BuyGuildBankTab.lua b/api/BuyGuildBankTab.lua index ab5d8a2..77ce01a 100644 --- a/api/BuyGuildBankTab.lua +++ b/api/BuyGuildBankTab.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Purchases the next available guild bank tab -function BuyGuildBankTab() end \ No newline at end of file +function BuyGuildBankTab() end diff --git a/api/BuyGuildCharter.lua b/api/BuyGuildCharter.lua index e8c1d63..260de81 100644 --- a/api/BuyGuildCharter.lua +++ b/api/BuyGuildCharter.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param guildName string +---@param guildName string ---Purchases a guild charter. Usable if the player is interacting with a guild registrar (i.e. between the GUILD_REGISTRAR_SHOW and GUILD_REGISTRAR_CLOSED events). -function BuyGuildCharter(guildName) end \ No newline at end of file +function BuyGuildCharter(guildName) end diff --git a/api/BuyMerchantItem.lua b/api/BuyMerchantItem.lua index 7d0ffe3..9073881 100644 --- a/api/BuyMerchantItem.lua +++ b/api/BuyMerchantItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param quantity number +---@param index number +---@param quantity number ---Purchases an item available from a vendor -function BuyMerchantItem(index, quantity) end \ No newline at end of file +function BuyMerchantItem(index, quantity) end diff --git a/api/BuyReagentBank.lua b/api/BuyReagentBank.lua index fc94a2f..db089cf 100644 --- a/api/BuyReagentBank.lua +++ b/api/BuyReagentBank.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function BuyReagentBank() end \ No newline at end of file +function BuyReagentBank() end diff --git a/api/BuyTrainerService.lua b/api/BuyTrainerService.lua index d605353..d46f8c0 100644 --- a/api/BuyTrainerService.lua +++ b/api/BuyTrainerService.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Purchases an ability or recipe available from a trainer -function BuyTrainerService(index) end \ No newline at end of file +function BuyTrainerService(index) end diff --git a/api/BuybackItem.lua b/api/BuybackItem.lua index 5e8ed97..0923cc8 100644 --- a/api/BuybackItem.lua +++ b/api/BuybackItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Repurchases an item recently sold to a vendor -function BuybackItem(index) end \ No newline at end of file +function BuybackItem(index) end diff --git a/api/C_BlackMarket.Close.lua b/api/C_BlackMarket.Close.lua index 601054b..9145380 100644 --- a/api/C_BlackMarket.Close.lua +++ b/api/C_BlackMarket.Close.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_BlackMarket.Close() end \ No newline at end of file +function C_BlackMarket.Close() end diff --git a/api/C_BlackMarket.GetHotItem.lua b/api/C_BlackMarket.GetHotItem.lua index cc67568..a702a57 100644 --- a/api/C_BlackMarket.GetHotItem.lua +++ b/api/C_BlackMarket.GetHotItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_BlackMarket.GetHotItem() end \ No newline at end of file +function C_BlackMarket.GetHotItem() end diff --git a/api/C_BlackMarket.GetItemInfoByID.lua b/api/C_BlackMarket.GetItemInfoByID.lua index 8cd615e..17f60f0 100644 --- a/api/C_BlackMarket.GetItemInfoByID.lua +++ b/api/C_BlackMarket.GetItemInfoByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_BlackMarket.GetItemInfoByID() end \ No newline at end of file +function C_BlackMarket.GetItemInfoByID() end diff --git a/api/C_BlackMarket.GetItemInfoByIndex.lua b/api/C_BlackMarket.GetItemInfoByIndex.lua index 2c4f715..262acb0 100644 --- a/api/C_BlackMarket.GetItemInfoByIndex.lua +++ b/api/C_BlackMarket.GetItemInfoByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_BlackMarket.GetItemInfoByIndex() end \ No newline at end of file +function C_BlackMarket.GetItemInfoByIndex() end diff --git a/api/C_BlackMarket.GetNumItems.lua b/api/C_BlackMarket.GetNumItems.lua index 9b5bca3..3a19093 100644 --- a/api/C_BlackMarket.GetNumItems.lua +++ b/api/C_BlackMarket.GetNumItems.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_BlackMarket.GetNumItems() end \ No newline at end of file +function C_BlackMarket.GetNumItems() end diff --git a/api/C_BlackMarket.ItemPlaceBid.lua b/api/C_BlackMarket.ItemPlaceBid.lua index b84ef4b..08045c3 100644 --- a/api/C_BlackMarket.ItemPlaceBid.lua +++ b/api/C_BlackMarket.ItemPlaceBid.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_BlackMarket.ItemPlaceBid() end \ No newline at end of file +function C_BlackMarket.ItemPlaceBid() end diff --git a/api/C_BlackMarket.RequestItems.lua b/api/C_BlackMarket.RequestItems.lua index 0bd44c0..4ccb442 100644 --- a/api/C_BlackMarket.RequestItems.lua +++ b/api/C_BlackMarket.RequestItems.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests updated black market auction information from the server.. The black market UI must be open according to the server in order for this function to have any effect. -function C_BlackMarket.RequestItems() end \ No newline at end of file +function C_BlackMarket.RequestItems() end diff --git a/api/C_Garrison.AddFollowerToMission.lua b/api/C_Garrison.AddFollowerToMission.lua index e5a88f4..693f362 100644 --- a/api/C_Garrison.AddFollowerToMission.lua +++ b/api/C_Garrison.AddFollowerToMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.AddFollowerToMission() end \ No newline at end of file +function C_Garrison.AddFollowerToMission() end diff --git a/api/C_Garrison.AssignFollowerToBuilding.lua b/api/C_Garrison.AssignFollowerToBuilding.lua index e652616..e938f5f 100644 --- a/api/C_Garrison.AssignFollowerToBuilding.lua +++ b/api/C_Garrison.AssignFollowerToBuilding.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.AssignFollowerToBuilding() end \ No newline at end of file +function C_Garrison.AssignFollowerToBuilding() end diff --git a/api/C_Garrison.CanGenerateRecruits.lua b/api/C_Garrison.CanGenerateRecruits.lua index 7bd1091..b687662 100644 --- a/api/C_Garrison.CanGenerateRecruits.lua +++ b/api/C_Garrison.CanGenerateRecruits.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CanGenerateRecruits() end \ No newline at end of file +function C_Garrison.CanGenerateRecruits() end diff --git a/api/C_Garrison.CanOpenMissionChest.lua b/api/C_Garrison.CanOpenMissionChest.lua index 02f7c5b..cde6344 100644 --- a/api/C_Garrison.CanOpenMissionChest.lua +++ b/api/C_Garrison.CanOpenMissionChest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CanOpenMissionChest() end \ No newline at end of file +function C_Garrison.CanOpenMissionChest() end diff --git a/api/C_Garrison.CanSetRecruitmentPreference.lua b/api/C_Garrison.CanSetRecruitmentPreference.lua index 9af8019..b75ba49 100644 --- a/api/C_Garrison.CanSetRecruitmentPreference.lua +++ b/api/C_Garrison.CanSetRecruitmentPreference.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CanSetRecruitmentPreference() end \ No newline at end of file +function C_Garrison.CanSetRecruitmentPreference() end diff --git a/api/C_Garrison.CanUpgradeGarrison.lua b/api/C_Garrison.CanUpgradeGarrison.lua index 1c06373..e259604 100644 --- a/api/C_Garrison.CanUpgradeGarrison.lua +++ b/api/C_Garrison.CanUpgradeGarrison.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CanUpgradeGarrison() end \ No newline at end of file +function C_Garrison.CanUpgradeGarrison() end diff --git a/api/C_Garrison.CancelConstruction.lua b/api/C_Garrison.CancelConstruction.lua index dfb4f17..7e75bff 100644 --- a/api/C_Garrison.CancelConstruction.lua +++ b/api/C_Garrison.CancelConstruction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CancelConstruction() end \ No newline at end of file +function C_Garrison.CancelConstruction() end diff --git a/api/C_Garrison.CastSpellOnFollower.lua b/api/C_Garrison.CastSpellOnFollower.lua index 00960a1..75e7864 100644 --- a/api/C_Garrison.CastSpellOnFollower.lua +++ b/api/C_Garrison.CastSpellOnFollower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CastSpellOnFollower() end \ No newline at end of file +function C_Garrison.CastSpellOnFollower() end diff --git a/api/C_Garrison.CloseArchitect.lua b/api/C_Garrison.CloseArchitect.lua index b2f68b3..97bdf5c 100644 --- a/api/C_Garrison.CloseArchitect.lua +++ b/api/C_Garrison.CloseArchitect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CloseArchitect() end \ No newline at end of file +function C_Garrison.CloseArchitect() end diff --git a/api/C_Garrison.CloseGarrisonTradeskillNPC.lua b/api/C_Garrison.CloseGarrisonTradeskillNPC.lua index 0804384..c269cd5 100644 --- a/api/C_Garrison.CloseGarrisonTradeskillNPC.lua +++ b/api/C_Garrison.CloseGarrisonTradeskillNPC.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CloseGarrisonTradeskillNPC() end \ No newline at end of file +function C_Garrison.CloseGarrisonTradeskillNPC() end diff --git a/api/C_Garrison.CloseMissionNPC.lua b/api/C_Garrison.CloseMissionNPC.lua index 2f6c05c..fc641bd 100644 --- a/api/C_Garrison.CloseMissionNPC.lua +++ b/api/C_Garrison.CloseMissionNPC.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CloseMissionNPC() end \ No newline at end of file +function C_Garrison.CloseMissionNPC() end diff --git a/api/C_Garrison.CloseRecruitmentNPC.lua b/api/C_Garrison.CloseRecruitmentNPC.lua index c43cbe1..b53317d 100644 --- a/api/C_Garrison.CloseRecruitmentNPC.lua +++ b/api/C_Garrison.CloseRecruitmentNPC.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CloseRecruitmentNPC() end \ No newline at end of file +function C_Garrison.CloseRecruitmentNPC() end diff --git a/api/C_Garrison.CloseTradeskillCrafter.lua b/api/C_Garrison.CloseTradeskillCrafter.lua index 8752749..f30e22b 100644 --- a/api/C_Garrison.CloseTradeskillCrafter.lua +++ b/api/C_Garrison.CloseTradeskillCrafter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.CloseTradeskillCrafter() end \ No newline at end of file +function C_Garrison.CloseTradeskillCrafter() end diff --git a/api/C_Garrison.GenerateRecruits.lua b/api/C_Garrison.GenerateRecruits.lua index a76e498..fb68f0e 100644 --- a/api/C_Garrison.GenerateRecruits.lua +++ b/api/C_Garrison.GenerateRecruits.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GenerateRecruits() end \ No newline at end of file +function C_Garrison.GenerateRecruits() end diff --git a/api/C_Garrison.GetAvailableMissions.lua b/api/C_Garrison.GetAvailableMissions.lua index 616975e..2ee96dd 100644 --- a/api/C_Garrison.GetAvailableMissions.lua +++ b/api/C_Garrison.GetAvailableMissions.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns an array of available missions.. Returns an array of available missions each with the following structure: description: A short description of the mission cost: The cost in resources of the mission duration: The display duration of the mission (45 min) durationSeconds: The duration of the mission in seconds level: The mission level type: The display mission type (Combat) locPrefix: The mission location with prefix (GarrMissionLocation-FrostfireRidge) rewards: A table of the rewards indexed by the reward ID title: Type of reward (currency or xp) quantity: Amount for the reward (item or currency) icon: Display icon for reward (currency or xp) currencyID: ID of currency type (currency only) itemID: ID of item (items only) followerXP: amount of xp (follower xp only) tooltip: string for display in tooltip (xp only) name: display string for reward (xp only) numRewards: Number of rewards for the mission numFollowers: Number of followers the mission may have state: The state of the mission iLevel: The required iLevel for the mission name: The display name for the mission followers: Table of followers assigned to the mission location: The display location for the mission(Frostfire Ridge) isRare: Whether the mission is of rare quality typeAtlas: Prefixed mission type (GarrMission_MissionIcon-Combat) missionID: The ID of the mission that is used for other API calls. -function C_Garrison.GetAvailableMissions() end \ No newline at end of file +function C_Garrison.GetAvailableMissions() end diff --git a/api/C_Garrison.GetAvailableRecruits.lua b/api/C_Garrison.GetAvailableRecruits.lua index 59f97cc..84af660 100644 --- a/api/C_Garrison.GetAvailableRecruits.lua +++ b/api/C_Garrison.GetAvailableRecruits.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetAvailableRecruits() end \ No newline at end of file +function C_Garrison.GetAvailableRecruits() end diff --git a/api/C_Garrison.GetBasicMissionInfo.lua b/api/C_Garrison.GetBasicMissionInfo.lua index 79b5a04..c789c2d 100644 --- a/api/C_Garrison.GetBasicMissionInfo.lua +++ b/api/C_Garrison.GetBasicMissionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBasicMissionInfo() end \ No newline at end of file +function C_Garrison.GetBasicMissionInfo() end diff --git a/api/C_Garrison.GetBuffedFollowersForMission.lua b/api/C_Garrison.GetBuffedFollowersForMission.lua index 5f37034..7cc0405 100644 --- a/api/C_Garrison.GetBuffedFollowersForMission.lua +++ b/api/C_Garrison.GetBuffedFollowersForMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuffedFollowersForMission() end \ No newline at end of file +function C_Garrison.GetBuffedFollowersForMission() end diff --git a/api/C_Garrison.GetBuildingInfo.lua b/api/C_Garrison.GetBuildingInfo.lua index d13dfac..01cea3f 100644 --- a/api/C_Garrison.GetBuildingInfo.lua +++ b/api/C_Garrison.GetBuildingInfo.lua @@ -1,22 +1,22 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param buildingID number ----@return number buildingID ----@return string buildingName ----@return string texturePrefix ----@return string icon ----@return string description ----@return number rank ----@return number currencyID ----@return number currencyAmount ----@return number goldAmount ----@return string timeRequirement ----@return boolean needsPlan ----@return boolean isPreBuilt ----@return table possSpecs ----@return table upgrades ----@return boolean canUpgrade ----@return boolean isMaxLevel ----@return boolean hasFollowerSlot +---@param buildingID number +---@return number buildingID +---@return string buildingName +---@return string texturePrefix +---@return string icon +---@return string description +---@return number rank +---@return number currencyID +---@return number currencyAmount +---@return number goldAmount +---@return string timeRequirement +---@return boolean needsPlan +---@return boolean isPreBuilt +---@return table possSpecs +---@return table upgrades +---@return boolean canUpgrade +---@return boolean isMaxLevel +---@return boolean hasFollowerSlot ---Returns information on a garrison building. For additional information on the character's buildings, check out C_Garrison.GetOwnedBuildingInfo() -function C_Garrison.GetBuildingInfo(buildingID) end \ No newline at end of file +function C_Garrison.GetBuildingInfo(buildingID) end diff --git a/api/C_Garrison.GetBuildingLockInfo.lua b/api/C_Garrison.GetBuildingLockInfo.lua index 4d84fc9..57e71e4 100644 --- a/api/C_Garrison.GetBuildingLockInfo.lua +++ b/api/C_Garrison.GetBuildingLockInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingLockInfo() end \ No newline at end of file +function C_Garrison.GetBuildingLockInfo() end diff --git a/api/C_Garrison.GetBuildingSizes.lua b/api/C_Garrison.GetBuildingSizes.lua index b8a6602..c722c7e 100644 --- a/api/C_Garrison.GetBuildingSizes.lua +++ b/api/C_Garrison.GetBuildingSizes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingSizes() end \ No newline at end of file +function C_Garrison.GetBuildingSizes() end diff --git a/api/C_Garrison.GetBuildingSpecInfo.lua b/api/C_Garrison.GetBuildingSpecInfo.lua index 969a305..fbeda4a 100644 --- a/api/C_Garrison.GetBuildingSpecInfo.lua +++ b/api/C_Garrison.GetBuildingSpecInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingSpecInfo() end \ No newline at end of file +function C_Garrison.GetBuildingSpecInfo() end diff --git a/api/C_Garrison.GetBuildingTimeRemaining.lua b/api/C_Garrison.GetBuildingTimeRemaining.lua index 9b26f85..2f0abb5 100644 --- a/api/C_Garrison.GetBuildingTimeRemaining.lua +++ b/api/C_Garrison.GetBuildingTimeRemaining.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingTimeRemaining() end \ No newline at end of file +function C_Garrison.GetBuildingTimeRemaining() end diff --git a/api/C_Garrison.GetBuildingTooltip.lua b/api/C_Garrison.GetBuildingTooltip.lua index d02e89f..20d63c1 100644 --- a/api/C_Garrison.GetBuildingTooltip.lua +++ b/api/C_Garrison.GetBuildingTooltip.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingTooltip() end \ No newline at end of file +function C_Garrison.GetBuildingTooltip() end diff --git a/api/C_Garrison.GetBuildingUpgradeInfo.lua b/api/C_Garrison.GetBuildingUpgradeInfo.lua index 9d3c411..e3e43a3 100644 --- a/api/C_Garrison.GetBuildingUpgradeInfo.lua +++ b/api/C_Garrison.GetBuildingUpgradeInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingUpgradeInfo() end \ No newline at end of file +function C_Garrison.GetBuildingUpgradeInfo() end diff --git a/api/C_Garrison.GetBuildings.lua b/api/C_Garrison.GetBuildings.lua index 88683ab..62f0812 100644 --- a/api/C_Garrison.GetBuildings.lua +++ b/api/C_Garrison.GetBuildings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildings() end \ No newline at end of file +function C_Garrison.GetBuildings() end diff --git a/api/C_Garrison.GetBuildingsForPlot.lua b/api/C_Garrison.GetBuildingsForPlot.lua index d921db3..1838dac 100644 --- a/api/C_Garrison.GetBuildingsForPlot.lua +++ b/api/C_Garrison.GetBuildingsForPlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingsForPlot() end \ No newline at end of file +function C_Garrison.GetBuildingsForPlot() end diff --git a/api/C_Garrison.GetBuildingsForSize.lua b/api/C_Garrison.GetBuildingsForSize.lua index 7b2b812..7082ad7 100644 --- a/api/C_Garrison.GetBuildingsForSize.lua +++ b/api/C_Garrison.GetBuildingsForSize.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetBuildingsForSize() end \ No newline at end of file +function C_Garrison.GetBuildingsForSize() end diff --git a/api/C_Garrison.GetCompleteMissions.lua b/api/C_Garrison.GetCompleteMissions.lua index d38614c..84dc763 100644 --- a/api/C_Garrison.GetCompleteMissions.lua +++ b/api/C_Garrison.GetCompleteMissions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetCompleteMissions() end \ No newline at end of file +function C_Garrison.GetCompleteMissions() end diff --git a/api/C_Garrison.GetFollowerAbilities.lua b/api/C_Garrison.GetFollowerAbilities.lua index 411c732..a264d10 100644 --- a/api/C_Garrison.GetFollowerAbilities.lua +++ b/api/C_Garrison.GetFollowerAbilities.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilities() end \ No newline at end of file +function C_Garrison.GetFollowerAbilities() end diff --git a/api/C_Garrison.GetFollowerAbilityAtIndex.lua b/api/C_Garrison.GetFollowerAbilityAtIndex.lua index af1f411..d05ec2e 100644 --- a/api/C_Garrison.GetFollowerAbilityAtIndex.lua +++ b/api/C_Garrison.GetFollowerAbilityAtIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityAtIndex() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityAtIndex() end diff --git a/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua b/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua index 96617b1..c48ff91 100644 --- a/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua +++ b/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityAtIndexByID() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityAtIndexByID() end diff --git a/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua b/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua index 6951a5c..2cd3bab 100644 --- a/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua +++ b/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityCounterMechanicInfo() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityCounterMechanicInfo() end diff --git a/api/C_Garrison.GetFollowerAbilityDescription.lua b/api/C_Garrison.GetFollowerAbilityDescription.lua index 3853551..d185077 100644 --- a/api/C_Garrison.GetFollowerAbilityDescription.lua +++ b/api/C_Garrison.GetFollowerAbilityDescription.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityDescription() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityDescription() end diff --git a/api/C_Garrison.GetFollowerAbilityIcon.lua b/api/C_Garrison.GetFollowerAbilityIcon.lua index d87717a..87edde9 100644 --- a/api/C_Garrison.GetFollowerAbilityIcon.lua +++ b/api/C_Garrison.GetFollowerAbilityIcon.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityIcon() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityIcon() end diff --git a/api/C_Garrison.GetFollowerAbilityIsTrait.lua b/api/C_Garrison.GetFollowerAbilityIsTrait.lua index 2b3b903..c015f30 100644 --- a/api/C_Garrison.GetFollowerAbilityIsTrait.lua +++ b/api/C_Garrison.GetFollowerAbilityIsTrait.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityIsTrait() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityIsTrait() end diff --git a/api/C_Garrison.GetFollowerAbilityLink.lua b/api/C_Garrison.GetFollowerAbilityLink.lua index 1568ddd..565dd3e 100644 --- a/api/C_Garrison.GetFollowerAbilityLink.lua +++ b/api/C_Garrison.GetFollowerAbilityLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityLink() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityLink() end diff --git a/api/C_Garrison.GetFollowerAbilityName.lua b/api/C_Garrison.GetFollowerAbilityName.lua index d947d1f..18a6964 100644 --- a/api/C_Garrison.GetFollowerAbilityName.lua +++ b/api/C_Garrison.GetFollowerAbilityName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerAbilityName() end \ No newline at end of file +function C_Garrison.GetFollowerAbilityName() end diff --git a/api/C_Garrison.GetFollowerActivationCost.lua b/api/C_Garrison.GetFollowerActivationCost.lua index ccab169..b9a8c96 100644 --- a/api/C_Garrison.GetFollowerActivationCost.lua +++ b/api/C_Garrison.GetFollowerActivationCost.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerActivationCost() end \ No newline at end of file +function C_Garrison.GetFollowerActivationCost() end diff --git a/api/C_Garrison.GetFollowerBiasForMission.lua b/api/C_Garrison.GetFollowerBiasForMission.lua index 71490a6..3479b6c 100644 --- a/api/C_Garrison.GetFollowerBiasForMission.lua +++ b/api/C_Garrison.GetFollowerBiasForMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerBiasForMission() end \ No newline at end of file +function C_Garrison.GetFollowerBiasForMission() end diff --git a/api/C_Garrison.GetFollowerClassSpec.lua b/api/C_Garrison.GetFollowerClassSpec.lua index d3f98c1..57fc909 100644 --- a/api/C_Garrison.GetFollowerClassSpec.lua +++ b/api/C_Garrison.GetFollowerClassSpec.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerClassSpec() end \ No newline at end of file +function C_Garrison.GetFollowerClassSpec() end diff --git a/api/C_Garrison.GetFollowerClassSpecAtlas.lua b/api/C_Garrison.GetFollowerClassSpecAtlas.lua index 26eeea3..4999e94 100644 --- a/api/C_Garrison.GetFollowerClassSpecAtlas.lua +++ b/api/C_Garrison.GetFollowerClassSpecAtlas.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerClassSpecAtlas() end \ No newline at end of file +function C_Garrison.GetFollowerClassSpecAtlas() end diff --git a/api/C_Garrison.GetFollowerClassSpecByID.lua b/api/C_Garrison.GetFollowerClassSpecByID.lua index 8e2a989..955aaeb 100644 --- a/api/C_Garrison.GetFollowerClassSpecByID.lua +++ b/api/C_Garrison.GetFollowerClassSpecByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerClassSpecByID() end \ No newline at end of file +function C_Garrison.GetFollowerClassSpecByID() end diff --git a/api/C_Garrison.GetFollowerClassSpecName.lua b/api/C_Garrison.GetFollowerClassSpecName.lua index 267a096..c8f1851 100644 --- a/api/C_Garrison.GetFollowerClassSpecName.lua +++ b/api/C_Garrison.GetFollowerClassSpecName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerClassSpecName() end \ No newline at end of file +function C_Garrison.GetFollowerClassSpecName() end diff --git a/api/C_Garrison.GetFollowerDisplayID.lua b/api/C_Garrison.GetFollowerDisplayID.lua index ec25cfb..798efd6 100644 --- a/api/C_Garrison.GetFollowerDisplayID.lua +++ b/api/C_Garrison.GetFollowerDisplayID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerDisplayID() end \ No newline at end of file +function C_Garrison.GetFollowerDisplayID() end diff --git a/api/C_Garrison.GetFollowerDisplayIDByID.lua b/api/C_Garrison.GetFollowerDisplayIDByID.lua index 885c026..ce5e064 100644 --- a/api/C_Garrison.GetFollowerDisplayIDByID.lua +++ b/api/C_Garrison.GetFollowerDisplayIDByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerDisplayIDByID() end \ No newline at end of file +function C_Garrison.GetFollowerDisplayIDByID() end diff --git a/api/C_Garrison.GetFollowerInfo.lua b/api/C_Garrison.GetFollowerInfo.lua index e0c5809..ec4f274 100644 --- a/api/C_Garrison.GetFollowerInfo.lua +++ b/api/C_Garrison.GetFollowerInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerInfo() end \ No newline at end of file +function C_Garrison.GetFollowerInfo() end diff --git a/api/C_Garrison.GetFollowerInfoForBuilding.lua b/api/C_Garrison.GetFollowerInfoForBuilding.lua index c77833f..34673ad 100644 --- a/api/C_Garrison.GetFollowerInfoForBuilding.lua +++ b/api/C_Garrison.GetFollowerInfoForBuilding.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param plotID number ----@return string name ----@return number level ----@return number quality ----@return number displayID ----@return number followerID ----@return string garrFollowerID ----@return number status ----@return number portraitIconID +---@param plotID number +---@return string name +---@return number level +---@return number quality +---@return number displayID +---@return number followerID +---@return string garrFollowerID +---@return number status +---@return number portraitIconID ---Returns info about a follower assigned to a building. This will return information about the follower (if any) assigned to the building on the specified plot. Note that this function takes a plot ID, not a building ID. To query for the follower at, say, the Enchanter's Study, one would have to first find the plot where the study is and then give that plot ID to this function. -function C_Garrison.GetFollowerInfoForBuilding(plotID) end \ No newline at end of file +function C_Garrison.GetFollowerInfoForBuilding(plotID) end diff --git a/api/C_Garrison.GetFollowerItemLevelAverage.lua b/api/C_Garrison.GetFollowerItemLevelAverage.lua index 1dda0c0..d6ed252 100644 --- a/api/C_Garrison.GetFollowerItemLevelAverage.lua +++ b/api/C_Garrison.GetFollowerItemLevelAverage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerItemLevelAverage() end \ No newline at end of file +function C_Garrison.GetFollowerItemLevelAverage() end diff --git a/api/C_Garrison.GetFollowerItems.lua b/api/C_Garrison.GetFollowerItems.lua index 5697b5a..7532b5b 100644 --- a/api/C_Garrison.GetFollowerItems.lua +++ b/api/C_Garrison.GetFollowerItems.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerItems() end \ No newline at end of file +function C_Garrison.GetFollowerItems() end diff --git a/api/C_Garrison.GetFollowerLevel.lua b/api/C_Garrison.GetFollowerLevel.lua index f41005f..a283063 100644 --- a/api/C_Garrison.GetFollowerLevel.lua +++ b/api/C_Garrison.GetFollowerLevel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerLevel() end \ No newline at end of file +function C_Garrison.GetFollowerLevel() end diff --git a/api/C_Garrison.GetFollowerLevelXP.lua b/api/C_Garrison.GetFollowerLevelXP.lua index e5f2cb2..5e92f66 100644 --- a/api/C_Garrison.GetFollowerLevelXP.lua +++ b/api/C_Garrison.GetFollowerLevelXP.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerLevelXP() end \ No newline at end of file +function C_Garrison.GetFollowerLevelXP() end diff --git a/api/C_Garrison.GetFollowerLink.lua b/api/C_Garrison.GetFollowerLink.lua index 9ee0c90..9fea254 100644 --- a/api/C_Garrison.GetFollowerLink.lua +++ b/api/C_Garrison.GetFollowerLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerLink() end \ No newline at end of file +function C_Garrison.GetFollowerLink() end diff --git a/api/C_Garrison.GetFollowerLinkByID.lua b/api/C_Garrison.GetFollowerLinkByID.lua index 1456ff2..5cc0f23 100644 --- a/api/C_Garrison.GetFollowerLinkByID.lua +++ b/api/C_Garrison.GetFollowerLinkByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerLinkByID() end \ No newline at end of file +function C_Garrison.GetFollowerLinkByID() end diff --git a/api/C_Garrison.GetFollowerMissionCompleteInfo.lua b/api/C_Garrison.GetFollowerMissionCompleteInfo.lua index 606402d..48821b6 100644 --- a/api/C_Garrison.GetFollowerMissionCompleteInfo.lua +++ b/api/C_Garrison.GetFollowerMissionCompleteInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerMissionCompleteInfo() end \ No newline at end of file +function C_Garrison.GetFollowerMissionCompleteInfo() end diff --git a/api/C_Garrison.GetFollowerModelItems.lua b/api/C_Garrison.GetFollowerModelItems.lua index d1de6cf..9bd218a 100644 --- a/api/C_Garrison.GetFollowerModelItems.lua +++ b/api/C_Garrison.GetFollowerModelItems.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerModelItems() end \ No newline at end of file +function C_Garrison.GetFollowerModelItems() end diff --git a/api/C_Garrison.GetFollowerName.lua b/api/C_Garrison.GetFollowerName.lua index 23528d5..edf7b5a 100644 --- a/api/C_Garrison.GetFollowerName.lua +++ b/api/C_Garrison.GetFollowerName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerName() end \ No newline at end of file +function C_Garrison.GetFollowerName() end diff --git a/api/C_Garrison.GetFollowerNameByID.lua b/api/C_Garrison.GetFollowerNameByID.lua index 7d05905..3fcf6b0 100644 --- a/api/C_Garrison.GetFollowerNameByID.lua +++ b/api/C_Garrison.GetFollowerNameByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerNameByID() end \ No newline at end of file +function C_Garrison.GetFollowerNameByID() end diff --git a/api/C_Garrison.GetFollowerPortraitIconIDByID.lua b/api/C_Garrison.GetFollowerPortraitIconIDByID.lua index edb3ffe..c9420be 100644 --- a/api/C_Garrison.GetFollowerPortraitIconIDByID.lua +++ b/api/C_Garrison.GetFollowerPortraitIconIDByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerPortraitIconIDByID() end \ No newline at end of file +function C_Garrison.GetFollowerPortraitIconIDByID() end diff --git a/api/C_Garrison.GetFollowerQuality.lua b/api/C_Garrison.GetFollowerQuality.lua index 974d61a..c544b4e 100644 --- a/api/C_Garrison.GetFollowerQuality.lua +++ b/api/C_Garrison.GetFollowerQuality.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerQuality() end \ No newline at end of file +function C_Garrison.GetFollowerQuality() end diff --git a/api/C_Garrison.GetFollowerQualityTable.lua b/api/C_Garrison.GetFollowerQualityTable.lua index c019425..a5850b0 100644 --- a/api/C_Garrison.GetFollowerQualityTable.lua +++ b/api/C_Garrison.GetFollowerQualityTable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerQualityTable() end \ No newline at end of file +function C_Garrison.GetFollowerQualityTable() end diff --git a/api/C_Garrison.GetFollowerSoftCap.lua b/api/C_Garrison.GetFollowerSoftCap.lua index f7baa52..90fde30 100644 --- a/api/C_Garrison.GetFollowerSoftCap.lua +++ b/api/C_Garrison.GetFollowerSoftCap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerSoftCap() end \ No newline at end of file +function C_Garrison.GetFollowerSoftCap() end diff --git a/api/C_Garrison.GetFollowerSourceTextByID.lua b/api/C_Garrison.GetFollowerSourceTextByID.lua index bdc5e1c..cfc8ff8 100644 --- a/api/C_Garrison.GetFollowerSourceTextByID.lua +++ b/api/C_Garrison.GetFollowerSourceTextByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerSourceTextByID() end \ No newline at end of file +function C_Garrison.GetFollowerSourceTextByID() end diff --git a/api/C_Garrison.GetFollowerStatus.lua b/api/C_Garrison.GetFollowerStatus.lua index fbc1cff..6acf0ad 100644 --- a/api/C_Garrison.GetFollowerStatus.lua +++ b/api/C_Garrison.GetFollowerStatus.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerStatus() end \ No newline at end of file +function C_Garrison.GetFollowerStatus() end diff --git a/api/C_Garrison.GetFollowerTraitAtIndex.lua b/api/C_Garrison.GetFollowerTraitAtIndex.lua index be8c6ff..662b049 100644 --- a/api/C_Garrison.GetFollowerTraitAtIndex.lua +++ b/api/C_Garrison.GetFollowerTraitAtIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerTraitAtIndex() end \ No newline at end of file +function C_Garrison.GetFollowerTraitAtIndex() end diff --git a/api/C_Garrison.GetFollowerTraitAtIndexByID.lua b/api/C_Garrison.GetFollowerTraitAtIndexByID.lua index 67484b3..736f85e 100644 --- a/api/C_Garrison.GetFollowerTraitAtIndexByID.lua +++ b/api/C_Garrison.GetFollowerTraitAtIndexByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerTraitAtIndexByID() end \ No newline at end of file +function C_Garrison.GetFollowerTraitAtIndexByID() end diff --git a/api/C_Garrison.GetFollowerXP.lua b/api/C_Garrison.GetFollowerXP.lua index b726557..d7cece0 100644 --- a/api/C_Garrison.GetFollowerXP.lua +++ b/api/C_Garrison.GetFollowerXP.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerXP() end \ No newline at end of file +function C_Garrison.GetFollowerXP() end diff --git a/api/C_Garrison.GetFollowerXPTable.lua b/api/C_Garrison.GetFollowerXPTable.lua index b24b2aa..fe7770c 100644 --- a/api/C_Garrison.GetFollowerXPTable.lua +++ b/api/C_Garrison.GetFollowerXPTable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowerXPTable() end \ No newline at end of file +function C_Garrison.GetFollowerXPTable() end diff --git a/api/C_Garrison.GetFollowers.lua b/api/C_Garrison.GetFollowers.lua index f0adcaf..d7e755c 100644 --- a/api/C_Garrison.GetFollowers.lua +++ b/api/C_Garrison.GetFollowers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowers() end \ No newline at end of file +function C_Garrison.GetFollowers() end diff --git a/api/C_Garrison.GetFollowersTraitsForMission.lua b/api/C_Garrison.GetFollowersTraitsForMission.lua index b7f2019..486b27d 100644 --- a/api/C_Garrison.GetFollowersTraitsForMission.lua +++ b/api/C_Garrison.GetFollowersTraitsForMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetFollowersTraitsForMission() end \ No newline at end of file +function C_Garrison.GetFollowersTraitsForMission() end diff --git a/api/C_Garrison.GetGarrisonInfo.lua b/api/C_Garrison.GetGarrisonInfo.lua index 156c6e8..0cf11d1 100644 --- a/api/C_Garrison.GetGarrisonInfo.lua +++ b/api/C_Garrison.GetGarrisonInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetGarrisonInfo() end \ No newline at end of file +function C_Garrison.GetGarrisonInfo() end diff --git a/api/C_Garrison.GetGarrisonUpgradeCost.lua b/api/C_Garrison.GetGarrisonUpgradeCost.lua index 5298d65..b05d9ae 100644 --- a/api/C_Garrison.GetGarrisonUpgradeCost.lua +++ b/api/C_Garrison.GetGarrisonUpgradeCost.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetGarrisonUpgradeCost() end \ No newline at end of file +function C_Garrison.GetGarrisonUpgradeCost() end diff --git a/api/C_Garrison.GetInProgressMissions.lua b/api/C_Garrison.GetInProgressMissions.lua index 24ebcf1..511f0cd 100644 --- a/api/C_Garrison.GetInProgressMissions.lua +++ b/api/C_Garrison.GetInProgressMissions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetInProgressMissions() end \ No newline at end of file +function C_Garrison.GetInProgressMissions() end diff --git a/api/C_Garrison.GetLandingPageItems.lua b/api/C_Garrison.GetLandingPageItems.lua index 44baed5..4945f05 100644 --- a/api/C_Garrison.GetLandingPageItems.lua +++ b/api/C_Garrison.GetLandingPageItems.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetLandingPageItems() end \ No newline at end of file +function C_Garrison.GetLandingPageItems() end diff --git a/api/C_Garrison.GetLandingPageShipmentCount.lua b/api/C_Garrison.GetLandingPageShipmentCount.lua index 008ad59..c9a3b0f 100644 --- a/api/C_Garrison.GetLandingPageShipmentCount.lua +++ b/api/C_Garrison.GetLandingPageShipmentCount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetLandingPageShipmentCount() end \ No newline at end of file +function C_Garrison.GetLandingPageShipmentCount() end diff --git a/api/C_Garrison.GetLandingPageShipmentInfo.lua b/api/C_Garrison.GetLandingPageShipmentInfo.lua index efb9b13..04557ff 100644 --- a/api/C_Garrison.GetLandingPageShipmentInfo.lua +++ b/api/C_Garrison.GetLandingPageShipmentInfo.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return string texture ----@return number shipmentCapacity ----@return number shipmentsTotal ----@return number creationTime ----@return number duration ----@return string timeLeftString ----@return string itemName ----@return string itemIcon ----@return number itemQuality ----@return number itemID +---@return string name +---@return string texture +---@return number shipmentCapacity +---@return number shipmentsTotal +---@return number creationTime +---@return number duration +---@return string timeLeftString +---@return string itemName +---@return string itemIcon +---@return number itemQuality +---@return number itemID ---Returns info about a particular Garrison Building's shipments. -function C_Garrison.GetLandingPageShipmentInfo() end \ No newline at end of file +function C_Garrison.GetLandingPageShipmentInfo() end diff --git a/api/C_Garrison.GetMissionCompleteEncounters.lua b/api/C_Garrison.GetMissionCompleteEncounters.lua index 21f1ee5..3ad9fad 100644 --- a/api/C_Garrison.GetMissionCompleteEncounters.lua +++ b/api/C_Garrison.GetMissionCompleteEncounters.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionCompleteEncounters() end \ No newline at end of file +function C_Garrison.GetMissionCompleteEncounters() end diff --git a/api/C_Garrison.GetMissionDisplayIDs.lua b/api/C_Garrison.GetMissionDisplayIDs.lua index f1d83a7..421e2d1 100644 --- a/api/C_Garrison.GetMissionDisplayIDs.lua +++ b/api/C_Garrison.GetMissionDisplayIDs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionDisplayIDs() end \ No newline at end of file +function C_Garrison.GetMissionDisplayIDs() end diff --git a/api/C_Garrison.GetMissionInfo.lua b/api/C_Garrison.GetMissionInfo.lua index fd2f440..11b78d9 100644 --- a/api/C_Garrison.GetMissionInfo.lua +++ b/api/C_Garrison.GetMissionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionInfo() end \ No newline at end of file +function C_Garrison.GetMissionInfo() end diff --git a/api/C_Garrison.GetMissionLink.lua b/api/C_Garrison.GetMissionLink.lua index 1374b9b..9fd1a1e 100644 --- a/api/C_Garrison.GetMissionLink.lua +++ b/api/C_Garrison.GetMissionLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionLink() end \ No newline at end of file +function C_Garrison.GetMissionLink() end diff --git a/api/C_Garrison.GetMissionMaxFollowers.lua b/api/C_Garrison.GetMissionMaxFollowers.lua index dc11856..fb54b4c 100644 --- a/api/C_Garrison.GetMissionMaxFollowers.lua +++ b/api/C_Garrison.GetMissionMaxFollowers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionMaxFollowers() end \ No newline at end of file +function C_Garrison.GetMissionMaxFollowers() end diff --git a/api/C_Garrison.GetMissionName.lua b/api/C_Garrison.GetMissionName.lua index f2d0694..348851f 100644 --- a/api/C_Garrison.GetMissionName.lua +++ b/api/C_Garrison.GetMissionName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionName() end \ No newline at end of file +function C_Garrison.GetMissionName() end diff --git a/api/C_Garrison.GetMissionRewardInfo.lua b/api/C_Garrison.GetMissionRewardInfo.lua index e036fb8..37e9f69 100644 --- a/api/C_Garrison.GetMissionRewardInfo.lua +++ b/api/C_Garrison.GetMissionRewardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionRewardInfo() end \ No newline at end of file +function C_Garrison.GetMissionRewardInfo() end diff --git a/api/C_Garrison.GetMissionTimes.lua b/api/C_Garrison.GetMissionTimes.lua index 6e48c22..24db61a 100644 --- a/api/C_Garrison.GetMissionTimes.lua +++ b/api/C_Garrison.GetMissionTimes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionTimes() end \ No newline at end of file +function C_Garrison.GetMissionTimes() end diff --git a/api/C_Garrison.GetMissionUncounteredMechanics.lua b/api/C_Garrison.GetMissionUncounteredMechanics.lua index 34e9bc9..34567ac 100644 --- a/api/C_Garrison.GetMissionUncounteredMechanics.lua +++ b/api/C_Garrison.GetMissionUncounteredMechanics.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetMissionUncounteredMechanics() end \ No newline at end of file +function C_Garrison.GetMissionUncounteredMechanics() end diff --git a/api/C_Garrison.GetNumActiveFollowers.lua b/api/C_Garrison.GetNumActiveFollowers.lua index 79bd609..430e3f2 100644 --- a/api/C_Garrison.GetNumActiveFollowers.lua +++ b/api/C_Garrison.GetNumActiveFollowers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumActiveFollowers() end \ No newline at end of file +function C_Garrison.GetNumActiveFollowers() end diff --git a/api/C_Garrison.GetNumFollowerActivationsRemaining.lua b/api/C_Garrison.GetNumFollowerActivationsRemaining.lua index d58c414..5a9ab16 100644 --- a/api/C_Garrison.GetNumFollowerActivationsRemaining.lua +++ b/api/C_Garrison.GetNumFollowerActivationsRemaining.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumFollowerActivationsRemaining() end \ No newline at end of file +function C_Garrison.GetNumFollowerActivationsRemaining() end diff --git a/api/C_Garrison.GetNumFollowerDailyActivations.lua b/api/C_Garrison.GetNumFollowerDailyActivations.lua index 79bf6fa..2fc6b99 100644 --- a/api/C_Garrison.GetNumFollowerDailyActivations.lua +++ b/api/C_Garrison.GetNumFollowerDailyActivations.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumFollowerDailyActivations() end \ No newline at end of file +function C_Garrison.GetNumFollowerDailyActivations() end diff --git a/api/C_Garrison.GetNumFollowers.lua b/api/C_Garrison.GetNumFollowers.lua index edc7de7..0acacf8 100644 --- a/api/C_Garrison.GetNumFollowers.lua +++ b/api/C_Garrison.GetNumFollowers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumFollowers() end \ No newline at end of file +function C_Garrison.GetNumFollowers() end diff --git a/api/C_Garrison.GetNumFollowersOnMission.lua b/api/C_Garrison.GetNumFollowersOnMission.lua index ac60122..05ccfee 100644 --- a/api/C_Garrison.GetNumFollowersOnMission.lua +++ b/api/C_Garrison.GetNumFollowersOnMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumFollowersOnMission() end \ No newline at end of file +function C_Garrison.GetNumFollowersOnMission() end diff --git a/api/C_Garrison.GetNumPendingShipments.lua b/api/C_Garrison.GetNumPendingShipments.lua index d722e0c..ea850d4 100644 --- a/api/C_Garrison.GetNumPendingShipments.lua +++ b/api/C_Garrison.GetNumPendingShipments.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumPendingShipments() end \ No newline at end of file +function C_Garrison.GetNumPendingShipments() end diff --git a/api/C_Garrison.GetNumShipmentReagents.lua b/api/C_Garrison.GetNumShipmentReagents.lua index 32d9329..f942f43 100644 --- a/api/C_Garrison.GetNumShipmentReagents.lua +++ b/api/C_Garrison.GetNumShipmentReagents.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetNumShipmentReagents() end \ No newline at end of file +function C_Garrison.GetNumShipmentReagents() end diff --git a/api/C_Garrison.GetOwnedBuildingInfo.lua b/api/C_Garrison.GetOwnedBuildingInfo.lua index c854cc5..06abaca 100644 --- a/api/C_Garrison.GetOwnedBuildingInfo.lua +++ b/api/C_Garrison.GetOwnedBuildingInfo.lua @@ -1,30 +1,30 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param plotID number ----@return number buildingID ----@return string buildingName ----@return string texturePrefix ----@return string icon ----@return string description ----@return number rank ----@return number currencyID ----@return number currencyAmount ----@return number goldAmount ----@return string timeRequirement ----@return boolean needsPlan ----@return boolean isPreBuilt ----@return table possSpecs ----@return table upgrades ----@return boolean canUpgrade ----@return boolean isMaxLevel ----@return boolean hasFollowerSlot ----@return table knownSpecs ----@return number currentSpec ----@return numbernil specCooldown ----@return boolean isBeingBuilt ----@return number timeStarted ----@return number buildDuration ----@return string timeRemainingText ----@return boolean canCompleteBuild +---@param plotID number +---@return number buildingID +---@return string buildingName +---@return string texturePrefix +---@return string icon +---@return string description +---@return number rank +---@return number currencyID +---@return number currencyAmount +---@return number goldAmount +---@return string timeRequirement +---@return boolean needsPlan +---@return boolean isPreBuilt +---@return table possSpecs +---@return table upgrades +---@return boolean canUpgrade +---@return boolean isMaxLevel +---@return boolean hasFollowerSlot +---@return table knownSpecs +---@return number currentSpec +---@return numbernil specCooldown +---@return boolean isBeingBuilt +---@return number timeStarted +---@return number buildDuration +---@return string timeRemainingText +---@return boolean canCompleteBuild ---Returns information on a building in the character's garrison -function C_Garrison.GetOwnedBuildingInfo(plotID) end \ No newline at end of file +function C_Garrison.GetOwnedBuildingInfo(plotID) end diff --git a/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua b/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua index d34fcce..18f56ea 100644 --- a/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua +++ b/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param plotID number ----@return number buildingID ----@return string buildingName ----@return string texturePrefix ----@return string icon ----@return number rank ----@return boolean isBeingBuilt ----@return number timeStarted ----@return number buildDuration ----@return boolean canCompleteBuild ----@return boolean canUpgrade ----@return boolean isPreBuilt +---@param plotID number +---@return number buildingID +---@return string buildingName +---@return string texturePrefix +---@return string icon +---@return number rank +---@return boolean isBeingBuilt +---@return number timeStarted +---@return number buildDuration +---@return boolean canCompleteBuild +---@return boolean canUpgrade +---@return boolean isPreBuilt ---Returns basic information on garrison buildings.. For additional information, see C_Garrison.GetOwnedBuildingInfo() -function C_Garrison.GetOwnedBuildingInfoAbbrev(plotID) end \ No newline at end of file +function C_Garrison.GetOwnedBuildingInfoAbbrev(plotID) end diff --git a/api/C_Garrison.GetPartyBuffs.lua b/api/C_Garrison.GetPartyBuffs.lua index bc2390e..de8b283 100644 --- a/api/C_Garrison.GetPartyBuffs.lua +++ b/api/C_Garrison.GetPartyBuffs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetPartyBuffs() end \ No newline at end of file +function C_Garrison.GetPartyBuffs() end diff --git a/api/C_Garrison.GetPartyMissionInfo.lua b/api/C_Garrison.GetPartyMissionInfo.lua index 7b3d6a5..43bd5c3 100644 --- a/api/C_Garrison.GetPartyMissionInfo.lua +++ b/api/C_Garrison.GetPartyMissionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetPartyMissionInfo() end \ No newline at end of file +function C_Garrison.GetPartyMissionInfo() end diff --git a/api/C_Garrison.GetPendingShipmentInfo.lua b/api/C_Garrison.GetPendingShipmentInfo.lua index 69cc665..737de6b 100644 --- a/api/C_Garrison.GetPendingShipmentInfo.lua +++ b/api/C_Garrison.GetPendingShipmentInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetPendingShipmentInfo() end \ No newline at end of file +function C_Garrison.GetPendingShipmentInfo() end diff --git a/api/C_Garrison.GetPlots.lua b/api/C_Garrison.GetPlots.lua index e94b136..f9dcaad 100644 --- a/api/C_Garrison.GetPlots.lua +++ b/api/C_Garrison.GetPlots.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetPlots() end \ No newline at end of file +function C_Garrison.GetPlots() end diff --git a/api/C_Garrison.GetPlotsForBuilding.lua b/api/C_Garrison.GetPlotsForBuilding.lua index 4acf08c..ce3a789 100644 --- a/api/C_Garrison.GetPlotsForBuilding.lua +++ b/api/C_Garrison.GetPlotsForBuilding.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetPlotsForBuilding() end \ No newline at end of file +function C_Garrison.GetPlotsForBuilding() end diff --git a/api/C_Garrison.GetPossibleFollowersForBuilding.lua b/api/C_Garrison.GetPossibleFollowersForBuilding.lua index 9e06e10..b018120 100644 --- a/api/C_Garrison.GetPossibleFollowersForBuilding.lua +++ b/api/C_Garrison.GetPossibleFollowersForBuilding.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetPossibleFollowersForBuilding() end \ No newline at end of file +function C_Garrison.GetPossibleFollowersForBuilding() end diff --git a/api/C_Garrison.GetRecruitAbilities.lua b/api/C_Garrison.GetRecruitAbilities.lua index 53784d8..7e31f4e 100644 --- a/api/C_Garrison.GetRecruitAbilities.lua +++ b/api/C_Garrison.GetRecruitAbilities.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetRecruitAbilities() end \ No newline at end of file +function C_Garrison.GetRecruitAbilities() end diff --git a/api/C_Garrison.GetRecruiterAbilityCategories.lua b/api/C_Garrison.GetRecruiterAbilityCategories.lua index 78894c3..5a23184 100644 --- a/api/C_Garrison.GetRecruiterAbilityCategories.lua +++ b/api/C_Garrison.GetRecruiterAbilityCategories.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetRecruiterAbilityCategories() end \ No newline at end of file +function C_Garrison.GetRecruiterAbilityCategories() end diff --git a/api/C_Garrison.GetRecruiterAbilityList.lua b/api/C_Garrison.GetRecruiterAbilityList.lua index 182f4a5..a76cf91 100644 --- a/api/C_Garrison.GetRecruiterAbilityList.lua +++ b/api/C_Garrison.GetRecruiterAbilityList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetRecruiterAbilityList() end \ No newline at end of file +function C_Garrison.GetRecruiterAbilityList() end diff --git a/api/C_Garrison.GetRecruitmentPreferences.lua b/api/C_Garrison.GetRecruitmentPreferences.lua index 608adae..a7932a8 100644 --- a/api/C_Garrison.GetRecruitmentPreferences.lua +++ b/api/C_Garrison.GetRecruitmentPreferences.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetRecruitmentPreferences() end \ No newline at end of file +function C_Garrison.GetRecruitmentPreferences() end diff --git a/api/C_Garrison.GetRewardChance.lua b/api/C_Garrison.GetRewardChance.lua index c42cfd1..d4b1625 100644 --- a/api/C_Garrison.GetRewardChance.lua +++ b/api/C_Garrison.GetRewardChance.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetRewardChance() end \ No newline at end of file +function C_Garrison.GetRewardChance() end diff --git a/api/C_Garrison.GetShipmentContainerInfo.lua b/api/C_Garrison.GetShipmentContainerInfo.lua index 2093f39..68fa176 100644 --- a/api/C_Garrison.GetShipmentContainerInfo.lua +++ b/api/C_Garrison.GetShipmentContainerInfo.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string prefix ----@return string pendingText ----@return string description +---@return string prefix +---@return string pendingText +---@return string description ---Returns text used by the work order UI. -function C_Garrison.GetShipmentContainerInfo() end \ No newline at end of file +function C_Garrison.GetShipmentContainerInfo() end diff --git a/api/C_Garrison.GetShipmentItemInfo.lua b/api/C_Garrison.GetShipmentItemInfo.lua index c4c1a4f..1f36664 100644 --- a/api/C_Garrison.GetShipmentItemInfo.lua +++ b/api/C_Garrison.GetShipmentItemInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetShipmentItemInfo() end \ No newline at end of file +function C_Garrison.GetShipmentItemInfo() end diff --git a/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua b/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua index 47b11cb..6fc0bec 100644 --- a/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua +++ b/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetShipmentReagentCurrencyInfo() end \ No newline at end of file +function C_Garrison.GetShipmentReagentCurrencyInfo() end diff --git a/api/C_Garrison.GetShipmentReagentInfo.lua b/api/C_Garrison.GetShipmentReagentInfo.lua index 7973805..70c7a56 100644 --- a/api/C_Garrison.GetShipmentReagentInfo.lua +++ b/api/C_Garrison.GetShipmentReagentInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetShipmentReagentInfo() end \ No newline at end of file +function C_Garrison.GetShipmentReagentInfo() end diff --git a/api/C_Garrison.GetShipmentReagentItemLink.lua b/api/C_Garrison.GetShipmentReagentItemLink.lua index bf86e18..4490509 100644 --- a/api/C_Garrison.GetShipmentReagentItemLink.lua +++ b/api/C_Garrison.GetShipmentReagentItemLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetShipmentReagentItemLink() end \ No newline at end of file +function C_Garrison.GetShipmentReagentItemLink() end diff --git a/api/C_Garrison.GetSpecChangeCost.lua b/api/C_Garrison.GetSpecChangeCost.lua index e479d8e..57db6ee 100644 --- a/api/C_Garrison.GetSpecChangeCost.lua +++ b/api/C_Garrison.GetSpecChangeCost.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetSpecChangeCost() end \ No newline at end of file +function C_Garrison.GetSpecChangeCost() end diff --git a/api/C_Garrison.GetTabForPlot.lua b/api/C_Garrison.GetTabForPlot.lua index 26d2c19..f3b37da 100644 --- a/api/C_Garrison.GetTabForPlot.lua +++ b/api/C_Garrison.GetTabForPlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.GetTabForPlot() end \ No newline at end of file +function C_Garrison.GetTabForPlot() end diff --git a/api/C_Garrison.IsAboveFollowerSoftCap.lua b/api/C_Garrison.IsAboveFollowerSoftCap.lua index 0f16435..05d14b5 100644 --- a/api/C_Garrison.IsAboveFollowerSoftCap.lua +++ b/api/C_Garrison.IsAboveFollowerSoftCap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsAboveFollowerSoftCap() end \ No newline at end of file +function C_Garrison.IsAboveFollowerSoftCap() end diff --git a/api/C_Garrison.IsFollowerCollected.lua b/api/C_Garrison.IsFollowerCollected.lua index 266344a..5b33baa 100644 --- a/api/C_Garrison.IsFollowerCollected.lua +++ b/api/C_Garrison.IsFollowerCollected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsFollowerCollected() end \ No newline at end of file +function C_Garrison.IsFollowerCollected() end diff --git a/api/C_Garrison.IsFollowerUnique.lua b/api/C_Garrison.IsFollowerUnique.lua index 32296f0..62f1734 100644 --- a/api/C_Garrison.IsFollowerUnique.lua +++ b/api/C_Garrison.IsFollowerUnique.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsFollowerUnique() end \ No newline at end of file +function C_Garrison.IsFollowerUnique() end diff --git a/api/C_Garrison.IsInvasionAvailable.lua b/api/C_Garrison.IsInvasionAvailable.lua index a5a81a1..1023eab 100644 --- a/api/C_Garrison.IsInvasionAvailable.lua +++ b/api/C_Garrison.IsInvasionAvailable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsInvasionAvailable() end \ No newline at end of file +function C_Garrison.IsInvasionAvailable() end diff --git a/api/C_Garrison.IsOnGarrisonMap.lua b/api/C_Garrison.IsOnGarrisonMap.lua index 3ae6dcb..5742c03 100644 --- a/api/C_Garrison.IsOnGarrisonMap.lua +++ b/api/C_Garrison.IsOnGarrisonMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsOnGarrisonMap() end \ No newline at end of file +function C_Garrison.IsOnGarrisonMap() end diff --git a/api/C_Garrison.IsUsingPartyGarrison.lua b/api/C_Garrison.IsUsingPartyGarrison.lua index a6e79af..564adc2 100644 --- a/api/C_Garrison.IsUsingPartyGarrison.lua +++ b/api/C_Garrison.IsUsingPartyGarrison.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsUsingPartyGarrison() end \ No newline at end of file +function C_Garrison.IsUsingPartyGarrison() end diff --git a/api/C_Garrison.IsVisitGarrisonAvailable.lua b/api/C_Garrison.IsVisitGarrisonAvailable.lua index e9b28ce..66bca9c 100644 --- a/api/C_Garrison.IsVisitGarrisonAvailable.lua +++ b/api/C_Garrison.IsVisitGarrisonAvailable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.IsVisitGarrisonAvailable() end \ No newline at end of file +function C_Garrison.IsVisitGarrisonAvailable() end diff --git a/api/C_Garrison.MarkMissionComplete.lua b/api/C_Garrison.MarkMissionComplete.lua index cc654d2..843530f 100644 --- a/api/C_Garrison.MarkMissionComplete.lua +++ b/api/C_Garrison.MarkMissionComplete.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.MarkMissionComplete() end \ No newline at end of file +function C_Garrison.MarkMissionComplete() end diff --git a/api/C_Garrison.MissionBonusRoll.lua b/api/C_Garrison.MissionBonusRoll.lua index a92bffd..b2c4869 100644 --- a/api/C_Garrison.MissionBonusRoll.lua +++ b/api/C_Garrison.MissionBonusRoll.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.MissionBonusRoll() end \ No newline at end of file +function C_Garrison.MissionBonusRoll() end diff --git a/api/C_Garrison.PlaceBuilding.lua b/api/C_Garrison.PlaceBuilding.lua index 0467c1c..a420465 100644 --- a/api/C_Garrison.PlaceBuilding.lua +++ b/api/C_Garrison.PlaceBuilding.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.PlaceBuilding() end \ No newline at end of file +function C_Garrison.PlaceBuilding() end diff --git a/api/C_Garrison.RecruitFollower.lua b/api/C_Garrison.RecruitFollower.lua index 3bee38b..71968ec 100644 --- a/api/C_Garrison.RecruitFollower.lua +++ b/api/C_Garrison.RecruitFollower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RecruitFollower() end \ No newline at end of file +function C_Garrison.RecruitFollower() end diff --git a/api/C_Garrison.RemoveFollower.lua b/api/C_Garrison.RemoveFollower.lua index 178643f..6311e4b 100644 --- a/api/C_Garrison.RemoveFollower.lua +++ b/api/C_Garrison.RemoveFollower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RemoveFollower() end \ No newline at end of file +function C_Garrison.RemoveFollower() end diff --git a/api/C_Garrison.RemoveFollowerFromBuilding.lua b/api/C_Garrison.RemoveFollowerFromBuilding.lua index ae76ac9..2e38346 100644 --- a/api/C_Garrison.RemoveFollowerFromBuilding.lua +++ b/api/C_Garrison.RemoveFollowerFromBuilding.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RemoveFollowerFromBuilding() end \ No newline at end of file +function C_Garrison.RemoveFollowerFromBuilding() end diff --git a/api/C_Garrison.RemoveFollowerFromMission.lua b/api/C_Garrison.RemoveFollowerFromMission.lua index 2ae9fad..4edc506 100644 --- a/api/C_Garrison.RemoveFollowerFromMission.lua +++ b/api/C_Garrison.RemoveFollowerFromMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RemoveFollowerFromMission() end \ No newline at end of file +function C_Garrison.RemoveFollowerFromMission() end diff --git a/api/C_Garrison.RequestGarrisonUpgradeable.lua b/api/C_Garrison.RequestGarrisonUpgradeable.lua index 2b394f9..5415d84 100644 --- a/api/C_Garrison.RequestGarrisonUpgradeable.lua +++ b/api/C_Garrison.RequestGarrisonUpgradeable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RequestGarrisonUpgradeable() end \ No newline at end of file +function C_Garrison.RequestGarrisonUpgradeable() end diff --git a/api/C_Garrison.RequestLandingPageShipmentInfo.lua b/api/C_Garrison.RequestLandingPageShipmentInfo.lua index 038e668..35132f8 100644 --- a/api/C_Garrison.RequestLandingPageShipmentInfo.lua +++ b/api/C_Garrison.RequestLandingPageShipmentInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RequestLandingPageShipmentInfo() end \ No newline at end of file +function C_Garrison.RequestLandingPageShipmentInfo() end diff --git a/api/C_Garrison.RequestShipmentCreation.lua b/api/C_Garrison.RequestShipmentCreation.lua index fad9ab1..f6380d3 100644 --- a/api/C_Garrison.RequestShipmentCreation.lua +++ b/api/C_Garrison.RequestShipmentCreation.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RequestShipmentCreation() end \ No newline at end of file +function C_Garrison.RequestShipmentCreation() end diff --git a/api/C_Garrison.RequestShipmentInfo.lua b/api/C_Garrison.RequestShipmentInfo.lua index 759a1e0..d4c0cab 100644 --- a/api/C_Garrison.RequestShipmentInfo.lua +++ b/api/C_Garrison.RequestShipmentInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.RequestShipmentInfo() end \ No newline at end of file +function C_Garrison.RequestShipmentInfo() end diff --git a/api/C_Garrison.SearchForFollower.lua b/api/C_Garrison.SearchForFollower.lua index 3f2cead..371f662 100644 --- a/api/C_Garrison.SearchForFollower.lua +++ b/api/C_Garrison.SearchForFollower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SearchForFollower() end \ No newline at end of file +function C_Garrison.SearchForFollower() end diff --git a/api/C_Garrison.SetBuildingActive.lua b/api/C_Garrison.SetBuildingActive.lua index 669f3f0..599b4b0 100644 --- a/api/C_Garrison.SetBuildingActive.lua +++ b/api/C_Garrison.SetBuildingActive.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SetBuildingActive() end \ No newline at end of file +function C_Garrison.SetBuildingActive() end diff --git a/api/C_Garrison.SetBuildingSpecialization.lua b/api/C_Garrison.SetBuildingSpecialization.lua index ebf4cac..12abec6 100644 --- a/api/C_Garrison.SetBuildingSpecialization.lua +++ b/api/C_Garrison.SetBuildingSpecialization.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SetBuildingSpecialization() end \ No newline at end of file +function C_Garrison.SetBuildingSpecialization() end diff --git a/api/C_Garrison.SetFollowerFavorite.lua b/api/C_Garrison.SetFollowerFavorite.lua index 161cf4a..2284039 100644 --- a/api/C_Garrison.SetFollowerFavorite.lua +++ b/api/C_Garrison.SetFollowerFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SetFollowerFavorite() end \ No newline at end of file +function C_Garrison.SetFollowerFavorite() end diff --git a/api/C_Garrison.SetFollowerInactive.lua b/api/C_Garrison.SetFollowerInactive.lua index 591bd52..89261dd 100644 --- a/api/C_Garrison.SetFollowerInactive.lua +++ b/api/C_Garrison.SetFollowerInactive.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SetFollowerInactive() end \ No newline at end of file +function C_Garrison.SetFollowerInactive() end diff --git a/api/C_Garrison.SetRecruitmentPreferences.lua b/api/C_Garrison.SetRecruitmentPreferences.lua index 9d72077..5d3bf78 100644 --- a/api/C_Garrison.SetRecruitmentPreferences.lua +++ b/api/C_Garrison.SetRecruitmentPreferences.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SetRecruitmentPreferences() end \ No newline at end of file +function C_Garrison.SetRecruitmentPreferences() end diff --git a/api/C_Garrison.SetUsingPartyGarrison.lua b/api/C_Garrison.SetUsingPartyGarrison.lua index 2c3d603..e6e15a5 100644 --- a/api/C_Garrison.SetUsingPartyGarrison.lua +++ b/api/C_Garrison.SetUsingPartyGarrison.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SetUsingPartyGarrison() end \ No newline at end of file +function C_Garrison.SetUsingPartyGarrison() end diff --git a/api/C_Garrison.StartMission.lua b/api/C_Garrison.StartMission.lua index 2b4f774..e198c85 100644 --- a/api/C_Garrison.StartMission.lua +++ b/api/C_Garrison.StartMission.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.StartMission() end \ No newline at end of file +function C_Garrison.StartMission() end diff --git a/api/C_Garrison.SwapBuildings.lua b/api/C_Garrison.SwapBuildings.lua index 574871c..8b6ccef 100644 --- a/api/C_Garrison.SwapBuildings.lua +++ b/api/C_Garrison.SwapBuildings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.SwapBuildings() end \ No newline at end of file +function C_Garrison.SwapBuildings() end diff --git a/api/C_Garrison.UpgradeBuilding.lua b/api/C_Garrison.UpgradeBuilding.lua index ee5ec9f..219c6c2 100644 --- a/api/C_Garrison.UpgradeBuilding.lua +++ b/api/C_Garrison.UpgradeBuilding.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.UpgradeBuilding() end \ No newline at end of file +function C_Garrison.UpgradeBuilding() end diff --git a/api/C_Garrison.UpgradeGarrison.lua b/api/C_Garrison.UpgradeGarrison.lua index 9fef0e8..55c3e8e 100644 --- a/api/C_Garrison.UpgradeGarrison.lua +++ b/api/C_Garrison.UpgradeGarrison.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Garrison.UpgradeGarrison() end \ No newline at end of file +function C_Garrison.UpgradeGarrison() end diff --git a/api/C_LFGList.AcceptInvite.lua b/api/C_LFGList.AcceptInvite.lua index 2e5449b..71dfb04 100644 --- a/api/C_LFGList.AcceptInvite.lua +++ b/api/C_LFGList.AcceptInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.AcceptInvite() end \ No newline at end of file +function C_LFGList.AcceptInvite() end diff --git a/api/C_LFGList.ApplyToGroup.lua b/api/C_LFGList.ApplyToGroup.lua index e70efce..588bab7 100644 --- a/api/C_LFGList.ApplyToGroup.lua +++ b/api/C_LFGList.ApplyToGroup.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.ApplyToGroup() end \ No newline at end of file +function C_LFGList.ApplyToGroup() end diff --git a/api/C_LFGList.CancelApplication.lua b/api/C_LFGList.CancelApplication.lua index 87b540d..96f907a 100644 --- a/api/C_LFGList.CancelApplication.lua +++ b/api/C_LFGList.CancelApplication.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.CancelApplication() end \ No newline at end of file +function C_LFGList.CancelApplication() end diff --git a/api/C_LFGList.ClearSearchResults.lua b/api/C_LFGList.ClearSearchResults.lua index fff07d3..8b5d4ff 100644 --- a/api/C_LFGList.ClearSearchResults.lua +++ b/api/C_LFGList.ClearSearchResults.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.ClearSearchResults() end \ No newline at end of file +function C_LFGList.ClearSearchResults() end diff --git a/api/C_LFGList.CreateListing.lua b/api/C_LFGList.CreateListing.lua index d6ee31b..38f2482 100644 --- a/api/C_LFGList.CreateListing.lua +++ b/api/C_LFGList.CreateListing.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.CreateListing() end \ No newline at end of file +function C_LFGList.CreateListing() end diff --git a/api/C_LFGList.DeclineApplicant.lua b/api/C_LFGList.DeclineApplicant.lua index a853c07..f2178cf 100644 --- a/api/C_LFGList.DeclineApplicant.lua +++ b/api/C_LFGList.DeclineApplicant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.DeclineApplicant() end \ No newline at end of file +function C_LFGList.DeclineApplicant() end diff --git a/api/C_LFGList.DeclineInvite.lua b/api/C_LFGList.DeclineInvite.lua index 0569f7c..e83b22f 100644 --- a/api/C_LFGList.DeclineInvite.lua +++ b/api/C_LFGList.DeclineInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.DeclineInvite() end \ No newline at end of file +function C_LFGList.DeclineInvite() end diff --git a/api/C_LFGList.GetActiveEntryInfo.lua b/api/C_LFGList.GetActiveEntryInfo.lua index 6c42352..401ee87 100644 --- a/api/C_LFGList.GetActiveEntryInfo.lua +++ b/api/C_LFGList.GetActiveEntryInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---returns boolean on whether activity is active or not -function C_LFGList.GetActiveEntryInfo() end \ No newline at end of file +function C_LFGList.GetActiveEntryInfo() end diff --git a/api/C_LFGList.GetActivityGroupInfo.lua b/api/C_LFGList.GetActivityGroupInfo.lua index 2fa7d03..88c44c0 100644 --- a/api/C_LFGList.GetActivityGroupInfo.lua +++ b/api/C_LFGList.GetActivityGroupInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---returns a string describing activity associated with activity_ID. Example local info = C_LFGList.GetActivityGroupInfo(16); returns: Naxxramas -function C_LFGList.GetActivityGroupInfo() end \ No newline at end of file +function C_LFGList.GetActivityGroupInfo() end diff --git a/api/C_LFGList.GetActivityInfo.lua b/api/C_LFGList.GetActivityInfo.lua index d71af16..a44961f 100644 --- a/api/C_LFGList.GetActivityInfo.lua +++ b/api/C_LFGList.GetActivityInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetActivityInfo() end \ No newline at end of file +function C_LFGList.GetActivityInfo() end diff --git a/api/C_LFGList.GetActivityInfoExpensive.lua b/api/C_LFGList.GetActivityInfoExpensive.lua index 2a3913b..6914bdc 100644 --- a/api/C_LFGList.GetActivityInfoExpensive.lua +++ b/api/C_LFGList.GetActivityInfoExpensive.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetActivityInfoExpensive() end \ No newline at end of file +function C_LFGList.GetActivityInfoExpensive() end diff --git a/api/C_LFGList.GetApplicantInfo.lua b/api/C_LFGList.GetApplicantInfo.lua index 828e8d0..19c8ea9 100644 --- a/api/C_LFGList.GetApplicantInfo.lua +++ b/api/C_LFGList.GetApplicantInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetApplicantInfo() end \ No newline at end of file +function C_LFGList.GetApplicantInfo() end diff --git a/api/C_LFGList.GetApplicantMemberInfo.lua b/api/C_LFGList.GetApplicantMemberInfo.lua index e829b3e..cee92fc 100644 --- a/api/C_LFGList.GetApplicantMemberInfo.lua +++ b/api/C_LFGList.GetApplicantMemberInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetApplicantMemberInfo() end \ No newline at end of file +function C_LFGList.GetApplicantMemberInfo() end diff --git a/api/C_LFGList.GetApplicantMemberStats.lua b/api/C_LFGList.GetApplicantMemberStats.lua index c13fc48..16dfab1 100644 --- a/api/C_LFGList.GetApplicantMemberStats.lua +++ b/api/C_LFGList.GetApplicantMemberStats.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetApplicantMemberStats() end \ No newline at end of file +function C_LFGList.GetApplicantMemberStats() end diff --git a/api/C_LFGList.GetApplicants.lua b/api/C_LFGList.GetApplicants.lua index 5387e92..89fdf2f 100644 --- a/api/C_LFGList.GetApplicants.lua +++ b/api/C_LFGList.GetApplicants.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetApplicants() end \ No newline at end of file +function C_LFGList.GetApplicants() end diff --git a/api/C_LFGList.GetApplicationInfo.lua b/api/C_LFGList.GetApplicationInfo.lua index db30795..5e72282 100644 --- a/api/C_LFGList.GetApplicationInfo.lua +++ b/api/C_LFGList.GetApplicationInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param groupID number ----@return number groupID ----@return string status ----@return nil unknown ----@return number timeRemaining ----@return string role +---@param groupID number +---@return number groupID +---@return string status +---@return nil unknown +---@return number timeRemaining +---@return string role ---Takes a group ID and returns the status of the application -function C_LFGList.GetApplicationInfo(groupID) end \ No newline at end of file +function C_LFGList.GetApplicationInfo(groupID) end diff --git a/api/C_LFGList.GetApplications.lua b/api/C_LFGList.GetApplications.lua index 19c3cb2..6abf839 100644 --- a/api/C_LFGList.GetApplications.lua +++ b/api/C_LFGList.GetApplications.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table applications +---@return table applications ---Returns a table with the groups the player has applied for -function C_LFGList.GetApplications() end \ No newline at end of file +function C_LFGList.GetApplications() end diff --git a/api/C_LFGList.GetAvailableActivities.lua b/api/C_LFGList.GetAvailableActivities.lua index 914cc9f..be0af92 100644 --- a/api/C_LFGList.GetAvailableActivities.lua +++ b/api/C_LFGList.GetAvailableActivities.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---returns table of ID's for available activities -function C_LFGList.GetAvailableActivities() end \ No newline at end of file +function C_LFGList.GetAvailableActivities() end diff --git a/api/C_LFGList.GetAvailableActivityGroups.lua b/api/C_LFGList.GetAvailableActivityGroups.lua index 25a2c32..20abc47 100644 --- a/api/C_LFGList.GetAvailableActivityGroups.lua +++ b/api/C_LFGList.GetAvailableActivityGroups.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetAvailableActivityGroups() end \ No newline at end of file +function C_LFGList.GetAvailableActivityGroups() end diff --git a/api/C_LFGList.GetAvailableCategories.lua b/api/C_LFGList.GetAvailableCategories.lua index 725b869..f4e5e1a 100644 --- a/api/C_LFGList.GetAvailableCategories.lua +++ b/api/C_LFGList.GetAvailableCategories.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetAvailableCategories() end \ No newline at end of file +function C_LFGList.GetAvailableCategories() end diff --git a/api/C_LFGList.GetAvailableRoles.lua b/api/C_LFGList.GetAvailableRoles.lua index 58a1284..0fd4312 100644 --- a/api/C_LFGList.GetAvailableRoles.lua +++ b/api/C_LFGList.GetAvailableRoles.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetAvailableRoles() end \ No newline at end of file +function C_LFGList.GetAvailableRoles() end diff --git a/api/C_LFGList.GetCategoryInfo.lua b/api/C_LFGList.GetCategoryInfo.lua index 556bed9..a854ea0 100644 --- a/api/C_LFGList.GetCategoryInfo.lua +++ b/api/C_LFGList.GetCategoryInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetCategoryInfo() end \ No newline at end of file +function C_LFGList.GetCategoryInfo() end diff --git a/api/C_LFGList.GetNumApplicants.lua b/api/C_LFGList.GetNumApplicants.lua index 0b1957f..137cc10 100644 --- a/api/C_LFGList.GetNumApplicants.lua +++ b/api/C_LFGList.GetNumApplicants.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetNumApplicants() end \ No newline at end of file +function C_LFGList.GetNumApplicants() end diff --git a/api/C_LFGList.GetNumApplications.lua b/api/C_LFGList.GetNumApplications.lua index 9da03ca..aabc4d2 100644 --- a/api/C_LFGList.GetNumApplications.lua +++ b/api/C_LFGList.GetNumApplications.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numApplications +---@return number numApplications ---Returns the number of groups the player has applied for. -function C_LFGList.GetNumApplications() end \ No newline at end of file +function C_LFGList.GetNumApplications() end diff --git a/api/C_LFGList.GetNumInvitedApplicantMembers.lua b/api/C_LFGList.GetNumInvitedApplicantMembers.lua index 0568b6e..3f1ff41 100644 --- a/api/C_LFGList.GetNumInvitedApplicantMembers.lua +++ b/api/C_LFGList.GetNumInvitedApplicantMembers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetNumInvitedApplicantMembers() end \ No newline at end of file +function C_LFGList.GetNumInvitedApplicantMembers() end diff --git a/api/C_LFGList.GetRoleCheckInfo.lua b/api/C_LFGList.GetRoleCheckInfo.lua index 7116670..0623b5e 100644 --- a/api/C_LFGList.GetRoleCheckInfo.lua +++ b/api/C_LFGList.GetRoleCheckInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.GetRoleCheckInfo() end \ No newline at end of file +function C_LFGList.GetRoleCheckInfo() end diff --git a/api/C_LFGList.GetSearchResultEncounterInfo.lua b/api/C_LFGList.GetSearchResultEncounterInfo.lua index 01bd4ab..a7bde63 100644 --- a/api/C_LFGList.GetSearchResultEncounterInfo.lua +++ b/api/C_LFGList.GetSearchResultEncounterInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Takes a group id and returns a table with the encounter info of the group -function C_LFGList.GetSearchResultEncounterInfo() end \ No newline at end of file +function C_LFGList.GetSearchResultEncounterInfo() end diff --git a/api/C_LFGList.GetSearchResultFriends.lua b/api/C_LFGList.GetSearchResultFriends.lua index 448089b..a79cedb 100644 --- a/api/C_LFGList.GetSearchResultFriends.lua +++ b/api/C_LFGList.GetSearchResultFriends.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---returns table pairs #:NameOfFriend. a = C_LFGList.GetSearchResultFriends(resultID); for d,x in pairs(a) do ChatFrame1:AddMessage(d..":"..x); end -------- Output ------- 1:NameOfFriend 2:NameOfFriend ..etc -function C_LFGList.GetSearchResultFriends() end \ No newline at end of file +function C_LFGList.GetSearchResultFriends() end diff --git a/api/C_LFGList.GetSearchResultInfo.lua b/api/C_LFGList.GetSearchResultInfo.lua index 0dd0687..8152c90 100644 --- a/api/C_LFGList.GetSearchResultInfo.lua +++ b/api/C_LFGList.GetSearchResultInfo.lua @@ -1,18 +1,18 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number id ----@return unknown ----@return string name ----@return string desc ----@return unknown ----@return number ilvl ----@return number time ----@return unknown ----@return unknown ----@return unknown ----@return unknown ----@return string leader ----@return number members ----@return unknown +---@return number id +---@return unknown +---@return string name +---@return string desc +---@return unknown +---@return number ilvl +---@return number time +---@return unknown +---@return unknown +---@return unknown +---@return unknown +---@return string leader +---@return number members +---@return unknown ---Takes a group id and returns data on the group -function C_LFGList.GetSearchResultInfo() end \ No newline at end of file +function C_LFGList.GetSearchResultInfo() end diff --git a/api/C_LFGList.GetSearchResultMemberCounts.lua b/api/C_LFGList.GetSearchResultMemberCounts.lua index e5afe69..801590c 100644 --- a/api/C_LFGList.GetSearchResultMemberCounts.lua +++ b/api/C_LFGList.GetSearchResultMemberCounts.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---return table . local a = CLFGList.GetSearchResultMemberCounts(searchresult_id); for b,c in pairs(a) do ChatFrame1:AddMessage(d..":"..x); end ------------- Outputs -------------------- HUNTER:1 WARRIOR:1 PALADIN:0 DAMAGER:2 PRIEST:0 HEALER:0 NOROLE:0 TANK:1 MAGE:0 WARLOCK:1 SHAMAN:0 DEATHKNIGHT:0 DRUID:0 MONK:0 ROGUE:0 -function C_LFGList.GetSearchResultMemberCounts() end \ No newline at end of file +function C_LFGList.GetSearchResultMemberCounts() end diff --git a/api/C_LFGList.GetSearchResultMemberInfo.lua b/api/C_LFGList.GetSearchResultMemberInfo.lua index 8adced3..5144bed 100644 --- a/api/C_LFGList.GetSearchResultMemberInfo.lua +++ b/api/C_LFGList.GetSearchResultMemberInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---given groupid and memberindex, returns member_role such as DAMAGER,TANK,HEALER -function C_LFGList.GetSearchResultMemberInfo() end \ No newline at end of file +function C_LFGList.GetSearchResultMemberInfo() end diff --git a/api/C_LFGList.GetSearchResults.lua b/api/C_LFGList.GetSearchResults.lua index 8a5b6a2..517cae0 100644 --- a/api/C_LFGList.GetSearchResults.lua +++ b/api/C_LFGList.GetSearchResults.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number groups ----@return table groupIDs +---@return number groups +---@return table groupIDs ---Returns the number of groups listed and a table containing group ids of all enlisted groups -function C_LFGList.GetSearchResults() end \ No newline at end of file +function C_LFGList.GetSearchResults() end diff --git a/api/C_LFGList.HasActivityList.lua b/api/C_LFGList.HasActivityList.lua index 3729bc6..a151625 100644 --- a/api/C_LFGList.HasActivityList.lua +++ b/api/C_LFGList.HasActivityList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.HasActivityList() end \ No newline at end of file +function C_LFGList.HasActivityList() end diff --git a/api/C_LFGList.InviteApplicant.lua b/api/C_LFGList.InviteApplicant.lua index 2ae3f92..b382e06 100644 --- a/api/C_LFGList.InviteApplicant.lua +++ b/api/C_LFGList.InviteApplicant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.InviteApplicant() end \ No newline at end of file +function C_LFGList.InviteApplicant() end diff --git a/api/C_LFGList.IsCurrentlyApplying.lua b/api/C_LFGList.IsCurrentlyApplying.lua index 072395f..36cf1c6 100644 --- a/api/C_LFGList.IsCurrentlyApplying.lua +++ b/api/C_LFGList.IsCurrentlyApplying.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.IsCurrentlyApplying() end \ No newline at end of file +function C_LFGList.IsCurrentlyApplying() end diff --git a/api/C_LFGList.RefreshApplicants.lua b/api/C_LFGList.RefreshApplicants.lua index 564fc53..3d51cc1 100644 --- a/api/C_LFGList.RefreshApplicants.lua +++ b/api/C_LFGList.RefreshApplicants.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.RefreshApplicants() end \ No newline at end of file +function C_LFGList.RefreshApplicants() end diff --git a/api/C_LFGList.RemoveApplicant.lua b/api/C_LFGList.RemoveApplicant.lua index 2aec907..83fd2c1 100644 --- a/api/C_LFGList.RemoveApplicant.lua +++ b/api/C_LFGList.RemoveApplicant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.RemoveApplicant() end \ No newline at end of file +function C_LFGList.RemoveApplicant() end diff --git a/api/C_LFGList.RemoveListing.lua b/api/C_LFGList.RemoveListing.lua index a1eca4b..4cf9347 100644 --- a/api/C_LFGList.RemoveListing.lua +++ b/api/C_LFGList.RemoveListing.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.RemoveListing() end \ No newline at end of file +function C_LFGList.RemoveListing() end diff --git a/api/C_LFGList.ReportApplicant.lua b/api/C_LFGList.ReportApplicant.lua index a0338c7..ff2de17 100644 --- a/api/C_LFGList.ReportApplicant.lua +++ b/api/C_LFGList.ReportApplicant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.ReportApplicant() end \ No newline at end of file +function C_LFGList.ReportApplicant() end diff --git a/api/C_LFGList.ReportSearchResult.lua b/api/C_LFGList.ReportSearchResult.lua index 8fda41d..0cd0eb6 100644 --- a/api/C_LFGList.ReportSearchResult.lua +++ b/api/C_LFGList.ReportSearchResult.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.ReportSearchResult() end \ No newline at end of file +function C_LFGList.ReportSearchResult() end diff --git a/api/C_LFGList.RequestAvailableActivities.lua b/api/C_LFGList.RequestAvailableActivities.lua index cd46d3a..4fcb185 100644 --- a/api/C_LFGList.RequestAvailableActivities.lua +++ b/api/C_LFGList.RequestAvailableActivities.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.RequestAvailableActivities() end \ No newline at end of file +function C_LFGList.RequestAvailableActivities() end diff --git a/api/C_LFGList.Search.lua b/api/C_LFGList.Search.lua index 7e98a01..6d8946f 100644 --- a/api/C_LFGList.Search.lua +++ b/api/C_LFGList.Search.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.Search() end \ No newline at end of file +function C_LFGList.Search() end diff --git a/api/C_LFGList.SetApplicantMemberRole.lua b/api/C_LFGList.SetApplicantMemberRole.lua index b4523d1..d02b7df 100644 --- a/api/C_LFGList.SetApplicantMemberRole.lua +++ b/api/C_LFGList.SetApplicantMemberRole.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.SetApplicantMemberRole() end \ No newline at end of file +function C_LFGList.SetApplicantMemberRole() end diff --git a/api/C_LFGList.UpdateListing.lua b/api/C_LFGList.UpdateListing.lua index d95412a..2e27c62 100644 --- a/api/C_LFGList.UpdateListing.lua +++ b/api/C_LFGList.UpdateListing.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LFGList.UpdateListing() end \ No newline at end of file +function C_LFGList.UpdateListing() end diff --git a/api/C_LootHistory.CanMasterLoot.lua b/api/C_LootHistory.CanMasterLoot.lua index 17195a9..d9f5d80 100644 --- a/api/C_LootHistory.CanMasterLoot.lua +++ b/api/C_LootHistory.CanMasterLoot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.CanMasterLoot() end \ No newline at end of file +function C_LootHistory.CanMasterLoot() end diff --git a/api/C_LootHistory.GetExpiration.lua b/api/C_LootHistory.GetExpiration.lua index ee2067a..3581554 100644 --- a/api/C_LootHistory.GetExpiration.lua +++ b/api/C_LootHistory.GetExpiration.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.GetExpiration() end \ No newline at end of file +function C_LootHistory.GetExpiration() end diff --git a/api/C_LootHistory.GetItem.lua b/api/C_LootHistory.GetItem.lua index c678514..6600c58 100644 --- a/api/C_LootHistory.GetItem.lua +++ b/api/C_LootHistory.GetItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.GetItem() end \ No newline at end of file +function C_LootHistory.GetItem() end diff --git a/api/C_LootHistory.GetNumItems.lua b/api/C_LootHistory.GetNumItems.lua index eafa1d1..a612cb6 100644 --- a/api/C_LootHistory.GetNumItems.lua +++ b/api/C_LootHistory.GetNumItems.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.GetNumItems() end \ No newline at end of file +function C_LootHistory.GetNumItems() end diff --git a/api/C_LootHistory.GetPlayerInfo.lua b/api/C_LootHistory.GetPlayerInfo.lua index a7e4471..e2db4ee 100644 --- a/api/C_LootHistory.GetPlayerInfo.lua +++ b/api/C_LootHistory.GetPlayerInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.GetPlayerInfo() end \ No newline at end of file +function C_LootHistory.GetPlayerInfo() end diff --git a/api/C_LootHistory.GiveMasterLoot.lua b/api/C_LootHistory.GiveMasterLoot.lua index aaf57e9..46a075e 100644 --- a/api/C_LootHistory.GiveMasterLoot.lua +++ b/api/C_LootHistory.GiveMasterLoot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.GiveMasterLoot() end \ No newline at end of file +function C_LootHistory.GiveMasterLoot() end diff --git a/api/C_LootHistory.SetExpiration.lua b/api/C_LootHistory.SetExpiration.lua index 7db226c..a5f134f 100644 --- a/api/C_LootHistory.SetExpiration.lua +++ b/api/C_LootHistory.SetExpiration.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LootHistory.SetExpiration() end \ No newline at end of file +function C_LootHistory.SetExpiration() end diff --git a/api/C_LossOfControl.GetEventInfo.lua b/api/C_LossOfControl.GetEventInfo.lua index 514b126..f4dabef 100644 --- a/api/C_LossOfControl.GetEventInfo.lua +++ b/api/C_LossOfControl.GetEventInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LossOfControl.GetEventInfo() end \ No newline at end of file +function C_LossOfControl.GetEventInfo() end diff --git a/api/C_LossOfControl.GetNumEvents.lua b/api/C_LossOfControl.GetNumEvents.lua index ed1f2cf..b7e9411 100644 --- a/api/C_LossOfControl.GetNumEvents.lua +++ b/api/C_LossOfControl.GetNumEvents.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_LossOfControl.GetNumEvents() end \ No newline at end of file +function C_LossOfControl.GetNumEvents() end diff --git a/api/C_MapBar.BarIsShown.lua b/api/C_MapBar.BarIsShown.lua index 897ba19..d9f62a2 100644 --- a/api/C_MapBar.BarIsShown.lua +++ b/api/C_MapBar.BarIsShown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MapBar.BarIsShown() end \ No newline at end of file +function C_MapBar.BarIsShown() end diff --git a/api/C_MapBar.GetCurrentValue.lua b/api/C_MapBar.GetCurrentValue.lua index b9b5f21..499ea6a 100644 --- a/api/C_MapBar.GetCurrentValue.lua +++ b/api/C_MapBar.GetCurrentValue.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MapBar.GetCurrentValue() end \ No newline at end of file +function C_MapBar.GetCurrentValue() end diff --git a/api/C_MapBar.GetMaxValue.lua b/api/C_MapBar.GetMaxValue.lua index e93aea3..b1212ba 100644 --- a/api/C_MapBar.GetMaxValue.lua +++ b/api/C_MapBar.GetMaxValue.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MapBar.GetMaxValue() end \ No newline at end of file +function C_MapBar.GetMaxValue() end diff --git a/api/C_MapBar.GetParticipationPercentage.lua b/api/C_MapBar.GetParticipationPercentage.lua index 71ce148..44c7db8 100644 --- a/api/C_MapBar.GetParticipationPercentage.lua +++ b/api/C_MapBar.GetParticipationPercentage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MapBar.GetParticipationPercentage() end \ No newline at end of file +function C_MapBar.GetParticipationPercentage() end diff --git a/api/C_MapBar.GetPhaseIndex.lua b/api/C_MapBar.GetPhaseIndex.lua index c864951..d2c283e 100644 --- a/api/C_MapBar.GetPhaseIndex.lua +++ b/api/C_MapBar.GetPhaseIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MapBar.GetPhaseIndex() end \ No newline at end of file +function C_MapBar.GetPhaseIndex() end diff --git a/api/C_MapBar.GetTag.lua b/api/C_MapBar.GetTag.lua index d158aa4..fc42275 100644 --- a/api/C_MapBar.GetTag.lua +++ b/api/C_MapBar.GetTag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MapBar.GetTag() end \ No newline at end of file +function C_MapBar.GetTag() end diff --git a/api/C_MountJournal.Dismiss.lua b/api/C_MountJournal.Dismiss.lua index c2a1a42..0488496 100644 --- a/api/C_MountJournal.Dismiss.lua +++ b/api/C_MountJournal.Dismiss.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.Dismiss() end \ No newline at end of file +function C_MountJournal.Dismiss() end diff --git a/api/C_MountJournal.GetCollectedFilterSetting.lua b/api/C_MountJournal.GetCollectedFilterSetting.lua index ca0a25a..472140a 100644 --- a/api/C_MountJournal.GetCollectedFilterSetting.lua +++ b/api/C_MountJournal.GetCollectedFilterSetting.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.GetCollectedFilterSetting() end \ No newline at end of file +function C_MountJournal.GetCollectedFilterSetting() end diff --git a/api/C_MountJournal.GetIsFavorite.lua b/api/C_MountJournal.GetIsFavorite.lua index a276f1d..931a50e 100644 --- a/api/C_MountJournal.GetIsFavorite.lua +++ b/api/C_MountJournal.GetIsFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.GetIsFavorite() end \ No newline at end of file +function C_MountJournal.GetIsFavorite() end diff --git a/api/C_MountJournal.GetMountInfo.lua b/api/C_MountJournal.GetMountInfo.lua index 9463ede..0adbc2d 100644 --- a/api/C_MountJournal.GetMountInfo.lua +++ b/api/C_MountJournal.GetMountInfo.lua @@ -1,29 +1,29 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string creatureName ----@return number spellID ----@return string icon ----@return boolean active ----@return boolean summonable ----@return 10 source ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 9 ----@return 10 ----@return boolean isFavorite ----@return boolean isFactionSpecific ----@return nil faction ----@return 0 ----@return 1 ----@return nil ----@return boolean unknown ----@return boolean owned +---@param index number +---@return string creatureName +---@return number spellID +---@return string icon +---@return boolean active +---@return boolean summonable +---@return 10 source +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 9 +---@return 10 +---@return boolean isFavorite +---@return boolean isFactionSpecific +---@return nil faction +---@return 0 +---@return 1 +---@return nil +---@return boolean unknown +---@return boolean owned ---Returns information about a mount. -function C_MountJournal.GetMountInfo(index) end \ No newline at end of file +function C_MountJournal.GetMountInfo(index) end diff --git a/api/C_MountJournal.GetMountInfoExtra.lua b/api/C_MountJournal.GetMountInfoExtra.lua index 7396a5f..da090cb 100644 --- a/api/C_MountJournal.GetMountInfoExtra.lua +++ b/api/C_MountJournal.GetMountInfoExtra.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.GetMountInfoExtra() end \ No newline at end of file +function C_MountJournal.GetMountInfoExtra() end diff --git a/api/C_MountJournal.GetNumMounts.lua b/api/C_MountJournal.GetNumMounts.lua index 368156e..d2fb640 100644 --- a/api/C_MountJournal.GetNumMounts.lua +++ b/api/C_MountJournal.GetNumMounts.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.GetNumMounts() end \ No newline at end of file +function C_MountJournal.GetNumMounts() end diff --git a/api/C_MountJournal.Pickup.lua b/api/C_MountJournal.Pickup.lua index 9ab217f..5591b77 100644 --- a/api/C_MountJournal.Pickup.lua +++ b/api/C_MountJournal.Pickup.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.Pickup() end \ No newline at end of file +function C_MountJournal.Pickup() end diff --git a/api/C_MountJournal.SetCollectedFilterSetting.lua b/api/C_MountJournal.SetCollectedFilterSetting.lua index bf10708..46fb1c8 100644 --- a/api/C_MountJournal.SetCollectedFilterSetting.lua +++ b/api/C_MountJournal.SetCollectedFilterSetting.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.SetCollectedFilterSetting() end \ No newline at end of file +function C_MountJournal.SetCollectedFilterSetting() end diff --git a/api/C_MountJournal.SetIsFavorite.lua b/api/C_MountJournal.SetIsFavorite.lua index 5f9cc6d..d5ff791 100644 --- a/api/C_MountJournal.SetIsFavorite.lua +++ b/api/C_MountJournal.SetIsFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.SetIsFavorite() end \ No newline at end of file +function C_MountJournal.SetIsFavorite() end diff --git a/api/C_MountJournal.Summon.lua b/api/C_MountJournal.Summon.lua index bad3bfd..2fc1bf5 100644 --- a/api/C_MountJournal.Summon.lua +++ b/api/C_MountJournal.Summon.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_MountJournal.Summon() end \ No newline at end of file +function C_MountJournal.Summon() end diff --git a/api/C_NewItems.ClearAll.lua b/api/C_NewItems.ClearAll.lua index e229106..ba5c464 100644 --- a/api/C_NewItems.ClearAll.lua +++ b/api/C_NewItems.ClearAll.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_NewItems.ClearAll() end \ No newline at end of file +function C_NewItems.ClearAll() end diff --git a/api/C_PetBattles.AcceptPVPDuel.lua b/api/C_PetBattles.AcceptPVPDuel.lua index 1cccd3a..da97749 100644 --- a/api/C_PetBattles.AcceptPVPDuel.lua +++ b/api/C_PetBattles.AcceptPVPDuel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.AcceptPVPDuel() end \ No newline at end of file +function C_PetBattles.AcceptPVPDuel() end diff --git a/api/C_PetBattles.AcceptQueuedPVPMatch.lua b/api/C_PetBattles.AcceptQueuedPVPMatch.lua index 3db6c60..419a586 100644 --- a/api/C_PetBattles.AcceptQueuedPVPMatch.lua +++ b/api/C_PetBattles.AcceptQueuedPVPMatch.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts a found Pet Battle Queue. -function C_PetBattles.AcceptQueuedPVPMatch() end \ No newline at end of file +function C_PetBattles.AcceptQueuedPVPMatch() end diff --git a/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua b/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua index 37a59af..2070582 100644 --- a/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua +++ b/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.CanAcceptQueuedPVPMatch() end \ No newline at end of file +function C_PetBattles.CanAcceptQueuedPVPMatch() end diff --git a/api/C_PetBattles.CanActivePetSwapOut.lua b/api/C_PetBattles.CanActivePetSwapOut.lua index e0dac24..f1d0044 100644 --- a/api/C_PetBattles.CanActivePetSwapOut.lua +++ b/api/C_PetBattles.CanActivePetSwapOut.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.CanActivePetSwapOut() end \ No newline at end of file +function C_PetBattles.CanActivePetSwapOut() end diff --git a/api/C_PetBattles.CanPetSwapIn.lua b/api/C_PetBattles.CanPetSwapIn.lua index d364fef..1561e4e 100644 --- a/api/C_PetBattles.CanPetSwapIn.lua +++ b/api/C_PetBattles.CanPetSwapIn.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.CanPetSwapIn() end \ No newline at end of file +function C_PetBattles.CanPetSwapIn() end diff --git a/api/C_PetBattles.CancelPVPDuel.lua b/api/C_PetBattles.CancelPVPDuel.lua index 652149a..2983ca3 100644 --- a/api/C_PetBattles.CancelPVPDuel.lua +++ b/api/C_PetBattles.CancelPVPDuel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.CancelPVPDuel() end \ No newline at end of file +function C_PetBattles.CancelPVPDuel() end diff --git a/api/C_PetBattles.ChangePet.lua b/api/C_PetBattles.ChangePet.lua index 55d151c..8e37b1b 100644 --- a/api/C_PetBattles.ChangePet.lua +++ b/api/C_PetBattles.ChangePet.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Attempts to change your active pet. Has no effect if used when this switch isn't impossible (out of turn, with the ID of a dead pet, etc.). -function C_PetBattles.ChangePet(id) end \ No newline at end of file +function C_PetBattles.ChangePet(id) end diff --git a/api/C_PetBattles.DeclineQueuedPVPMatch.lua b/api/C_PetBattles.DeclineQueuedPVPMatch.lua index e6ca7f6..4a73850 100644 --- a/api/C_PetBattles.DeclineQueuedPVPMatch.lua +++ b/api/C_PetBattles.DeclineQueuedPVPMatch.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.DeclineQueuedPVPMatch() end \ No newline at end of file +function C_PetBattles.DeclineQueuedPVPMatch() end diff --git a/api/C_PetBattles.ForfeitGame.lua b/api/C_PetBattles.ForfeitGame.lua index 0cb8e1b..07a34aa 100644 --- a/api/C_PetBattles.ForfeitGame.lua +++ b/api/C_PetBattles.ForfeitGame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.ForfeitGame() end \ No newline at end of file +function C_PetBattles.ForfeitGame() end diff --git a/api/C_PetBattles.GetAbilityEffectInfo.lua b/api/C_PetBattles.GetAbilityEffectInfo.lua index 649076f..7cbdecc 100644 --- a/api/C_PetBattles.GetAbilityEffectInfo.lua +++ b/api/C_PetBattles.GetAbilityEffectInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetAbilityEffectInfo() end \ No newline at end of file +function C_PetBattles.GetAbilityEffectInfo() end diff --git a/api/C_PetBattles.GetAbilityInfoByID.lua b/api/C_PetBattles.GetAbilityInfoByID.lua index 9799bd6..6d50ce8 100644 --- a/api/C_PetBattles.GetAbilityInfoByID.lua +++ b/api/C_PetBattles.GetAbilityInfoByID.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return nil ----@return string name ----@return string icon ----@return nil ----@return nil ----@return nil ----@return number? petType ----@return boolean nostrongweakhint +---@param id number +---@return nil +---@return string name +---@return string icon +---@return nil +---@return nil +---@return nil +---@return number? petType +---@return boolean nostrongweakhint ---Returns information about a pet battle ability based on the ID. -function C_PetBattles.GetAbilityInfoByID(id) end \ No newline at end of file +function C_PetBattles.GetAbilityInfoByID(id) end diff --git a/api/C_PetBattles.GetAbilityProcTurnIndex.lua b/api/C_PetBattles.GetAbilityProcTurnIndex.lua index 2d47ae2..9ad49ca 100644 --- a/api/C_PetBattles.GetAbilityProcTurnIndex.lua +++ b/api/C_PetBattles.GetAbilityProcTurnIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetAbilityProcTurnIndex() end \ No newline at end of file +function C_PetBattles.GetAbilityProcTurnIndex() end diff --git a/api/C_PetBattles.GetAbilityStateModification.lua b/api/C_PetBattles.GetAbilityStateModification.lua index bcec60c..408aabb 100644 --- a/api/C_PetBattles.GetAbilityStateModification.lua +++ b/api/C_PetBattles.GetAbilityStateModification.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetAbilityStateModification() end \ No newline at end of file +function C_PetBattles.GetAbilityStateModification() end diff --git a/api/C_PetBattles.GetAllEffectNames.lua b/api/C_PetBattles.GetAllEffectNames.lua index f4c7cc5..3b45b2a 100644 --- a/api/C_PetBattles.GetAllEffectNames.lua +++ b/api/C_PetBattles.GetAllEffectNames.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetAllEffectNames() end \ No newline at end of file +function C_PetBattles.GetAllEffectNames() end diff --git a/api/C_PetBattles.GetAllStates.lua b/api/C_PetBattles.GetAllStates.lua index 9340afb..5dfa879 100644 --- a/api/C_PetBattles.GetAllStates.lua +++ b/api/C_PetBattles.GetAllStates.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetAllStates() end \ No newline at end of file +function C_PetBattles.GetAllStates() end diff --git a/api/C_PetBattles.GetAttackModifier.lua b/api/C_PetBattles.GetAttackModifier.lua index c3a8d39..06521d0 100644 --- a/api/C_PetBattles.GetAttackModifier.lua +++ b/api/C_PetBattles.GetAttackModifier.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param YourType number? ----@param EnemyType number? +---@param YourType number? +---@param EnemyType number? ---Returns the modification to attacks based on types. -function C_PetBattles.GetAttackModifier(YourType, EnemyType) end \ No newline at end of file +function C_PetBattles.GetAttackModifier(YourType, EnemyType) end diff --git a/api/C_PetBattles.GetAuraInfo.lua b/api/C_PetBattles.GetAuraInfo.lua index bddaa02..4270215 100644 --- a/api/C_PetBattles.GetAuraInfo.lua +++ b/api/C_PetBattles.GetAuraInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetAuraInfo() end \ No newline at end of file +function C_PetBattles.GetAuraInfo() end diff --git a/api/C_PetBattles.GetBattleState.lua b/api/C_PetBattles.GetBattleState.lua index 191521c..eea1ead 100644 --- a/api/C_PetBattles.GetBattleState.lua +++ b/api/C_PetBattles.GetBattleState.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 7 battleState ----@return 2 ----@return 3 ----@return 4 ----@return 7 +---@return 7 battleState +---@return 2 +---@return 3 +---@return 4 +---@return 7 ---Returns the current battle state. -function C_PetBattles.GetBattleState() end \ No newline at end of file +function C_PetBattles.GetBattleState() end diff --git a/api/C_PetBattles.GetBreedQuality.lua b/api/C_PetBattles.GetBreedQuality.lua index 154d3ce..d42354c 100644 --- a/api/C_PetBattles.GetBreedQuality.lua +++ b/api/C_PetBattles.GetBreedQuality.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param petOwner number ----@param petIndex number ----@return number quality +---@param petOwner number +---@param petIndex number +---@return number quality ---Returns the breed quality of a pet. -function C_PetBattles.GetBreedQuality(petOwner, petIndex) end \ No newline at end of file +function C_PetBattles.GetBreedQuality(petOwner, petIndex) end diff --git a/api/C_PetBattles.GetDisplayID.lua b/api/C_PetBattles.GetDisplayID.lua index be61465..7907b11 100644 --- a/api/C_PetBattles.GetDisplayID.lua +++ b/api/C_PetBattles.GetDisplayID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetDisplayID() end \ No newline at end of file +function C_PetBattles.GetDisplayID() end diff --git a/api/C_PetBattles.GetForfeitPenalty.lua b/api/C_PetBattles.GetForfeitPenalty.lua index 0402c2b..1148160 100644 --- a/api/C_PetBattles.GetForfeitPenalty.lua +++ b/api/C_PetBattles.GetForfeitPenalty.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetForfeitPenalty() end \ No newline at end of file +function C_PetBattles.GetForfeitPenalty() end diff --git a/api/C_PetBattles.GetHealth.lua b/api/C_PetBattles.GetHealth.lua index 2626cff..505b1b3 100644 --- a/api/C_PetBattles.GetHealth.lua +++ b/api/C_PetBattles.GetHealth.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param petOwner number ----@param petIndex number ----@return number health +---@param petOwner number +---@param petIndex number +---@return number health ---Returns the current health of a specific pet in the current pet battle. -function C_PetBattles.GetHealth(petOwner, petIndex) end \ No newline at end of file +function C_PetBattles.GetHealth(petOwner, petIndex) end diff --git a/api/C_PetBattles.GetLevel.lua b/api/C_PetBattles.GetLevel.lua index 90bcf32..de35be5 100644 --- a/api/C_PetBattles.GetLevel.lua +++ b/api/C_PetBattles.GetLevel.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param petOwner number ----@param petIndex number ----@return number level +---@param petOwner number +---@param petIndex number +---@return number level ---Returns the level of a pet -function C_PetBattles.GetLevel(petOwner, petIndex) end \ No newline at end of file +function C_PetBattles.GetLevel(petOwner, petIndex) end diff --git a/api/C_PetBattles.GetMaxHealth.lua b/api/C_PetBattles.GetMaxHealth.lua index 3335cc2..196174f 100644 --- a/api/C_PetBattles.GetMaxHealth.lua +++ b/api/C_PetBattles.GetMaxHealth.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param petOwner number ----@param petIndex number ----@return number maxHealth +---@param petOwner number +---@param petIndex number +---@return number maxHealth ---Returns the maximum health of a specific pet in the current pet battle. -function C_PetBattles.GetMaxHealth(petOwner, petIndex) end \ No newline at end of file +function C_PetBattles.GetMaxHealth(petOwner, petIndex) end diff --git a/api/C_PetBattles.GetName.lua b/api/C_PetBattles.GetName.lua index 936d46c..419a1b1 100644 --- a/api/C_PetBattles.GetName.lua +++ b/api/C_PetBattles.GetName.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner number? ----@param index number ----@return string name ----@return string default +---@param owner number? +---@param index number +---@return string name +---@return string default ---Returns the name of a pet -function C_PetBattles.GetName(owner, index) end \ No newline at end of file +function C_PetBattles.GetName(owner, index) end diff --git a/api/C_PetBattles.GetNumAuras.lua b/api/C_PetBattles.GetNumAuras.lua index c92d95a..82da308 100644 --- a/api/C_PetBattles.GetNumAuras.lua +++ b/api/C_PetBattles.GetNumAuras.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner string? ----@param index number ----@return number auras +---@param owner string? +---@param index number +---@return number auras ---Returns the number of auras on a pet -function C_PetBattles.GetNumAuras(owner, index) end \ No newline at end of file +function C_PetBattles.GetNumAuras(owner, index) end diff --git a/api/C_PetBattles.GetPVPMatchmakingInfo.lua b/api/C_PetBattles.GetPVPMatchmakingInfo.lua index 39ce4b9..d027432 100644 --- a/api/C_PetBattles.GetPVPMatchmakingInfo.lua +++ b/api/C_PetBattles.GetPVPMatchmakingInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetPVPMatchmakingInfo() end \ No newline at end of file +function C_PetBattles.GetPVPMatchmakingInfo() end diff --git a/api/C_PetBattles.GetPetSpeciesID.lua b/api/C_PetBattles.GetPetSpeciesID.lua index 50e412e..c2f05f9 100644 --- a/api/C_PetBattles.GetPetSpeciesID.lua +++ b/api/C_PetBattles.GetPetSpeciesID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetPetSpeciesID() end \ No newline at end of file +function C_PetBattles.GetPetSpeciesID() end diff --git a/api/C_PetBattles.GetPetType.lua b/api/C_PetBattles.GetPetType.lua index c6bb654..e406c53 100644 --- a/api/C_PetBattles.GetPetType.lua +++ b/api/C_PetBattles.GetPetType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetPetType() end \ No newline at end of file +function C_PetBattles.GetPetType() end diff --git a/api/C_PetBattles.GetPlayerTrapAbility.lua b/api/C_PetBattles.GetPlayerTrapAbility.lua index 39dfcba..02b79e0 100644 --- a/api/C_PetBattles.GetPlayerTrapAbility.lua +++ b/api/C_PetBattles.GetPlayerTrapAbility.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetPlayerTrapAbility() end \ No newline at end of file +function C_PetBattles.GetPlayerTrapAbility() end diff --git a/api/C_PetBattles.GetPower.lua b/api/C_PetBattles.GetPower.lua index b49c528..1d5d819 100644 --- a/api/C_PetBattles.GetPower.lua +++ b/api/C_PetBattles.GetPower.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner number ----@param index number +---@param owner number +---@param index number ---Returns the power of a pet. -function C_PetBattles.GetPower(owner, index) end \ No newline at end of file +function C_PetBattles.GetPower(owner, index) end diff --git a/api/C_PetBattles.GetSelectedAction.lua b/api/C_PetBattles.GetSelectedAction.lua index 7ba3964..71701d8 100644 --- a/api/C_PetBattles.GetSelectedAction.lua +++ b/api/C_PetBattles.GetSelectedAction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetSelectedAction() end \ No newline at end of file +function C_PetBattles.GetSelectedAction() end diff --git a/api/C_PetBattles.GetStateValue.lua b/api/C_PetBattles.GetStateValue.lua index dd43707..2d6c4da 100644 --- a/api/C_PetBattles.GetStateValue.lua +++ b/api/C_PetBattles.GetStateValue.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.GetStateValue() end \ No newline at end of file +function C_PetBattles.GetStateValue() end diff --git a/api/C_PetBattles.GetTurnTimeInfo.lua b/api/C_PetBattles.GetTurnTimeInfo.lua index 6674cee..52d7787 100644 --- a/api/C_PetBattles.GetTurnTimeInfo.lua +++ b/api/C_PetBattles.GetTurnTimeInfo.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeRemaining ----@return number totalTime +---@return number timeRemaining +---@return number totalTime ---Returns the remaining time and max time for waiting on a turn -function C_PetBattles.GetTurnTimeInfo() end \ No newline at end of file +function C_PetBattles.GetTurnTimeInfo() end diff --git a/api/C_PetBattles.GetXP.lua b/api/C_PetBattles.GetXP.lua index 66b1eb2..1820451 100644 --- a/api/C_PetBattles.GetXP.lua +++ b/api/C_PetBattles.GetXP.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner string? ----@param index number ----@return number xp ----@return number maxXP +---@param owner string? +---@param index number +---@return number xp +---@return number maxXP ---Returns the current and maximum experience of a pet -function C_PetBattles.GetXP(owner, index) end \ No newline at end of file +function C_PetBattles.GetXP(owner, index) end diff --git a/api/C_PetBattles.IsInBattle.lua b/api/C_PetBattles.IsInBattle.lua index cffee80..826f38c 100644 --- a/api/C_PetBattles.IsInBattle.lua +++ b/api/C_PetBattles.IsInBattle.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns true during a pet battle -function C_PetBattles.IsInBattle() end \ No newline at end of file +function C_PetBattles.IsInBattle() end diff --git a/api/C_PetBattles.IsPlayerNPC.lua b/api/C_PetBattles.IsPlayerNPC.lua index 87f8793..4e38a5a 100644 --- a/api/C_PetBattles.IsPlayerNPC.lua +++ b/api/C_PetBattles.IsPlayerNPC.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param player string? ----@return boolean isnpc +---@param player string? +---@return boolean isnpc ---Returns whether a participant in a pet battle is a player or an NPC -function C_PetBattles.IsPlayerNPC(player) end \ No newline at end of file +function C_PetBattles.IsPlayerNPC(player) end diff --git a/api/C_PetBattles.IsSkipAvailable.lua b/api/C_PetBattles.IsSkipAvailable.lua index e835e43..74f042a 100644 --- a/api/C_PetBattles.IsSkipAvailable.lua +++ b/api/C_PetBattles.IsSkipAvailable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.IsSkipAvailable() end \ No newline at end of file +function C_PetBattles.IsSkipAvailable() end diff --git a/api/C_PetBattles.IsTrapAvailable.lua b/api/C_PetBattles.IsTrapAvailable.lua index 93c886a..b3276ce 100644 --- a/api/C_PetBattles.IsTrapAvailable.lua +++ b/api/C_PetBattles.IsTrapAvailable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.IsTrapAvailable() end \ No newline at end of file +function C_PetBattles.IsTrapAvailable() end diff --git a/api/C_PetBattles.IsWaitingOnOpponent.lua b/api/C_PetBattles.IsWaitingOnOpponent.lua index 5576fc8..503fc42 100644 --- a/api/C_PetBattles.IsWaitingOnOpponent.lua +++ b/api/C_PetBattles.IsWaitingOnOpponent.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean waiting +---@return boolean waiting ---Returns whether or not you are waiting on the opponent -function C_PetBattles.IsWaitingOnOpponent() end \ No newline at end of file +function C_PetBattles.IsWaitingOnOpponent() end diff --git a/api/C_PetBattles.IsWildBattle.lua b/api/C_PetBattles.IsWildBattle.lua index c0f28c8..64ca9f4 100644 --- a/api/C_PetBattles.IsWildBattle.lua +++ b/api/C_PetBattles.IsWildBattle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isWild +---@return boolean isWild ---Returns whether or not in wild battle.. Returns true if the pet battle is against a wild pet. -function C_PetBattles.IsWildBattle() end \ No newline at end of file +function C_PetBattles.IsWildBattle() end diff --git a/api/C_PetBattles.SetPendingReportBattlePetTarget.lua b/api/C_PetBattles.SetPendingReportBattlePetTarget.lua index fc6672c..d6344fc 100644 --- a/api/C_PetBattles.SetPendingReportBattlePetTarget.lua +++ b/api/C_PetBattles.SetPendingReportBattlePetTarget.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.SetPendingReportBattlePetTarget() end \ No newline at end of file +function C_PetBattles.SetPendingReportBattlePetTarget() end diff --git a/api/C_PetBattles.SetPendingReportTargetFromUnit.lua b/api/C_PetBattles.SetPendingReportTargetFromUnit.lua index a167ac2..19d7b1f 100644 --- a/api/C_PetBattles.SetPendingReportTargetFromUnit.lua +++ b/api/C_PetBattles.SetPendingReportTargetFromUnit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.SetPendingReportTargetFromUnit() end \ No newline at end of file +function C_PetBattles.SetPendingReportTargetFromUnit() end diff --git a/api/C_PetBattles.ShouldShowPetSelect.lua b/api/C_PetBattles.ShouldShowPetSelect.lua index 2b8a12e..5d44b2a 100644 --- a/api/C_PetBattles.ShouldShowPetSelect.lua +++ b/api/C_PetBattles.ShouldShowPetSelect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.ShouldShowPetSelect() end \ No newline at end of file +function C_PetBattles.ShouldShowPetSelect() end diff --git a/api/C_PetBattles.SkipTurn.lua b/api/C_PetBattles.SkipTurn.lua index f51f4c8..662de23 100644 --- a/api/C_PetBattles.SkipTurn.lua +++ b/api/C_PetBattles.SkipTurn.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Does a pass on your turn for a round. -function C_PetBattles.SkipTurn() end \ No newline at end of file +function C_PetBattles.SkipTurn() end diff --git a/api/C_PetBattles.StartPVPDuel.lua b/api/C_PetBattles.StartPVPDuel.lua index 3f55f42..de65a09 100644 --- a/api/C_PetBattles.StartPVPDuel.lua +++ b/api/C_PetBattles.StartPVPDuel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.StartPVPDuel() end \ No newline at end of file +function C_PetBattles.StartPVPDuel() end diff --git a/api/C_PetBattles.StartPVPMatchmaking.lua b/api/C_PetBattles.StartPVPMatchmaking.lua index 67d5732..0a6387b 100644 --- a/api/C_PetBattles.StartPVPMatchmaking.lua +++ b/api/C_PetBattles.StartPVPMatchmaking.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.StartPVPMatchmaking() end \ No newline at end of file +function C_PetBattles.StartPVPMatchmaking() end diff --git a/api/C_PetBattles.StopPVPMatchmaking.lua b/api/C_PetBattles.StopPVPMatchmaking.lua index 96da6ac..e032d09 100644 --- a/api/C_PetBattles.StopPVPMatchmaking.lua +++ b/api/C_PetBattles.StopPVPMatchmaking.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetBattles.StopPVPMatchmaking() end \ No newline at end of file +function C_PetBattles.StopPVPMatchmaking() end diff --git a/api/C_PetBattles.UseAbility.lua b/api/C_PetBattles.UseAbility.lua index d44afee..488e9f9 100644 --- a/api/C_PetBattles.UseAbility.lua +++ b/api/C_PetBattles.UseAbility.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Uses an ability. -function C_PetBattles.UseAbility(id) end \ No newline at end of file +function C_PetBattles.UseAbility(id) end diff --git a/api/C_PetBattles.UseTrap.lua b/api/C_PetBattles.UseTrap.lua index c90aa67..a29df78 100644 --- a/api/C_PetBattles.UseTrap.lua +++ b/api/C_PetBattles.UseTrap.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Throws the trap if the target pet has low enough health. Always uses best trap. -function C_PetBattles.UseTrap() end \ No newline at end of file +function C_PetBattles.UseTrap() end diff --git a/api/C_PetJournal.AddAllPetSourcesFilter.lua b/api/C_PetJournal.AddAllPetSourcesFilter.lua index 0da3be5..efc7bc2 100644 --- a/api/C_PetJournal.AddAllPetSourcesFilter.lua +++ b/api/C_PetJournal.AddAllPetSourcesFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.AddAllPetSourcesFilter() end \ No newline at end of file +function C_PetJournal.AddAllPetSourcesFilter() end diff --git a/api/C_PetJournal.AddAllPetTypesFilter.lua b/api/C_PetJournal.AddAllPetTypesFilter.lua index bc494d0..7d83328 100644 --- a/api/C_PetJournal.AddAllPetTypesFilter.lua +++ b/api/C_PetJournal.AddAllPetTypesFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.AddAllPetTypesFilter() end \ No newline at end of file +function C_PetJournal.AddAllPetTypesFilter() end diff --git a/api/C_PetJournal.CagePetByID.lua b/api/C_PetJournal.CagePetByID.lua index e51ae82..ac0ec73 100644 --- a/api/C_PetJournal.CagePetByID.lua +++ b/api/C_PetJournal.CagePetByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.CagePetByID() end \ No newline at end of file +function C_PetJournal.CagePetByID() end diff --git a/api/C_PetJournal.ClearAllPetSourcesFilter.lua b/api/C_PetJournal.ClearAllPetSourcesFilter.lua index 486c6e5..dd56102 100644 --- a/api/C_PetJournal.ClearAllPetSourcesFilter.lua +++ b/api/C_PetJournal.ClearAllPetSourcesFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.ClearAllPetSourcesFilter() end \ No newline at end of file +function C_PetJournal.ClearAllPetSourcesFilter() end diff --git a/api/C_PetJournal.ClearAllPetTypesFilter.lua b/api/C_PetJournal.ClearAllPetTypesFilter.lua index c82c980..f49f282 100644 --- a/api/C_PetJournal.ClearAllPetTypesFilter.lua +++ b/api/C_PetJournal.ClearAllPetTypesFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.ClearAllPetTypesFilter() end \ No newline at end of file +function C_PetJournal.ClearAllPetTypesFilter() end diff --git a/api/C_PetJournal.ClearSearchFilter.lua b/api/C_PetJournal.ClearSearchFilter.lua index cb84deb..0fb560f 100644 --- a/api/C_PetJournal.ClearSearchFilter.lua +++ b/api/C_PetJournal.ClearSearchFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.ClearSearchFilter() end \ No newline at end of file +function C_PetJournal.ClearSearchFilter() end diff --git a/api/C_PetJournal.FindPetIDByName.lua b/api/C_PetJournal.FindPetIDByName.lua index 8ca9845..32dee24 100644 --- a/api/C_PetJournal.FindPetIDByName.lua +++ b/api/C_PetJournal.FindPetIDByName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.FindPetIDByName() end \ No newline at end of file +function C_PetJournal.FindPetIDByName() end diff --git a/api/C_PetJournal.GetBattlePetLink.lua b/api/C_PetJournal.GetBattlePetLink.lua index 4415720..9c5ef45 100644 --- a/api/C_PetJournal.GetBattlePetLink.lua +++ b/api/C_PetJournal.GetBattlePetLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetBattlePetLink() end \ No newline at end of file +function C_PetJournal.GetBattlePetLink() end diff --git a/api/C_PetJournal.GetNumCollectedInfo.lua b/api/C_PetJournal.GetNumCollectedInfo.lua index 6980335..4cfac36 100644 --- a/api/C_PetJournal.GetNumCollectedInfo.lua +++ b/api/C_PetJournal.GetNumCollectedInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the number of pets for that species. Returns the number of pets for that species ID -function C_PetJournal.GetNumCollectedInfo() end \ No newline at end of file +function C_PetJournal.GetNumCollectedInfo() end diff --git a/api/C_PetJournal.GetNumPetSources.lua b/api/C_PetJournal.GetNumPetSources.lua index bfa73ba..aa290e0 100644 --- a/api/C_PetJournal.GetNumPetSources.lua +++ b/api/C_PetJournal.GetNumPetSources.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetNumPetSources() end \ No newline at end of file +function C_PetJournal.GetNumPetSources() end diff --git a/api/C_PetJournal.GetNumPetTypes.lua b/api/C_PetJournal.GetNumPetTypes.lua index 9d3471b..854c3b3 100644 --- a/api/C_PetJournal.GetNumPetTypes.lua +++ b/api/C_PetJournal.GetNumPetTypes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetNumPetTypes() end \ No newline at end of file +function C_PetJournal.GetNumPetTypes() end diff --git a/api/C_PetJournal.GetNumPets.lua b/api/C_PetJournal.GetNumPets.lua index 5dd1945..62dc678 100644 --- a/api/C_PetJournal.GetNumPets.lua +++ b/api/C_PetJournal.GetNumPets.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns two integers, filtered count, and total count. Returns how many pets currently match user filter, and the grand total collected by the user. -function C_PetJournal.GetNumPets() end \ No newline at end of file +function C_PetJournal.GetNumPets() end diff --git a/api/C_PetJournal.GetOwnedBattlePetString.lua b/api/C_PetJournal.GetOwnedBattlePetString.lua index 42af4ad..fd7df86 100644 --- a/api/C_PetJournal.GetOwnedBattlePetString.lua +++ b/api/C_PetJournal.GetOwnedBattlePetString.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetOwnedBattlePetString() end \ No newline at end of file +function C_PetJournal.GetOwnedBattlePetString() end diff --git a/api/C_PetJournal.GetPetAbilityInfo.lua b/api/C_PetJournal.GetPetAbilityInfo.lua index acf5c5e..63c230d 100644 --- a/api/C_PetJournal.GetPetAbilityInfo.lua +++ b/api/C_PetJournal.GetPetAbilityInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetAbilityInfo() end \ No newline at end of file +function C_PetJournal.GetPetAbilityInfo() end diff --git a/api/C_PetJournal.GetPetAbilityList.lua b/api/C_PetJournal.GetPetAbilityList.lua index 43b433c..9576531 100644 --- a/api/C_PetJournal.GetPetAbilityList.lua +++ b/api/C_PetJournal.GetPetAbilityList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetAbilityList() end \ No newline at end of file +function C_PetJournal.GetPetAbilityList() end diff --git a/api/C_PetJournal.GetPetCooldownByGUID.lua b/api/C_PetJournal.GetPetCooldownByGUID.lua index 8953362..834a67a 100644 --- a/api/C_PetJournal.GetPetCooldownByGUID.lua +++ b/api/C_PetJournal.GetPetCooldownByGUID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetCooldownByGUID() end \ No newline at end of file +function C_PetJournal.GetPetCooldownByGUID() end diff --git a/api/C_PetJournal.GetPetInfoByIndex.lua b/api/C_PetJournal.GetPetInfoByIndex.lua index 729c32a..7ef9620 100644 --- a/api/C_PetJournal.GetPetInfoByIndex.lua +++ b/api/C_PetJournal.GetPetInfoByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetInfoByIndex() end \ No newline at end of file +function C_PetJournal.GetPetInfoByIndex() end diff --git a/api/C_PetJournal.GetPetInfoByPetID.lua b/api/C_PetJournal.GetPetInfoByPetID.lua index 922e619..35179ce 100644 --- a/api/C_PetJournal.GetPetInfoByPetID.lua +++ b/api/C_PetJournal.GetPetInfoByPetID.lua @@ -1,37 +1,37 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param petID string ----@return number speciesID ----@return nil customName ----@return name ----@return nil ----@return number level ----@return number xp ----@return number maxXp ----@return number displayID ----@return boolean isFavorite ----@return Squirrel petName ----@return Lil' KT ----@return Squirrel ----@return string petIcon ----@return 10 petType ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 9 ----@return 10 ----@return number creatureID ----@return example sourceText ----@return example ----@return string description ----@return boolean isWild ----@return boolean canBattle ----@return boolean tradable ----@return boolean unique +---@param petID string +---@return number speciesID +---@return nil customName +---@return name +---@return nil +---@return number level +---@return number xp +---@return number maxXp +---@return number displayID +---@return boolean isFavorite +---@return Squirrel petName +---@return Lil' KT +---@return Squirrel +---@return string petIcon +---@return 10 petType +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 9 +---@return 10 +---@return number creatureID +---@return example sourceText +---@return example +---@return string description +---@return boolean isWild +---@return boolean canBattle +---@return boolean tradable +---@return boolean unique ---Retreives information about a battle pet from its GUID -function C_PetJournal.GetPetInfoByPetID(petID) end \ No newline at end of file +function C_PetJournal.GetPetInfoByPetID(petID) end diff --git a/api/C_PetJournal.GetPetInfoBySpeciesID.lua b/api/C_PetJournal.GetPetInfoBySpeciesID.lua index e6ea904..a7d3008 100644 --- a/api/C_PetJournal.GetPetInfoBySpeciesID.lua +++ b/api/C_PetJournal.GetPetInfoBySpeciesID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetInfoBySpeciesID() end \ No newline at end of file +function C_PetJournal.GetPetInfoBySpeciesID() end diff --git a/api/C_PetJournal.GetPetLoadOutInfo.lua b/api/C_PetJournal.GetPetLoadOutInfo.lua index 8749e0d..e34b82e 100644 --- a/api/C_PetJournal.GetPetLoadOutInfo.lua +++ b/api/C_PetJournal.GetPetLoadOutInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slotIndex number ----@return string petID ----@return number petSpellID_slot1 ----@return number petSpellID_slot2 ----@return number petSpellID_slot3 ----@return boolean locked +---@param slotIndex number +---@return string petID +---@return number petSpellID_slot1 +---@return number petSpellID_slot2 +---@return number petSpellID_slot3 +---@return boolean locked ---Returns pet and spell IDs -function C_PetJournal.GetPetLoadOutInfo(slotIndex) end \ No newline at end of file +function C_PetJournal.GetPetLoadOutInfo(slotIndex) end diff --git a/api/C_PetJournal.GetPetSortParameter.lua b/api/C_PetJournal.GetPetSortParameter.lua index b69c513..6772d19 100644 --- a/api/C_PetJournal.GetPetSortParameter.lua +++ b/api/C_PetJournal.GetPetSortParameter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetSortParameter() end \ No newline at end of file +function C_PetJournal.GetPetSortParameter() end diff --git a/api/C_PetJournal.GetPetStats.lua b/api/C_PetJournal.GetPetStats.lua index 2feb7cf..bf8cbae 100644 --- a/api/C_PetJournal.GetPetStats.lua +++ b/api/C_PetJournal.GetPetStats.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param petID string ----@return number health ----@return number maxHealth ----@return number attack ----@return number speed ----@return 6 rarity ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 +---@param petID string +---@return number health +---@return number maxHealth +---@return number attack +---@return number speed +---@return 6 rarity +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 ---Retrieves the stats of a battle pet from its GUID -function C_PetJournal.GetPetStats(petID) end \ No newline at end of file +function C_PetJournal.GetPetStats(petID) end diff --git a/api/C_PetJournal.GetPetTeamAverageLevel.lua b/api/C_PetJournal.GetPetTeamAverageLevel.lua index a3ec9be..115a6d4 100644 --- a/api/C_PetJournal.GetPetTeamAverageLevel.lua +++ b/api/C_PetJournal.GetPetTeamAverageLevel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetPetTeamAverageLevel() end \ No newline at end of file +function C_PetJournal.GetPetTeamAverageLevel() end diff --git a/api/C_PetJournal.GetSummonedPetGUID.lua b/api/C_PetJournal.GetSummonedPetGUID.lua index 5bead4f..70b998c 100644 --- a/api/C_PetJournal.GetSummonedPetGUID.lua +++ b/api/C_PetJournal.GetSummonedPetGUID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.GetSummonedPetGUID() end \ No newline at end of file +function C_PetJournal.GetSummonedPetGUID() end diff --git a/api/C_PetJournal.IsFindBattleEnabled.lua b/api/C_PetJournal.IsFindBattleEnabled.lua index f918a49..c30b374 100644 --- a/api/C_PetJournal.IsFindBattleEnabled.lua +++ b/api/C_PetJournal.IsFindBattleEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.IsFindBattleEnabled() end \ No newline at end of file +function C_PetJournal.IsFindBattleEnabled() end diff --git a/api/C_PetJournal.IsFlagFiltered.lua b/api/C_PetJournal.IsFlagFiltered.lua index 25d74f4..21c97cc 100644 --- a/api/C_PetJournal.IsFlagFiltered.lua +++ b/api/C_PetJournal.IsFlagFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.IsFlagFiltered() end \ No newline at end of file +function C_PetJournal.IsFlagFiltered() end diff --git a/api/C_PetJournal.IsJournalReadOnly.lua b/api/C_PetJournal.IsJournalReadOnly.lua index 0e50d83..1e7758c 100644 --- a/api/C_PetJournal.IsJournalReadOnly.lua +++ b/api/C_PetJournal.IsJournalReadOnly.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.IsJournalReadOnly() end \ No newline at end of file +function C_PetJournal.IsJournalReadOnly() end diff --git a/api/C_PetJournal.IsJournalUnlocked.lua b/api/C_PetJournal.IsJournalUnlocked.lua index e97df49..3ffb0d6 100644 --- a/api/C_PetJournal.IsJournalUnlocked.lua +++ b/api/C_PetJournal.IsJournalUnlocked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.IsJournalUnlocked() end \ No newline at end of file +function C_PetJournal.IsJournalUnlocked() end diff --git a/api/C_PetJournal.IsPetSourceFiltered.lua b/api/C_PetJournal.IsPetSourceFiltered.lua index 40455e0..196835b 100644 --- a/api/C_PetJournal.IsPetSourceFiltered.lua +++ b/api/C_PetJournal.IsPetSourceFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.IsPetSourceFiltered() end \ No newline at end of file +function C_PetJournal.IsPetSourceFiltered() end diff --git a/api/C_PetJournal.IsPetTypeFiltered.lua b/api/C_PetJournal.IsPetTypeFiltered.lua index 13436b9..3fae116 100644 --- a/api/C_PetJournal.IsPetTypeFiltered.lua +++ b/api/C_PetJournal.IsPetTypeFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.IsPetTypeFiltered() end \ No newline at end of file +function C_PetJournal.IsPetTypeFiltered() end diff --git a/api/C_PetJournal.PetCanBeReleased.lua b/api/C_PetJournal.PetCanBeReleased.lua index e3d1784..eae4e4e 100644 --- a/api/C_PetJournal.PetCanBeReleased.lua +++ b/api/C_PetJournal.PetCanBeReleased.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetCanBeReleased() end \ No newline at end of file +function C_PetJournal.PetCanBeReleased() end diff --git a/api/C_PetJournal.PetIsCapturable.lua b/api/C_PetJournal.PetIsCapturable.lua index 65d4c83..54f931e 100644 --- a/api/C_PetJournal.PetIsCapturable.lua +++ b/api/C_PetJournal.PetIsCapturable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsCapturable() end \ No newline at end of file +function C_PetJournal.PetIsCapturable() end diff --git a/api/C_PetJournal.PetIsFavorite.lua b/api/C_PetJournal.PetIsFavorite.lua index ab37b27..1592207 100644 --- a/api/C_PetJournal.PetIsFavorite.lua +++ b/api/C_PetJournal.PetIsFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsFavorite() end \ No newline at end of file +function C_PetJournal.PetIsFavorite() end diff --git a/api/C_PetJournal.PetIsHurt.lua b/api/C_PetJournal.PetIsHurt.lua index 03cca4a..9e8cb56 100644 --- a/api/C_PetJournal.PetIsHurt.lua +++ b/api/C_PetJournal.PetIsHurt.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsHurt() end \ No newline at end of file +function C_PetJournal.PetIsHurt() end diff --git a/api/C_PetJournal.PetIsLockedForConvert.lua b/api/C_PetJournal.PetIsLockedForConvert.lua index ad67e2c..fba91db 100644 --- a/api/C_PetJournal.PetIsLockedForConvert.lua +++ b/api/C_PetJournal.PetIsLockedForConvert.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsLockedForConvert() end \ No newline at end of file +function C_PetJournal.PetIsLockedForConvert() end diff --git a/api/C_PetJournal.PetIsRevoked.lua b/api/C_PetJournal.PetIsRevoked.lua index 7751fe3..2232700 100644 --- a/api/C_PetJournal.PetIsRevoked.lua +++ b/api/C_PetJournal.PetIsRevoked.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsRevoked() end \ No newline at end of file +function C_PetJournal.PetIsRevoked() end diff --git a/api/C_PetJournal.PetIsSlotted.lua b/api/C_PetJournal.PetIsSlotted.lua index 47e79ad..cf75744 100644 --- a/api/C_PetJournal.PetIsSlotted.lua +++ b/api/C_PetJournal.PetIsSlotted.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsSlotted() end \ No newline at end of file +function C_PetJournal.PetIsSlotted() end diff --git a/api/C_PetJournal.PetIsSummonable.lua b/api/C_PetJournal.PetIsSummonable.lua index 8b378e3..8436cf2 100644 --- a/api/C_PetJournal.PetIsSummonable.lua +++ b/api/C_PetJournal.PetIsSummonable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsSummonable() end \ No newline at end of file +function C_PetJournal.PetIsSummonable() end diff --git a/api/C_PetJournal.PetIsTradable.lua b/api/C_PetJournal.PetIsTradable.lua index e1303b3..723efe8 100644 --- a/api/C_PetJournal.PetIsTradable.lua +++ b/api/C_PetJournal.PetIsTradable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PetIsTradable() end \ No newline at end of file +function C_PetJournal.PetIsTradable() end diff --git a/api/C_PetJournal.PickupPet.lua b/api/C_PetJournal.PickupPet.lua index c2c7b9b..e472584 100644 --- a/api/C_PetJournal.PickupPet.lua +++ b/api/C_PetJournal.PickupPet.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.PickupPet() end \ No newline at end of file +function C_PetJournal.PickupPet() end diff --git a/api/C_PetJournal.ReleasePetByID.lua b/api/C_PetJournal.ReleasePetByID.lua index 9f3d961..ca47a68 100644 --- a/api/C_PetJournal.ReleasePetByID.lua +++ b/api/C_PetJournal.ReleasePetByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.ReleasePetByID() end \ No newline at end of file +function C_PetJournal.ReleasePetByID() end diff --git a/api/C_PetJournal.SetAbility.lua b/api/C_PetJournal.SetAbility.lua index 6b4dad2..26ccf15 100644 --- a/api/C_PetJournal.SetAbility.lua +++ b/api/C_PetJournal.SetAbility.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slotIndex number ----@param spellIndex number ----@param petSpellID number +---@param slotIndex number +---@param spellIndex number +---@param petSpellID number ---Set battle pet ability -function C_PetJournal.SetAbility(slotIndex, spellIndex, petSpellID) end \ No newline at end of file +function C_PetJournal.SetAbility(slotIndex, spellIndex, petSpellID) end diff --git a/api/C_PetJournal.SetCustomName.lua b/api/C_PetJournal.SetCustomName.lua index e634902..ae01377 100644 --- a/api/C_PetJournal.SetCustomName.lua +++ b/api/C_PetJournal.SetCustomName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetCustomName() end \ No newline at end of file +function C_PetJournal.SetCustomName() end diff --git a/api/C_PetJournal.SetFavorite.lua b/api/C_PetJournal.SetFavorite.lua index 55df893..43d6aed 100644 --- a/api/C_PetJournal.SetFavorite.lua +++ b/api/C_PetJournal.SetFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetFavorite() end \ No newline at end of file +function C_PetJournal.SetFavorite() end diff --git a/api/C_PetJournal.SetFlagFilter.lua b/api/C_PetJournal.SetFlagFilter.lua index 9cf0b30..ac5dd7a 100644 --- a/api/C_PetJournal.SetFlagFilter.lua +++ b/api/C_PetJournal.SetFlagFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetFlagFilter() end \ No newline at end of file +function C_PetJournal.SetFlagFilter() end diff --git a/api/C_PetJournal.SetPetLoadOutInfo.lua b/api/C_PetJournal.SetPetLoadOutInfo.lua index 3b72487..21a1a4c 100644 --- a/api/C_PetJournal.SetPetLoadOutInfo.lua +++ b/api/C_PetJournal.SetPetLoadOutInfo.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slotIndex number ----@param petID string +---@param slotIndex number +---@param petID string ---Setup battle pet team -function C_PetJournal.SetPetLoadOutInfo(slotIndex, petID) end \ No newline at end of file +function C_PetJournal.SetPetLoadOutInfo(slotIndex, petID) end diff --git a/api/C_PetJournal.SetPetSortParameter.lua b/api/C_PetJournal.SetPetSortParameter.lua index f3395fb..8f119a6 100644 --- a/api/C_PetJournal.SetPetSortParameter.lua +++ b/api/C_PetJournal.SetPetSortParameter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetPetSortParameter() end \ No newline at end of file +function C_PetJournal.SetPetSortParameter() end diff --git a/api/C_PetJournal.SetPetSourceFilter.lua b/api/C_PetJournal.SetPetSourceFilter.lua index effd717..985050a 100644 --- a/api/C_PetJournal.SetPetSourceFilter.lua +++ b/api/C_PetJournal.SetPetSourceFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetPetSourceFilter() end \ No newline at end of file +function C_PetJournal.SetPetSourceFilter() end diff --git a/api/C_PetJournal.SetPetTypeFilter.lua b/api/C_PetJournal.SetPetTypeFilter.lua index 13ee909..134de68 100644 --- a/api/C_PetJournal.SetPetTypeFilter.lua +++ b/api/C_PetJournal.SetPetTypeFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetPetTypeFilter() end \ No newline at end of file +function C_PetJournal.SetPetTypeFilter() end diff --git a/api/C_PetJournal.SetSearchFilter.lua b/api/C_PetJournal.SetSearchFilter.lua index a986e4c..b90551e 100644 --- a/api/C_PetJournal.SetSearchFilter.lua +++ b/api/C_PetJournal.SetSearchFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SetSearchFilter() end \ No newline at end of file +function C_PetJournal.SetSearchFilter() end diff --git a/api/C_PetJournal.SummonPetByGUID.lua b/api/C_PetJournal.SummonPetByGUID.lua index cc604c4..257b075 100644 --- a/api/C_PetJournal.SummonPetByGUID.lua +++ b/api/C_PetJournal.SummonPetByGUID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SummonPetByGUID() end \ No newline at end of file +function C_PetJournal.SummonPetByGUID() end diff --git a/api/C_PetJournal.SummonRandomPet.lua b/api/C_PetJournal.SummonRandomPet.lua index 96f938b..0bf311d 100644 --- a/api/C_PetJournal.SummonRandomPet.lua +++ b/api/C_PetJournal.SummonRandomPet.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_PetJournal.SummonRandomPet() end \ No newline at end of file +function C_PetJournal.SummonRandomPet() end diff --git a/api/C_Questline.GetNumAvailableQuestlines.lua b/api/C_Questline.GetNumAvailableQuestlines.lua index 84d9fe1..81692e9 100644 --- a/api/C_Questline.GetNumAvailableQuestlines.lua +++ b/api/C_Questline.GetNumAvailableQuestlines.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Questline.GetNumAvailableQuestlines() end \ No newline at end of file +function C_Questline.GetNumAvailableQuestlines() end diff --git a/api/C_Questline.GetQuestlineInfoByIndex.lua b/api/C_Questline.GetQuestlineInfoByIndex.lua index f8bb210..03f28f0 100644 --- a/api/C_Questline.GetQuestlineInfoByIndex.lua +++ b/api/C_Questline.GetQuestlineInfoByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Questline.GetQuestlineInfoByIndex() end \ No newline at end of file +function C_Questline.GetQuestlineInfoByIndex() end diff --git a/api/C_RecruitAFriend.CheckEmailEnabled.lua b/api/C_RecruitAFriend.CheckEmailEnabled.lua index b0317d5..7c36f37 100644 --- a/api/C_RecruitAFriend.CheckEmailEnabled.lua +++ b/api/C_RecruitAFriend.CheckEmailEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_RecruitAFriend.CheckEmailEnabled() end \ No newline at end of file +function C_RecruitAFriend.CheckEmailEnabled() end diff --git a/api/C_RecruitAFriend.GetRecruitInfo.lua b/api/C_RecruitAFriend.GetRecruitInfo.lua index 8ca540e..ede57a6 100644 --- a/api/C_RecruitAFriend.GetRecruitInfo.lua +++ b/api/C_RecruitAFriend.GetRecruitInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_RecruitAFriend.GetRecruitInfo() end \ No newline at end of file +function C_RecruitAFriend.GetRecruitInfo() end diff --git a/api/C_RecruitAFriend.IsSendingEnabled.lua b/api/C_RecruitAFriend.IsSendingEnabled.lua index 63abc49..fdcba27 100644 --- a/api/C_RecruitAFriend.IsSendingEnabled.lua +++ b/api/C_RecruitAFriend.IsSendingEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_RecruitAFriend.IsSendingEnabled() end \ No newline at end of file +function C_RecruitAFriend.IsSendingEnabled() end diff --git a/api/C_RecruitAFriend.SendRecruit.lua b/api/C_RecruitAFriend.SendRecruit.lua index 68b0d76..68daaa7 100644 --- a/api/C_RecruitAFriend.SendRecruit.lua +++ b/api/C_RecruitAFriend.SendRecruit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_RecruitAFriend.SendRecruit() end \ No newline at end of file +function C_RecruitAFriend.SendRecruit() end diff --git a/api/C_Scenario.GetBonusStepRewardQuestID.lua b/api/C_Scenario.GetBonusStepRewardQuestID.lua index e82adc9..bc5caa5 100644 --- a/api/C_Scenario.GetBonusStepRewardQuestID.lua +++ b/api/C_Scenario.GetBonusStepRewardQuestID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetBonusStepRewardQuestID() end \ No newline at end of file +function C_Scenario.GetBonusStepRewardQuestID() end diff --git a/api/C_Scenario.GetBonusSteps.lua b/api/C_Scenario.GetBonusSteps.lua index 56f7f1e..5739eb6 100644 --- a/api/C_Scenario.GetBonusSteps.lua +++ b/api/C_Scenario.GetBonusSteps.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetBonusSteps() end \ No newline at end of file +function C_Scenario.GetBonusSteps() end diff --git a/api/C_Scenario.GetCriteriaInfo.lua b/api/C_Scenario.GetCriteriaInfo.lua index 476b384..ff8609f 100644 --- a/api/C_Scenario.GetCriteriaInfo.lua +++ b/api/C_Scenario.GetCriteriaInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetCriteriaInfo() end \ No newline at end of file +function C_Scenario.GetCriteriaInfo() end diff --git a/api/C_Scenario.GetCriteriaInfoByStep.lua b/api/C_Scenario.GetCriteriaInfoByStep.lua index cdc90d2..b2d331d 100644 --- a/api/C_Scenario.GetCriteriaInfoByStep.lua +++ b/api/C_Scenario.GetCriteriaInfoByStep.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetCriteriaInfoByStep() end \ No newline at end of file +function C_Scenario.GetCriteriaInfoByStep() end diff --git a/api/C_Scenario.GetInfo.lua b/api/C_Scenario.GetInfo.lua index 4f4b30c..a062173 100644 --- a/api/C_Scenario.GetInfo.lua +++ b/api/C_Scenario.GetInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetInfo() end \ No newline at end of file +function C_Scenario.GetInfo() end diff --git a/api/C_Scenario.GetProvingGroundsInfo.lua b/api/C_Scenario.GetProvingGroundsInfo.lua index 23ae10d..b5e56f8 100644 --- a/api/C_Scenario.GetProvingGroundsInfo.lua +++ b/api/C_Scenario.GetProvingGroundsInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetProvingGroundsInfo() end \ No newline at end of file +function C_Scenario.GetProvingGroundsInfo() end diff --git a/api/C_Scenario.GetScenarioIconInfo.lua b/api/C_Scenario.GetScenarioIconInfo.lua index 28d3b93..84d4b12 100644 --- a/api/C_Scenario.GetScenarioIconInfo.lua +++ b/api/C_Scenario.GetScenarioIconInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetScenarioIconInfo() end \ No newline at end of file +function C_Scenario.GetScenarioIconInfo() end diff --git a/api/C_Scenario.GetStepInfo.lua b/api/C_Scenario.GetStepInfo.lua index 0bf4402..53db2a6 100644 --- a/api/C_Scenario.GetStepInfo.lua +++ b/api/C_Scenario.GetStepInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetStepInfo() end \ No newline at end of file +function C_Scenario.GetStepInfo() end diff --git a/api/C_Scenario.GetSupersededObjectives.lua b/api/C_Scenario.GetSupersededObjectives.lua index 7df60fd..7002239 100644 --- a/api/C_Scenario.GetSupersededObjectives.lua +++ b/api/C_Scenario.GetSupersededObjectives.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.GetSupersededObjectives() end \ No newline at end of file +function C_Scenario.GetSupersededObjectives() end diff --git a/api/C_Scenario.IsChallengeMode.lua b/api/C_Scenario.IsChallengeMode.lua index 1bb3693..00186cf 100644 --- a/api/C_Scenario.IsChallengeMode.lua +++ b/api/C_Scenario.IsChallengeMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.IsChallengeMode() end \ No newline at end of file +function C_Scenario.IsChallengeMode() end diff --git a/api/C_Scenario.IsInScenario.lua b/api/C_Scenario.IsInScenario.lua index 7ace249..e310b65 100644 --- a/api/C_Scenario.IsInScenario.lua +++ b/api/C_Scenario.IsInScenario.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.IsInScenario() end \ No newline at end of file +function C_Scenario.IsInScenario() end diff --git a/api/C_Scenario.TreatScenarioAsDungeon.lua b/api/C_Scenario.TreatScenarioAsDungeon.lua index 36e4fa4..86fd987 100644 --- a/api/C_Scenario.TreatScenarioAsDungeon.lua +++ b/api/C_Scenario.TreatScenarioAsDungeon.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Scenario.TreatScenarioAsDungeon() end \ No newline at end of file +function C_Scenario.TreatScenarioAsDungeon() end diff --git a/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua b/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua index 30f3055..92d509c 100644 --- a/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua +++ b/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_TaskQuest.GetQuestObjectiveStrByQuestID() end \ No newline at end of file +function C_TaskQuest.GetQuestObjectiveStrByQuestID() end diff --git a/api/C_TaskQuest.GetQuestTitleByQuestID.lua b/api/C_TaskQuest.GetQuestTitleByQuestID.lua index 4cbfc8a..8ab7b38 100644 --- a/api/C_TaskQuest.GetQuestTitleByQuestID.lua +++ b/api/C_TaskQuest.GetQuestTitleByQuestID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string name +---@param id number +---@return string name ---Return the name of a quest with a given ID -function C_TaskQuest.GetQuestTitleByQuestID(id) end \ No newline at end of file +function C_TaskQuest.GetQuestTitleByQuestID(id) end diff --git a/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua b/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua index 1d3b14b..60424dd 100644 --- a/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua +++ b/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_TaskQuest.GetQuestsForPlayerByMapID() end \ No newline at end of file +function C_TaskQuest.GetQuestsForPlayerByMapID() end diff --git a/api/C_Timer.After.lua b/api/C_Timer.After.lua index fde529c..8cee8f3 100644 --- a/api/C_Timer.After.lua +++ b/api/C_Timer.After.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param duration number ----@param callback function +---@param duration number +---@param callback function ---Creates and starts a timer that calls 'callback' after 'duration' seconds.. The timer resolution will only be correct after the character is fully in the game, due to the underlying mechanism being tied to frame draws. -function C_Timer.After(duration, callback) end \ No newline at end of file +function C_Timer.After(duration, callback) end diff --git a/api/C_ToyBox.ClearAllSourceTypesFiltered.lua b/api/C_ToyBox.ClearAllSourceTypesFiltered.lua index 13e5c9c..8a141f6 100644 --- a/api/C_ToyBox.ClearAllSourceTypesFiltered.lua +++ b/api/C_ToyBox.ClearAllSourceTypesFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.ClearAllSourceTypesFiltered() end \ No newline at end of file +function C_ToyBox.ClearAllSourceTypesFiltered() end diff --git a/api/C_ToyBox.FilterToys.lua b/api/C_ToyBox.FilterToys.lua index a9d3eb5..42b8b1f 100644 --- a/api/C_ToyBox.FilterToys.lua +++ b/api/C_ToyBox.FilterToys.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.FilterToys() end \ No newline at end of file +function C_ToyBox.FilterToys() end diff --git a/api/C_ToyBox.GetFilterCollected.lua b/api/C_ToyBox.GetFilterCollected.lua index 00ca5e6..a58cb22 100644 --- a/api/C_ToyBox.GetFilterCollected.lua +++ b/api/C_ToyBox.GetFilterCollected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetFilterCollected() end \ No newline at end of file +function C_ToyBox.GetFilterCollected() end diff --git a/api/C_ToyBox.GetFilterUncollected.lua b/api/C_ToyBox.GetFilterUncollected.lua index 186676b..8921517 100644 --- a/api/C_ToyBox.GetFilterUncollected.lua +++ b/api/C_ToyBox.GetFilterUncollected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetFilterUncollected() end \ No newline at end of file +function C_ToyBox.GetFilterUncollected() end diff --git a/api/C_ToyBox.GetIsFavorite.lua b/api/C_ToyBox.GetIsFavorite.lua index 2738877..7669a7f 100644 --- a/api/C_ToyBox.GetIsFavorite.lua +++ b/api/C_ToyBox.GetIsFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetIsFavorite() end \ No newline at end of file +function C_ToyBox.GetIsFavorite() end diff --git a/api/C_ToyBox.GetNumFilteredToys.lua b/api/C_ToyBox.GetNumFilteredToys.lua index 0ea319e..6fd6009 100644 --- a/api/C_ToyBox.GetNumFilteredToys.lua +++ b/api/C_ToyBox.GetNumFilteredToys.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetNumFilteredToys() end \ No newline at end of file +function C_ToyBox.GetNumFilteredToys() end diff --git a/api/C_ToyBox.GetNumLearnedDisplayedToys.lua b/api/C_ToyBox.GetNumLearnedDisplayedToys.lua index 6c7bdeb..18f3eb0 100644 --- a/api/C_ToyBox.GetNumLearnedDisplayedToys.lua +++ b/api/C_ToyBox.GetNumLearnedDisplayedToys.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetNumLearnedDisplayedToys() end \ No newline at end of file +function C_ToyBox.GetNumLearnedDisplayedToys() end diff --git a/api/C_ToyBox.GetNumTotalDisplayedToys.lua b/api/C_ToyBox.GetNumTotalDisplayedToys.lua index 7a7917d..b783470 100644 --- a/api/C_ToyBox.GetNumTotalDisplayedToys.lua +++ b/api/C_ToyBox.GetNumTotalDisplayedToys.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetNumTotalDisplayedToys() end \ No newline at end of file +function C_ToyBox.GetNumTotalDisplayedToys() end diff --git a/api/C_ToyBox.GetNumToys.lua b/api/C_ToyBox.GetNumToys.lua index 4ced626..3782e1f 100644 --- a/api/C_ToyBox.GetNumToys.lua +++ b/api/C_ToyBox.GetNumToys.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetNumToys() end \ No newline at end of file +function C_ToyBox.GetNumToys() end diff --git a/api/C_ToyBox.GetToyFromIndex.lua b/api/C_ToyBox.GetToyFromIndex.lua index 71a506a..aceb59e 100644 --- a/api/C_ToyBox.GetToyFromIndex.lua +++ b/api/C_ToyBox.GetToyFromIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetToyFromIndex() end \ No newline at end of file +function C_ToyBox.GetToyFromIndex() end diff --git a/api/C_ToyBox.GetToyInfo.lua b/api/C_ToyBox.GetToyInfo.lua index db30710..cdcf4c9 100644 --- a/api/C_ToyBox.GetToyInfo.lua +++ b/api/C_ToyBox.GetToyInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@return number itemID ----@return string name ----@return string texture ----@return boolean collected +---@param itemID number +---@return number itemID +---@return string name +---@return string texture +---@return boolean collected ---Returns information about an item by id. Returns a item information for a given toy or nil if no data exists. -function C_ToyBox.GetToyInfo(itemID) end \ No newline at end of file +function C_ToyBox.GetToyInfo(itemID) end diff --git a/api/C_ToyBox.GetToyLink.lua b/api/C_ToyBox.GetToyLink.lua index 3d40eeb..58c2889 100644 --- a/api/C_ToyBox.GetToyLink.lua +++ b/api/C_ToyBox.GetToyLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.GetToyLink() end \ No newline at end of file +function C_ToyBox.GetToyLink() end diff --git a/api/C_ToyBox.HasFavorites.lua b/api/C_ToyBox.HasFavorites.lua index 9316c70..fc7456c 100644 --- a/api/C_ToyBox.HasFavorites.lua +++ b/api/C_ToyBox.HasFavorites.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.HasFavorites() end \ No newline at end of file +function C_ToyBox.HasFavorites() end diff --git a/api/C_ToyBox.IsSourceTypeFiltered.lua b/api/C_ToyBox.IsSourceTypeFiltered.lua index 9687daa..888c6d4 100644 --- a/api/C_ToyBox.IsSourceTypeFiltered.lua +++ b/api/C_ToyBox.IsSourceTypeFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.IsSourceTypeFiltered() end \ No newline at end of file +function C_ToyBox.IsSourceTypeFiltered() end diff --git a/api/C_ToyBox.PickupToyBoxItem.lua b/api/C_ToyBox.PickupToyBoxItem.lua index 0fa6c2b..87e1a5e 100644 --- a/api/C_ToyBox.PickupToyBoxItem.lua +++ b/api/C_ToyBox.PickupToyBoxItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.PickupToyBoxItem() end \ No newline at end of file +function C_ToyBox.PickupToyBoxItem() end diff --git a/api/C_ToyBox.SetAllSourceTypesFiltered.lua b/api/C_ToyBox.SetAllSourceTypesFiltered.lua index 4e61791..37a5f51 100644 --- a/api/C_ToyBox.SetAllSourceTypesFiltered.lua +++ b/api/C_ToyBox.SetAllSourceTypesFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.SetAllSourceTypesFiltered() end \ No newline at end of file +function C_ToyBox.SetAllSourceTypesFiltered() end diff --git a/api/C_ToyBox.SetFilterCollected.lua b/api/C_ToyBox.SetFilterCollected.lua index e5d35b1..1412343 100644 --- a/api/C_ToyBox.SetFilterCollected.lua +++ b/api/C_ToyBox.SetFilterCollected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.SetFilterCollected() end \ No newline at end of file +function C_ToyBox.SetFilterCollected() end diff --git a/api/C_ToyBox.SetFilterSourceType.lua b/api/C_ToyBox.SetFilterSourceType.lua index 238b172..ed436b0 100644 --- a/api/C_ToyBox.SetFilterSourceType.lua +++ b/api/C_ToyBox.SetFilterSourceType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.SetFilterSourceType() end \ No newline at end of file +function C_ToyBox.SetFilterSourceType() end diff --git a/api/C_ToyBox.SetFilterString.lua b/api/C_ToyBox.SetFilterString.lua index ba11a2f..cd40a11 100644 --- a/api/C_ToyBox.SetFilterString.lua +++ b/api/C_ToyBox.SetFilterString.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.SetFilterString() end \ No newline at end of file +function C_ToyBox.SetFilterString() end diff --git a/api/C_ToyBox.SetFilterUncollected.lua b/api/C_ToyBox.SetFilterUncollected.lua index fa5cf28..d53e49c 100644 --- a/api/C_ToyBox.SetFilterUncollected.lua +++ b/api/C_ToyBox.SetFilterUncollected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.SetFilterUncollected() end \ No newline at end of file +function C_ToyBox.SetFilterUncollected() end diff --git a/api/C_ToyBox.SetIsFavorite.lua b/api/C_ToyBox.SetIsFavorite.lua index 09832ee..fd57c70 100644 --- a/api/C_ToyBox.SetIsFavorite.lua +++ b/api/C_ToyBox.SetIsFavorite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_ToyBox.SetIsFavorite() end \ No newline at end of file +function C_ToyBox.SetIsFavorite() end diff --git a/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua b/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua index 9653f36..5145ccf 100644 --- a/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua +++ b/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentChangeAppearanceToTrophyID() end \ No newline at end of file +function C_Trophy.MonumentChangeAppearanceToTrophyID() end diff --git a/api/C_Trophy.MonumentCloseMonumentUI.lua b/api/C_Trophy.MonumentCloseMonumentUI.lua index 4260051..3361e30 100644 --- a/api/C_Trophy.MonumentCloseMonumentUI.lua +++ b/api/C_Trophy.MonumentCloseMonumentUI.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentCloseMonumentUI() end \ No newline at end of file +function C_Trophy.MonumentCloseMonumentUI() end diff --git a/api/C_Trophy.MonumentGetCount.lua b/api/C_Trophy.MonumentGetCount.lua index 1c3d77a..0a62a7a 100644 --- a/api/C_Trophy.MonumentGetCount.lua +++ b/api/C_Trophy.MonumentGetCount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentGetCount() end \ No newline at end of file +function C_Trophy.MonumentGetCount() end diff --git a/api/C_Trophy.MonumentGetSelectedTrophyID.lua b/api/C_Trophy.MonumentGetSelectedTrophyID.lua index cb63905..b695dfd 100644 --- a/api/C_Trophy.MonumentGetSelectedTrophyID.lua +++ b/api/C_Trophy.MonumentGetSelectedTrophyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentGetSelectedTrophyID() end \ No newline at end of file +function C_Trophy.MonumentGetSelectedTrophyID() end diff --git a/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua b/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua index 6c823da..8fc0fea 100644 --- a/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua +++ b/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentGetTrophyInfoByIndex() end \ No newline at end of file +function C_Trophy.MonumentGetTrophyInfoByIndex() end diff --git a/api/C_Trophy.MonumentLoadList.lua b/api/C_Trophy.MonumentLoadList.lua index ca9368e..ba3dee3 100644 --- a/api/C_Trophy.MonumentLoadList.lua +++ b/api/C_Trophy.MonumentLoadList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentLoadList() end \ No newline at end of file +function C_Trophy.MonumentLoadList() end diff --git a/api/C_Trophy.MonumentLoadSelectedTrophyID.lua b/api/C_Trophy.MonumentLoadSelectedTrophyID.lua index cb5b944..82ab896 100644 --- a/api/C_Trophy.MonumentLoadSelectedTrophyID.lua +++ b/api/C_Trophy.MonumentLoadSelectedTrophyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentLoadSelectedTrophyID() end \ No newline at end of file +function C_Trophy.MonumentLoadSelectedTrophyID() end diff --git a/api/C_Trophy.MonumentRevertAppearanceToSaved.lua b/api/C_Trophy.MonumentRevertAppearanceToSaved.lua index e8fac65..2eac43c 100644 --- a/api/C_Trophy.MonumentRevertAppearanceToSaved.lua +++ b/api/C_Trophy.MonumentRevertAppearanceToSaved.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentRevertAppearanceToSaved() end \ No newline at end of file +function C_Trophy.MonumentRevertAppearanceToSaved() end diff --git a/api/C_Trophy.MonumentSaveSelection.lua b/api/C_Trophy.MonumentSaveSelection.lua index b533419..dc0247f 100644 --- a/api/C_Trophy.MonumentSaveSelection.lua +++ b/api/C_Trophy.MonumentSaveSelection.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function C_Trophy.MonumentSaveSelection() end \ No newline at end of file +function C_Trophy.MonumentSaveSelection() end diff --git a/api/CalendarAddEvent.lua b/api/CalendarAddEvent.lua index 067425e..c7af96b 100644 --- a/api/CalendarAddEvent.lua +++ b/api/CalendarAddEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Saves the event recently created (and selected for editing) to the calendar. Until this function is called, an event created with CalendarNewEvent(), CalendarNewGuildEvent(), or CalendarNewGuildAnnouncement() will not exist on the calendar -- that is, guild members or invitees will not see it, and it will not persist if the player closes the calendar, reloads the UI, or goes to view or edit another event. -function CalendarAddEvent() end \ No newline at end of file +function CalendarAddEvent() end diff --git a/api/CalendarCanAddEvent.lua b/api/CalendarCanAddEvent.lua index 0e9c164..1c418dd 100644 --- a/api/CalendarCanAddEvent.lua +++ b/api/CalendarCanAddEvent.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canAdd +---@return boolean canAdd ---Returns whether the player can add an event to the calendar -function CalendarCanAddEvent() end \ No newline at end of file +function CalendarCanAddEvent() end diff --git a/api/CalendarCanSendInvite.lua b/api/CalendarCanSendInvite.lua index 98a0bd6..3deabc4 100644 --- a/api/CalendarCanSendInvite.lua +++ b/api/CalendarCanSendInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canInvite +---@return boolean canInvite ---Returns whether the player can invite others to a calendar event -function CalendarCanSendInvite() end \ No newline at end of file +function CalendarCanSendInvite() end diff --git a/api/CalendarCloseEvent.lua b/api/CalendarCloseEvent.lua index 7739143..3da3b4b 100644 --- a/api/CalendarCloseEvent.lua +++ b/api/CalendarCloseEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Deselects (ends viewing/editing on) an event. After calling this function, results of attempting to query or change event information are not guaranteed until a new event is created or another existing event is opened. -function CalendarCloseEvent() end \ No newline at end of file +function CalendarCloseEvent() end diff --git a/api/CalendarContextDeselectEvent.lua b/api/CalendarContextDeselectEvent.lua index 9d35341..b5a6207 100644 --- a/api/CalendarContextDeselectEvent.lua +++ b/api/CalendarContextDeselectEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Clears the event selection used only for CalendarContext functions. The selection state cleared by this function is used only by other CalendarContext functions; other calendar event functions use the selection state set by CalendarOpenEvent, CalendarNewEvent, CalendarNewGuildEvent, or CalendarNewGuildAnnouncement (if they use a selection state at all). -function CalendarContextDeselectEvent() end \ No newline at end of file +function CalendarContextDeselectEvent() end diff --git a/api/CalendarContextEventCanRemove.lua b/api/CalendarContextEventCanRemove.lua index c3cfd57..fccf886 100644 --- a/api/CalendarContextEventCanRemove.lua +++ b/api/CalendarContextEventCanRemove.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CalendarContextEventCanRemove() end \ No newline at end of file +function CalendarContextEventCanRemove() end diff --git a/api/CalendarContextEventClipboard.lua b/api/CalendarContextEventClipboard.lua index 88089a3..d473a0c 100644 --- a/api/CalendarContextEventClipboard.lua +++ b/api/CalendarContextEventClipboard.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canPaste +---@return boolean canPaste ---Returns whether the player can paste an event -function CalendarContextEventClipboard() end \ No newline at end of file +function CalendarContextEventClipboard() end diff --git a/api/CalendarContextGetEventIndex.lua b/api/CalendarContextGetEventIndex.lua index 5b10866..b7d2d34 100644 --- a/api/CalendarContextGetEventIndex.lua +++ b/api/CalendarContextGetEventIndex.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1 monthOffset ----@return -1 ----@return 0 ----@return 1 ----@return number day ----@return number index +---@return 1 monthOffset +---@return -1 +---@return 0 +---@return 1 +---@return number day +---@return number index ---Returns the month, day, and index of the event selection used only for CalendarContext functions. The selection state referenced by this function is used only by other CalendarContext functions; other calendar event functions use the selection state set by CalendarOpenEvent, CalendarNewEvent, CalendarNewGuildEvent, or CalendarNewGuildAnnouncement (if they use a selection state at all). Used in the default UI to implement the calendar's context menu (on right-click). -function CalendarContextGetEventIndex() end \ No newline at end of file +function CalendarContextGetEventIndex() end diff --git a/api/CalendarContextInviteTentative.lua b/api/CalendarContextInviteTentative.lua index 4b67290..dc5ec10 100644 --- a/api/CalendarContextInviteTentative.lua +++ b/api/CalendarContextInviteTentative.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CalendarContextInviteTentative() end \ No newline at end of file +function CalendarContextInviteTentative() end diff --git a/api/CalendarDefaultGuildFilter.lua b/api/CalendarDefaultGuildFilter.lua index b6ff049..90e7f80 100644 --- a/api/CalendarDefaultGuildFilter.lua +++ b/api/CalendarDefaultGuildFilter.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number minLevel ----@return number maxLevel ----@return number rank +---@return number minLevel +---@return number maxLevel +---@return number rank ---Returns default options for the guild member Mass Invite filter -function CalendarDefaultGuildFilter() end \ No newline at end of file +function CalendarDefaultGuildFilter() end diff --git a/api/CalendarEventAvailable.lua b/api/CalendarEventAvailable.lua index 769d91f..b92e508 100644 --- a/api/CalendarEventAvailable.lua +++ b/api/CalendarEventAvailable.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts invitation to the selected calendar event. Only applies to player-created events and invitations sent by other players; has no effect if the current calendar event is of another type. -function CalendarEventAvailable() end \ No newline at end of file +function CalendarEventAvailable() end diff --git a/api/CalendarEventCanEdit.lua b/api/CalendarEventCanEdit.lua index 56df1b4..af87d08 100644 --- a/api/CalendarEventCanEdit.lua +++ b/api/CalendarEventCanEdit.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canEdit +---@return boolean canEdit ---Returns whether the player can edit the selected calendar event -function CalendarEventCanEdit() end \ No newline at end of file +function CalendarEventCanEdit() end diff --git a/api/CalendarEventCanModerate.lua b/api/CalendarEventCanModerate.lua index d008b86..5010dae 100644 --- a/api/CalendarEventCanModerate.lua +++ b/api/CalendarEventCanModerate.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return boolean canModerate +---@param index number +---@return boolean canModerate ---Returns whether an event invitee can be granted moderator authority -function CalendarEventCanModerate(index) end \ No newline at end of file +function CalendarEventCanModerate(index) end diff --git a/api/CalendarEventClearAutoApprove.lua b/api/CalendarEventClearAutoApprove.lua index 3c1501e..8eec137 100644 --- a/api/CalendarEventClearAutoApprove.lua +++ b/api/CalendarEventClearAutoApprove.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Disables the auto-approve feature (currently unused) for the selected calendar event -function CalendarEventClearAutoApprove() end \ No newline at end of file +function CalendarEventClearAutoApprove() end diff --git a/api/CalendarEventClearLocked.lua b/api/CalendarEventClearLocked.lua index d733549..164cad1 100644 --- a/api/CalendarEventClearLocked.lua +++ b/api/CalendarEventClearLocked.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Unlocks the selected calendar event. Locked events do not allow invitees to respond or guild members to sign up, but can still be edited. -function CalendarEventClearLocked() end \ No newline at end of file +function CalendarEventClearLocked() end diff --git a/api/CalendarEventClearModerator.lua b/api/CalendarEventClearModerator.lua index c08476f..a23043d 100644 --- a/api/CalendarEventClearModerator.lua +++ b/api/CalendarEventClearModerator.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Removes moderator status from a character on the selected event's invite/signup list. Moderators can change the status of characters on the invite/signup list and invite more characters, but cannot otherwise edit the event. -function CalendarEventClearModerator(index) end \ No newline at end of file +function CalendarEventClearModerator(index) end diff --git a/api/CalendarEventDecline.lua b/api/CalendarEventDecline.lua index a9b48c6..ff69494 100644 --- a/api/CalendarEventDecline.lua +++ b/api/CalendarEventDecline.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines invitation to the selected calendar event. Only applies to player-created events and invitations sent by other players; has no effect if the current calendar event is of another type. -function CalendarEventDecline() end \ No newline at end of file +function CalendarEventDecline() end diff --git a/api/CalendarEventGetCalendarType.lua b/api/CalendarEventGetCalendarType.lua index 8357bbe..9d7ab13 100644 --- a/api/CalendarEventGetCalendarType.lua +++ b/api/CalendarEventGetCalendarType.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return PLAYER calendarType ----@return GUILD_ANNOUNCEMENT ----@return GUILD_EVENT ----@return PLAYER +---@return PLAYER calendarType +---@return GUILD_ANNOUNCEMENT +---@return GUILD_EVENT +---@return PLAYER ---Returns the type of the selected calendar event -function CalendarEventGetCalendarType() end \ No newline at end of file +function CalendarEventGetCalendarType() end diff --git a/api/CalendarEventGetInvite.lua b/api/CalendarEventGetInvite.lua index 08ffcf4..74842c0 100644 --- a/api/CalendarEventGetInvite.lua +++ b/api/CalendarEventGetInvite.lua @@ -1,24 +1,24 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return number level ----@return string className ----@return string classFileName ----@return 7 inviteStatus ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return MODERATOR modStatus ----@return CREATOR ----@return MODERATOR ----@return boolean inviteIsMine ----@return 2 inviteType ----@return 1 ----@return 2 +---@param index number +---@return string name +---@return number level +---@return string className +---@return string classFileName +---@return 7 inviteStatus +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return MODERATOR modStatus +---@return CREATOR +---@return MODERATOR +---@return boolean inviteIsMine +---@return 2 inviteType +---@return 1 +---@return 2 ---Returns information about an entry in the selected event's invite/signup list -function CalendarEventGetInvite(index) end \ No newline at end of file +function CalendarEventGetInvite(index) end diff --git a/api/CalendarEventGetInviteResponseTime.lua b/api/CalendarEventGetInviteResponseTime.lua index 4637101..bde5dc6 100644 --- a/api/CalendarEventGetInviteResponseTime.lua +++ b/api/CalendarEventGetInviteResponseTime.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number weekday ----@return number month ----@return number day ----@return number year ----@return number hour ----@return number minute +---@param index number +---@return number weekday +---@return number month +---@return number day +---@return number year +---@return number hour +---@return number minute ---Returns the time at which a character on the selected event's invite/signup list responded. Returns all zeros if the character has not yet responded or is the event's creator. -function CalendarEventGetInviteResponseTime(index) end \ No newline at end of file +function CalendarEventGetInviteResponseTime(index) end diff --git a/api/CalendarEventGetInviteSortCriterion.lua b/api/CalendarEventGetInviteSortCriterion.lua index 8a9b825..f76186b 100644 --- a/api/CalendarEventGetInviteSortCriterion.lua +++ b/api/CalendarEventGetInviteSortCriterion.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return status criterion ----@return CLASS_SORT_ORDER class ----@return name ----@return status ----@return boolean reverse +---@return status criterion +---@return CLASS_SORT_ORDER class +---@return name +---@return status +---@return boolean reverse ---Returns the current sort mode for the event invite/signup list -function CalendarEventGetInviteSortCriterion() end \ No newline at end of file +function CalendarEventGetInviteSortCriterion() end diff --git a/api/CalendarEventGetNumInvites.lua b/api/CalendarEventGetNumInvites.lua index 2b0a7f3..3fbdeed 100644 --- a/api/CalendarEventGetNumInvites.lua +++ b/api/CalendarEventGetNumInvites.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numInvites +---@return number numInvites ---Returns the number of characters on the selected calendar event's invite/signup list -function CalendarEventGetNumInvites() end \ No newline at end of file +function CalendarEventGetNumInvites() end diff --git a/api/CalendarEventGetRepeatOptions.lua b/api/CalendarEventGetRepeatOptions.lua index 7817efc..5941236 100644 --- a/api/CalendarEventGetRepeatOptions.lua +++ b/api/CalendarEventGetRepeatOptions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of localized event repetition option labels (currently unused) -function CalendarEventGetRepeatOptions() end \ No newline at end of file +function CalendarEventGetRepeatOptions() end diff --git a/api/CalendarEventGetSelectedInvite.lua b/api/CalendarEventGetSelectedInvite.lua index ed24691..4543f7e 100644 --- a/api/CalendarEventGetSelectedInvite.lua +++ b/api/CalendarEventGetSelectedInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the selected entry on the selected event's invite/signup list. In the current default UI, selection behavior in the invite list is implemented but disabled; selecting an invite list entry has no effect on the behavior of other APIs. -function CalendarEventGetSelectedInvite() end \ No newline at end of file +function CalendarEventGetSelectedInvite() end diff --git a/api/CalendarEventGetStatusOptions.lua b/api/CalendarEventGetStatusOptions.lua index 47f657d..8a5e51d 100644 --- a/api/CalendarEventGetStatusOptions.lua +++ b/api/CalendarEventGetStatusOptions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of localized invite status labels -function CalendarEventGetStatusOptions() end \ No newline at end of file +function CalendarEventGetStatusOptions() end diff --git a/api/CalendarEventGetTypes.lua b/api/CalendarEventGetTypes.lua index 1237b70..111799b 100644 --- a/api/CalendarEventGetTypes.lua +++ b/api/CalendarEventGetTypes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of event display style labels -function CalendarEventGetTypes() end \ No newline at end of file +function CalendarEventGetTypes() end diff --git a/api/CalendarEventGetTypesDisplayOrdered.lua b/api/CalendarEventGetTypesDisplayOrdered.lua index ed32ec8..9638c8f 100644 --- a/api/CalendarEventGetTypesDisplayOrdered.lua +++ b/api/CalendarEventGetTypesDisplayOrdered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CalendarEventGetTypesDisplayOrdered() end \ No newline at end of file +function CalendarEventGetTypesDisplayOrdered() end diff --git a/api/CalendarEventHasPendingInvite.lua b/api/CalendarEventHasPendingInvite.lua index eb9cd27..d340b8a 100644 --- a/api/CalendarEventHasPendingInvite.lua +++ b/api/CalendarEventHasPendingInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean pendingInvite +---@return boolean pendingInvite ---Returns whether the player has been invited to the selected event and not yet responded -function CalendarEventHasPendingInvite() end \ No newline at end of file +function CalendarEventHasPendingInvite() end diff --git a/api/CalendarEventHaveSettingsChanged.lua b/api/CalendarEventHaveSettingsChanged.lua index 1395089..a721213 100644 --- a/api/CalendarEventHaveSettingsChanged.lua +++ b/api/CalendarEventHaveSettingsChanged.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean settingsChanged +---@return boolean settingsChanged ---Returns whether the selected event has unsaved changes -function CalendarEventHaveSettingsChanged() end \ No newline at end of file +function CalendarEventHaveSettingsChanged() end diff --git a/api/CalendarEventInvite.lua b/api/CalendarEventInvite.lua index 0711804..42348d8 100644 --- a/api/CalendarEventInvite.lua +++ b/api/CalendarEventInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Attempts to invite a character to the selected event. If successful, the CALENDAR_UPDATE_INVITE_LIST event fires indicating the character has been added to the invite list; otherwise the CALENDAR_UPDATE_ERROR event fires containing a localized error message. -function CalendarEventInvite(name) end \ No newline at end of file +function CalendarEventInvite(name) end diff --git a/api/CalendarEventIsModerator.lua b/api/CalendarEventIsModerator.lua index 97a11ff..949819f 100644 --- a/api/CalendarEventIsModerator.lua +++ b/api/CalendarEventIsModerator.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isModerator +---@return boolean isModerator ---Returns whether the player has moderator status for the selected calendar event. Also returns true if the player is the event's creator. -function CalendarEventIsModerator() end \ No newline at end of file +function CalendarEventIsModerator() end diff --git a/api/CalendarEventRemoveInvite.lua b/api/CalendarEventRemoveInvite.lua index 82acc06..84ea61f 100644 --- a/api/CalendarEventRemoveInvite.lua +++ b/api/CalendarEventRemoveInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Removes a character from the selected event's invite/signup list. Cannot be used to remove the event's creator (fires a CALENDAR_UPDATE_ERROR event with nil error message if such is attempted). -function CalendarEventRemoveInvite(index) end \ No newline at end of file +function CalendarEventRemoveInvite(index) end diff --git a/api/CalendarEventSelectInvite.lua b/api/CalendarEventSelectInvite.lua index 0a34ab7..77473d5 100644 --- a/api/CalendarEventSelectInvite.lua +++ b/api/CalendarEventSelectInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects an entry in the selected event's invite/signup list. In the current default UI, selection behavior in the invite list is implemented but disabled; selecting an invite list entry has no effect on the behavior of other APIs. -function CalendarEventSelectInvite(index) end \ No newline at end of file +function CalendarEventSelectInvite(index) end diff --git a/api/CalendarEventSetAutoApprove.lua b/api/CalendarEventSetAutoApprove.lua index 6134c92..87622a0 100644 --- a/api/CalendarEventSetAutoApprove.lua +++ b/api/CalendarEventSetAutoApprove.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables the auto-approve feature (currently unused) for the selected calendar event -function CalendarEventSetAutoApprove() end \ No newline at end of file +function CalendarEventSetAutoApprove() end diff --git a/api/CalendarEventSetDate.lua b/api/CalendarEventSetDate.lua index a67a0bd..d2eb061 100644 --- a/api/CalendarEventSetDate.lua +++ b/api/CalendarEventSetDate.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param month number ----@param day number ----@param year number +---@param month number +---@param day number +---@param year number ---Changes the scheduled date of the selected calendar event -function CalendarEventSetDate(month, day, year) end \ No newline at end of file +function CalendarEventSetDate(month, day, year) end diff --git a/api/CalendarEventSetDescription.lua b/api/CalendarEventSetDescription.lua index 341410e..d079e9c 100644 --- a/api/CalendarEventSetDescription.lua +++ b/api/CalendarEventSetDescription.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param description string +---@param description string ---Changes the descriptive text for the selected event -function CalendarEventSetDescription(description) end \ No newline at end of file +function CalendarEventSetDescription(description) end diff --git a/api/CalendarEventSetLocked.lua b/api/CalendarEventSetLocked.lua index 2feed73..8217317 100644 --- a/api/CalendarEventSetLocked.lua +++ b/api/CalendarEventSetLocked.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Locks the selected calendar event. Locked events do not allow invitees to respond or guild members to sign up, but can still be edited. -function CalendarEventSetLocked() end \ No newline at end of file +function CalendarEventSetLocked() end diff --git a/api/CalendarEventSetLockoutDate.lua b/api/CalendarEventSetLockoutDate.lua index 7c59a72..9bb339a 100644 --- a/api/CalendarEventSetLockoutDate.lua +++ b/api/CalendarEventSetLockoutDate.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param month number ----@param day number ----@param year number +---@param month number +---@param day number +---@param year number ---Changes the lockout date associated with the selected event (currently unused). This feature is not enabled in the current version of World of Warcraft; saving an event in which the lockout date has been changed will revert it to its default of 1, 1, 1, 2000 (January 1, 2000). -function CalendarEventSetLockoutDate(month, day, year) end \ No newline at end of file +function CalendarEventSetLockoutDate(month, day, year) end diff --git a/api/CalendarEventSetLockoutTime.lua b/api/CalendarEventSetLockoutTime.lua index e713ff8..78617a6 100644 --- a/api/CalendarEventSetLockoutTime.lua +++ b/api/CalendarEventSetLockoutTime.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param hour number ----@param minute number +---@param hour number +---@param minute number ---Changes the lockout time associated with the selected event (currently unused). This feature is not enabled in the current version of World of Warcraft; saving an event in which the lockout time has been changed will revert it to its default of 0, 0 (midnight). -function CalendarEventSetLockoutTime(hour, minute) end \ No newline at end of file +function CalendarEventSetLockoutTime(hour, minute) end diff --git a/api/CalendarEventSetModerator.lua b/api/CalendarEventSetModerator.lua index 71fddd2..65ff229 100644 --- a/api/CalendarEventSetModerator.lua +++ b/api/CalendarEventSetModerator.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Grants moderator status to a character on the selected event's invite/signup list. Moderators can change the status of characters on the invite/signup list and invite more characters, but cannot otherwise edit the event. -function CalendarEventSetModerator(index) end \ No newline at end of file +function CalendarEventSetModerator(index) end diff --git a/api/CalendarEventSetRepeatOption.lua b/api/CalendarEventSetRepeatOption.lua index 8679263..ed36f63 100644 --- a/api/CalendarEventSetRepeatOption.lua +++ b/api/CalendarEventSetRepeatOption.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param title number +---@param title number ---Changes the repetition option for the selected event (currently unused). This feature is not enabled in the current version of World of Warcraft; saving an event in which the repeat option has been changed will revert it to its default of 1 (Never). -function CalendarEventSetRepeatOption(title) end \ No newline at end of file +function CalendarEventSetRepeatOption(title) end diff --git a/api/CalendarEventSetSize.lua b/api/CalendarEventSetSize.lua index 2ac01f6..0e49377 100644 --- a/api/CalendarEventSetSize.lua +++ b/api/CalendarEventSetSize.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param size number +---@param size number ---Changes the maximum number of invites/signups for the selected event (currently unused). This feature is not enabled in the current version of World of Warcraft; saving an event in which the max size has been changed will revert it to its default of 100. -function CalendarEventSetSize(size) end \ No newline at end of file +function CalendarEventSetSize(size) end diff --git a/api/CalendarEventSetTextureID.lua b/api/CalendarEventSetTextureID.lua index fadff48..31268fc 100644 --- a/api/CalendarEventSetTextureID.lua +++ b/api/CalendarEventSetTextureID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Changes the raid or dungeon instance for the selected event. Only applicable if the event's eventType is set to 1 or 2 (see CalendarEventSetType). A list of dungeon or raid instances can be found by calling CalendarEventGetTextures with the current eventType. That function returns three values (name, icon, and expansion) for each instance in the list; e.g. to get the index for use with this function, find the index of the instance's name in that list and divide by 3. -function CalendarEventSetTextureID(index) end \ No newline at end of file +function CalendarEventSetTextureID(index) end diff --git a/api/CalendarEventSetTime.lua b/api/CalendarEventSetTime.lua index d993203..55514a0 100644 --- a/api/CalendarEventSetTime.lua +++ b/api/CalendarEventSetTime.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param hour number ----@param minute number +---@param hour number +---@param minute number ---Changes the scheduled time of the selected event -function CalendarEventSetTime(hour, minute) end \ No newline at end of file +function CalendarEventSetTime(hour, minute) end diff --git a/api/CalendarEventSetTitle.lua b/api/CalendarEventSetTitle.lua index 5195666..3c0cb82 100644 --- a/api/CalendarEventSetTitle.lua +++ b/api/CalendarEventSetTitle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param title string +---@param title string ---Changes the title for the selected event -function CalendarEventSetTitle(title) end \ No newline at end of file +function CalendarEventSetTitle(title) end diff --git a/api/CalendarEventSignUp.lua b/api/CalendarEventSignUp.lua index 2fb6d36..ba1c7e0 100644 --- a/api/CalendarEventSignUp.lua +++ b/api/CalendarEventSignUp.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Signs the player up for the selected calendar event. Only applies to guild events; has no effect if called when the current calendar event is not a guild event. -function CalendarEventSignUp() end \ No newline at end of file +function CalendarEventSignUp() end diff --git a/api/CalendarEventSortInvites.lua b/api/CalendarEventSortInvites.lua index 17f5229..7d8169f 100644 --- a/api/CalendarEventSortInvites.lua +++ b/api/CalendarEventSortInvites.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param criterion status ----@param class CLASS_SORT_ORDER ----@param name ----@param status ----@param reverse boolean +---@param criterion status +---@param class CLASS_SORT_ORDER +---@param name +---@param status +---@param reverse boolean ---Sorts the event invite/signup list. Does not cause the list to automatically remain sorted; e.g. if sorted by status and a character's status is changed, the list will not be resorted until this function is called again. -function CalendarEventSortInvites(criterion, class, name, status, reverse) end \ No newline at end of file +function CalendarEventSortInvites(criterion, class, name, status, reverse) end diff --git a/api/CalendarEventTentative.lua b/api/CalendarEventTentative.lua index 5c97440..e363e66 100644 --- a/api/CalendarEventTentative.lua +++ b/api/CalendarEventTentative.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CalendarEventTentative() end \ No newline at end of file +function CalendarEventTentative() end diff --git a/api/CalendarGetAbsMonth.lua b/api/CalendarGetAbsMonth.lua index 47c63ed..24b38dc 100644 --- a/api/CalendarGetAbsMonth.lua +++ b/api/CalendarGetAbsMonth.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param month number ----@param year number ----@return number month ----@return number year ----@return number numDays ----@return number firstWeekday +---@param month number +---@param year number +---@return number month +---@return number year +---@return number numDays +---@return number firstWeekday ---Returns date information for a given month and year -function CalendarGetAbsMonth(month, year) end \ No newline at end of file +function CalendarGetAbsMonth(month, year) end diff --git a/api/CalendarGetDate.lua b/api/CalendarGetDate.lua index a50594a..b0bd16a 100644 --- a/api/CalendarGetDate.lua +++ b/api/CalendarGetDate.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number weekday ----@return number month ----@return number day ----@return number year +---@return number weekday +---@return number month +---@return number day +---@return number year ---Returns the current date (in the server's time zone). Only returns valid information after the PLAYER_LOGIN event has fired. -function CalendarGetDate() end \ No newline at end of file +function CalendarGetDate() end diff --git a/api/CalendarGetDayEventSequenceInfo.lua b/api/CalendarGetDayEventSequenceInfo.lua index 7118928..fa916fa 100644 --- a/api/CalendarGetDayEventSequenceInfo.lua +++ b/api/CalendarGetDayEventSequenceInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CalendarGetDayEventSequenceInfo() end \ No newline at end of file +function CalendarGetDayEventSequenceInfo() end diff --git a/api/CalendarGetEventIndex.lua b/api/CalendarGetEventIndex.lua index 41fd7a8..db7f952 100644 --- a/api/CalendarGetEventIndex.lua +++ b/api/CalendarGetEventIndex.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1 monthOffset ----@return -1 ----@return 0 ----@return 1 ----@return number day ----@return number index +---@return 1 monthOffset +---@return -1 +---@return 0 +---@return 1 +---@return number day +---@return number index ---Returns the month, day, and index of the selected calendar event -function CalendarGetEventIndex() end \ No newline at end of file +function CalendarGetEventIndex() end diff --git a/api/CalendarGetEventInfo.lua b/api/CalendarGetEventInfo.lua index 0aac0be..e7a2029 100644 --- a/api/CalendarGetEventInfo.lua +++ b/api/CalendarGetEventInfo.lua @@ -1,48 +1,48 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string title ----@return string description ----@return string creator ----@return 5 eventType ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return number repeatOption ----@return number maxSize ----@return number textureIndex ----@return number weekday ----@return number month ----@return number day ----@return number year ----@return number hour ----@return number minute ----@return number lockoutWeekday ----@return number lockoutMonth ----@return number lockoutDay ----@return number lockoutYear ----@return number lockoutHour ----@return number lockoutMinute ----@return 1nil locked ----@return 1nil autoApprove ----@return 1nil pendingInvite ----@return 8 inviteStatus ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 2 inviteType ----@return 1 ----@return 2 ----@return SYSTEM calendarType ----@return GUILD_ANNOUNCEMENT ----@return GUILD_EVENT ----@return PLAYER ----@return SYSTEM +---@return string title +---@return string description +---@return string creator +---@return 5 eventType +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return number repeatOption +---@return number maxSize +---@return number textureIndex +---@return number weekday +---@return number month +---@return number day +---@return number year +---@return number hour +---@return number minute +---@return number lockoutWeekday +---@return number lockoutMonth +---@return number lockoutDay +---@return number lockoutYear +---@return number lockoutHour +---@return number lockoutMinute +---@return 1nil locked +---@return 1nil autoApprove +---@return 1nil pendingInvite +---@return 8 inviteStatus +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 2 inviteType +---@return 1 +---@return 2 +---@return SYSTEM calendarType +---@return GUILD_ANNOUNCEMENT +---@return GUILD_EVENT +---@return PLAYER +---@return SYSTEM ---Returns information about the selected calendar event -function CalendarGetEventInfo() end \ No newline at end of file +function CalendarGetEventInfo() end diff --git a/api/CalendarGetFirstPendingInvite.lua b/api/CalendarGetFirstPendingInvite.lua index 954b3d5..8506204 100644 --- a/api/CalendarGetFirstPendingInvite.lua +++ b/api/CalendarGetFirstPendingInvite.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monthOffset number ----@param day number ----@return number index +---@param monthOffset number +---@param day number +---@return number index ---Returns the index of the first invitation on a given day to which the player has not responded -function CalendarGetFirstPendingInvite(monthOffset, day) end \ No newline at end of file +function CalendarGetFirstPendingInvite(monthOffset, day) end diff --git a/api/CalendarGetGuildEventInfo.lua b/api/CalendarGetGuildEventInfo.lua index 503fd26..9a7db84 100644 --- a/api/CalendarGetGuildEventInfo.lua +++ b/api/CalendarGetGuildEventInfo.lua @@ -1,41 +1,41 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param eventIndex number ----@return 12 month ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 9 ----@return 10 ----@return 11 ----@return 12 ----@return number day ----@return 7 weekday ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return number hour ----@return number minute ----@return 6 eventType ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return string title ----@return GUILD_EVENT calendarType ----@return GUILD_ANNOUNCEMENT ----@return GUILD_EVENT ----@return string textureName +---@param eventIndex number +---@return 12 month +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 9 +---@return 10 +---@return 11 +---@return 12 +---@return number day +---@return 7 weekday +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return number hour +---@return number minute +---@return 6 eventType +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return string title +---@return GUILD_EVENT calendarType +---@return GUILD_ANNOUNCEMENT +---@return GUILD_EVENT +---@return string textureName ---Returns information about a calendar guild-event -function CalendarGetGuildEventInfo(eventIndex) end \ No newline at end of file +function CalendarGetGuildEventInfo(eventIndex) end diff --git a/api/CalendarGetGuildEventSelectionInfo.lua b/api/CalendarGetGuildEventSelectionInfo.lua index efee35d..2f67bb8 100644 --- a/api/CalendarGetGuildEventSelectionInfo.lua +++ b/api/CalendarGetGuildEventSelectionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CalendarGetGuildEventSelectionInfo() end \ No newline at end of file +function CalendarGetGuildEventSelectionInfo() end diff --git a/api/CalendarGetHolidayInfo.lua b/api/CalendarGetHolidayInfo.lua index 19cd158..13cc865 100644 --- a/api/CalendarGetHolidayInfo.lua +++ b/api/CalendarGetHolidayInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monthOffset number ----@param day number ----@param index number ----@return string name ----@return string description ----@return string texture +---@param monthOffset number +---@param day number +---@param index number +---@return string name +---@return string description +---@return string texture ---Returns additional information about a holiday event. Information can only be retrieved for events which might be visible in the calendar's current month -- i.e. those in the current month as well as those in (roughly) the last week of the previous month and (roughly) the first two weeks of the following month. To reliably retrieve information for events outside the calendar's current month, first change the calendar's month with CalendarSetMonth. -function CalendarGetHolidayInfo(monthOffset, day, index) end \ No newline at end of file +function CalendarGetHolidayInfo(monthOffset, day, index) end diff --git a/api/CalendarGetMaxCreateDate.lua b/api/CalendarGetMaxCreateDate.lua index 69f1eca..bc644f7 100644 --- a/api/CalendarGetMaxCreateDate.lua +++ b/api/CalendarGetMaxCreateDate.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number weekday ----@return number month ----@return number day ----@return number year +---@return number weekday +---@return number month +---@return number day +---@return number year ---Returns the latest date for which events may be scheduled. Currently, events can only be created up to one year from the last day of the current month (e.g. If the current date is May 19, 2009, the player is not allowed to create events scheduled for later than May 31, 2010). The default Calendar UI also does not allow viewing months beyond this date. -function CalendarGetMaxCreateDate() end \ No newline at end of file +function CalendarGetMaxCreateDate() end diff --git a/api/CalendarGetMaxDate.lua b/api/CalendarGetMaxDate.lua index 47fcc3c..bfde791 100644 --- a/api/CalendarGetMaxDate.lua +++ b/api/CalendarGetMaxDate.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number weekday ----@return number month ----@return number day ----@return number year +---@return number weekday +---@return number month +---@return number day +---@return number year ---Returns the latest date usable in the calendar system. This function currently always returns December 31st, 2030 as the max date. -function CalendarGetMaxDate() end \ No newline at end of file +function CalendarGetMaxDate() end diff --git a/api/CalendarGetMinDate.lua b/api/CalendarGetMinDate.lua index c8d36e7..7271171 100644 --- a/api/CalendarGetMinDate.lua +++ b/api/CalendarGetMinDate.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number weekday ----@return number month ----@return number day ----@return number year +---@return number weekday +---@return number month +---@return number day +---@return number year ---Returns the earliest date usable in the calendar system. This function currently returns November 24th, 2004 as the minimum date. This is the date that World of Warcraft was launched in the U.S. -function CalendarGetMinDate() end \ No newline at end of file +function CalendarGetMinDate() end diff --git a/api/CalendarGetMinHistoryDate.lua b/api/CalendarGetMinHistoryDate.lua index 6cf48d5..c7f6e29 100644 --- a/api/CalendarGetMinHistoryDate.lua +++ b/api/CalendarGetMinHistoryDate.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number weekday ----@return number month ----@return number day ----@return number year +---@return number weekday +---@return number month +---@return number day +---@return number year ---Returns the earliest date for which information about past player events is available. Applies to events created by the player, invites the player accepted, and guild events or announcements. Currently, the default UI only shows past events from up to two weeks before the current date. -function CalendarGetMinHistoryDate() end \ No newline at end of file +function CalendarGetMinHistoryDate() end diff --git a/api/CalendarGetMonth.lua b/api/CalendarGetMonth.lua index d418cbf..45aca29 100644 --- a/api/CalendarGetMonth.lua +++ b/api/CalendarGetMonth.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monthOffset number ----@return number month ----@return number year ----@return number numDays ----@return number firstWeekday +---@param monthOffset number +---@return number month +---@return number year +---@return number numDays +---@return number firstWeekday ---Returns information about a calendar month -function CalendarGetMonth(monthOffset) end \ No newline at end of file +function CalendarGetMonth(monthOffset) end diff --git a/api/CalendarGetMonthNames.lua b/api/CalendarGetMonthNames.lua index 88300a5..97bbc2c 100644 --- a/api/CalendarGetMonthNames.lua +++ b/api/CalendarGetMonthNames.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of localized month names -function CalendarGetMonthNames() end \ No newline at end of file +function CalendarGetMonthNames() end diff --git a/api/CalendarGetNumDayEvents.lua b/api/CalendarGetNumDayEvents.lua index 5086299..7edb4bc 100644 --- a/api/CalendarGetNumDayEvents.lua +++ b/api/CalendarGetNumDayEvents.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monthOffset number ----@param day number ----@return number numEvents +---@param monthOffset number +---@param day number +---@return number numEvents ---Returns the number of calendar events on a given day -function CalendarGetNumDayEvents(monthOffset, day) end \ No newline at end of file +function CalendarGetNumDayEvents(monthOffset, day) end diff --git a/api/CalendarGetNumGuildEvents.lua b/api/CalendarGetNumGuildEvents.lua index 56653be..323daa7 100644 --- a/api/CalendarGetNumGuildEvents.lua +++ b/api/CalendarGetNumGuildEvents.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numEvents +---@return number numEvents ---Returns the number of guild events in your calendar -function CalendarGetNumGuildEvents() end \ No newline at end of file +function CalendarGetNumGuildEvents() end diff --git a/api/CalendarGetNumPendingInvites.lua b/api/CalendarGetNumPendingInvites.lua index ab90d96..ef4fa20 100644 --- a/api/CalendarGetNumPendingInvites.lua +++ b/api/CalendarGetNumPendingInvites.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numInvites +---@return number numInvites ---Returns the number of calendar invitations to which the player has yet to respond -function CalendarGetNumPendingInvites() end \ No newline at end of file +function CalendarGetNumPendingInvites() end diff --git a/api/CalendarGetRaidInfo.lua b/api/CalendarGetRaidInfo.lua index 79df0dc..50c2a3c 100644 --- a/api/CalendarGetRaidInfo.lua +++ b/api/CalendarGetRaidInfo.lua @@ -1,17 +1,17 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monthOffset number ----@param day number ----@param index number ----@return number title ----@return RAID_RESET calendarType ----@return RAID_LOCKOUT ----@return RAID_RESET ----@return number raidID ----@return number hour ----@return number minute ----@return 2 difficulty ----@return 1 ----@return 2 +---@param monthOffset number +---@param day number +---@param index number +---@return number title +---@return RAID_RESET calendarType +---@return RAID_LOCKOUT +---@return RAID_RESET +---@return number raidID +---@return number hour +---@return number minute +---@return 2 difficulty +---@return 1 +---@return 2 ---Returns information about a raid lockout or scheduled raid reset event. Information can only be retrieved for events which might be visible in the calendar's current month -- i.e. those in the current month as well as those in (roughly) the last week of the previous month and (roughly) the first two weeks of the following month. To reliably retrieve information for events outside the calendar's current month, first change the calendar's month with CalendarSetMonth. -function CalendarGetRaidInfo(monthOffset, day, index) end \ No newline at end of file +function CalendarGetRaidInfo(monthOffset, day, index) end diff --git a/api/CalendarGetWeekdayNames.lua b/api/CalendarGetWeekdayNames.lua index 93c4e6e..081a235 100644 --- a/api/CalendarGetWeekdayNames.lua +++ b/api/CalendarGetWeekdayNames.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of localized weekday names -function CalendarGetWeekdayNames() end \ No newline at end of file +function CalendarGetWeekdayNames() end diff --git a/api/CalendarIsActionPending.lua b/api/CalendarIsActionPending.lua index 286a803..60fe247 100644 --- a/api/CalendarIsActionPending.lua +++ b/api/CalendarIsActionPending.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isPending +---@return boolean isPending ---Returns whether an update to calendar information is in progress. Returns true while the client is synchronizing its calendar information from the server; e.g. after calling CalendarOpenEvent, CalendarAddEvent, or CalendarUpdateEvent. During such periods, using other calendar API functions to query or change event information may not have valid orexpected results. -function CalendarIsActionPending() end \ No newline at end of file +function CalendarIsActionPending() end diff --git a/api/CalendarMassInviteGuild.lua b/api/CalendarMassInviteGuild.lua index 00d4c62..5537332 100644 --- a/api/CalendarMassInviteGuild.lua +++ b/api/CalendarMassInviteGuild.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param minLevel number ----@param maxLevel number ----@param rank number +---@param minLevel number +---@param maxLevel number +---@param rank number ---Repopulates the selected event's invite list with members of the player's guild. Clears any invites already listed. Can only be used for events not yet created (i.e. saved to the calendar). -function CalendarMassInviteGuild(minLevel, maxLevel, rank) end \ No newline at end of file +function CalendarMassInviteGuild(minLevel, maxLevel, rank) end diff --git a/api/CalendarNewEvent.lua b/api/CalendarNewEvent.lua index 832b492..d263f64 100644 --- a/api/CalendarNewEvent.lua +++ b/api/CalendarNewEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Creates a new event and selects it for viewing/editing -function CalendarNewEvent() end \ No newline at end of file +function CalendarNewEvent() end diff --git a/api/CalendarNewGuildAnnouncement.lua b/api/CalendarNewGuildAnnouncement.lua index 67ab1f2..0a40eac 100644 --- a/api/CalendarNewGuildAnnouncement.lua +++ b/api/CalendarNewGuildAnnouncement.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Creates a new guild announcement and selects it for viewing/editing. Guild announcements are visible to all guild members but do not allow signups or invitations. -function CalendarNewGuildAnnouncement() end \ No newline at end of file +function CalendarNewGuildAnnouncement() end diff --git a/api/CalendarNewGuildEvent.lua b/api/CalendarNewGuildEvent.lua index 4edd13e..827d308 100644 --- a/api/CalendarNewGuildEvent.lua +++ b/api/CalendarNewGuildEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Creates a new guild event and selects it for viewing/editing. Guild events are visible to all guild members and allow members to sign up (or non-members to be invited). -function CalendarNewGuildEvent() end \ No newline at end of file +function CalendarNewGuildEvent() end diff --git a/api/CalendarOpenEvent.lua b/api/CalendarOpenEvent.lua index 9d1bffb..1619985 100644 --- a/api/CalendarOpenEvent.lua +++ b/api/CalendarOpenEvent.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monthOffset number ----@param day number ----@param index number +---@param monthOffset number +---@param day number +---@param index number ---Selects a calendar event for viewing/editing -function CalendarOpenEvent(monthOffset, day, index) end \ No newline at end of file +function CalendarOpenEvent(monthOffset, day, index) end diff --git a/api/CalendarRemoveEvent.lua b/api/CalendarRemoveEvent.lua index 77f8c05..31b864f 100644 --- a/api/CalendarRemoveEvent.lua +++ b/api/CalendarRemoveEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes the selected event invitation from the player's calendar or removes the player from the selected guild event's signup list. NOTE: May disconnect the player if called when the selected calendar event is not a received invitation or a guild event. -function CalendarRemoveEvent() end \ No newline at end of file +function CalendarRemoveEvent() end diff --git a/api/CalendarSetAbsMonth.lua b/api/CalendarSetAbsMonth.lua index d55dc88..19bf361 100644 --- a/api/CalendarSetAbsMonth.lua +++ b/api/CalendarSetAbsMonth.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param month number ----@param year number +---@param month number +---@param year number ---Set's the calendar's month to an absolute date -function CalendarSetAbsMonth(month, year) end \ No newline at end of file +function CalendarSetAbsMonth(month, year) end diff --git a/api/CalendarUpdateEvent.lua b/api/CalendarUpdateEvent.lua index f476d4f..63f599d 100644 --- a/api/CalendarUpdateEvent.lua +++ b/api/CalendarUpdateEvent.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Saves changes made to the selected event. Until this function is called, changes made to an event will not be saved -- they will not propagate to guild members or invitees, and the event will revert to its previous state if the player closes the calendar, reloads the UI, or goes to view or edit another event. Only applies to existing events; for newly created events use CalendarAddEvent() once the event's attributes and initial invite list are set. -function CalendarUpdateEvent() end \ No newline at end of file +function CalendarUpdateEvent() end diff --git a/api/CallCompanion.lua b/api/CallCompanion.lua index f82e396..d97dce7 100644 --- a/api/CallCompanion.lua +++ b/api/CallCompanion.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type MOUNT ----@param CRITTER ----@param MOUNT ----@param index number +---@param type MOUNT +---@param CRITTER +---@param MOUNT +---@param index number ---Summons a non-combat pet or mount. If called referencing the current non-combat pet, dismisses it. Does nothing if given an index greater than GetNumCompanions(type). -function CallCompanion(type, CRITTER, MOUNT, index) end \ No newline at end of file +function CallCompanion(type, CRITTER, MOUNT, index) end diff --git a/api/CameraOrSelectOrMoveStart.lua b/api/CameraOrSelectOrMoveStart.lua index 2b5ebc8..3506fb6 100644 --- a/api/CameraOrSelectOrMoveStart.lua +++ b/api/CameraOrSelectOrMoveStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins camera movement or selection (equivalent to left-clicking in the 3-D world). After calling this function (i.e. while the left mouse button is held), cursor movement rotates the camera. Final results vary by context and are determined when calling CameraOrSelectOrMoveStop() (i.e. releasing the left mouse button). Used by the CAMERAORSELECTORMOVE binding (not customizable in the default UI), which is bound to the left mouse button by default. -function CameraOrSelectOrMoveStart() end \ No newline at end of file +function CameraOrSelectOrMoveStart() end diff --git a/api/CameraOrSelectOrMoveStop.lua b/api/CameraOrSelectOrMoveStop.lua index 3bada9c..a647d93 100644 --- a/api/CameraOrSelectOrMoveStop.lua +++ b/api/CameraOrSelectOrMoveStop.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param isSticky 1nil +---@param isSticky 1nil ---Ends action initiated by CameraOrSelectOrMoveStart. After calling this function (i.e. releasing the left mouse button), camera movement stops and normal cursor movement resumes. If the cursor has not moved significantly since calling CameraOrSelectOrMoveStart() (i.e. pressing the left mouse button) and is over a unit, that unit becomes the player's target; if the cursor has not moved significantly and is not over a unit, clears the player's target unless the "Sticky Targeting" option is enabled (i.e. the "deselectOnClick" CVar is 0). Used by the CAMERAORSELECTORMOVE binding (not customizable in the default UI), which is bound to the left mouse button by default. -function CameraOrSelectOrMoveStop(isSticky) end \ No newline at end of file +function CameraOrSelectOrMoveStop(isSticky) end diff --git a/api/CameraZoomIn.lua b/api/CameraZoomIn.lua index 876752a..d2524f4 100644 --- a/api/CameraZoomIn.lua +++ b/api/CameraZoomIn.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param distance number +---@param distance number ---Zooms the camera in by a specified distance. The max distance of the camera is set in the Interface Options screen, and the maximum distance allowed is enforced by this setting, and the game client. Depending on the setting, this is between 15.0 and 24.0 in the current version of the client. -function CameraZoomIn(distance) end \ No newline at end of file +function CameraZoomIn(distance) end diff --git a/api/CameraZoomOut.lua b/api/CameraZoomOut.lua index b9cde56..e25a755 100644 --- a/api/CameraZoomOut.lua +++ b/api/CameraZoomOut.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param distance number +---@param distance number ---Zooms the camera out by a specified distance. This function is used to zoom the camera out. The max distance of the camera is set in the Interface Options screen, and the maximum distance allowed is enforced by this setting, and the game client. Depending on the setting, this is between 15.0 and 24.0 in the current version of the client. -function CameraZoomOut(distance) end \ No newline at end of file +function CameraZoomOut(distance) end diff --git a/api/CanAbandonQuest.lua b/api/CanAbandonQuest.lua index 4285165..b908b1e 100644 --- a/api/CanAbandonQuest.lua +++ b/api/CanAbandonQuest.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questID number ----@return boolean CanAbandon +---@param questID number +---@return boolean CanAbandon ---Returns info about whether a quest with a given ID can be abandoned -function CanAbandonQuest(questID) end \ No newline at end of file +function CanAbandonQuest(questID) end diff --git a/api/CanAlterSkin.lua b/api/CanAlterSkin.lua index 10b41ab..9f8708e 100644 --- a/api/CanAlterSkin.lua +++ b/api/CanAlterSkin.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canAlter +---@return boolean canAlter ---Lets you check if the player can change their skin color. Returns true if the player can change their skin color while using the barbershop. -function CanAlterSkin() end \ No newline at end of file +function CanAlterSkin() end diff --git a/api/CanBeRaidTarget.lua b/api/CanBeRaidTarget.lua index 50d14ab..1de13bc 100644 --- a/api/CanBeRaidTarget.lua +++ b/api/CanBeRaidTarget.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean canMark +---@param unit string +---@return boolean canMark ---Returns whether a unit can be marked with a raid symbol or not -function CanBeRaidTarget(unit) end \ No newline at end of file +function CanBeRaidTarget(unit) end diff --git a/api/CanCancelAuction.lua b/api/CanCancelAuction.lua index 6b54b91..b0f9f57 100644 --- a/api/CanCancelAuction.lua +++ b/api/CanCancelAuction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return 1nil canCancel +---@param index number +---@return 1nil canCancel ---Returns whether one of the player's auctions can be canceled. Generally, non-cancelable auctions are those which have completed but for which payment has not yet been delivered. -function CanCancelAuction(index) end \ No newline at end of file +function CanCancelAuction(index) end diff --git a/api/CanComplainChat.lua b/api/CanComplainChat.lua index 0910c86..3491639 100644 --- a/api/CanComplainChat.lua +++ b/api/CanComplainChat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param lineID number ----@return 1nil canComplain +---@param lineID number +---@return 1nil canComplain ---Returns whether a chat message can be reported as spam -function CanComplainChat(lineID) end \ No newline at end of file +function CanComplainChat(lineID) end diff --git a/api/CanComplainInboxItem.lua b/api/CanComplainInboxItem.lua index adf5362..acbe2e7 100644 --- a/api/CanComplainInboxItem.lua +++ b/api/CanComplainInboxItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@return 1nil complain +---@param mailID number +---@return 1nil complain ---Returns whether a mail can be reported as spam. Returns nil for messages from Game Masters or friends, as well as for messages generated by the game itself (Auction House mail, mails from NPCs, etc). As with most mail functions, only provides valid information if used while the mail UI is open (between the MAIL_SHOW and MAIL_CLOSE events). -function CanComplainInboxItem(mailID) end \ No newline at end of file +function CanComplainInboxItem(mailID) end diff --git a/api/CanEditGuildBankTabInfo.lua b/api/CanEditGuildBankTabInfo.lua index f56bff4..f8cc708 100644 --- a/api/CanEditGuildBankTabInfo.lua +++ b/api/CanEditGuildBankTabInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanEditGuildBankTabInfo() end \ No newline at end of file +function CanEditGuildBankTabInfo() end diff --git a/api/CanEditGuildEvent.lua b/api/CanEditGuildEvent.lua index 78f88ed..4b2fb18 100644 --- a/api/CanEditGuildEvent.lua +++ b/api/CanEditGuildEvent.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canEdit +---@return 1nil canEdit ---Returns whether the player is allowed to edit guild-wide calendar events -function CanEditGuildEvent() end \ No newline at end of file +function CanEditGuildEvent() end diff --git a/api/CanEditGuildInfo.lua b/api/CanEditGuildInfo.lua index 2e07df1..3bdd857 100644 --- a/api/CanEditGuildInfo.lua +++ b/api/CanEditGuildInfo.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canEdit +---@return 1nil canEdit ---Returns whether the player is allowed to edit the guild information text. This text appears when clicking the "Guild Information" button in the default UI's Guild window. -function CanEditGuildInfo() end \ No newline at end of file +function CanEditGuildInfo() end diff --git a/api/CanEditGuildTabInfo.lua b/api/CanEditGuildTabInfo.lua index b2c385b..93b1f96 100644 --- a/api/CanEditGuildTabInfo.lua +++ b/api/CanEditGuildTabInfo.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@return 1nil canEdit +---@param tab number +---@return 1nil canEdit ---Returns whether the player is allowed to edit a guild bank tab's information -function CanEditGuildTabInfo(tab) end \ No newline at end of file +function CanEditGuildTabInfo(tab) end diff --git a/api/CanEditMOTD.lua b/api/CanEditMOTD.lua index a79bd45..6c2974d 100644 --- a/api/CanEditMOTD.lua +++ b/api/CanEditMOTD.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canEdit +---@return 1nil canEdit ---Returns whether the player is allowed to edit the guild Message of the Day -function CanEditMOTD() end \ No newline at end of file +function CanEditMOTD() end diff --git a/api/CanEditOfficerNote.lua b/api/CanEditOfficerNote.lua index 34b3279..f200df8 100644 --- a/api/CanEditOfficerNote.lua +++ b/api/CanEditOfficerNote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canEdit +---@return 1nil canEdit ---Returns whether the player is allowed to edit guild officer notes -function CanEditOfficerNote() end \ No newline at end of file +function CanEditOfficerNote() end diff --git a/api/CanEditPublicNote.lua b/api/CanEditPublicNote.lua index 3b669bc..765f627 100644 --- a/api/CanEditPublicNote.lua +++ b/api/CanEditPublicNote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canEdit +---@return 1nil canEdit ---Returns whether the player is allowed to edit guild public notes -function CanEditPublicNote() end \ No newline at end of file +function CanEditPublicNote() end diff --git a/api/CanEjectPassengerFromSeat.lua b/api/CanEjectPassengerFromSeat.lua index 71c6868..c7fade8 100644 --- a/api/CanEjectPassengerFromSeat.lua +++ b/api/CanEjectPassengerFromSeat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param seat number ----@return boolean canEject +---@param seat number +---@return boolean canEject ---Returns whether the player can eject the occupant of a seat in the player's vehicle -function CanEjectPassengerFromSeat(seat) end \ No newline at end of file +function CanEjectPassengerFromSeat(seat) end diff --git a/api/CanExitVehicle.lua b/api/CanExitVehicle.lua index be6fb5b..0a7d480 100644 --- a/api/CanExitVehicle.lua +++ b/api/CanExitVehicle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canExit +---@return 1nil canExit ---Returns whether the player is in a vehicle. Used in the default UI to determine whether to show the "Leave Vehicle" button while controlling siege vehicles, turrets, and certain special mounts and quest entities. -function CanExitVehicle() end \ No newline at end of file +function CanExitVehicle() end diff --git a/api/CanGrantLevel.lua b/api/CanGrantLevel.lua index 7b16436..2bafe10 100644 --- a/api/CanGrantLevel.lua +++ b/api/CanGrantLevel.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil canGrant +---@param unit string +---@return 1nil canGrant ---Returns whether the player can give levels to a Recruit-a-Friend partner -function CanGrantLevel(unit) end \ No newline at end of file +function CanGrantLevel(unit) end diff --git a/api/CanGuildBankRepair.lua b/api/CanGuildBankRepair.lua index 0272c58..43a2b2a 100644 --- a/api/CanGuildBankRepair.lua +++ b/api/CanGuildBankRepair.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canRepair +---@return 1nil canRepair ---Returns whether the player is allowed to pay for repairs using guild bank funds -function CanGuildBankRepair() end \ No newline at end of file +function CanGuildBankRepair() end diff --git a/api/CanGuildDemote.lua b/api/CanGuildDemote.lua index b517bdc..aea11c6 100644 --- a/api/CanGuildDemote.lua +++ b/api/CanGuildDemote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canDemote +---@return 1nil canDemote ---Returns whether the player is allowed to demote lower ranked guild members -function CanGuildDemote() end \ No newline at end of file +function CanGuildDemote() end diff --git a/api/CanGuildInvite.lua b/api/CanGuildInvite.lua index 93e247a..7ac0cc6 100644 --- a/api/CanGuildInvite.lua +++ b/api/CanGuildInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canInvite +---@return 1nil canInvite ---Returns whether the player is allowed to invite new members to his or her guild -function CanGuildInvite() end \ No newline at end of file +function CanGuildInvite() end diff --git a/api/CanGuildPromote.lua b/api/CanGuildPromote.lua index 86ec641..eb8c5ba 100644 --- a/api/CanGuildPromote.lua +++ b/api/CanGuildPromote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canPromote +---@return 1nil canPromote ---Returns whether the player is allowed to promote other guild members. The player may promote other members only up to the rank below his or her own. -function CanGuildPromote() end \ No newline at end of file +function CanGuildPromote() end diff --git a/api/CanGuildRemove.lua b/api/CanGuildRemove.lua index 365eb38..60098a1 100644 --- a/api/CanGuildRemove.lua +++ b/api/CanGuildRemove.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canRemove +---@return 1nil canRemove ---Returns whether the player is allowed to remove members from his or her guild. The player may only remove lower ranked members from the guild. -function CanGuildRemove() end \ No newline at end of file +function CanGuildRemove() end diff --git a/api/CanHearthAndResurrectFromArea.lua b/api/CanHearthAndResurrectFromArea.lua index 2cdeec5..7383fff 100644 --- a/api/CanHearthAndResurrectFromArea.lua +++ b/api/CanHearthAndResurrectFromArea.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil status +---@return 1nil status ---Returns whether the player is in a world PvP zone offering an exit option. Used by the default UI to show the MiniMapBattlefieldFrame and provide a menu option for leaving if the player is in a world PvP combat zone (i.e. Wintergrasp). -function CanHearthAndResurrectFromArea() end \ No newline at end of file +function CanHearthAndResurrectFromArea() end diff --git a/api/CanInitiateWarGame.lua b/api/CanInitiateWarGame.lua index 5235081..6debb03 100644 --- a/api/CanInitiateWarGame.lua +++ b/api/CanInitiateWarGame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanInitiateWarGame() end \ No newline at end of file +function CanInitiateWarGame() end diff --git a/api/CanInspect.lua b/api/CanInspect.lua index 4669f65..5cc8c2a 100644 --- a/api/CanInspect.lua +++ b/api/CanInspect.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param showError boolean ----@return 1nil canInspect +---@param unit string +---@param showError boolean +---@return 1nil canInspect ---Returns whether a unit can be inspected. Returns nil if the unit is out of inspect range, if the unit is an NPC, or if the unit is flagged for PvP combat and hostile to the player. -function CanInspect(unit, showError) end \ No newline at end of file +function CanInspect(unit, showError) end diff --git a/api/CanItemBeSocketedToArtifact.lua b/api/CanItemBeSocketedToArtifact.lua index d7cbd92..53a5921 100644 --- a/api/CanItemBeSocketedToArtifact.lua +++ b/api/CanItemBeSocketedToArtifact.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanItemBeSocketedToArtifact() end \ No newline at end of file +function CanItemBeSocketedToArtifact() end diff --git a/api/CanJoinBattlefieldAsGroup.lua b/api/CanJoinBattlefieldAsGroup.lua index a39f5f3..e5097d6 100644 --- a/api/CanJoinBattlefieldAsGroup.lua +++ b/api/CanJoinBattlefieldAsGroup.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canGroupJoin +---@return 1nil canGroupJoin ---Returns whether the battleground for which the player is queueing supports joining as a group -function CanJoinBattlefieldAsGroup() end \ No newline at end of file +function CanJoinBattlefieldAsGroup() end diff --git a/api/CanLootUnit.lua b/api/CanLootUnit.lua index ec60e7e..3318283 100644 --- a/api/CanLootUnit.lua +++ b/api/CanLootUnit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanLootUnit() end \ No newline at end of file +function CanLootUnit() end diff --git a/api/CanMapChangeDifficulty.lua b/api/CanMapChangeDifficulty.lua index 3d20093..d1c30cc 100644 --- a/api/CanMapChangeDifficulty.lua +++ b/api/CanMapChangeDifficulty.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanMapChangeDifficulty() end \ No newline at end of file +function CanMapChangeDifficulty() end diff --git a/api/CanMerchantRepair.lua b/api/CanMerchantRepair.lua index 355ac9e..675cbe2 100644 --- a/api/CanMerchantRepair.lua +++ b/api/CanMerchantRepair.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canRepair +---@return 1nil canRepair ---Returns whether the vendor with whom the player is currently interacting can repair equipment -function CanMerchantRepair() end \ No newline at end of file +function CanMerchantRepair() end diff --git a/api/CanPartyLFGBackfill.lua b/api/CanPartyLFGBackfill.lua index 3d8a7f6..940afe7 100644 --- a/api/CanPartyLFGBackfill.lua +++ b/api/CanPartyLFGBackfill.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanPartyLFGBackfill() end \ No newline at end of file +function CanPartyLFGBackfill() end diff --git a/api/CanQueueForWintergrasp.lua b/api/CanQueueForWintergrasp.lua index e72ab55..f6c0a7b 100644 --- a/api/CanQueueForWintergrasp.lua +++ b/api/CanQueueForWintergrasp.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canQueue +---@return boolean canQueue ---Returns whether the player can queue for Wintergrasp -function CanQueueForWintergrasp() end \ No newline at end of file +function CanQueueForWintergrasp() end diff --git a/api/CanReplaceGuildMaster.lua b/api/CanReplaceGuildMaster.lua index 2bf855b..4007758 100644 --- a/api/CanReplaceGuildMaster.lua +++ b/api/CanReplaceGuildMaster.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanReplaceGuildMaster() end \ No newline at end of file +function CanReplaceGuildMaster() end diff --git a/api/CanResetTutorials.lua b/api/CanResetTutorials.lua index 83dc4ef..fcfeb37 100644 --- a/api/CanResetTutorials.lua +++ b/api/CanResetTutorials.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanResetTutorials() end \ No newline at end of file +function CanResetTutorials() end diff --git a/api/CanSendAuctionQuery.lua b/api/CanSendAuctionQuery.lua index a9ec40e..c20c4a4 100644 --- a/api/CanSendAuctionQuery.lua +++ b/api/CanSendAuctionQuery.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@return 1nil canQuery ----@return 1nil canMassQuery +---@param list owner +---@param bidder +---@param list +---@param owner +---@return 1nil canQuery +---@return 1nil canMassQuery ---Returns whether the player can perform an auction house query. All auction query types are throttled, preventing abuse of the server by clients sending too many queries in short succession. Normal queries can be sent once every few seconds; mass queries return all results in the auction house instead of one "page" at a time, and can only be sent once every several minutes. -function CanSendAuctionQuery(list, bidder, list, owner) end \ No newline at end of file +function CanSendAuctionQuery(list, bidder, list, owner) end diff --git a/api/CanShowAchievementUI.lua b/api/CanShowAchievementUI.lua index b59f5df..fc53cd8 100644 --- a/api/CanShowAchievementUI.lua +++ b/api/CanShowAchievementUI.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canShow +---@return boolean canShow ---Returns whether the Achievements UI should be enabled. Used by the default UI to determine whether to show or hide the menu button for Achievements (as it also does for Talents); currently always returns true. -function CanShowAchievementUI() end \ No newline at end of file +function CanShowAchievementUI() end diff --git a/api/CanShowResetInstances.lua b/api/CanShowResetInstances.lua index e2b863c..23a3f17 100644 --- a/api/CanShowResetInstances.lua +++ b/api/CanShowResetInstances.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canResetInstances +---@return 1nil canResetInstances ---Returns whether the player can reset instances. Used to determine whether to display the "Reset Instance" option in the unit popup menu for the player. Only instances to which the player is not saved may be reset (i.e. normal 5-man dungeons, not heroic dungeons or raids), and only by a solo player or group leader. -function CanShowResetInstances() end \ No newline at end of file +function CanShowResetInstances() end diff --git a/api/CanSignPetition.lua b/api/CanSignPetition.lua index d383f96..af8b77d 100644 --- a/api/CanSignPetition.lua +++ b/api/CanSignPetition.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canSign +---@return 1nil canSign ---Returns whether the player can sign the currently offered petition. Petitions can only be signed once per account, rather than once per character. -function CanSignPetition() end \ No newline at end of file +function CanSignPetition() end diff --git a/api/CanSolveArtifact.lua b/api/CanSolveArtifact.lua index 359487a..51979f5 100644 --- a/api/CanSolveArtifact.lua +++ b/api/CanSolveArtifact.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canSolve +---@return 1nil canSolve ---Returns whether the player can solve the selected artifact. -function CanSolveArtifact() end \ No newline at end of file +function CanSolveArtifact() end diff --git a/api/CanSummonFriend.lua b/api/CanSummonFriend.lua index 74dc5a6..4b69b7d 100644 --- a/api/CanSummonFriend.lua +++ b/api/CanSummonFriend.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param unit string ----@return 1nil canSummon +---@param name string +---@param unit string +---@return 1nil canSummon ---Returns whether a unit can be summoned via Recruit-a-Friend. Indicates whether the target unit is currently summonable, not just whether that unit's account is linked to the player's via the Recruit-A-Friend program. -function CanSummonFriend(name, unit) end \ No newline at end of file +function CanSummonFriend(name, unit) end diff --git a/api/CanSwitchVehicleSeat.lua b/api/CanSwitchVehicleSeat.lua index efd0e1b..2962b12 100644 --- a/api/CanSwitchVehicleSeat.lua +++ b/api/CanSwitchVehicleSeat.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean canSwitch +---@return boolean canSwitch ---Returns whether the player can change vehicle seats. Tells you if the player can switch seats in general, whereas UnitVehicleSeatInfo() tells you if the player can switch into a specific seat. -function CanSwitchVehicleSeat() end \ No newline at end of file +function CanSwitchVehicleSeat() end diff --git a/api/CanSwitchVehicleSeats.lua b/api/CanSwitchVehicleSeats.lua index 06cd401..2246424 100644 --- a/api/CanSwitchVehicleSeats.lua +++ b/api/CanSwitchVehicleSeats.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canSwitch +---@return 1nil canSwitch ---Returns whether the player is in a vehicle with multiple seats -function CanSwitchVehicleSeats() end \ No newline at end of file +function CanSwitchVehicleSeats() end diff --git a/api/CanTrackBattlePets.lua b/api/CanTrackBattlePets.lua index e2febb7..d83d574 100644 --- a/api/CanTrackBattlePets.lua +++ b/api/CanTrackBattlePets.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanTrackBattlePets() end \ No newline at end of file +function CanTrackBattlePets() end diff --git a/api/CanTransmogrifyItemWithItem.lua b/api/CanTransmogrifyItemWithItem.lua index 90880f6..a1befde 100644 --- a/api/CanTransmogrifyItemWithItem.lua +++ b/api/CanTransmogrifyItemWithItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanTransmogrifyItemWithItem() end \ No newline at end of file +function CanTransmogrifyItemWithItem() end diff --git a/api/CanUpgradeExpansion.lua b/api/CanUpgradeExpansion.lua index fbf9066..9079479 100644 --- a/api/CanUpgradeExpansion.lua +++ b/api/CanUpgradeExpansion.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns true if the user is not on the latest expansion -function CanUpgradeExpansion() end \ No newline at end of file +function CanUpgradeExpansion() end diff --git a/api/CanUseEquipmentSets.lua b/api/CanUseEquipmentSets.lua index 8fe87d4..5ce932d 100644 --- a/api/CanUseEquipmentSets.lua +++ b/api/CanUseEquipmentSets.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean enabled +---@return boolean enabled ---Returns whether the player has enabled the equipment manager. Despite the name, this returns true when the player has enabled the use of the equipment manager through the interface or CVars. -function CanUseEquipmentSets() end \ No newline at end of file +function CanUseEquipmentSets() end diff --git a/api/CanUseVoidStorage.lua b/api/CanUseVoidStorage.lua index 20166c3..f936c26 100644 --- a/api/CanUseVoidStorage.lua +++ b/api/CanUseVoidStorage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanUseVoidStorage() end \ No newline at end of file +function CanUseVoidStorage() end diff --git a/api/CanViewGuildRecipes.lua b/api/CanViewGuildRecipes.lua index bb2722e..a2a5acf 100644 --- a/api/CanViewGuildRecipes.lua +++ b/api/CanViewGuildRecipes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CanViewGuildRecipes() end \ No newline at end of file +function CanViewGuildRecipes() end diff --git a/api/CanViewOfficerNote.lua b/api/CanViewOfficerNote.lua index 8a42ec4..4c47df7 100644 --- a/api/CanViewOfficerNote.lua +++ b/api/CanViewOfficerNote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canView +---@return 1nil canView ---Returns whether the player is allowed to view guild officer notes -function CanViewOfficerNote() end \ No newline at end of file +function CanViewOfficerNote() end diff --git a/api/CanWithdrawGuildBankMoney.lua b/api/CanWithdrawGuildBankMoney.lua index e0e42a2..6ac2d8d 100644 --- a/api/CanWithdrawGuildBankMoney.lua +++ b/api/CanWithdrawGuildBankMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canWithdraw +---@return 1nil canWithdraw ---Returns whether the player is allowed to withdraw money from the guild bank -function CanWithdrawGuildBankMoney() end \ No newline at end of file +function CanWithdrawGuildBankMoney() end diff --git a/api/CancelAreaSpiritHeal.lua b/api/CancelAreaSpiritHeal.lua index 2451d07..2602635 100644 --- a/api/CancelAreaSpiritHeal.lua +++ b/api/CancelAreaSpiritHeal.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines the next upcoming periodic resurrection from a battleground spirit healer. Usable in response to the AREA_SPIRIT_HEALER_IN_RANGE event which fires when the player's ghost is near a battleground spirit healer. -function CancelAreaSpiritHeal() end \ No newline at end of file +function CancelAreaSpiritHeal() end diff --git a/api/CancelAuction.lua b/api/CancelAuction.lua index ab8acdd..29a7e98 100644 --- a/api/CancelAuction.lua +++ b/api/CancelAuction.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Cancels an auction created by the player. When canceling an auction, the deposit amount is not refunded. -function CancelAuction(index) end \ No newline at end of file +function CancelAuction(index) end diff --git a/api/CancelBarberShop.lua b/api/CancelBarberShop.lua index 4342246..c2c6526 100644 --- a/api/CancelBarberShop.lua +++ b/api/CancelBarberShop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Exits a barber shop session. Causes the player character to stand up, returning to the normal world, and fires the BARBER_SHOP_CLOSE event. Any style changes already paid for (with ApplyBarberShopStyle()) are kept; any changes since are discarded. -function CancelBarberShop() end \ No newline at end of file +function CancelBarberShop() end diff --git a/api/CancelDuel.lua b/api/CancelDuel.lua index 32353a9..3d3885e 100644 --- a/api/CancelDuel.lua +++ b/api/CancelDuel.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels an ongoing duel, or declines an offered duel -function CancelDuel() end \ No newline at end of file +function CancelDuel() end diff --git a/api/CancelEmote.lua b/api/CancelEmote.lua index 1c26820..54d1c42 100644 --- a/api/CancelEmote.lua +++ b/api/CancelEmote.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CancelEmote() end \ No newline at end of file +function CancelEmote() end diff --git a/api/CancelGuildMembershipRequest.lua b/api/CancelGuildMembershipRequest.lua index 06ec989..0bdd213 100644 --- a/api/CancelGuildMembershipRequest.lua +++ b/api/CancelGuildMembershipRequest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CancelGuildMembershipRequest() end \ No newline at end of file +function CancelGuildMembershipRequest() end diff --git a/api/CancelItemTempEnchantment.lua b/api/CancelItemTempEnchantment.lua index ea7bc05..75d0392 100644 --- a/api/CancelItemTempEnchantment.lua +++ b/api/CancelItemTempEnchantment.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Cancels a temporary weapon enchant. Examples of temporary enchants include mana oils, sharpening stones, and Shaman weapon enhancements. -function CancelItemTempEnchantment(slot) end \ No newline at end of file +function CancelItemTempEnchantment(slot) end diff --git a/api/CancelLogout.lua b/api/CancelLogout.lua index 406f852..9001188 100644 --- a/api/CancelLogout.lua +++ b/api/CancelLogout.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels a pending logout or quit. Only has effect if logout or quit is pending (following the PLAYER_CAMPING or PLAYER_QUITING event). -function CancelLogout() end \ No newline at end of file +function CancelLogout() end diff --git a/api/CancelMasterLootRoll.lua b/api/CancelMasterLootRoll.lua index b01f6e7..0cc68f9 100644 --- a/api/CancelMasterLootRoll.lua +++ b/api/CancelMasterLootRoll.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CancelMasterLootRoll() end \ No newline at end of file +function CancelMasterLootRoll() end diff --git a/api/CancelPendingEquip.lua b/api/CancelPendingEquip.lua index 2b1f84e..d7542af 100644 --- a/api/CancelPendingEquip.lua +++ b/api/CancelPendingEquip.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Cancels equipping a bind-on-equip item. When the player attempts to equip a bind-on-equip item, the default UI displays a dialog warning that equipping the item will cause it to become soulbound; this function is called when canceling that dialog. -function CancelPendingEquip(index) end \ No newline at end of file +function CancelPendingEquip(index) end diff --git a/api/CancelPreloadingMovie.lua b/api/CancelPreloadingMovie.lua index c856404..3239352 100644 --- a/api/CancelPreloadingMovie.lua +++ b/api/CancelPreloadingMovie.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CancelPreloadingMovie() end \ No newline at end of file +function CancelPreloadingMovie() end diff --git a/api/CancelSell.lua b/api/CancelSell.lua index 5025916..1fa0815 100644 --- a/api/CancelSell.lua +++ b/api/CancelSell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CancelSell() end \ No newline at end of file +function CancelSell() end diff --git a/api/CancelShapeshiftForm.lua b/api/CancelShapeshiftForm.lua index bbd4d9b..7ae529b 100644 --- a/api/CancelShapeshiftForm.lua +++ b/api/CancelShapeshiftForm.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels the current shapeshift form. Unlike other Shapeshift APIs, this function refers specifically to shapeshifting -- therefore including some abilities not found on the default UI's ShapeshiftBar and excluding some which are. For example, cancels shaman Ghost Wolf form and druid shapeshifts but not warrior stances, paladin auras, or rogue stealth. -function CancelShapeshiftForm() end \ No newline at end of file +function CancelShapeshiftForm() end diff --git a/api/CancelSummon.lua b/api/CancelSummon.lua index 8d7367f..99e446b 100644 --- a/api/CancelSummon.lua +++ b/api/CancelSummon.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines an offered summons. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. -function CancelSummon() end \ No newline at end of file +function CancelSummon() end diff --git a/api/CancelTrade.lua b/api/CancelTrade.lua index 83bddd3..97c466e 100644 --- a/api/CancelTrade.lua +++ b/api/CancelTrade.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels a trade in progress. Can be used if either party has accepted the trade, but not once both have. -function CancelTrade() end \ No newline at end of file +function CancelTrade() end diff --git a/api/CancelTradeAccept.lua b/api/CancelTradeAccept.lua index 764e366..e18f6e8 100644 --- a/api/CancelTradeAccept.lua +++ b/api/CancelTradeAccept.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels the player's acceptance of a trade. If the player has accepted the trade but the target has not, reverts the player to the pre-acceptance state but does not end the trade. -function CancelTradeAccept() end \ No newline at end of file +function CancelTradeAccept() end diff --git a/api/CancelUnitBuff.lua b/api/CancelUnitBuff.lua index d92d9ff..3b56e1e 100644 --- a/api/CancelUnitBuff.lua +++ b/api/CancelUnitBuff.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ---@alias auraFilter ----| 'RAID' ----| 'CANCELABLE' ----| 'HARMFUL' ----| 'HELPFUL' ----| 'NOT_CANCELABLE' ----| 'PLAYER' ----| 'RAID' +---| 'RAID' +---| 'CANCELABLE' +---| 'HARMFUL' +---| 'HELPFUL' +---| 'NOT_CANCELABLE' +---| 'PLAYER' +---| 'RAID' ----@param unit string ----@param index number +---@param unit string +---@param index number ---Cancels a buff on the player. CancelUnitBuff becomes a protected function while under combat lockdown. ---@overload fun(unit: string, index: number) ---@overload fun(unit: string, index: number, rank: string) @@ -18,4 +18,4 @@ ---@overload fun(unit: string, name: string) ---@overload fun(unit: string, name: string, rank: string) ---@overload fun(unit: string, name: string, rank: string, filter: auraFilter) -function CancelUnitBuff(unit, index, name, rank, filter) end \ No newline at end of file +function CancelUnitBuff(unit, index, name, rank, filter) end diff --git a/api/CastGlyph.lua b/api/CastGlyph.lua index 15315e5..bfb187d 100644 --- a/api/CastGlyph.lua +++ b/api/CastGlyph.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CastGlyph() end \ No newline at end of file +function CastGlyph() end diff --git a/api/CastGlyphByID.lua b/api/CastGlyphByID.lua index 08dedec..19c7d34 100644 --- a/api/CastGlyphByID.lua +++ b/api/CastGlyphByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CastGlyphByID() end \ No newline at end of file +function CastGlyphByID() end diff --git a/api/CastGlyphByName.lua b/api/CastGlyphByName.lua index e0b8a40..34a3c8f 100644 --- a/api/CastGlyphByName.lua +++ b/api/CastGlyphByName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CastGlyphByName() end \ No newline at end of file +function CastGlyphByName() end diff --git a/api/CastPetAction.lua b/api/CastPetAction.lua index 76115af..4b3e8cf 100644 --- a/api/CastPetAction.lua +++ b/api/CastPetAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param unit string +---@param index number +---@param unit string ---Casts a pet action on a specific target -function CastPetAction(index, unit) end \ No newline at end of file +function CastPetAction(index, unit) end diff --git a/api/CastShapeshiftForm.lua b/api/CastShapeshiftForm.lua index 2b9f81f..7e41d2e 100644 --- a/api/CastShapeshiftForm.lua +++ b/api/CastShapeshiftForm.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Casts an ability on the stance/shapeshift bar -function CastShapeshiftForm(index) end \ No newline at end of file +function CastShapeshiftForm(index) end diff --git a/api/CastSpell.lua b/api/CastSpell.lua index b05b838..9c1953f 100644 --- a/api/CastSpell.lua +++ b/api/CastSpell.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@param bookType spell ----@param pet ----@param spell +---@param id number +---@param bookType spell +---@param pet +---@param spell ---Casts a from the spellbook. Only protected (i.e. usable only by the Blizzard UI) if the given id corresponds to a spell which can be cast (not a passive spell) and is not a trade skill; can be used by addons to cast the "spells" that open trade skill windows. -function CastSpell(id, bookType, pet, spell) end \ No newline at end of file +function CastSpell(id, bookType, pet, spell) end diff --git a/api/CastSpellByID.lua b/api/CastSpellByID.lua index 8fec778..0a2a165 100644 --- a/api/CastSpellByID.lua +++ b/api/CastSpellByID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellID number ----@param target string +---@param spellID number +---@param target string ---Casts a spell specified by id (optionally on a specified unit). Only protected (i.e. usable only by the Blizzard UI) if the given spell is castable (not passive) and is not a trade skill; can be used by addons to cast the "spells" that open trade skill windows. -function CastSpellByID(spellID, target) end \ No newline at end of file +function CastSpellByID(spellID, target) end diff --git a/api/CastSpellByName.lua b/api/CastSpellByName.lua index d6acb11..44b41ba 100644 --- a/api/CastSpellByName.lua +++ b/api/CastSpellByName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param target string +---@param name string +---@param target string ---Casts a spell specified by name (optionally on a specified unit). Only protected (i.e. usable only by the Blizzard UI) if the given spell is castable (not passive) and is not a trade skill; can be used by addons to cast the "spells" that open trade skill windows. -function CastSpellByName(name, target) end \ No newline at end of file +function CastSpellByName(name, target) end diff --git a/api/ChangeActionBarPage.lua b/api/ChangeActionBarPage.lua index 93ea0ce..ce04632 100644 --- a/api/ChangeActionBarPage.lua +++ b/api/ChangeActionBarPage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param page number +---@param page number ---Changes the current action bar page -function ChangeActionBarPage(page) end \ No newline at end of file +function ChangeActionBarPage(page) end diff --git a/api/ChangeChatColor.lua b/api/ChangeChatColor.lua index c7a7b9a..3ee1254 100644 --- a/api/ChangeChatColor.lua +++ b/api/ChangeChatColor.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param messageGroup string ----@param red number ----@param green number ----@param blue number +---@param messageGroup string +---@param red number +---@param green number +---@param blue number ---Changes the color associated with a chat message type -function ChangeChatColor(messageGroup, red, green, blue) end \ No newline at end of file +function ChangeChatColor(messageGroup, red, green, blue) end diff --git a/api/ChannelBan.lua b/api/ChannelBan.lua index 50fbe75..99a3fc7 100644 --- a/api/ChannelBan.lua +++ b/api/ChannelBan.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param fullname string +---@param channel string +---@param fullname string ---Bans a character from a chat channel. Has no effect unless the player is a moderator of the given channel -function ChannelBan(channel, fullname) end \ No newline at end of file +function ChannelBan(channel, fullname) end diff --git a/api/ChannelInvite.lua b/api/ChannelInvite.lua index a637ad6..2b09c46 100644 --- a/api/ChannelInvite.lua +++ b/api/ChannelInvite.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param name string +---@param channel string +---@param name string ---Invites a character to join a chat channel -function ChannelInvite(channel, name) end \ No newline at end of file +function ChannelInvite(channel, name) end diff --git a/api/ChannelKick.lua b/api/ChannelKick.lua index a4b9edb..ca4f25f 100644 --- a/api/ChannelKick.lua +++ b/api/ChannelKick.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param fullname string +---@param channel string +---@param fullname string ---Removes a player from the channel. Has no effect unless the player is a moderator of the given channel -function ChannelKick(channel, fullname) end \ No newline at end of file +function ChannelKick(channel, fullname) end diff --git a/api/ChannelModerator.lua b/api/ChannelModerator.lua index 714f13f..9802ebe 100644 --- a/api/ChannelModerator.lua +++ b/api/ChannelModerator.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param fullname string +---@param channel string +---@param fullname string ---Grants a character moderator status in a chat channel. Has no effect unless the player is the owner of the given channel -function ChannelModerator(channel, fullname) end \ No newline at end of file +function ChannelModerator(channel, fullname) end diff --git a/api/ChannelMute.lua b/api/ChannelMute.lua index c1e80eb..2fb164d 100644 --- a/api/ChannelMute.lua +++ b/api/ChannelMute.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelName string ----@param channelId number ----@param name string +---@param channelName string +---@param channelId number +---@param name string ---Grants a character ability to speak in a moderated chat channel -function ChannelMute(channelName, channelId, name) end \ No newline at end of file +function ChannelMute(channelName, channelId, name) end diff --git a/api/ChannelSilenceAll.lua b/api/ChannelSilenceAll.lua index 17d27e1..db3848b 100644 --- a/api/ChannelSilenceAll.lua +++ b/api/ChannelSilenceAll.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelName string ----@param channelId number ----@param unit string ----@param name string +---@param channelName string +---@param channelId number +---@param unit string +---@param name string ---Silences a character for chat and voice on a channel -function ChannelSilenceAll(channelName, channelId, unit, name) end \ No newline at end of file +function ChannelSilenceAll(channelName, channelId, unit, name) end diff --git a/api/ChannelSilenceVoice.lua b/api/ChannelSilenceVoice.lua index 092b4d9..3579ee2 100644 --- a/api/ChannelSilenceVoice.lua +++ b/api/ChannelSilenceVoice.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelName string ----@param channelId number ----@param unit string ----@param name string +---@param channelName string +---@param channelId number +---@param unit string +---@param name string ---Silences the given character for voice chat on the channel. Only a raid/party/battleground leader or assistant can silence a player. -function ChannelSilenceVoice(channelName, channelId, unit, name) end \ No newline at end of file +function ChannelSilenceVoice(channelName, channelId, unit, name) end diff --git a/api/ChannelToggleAnnouncements.lua b/api/ChannelToggleAnnouncements.lua index b119732..e7f1505 100644 --- a/api/ChannelToggleAnnouncements.lua +++ b/api/ChannelToggleAnnouncements.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string +---@param channel string ---Enables or disables printing of join/leave announcements for a channel -function ChannelToggleAnnouncements(channel) end \ No newline at end of file +function ChannelToggleAnnouncements(channel) end diff --git a/api/ChannelUnSilenceAll.lua b/api/ChannelUnSilenceAll.lua index 04d9d1f..cd3270e 100644 --- a/api/ChannelUnSilenceAll.lua +++ b/api/ChannelUnSilenceAll.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelName string ----@param channelId number ----@param unit string ----@param name string +---@param channelName string +---@param channelId number +---@param unit string +---@param name string ---Unsilences a character for chat and voice on a channel -function ChannelUnSilenceAll(channelName, channelId, unit, name) end \ No newline at end of file +function ChannelUnSilenceAll(channelName, channelId, unit, name) end diff --git a/api/ChannelUnSilenceVoice.lua b/api/ChannelUnSilenceVoice.lua index deb76a7..2f0f2c9 100644 --- a/api/ChannelUnSilenceVoice.lua +++ b/api/ChannelUnSilenceVoice.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelName string ----@param channelId number ----@param unit string ----@param name string +---@param channelName string +---@param channelId number +---@param unit string +---@param name string ---Unsilences a character on a chat channel -function ChannelUnSilenceVoice(channelName, channelId, unit, name) end \ No newline at end of file +function ChannelUnSilenceVoice(channelName, channelId, unit, name) end diff --git a/api/ChannelUnban.lua b/api/ChannelUnban.lua index de0181c..b5be5ac 100644 --- a/api/ChannelUnban.lua +++ b/api/ChannelUnban.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param fullname string +---@param channel string +---@param fullname string ---Lifts the ban preventing a character from joining a chat channel. Has no effect unless the player is a moderator of the given channel -function ChannelUnban(channel, fullname) end \ No newline at end of file +function ChannelUnban(channel, fullname) end diff --git a/api/ChannelUnmoderator.lua b/api/ChannelUnmoderator.lua index 3a3a9df..cf0ae7c 100644 --- a/api/ChannelUnmoderator.lua +++ b/api/ChannelUnmoderator.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param fullname string +---@param channel string +---@param fullname string ---Revokes moderator status from a character on a chat channel. Has no effect unless the player is the owner of the given channel -function ChannelUnmoderator(channel, fullname) end \ No newline at end of file +function ChannelUnmoderator(channel, fullname) end diff --git a/api/ChannelUnmute.lua b/api/ChannelUnmute.lua index ac1da9f..43cda74 100644 --- a/api/ChannelUnmute.lua +++ b/api/ChannelUnmute.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelName string ----@param channelId number ----@param name string +---@param channelName string +---@param channelId number +---@param name string ---Removes a character's ability to speak in a moderated chat channel -function ChannelUnmute(channelName, channelId, name) end \ No newline at end of file +function ChannelUnmute(channelName, channelId, name) end diff --git a/api/ChannelVoiceOff.lua b/api/ChannelVoiceOff.lua index 4889ce4..db21f3e 100644 --- a/api/ChannelVoiceOff.lua +++ b/api/ChannelVoiceOff.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param channelIndex number +---@param channel string +---@param channelIndex number ---Disables voice chat in a channel -function ChannelVoiceOff(channel, channelIndex) end \ No newline at end of file +function ChannelVoiceOff(channel, channelIndex) end diff --git a/api/ChannelVoiceOn.lua b/api/ChannelVoiceOn.lua index dc108de..ce46c96 100644 --- a/api/ChannelVoiceOn.lua +++ b/api/ChannelVoiceOn.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param channelIndex number +---@param channel string +---@param channelIndex number ---Enables voice chat in a channel -function ChannelVoiceOn(channel, channelIndex) end \ No newline at end of file +function ChannelVoiceOn(channel, channelIndex) end diff --git a/api/ChatFrame_AddMessageEventFilter.lua b/api/ChatFrame_AddMessageEventFilter.lua index bf169cc..c1724c0 100644 --- a/api/ChatFrame_AddMessageEventFilter.lua +++ b/api/ChatFrame_AddMessageEventFilter.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param event string ----@param filter function +---@param event string +---@param filter function ---Adds a function to filter or alter messages to the chat display system. The filter function will be called each time a message is sent to one of the default chat frames (ChatFrame1, ChatFrame2, ..., ChatFrame7). The function will be passed the chat frame object that the message is being added to, along with the event that caused the messages to be added, and the arguments to that event. A filter function may return true if the message should be filtered , or false if the message should be displayed. Following this boolean flag, the message can return a list of (possibly) altered arguments to be passed to the next filter function. Note that your function will be called at least once for every ChatFrame the message-event is registered for. Currently (due to what appears to be a bug) the filter is actually called twice for each frame. Due to this non-deterministic calling, your filter function should not have side-effects. See examples for details. -function ChatFrame_AddMessageEventFilter(event, filter) end \ No newline at end of file +function ChatFrame_AddMessageEventFilter(event, filter) end diff --git a/api/ChatFrame_GetMessageEventFilters.lua b/api/ChatFrame_GetMessageEventFilters.lua index f528b68..b0c0a6b 100644 --- a/api/ChatFrame_GetMessageEventFilters.lua +++ b/api/ChatFrame_GetMessageEventFilters.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param event string ----@return table filterTable +---@param event string +---@return table filterTable ---Returns the list of filters registered for a chat event. See ChatFrame_AddMessageEventFilter() for details about chat message filters. -function ChatFrame_GetMessageEventFilters(event) end \ No newline at end of file +function ChatFrame_GetMessageEventFilters(event) end diff --git a/api/ChatFrame_RemoveMessageEventFilter.lua b/api/ChatFrame_RemoveMessageEventFilter.lua index 6d83651..6ac6604 100644 --- a/api/ChatFrame_RemoveMessageEventFilter.lua +++ b/api/ChatFrame_RemoveMessageEventFilter.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param event string ----@param filter function +---@param event string +---@param filter function ---Removes a previously set chat message filter. See ChatFrame_AddMessageEventFilter() for details about chat message filters. -function ChatFrame_RemoveMessageEventFilter(event, filter) end \ No newline at end of file +function ChatFrame_RemoveMessageEventFilter(event, filter) end diff --git a/api/ChatHistory_GetAccessID.lua b/api/ChatHistory_GetAccessID.lua index ba041f9..4406d19 100644 --- a/api/ChatHistory_GetAccessID.lua +++ b/api/ChatHistory_GetAccessID.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param chatType string ----@param chatTarget string ----@return number accessID +---@param chatType string +---@param chatTarget string +---@return number accessID ---Retrieve an accessID for a combination of chatType and chatTarget. This accessID can be used to filter chat frame messages. -function ChatHistory_GetAccessID(chatType, chatTarget) end \ No newline at end of file +function ChatHistory_GetAccessID(chatType, chatTarget) end diff --git a/api/ChatHistory_GetChatType.lua b/api/ChatHistory_GetChatType.lua index c39dcf7..d83caa5 100644 --- a/api/ChatHistory_GetChatType.lua +++ b/api/ChatHistory_GetChatType.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param accessID number ----@return string chatType ----@return string chatTarget +---@param accessID number +---@return string chatType +---@return string chatTarget ---Retrieve information about an accessID -function ChatHistory_GetChatType(accessID) end \ No newline at end of file +function ChatHistory_GetChatType(accessID) end diff --git a/api/CheckBinderDist.lua b/api/CheckBinderDist.lua index 9251e82..e43dcc4 100644 --- a/api/CheckBinderDist.lua +++ b/api/CheckBinderDist.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inRange +---@return 1nil inRange ---Returns whether the player is in range of an NPC that can set the Hearthstone location. Usable following the CONFIRM_BINDER event which fires when the player speaks to an Innkeeper (or similar) NPC and chooses to set his or her Hearthstone location. Used in the default UI to hide the confirmation window for such if the player moves too far away from the NPC. -function CheckBinderDist() end \ No newline at end of file +function CheckBinderDist() end diff --git a/api/CheckInbox.lua b/api/CheckInbox.lua index 0c146c5..1edd4bb 100644 --- a/api/CheckInbox.lua +++ b/api/CheckInbox.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests information on the player's mailbox contents from the server. Information is not returned immediately; the MAIL_INBOX_UPDATE event fires when data becomes available for use by other Mail/Inbox API functions. -function CheckInbox() end \ No newline at end of file +function CheckInbox() end diff --git a/api/CheckSpiritHealerDist.lua b/api/CheckSpiritHealerDist.lua index fa30ca7..68ccd81 100644 --- a/api/CheckSpiritHealerDist.lua +++ b/api/CheckSpiritHealerDist.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inRange +---@return 1nil inRange ---Returns whether the player is in range of a spirit healer. Usable following the CONFIRM_XP_LOSS event which fires upon speaking to a spirit healer while dead and choosing the option to immediately resurrect. Used in the default UI to hide the confirmation window for such if the player moves too far away from the spirit healer. -function CheckSpiritHealerDist() end \ No newline at end of file +function CheckSpiritHealerDist() end diff --git a/api/CheckTalentMasterDist.lua b/api/CheckTalentMasterDist.lua index 9ece663..a59c63a 100644 --- a/api/CheckTalentMasterDist.lua +++ b/api/CheckTalentMasterDist.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inRange +---@return 1nil inRange ---Returns whether the player is in range of an NPC that can reset talents. Usable following the CONFIRM_TALENT_WIPE event which fires when the player speaks to an trainer NPC and chooses to reset his or her talents. Used in the default UI to hide the confirmation window for such if the player moves too far away from the NPC. -function CheckTalentMasterDist() end \ No newline at end of file +function CheckTalentMasterDist() end diff --git a/api/ClearAchievementComparisonUnit.lua b/api/ClearAchievementComparisonUnit.lua index 0279fc7..463a235 100644 --- a/api/ClearAchievementComparisonUnit.lua +++ b/api/ClearAchievementComparisonUnit.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Disables comparing achievements/statistics with another player -function ClearAchievementComparisonUnit() end \ No newline at end of file +function ClearAchievementComparisonUnit() end diff --git a/api/ClearAllLFGDungeons.lua b/api/ClearAllLFGDungeons.lua index d1816fe..f2b01e7 100644 --- a/api/ClearAllLFGDungeons.lua +++ b/api/ClearAllLFGDungeons.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes the player from all LFD queues. -function ClearAllLFGDungeons() end \ No newline at end of file +function ClearAllLFGDungeons() end diff --git a/api/ClearAllTracking.lua b/api/ClearAllTracking.lua index 1f66594..bdac15d 100644 --- a/api/ClearAllTracking.lua +++ b/api/ClearAllTracking.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClearAllTracking() end \ No newline at end of file +function ClearAllTracking() end diff --git a/api/ClearAutoAcceptQuestSound.lua b/api/ClearAutoAcceptQuestSound.lua index 633b7c8..eebd0ed 100644 --- a/api/ClearAutoAcceptQuestSound.lua +++ b/api/ClearAutoAcceptQuestSound.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClearAutoAcceptQuestSound() end \ No newline at end of file +function ClearAutoAcceptQuestSound() end diff --git a/api/ClearBlacklistMap.lua b/api/ClearBlacklistMap.lua index 982887a..46675a3 100644 --- a/api/ClearBlacklistMap.lua +++ b/api/ClearBlacklistMap.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param BGMapID number +---@param BGMapID number ---Remove battleground from blacklist. -function ClearBlacklistMap(BGMapID) end \ No newline at end of file +function ClearBlacklistMap(BGMapID) end diff --git a/api/ClearCursor.lua b/api/ClearCursor.lua index b3e161a..2847531 100644 --- a/api/ClearCursor.lua +++ b/api/ClearCursor.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Clears any contents attached to the cursor. If the cursor contains an item picked up from inventory (equipment slots) or a container, the item returns to its point of origin and the inventory or container slot is unlocked. (To destroy an item, see DeleteCursorItem()). If the cursor contains an action, that action is deleted (but not the spell, item, macro, etc that it represents). If the cursor contains any other data type, nothing happens other than the cursor being reverted to its default state -- picking up such objects has no effect on their points of origin. -function ClearCursor() end \ No newline at end of file +function ClearCursor() end diff --git a/api/ClearFocus.lua b/api/ClearFocus.lua index 624c431..44ff7b3 100644 --- a/api/ClearFocus.lua +++ b/api/ClearFocus.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Clears the player's focus unit -function ClearFocus() end \ No newline at end of file +function ClearFocus() end diff --git a/api/ClearInspectPlayer.lua b/api/ClearInspectPlayer.lua index 8ad97c0..85c0909 100644 --- a/api/ClearInspectPlayer.lua +++ b/api/ClearInspectPlayer.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends inspection of another character. After this function is called, data about the inspected unit may not be available or valid. Used in the default UI when the InspectFrame is hidden. -function ClearInspectPlayer() end \ No newline at end of file +function ClearInspectPlayer() end diff --git a/api/ClearItemUpgrade.lua b/api/ClearItemUpgrade.lua index 92a11e7..39076a5 100644 --- a/api/ClearItemUpgrade.lua +++ b/api/ClearItemUpgrade.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes the item from the upgrade dialog. This function can currently only be called when at the upgrade merchant -function ClearItemUpgrade() end \ No newline at end of file +function ClearItemUpgrade() end diff --git a/api/ClearMissingLootDisplay.lua b/api/ClearMissingLootDisplay.lua index be0d633..4605951 100644 --- a/api/ClearMissingLootDisplay.lua +++ b/api/ClearMissingLootDisplay.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClearMissingLootDisplay() end \ No newline at end of file +function ClearMissingLootDisplay() end diff --git a/api/ClearOverrideBindings.lua b/api/ClearOverrideBindings.lua index 02cd10d..b6178cd 100644 --- a/api/ClearOverrideBindings.lua +++ b/api/ClearOverrideBindings.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner table +---@param owner table ---Clears any registered override bindings for a given owner. An override binding is a temporary key or click binding that can be used to override the default bindings. The bound key will revert to its normal setting once the override has been removed. -function ClearOverrideBindings(owner) end \ No newline at end of file +function ClearOverrideBindings(owner) end diff --git a/api/ClearPartyAssignment.lua b/api/ClearPartyAssignment.lua index 24eecc1..6e9c838 100644 --- a/api/ClearPartyAssignment.lua +++ b/api/ClearPartyAssignment.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param assignment MAINTANK ----@param MAINASSIST ----@param MAINTANK ----@param unit string ----@param name string ----@param exactMatch boolean +---@param assignment MAINTANK +---@param MAINASSIST +---@param MAINTANK +---@param unit string +---@param name string +---@param exactMatch boolean ---Removes a group role assignment from a member of the player's party or raid. If no unit (or name) is given, removes the role assignment from all members of the party or raid. -function ClearPartyAssignment(assignment, MAINASSIST, MAINTANK, unit, name, exactMatch) end \ No newline at end of file +function ClearPartyAssignment(assignment, MAINASSIST, MAINTANK, unit, name, exactMatch) end diff --git a/api/ClearRaidMarker.lua b/api/ClearRaidMarker.lua index 1c9a205..870f62d 100644 --- a/api/ClearRaidMarker.lua +++ b/api/ClearRaidMarker.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClearRaidMarker() end \ No newline at end of file +function ClearRaidMarker() end diff --git a/api/ClearSendMail.lua b/api/ClearSendMail.lua index dd04a7b..624bdbe 100644 --- a/api/ClearSendMail.lua +++ b/api/ClearSendMail.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Clears any text, items, or money from the mail to be sent -function ClearSendMail() end \ No newline at end of file +function ClearSendMail() end diff --git a/api/ClearTarget.lua b/api/ClearTarget.lua index ba011b4..c98dcfa 100644 --- a/api/ClearTarget.lua +++ b/api/ClearTarget.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Clears the player's current target -function ClearTarget() end \ No newline at end of file +function ClearTarget() end diff --git a/api/ClearTransmogrifySlot.lua b/api/ClearTransmogrifySlot.lua index b40fadf..427287e 100644 --- a/api/ClearTransmogrifySlot.lua +++ b/api/ClearTransmogrifySlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClearTransmogrifySlot() end \ No newline at end of file +function ClearTransmogrifySlot() end diff --git a/api/ClearTutorials.lua b/api/ClearTutorials.lua index d314642..70fb609 100644 --- a/api/ClearTutorials.lua +++ b/api/ClearTutorials.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Disables contextual tutorial display -function ClearTutorials() end \ No newline at end of file +function ClearTutorials() end diff --git a/api/ClearVoidTransferDepositSlot.lua b/api/ClearVoidTransferDepositSlot.lua index c2b1c5d..03d51d2 100644 --- a/api/ClearVoidTransferDepositSlot.lua +++ b/api/ClearVoidTransferDepositSlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClearVoidTransferDepositSlot() end \ No newline at end of file +function ClearVoidTransferDepositSlot() end diff --git a/api/ClickAuctionSellItemButton.lua b/api/ClickAuctionSellItemButton.lua index 93c50df..0e28890 100644 --- a/api/ClickAuctionSellItemButton.lua +++ b/api/ClickAuctionSellItemButton.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Picks up an item from or puts an item into the "Create Auction" slot. If the cursor is empty and the slot contains an item, that item is put onto the cursor. If the cursor contains an item and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the slot are exchanged. Only has effect if the player is interacting with an auctioneer (i.e. between the AUCTION_HOUSE_SHOW and AUCTION_HOUSE_CLOSED events). Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be put up for auction (e.g. if the item is soulbound). -function ClickAuctionSellItemButton() end \ No newline at end of file +function ClickAuctionSellItemButton() end diff --git a/api/ClickLandmark.lua b/api/ClickLandmark.lua index 74e6abd..82bcf3d 100644 --- a/api/ClickLandmark.lua +++ b/api/ClickLandmark.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mapLinkID number +---@param mapLinkID number ---Processes a hyperlink associated with a map landmark. Possible landmarks include PvP objectives (both in battlegrounds and in world PvP areas), town and city markers on continent maps, and special markers such as those used during the Scourge Invasion world event. Some landmarks (such as those for towns on a zone map) exist but are not visible in the default UI. Hyperlinks are not used for any of the landmarks currently in the game; this function does nothing when called with a landmark which does not have a hyperlink. -function ClickLandmark(mapLinkID) end \ No newline at end of file +function ClickLandmark(mapLinkID) end diff --git a/api/ClickSendMailItemButton.lua b/api/ClickSendMailItemButton.lua index 894682d..472caa9 100644 --- a/api/ClickSendMailItemButton.lua +++ b/api/ClickSendMailItemButton.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param autoReturn boolean +---@param index number +---@param autoReturn boolean ---Picks up an item from or puts an item into an attachment slot for sending mail. If the cursor is empty and the mail attachment slot contains an item, that item is put onto the cursor. If the cursor contains an item and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the mail attachment slot are exchanged. Only has effect if the player is interacting with a mailbox (i.e. between the MAIL_SHOW and MAIL_CLOSED events). Causes an error message (UI_ERROR_MESSAGE) if an invalid mail attachment slot is specified or if the item on the cursor cannot be mailed (e.g. if the item is soulbound). -function ClickSendMailItemButton(index, autoReturn) end \ No newline at end of file +function ClickSendMailItemButton(index, autoReturn) end diff --git a/api/ClickSocketButton.lua b/api/ClickSocketButton.lua index 1b33b29..4c55c4f 100644 --- a/api/ClickSocketButton.lua +++ b/api/ClickSocketButton.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Picks up or places a gem in the Item Socketing UI. If the Item Socketing UI is open and the cursor contains a socketable gem, places the gem into socket index. If the cursor does not hold an item and socket index is not locked, picks up the gem in that socket. Only has an effect while the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function ClickSocketButton(index) end \ No newline at end of file +function ClickSocketButton(index) end diff --git a/api/ClickTargetTradeButton.lua b/api/ClickTargetTradeButton.lua index 12e87c6..4b0d0ed 100644 --- a/api/ClickTargetTradeButton.lua +++ b/api/ClickTargetTradeButton.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Interacts with an item in a slot offered for trade by the target. Only meaningful when used with the last (7th) trade slot: if an enchantment-type spell is currently awaiting a target (i.e. the glowing hand cursor is showing), targets the item in the given trade slot for the enchantment. (The enchantment to be applied then shows for both parties in the trade, but is not actually performed until both parties accept the trade.) -function ClickTargetTradeButton(index) end \ No newline at end of file +function ClickTargetTradeButton(index) end diff --git a/api/ClickTradeButton.lua b/api/ClickTradeButton.lua index c6a0150..0ff2390 100644 --- a/api/ClickTradeButton.lua +++ b/api/ClickTradeButton.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Picks up an item from or puts an item in a slot offered for trade by the player. Results vary by context: If an item is on the cursor and no item is in the trade slot, the item is put into the trade slot and the cursor becomes empty If no item is on the cursor and an item is in the trade slot, the item is put on the cursor and removed from the trade slot If an item is on the cursor and an item is in the trade slot, the item from the cursor is put into the trade slot and the item from the trade slot is put on the cursor If both cursor and trade slot are empty, nothing happens -function ClickTradeButton(index) end \ No newline at end of file +function ClickTradeButton(index) end diff --git a/api/ClickTransmogrifySlot.lua b/api/ClickTransmogrifySlot.lua index a647fb5..6fe7fcb 100644 --- a/api/ClickTransmogrifySlot.lua +++ b/api/ClickTransmogrifySlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClickTransmogrifySlot() end \ No newline at end of file +function ClickTransmogrifySlot() end diff --git a/api/ClickVoidStorageSlot.lua b/api/ClickVoidStorageSlot.lua index ac2723b..1b1fcbb 100644 --- a/api/ClickVoidStorageSlot.lua +++ b/api/ClickVoidStorageSlot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param isRightClick 1nil +---@param index number +---@param isRightClick 1nil ---Allows to 'move' an item from the void storages content to the withdrawal box. Such a 'moved' item will be locked in the content until the transfer happens or the item is removed from the withdrawal box. Locking happens as soon as a click happened. If isRightClick is set the item is put in the first empty withdrawal slot. If isRichtClick is not set the item is attached to the mouse until it is either released to the content (by right clicking) or manually placed either in the content or any withdrawal box slot. -function ClickVoidStorageSlot(index, isRightClick) end \ No newline at end of file +function ClickVoidStorageSlot(index, isRightClick) end diff --git a/api/ClickVoidTransferDepositSlot.lua b/api/ClickVoidTransferDepositSlot.lua index 8535174..cffbc69 100644 --- a/api/ClickVoidTransferDepositSlot.lua +++ b/api/ClickVoidTransferDepositSlot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param isRightClick 1nil +---@param index number +---@param isRightClick 1nil ---Allows to 'move' an item from the void storages deposit box back to inventory. The 'moved' item will subsequently be unlocked in the inventory. If isRightClick is set the item is returned and unlocked immediately. If isRightClick is not set the item is attached to the mouse until it is either released to the inventory (by right clicking) or manually placed either in the inventory or any deposit slot. -function ClickVoidTransferDepositSlot(index, isRightClick) end \ No newline at end of file +function ClickVoidTransferDepositSlot(index, isRightClick) end diff --git a/api/ClickVoidTransferWithdrawalSlot.lua b/api/ClickVoidTransferWithdrawalSlot.lua index 38db64c..984c8f9 100644 --- a/api/ClickVoidTransferWithdrawalSlot.lua +++ b/api/ClickVoidTransferWithdrawalSlot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param isRightClick 1nil +---@param index number +---@param isRightClick 1nil ---Allows to 'move' an item from the void storages withdrawal box to content. If isRightClick is set the item is immediately removed from the withdrawal box and unlocked in content. If isRichtClick is not set the item is attached to the mouse until it is either released to the content (by right clicking) or manually placed either in the content or any withdrawal box slot. -function ClickVoidTransferWithdrawalSlot(index, isRightClick) end \ No newline at end of file +function ClickVoidTransferWithdrawalSlot(index, isRightClick) end diff --git a/api/CloseAuctionHouse.lua b/api/CloseAuctionHouse.lua index f194099..a203723 100644 --- a/api/CloseAuctionHouse.lua +++ b/api/CloseAuctionHouse.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the Auction House UI. Causes the AUCTION_HOUSE_CLOSED event to fire, indicating that Auction-related APIs may be unavailable or no longer return valid data. -function CloseAuctionHouse() end \ No newline at end of file +function CloseAuctionHouse() end diff --git a/api/CloseBankFrame.lua b/api/CloseBankFrame.lua index 8b93911..f1b1ece 100644 --- a/api/CloseBankFrame.lua +++ b/api/CloseBankFrame.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the bank. Causes the BANKFRAME_CLOSED event to fire, indicating that APIs querying bank contents may no longer return valid results. -function CloseBankFrame() end \ No newline at end of file +function CloseBankFrame() end diff --git a/api/CloseGossip.lua b/api/CloseGossip.lua index a22f2b8..2d18fae 100644 --- a/api/CloseGossip.lua +++ b/api/CloseGossip.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends an NPC "gossip" interaction. Causes the GOSSIP_CLOSED event to fire, indicating that Gossip APIs may no longer have effects or return valid data. -function CloseGossip() end \ No newline at end of file +function CloseGossip() end diff --git a/api/CloseGuildBankFrame.lua b/api/CloseGuildBankFrame.lua index dc9a250..96a2380 100644 --- a/api/CloseGuildBankFrame.lua +++ b/api/CloseGuildBankFrame.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the guild bank vault. Fires the GUILDBANKFRAME_CLOSED event, indicating that APIs related to the Guild Bank vault may no longer have effects or return valid data. (APIs related to guild bank permissions are still usable.) -function CloseGuildBankFrame() end \ No newline at end of file +function CloseGuildBankFrame() end diff --git a/api/CloseGuildRegistrar.lua b/api/CloseGuildRegistrar.lua index ad6140f..7fb2c28 100644 --- a/api/CloseGuildRegistrar.lua +++ b/api/CloseGuildRegistrar.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a guild registrar. Fires the GUILD_REGISTRAR_CLOSED event, indicating that guild registrar APIs may no longer have effects or return valid data. -function CloseGuildRegistrar() end \ No newline at end of file +function CloseGuildRegistrar() end diff --git a/api/CloseGuildRoster.lua b/api/CloseGuildRoster.lua index 73f6c45..98e9242 100644 --- a/api/CloseGuildRoster.lua +++ b/api/CloseGuildRoster.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CloseGuildRoster() end \ No newline at end of file +function CloseGuildRoster() end diff --git a/api/CloseItemText.lua b/api/CloseItemText.lua index 1f70401..a9936cd 100644 --- a/api/CloseItemText.lua +++ b/api/CloseItemText.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a text object or item. Causes the ITEM_TEXT_CLOSED event to fire, indicating that ItemText APIs are no longer valid. Called by the default UI when closing the ItemTextFrame, which is used for both readable world objects (books, plaques, gravestones, etc) and readable items (looted books, various quest-related scrolls and parchments, saved mail messages, etc). -function CloseItemText() end \ No newline at end of file +function CloseItemText() end diff --git a/api/CloseItemUpgrade.lua b/api/CloseItemUpgrade.lua index 14d4d26..2a0f38d 100644 --- a/api/CloseItemUpgrade.lua +++ b/api/CloseItemUpgrade.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CloseItemUpgrade() end \ No newline at end of file +function CloseItemUpgrade() end diff --git a/api/CloseLoot.lua b/api/CloseLoot.lua index adbcbc0..34b7da2 100644 --- a/api/CloseLoot.lua +++ b/api/CloseLoot.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a lootable corpse or object. Causes the LOOT_CLOSED event to fire, indicating that Loot APIs may no longer have effects or return valid data. If the corpse was designated as the player's loot (via the Round Robin, Group Loot, or Need Before Greed loot methods), the corpse's loot becomes available to the rest of the group. If (and only if) the loot was generated from Disenchanting, Prospecting, Milling or similar, all loot items are automatically picked up. -function CloseLoot() end \ No newline at end of file +function CloseLoot() end diff --git a/api/CloseMail.lua b/api/CloseMail.lua index 195b146..0887b13 100644 --- a/api/CloseMail.lua +++ b/api/CloseMail.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a mailbox. Fires the MAIL_CLOSED event, indicating that Mail/Inbox APIs may no longer have effects or return valid data. -function CloseMail() end \ No newline at end of file +function CloseMail() end diff --git a/api/CloseMerchant.lua b/api/CloseMerchant.lua index ad066a1..603b477 100644 --- a/api/CloseMerchant.lua +++ b/api/CloseMerchant.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a vendor. Causes the MERCHANT_CLOSED event to fire, indicating that Merchant APIs may no longer have effects or return valid data. -function CloseMerchant() end \ No newline at end of file +function CloseMerchant() end diff --git a/api/ClosePetStables.lua b/api/ClosePetStables.lua index 6533654..b6aabf2 100644 --- a/api/ClosePetStables.lua +++ b/api/ClosePetStables.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends use of the Pet Stables UI/API. Causes the PET_STABLE_CLOSED event to fire, indicating that stables-related APIs are no longer valid. -function ClosePetStables() end \ No newline at end of file +function ClosePetStables() end diff --git a/api/ClosePetition.lua b/api/ClosePetition.lua index be52486..db9f997 100644 --- a/api/ClosePetition.lua +++ b/api/ClosePetition.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a petition. Fires the PETITION_CLOSED event, indicating that Petition APIs may no longer have effects or return valid data. -function ClosePetition() end \ No newline at end of file +function ClosePetition() end diff --git a/api/CloseQuest.lua b/api/CloseQuest.lua index 40ddcd1..bdfebda 100644 --- a/api/CloseQuest.lua +++ b/api/CloseQuest.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a questgiver. Fires the QUEST_FINISHED event, indicating that questgiver-related APIs may no longer have effects or return valid data. -function CloseQuest() end \ No newline at end of file +function CloseQuest() end diff --git a/api/CloseQuestChoice.lua b/api/CloseQuestChoice.lua index a7caea3..2b3b3e6 100644 --- a/api/CloseQuestChoice.lua +++ b/api/CloseQuestChoice.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CloseQuestChoice() end \ No newline at end of file +function CloseQuestChoice() end diff --git a/api/CloseSocketInfo.lua b/api/CloseSocketInfo.lua index f8c7897..70322a4 100644 --- a/api/CloseSocketInfo.lua +++ b/api/CloseSocketInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the Item Socketing UI, discarding any changes made. Causes the SOCKET_INFO_CLOSE event to fire, indicating that Socket API functions may no longer have effects or return valid data. -function CloseSocketInfo() end \ No newline at end of file +function CloseSocketInfo() end diff --git a/api/CloseTabardCreation.lua b/api/CloseTabardCreation.lua index 557dc6a..1872641 100644 --- a/api/CloseTabardCreation.lua +++ b/api/CloseTabardCreation.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the guild tabard creator. Fires the CLOSE_TABARD_FRAME event, indicating that tabard creation APIs may no longer have effects or return valid data. -function CloseTabardCreation() end \ No newline at end of file +function CloseTabardCreation() end diff --git a/api/CloseTaxiMap.lua b/api/CloseTaxiMap.lua index f21d95c..b43a930 100644 --- a/api/CloseTaxiMap.lua +++ b/api/CloseTaxiMap.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the Taxi (flight master) UI. Causes the TAXIMAP_CLOSED event to fire, indicating that Taxi APIs may no longer have effects or return valid data. -function CloseTaxiMap() end \ No newline at end of file +function CloseTaxiMap() end diff --git a/api/CloseTrade.lua b/api/CloseTrade.lua index 049b6d0..1fa25e6 100644 --- a/api/CloseTrade.lua +++ b/api/CloseTrade.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the Trade UI, canceling any trade in progress. Causes the TRADE_CLOSED event to fire, indicating that Trade APIs may no longer have effects or return valid data. -function CloseTrade() end \ No newline at end of file +function CloseTrade() end diff --git a/api/CloseTradeSkill.lua b/api/CloseTradeSkill.lua index c6fcea9..d04cd29 100644 --- a/api/CloseTradeSkill.lua +++ b/api/CloseTradeSkill.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with the Trade Skill UI. Fires the TRADE_SKILL_CLOSE event, indicating that TradeSkill APIs may no longer have effects or return valid data. -function CloseTradeSkill() end \ No newline at end of file +function CloseTradeSkill() end diff --git a/api/CloseTrainer.lua b/api/CloseTrainer.lua index 2b52dde..7147df5 100644 --- a/api/CloseTrainer.lua +++ b/api/CloseTrainer.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends interaction with a trainer. Fires the TRAINER_CLOSED event, indicating that Trainer APIs may no longer have effects or return valid data. -function CloseTrainer() end \ No newline at end of file +function CloseTrainer() end diff --git a/api/CloseTransmogrifyFrame.lua b/api/CloseTransmogrifyFrame.lua index d753464..bcb426e 100644 --- a/api/CloseTransmogrifyFrame.lua +++ b/api/CloseTransmogrifyFrame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CloseTransmogrifyFrame() end \ No newline at end of file +function CloseTransmogrifyFrame() end diff --git a/api/CloseVoidStorageFrame.lua b/api/CloseVoidStorageFrame.lua index 91a2858..b5b80d7 100644 --- a/api/CloseVoidStorageFrame.lua +++ b/api/CloseVoidStorageFrame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CloseVoidStorageFrame() end \ No newline at end of file +function CloseVoidStorageFrame() end diff --git a/api/ClosestUnitPosition.lua b/api/ClosestUnitPosition.lua index 62d77a6..e82303f 100644 --- a/api/ClosestUnitPosition.lua +++ b/api/ClosestUnitPosition.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ClosestUnitPosition() end \ No newline at end of file +function ClosestUnitPosition() end diff --git a/api/CollapseAllFactionHeaders.lua b/api/CollapseAllFactionHeaders.lua index 9a7a8ea..61e5880 100644 --- a/api/CollapseAllFactionHeaders.lua +++ b/api/CollapseAllFactionHeaders.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Collapses all headers and sub-headers in the Reputation UI. This function works for both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). -function CollapseAllFactionHeaders() end \ No newline at end of file +function CollapseAllFactionHeaders() end diff --git a/api/CollapseChannelHeader.lua b/api/CollapseChannelHeader.lua index a958ee7..1747bd7 100644 --- a/api/CollapseChannelHeader.lua +++ b/api/CollapseChannelHeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Collapses a group header in the chat channel listing -function CollapseChannelHeader(index) end \ No newline at end of file +function CollapseChannelHeader(index) end diff --git a/api/CollapseFactionHeader.lua b/api/CollapseFactionHeader.lua index b3428ae..918743b 100644 --- a/api/CollapseFactionHeader.lua +++ b/api/CollapseFactionHeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Collapses a given faction header or sub-header in the Reputation UI. Faction headers include both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). -function CollapseFactionHeader(index) end \ No newline at end of file +function CollapseFactionHeader(index) end diff --git a/api/CollapseQuestHeader.lua b/api/CollapseQuestHeader.lua index feb72d1..e1fdaa3 100644 --- a/api/CollapseQuestHeader.lua +++ b/api/CollapseQuestHeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Collapses a header in the quest log -function CollapseQuestHeader(questIndex) end \ No newline at end of file +function CollapseQuestHeader(questIndex) end diff --git a/api/CollapseTradeSkillSubClass.lua b/api/CollapseTradeSkillSubClass.lua index 015b678..18756af 100644 --- a/api/CollapseTradeSkillSubClass.lua +++ b/api/CollapseTradeSkillSubClass.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Collapses a group header in the trade skill listing. Causes an error if index does not refer to a header. -function CollapseTradeSkillSubClass(index) end \ No newline at end of file +function CollapseTradeSkillSubClass(index) end diff --git a/api/CollapseWarGameHeader.lua b/api/CollapseWarGameHeader.lua index 0d55f0d..814df99 100644 --- a/api/CollapseWarGameHeader.lua +++ b/api/CollapseWarGameHeader.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CollapseWarGameHeader() end \ No newline at end of file +function CollapseWarGameHeader() end diff --git a/api/CombatLogAddFilter.lua b/api/CombatLogAddFilter.lua index bec742f..8da235f 100644 --- a/api/CombatLogAddFilter.lua +++ b/api/CombatLogAddFilter.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param events string ----@param srcGUID string ----@param srcMask number ----@param destGUID string ----@param destMask number +---@param events string +---@param srcGUID string +---@param srcMask number +---@param destGUID string +---@param destMask number ---Adds a filter to the combat log system. Each time this function is called a new filter is added to the combat log system. Any combat log entry that passes the filter will be fired as a COMBAT_LOG_EVENT event in order from oldest to newest. -function CombatLogAddFilter(events, srcGUID, srcMask, destGUID, destMask) end \ No newline at end of file +function CombatLogAddFilter(events, srcGUID, srcMask, destGUID, destMask) end diff --git a/api/CombatLogAdvanceEntry.lua b/api/CombatLogAdvanceEntry.lua index dd1fa79..52eaaf4 100644 --- a/api/CombatLogAdvanceEntry.lua +++ b/api/CombatLogAdvanceEntry.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param count number ----@param ignoreFilter boolean ----@return 1nil hasEntry +---@param count number +---@param ignoreFilter boolean +---@return 1nil hasEntry ---Advances the "cursor" position used by other CombatLog functions. Information about the entry at the "cursor" position can be retrieved with CombatLogGetCurrentEntry(). That function then advances the cursor to the next entry, so calling it repeatedly returns all information in the combat log -- this function can be used to "rewind" the combat log to retrieve information about earlier events or skip entries without retrieving their information. -function CombatLogAdvanceEntry(count, ignoreFilter) end \ No newline at end of file +function CombatLogAdvanceEntry(count, ignoreFilter) end diff --git a/api/CombatLogClearEntries.lua b/api/CombatLogClearEntries.lua index f8990b4..89c2101 100644 --- a/api/CombatLogClearEntries.lua +++ b/api/CombatLogClearEntries.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes all entries from the combat log -function CombatLogClearEntries() end \ No newline at end of file +function CombatLogClearEntries() end diff --git a/api/CombatLogGetCurrentEntry.lua b/api/CombatLogGetCurrentEntry.lua index b441451..87671f8 100644 --- a/api/CombatLogGetCurrentEntry.lua +++ b/api/CombatLogGetCurrentEntry.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ignoreFilter boolean ----@return number timestamp ----@return string event ----@return string srcGUID ----@return string srcName ----@return number srcFlags ----@return string destGUID ----@return string destName ----@return number destFlags ----@return list ... +---@param ignoreFilter boolean +---@return number timestamp +---@return string event +---@return string srcGUID +---@return string srcName +---@return number srcFlags +---@return string destGUID +---@return string destName +---@return number destFlags +---@return list ... ---Returns the combat log event information for the current entry and advances to the next entry. See COMBAT_LOG_EVENT for details of the event information. The combat log maintains a "cursor" in the list of entries; this function returns information about the event at the cursor position and advances the cursor to the next entry. Since this function is used by the default UI's combat log display, the cursor position is usually at the end of the log -- calling it thus returns nothing. The function CombatLogSetCurrentEntry() can be used to "rewind" the combat log cursor, enabling retrieval of information about earlier events. -function CombatLogGetCurrentEntry(ignoreFilter) end \ No newline at end of file +function CombatLogGetCurrentEntry(ignoreFilter) end diff --git a/api/CombatLogGetNumEntries.lua b/api/CombatLogGetNumEntries.lua index 2c3b57a..3d3f17c 100644 --- a/api/CombatLogGetNumEntries.lua +++ b/api/CombatLogGetNumEntries.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ignoreFilter boolean +---@param ignoreFilter boolean ---Returns the number of available combat log events -function CombatLogGetNumEntries(ignoreFilter) end \ No newline at end of file +function CombatLogGetNumEntries(ignoreFilter) end diff --git a/api/CombatLogGetRetentionTime.lua b/api/CombatLogGetRetentionTime.lua index 80451f5..470e454 100644 --- a/api/CombatLogGetRetentionTime.lua +++ b/api/CombatLogGetRetentionTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number seconds +---@return number seconds ---Returns the amount of time combat log entries are stored -function CombatLogGetRetentionTime() end \ No newline at end of file +function CombatLogGetRetentionTime() end diff --git a/api/CombatLogResetFilter.lua b/api/CombatLogResetFilter.lua index d44b052..e627418 100644 --- a/api/CombatLogResetFilter.lua +++ b/api/CombatLogResetFilter.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes any filters applied to the combat log -function CombatLogResetFilter() end \ No newline at end of file +function CombatLogResetFilter() end diff --git a/api/CombatLogSetCurrentEntry.lua b/api/CombatLogSetCurrentEntry.lua index 699be53..7aea951 100644 --- a/api/CombatLogSetCurrentEntry.lua +++ b/api/CombatLogSetCurrentEntry.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param ignoreFilter boolean +---@param index number +---@param ignoreFilter boolean ---Sets the "cursor" position used by other CombatLog functions. Information about the entry at the "cursor" position can be retrieved with CombatLogGetCurrentEntry(). That function then advances the cursor to the next entry, so calling it repeatedly returns all information in the combat log -- this function can be used to "rewind" the combat log to retrieve information about earlier events. The argument index can be positive or negative: positive indices start at the beginning of the combat log (oldest events) and count up to the end (newest events); negative indices start at -1 for the newest event and count backwards to to -CombatLogGetNumEntries(ignoreFilter) for the oldest. -function CombatLogSetCurrentEntry(index, ignoreFilter) end \ No newline at end of file +function CombatLogSetCurrentEntry(index, ignoreFilter) end diff --git a/api/CombatLogSetRetentionTime.lua b/api/CombatLogSetRetentionTime.lua index 9efc02f..9f18f79 100644 --- a/api/CombatLogSetRetentionTime.lua +++ b/api/CombatLogSetRetentionTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param seconds number +---@param seconds number ---Sets the amount of time combat log entries will be stored -function CombatLogSetRetentionTime(seconds) end \ No newline at end of file +function CombatLogSetRetentionTime(seconds) end diff --git a/api/CombatLog_Object_IsA.lua b/api/CombatLog_Object_IsA.lua index 181e8cb..687ef46 100644 --- a/api/CombatLog_Object_IsA.lua +++ b/api/CombatLog_Object_IsA.lua @@ -1,16 +1,29 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unitFlags number ----@param mask COMBATLOG_FILTER_UNKNOWN_UNITS ----@param COMBATLOG_FILTER_EVERYTHING ----@param COMBATLOG_FILTER_FRIENDLY_UNITS ----@param COMBATLOG_FILTER_HOSTILE_PLAYERS ----@param COMBATLOG_FILTER_HOSTILE_UNITS ----@param COMBATLOG_FILTER_ME ----@param COMBATLOG_FILTER_MINE ----@param COMBATLOG_FILTER_MY_PET ----@param COMBATLOG_FILTER_NEUTRAL_UNITS ----@param COMBATLOG_FILTER_UNKNOWN_UNITS ----@return 1nil isMatch +---@param unitFlags number +---@param mask COMBATLOG_FILTER_UNKNOWN_UNITS +---@param COMBATLOG_FILTER_EVERYTHING +---@param COMBATLOG_FILTER_FRIENDLY_UNITS +---@param COMBATLOG_FILTER_HOSTILE_PLAYERS +---@param COMBATLOG_FILTER_HOSTILE_UNITS +---@param COMBATLOG_FILTER_ME +---@param COMBATLOG_FILTER_MINE +---@param COMBATLOG_FILTER_MY_PET +---@param COMBATLOG_FILTER_NEUTRAL_UNITS +---@param COMBATLOG_FILTER_UNKNOWN_UNITS +---@return 1nil isMatch ---Returns whether an entity from the combat log matches a given filter -function CombatLog_Object_IsA(unitFlags, mask, COMBATLOG_FILTER_EVERYTHING, COMBATLOG_FILTER_FRIENDLY_UNITS, COMBATLOG_FILTER_HOSTILE_PLAYERS, COMBATLOG_FILTER_HOSTILE_UNITS, COMBATLOG_FILTER_ME, COMBATLOG_FILTER_MINE, COMBATLOG_FILTER_MY_PET, COMBATLOG_FILTER_NEUTRAL_UNITS, COMBATLOG_FILTER_UNKNOWN_UNITS) end \ No newline at end of file +function CombatLog_Object_IsA( + unitFlags, + mask, + COMBATLOG_FILTER_EVERYTHING, + COMBATLOG_FILTER_FRIENDLY_UNITS, + COMBATLOG_FILTER_HOSTILE_PLAYERS, + COMBATLOG_FILTER_HOSTILE_UNITS, + COMBATLOG_FILTER_ME, + COMBATLOG_FILTER_MINE, + COMBATLOG_FILTER_MY_PET, + COMBATLOG_FILTER_NEUTRAL_UNITS, + COMBATLOG_FILTER_UNKNOWN_UNITS +) +end diff --git a/api/CombatTextSetActiveUnit.lua b/api/CombatTextSetActiveUnit.lua index 77782ca..ec1e22a 100644 --- a/api/CombatTextSetActiveUnit.lua +++ b/api/CombatTextSetActiveUnit.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitid +---@param unit unitid ---Sets the main unit for display of floating combat text. Certain types of floating combat text are only displayed for the "active" unit (normally the player): incoming damage, incoming heals, mana/energy/power gains, low health/mana warnings, etc. This function is used by the default UI to allow the player's vehicle to "stand in" for the player for purposes of combat text; using this function with units other than "player" or "vehicle" has no effect. -function CombatTextSetActiveUnit(unit) end \ No newline at end of file +function CombatTextSetActiveUnit(unit) end diff --git a/api/CommentatorEnterInstance.lua b/api/CommentatorEnterInstance.lua index 2e4ec28..e783756 100644 --- a/api/CommentatorEnterInstance.lua +++ b/api/CommentatorEnterInstance.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorEnterInstance() end \ No newline at end of file +function CommentatorEnterInstance() end diff --git a/api/CommentatorExitInstance.lua b/api/CommentatorExitInstance.lua index 8249336..669ad22 100644 --- a/api/CommentatorExitInstance.lua +++ b/api/CommentatorExitInstance.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorExitInstance() end \ No newline at end of file +function CommentatorExitInstance() end diff --git a/api/CommentatorFollowPlayer.lua b/api/CommentatorFollowPlayer.lua index 1e9957e..ff241ba 100644 --- a/api/CommentatorFollowPlayer.lua +++ b/api/CommentatorFollowPlayer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorFollowPlayer() end \ No newline at end of file +function CommentatorFollowPlayer() end diff --git a/api/CommentatorFollowUnit.lua b/api/CommentatorFollowUnit.lua index 2b2221c..922dcff 100644 --- a/api/CommentatorFollowUnit.lua +++ b/api/CommentatorFollowUnit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorFollowUnit() end \ No newline at end of file +function CommentatorFollowUnit() end diff --git a/api/CommentatorGetCamera.lua b/api/CommentatorGetCamera.lua index 28bd4d1..5810776 100644 --- a/api/CommentatorGetCamera.lua +++ b/api/CommentatorGetCamera.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetCamera() end \ No newline at end of file +function CommentatorGetCamera() end diff --git a/api/CommentatorGetCurrentMapID.lua b/api/CommentatorGetCurrentMapID.lua index 99b88df..db36061 100644 --- a/api/CommentatorGetCurrentMapID.lua +++ b/api/CommentatorGetCurrentMapID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetCurrentMapID() end \ No newline at end of file +function CommentatorGetCurrentMapID() end diff --git a/api/CommentatorGetInstanceInfo.lua b/api/CommentatorGetInstanceInfo.lua index 0e9d78e..006dc48 100644 --- a/api/CommentatorGetInstanceInfo.lua +++ b/api/CommentatorGetInstanceInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetInstanceInfo() end \ No newline at end of file +function CommentatorGetInstanceInfo() end diff --git a/api/CommentatorGetMapInfo.lua b/api/CommentatorGetMapInfo.lua index 9dfb0f4..72c98a3 100644 --- a/api/CommentatorGetMapInfo.lua +++ b/api/CommentatorGetMapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetMapInfo() end \ No newline at end of file +function CommentatorGetMapInfo() end diff --git a/api/CommentatorGetMode.lua b/api/CommentatorGetMode.lua index e948709..cfb08c1 100644 --- a/api/CommentatorGetMode.lua +++ b/api/CommentatorGetMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetMode() end \ No newline at end of file +function CommentatorGetMode() end diff --git a/api/CommentatorGetNumMaps.lua b/api/CommentatorGetNumMaps.lua index 3d11b46..e4391e1 100644 --- a/api/CommentatorGetNumMaps.lua +++ b/api/CommentatorGetNumMaps.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetNumMaps() end \ No newline at end of file +function CommentatorGetNumMaps() end diff --git a/api/CommentatorGetNumPlayers.lua b/api/CommentatorGetNumPlayers.lua index 53e5e36..2df3ca6 100644 --- a/api/CommentatorGetNumPlayers.lua +++ b/api/CommentatorGetNumPlayers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetNumPlayers() end \ No newline at end of file +function CommentatorGetNumPlayers() end diff --git a/api/CommentatorGetPlayerInfo.lua b/api/CommentatorGetPlayerInfo.lua index 62f2cac..a6cbc8a 100644 --- a/api/CommentatorGetPlayerInfo.lua +++ b/api/CommentatorGetPlayerInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorGetPlayerInfo() end \ No newline at end of file +function CommentatorGetPlayerInfo() end diff --git a/api/CommentatorLookatPlayer.lua b/api/CommentatorLookatPlayer.lua index 7dcc1b4..d2a15e4 100644 --- a/api/CommentatorLookatPlayer.lua +++ b/api/CommentatorLookatPlayer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorLookatPlayer() end \ No newline at end of file +function CommentatorLookatPlayer() end diff --git a/api/CommentatorSetCamera.lua b/api/CommentatorSetCamera.lua index 22e6f29..cd9d766 100644 --- a/api/CommentatorSetCamera.lua +++ b/api/CommentatorSetCamera.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorSetCamera() end \ No newline at end of file +function CommentatorSetCamera() end diff --git a/api/CommentatorSetCameraCollision.lua b/api/CommentatorSetCameraCollision.lua index 9375220..c34d928 100644 --- a/api/CommentatorSetCameraCollision.lua +++ b/api/CommentatorSetCameraCollision.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorSetCameraCollision() end \ No newline at end of file +function CommentatorSetCameraCollision() end diff --git a/api/CommentatorSetMapAndInstanceIndex.lua b/api/CommentatorSetMapAndInstanceIndex.lua index 083a3c5..ab9f2f4 100644 --- a/api/CommentatorSetMapAndInstanceIndex.lua +++ b/api/CommentatorSetMapAndInstanceIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorSetMapAndInstanceIndex() end \ No newline at end of file +function CommentatorSetMapAndInstanceIndex() end diff --git a/api/CommentatorSetMode.lua b/api/CommentatorSetMode.lua index f310fbf..e22ee20 100644 --- a/api/CommentatorSetMode.lua +++ b/api/CommentatorSetMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorSetMode() end \ No newline at end of file +function CommentatorSetMode() end diff --git a/api/CommentatorSetMoveSpeed.lua b/api/CommentatorSetMoveSpeed.lua index 4314c64..2a7e7d7 100644 --- a/api/CommentatorSetMoveSpeed.lua +++ b/api/CommentatorSetMoveSpeed.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorSetMoveSpeed() end \ No newline at end of file +function CommentatorSetMoveSpeed() end diff --git a/api/CommentatorSetTargetHeightOffset.lua b/api/CommentatorSetTargetHeightOffset.lua index be02253..24d4943 100644 --- a/api/CommentatorSetTargetHeightOffset.lua +++ b/api/CommentatorSetTargetHeightOffset.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorSetTargetHeightOffset() end \ No newline at end of file +function CommentatorSetTargetHeightOffset() end diff --git a/api/CommentatorStartWargame.lua b/api/CommentatorStartWargame.lua index 413c1c0..7fec573 100644 --- a/api/CommentatorStartWargame.lua +++ b/api/CommentatorStartWargame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorStartWargame() end \ No newline at end of file +function CommentatorStartWargame() end diff --git a/api/CommentatorToggleMode.lua b/api/CommentatorToggleMode.lua index 8cc8e76..985a321 100644 --- a/api/CommentatorToggleMode.lua +++ b/api/CommentatorToggleMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorToggleMode() end \ No newline at end of file +function CommentatorToggleMode() end diff --git a/api/CommentatorUpdateMapInfo.lua b/api/CommentatorUpdateMapInfo.lua index 61c918c..8ca4098 100644 --- a/api/CommentatorUpdateMapInfo.lua +++ b/api/CommentatorUpdateMapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorUpdateMapInfo() end \ No newline at end of file +function CommentatorUpdateMapInfo() end diff --git a/api/CommentatorUpdatePlayerInfo.lua b/api/CommentatorUpdatePlayerInfo.lua index 697dd5d..1189cf2 100644 --- a/api/CommentatorUpdatePlayerInfo.lua +++ b/api/CommentatorUpdatePlayerInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorUpdatePlayerInfo() end \ No newline at end of file +function CommentatorUpdatePlayerInfo() end diff --git a/api/CommentatorZoomIn.lua b/api/CommentatorZoomIn.lua index 96aa9a8..f259e17 100644 --- a/api/CommentatorZoomIn.lua +++ b/api/CommentatorZoomIn.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorZoomIn() end \ No newline at end of file +function CommentatorZoomIn() end diff --git a/api/CommentatorZoomOut.lua b/api/CommentatorZoomOut.lua index 03d9291..b165fb4 100644 --- a/api/CommentatorZoomOut.lua +++ b/api/CommentatorZoomOut.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CommentatorZoomOut() end \ No newline at end of file +function CommentatorZoomOut() end diff --git a/api/ComplainInboxItem.lua b/api/ComplainInboxItem.lua index 4df3a0a..2a93480 100644 --- a/api/ComplainInboxItem.lua +++ b/api/ComplainInboxItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number +---@param mailID number ---Reports a mail as spam -function ComplainInboxItem(mailID) end \ No newline at end of file +function ComplainInboxItem(mailID) end diff --git a/api/CompleteLFGRoleCheck.lua b/api/CompleteLFGRoleCheck.lua index a4c0df5..55751eb 100644 --- a/api/CompleteLFGRoleCheck.lua +++ b/api/CompleteLFGRoleCheck.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CompleteLFGRoleCheck() end \ No newline at end of file +function CompleteLFGRoleCheck() end diff --git a/api/CompleteQuest.lua b/api/CompleteQuest.lua index de28f36..b27940c 100644 --- a/api/CompleteQuest.lua +++ b/api/CompleteQuest.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins turning in a quest to a questgiver. Usable following the QUEST_PROGRESS event in which it is determined whether the player can complete the quest. Does not complete the quest turn-in process; after calling this function, the QUEST_COMPLETE event fires as the questgiver presents rewards (or sometimes only closure to the quest narrative); following that event, the GetQuestReward() function finishes the turn-in. -function CompleteQuest() end \ No newline at end of file +function CompleteQuest() end diff --git a/api/ConfirmAcceptQuest.lua b/api/ConfirmAcceptQuest.lua index 79aca53..b42db06 100644 --- a/api/ConfirmAcceptQuest.lua +++ b/api/ConfirmAcceptQuest.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts a quest started by another group member. Usable following the QUEST_ACCEPT_CONFIRM event which fires when another member of the player's party or raid starts certain quests (e.g. escort quests). -function ConfirmAcceptQuest() end \ No newline at end of file +function ConfirmAcceptQuest() end diff --git a/api/ConfirmBindOnUse.lua b/api/ConfirmBindOnUse.lua index 2bb244b..f9aef59 100644 --- a/api/ConfirmBindOnUse.lua +++ b/api/ConfirmBindOnUse.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Confirms using an item, if using the item causes it to become soulbound. Usable in response to the USE_BIND_CONFIRM which fires when the player attempts to use a "Bind on Use" item. -function ConfirmBindOnUse() end \ No newline at end of file +function ConfirmBindOnUse() end diff --git a/api/ConfirmBinder.lua b/api/ConfirmBinder.lua index 2a5c3ba..b9c6f51 100644 --- a/api/ConfirmBinder.lua +++ b/api/ConfirmBinder.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Sets the player's Hearthstone to the current location. Usable in response to the CONFIRM_BINDER event which fires upon speaking to an Innkeeper (or similar NPC) and choosing the Hearthstone option. -function ConfirmBinder() end \ No newline at end of file +function ConfirmBinder() end diff --git a/api/ConfirmLootSlot.lua b/api/ConfirmLootSlot.lua index 2f75f16..2c79a10 100644 --- a/api/ConfirmLootSlot.lua +++ b/api/ConfirmLootSlot.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Confirms picking up an item available as loot. Usable after the LOOT_BIND_CONFIRM event fires, warning that an item binds on pickup. -function ConfirmLootSlot(slot) end \ No newline at end of file +function ConfirmLootSlot(slot) end diff --git a/api/ConfirmReadyCheck.lua b/api/ConfirmReadyCheck.lua index 19a7c27..ca49304 100644 --- a/api/ConfirmReadyCheck.lua +++ b/api/ConfirmReadyCheck.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ready true +---@param ready true ---Responds to a ready check -function ConfirmReadyCheck(ready) end \ No newline at end of file +function ConfirmReadyCheck(ready) end diff --git a/api/ConfirmSummon.lua b/api/ConfirmSummon.lua index 7be947b..2f68d21 100644 --- a/api/ConfirmSummon.lua +++ b/api/ConfirmSummon.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts an offered summons, teleporting the player to the summoner's location. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. -function ConfirmSummon() end \ No newline at end of file +function ConfirmSummon() end diff --git a/api/ConfirmTalentWipe.lua b/api/ConfirmTalentWipe.lua index f8ba713..78e9be8 100644 --- a/api/ConfirmTalentWipe.lua +++ b/api/ConfirmTalentWipe.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Resets the player's talents. Usable following the CONFIRM_TALENT_WIPE event which fires when the player speaks to an trainer NPC and chooses to reset his or her talents. -function ConfirmTalentWipe() end \ No newline at end of file +function ConfirmTalentWipe() end diff --git a/api/ConsoleAddMessage.lua b/api/ConsoleAddMessage.lua index 238fbb5..c8495c5 100644 --- a/api/ConsoleAddMessage.lua +++ b/api/ConsoleAddMessage.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Prints text to the debug console. The debugging console can be activated by launching WoW from the command line with the "-console" option, then pressing the "`" (backtick/tilde) key ingame. Its usefulness outside of Blizzard internal environments is limited. -function ConsoleAddMessage() end \ No newline at end of file +function ConsoleAddMessage() end diff --git a/api/ConsoleExec.lua b/api/ConsoleExec.lua index 7586a58..c155375 100644 --- a/api/ConsoleExec.lua +++ b/api/ConsoleExec.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param console_command string +---@param console_command string ---Runs a console command. Used by the default UI to handle /console commands. -function ConsoleExec(console_command) end \ No newline at end of file +function ConsoleExec(console_command) end diff --git a/api/ContainerIDToInventoryID.lua b/api/ContainerIDToInventoryID.lua index 6abaaea..8f214e3 100644 --- a/api/ContainerIDToInventoryID.lua +++ b/api/ContainerIDToInventoryID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@return number inventoryID +---@param container number +---@return number inventoryID ---Returns the inventoryID corresponding to a given containerID. The results of this function can be used with GetInventorySlotInfo() and other related inventory functions. It seemingly does not work with containers that are considered special, like backpack, bank or reagent bank (anymore?)! Calling this method for those containerIDs will result in an "invalid container ID" error. -function ContainerIDToInventoryID(container) end \ No newline at end of file +function ContainerIDToInventoryID(container) end diff --git a/api/ContainerRefundItemPurchase.lua b/api/ContainerRefundItemPurchase.lua index 1aefa7f..ad52065 100644 --- a/api/ContainerRefundItemPurchase.lua +++ b/api/ContainerRefundItemPurchase.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number +---@param container number +---@param slot number ---Sells an item purchased with alternate currency back to a vendor. Items bought with alternate currency (honor points, arena points, or special items such as Emblems of Heroism and Dalaran Cooking Awards) can be returned to a vendor for a full refund, but only within a limited time after the original purchase. -function ContainerRefundItemPurchase(container, slot) end \ No newline at end of file +function ContainerRefundItemPurchase(container, slot) end diff --git a/api/ConvertToParty.lua b/api/ConvertToParty.lua index 054f7a3..f2e7d20 100644 --- a/api/ConvertToParty.lua +++ b/api/ConvertToParty.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Converts a raid to a party. Only has effect if the player is in a raid of a maximum of 5 players and is the raid leader. -function ConvertToParty() end \ No newline at end of file +function ConvertToParty() end diff --git a/api/ConvertToRaid.lua b/api/ConvertToRaid.lua index 95e65b4..8e5f36d 100644 --- a/api/ConvertToRaid.lua +++ b/api/ConvertToRaid.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Converts a party to a raid. Only has effect if the player is in a party and the party leader. -function ConvertToRaid() end \ No newline at end of file +function ConvertToRaid() end diff --git a/api/CreateFont.lua b/api/CreateFont.lua index 2c0f329..008ba2d 100644 --- a/api/CreateFont.lua +++ b/api/CreateFont.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return table fontObject +---@param name string +---@return table fontObject ---Creates a new Font object -function CreateFont(name) end \ No newline at end of file +function CreateFont(name) end diff --git a/api/CreateMacro.lua b/api/CreateMacro.lua index 12d8231..d873b46 100644 --- a/api/CreateMacro.lua +++ b/api/CreateMacro.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param iconTexture string ----@param body string ----@param perCharacter number? ----@return number index +---@param name string +---@param iconTexture string +---@param body string +---@param perCharacter number? +---@return number index ---Creates a new macro. Warning: Will throw an error if the quota of allowed macros is already met. -function CreateMacro(name, iconTexture, body, perCharacter) end \ No newline at end of file +function CreateMacro(name, iconTexture, body, perCharacter) end diff --git a/api/CreateNewRaidProfile.lua b/api/CreateNewRaidProfile.lua index 05316d0..f7a4eea 100644 --- a/api/CreateNewRaidProfile.lua +++ b/api/CreateNewRaidProfile.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function CreateNewRaidProfile() end \ No newline at end of file +function CreateNewRaidProfile() end diff --git a/api/CursorCanGoInSlot.lua b/api/CursorCanGoInSlot.lua index 650ebb5..0a8ee01 100644 --- a/api/CursorCanGoInSlot.lua +++ b/api/CursorCanGoInSlot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil canBePlaced +---@param slot number +---@return 1nil canBePlaced ---Returns whether the item on the cursor can be equipped in an inventory slot. Returns nil if the cursor is empty or contains something other than an item. -function CursorCanGoInSlot(slot) end \ No newline at end of file +function CursorCanGoInSlot(slot) end diff --git a/api/CursorHasItem.lua b/api/CursorHasItem.lua index aaa103e..3ce9e69 100644 --- a/api/CursorHasItem.lua +++ b/api/CursorHasItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasItem +---@return 1nil hasItem ---Returns whether an item belonging to the player is on the cursor. See GetCursorInfo() for more detailed information. -function CursorHasItem() end \ No newline at end of file +function CursorHasItem() end diff --git a/api/CursorHasMacro.lua b/api/CursorHasMacro.lua index 9861c88..bc5be21 100644 --- a/api/CursorHasMacro.lua +++ b/api/CursorHasMacro.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasMacro +---@return 1nil hasMacro ---Returns whether a macro is on the cursor. See GetCursorInfo() for more detailed information. -function CursorHasMacro() end \ No newline at end of file +function CursorHasMacro() end diff --git a/api/CursorHasMoney.lua b/api/CursorHasMoney.lua index bac6a36..47b0552 100644 --- a/api/CursorHasMoney.lua +++ b/api/CursorHasMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasMoney +---@return 1nil hasMoney ---Returns whether an amount of the player's money is on the cursor. Returns nil if the cursor holds guild bank money. See GetCursorInfo() for more detailed information. -function CursorHasMoney() end \ No newline at end of file +function CursorHasMoney() end diff --git a/api/CursorHasSpell.lua b/api/CursorHasSpell.lua index 77c3154..b8ad755 100644 --- a/api/CursorHasSpell.lua +++ b/api/CursorHasSpell.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasSpell +---@return 1nil hasSpell ---Returns whether a spell is on the cursor. See GetCursorInfo() for more detailed information. -function CursorHasSpell() end \ No newline at end of file +function CursorHasSpell() end diff --git a/api/DeclineChannelInvite.lua b/api/DeclineChannelInvite.lua index 11878f3..6194fdc 100644 --- a/api/DeclineChannelInvite.lua +++ b/api/DeclineChannelInvite.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function DeclineChannelInvite() end \ No newline at end of file +function DeclineChannelInvite() end diff --git a/api/DeclineGroup.lua b/api/DeclineGroup.lua index 580c440..40a1336 100644 --- a/api/DeclineGroup.lua +++ b/api/DeclineGroup.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines an invitation to join a party or raid. Usable in response to the PARTY_INVITE_REQUEST event which fires when the player is invited to join a group. -function DeclineGroup() end \ No newline at end of file +function DeclineGroup() end diff --git a/api/DeclineGuild.lua b/api/DeclineGuild.lua index 5435398..fc1b64b 100644 --- a/api/DeclineGuild.lua +++ b/api/DeclineGuild.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines an offered guild invitation. Usable in response to the GUILD_INVITE_REQUEST event which fires when the player is invited to join a guild. -function DeclineGuild() end \ No newline at end of file +function DeclineGuild() end diff --git a/api/DeclineGuildApplicant.lua b/api/DeclineGuildApplicant.lua index 7342081..1171af5 100644 --- a/api/DeclineGuildApplicant.lua +++ b/api/DeclineGuildApplicant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function DeclineGuildApplicant() end \ No newline at end of file +function DeclineGuildApplicant() end diff --git a/api/DeclineLevelGrant.lua b/api/DeclineLevelGrant.lua index 9f475cc..b86fad9 100644 --- a/api/DeclineLevelGrant.lua +++ b/api/DeclineLevelGrant.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Refuses a level offered by the player's Recruit-a-Friend partner -function DeclineLevelGrant() end \ No newline at end of file +function DeclineLevelGrant() end diff --git a/api/DeclineQuest.lua b/api/DeclineQuest.lua index 97fc989..873f2b1 100644 --- a/api/DeclineQuest.lua +++ b/api/DeclineQuest.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines a quest.. Usable following the QUEST_DETAIL event in which the questgiver presents the player with the details of a quest and the option to accept or decline. -function DeclineQuest() end \ No newline at end of file +function DeclineQuest() end diff --git a/api/DeclineResurrect.lua b/api/DeclineResurrect.lua index f342bdd..b1a64a0 100644 --- a/api/DeclineResurrect.lua +++ b/api/DeclineResurrect.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Declines an offered resurrection spell. Usable following the RESURRECT_REQUEST event which fires when the player is offered resurrection by another unit. -function DeclineResurrect() end \ No newline at end of file +function DeclineResurrect() end diff --git a/api/DeclineSpellConfirmationPrompt.lua b/api/DeclineSpellConfirmationPrompt.lua index f04e45e..f6dbc6c 100644 --- a/api/DeclineSpellConfirmationPrompt.lua +++ b/api/DeclineSpellConfirmationPrompt.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function DeclineSpellConfirmationPrompt() end \ No newline at end of file +function DeclineSpellConfirmationPrompt() end diff --git a/api/DelIgnore.lua b/api/DelIgnore.lua index e94ec99..6064407 100644 --- a/api/DelIgnore.lua +++ b/api/DelIgnore.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Removes a player from the ignore list -function DelIgnore(name) end \ No newline at end of file +function DelIgnore(name) end diff --git a/api/DelMute.lua b/api/DelMute.lua index 3b4c0cb..98b94d9 100644 --- a/api/DelMute.lua +++ b/api/DelMute.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Removes a character from the muted list for voice chat. The Muted list acts for voice chat as the Ignore list does for text chat: muted characters will never be heard regardless of which voice channels they join the player in. -function DelMute(name) end \ No newline at end of file +function DelMute(name) end diff --git a/api/DeleteCursorItem.lua b/api/DeleteCursorItem.lua index 7f8d5a6..038c71a 100644 --- a/api/DeleteCursorItem.lua +++ b/api/DeleteCursorItem.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Destroys the item on the cursor. Used in the default UI when accepting the confirmation prompt that appears when dragging and dropping an item to an empty area of the screen. -function DeleteCursorItem() end \ No newline at end of file +function DeleteCursorItem() end diff --git a/api/DeleteEquipmentSet.lua b/api/DeleteEquipmentSet.lua index 7164e34..6a72214 100644 --- a/api/DeleteEquipmentSet.lua +++ b/api/DeleteEquipmentSet.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Deletes an equipment set -function DeleteEquipmentSet(name) end \ No newline at end of file +function DeleteEquipmentSet(name) end diff --git a/api/DeleteGMTicket.lua b/api/DeleteGMTicket.lua index 7d5a457..41a137b 100644 --- a/api/DeleteGMTicket.lua +++ b/api/DeleteGMTicket.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Abandons the currently pending GM ticket -function DeleteGMTicket() end \ No newline at end of file +function DeleteGMTicket() end diff --git a/api/DeleteInboxItem.lua b/api/DeleteInboxItem.lua index c01984f..70137e5 100644 --- a/api/DeleteInboxItem.lua +++ b/api/DeleteInboxItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number +---@param mailID number ---Deletes a mail from the player's inbox -function DeleteInboxItem(mailID) end \ No newline at end of file +function DeleteInboxItem(mailID) end diff --git a/api/DeleteMacro.lua b/api/DeleteMacro.lua index 8581f51..888b370 100644 --- a/api/DeleteMacro.lua +++ b/api/DeleteMacro.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string +---@param index number +---@param name string ---Deletes a macro -function DeleteMacro(index, name) end \ No newline at end of file +function DeleteMacro(index, name) end diff --git a/api/DeleteRaidProfile.lua b/api/DeleteRaidProfile.lua index ed09dc9..341d404 100644 --- a/api/DeleteRaidProfile.lua +++ b/api/DeleteRaidProfile.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function DeleteRaidProfile() end \ No newline at end of file +function DeleteRaidProfile() end diff --git a/api/DemoteAssistant.lua b/api/DemoteAssistant.lua index de7ab80..1d05541 100644 --- a/api/DemoteAssistant.lua +++ b/api/DemoteAssistant.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@param exactMatch boolean +---@param unit string +---@param name string +---@param exactMatch boolean ---Demotes the given player from raid assistant status -function DemoteAssistant(unit, name, exactMatch) end \ No newline at end of file +function DemoteAssistant(unit, name, exactMatch) end diff --git a/api/DepositGuildBankMoney.lua b/api/DepositGuildBankMoney.lua index dbecf5c..e5a64dc 100644 --- a/api/DepositGuildBankMoney.lua +++ b/api/DepositGuildBankMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param money number +---@param money number ---Deposits money into the guild bank -function DepositGuildBankMoney(money) end \ No newline at end of file +function DepositGuildBankMoney(money) end diff --git a/api/DepositReagentBank.lua b/api/DepositReagentBank.lua index e07b7eb..34105c1 100644 --- a/api/DepositReagentBank.lua +++ b/api/DepositReagentBank.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Deposits Reagents in to Reagent Bank -function DepositReagentBank() end \ No newline at end of file +function DepositReagentBank() end diff --git a/api/DescendStop.lua b/api/DescendStop.lua index fc16eb6..d48d312 100644 --- a/api/DescendStop.lua +++ b/api/DescendStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops movement initiated by SitStandOrDescendStart. Used by the SITORSTAND binding, which also controls descent when swimming or flying. Has no meaningful effect if called while sitting/standing. -function DescendStop() end \ No newline at end of file +function DescendStop() end diff --git a/api/DetectWowMouse.lua b/api/DetectWowMouse.lua index 8c9ad3e..80b5d38 100644 --- a/api/DetectWowMouse.lua +++ b/api/DetectWowMouse.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Detects the presence of a "WoW" compatible multi-button mouse. This function is used by the default user interface to enable or disable the configuration option for a many buttoned WoW mouse. If the mouse is not found, the WOW_MOUSE_NOT_FOUND event will fire. -function DetectWowMouse() end \ No newline at end of file +function DetectWowMouse() end diff --git a/api/DisableAddOn.lua b/api/DisableAddOn.lua index 4804a98..36e5992 100644 --- a/api/DisableAddOn.lua +++ b/api/DisableAddOn.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@param character string +---@param name string +---@param index number +---@param character string ---Marks an addon as disabled. The addon will remain active until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis. -function DisableAddOn(name, index, character) end \ No newline at end of file +function DisableAddOn(name, index, character) end diff --git a/api/DisableAllAddOns.lua b/api/DisableAllAddOns.lua index 2ac2127..d93dcf6 100644 --- a/api/DisableAllAddOns.lua +++ b/api/DisableAllAddOns.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param character string +---@param character string ---Marks all addons as disabled. Addons will remain active until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis. -function DisableAllAddOns(character) end \ No newline at end of file +function DisableAllAddOns(character) end diff --git a/api/DisableSpellAutocast.lua b/api/DisableSpellAutocast.lua index 6c6180e..ec27bff 100644 --- a/api/DisableSpellAutocast.lua +++ b/api/DisableSpellAutocast.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spell string +---@param spell string ---Disables automatic casting of a pet spell -function DisableSpellAutocast(spell) end \ No newline at end of file +function DisableSpellAutocast(spell) end diff --git a/api/DismissCompanion.lua b/api/DismissCompanion.lua index c1f3f1f..230130b 100644 --- a/api/DismissCompanion.lua +++ b/api/DismissCompanion.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type MOUNT ----@param CRITTER ----@param MOUNT +---@param type MOUNT +---@param CRITTER +---@param MOUNT ---Unsummons the current non-combat pet or mount -function DismissCompanion(type, CRITTER, MOUNT) end \ No newline at end of file +function DismissCompanion(type, CRITTER, MOUNT) end diff --git a/api/Dismount.lua b/api/Dismount.lua index c5172f6..f0fc9bb 100644 --- a/api/Dismount.lua +++ b/api/Dismount.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Dismounts from the player's summoned mount -function Dismount() end \ No newline at end of file +function Dismount() end diff --git a/api/DisplayChannelOwner.lua b/api/DisplayChannelOwner.lua index f474c31..6e57a41 100644 --- a/api/DisplayChannelOwner.lua +++ b/api/DisplayChannelOwner.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param channelIndex number +---@param channel string +---@param channelIndex number ---Requests information from the server about a channel's owner. Fires the CHANNEL_OWNER event indicating the name of the channel owner. -function DisplayChannelOwner(channel, channelIndex) end \ No newline at end of file +function DisplayChannelOwner(channel, channelIndex) end diff --git a/api/DisplayChannelVoiceOff.lua b/api/DisplayChannelVoiceOff.lua index fe1b5bc..2a95241 100644 --- a/api/DisplayChannelVoiceOff.lua +++ b/api/DisplayChannelVoiceOff.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Disables voice in a channel specified by its position in the channel list display -function DisplayChannelVoiceOff(index) end \ No newline at end of file +function DisplayChannelVoiceOff(index) end diff --git a/api/DisplayChannelVoiceOn.lua b/api/DisplayChannelVoiceOn.lua index 763b2ab..3ca0eb5 100644 --- a/api/DisplayChannelVoiceOn.lua +++ b/api/DisplayChannelVoiceOn.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Enables voice in a channel specified by its position in the channel list display -function DisplayChannelVoiceOn(index) end \ No newline at end of file +function DisplayChannelVoiceOn(index) end diff --git a/api/DoEmote.lua b/api/DoEmote.lua index 2c05453..7489191 100644 --- a/api/DoEmote.lua +++ b/api/DoEmote.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param emote string +---@param emote string ---Performs a preset emote (with optional target). The list of built-in emote tokens can be found in global variables whose names follow the format "EMOTE"..num.."_TOKEN", where num is a number between 1 and MAXEMOTEINDEX (a variable local to ChatFrame.lua.) For custom emotes (as performed using the /emote or /me commands in the default UI), see SendChatMessage(). ---@overload fun(emote: string, target: string) ---@overload fun(emote: string, target: string, hold: boolean) -function DoEmote(emote, target, hold) end \ No newline at end of file +function DoEmote(emote, target, hold) end diff --git a/api/DoMasterLootRoll.lua b/api/DoMasterLootRoll.lua index c20324a..8abd111 100644 --- a/api/DoMasterLootRoll.lua +++ b/api/DoMasterLootRoll.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function DoMasterLootRoll() end \ No newline at end of file +function DoMasterLootRoll() end diff --git a/api/DoReadyCheck.lua b/api/DoReadyCheck.lua index ca9ea68..e1e885c 100644 --- a/api/DoReadyCheck.lua +++ b/api/DoReadyCheck.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Initiates a ready check. Only has effect if the player is the party/raid leader or a raid assistant. -function DoReadyCheck() end \ No newline at end of file +function DoReadyCheck() end diff --git a/api/DropCursorMoney.lua b/api/DropCursorMoney.lua index e42e996..e4b954c 100644 --- a/api/DropCursorMoney.lua +++ b/api/DropCursorMoney.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Drops any money currently on the cursor, returning it to where it was taken from -function DropCursorMoney() end \ No newline at end of file +function DropCursorMoney() end diff --git a/api/DropItemOnUnit.lua b/api/DropItemOnUnit.lua index 83b2af1..d2f49a9 100644 --- a/api/DropItemOnUnit.lua +++ b/api/DropItemOnUnit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---"Gives" the item on the cursor to another unit; results vary by context. If the unit is a friendly player, adds the item to the trade window (opening it if necessary, and placing it in the first available trade slot or the "will not be traded" slot depending on whether the item is soulbound). If the unit is the player's pet and the player is a Hunter, attempts to feed the item to the pet (since this casts the Feed Pet spell, in this case this action is protected and can only be called by the Blizzard user interface). For other units, nothing happens and the item remains on the cursor. -function DropItemOnUnit(unit, name) end \ No newline at end of file +function DropItemOnUnit(unit, name) end diff --git a/api/DungeonUsesTerrainMap.lua b/api/DungeonUsesTerrainMap.lua index aec438b..21effeb 100644 --- a/api/DungeonUsesTerrainMap.lua +++ b/api/DungeonUsesTerrainMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function DungeonUsesTerrainMap() end \ No newline at end of file +function DungeonUsesTerrainMap() end diff --git a/api/EJ_ClearSearch.lua b/api/EJ_ClearSearch.lua index 0ac9930..3776664 100644 --- a/api/EJ_ClearSearch.lua +++ b/api/EJ_ClearSearch.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_ClearSearch() end \ No newline at end of file +function EJ_ClearSearch() end diff --git a/api/EJ_GetCreatureInfo.lua b/api/EJ_GetCreatureInfo.lua index 0b3b8bf..c8bc592 100644 --- a/api/EJ_GetCreatureInfo.lua +++ b/api/EJ_GetCreatureInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetCreatureInfo() end \ No newline at end of file +function EJ_GetCreatureInfo() end diff --git a/api/EJ_GetCurrentInstance.lua b/api/EJ_GetCurrentInstance.lua index 49fd249..bd98d63 100644 --- a/api/EJ_GetCurrentInstance.lua +++ b/api/EJ_GetCurrentInstance.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetCurrentInstance() end \ No newline at end of file +function EJ_GetCurrentInstance() end diff --git a/api/EJ_GetCurrentTier.lua b/api/EJ_GetCurrentTier.lua index abbb0ff..4fea700 100644 --- a/api/EJ_GetCurrentTier.lua +++ b/api/EJ_GetCurrentTier.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetCurrentTier() end \ No newline at end of file +function EJ_GetCurrentTier() end diff --git a/api/EJ_GetDifficulty.lua b/api/EJ_GetDifficulty.lua index 3beef18..0b791cd 100644 --- a/api/EJ_GetDifficulty.lua +++ b/api/EJ_GetDifficulty.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetDifficulty() end \ No newline at end of file +function EJ_GetDifficulty() end diff --git a/api/EJ_GetEncounterInfo.lua b/api/EJ_GetEncounterInfo.lua index 91a9c5e..ea271be 100644 --- a/api/EJ_GetEncounterInfo.lua +++ b/api/EJ_GetEncounterInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param encounterID number ----@return string name ----@return string description ----@return number encounterID ----@return number firstSection ----@return string encounterLink +---@param encounterID number +---@return string name +---@return string description +---@return number encounterID +---@return number firstSection +---@return string encounterLink ---Displays encounter journal information for the encounter. -function EJ_GetEncounterInfo(encounterID) end \ No newline at end of file +function EJ_GetEncounterInfo(encounterID) end diff --git a/api/EJ_GetEncounterInfoByIndex.lua b/api/EJ_GetEncounterInfoByIndex.lua index 3df93ce..cafb479 100644 --- a/api/EJ_GetEncounterInfoByIndex.lua +++ b/api/EJ_GetEncounterInfoByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetEncounterInfoByIndex() end \ No newline at end of file +function EJ_GetEncounterInfoByIndex() end diff --git a/api/EJ_GetInstanceByIndex.lua b/api/EJ_GetInstanceByIndex.lua index 0e2cc59..1b3dbd4 100644 --- a/api/EJ_GetInstanceByIndex.lua +++ b/api/EJ_GetInstanceByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetInstanceByIndex() end \ No newline at end of file +function EJ_GetInstanceByIndex() end diff --git a/api/EJ_GetInstanceInfo.lua b/api/EJ_GetInstanceInfo.lua index d6fe702..8ca2006 100644 --- a/api/EJ_GetInstanceInfo.lua +++ b/api/EJ_GetInstanceInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param instanceID number ----@return string instanceName ----@return string instanceDesc ----@return string backgroundTexture ----@return string buttonTexture ----@return string titleBackground ----@return string iconTexture ----@return number mapID ----@return string instanceLink +---@param instanceID number +---@return string instanceName +---@return string instanceDesc +---@return string backgroundTexture +---@return string buttonTexture +---@return string titleBackground +---@return string iconTexture +---@return number mapID +---@return string instanceLink ---Returns information about an instance used by the Dungeon Journal. -function EJ_GetInstanceInfo(instanceID) end \ No newline at end of file +function EJ_GetInstanceInfo(instanceID) end diff --git a/api/EJ_GetLootFilter.lua b/api/EJ_GetLootFilter.lua index 00d5eec..4a757fa 100644 --- a/api/EJ_GetLootFilter.lua +++ b/api/EJ_GetLootFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetLootFilter() end \ No newline at end of file +function EJ_GetLootFilter() end diff --git a/api/EJ_GetLootInfo.lua b/api/EJ_GetLootInfo.lua index 0d698a1..cd4caa0 100644 --- a/api/EJ_GetLootInfo.lua +++ b/api/EJ_GetLootInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetLootInfo() end \ No newline at end of file +function EJ_GetLootInfo() end diff --git a/api/EJ_GetLootInfoByIndex.lua b/api/EJ_GetLootInfoByIndex.lua index 1c1c794..61d455f 100644 --- a/api/EJ_GetLootInfoByIndex.lua +++ b/api/EJ_GetLootInfoByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetLootInfoByIndex() end \ No newline at end of file +function EJ_GetLootInfoByIndex() end diff --git a/api/EJ_GetMapEncounter.lua b/api/EJ_GetMapEncounter.lua index 517068c..4f5fcd7 100644 --- a/api/EJ_GetMapEncounter.lua +++ b/api/EJ_GetMapEncounter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetMapEncounter() end \ No newline at end of file +function EJ_GetMapEncounter() end diff --git a/api/EJ_GetNumLoot.lua b/api/EJ_GetNumLoot.lua index 3a3e235..fb78658 100644 --- a/api/EJ_GetNumLoot.lua +++ b/api/EJ_GetNumLoot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetNumLoot() end \ No newline at end of file +function EJ_GetNumLoot() end diff --git a/api/EJ_GetNumSearchResults.lua b/api/EJ_GetNumSearchResults.lua index c5181fa..68dd4b9 100644 --- a/api/EJ_GetNumSearchResults.lua +++ b/api/EJ_GetNumSearchResults.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetNumSearchResults() end \ No newline at end of file +function EJ_GetNumSearchResults() end diff --git a/api/EJ_GetNumTiers.lua b/api/EJ_GetNumTiers.lua index 06adde2..41250c3 100644 --- a/api/EJ_GetNumTiers.lua +++ b/api/EJ_GetNumTiers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetNumTiers() end \ No newline at end of file +function EJ_GetNumTiers() end diff --git a/api/EJ_GetSearchResult.lua b/api/EJ_GetSearchResult.lua index 1fdd696..2a30bcf 100644 --- a/api/EJ_GetSearchResult.lua +++ b/api/EJ_GetSearchResult.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetSearchResult() end \ No newline at end of file +function EJ_GetSearchResult() end diff --git a/api/EJ_GetSectionInfo.lua b/api/EJ_GetSectionInfo.lua index ac6c397..0a961d9 100644 --- a/api/EJ_GetSectionInfo.lua +++ b/api/EJ_GetSectionInfo.lua @@ -1,36 +1,36 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sectionID number ----@return string name ----@return string description ----@return 4 headerType ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return string abilityIcon ----@return number displayInfo ----@return number siblingID ----@return number nextSectionID ----@return boolean fileredByDifficulty ----@return string sectionLink ----@return boolean startsOpen ----@return 11 flag1 ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 9 ----@return 10 ----@return 11 ----@return number flag2 ----@return number flag3 ----@return number flag4 +---@param sectionID number +---@return string name +---@return string description +---@return 4 headerType +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return string abilityIcon +---@return number displayInfo +---@return number siblingID +---@return number nextSectionID +---@return boolean fileredByDifficulty +---@return string sectionLink +---@return boolean startsOpen +---@return 11 flag1 +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 9 +---@return 10 +---@return 11 +---@return number flag2 +---@return number flag3 +---@return number flag4 ---Returns information regarding a "section" of the encounter journal. A "section" is a phase, unit or ability of an encounter. -function EJ_GetSectionInfo(sectionID) end \ No newline at end of file +function EJ_GetSectionInfo(sectionID) end diff --git a/api/EJ_GetSectionPath.lua b/api/EJ_GetSectionPath.lua index 1d6ce35..073bc03 100644 --- a/api/EJ_GetSectionPath.lua +++ b/api/EJ_GetSectionPath.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetSectionPath() end \ No newline at end of file +function EJ_GetSectionPath() end diff --git a/api/EJ_GetTierInfo.lua b/api/EJ_GetTierInfo.lua index ff3c683..1572153 100644 --- a/api/EJ_GetTierInfo.lua +++ b/api/EJ_GetTierInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_GetTierInfo() end \ No newline at end of file +function EJ_GetTierInfo() end diff --git a/api/EJ_HandleLinkPath.lua b/api/EJ_HandleLinkPath.lua index 6a7c3e5..00f2c9a 100644 --- a/api/EJ_HandleLinkPath.lua +++ b/api/EJ_HandleLinkPath.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_HandleLinkPath() end \ No newline at end of file +function EJ_HandleLinkPath() end diff --git a/api/EJ_InstanceIsRaid.lua b/api/EJ_InstanceIsRaid.lua index 382abc1..4c62fc5 100644 --- a/api/EJ_InstanceIsRaid.lua +++ b/api/EJ_InstanceIsRaid.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_InstanceIsRaid() end \ No newline at end of file +function EJ_InstanceIsRaid() end diff --git a/api/EJ_IsValidInstanceDifficulty.lua b/api/EJ_IsValidInstanceDifficulty.lua index 346bd89..18f3a66 100644 --- a/api/EJ_IsValidInstanceDifficulty.lua +++ b/api/EJ_IsValidInstanceDifficulty.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_IsValidInstanceDifficulty() end \ No newline at end of file +function EJ_IsValidInstanceDifficulty() end diff --git a/api/EJ_ResetLootFilter.lua b/api/EJ_ResetLootFilter.lua index 9bc2b78..519d2be 100644 --- a/api/EJ_ResetLootFilter.lua +++ b/api/EJ_ResetLootFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_ResetLootFilter() end \ No newline at end of file +function EJ_ResetLootFilter() end diff --git a/api/EJ_SelectEncounter.lua b/api/EJ_SelectEncounter.lua index 1b4aab1..061c3fd 100644 --- a/api/EJ_SelectEncounter.lua +++ b/api/EJ_SelectEncounter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_SelectEncounter() end \ No newline at end of file +function EJ_SelectEncounter() end diff --git a/api/EJ_SelectInstance.lua b/api/EJ_SelectInstance.lua index 362c3e2..9c5c8b1 100644 --- a/api/EJ_SelectInstance.lua +++ b/api/EJ_SelectInstance.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_SelectInstance() end \ No newline at end of file +function EJ_SelectInstance() end diff --git a/api/EJ_SelectTier.lua b/api/EJ_SelectTier.lua index dd76a75..2108a39 100644 --- a/api/EJ_SelectTier.lua +++ b/api/EJ_SelectTier.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_SelectTier() end \ No newline at end of file +function EJ_SelectTier() end diff --git a/api/EJ_SetDifficulty.lua b/api/EJ_SetDifficulty.lua index 372886c..45aaf20 100644 --- a/api/EJ_SetDifficulty.lua +++ b/api/EJ_SetDifficulty.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param difficulty number +---@param difficulty number ---Set the dungeon difficulty of the Encounter Journal. List op usable IDs: 1: (5) Normal 2: (5) Heroic 3: (10) Normal 4: (25) Normal 5: (10) Heroic 6: (25) Heroic 7: (25) Raid Finder 14: Normal 15: Heroic 16: Mythic 17: Raid Finder 23: (5) Mythic 24: (5) Timewalking -function EJ_SetDifficulty(difficulty) end \ No newline at end of file +function EJ_SetDifficulty(difficulty) end diff --git a/api/EJ_SetLootFilter.lua b/api/EJ_SetLootFilter.lua index 8801f75..ac5cbfb 100644 --- a/api/EJ_SetLootFilter.lua +++ b/api/EJ_SetLootFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_SetLootFilter() end \ No newline at end of file +function EJ_SetLootFilter() end diff --git a/api/EJ_SetSearch.lua b/api/EJ_SetSearch.lua index 012275b..27f7e53 100644 --- a/api/EJ_SetSearch.lua +++ b/api/EJ_SetSearch.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function EJ_SetSearch() end \ No newline at end of file +function EJ_SetSearch() end diff --git a/api/EditMacro.lua b/api/EditMacro.lua index 1f4f2c7..6e3f76e 100644 --- a/api/EditMacro.lua +++ b/api/EditMacro.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@param iconTexture string ----@param body string ----@return number newIndex +---@param index number +---@param name string +---@param iconTexture string +---@param body string +---@return number newIndex ---Changes the name, icon, and/or body of a macro. After patch 4.3 then the numeric 'icon' argument has been replaced by 'iconTexture'. Furthermore, the function always prepend 'Interface\Icons' to the 'iconTexture' string. -function EditMacro(index, name, iconTexture, body) end \ No newline at end of file +function EditMacro(index, name, iconTexture, body) end diff --git a/api/EjectPassengerFromSeat.lua b/api/EjectPassengerFromSeat.lua index 2f185a3..d4bd9f2 100644 --- a/api/EjectPassengerFromSeat.lua +++ b/api/EjectPassengerFromSeat.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param seat number +---@param seat number ---Ejects the occupant of a seat in the player's vehicle -function EjectPassengerFromSeat(seat) end \ No newline at end of file +function EjectPassengerFromSeat(seat) end diff --git a/api/EnableAddOn.lua b/api/EnableAddOn.lua index 491cbb9..c93e743 100644 --- a/api/EnableAddOn.lua +++ b/api/EnableAddOn.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@param character string +---@param index number +---@param name string +---@param character string ---Marks an addon as enabled. The addon will remain inactive until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis. -function EnableAddOn(index, name, character) end \ No newline at end of file +function EnableAddOn(index, name, character) end diff --git a/api/EnableAllAddOns.lua b/api/EnableAllAddOns.lua index cbf4e68..445b24f 100644 --- a/api/EnableAllAddOns.lua +++ b/api/EnableAllAddOns.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param character string +---@param character string ---Marks all addons as enabled. Addons will remain inactive until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis. -function EnableAllAddOns(character) end \ No newline at end of file +function EnableAllAddOns(character) end diff --git a/api/EnableSpellAutocast.lua b/api/EnableSpellAutocast.lua index 6aff11f..1c78e3c 100644 --- a/api/EnableSpellAutocast.lua +++ b/api/EnableSpellAutocast.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spell string +---@param spell string ---Enables automatic casting of a pet spell -function EnableSpellAutocast(spell) end \ No newline at end of file +function EnableSpellAutocast(spell) end diff --git a/api/EndBoundTradeable.lua b/api/EndBoundTradeable.lua index 241a5c7..d5c6b92 100644 --- a/api/EndBoundTradeable.lua +++ b/api/EndBoundTradeable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Confirms taking an action which renders a looted Bind on Pickup item non-tradeable. A Bind on Pickup item looted by the player can be traded to other characters who were originally eligible to loot it, but only within a limited time after looting. This period can be ended prematurely if the player attempts certain actions (such as enchanting the item). -function EndBoundTradeable(id) end \ No newline at end of file +function EndBoundTradeable(id) end diff --git a/api/EndRefund.lua b/api/EndRefund.lua index 066588b..d9b694a 100644 --- a/api/EndRefund.lua +++ b/api/EndRefund.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Confirms taking an action which renders a purchased item non-refundable. Items bought with alternate currency (honor points, arena points, or special items such as Emblems of Heroism and Dalaran Cooking Awards) can be returned to a vendor for a full refund, but only within a limited time after the original purchase. This period can be ended prematurely if the player attempts certain actions (such as enchanting the item). -function EndRefund(id) end \ No newline at end of file +function EndRefund(id) end diff --git a/api/EnumerateFrames.lua b/api/EnumerateFrames.lua index f03f1e4..abe7279 100644 --- a/api/EnumerateFrames.lua +++ b/api/EnumerateFrames.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param currentFrame table ----@return table nextFrame +---@param currentFrame table +---@return table nextFrame ---Returns the next frame following the frame passed, or nil if no more frames exist -function EnumerateFrames(currentFrame) end \ No newline at end of file +function EnumerateFrames(currentFrame) end diff --git a/api/EnumerateServerChannels.lua b/api/EnumerateServerChannels.lua index 6a0f9ae..dcabd63 100644 --- a/api/EnumerateServerChannels.lua +++ b/api/EnumerateServerChannels.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string ... +---@return string ... ---Returns the available server channel names -function EnumerateServerChannels() end \ No newline at end of file +function EnumerateServerChannels() end diff --git a/api/EquipCursorItem.lua b/api/EquipCursorItem.lua index 11194f2..cddc08d 100644 --- a/api/EquipCursorItem.lua +++ b/api/EquipCursorItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Puts the item on the cursor into a specific equipment slot. If the item on the cursor can be equipped but does not fit in the given slot, the item is automatically equipped in the first available slot in which it fits (as with AutoEquipCursorItem()). Thus, this function is most useful when dealing with items which can be equipped in more than one slot: containers, rings, trinkets, and (for dual-wielding characters) one-handed weapons. Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be equipped. Does nothing if the cursor does not contain an item. -function EquipCursorItem(slot) end \ No newline at end of file +function EquipCursorItem(slot) end diff --git a/api/EquipItemByName.lua b/api/EquipItemByName.lua index f058da4..03ac3b8 100644 --- a/api/EquipItemByName.lua +++ b/api/EquipItemByName.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string +---@param itemID number +---@param itemName string +---@param itemLink string ---Attempts to equip an arbitrary item. The item is automatically equipped in the first available slot in which it fits. To equip an item in a specific slot, see EquipCursorItem(). Causes an error message (UI_ERROR_MESSAGE) if the specified item cannot be equipped. Does nothing if the specified item does not exist or is not in the player's possession. -function EquipItemByName(itemID, itemName, itemLink) end \ No newline at end of file +function EquipItemByName(itemID, itemName, itemLink) end diff --git a/api/EquipPendingItem.lua b/api/EquipPendingItem.lua index 3e1ad41..ab49095 100644 --- a/api/EquipPendingItem.lua +++ b/api/EquipPendingItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Confirms equipping a bind-on-equip item. Usable following the EQUIP_BIND_CONFIRM or AUTOEQUIP_BIND_CONFIRM, which fires when the player attempts to equip a bind-on-equip item -function EquipPendingItem(index) end \ No newline at end of file +function EquipPendingItem(index) end diff --git a/api/EquipmentManagerClearIgnoredSlotsForSave.lua b/api/EquipmentManagerClearIgnoredSlotsForSave.lua index fa3874c..b2911b5 100644 --- a/api/EquipmentManagerClearIgnoredSlotsForSave.lua +++ b/api/EquipmentManagerClearIgnoredSlotsForSave.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Clears the list of equipment slots to be ignored when saving sets -function EquipmentManagerClearIgnoredSlotsForSave() end \ No newline at end of file +function EquipmentManagerClearIgnoredSlotsForSave() end diff --git a/api/EquipmentManagerIgnoreSlotForSave.lua b/api/EquipmentManagerIgnoreSlotForSave.lua index 5d8e8d0..79b2773 100644 --- a/api/EquipmentManagerIgnoreSlotForSave.lua +++ b/api/EquipmentManagerIgnoreSlotForSave.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Adds an equipment slot to the list of those ignored when saving sets. Creating or saving a set with SaveEquipmentSet() will ignore any slots on the list, allowing the player to create sets which only switch certain items (e.g. to equip a fishing pole and hat while leaving non-fishing-related items equipped). -function EquipmentManagerIgnoreSlotForSave(slot) end \ No newline at end of file +function EquipmentManagerIgnoreSlotForSave(slot) end diff --git a/api/EquipmentManagerIsSlotIgnoredForSave.lua b/api/EquipmentManagerIsSlotIgnoredForSave.lua index e7ce7dc..fe79b0e 100644 --- a/api/EquipmentManagerIsSlotIgnoredForSave.lua +++ b/api/EquipmentManagerIsSlotIgnoredForSave.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return boolean isIgnored +---@param slot number +---@return boolean isIgnored ---Returns whether the contents of an equipment slot will be included when saving sets -function EquipmentManagerIsSlotIgnoredForSave(slot) end \ No newline at end of file +function EquipmentManagerIsSlotIgnoredForSave(slot) end diff --git a/api/EquipmentManagerUnignoreSlotForSave.lua b/api/EquipmentManagerUnignoreSlotForSave.lua index 7af1d56..40b49b5 100644 --- a/api/EquipmentManagerUnignoreSlotForSave.lua +++ b/api/EquipmentManagerUnignoreSlotForSave.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Removes an equipment slot from the list of those ignored when saving sets. Creating or saving a set with SaveEquipmentSet() will ignore any slots on the list, allowing the player to create sets which only switch certain items (e.g. to equip a fishing pole and hat while leaving non-fishing-related items equipped). -function EquipmentManagerUnignoreSlotForSave(slot) end \ No newline at end of file +function EquipmentManagerUnignoreSlotForSave(slot) end diff --git a/api/EquipmentManager_UnpackLocation.lua b/api/EquipmentManager_UnpackLocation.lua index 6780ad5..a1d2951 100644 --- a/api/EquipmentManager_UnpackLocation.lua +++ b/api/EquipmentManager_UnpackLocation.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param location number ----@return boolean player ----@return boolean bank ----@return boolean bags ----@return number location or slot ----@return number bag +---@param location number +---@return boolean player +---@return boolean bank +---@return boolean bags +---@return number location or slot +---@return number bag ---Unpacks an inventory location bitfield into usable components -function EquipmentManager_UnpackLocation(location) end \ No newline at end of file +function EquipmentManager_UnpackLocation(location) end diff --git a/api/EquipmentSetContainsLockedItems.lua b/api/EquipmentSetContainsLockedItems.lua index b3cfafb..ebce0b6 100644 --- a/api/EquipmentSetContainsLockedItems.lua +++ b/api/EquipmentSetContainsLockedItems.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return boolean isLocked +---@param name string +---@return boolean isLocked ---Returns whether an equipment set contains locked items. Locked items are those in a transient state -- e.g. on the cursor for moving within the player's bags, placed in the Send Mail or Trade UIs, etc. -- for which the default UI displays the item's icon as grayed out. A set cannot be equipped if it contains locked items. -function EquipmentSetContainsLockedItems(name) end \ No newline at end of file +function EquipmentSetContainsLockedItems(name) end diff --git a/api/ExecuteVoidTransfer.lua b/api/ExecuteVoidTransfer.lua index e6a3c9f..7c5a9b8 100644 --- a/api/ExecuteVoidTransfer.lua +++ b/api/ExecuteVoidTransfer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ExecuteVoidTransfer() end \ No newline at end of file +function ExecuteVoidTransfer() end diff --git a/api/ExpandAllFactionHeaders.lua b/api/ExpandAllFactionHeaders.lua index e0aa34f..5af4257 100644 --- a/api/ExpandAllFactionHeaders.lua +++ b/api/ExpandAllFactionHeaders.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Expands all headers and sub-headers in the Reputation UI. Expands headers for both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). -function ExpandAllFactionHeaders() end \ No newline at end of file +function ExpandAllFactionHeaders() end diff --git a/api/ExpandChannelHeader.lua b/api/ExpandChannelHeader.lua index 0b9679f..0496141 100644 --- a/api/ExpandChannelHeader.lua +++ b/api/ExpandChannelHeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Expands a group header in the chat channel listing -function ExpandChannelHeader(index) end \ No newline at end of file +function ExpandChannelHeader(index) end diff --git a/api/ExpandCurrencyList.lua b/api/ExpandCurrencyList.lua index 6b82a64..d5a19c3 100644 --- a/api/ExpandCurrencyList.lua +++ b/api/ExpandCurrencyList.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param shouldExpand number +---@param index number +---@param shouldExpand number ---Expands or collapses a list header in the Currency UI -function ExpandCurrencyList(index, shouldExpand) end \ No newline at end of file +function ExpandCurrencyList(index, shouldExpand) end diff --git a/api/ExpandFactionHeader.lua b/api/ExpandFactionHeader.lua index 2bdec34..e223c8c 100644 --- a/api/ExpandFactionHeader.lua +++ b/api/ExpandFactionHeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Expands a given faction header or sub-header in the Reputation UI. Faction headers include both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). -function ExpandFactionHeader(index) end \ No newline at end of file +function ExpandFactionHeader(index) end diff --git a/api/ExpandQuestHeader.lua b/api/ExpandQuestHeader.lua index 53acc3a..200862a 100644 --- a/api/ExpandQuestHeader.lua +++ b/api/ExpandQuestHeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Expands a quest header in the quest log -function ExpandQuestHeader(questIndex) end \ No newline at end of file +function ExpandQuestHeader(questIndex) end diff --git a/api/ExpandTradeSkillSubClass.lua b/api/ExpandTradeSkillSubClass.lua index 02de1ec..b098c49 100644 --- a/api/ExpandTradeSkillSubClass.lua +++ b/api/ExpandTradeSkillSubClass.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Expands a group header in the trade skill listing. Causes an error if index does not refer to a header. -function ExpandTradeSkillSubClass(index) end \ No newline at end of file +function ExpandTradeSkillSubClass(index) end diff --git a/api/ExpandWarGameHeader.lua b/api/ExpandWarGameHeader.lua index 968a63b..a5546d5 100644 --- a/api/ExpandWarGameHeader.lua +++ b/api/ExpandWarGameHeader.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ExpandWarGameHeader() end \ No newline at end of file +function ExpandWarGameHeader() end diff --git a/api/FactionToggleAtWar.lua b/api/FactionToggleAtWar.lua index d736df0..d107765 100644 --- a/api/FactionToggleAtWar.lua +++ b/api/FactionToggleAtWar.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Toggles "at war" status for a faction. "At War" status determines whether members of a faction can be attacked. Normal interactions (as with merchants, questgivers, etc.) are not available if the player is "at war" with an NPC's faction. This function does nothing for faction headers or factions for which changing "at war" status is not currently allowed; i.e., factions for which the eighth (canToggleAtWar) return of GetFactionInfo is false or nil. -function FactionToggleAtWar(index) end \ No newline at end of file +function FactionToggleAtWar(index) end diff --git a/api/FillLocalizedClassList.lua b/api/FillLocalizedClassList.lua index c9b2393..739f743 100644 --- a/api/FillLocalizedClassList.lua +++ b/api/FillLocalizedClassList.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param table number ----@param female boolean +---@param table number +---@param female boolean ---Fills a table with localized class names keyed by non-localized class tokens. Note that while localized class names have no gender in English, other locales have different names for each gender. -function FillLocalizedClassList(table, female) end \ No newline at end of file +function FillLocalizedClassList(table, female) end diff --git a/api/FindSpellBookSlotBySpellID.lua b/api/FindSpellBookSlotBySpellID.lua index 0b8207d..d554b00 100644 --- a/api/FindSpellBookSlotBySpellID.lua +++ b/api/FindSpellBookSlotBySpellID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function FindSpellBookSlotBySpellID() end \ No newline at end of file +function FindSpellBookSlotBySpellID() end diff --git a/api/FlagTutorial.lua b/api/FlagTutorial.lua index e6f9a07..a509d42 100644 --- a/api/FlagTutorial.lua +++ b/api/FlagTutorial.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tutorial string +---@param tutorial string ---Marks a contextual tutorial as displayed so it doesn't appear again -function FlagTutorial(tutorial) end \ No newline at end of file +function FlagTutorial(tutorial) end diff --git a/api/FlipCameraYaw.lua b/api/FlipCameraYaw.lua index d8ee627..a9d8b1b 100644 --- a/api/FlipCameraYaw.lua +++ b/api/FlipCameraYaw.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param degrees number +---@param degrees number ---Rotates the camera around the player -function FlipCameraYaw(degrees) end \ No newline at end of file +function FlipCameraYaw(degrees) end diff --git a/api/FlyoutHasSpell.lua b/api/FlyoutHasSpell.lua index 30df816..b470586 100644 --- a/api/FlyoutHasSpell.lua +++ b/api/FlyoutHasSpell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function FlyoutHasSpell() end \ No newline at end of file +function FlyoutHasSpell() end diff --git a/api/FocusUnit.lua b/api/FocusUnit.lua index 167afe7..b796974 100644 --- a/api/FocusUnit.lua +++ b/api/FocusUnit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Changes the focus unitID to refer to a new unit -function FocusUnit(unit, name) end \ No newline at end of file +function FocusUnit(unit, name) end diff --git a/api/FollowUnit.lua b/api/FollowUnit.lua index c7259a9..a602bec 100644 --- a/api/FollowUnit.lua +++ b/api/FollowUnit.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---Causes the player character to automatically follow another unit. Only friendly player units can be followed. ---@overload fun(name: string) ---@overload fun(name: string, strict: boolean) -function FollowUnit(unit) end \ No newline at end of file +function FollowUnit(unit) end diff --git a/api/ForceGossip.lua b/api/ForceGossip.lua index 65a5e9d..89515f8 100644 --- a/api/ForceGossip.lua +++ b/api/ForceGossip.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ForceGossip() end \ No newline at end of file +function ForceGossip() end diff --git a/api/ForceLogout.lua b/api/ForceLogout.lua index 301b6b3..7f4c564 100644 --- a/api/ForceLogout.lua +++ b/api/ForceLogout.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Forces the client to logout. Not usable in the current WoW client; causes an error message to be displayed. -function ForceLogout() end \ No newline at end of file +function ForceLogout() end diff --git a/api/ForceQuit.lua b/api/ForceQuit.lua index a0813d4..e76e297 100644 --- a/api/ForceQuit.lua +++ b/api/ForceQuit.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Immediately exits World of Warcraft. Unlike Quit(), this function exits the game application regardless of current conditions. Used in the default UI when the player chooses "Exit now" in the dialog that appears if the player attempts to quit while not in an inn, major city, or other "rest" area. -function ForceQuit() end \ No newline at end of file +function ForceQuit() end diff --git a/api/FrameXML_Debug.lua b/api/FrameXML_Debug.lua index 8fb9d16..b6050d0 100644 --- a/api/FrameXML_Debug.lua +++ b/api/FrameXML_Debug.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enable boolean +---@param enable boolean ---Enables or disables logging of XML loading. When logging is enabled, status and error text will be saved to the file Logs/FrameXML.log (path is relative to the folder containing the World of Warcraft client) as the client parses and loads XML files in the default UI and addons. -function FrameXML_Debug(enable) end \ No newline at end of file +function FrameXML_Debug(enable) end diff --git a/api/GMEuropaBugsEnabled.lua b/api/GMEuropaBugsEnabled.lua index 4c30c6e..63df001 100644 --- a/api/GMEuropaBugsEnabled.lua +++ b/api/GMEuropaBugsEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMEuropaBugsEnabled() end \ No newline at end of file +function GMEuropaBugsEnabled() end diff --git a/api/GMEuropaComplaintsEnabled.lua b/api/GMEuropaComplaintsEnabled.lua index 0b1063f..6ef74b9 100644 --- a/api/GMEuropaComplaintsEnabled.lua +++ b/api/GMEuropaComplaintsEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMEuropaComplaintsEnabled() end \ No newline at end of file +function GMEuropaComplaintsEnabled() end diff --git a/api/GMEuropaSuggestionsEnabled.lua b/api/GMEuropaSuggestionsEnabled.lua index a04ed95..7c33b60 100644 --- a/api/GMEuropaSuggestionsEnabled.lua +++ b/api/GMEuropaSuggestionsEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMEuropaSuggestionsEnabled() end \ No newline at end of file +function GMEuropaSuggestionsEnabled() end diff --git a/api/GMEuropaTicketsEnabled.lua b/api/GMEuropaTicketsEnabled.lua index 5ed8de0..619db82 100644 --- a/api/GMEuropaTicketsEnabled.lua +++ b/api/GMEuropaTicketsEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMEuropaTicketsEnabled() end \ No newline at end of file +function GMEuropaTicketsEnabled() end diff --git a/api/GMItemRestorationButtonEnabled.lua b/api/GMItemRestorationButtonEnabled.lua index 9dd6eff..4e4b395 100644 --- a/api/GMItemRestorationButtonEnabled.lua +++ b/api/GMItemRestorationButtonEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMItemRestorationButtonEnabled() end \ No newline at end of file +function GMItemRestorationButtonEnabled() end diff --git a/api/GMQuickTicketSystemEnabled.lua b/api/GMQuickTicketSystemEnabled.lua index 2e812e4..d6325e5 100644 --- a/api/GMQuickTicketSystemEnabled.lua +++ b/api/GMQuickTicketSystemEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMQuickTicketSystemEnabled() end \ No newline at end of file +function GMQuickTicketSystemEnabled() end diff --git a/api/GMQuickTicketSystemThrottled.lua b/api/GMQuickTicketSystemThrottled.lua index 246aada..5880432 100644 --- a/api/GMQuickTicketSystemThrottled.lua +++ b/api/GMQuickTicketSystemThrottled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMQuickTicketSystemThrottled() end \ No newline at end of file +function GMQuickTicketSystemThrottled() end diff --git a/api/GMReportLag.lua b/api/GMReportLag.lua index 29d8929..ef3c645 100644 --- a/api/GMReportLag.lua +++ b/api/GMReportLag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMReportLag() end \ No newline at end of file +function GMReportLag() end diff --git a/api/GMRequestPlayerInfo.lua b/api/GMRequestPlayerInfo.lua index 2f837ca..59bb1ec 100644 --- a/api/GMRequestPlayerInfo.lua +++ b/api/GMRequestPlayerInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMRequestPlayerInfo() end \ No newline at end of file +function GMRequestPlayerInfo() end diff --git a/api/GMResponseNeedMoreHelp.lua b/api/GMResponseNeedMoreHelp.lua index 4e6dea8..e16fea1 100644 --- a/api/GMResponseNeedMoreHelp.lua +++ b/api/GMResponseNeedMoreHelp.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests further GM interaction on a ticket to which a GM has already responded -function GMResponseNeedMoreHelp() end \ No newline at end of file +function GMResponseNeedMoreHelp() end diff --git a/api/GMResponseResolve.lua b/api/GMResponseResolve.lua index e257651..a2354cf 100644 --- a/api/GMResponseResolve.lua +++ b/api/GMResponseResolve.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Notifies the server that the player's GM ticket issue has been resolved -function GMResponseResolve() end \ No newline at end of file +function GMResponseResolve() end diff --git a/api/GMSubmitBug.lua b/api/GMSubmitBug.lua index d2ccdb3..8d69d5c 100644 --- a/api/GMSubmitBug.lua +++ b/api/GMSubmitBug.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMSubmitBug() end \ No newline at end of file +function GMSubmitBug() end diff --git a/api/GMSubmitSuggestion.lua b/api/GMSubmitSuggestion.lua index 8b449d6..293ca2e 100644 --- a/api/GMSubmitSuggestion.lua +++ b/api/GMSubmitSuggestion.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GMSubmitSuggestion() end \ No newline at end of file +function GMSubmitSuggestion() end diff --git a/api/GMSurveyAnswer.lua b/api/GMSurveyAnswer.lua index 381deb2..212ecfd 100644 --- a/api/GMSurveyAnswer.lua +++ b/api/GMSurveyAnswer.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questionIndex number ----@param answerIndex number ----@return string answerText +---@param questionIndex number +---@param answerIndex number +---@return string answerText ---Returns text of multiple-choice question answers in a GM survey -function GMSurveyAnswer(questionIndex, answerIndex) end \ No newline at end of file +function GMSurveyAnswer(questionIndex, answerIndex) end diff --git a/api/GMSurveyAnswerSubmit.lua b/api/GMSurveyAnswerSubmit.lua index ec54368..1da4b18 100644 --- a/api/GMSurveyAnswerSubmit.lua +++ b/api/GMSurveyAnswerSubmit.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param question number ----@param rank number ----@param comment string +---@param question number +---@param rank number +---@param comment string ---Submits an answer to a GM survey question -function GMSurveyAnswerSubmit(question, rank, comment) end \ No newline at end of file +function GMSurveyAnswerSubmit(question, rank, comment) end diff --git a/api/GMSurveyCommentSubmit.lua b/api/GMSurveyCommentSubmit.lua index f5d476c..722459b 100644 --- a/api/GMSurveyCommentSubmit.lua +++ b/api/GMSurveyCommentSubmit.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param comment string +---@param comment string ---Submits a comment to the current GM survey -function GMSurveyCommentSubmit(comment) end \ No newline at end of file +function GMSurveyCommentSubmit(comment) end diff --git a/api/GMSurveyNumAnswers.lua b/api/GMSurveyNumAnswers.lua index 7f62726..c852f5b 100644 --- a/api/GMSurveyNumAnswers.lua +++ b/api/GMSurveyNumAnswers.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questionIndex number ----@return number numAnswers +---@param questionIndex number +---@return number numAnswers ---Returns the number of possible answers for a GM Survey question. Deprecated; default UI uses the constant MAX_SURVEY_ANSWERS instead. -function GMSurveyNumAnswers(questionIndex) end \ No newline at end of file +function GMSurveyNumAnswers(questionIndex) end diff --git a/api/GMSurveyQuestion.lua b/api/GMSurveyQuestion.lua index 6f5dc3d..6679ccc 100644 --- a/api/GMSurveyQuestion.lua +++ b/api/GMSurveyQuestion.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string surveyQuestion +---@param index number +---@return string surveyQuestion ---Returns the text of a specific question from a GM survey -function GMSurveyQuestion(index) end \ No newline at end of file +function GMSurveyQuestion(index) end diff --git a/api/GMSurveySubmit.lua b/api/GMSurveySubmit.lua index ee2ca30..77b76aa 100644 --- a/api/GMSurveySubmit.lua +++ b/api/GMSurveySubmit.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Submits the current GM survey -function GMSurveySubmit() end \ No newline at end of file +function GMSurveySubmit() end diff --git a/api/GameMovieFinished.lua b/api/GameMovieFinished.lua index 5b46a04..720b810 100644 --- a/api/GameMovieFinished.lua +++ b/api/GameMovieFinished.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends in-game movie playback -function GameMovieFinished() end \ No newline at end of file +function GameMovieFinished() end diff --git a/api/GetAbandonQuestItems.lua b/api/GetAbandonQuestItems.lua index d19fea6..1b51909 100644 --- a/api/GetAbandonQuestItems.lua +++ b/api/GetAbandonQuestItems.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string items +---@return string items ---Returns information about items that would be destroyed by abandoning a quest. Usable after calling SetAbandonQuest() but before calling AbandonQuest(). -function GetAbandonQuestItems() end \ No newline at end of file +function GetAbandonQuestItems() end diff --git a/api/GetAbandonQuestName.lua b/api/GetAbandonQuestName.lua index 8937820..e8c2748 100644 --- a/api/GetAbandonQuestName.lua +++ b/api/GetAbandonQuestName.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name +---@return string name ---Returns the name of the quest being abandoned. Usable after calling SetAbandonQuest() but before calling AbandonQuest(). -function GetAbandonQuestName() end \ No newline at end of file +function GetAbandonQuestName() end diff --git a/api/GetAccountExpansionLevel.lua b/api/GetAccountExpansionLevel.lua index 428295b..90f1bb0 100644 --- a/api/GetAccountExpansionLevel.lua +++ b/api/GetAccountExpansionLevel.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 5 expansionLevel ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 +---@return 5 expansionLevel +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 ---Returns the most recent of WoW's retail expansion packs for which the player's account is authorized. Returns the expansionID of the highest WoW expansion pack the player's account is authorized for. If you intend to find the highest level the player can reach, you should instead use GetExpansionLevel(). -function GetAccountExpansionLevel() end \ No newline at end of file +function GetAccountExpansionLevel() end diff --git a/api/GetAchievementCategory.lua b/api/GetAchievementCategory.lua index ad051d7..10820ba 100644 --- a/api/GetAchievementCategory.lua +++ b/api/GetAchievementCategory.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param achievementID number ----@return number categoryID +---@param achievementID number +---@return number categoryID ---Returns the numeric ID of the category to which an achievement belongs -function GetAchievementCategory(achievementID) end \ No newline at end of file +function GetAchievementCategory(achievementID) end diff --git a/api/GetAchievementComparisonInfo.lua b/api/GetAchievementComparisonInfo.lua index 7d49894..0fc6a40 100644 --- a/api/GetAchievementComparisonInfo.lua +++ b/api/GetAchievementComparisonInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return boolean completed ----@return number month ----@return number day ----@return number year +---@param id number +---@return boolean completed +---@return number month +---@return number day +---@return number year ---Returns information about the comparison unit's achievements. Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called. -function GetAchievementComparisonInfo(id) end \ No newline at end of file +function GetAchievementComparisonInfo(id) end diff --git a/api/GetAchievementCriteriaInfo.lua b/api/GetAchievementCriteriaInfo.lua index a611b67..51b457f 100644 --- a/api/GetAchievementCriteriaInfo.lua +++ b/api/GetAchievementCriteriaInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param achievementID number ----@param index number ----@param statisticID number ----@return string description ----@return number type ----@return boolean completed ----@return number quantity ----@return number requiredQuantity ----@return string characterName ----@return 0x00000002 flags ----@return 0x00000001 ----@return 0x00000002 ----@return number assetID ----@return string quantityString ----@return number criteriaID +---@param achievementID number +---@param index number +---@param statisticID number +---@return string description +---@return number type +---@return boolean completed +---@return number quantity +---@return number requiredQuantity +---@return string characterName +---@return 0x00000002 flags +---@return 0x00000001 +---@return 0x00000002 +---@return number assetID +---@return string quantityString +---@return number criteriaID ---Gets information about criteria for an achievement or data for a statistic -function GetAchievementCriteriaInfo(achievementID, index, statisticID) end \ No newline at end of file +function GetAchievementCriteriaInfo(achievementID, index, statisticID) end diff --git a/api/GetAchievementCriteriaInfoByID.lua b/api/GetAchievementCriteriaInfoByID.lua index 75d400d..97dd8c2 100644 --- a/api/GetAchievementCriteriaInfoByID.lua +++ b/api/GetAchievementCriteriaInfoByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAchievementCriteriaInfoByID() end \ No newline at end of file +function GetAchievementCriteriaInfoByID() end diff --git a/api/GetAchievementGuildRep.lua b/api/GetAchievementGuildRep.lua index 72cd3b8..137d04e 100644 --- a/api/GetAchievementGuildRep.lua +++ b/api/GetAchievementGuildRep.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAchievementGuildRep() end \ No newline at end of file +function GetAchievementGuildRep() end diff --git a/api/GetAchievementInfo.lua b/api/GetAchievementInfo.lua index fa3137c..6a7b90b 100644 --- a/api/GetAchievementInfo.lua +++ b/api/GetAchievementInfo.lua @@ -1,24 +1,24 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param category number ----@param index number ----@param id number ----@return number id ----@return string name ----@return number points ----@return boolean completed ----@return number month ----@return number day ----@return number year ----@return string description ----@return 0x00000080 flags ----@return 0x00000001 ----@return 0x00000002 ----@return 0x00000080 ----@return string icon ----@return string rewardText ----@return boolean isGuildAch ----@return boolean wasEarnedByMe ----@return string earnedBy +---@param category number +---@param index number +---@param id number +---@return number id +---@return string name +---@return number points +---@return boolean completed +---@return number month +---@return number day +---@return number year +---@return string description +---@return 0x00000080 flags +---@return 0x00000001 +---@return 0x00000002 +---@return 0x00000080 +---@return string icon +---@return string rewardText +---@return boolean isGuildAch +---@return boolean wasEarnedByMe +---@return string earnedBy ---Gets information about an achievement or statistic -function GetAchievementInfo(category, index, id) end \ No newline at end of file +function GetAchievementInfo(category, index, id) end diff --git a/api/GetAchievementLink.lua b/api/GetAchievementLink.lua index d2d863e..bf9997d 100644 --- a/api/GetAchievementLink.lua +++ b/api/GetAchievementLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string link +---@param id number +---@return string link ---Returns a hyperlink representing the player's progress on an achievement. The tooltip associated with the hyperlink shows not only the details of the achievement itself, but also the completion of or progress towards the achievement by the player who produced the link. -function GetAchievementLink(id) end \ No newline at end of file +function GetAchievementLink(id) end diff --git a/api/GetAchievementNumCriteria.lua b/api/GetAchievementNumCriteria.lua index 48e4178..3bdc66b 100644 --- a/api/GetAchievementNumCriteria.lua +++ b/api/GetAchievementNumCriteria.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number count +---@param id number +---@return number count ---Returns the number of measured criteria for an achievement. Measured criteria for an achievement are shown in the default UI as details when clicking on an achievement in the achievements window or when showing an achievement in the objectives tracker; e.g. "Master of Arms" (15 criteria: Axes, Bows, Crossbows, Daggers, etc.) and "Safe Deposit" (1 criterion: number of bank slots purchased). Not all achievements have criteria: achievements with zero criteria are those that can be completed in a single event (though a complicated event it may be), explained in achievement's description: e.g. "Reach level 80", "Fall 65 yards without dying", and "With all three Twilight Drakes still alive, engage and defeat Sartharion the Onyx Guardian on Normal Difficulty". -function GetAchievementNumCriteria(id) end \ No newline at end of file +function GetAchievementNumCriteria(id) end diff --git a/api/GetAchievementNumRewards.lua b/api/GetAchievementNumRewards.lua index 4487104..c4efedc 100644 --- a/api/GetAchievementNumRewards.lua +++ b/api/GetAchievementNumRewards.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number count +---@param id number +---@return number count ---Returns the number of point rewards for an achievement (currently always 1). Currently all achievements and statistics offer one reward (according to this function), though the rewards offered by statistics are all zero points. -function GetAchievementNumRewards(id) end \ No newline at end of file +function GetAchievementNumRewards(id) end diff --git a/api/GetAchievementReward.lua b/api/GetAchievementReward.lua index cecfb75..a6b1da8 100644 --- a/api/GetAchievementReward.lua +++ b/api/GetAchievementReward.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@param index number ----@return number points +---@param id number +---@param index number +---@return number points ---Returns the number of achievement points awarded for earning an achievement. Currently all achievements and statistics offer one reward (according to this function), though the rewards offered by statistics are all zero points. -function GetAchievementReward(id, index) end \ No newline at end of file +function GetAchievementReward(id, index) end diff --git a/api/GetActionAutocast.lua b/api/GetActionAutocast.lua index 2e93c46..63d12fa 100644 --- a/api/GetActionAutocast.lua +++ b/api/GetActionAutocast.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil autocastAllowed ----@return 1nil autocastEnabled +---@param slot number +---@return 1nil autocastAllowed +---@return 1nil autocastEnabled ---Returns information about autocast actions. No player actions have allowed automatic casting since the initial public release of World of Warcraft. -function GetActionAutocast(slot) end \ No newline at end of file +function GetActionAutocast(slot) end diff --git a/api/GetActionBarPage.lua b/api/GetActionBarPage.lua index 1ec9269..a797f27 100644 --- a/api/GetActionBarPage.lua +++ b/api/GetActionBarPage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number page +---@return number page ---Returns the current action bar page -function GetActionBarPage() end \ No newline at end of file +function GetActionBarPage() end diff --git a/api/GetActionBarToggles.lua b/api/GetActionBarToggles.lua index d8a5e84..9b2f5cd 100644 --- a/api/GetActionBarToggles.lua +++ b/api/GetActionBarToggles.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil showBar1 ----@return 1nil showBar2 ----@return 1nil showBar3 ----@return 1nil showBar4 +---@return 1nil showBar1 +---@return 1nil showBar2 +---@return 1nil showBar3 +---@return 1nil showBar4 ---Returns the current visibility settings for the four secondary action bars -function GetActionBarToggles() end \ No newline at end of file +function GetActionBarToggles() end diff --git a/api/GetActionCharges.lua b/api/GetActionCharges.lua index 5c50124..3861b79 100644 --- a/api/GetActionCharges.lua +++ b/api/GetActionCharges.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetActionCharges() end \ No newline at end of file +function GetActionCharges() end diff --git a/api/GetActionCooldown.lua b/api/GetActionCooldown.lua index d810276..a1f47b4 100644 --- a/api/GetActionCooldown.lua +++ b/api/GetActionCooldown.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return number start ----@return number duration ----@return number enable +---@param slot number +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about an action -function GetActionCooldown(slot) end \ No newline at end of file +function GetActionCooldown(slot) end diff --git a/api/GetActionCount.lua b/api/GetActionCount.lua index ca8a610..22e0c6a 100644 --- a/api/GetActionCount.lua +++ b/api/GetActionCount.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return number count +---@param slot number +---@return number count ---Returns the number of uses remaining for the given action slot. Applies to spells that require reagents, items that stack, or items with charges; used in the default UI to display the count on action buttons. Returns 0 for any action that does not use a count. To distinguish between actions which do not use a count and actions which do but whose current count is 0, see IsConsumableAction. -function GetActionCount(slot) end \ No newline at end of file +function GetActionCount(slot) end diff --git a/api/GetActionInfo.lua b/api/GetActionInfo.lua index 8f8db89..a9e90f1 100644 --- a/api/GetActionInfo.lua +++ b/api/GetActionInfo.lua @@ -1,23 +1,23 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return spell type ----@return companion ----@return equipmentset ----@return flyout ----@return item ----@return macro ----@return spell ----@return spell id ----@return companion ----@return equipmentset ----@return item ----@return macro ----@return spell ----@return id subType ----@return id CRITTER ----@return id MOUNT ----@return id spell ----@return string spellID +---@param slot number +---@return spell type +---@return companion +---@return equipmentset +---@return flyout +---@return item +---@return macro +---@return spell +---@return spell id +---@return companion +---@return equipmentset +---@return item +---@return macro +---@return spell +---@return id subType +---@return id CRITTER +---@return id MOUNT +---@return id spell +---@return string spellID ---Returns information about an action slot -function GetActionInfo(slot) end \ No newline at end of file +function GetActionInfo(slot) end diff --git a/api/GetActionLossOfControlCooldown.lua b/api/GetActionLossOfControlCooldown.lua index 04e8cf3..7787a4e 100644 --- a/api/GetActionLossOfControlCooldown.lua +++ b/api/GetActionLossOfControlCooldown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetActionLossOfControlCooldown() end \ No newline at end of file +function GetActionLossOfControlCooldown() end diff --git a/api/GetActionText.lua b/api/GetActionText.lua index 3299ba5..56f54f1 100644 --- a/api/GetActionText.lua +++ b/api/GetActionText.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return string text +---@param slot number +---@return string text ---Returns the text label associated with an action. Currently used only for macros, which in the default UI show their name as a label on an action button. -function GetActionText(slot) end \ No newline at end of file +function GetActionText(slot) end diff --git a/api/GetActionTexture.lua b/api/GetActionTexture.lua index ad39ed3..289d94a 100644 --- a/api/GetActionTexture.lua +++ b/api/GetActionTexture.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return string texture +---@param slot number +---@return string texture ---Returns the icon texture for an action. Can be the icon of a spell or item, the icon manually set for a macro, or an icon reflecting the current state of a macro. -function GetActionTexture(slot) end \ No newline at end of file +function GetActionTexture(slot) end diff --git a/api/GetActiveArtifactByRace.lua b/api/GetActiveArtifactByRace.lua index b156baf..a908725 100644 --- a/api/GetActiveArtifactByRace.lua +++ b/api/GetActiveArtifactByRace.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetActiveArtifactByRace() end \ No newline at end of file +function GetActiveArtifactByRace() end diff --git a/api/GetActiveLevel.lua b/api/GetActiveLevel.lua index 664f06d..224a5b3 100644 --- a/api/GetActiveLevel.lua +++ b/api/GetActiveLevel.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number level +---@param index number +---@return number level ---Returns the level of a quest which can be turned in to the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. -function GetActiveLevel(index) end \ No newline at end of file +function GetActiveLevel(index) end diff --git a/api/GetActiveLootRollIDs.lua b/api/GetActiveLootRollIDs.lua index f821c7b..e84d94a 100644 --- a/api/GetActiveLootRollIDs.lua +++ b/api/GetActiveLootRollIDs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetActiveLootRollIDs() end \ No newline at end of file +function GetActiveLootRollIDs() end diff --git a/api/GetActiveSpecGroup.lua b/api/GetActiveSpecGroup.lua index 82feab1..15ee9b8 100644 --- a/api/GetActiveSpecGroup.lua +++ b/api/GetActiveSpecGroup.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number activeTalentGroup +---@return number activeTalentGroup ---Returns the active talent group/specialisation (Dual Talent system). -function GetActiveSpecGroup() end \ No newline at end of file +function GetActiveSpecGroup() end diff --git a/api/GetActiveTitle.lua b/api/GetActiveTitle.lua index e43adaf..f9afa5f 100644 --- a/api/GetActiveTitle.lua +++ b/api/GetActiveTitle.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string title +---@param index number +---@return string title ---Returns the name of a quest which can be turned in to the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. -function GetActiveTitle(index) end \ No newline at end of file +function GetActiveTitle(index) end diff --git a/api/GetActiveVoiceChannel.lua b/api/GetActiveVoiceChannel.lua index 3625f71..b60df04 100644 --- a/api/GetActiveVoiceChannel.lua +++ b/api/GetActiveVoiceChannel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the currently active voice channel -function GetActiveVoiceChannel() end \ No newline at end of file +function GetActiveVoiceChannel() end diff --git a/api/GetAddOnCPUUsage.lua b/api/GetAddOnCPUUsage.lua index 4f4fe4f..9c44498 100644 --- a/api/GetAddOnCPUUsage.lua +++ b/api/GetAddOnCPUUsage.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return number usage +---@param name string +---@param index number +---@return number usage ---Returns the amount of CPU time used by an addon. Only returns valid data if the scriptProfile CVar is set to 1; returns 0 otherwise. The value returned is from a cache only updated when calling UpdateAddOnCPUUsage(). This value is the sum of GetFunctionCPUUsage() for all functions created on the addon's behalf -- note that if the addon calls external functions which in turn create new functions, the new functions are considered to belong to the addon. -function GetAddOnCPUUsage(name, index) end \ No newline at end of file +function GetAddOnCPUUsage(name, index) end diff --git a/api/GetAddOnDependencies.lua b/api/GetAddOnDependencies.lua index 2bf2809..bbd6a23 100644 --- a/api/GetAddOnDependencies.lua +++ b/api/GetAddOnDependencies.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return list ... +---@param name string +---@param index number +---@return list ... ---Returns a list of addons a given addon is dependent upon -function GetAddOnDependencies(name, index) end \ No newline at end of file +function GetAddOnDependencies(name, index) end diff --git a/api/GetAddOnEnableState.lua b/api/GetAddOnEnableState.lua index 0177e0f..6479997 100644 --- a/api/GetAddOnEnableState.lua +++ b/api/GetAddOnEnableState.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param character string ----@param index number ----@return number enabled +---@param character string +---@param index number +---@return number enabled ---Queries whether an addon is currently enabled. This may differ from what addons are currently loaded, especially if changes have been made and the UI has not yet been reloaded. -function GetAddOnEnableState(character, index) end \ No newline at end of file +function GetAddOnEnableState(character, index) end diff --git a/api/GetAddOnInfo.lua b/api/GetAddOnInfo.lua index 3c9dc1a..6a46f95 100644 --- a/api/GetAddOnInfo.lua +++ b/api/GetAddOnInfo.lua @@ -1,28 +1,28 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return string name ----@return string title ----@return string notes ----@return 1nil loadable ----@return NOT_DEMAND_LOADED reason ----@return BANNED ----@return CORRUPT ----@return DEP_BANNED ----@return DEP_CORRUPT ----@return DEP_DISABLED ----@return DEP_INCOMPATIBLE ----@return DEP_INSECURE ----@return DEP_INTERFACE_VERSION ----@return DEP_MISSING ----@return DEP_NOT_DEMAND_LOADED ----@return DISABLED ----@return INCOMPATIBLE ----@return INSECURE ----@return INTERFACE_VERSION ----@return MISSING ----@return NOT_DEMAND_LOADED ----@return string security +---@param name string +---@param index number +---@return string name +---@return string title +---@return string notes +---@return 1nil loadable +---@return NOT_DEMAND_LOADED reason +---@return BANNED +---@return CORRUPT +---@return DEP_BANNED +---@return DEP_CORRUPT +---@return DEP_DISABLED +---@return DEP_INCOMPATIBLE +---@return DEP_INSECURE +---@return DEP_INTERFACE_VERSION +---@return DEP_MISSING +---@return DEP_NOT_DEMAND_LOADED +---@return DISABLED +---@return INCOMPATIBLE +---@return INSECURE +---@return INTERFACE_VERSION +---@return MISSING +---@return NOT_DEMAND_LOADED +---@return string security ---Returns information about an addon -function GetAddOnInfo(name, index) end \ No newline at end of file +function GetAddOnInfo(name, index) end diff --git a/api/GetAddOnMemoryUsage.lua b/api/GetAddOnMemoryUsage.lua index 43c47e9..db25090 100644 --- a/api/GetAddOnMemoryUsage.lua +++ b/api/GetAddOnMemoryUsage.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return number mem +---@param name string +---@param index number +---@return number mem ---Returns the amount of memory used by an addon. The value returned is from a cache only updated when calling UpdateAddOnMemoryUsage(). -function GetAddOnMemoryUsage(name, index) end \ No newline at end of file +function GetAddOnMemoryUsage(name, index) end diff --git a/api/GetAddOnMetadata.lua b/api/GetAddOnMetadata.lua index 4e7fffd..e02f08b 100644 --- a/api/GetAddOnMetadata.lua +++ b/api/GetAddOnMetadata.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@param variable string ----@return string data +---@param index number +---@param name string +---@param variable string +---@return string data ---Returns the value of certain fields in an addon's TOC file -function GetAddOnMetadata(index, name, variable) end \ No newline at end of file +function GetAddOnMetadata(index, name, variable) end diff --git a/api/GetAddOnOptionalDependencies.lua b/api/GetAddOnOptionalDependencies.lua index a8006c2..b254f8f 100644 --- a/api/GetAddOnOptionalDependencies.lua +++ b/api/GetAddOnOptionalDependencies.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return list ... +---@param name string +---@param index number +---@return list ... ---Returns a list of addons a given addon is optionally dependent upon -function GetAddOnOptionalDependencies(name, index) end \ No newline at end of file +function GetAddOnOptionalDependencies(name, index) end diff --git a/api/GetAllowLowLevelRaid.lua b/api/GetAllowLowLevelRaid.lua index 9c85028..e194cbe 100644 --- a/api/GetAllowLowLevelRaid.lua +++ b/api/GetAllowLowLevelRaid.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAllowLowLevelRaid() end \ No newline at end of file +function GetAllowLowLevelRaid() end diff --git a/api/GetArchaeologyInfo.lua b/api/GetArchaeologyInfo.lua index aa74336..d8d9e2a 100644 --- a/api/GetArchaeologyInfo.lua +++ b/api/GetArchaeologyInfo.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name +---@return string name ---Returns information about Archeology -function GetArchaeologyInfo() end \ No newline at end of file +function GetArchaeologyInfo() end diff --git a/api/GetArchaeologyRaceInfo.lua b/api/GetArchaeologyRaceInfo.lua index ff7540b..15b4edc 100644 --- a/api/GetArchaeologyRaceInfo.lua +++ b/api/GetArchaeologyRaceInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param raceIndex number ----@return string raceName ----@return string raceTexture ----@return number raceItemID ----@return number numFragmentsCollected ----@return number numFragmentsRequired ----@return number maxFragments +---@param raceIndex number +---@return string raceName +---@return string raceTexture +---@return number raceItemID +---@return number numFragmentsCollected +---@return number numFragmentsRequired +---@return number maxFragments ---Get name, icon, index, and fragment for a race. See GetNumArcheologyRaces() for the raceIndex numbers. -function GetArchaeologyRaceInfo(raceIndex) end \ No newline at end of file +function GetArchaeologyRaceInfo(raceIndex) end diff --git a/api/GetArchaeologyRaceInfoByID.lua b/api/GetArchaeologyRaceInfoByID.lua index cc1d2a2..092eb08 100644 --- a/api/GetArchaeologyRaceInfoByID.lua +++ b/api/GetArchaeologyRaceInfoByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetArchaeologyRaceInfoByID() end \ No newline at end of file +function GetArchaeologyRaceInfoByID() end diff --git a/api/GetAreaMapInfo.lua b/api/GetAreaMapInfo.lua index 2b48527..c7e99dc 100644 --- a/api/GetAreaMapInfo.lua +++ b/api/GetAreaMapInfo.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param areaMapID number +---@param areaMapID number ---Get information about map zone based on mapId -function GetAreaMapInfo(areaMapID) end \ No newline at end of file +function GetAreaMapInfo(areaMapID) end diff --git a/api/GetAreaMaps.lua b/api/GetAreaMaps.lua index 8c5d86d..184b1cd 100644 --- a/api/GetAreaMaps.lua +++ b/api/GetAreaMaps.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param table table ----@return list zoneid1,zoneid2,zoneid3... +---@param table table +---@return list zoneid1,zoneid2,zoneid3... ---Returns all the IDs of zones available ingame.. When iterating through ALL the zones in the game, you should go over these, instead of something like "for i=1,2000 do ..." -function GetAreaMaps(table) end \ No newline at end of file +function GetAreaMaps(table) end diff --git a/api/GetAreaSpiritHealerTime.lua b/api/GetAreaSpiritHealerTime.lua index 960debf..c7b070d 100644 --- a/api/GetAreaSpiritHealerTime.lua +++ b/api/GetAreaSpiritHealerTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeleft +---@return number timeleft ---Returns the time remaining until a nearby battleground spirit healer resurrects all players in its area -function GetAreaSpiritHealerTime() end \ No newline at end of file +function GetAreaSpiritHealerTime() end diff --git a/api/GetArenaOpponentSpec.lua b/api/GetArenaOpponentSpec.lua index e517c9d..a5b9d94 100644 --- a/api/GetArenaOpponentSpec.lua +++ b/api/GetArenaOpponentSpec.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param oppNumber number ----@return number specialisationID +---@param oppNumber number +---@return number specialisationID ---Returns information about current enemy specialization. -function GetArenaOpponentSpec(oppNumber) end \ No newline at end of file +function GetArenaOpponentSpec(oppNumber) end diff --git a/api/GetArmorEffectiveness.lua b/api/GetArmorEffectiveness.lua index 1fa5f85..7d0965a 100644 --- a/api/GetArmorEffectiveness.lua +++ b/api/GetArmorEffectiveness.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetArmorEffectiveness() end \ No newline at end of file +function GetArmorEffectiveness() end diff --git a/api/GetArmorPenetration.lua b/api/GetArmorPenetration.lua index 7c4f200..78d0eaf 100644 --- a/api/GetArmorPenetration.lua +++ b/api/GetArmorPenetration.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the percentage of enemy armor ignored due to the player's Armor Penetration Rating -function GetArmorPenetration() end \ No newline at end of file +function GetArmorPenetration() end diff --git a/api/GetArtifactInfoByRace.lua b/api/GetArtifactInfoByRace.lua index 3d7f8a0..bf101b6 100644 --- a/api/GetArtifactInfoByRace.lua +++ b/api/GetArtifactInfoByRace.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetArtifactInfoByRace() end \ No newline at end of file +function GetArtifactInfoByRace() end diff --git a/api/GetArtifactProgress.lua b/api/GetArtifactProgress.lua index 282709f..09d28a4 100644 --- a/api/GetArtifactProgress.lua +++ b/api/GetArtifactProgress.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number base ----@return number adjusted ----@return number total_cost +---@return number base +---@return number adjusted +---@return number total_cost ---Returns information about the progress of the currently-selected artifact's construction. -function GetArtifactProgress() end \ No newline at end of file +function GetArtifactProgress() end diff --git a/api/GetAuctionHouseDepositRate.lua b/api/GetAuctionHouseDepositRate.lua index 5947b44..5ae7b1b 100644 --- a/api/GetAuctionHouseDepositRate.lua +++ b/api/GetAuctionHouseDepositRate.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number rate +---@return number rate ---Returns the deposit rate for the current auction house. Obsolete (returns different values for faction and neutral auction houses, but these values do not describe the ratio of auction deposit to an item's vendor buy or sell price); use CalculateAuctionDeposit() instead. -function GetAuctionHouseDepositRate() end \ No newline at end of file +function GetAuctionHouseDepositRate() end diff --git a/api/GetAuctionItemBattlePetInfo.lua b/api/GetAuctionItemBattlePetInfo.lua index 280adfc..6a9551b 100644 --- a/api/GetAuctionItemBattlePetInfo.lua +++ b/api/GetAuctionItemBattlePetInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index Number ----@return Number creatureID ----@return Number displayID +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index Number +---@return Number creatureID +---@return Number displayID ---Retrieves info about one Battle Pet in the current retrieved list of Battle Pets from the Auction House.. The displayID return appears to always be 0, possibly because the function is only used by Blizzard in conjunction with DressUpBattlePet. -function GetAuctionItemBattlePetInfo(list, bidder, list, owner, index) end \ No newline at end of file +function GetAuctionItemBattlePetInfo(list, bidder, list, owner, index) end diff --git a/api/GetAuctionItemClasses.lua b/api/GetAuctionItemClasses.lua index 5338429..5906f6c 100644 --- a/api/GetAuctionItemClasses.lua +++ b/api/GetAuctionItemClasses.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of localized item class (category) names. Item classes are the first level of hierarchy seen when browsing at the Auction House: Weapon, Armor, Container, Consumable, etc. This function still returns valid information if the player is not interacting with an auctioneer. -function GetAuctionItemClasses() end \ No newline at end of file +function GetAuctionItemClasses() end diff --git a/api/GetAuctionItemInfo.lua b/api/GetAuctionItemInfo.lua index 27a493f..186067b 100644 --- a/api/GetAuctionItemInfo.lua +++ b/api/GetAuctionItemInfo.lua @@ -1,22 +1,22 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index number ----@return string name ----@return string texture ----@return number count ----@return number quality ----@return 1nil canUse ----@return number level ----@return number minBid ----@return number minIncrement ----@return number buyoutPrice ----@return number bidAmount ----@return 1nil highestBidder ----@return string owner ----@return number sold +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index number +---@return string name +---@return string texture +---@return number count +---@return number quality +---@return 1nil canUse +---@return number level +---@return number minBid +---@return number minIncrement +---@return number buyoutPrice +---@return number bidAmount +---@return 1nil highestBidder +---@return string owner +---@return number sold ---Returns information about an auction listing -function GetAuctionItemInfo(list, bidder, list, owner, index) end \ No newline at end of file +function GetAuctionItemInfo(list, bidder, list, owner, index) end diff --git a/api/GetAuctionItemLink.lua b/api/GetAuctionItemLink.lua index 4a4316b..340f1e5 100644 --- a/api/GetAuctionItemLink.lua +++ b/api/GetAuctionItemLink.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index number ----@return string link +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index number +---@return string link ---Returns a hyperlink for an item in an auction listing -function GetAuctionItemLink(list, bidder, list, owner, index) end \ No newline at end of file +function GetAuctionItemLink(list, bidder, list, owner, index) end diff --git a/api/GetAuctionItemSubClasses.lua b/api/GetAuctionItemSubClasses.lua index 59868a6..11f113e 100644 --- a/api/GetAuctionItemSubClasses.lua +++ b/api/GetAuctionItemSubClasses.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param classIndex number ----@return list ... +---@param classIndex number +---@return list ... ---Returns a list of localized subclass names for a given item class. Item subclasses are the second level of hierarchy seen when browsing item classes (categories) at the Auction House: One-Handed Axes, Two-Handed Axes, Bows, Guns, et al for Weapon; Cloth, Leather, Plate, Shields, et al for Armor; Food & Drink, Potion, Elixir et al for Consumable; Red, Blue, Yellow, et al for Gem; etc. This function still returns valid information if the player is not interacting with an auctioneer. -function GetAuctionItemSubClasses(classIndex) end \ No newline at end of file +function GetAuctionItemSubClasses(classIndex) end diff --git a/api/GetAuctionItemTimeLeft.lua b/api/GetAuctionItemTimeLeft.lua index fbf009a..52668dc 100644 --- a/api/GetAuctionItemTimeLeft.lua +++ b/api/GetAuctionItemTimeLeft.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index number ----@return 4 duration ----@return 1 ----@return 2 ----@return 3 ----@return 4 +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index number +---@return 4 duration +---@return 1 +---@return 2 +---@return 3 +---@return 4 ---Returns the time remaining before an auction listing expires -function GetAuctionItemTimeLeft(list, bidder, list, owner, index) end \ No newline at end of file +function GetAuctionItemTimeLeft(list, bidder, list, owner, index) end diff --git a/api/GetAuctionSellItemInfo.lua b/api/GetAuctionSellItemInfo.lua index c936b3b..5c50545 100644 --- a/api/GetAuctionSellItemInfo.lua +++ b/api/GetAuctionSellItemInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return string texture ----@return number count ----@return number quality ----@return 1nil canUse ----@return number pricePerStack ----@return number pricePerItem ----@return number maxStack ----@return number invCount +---@return string name +---@return string texture +---@return number count +---@return number quality +---@return 1nil canUse +---@return number pricePerStack +---@return number pricePerItem +---@return number maxStack +---@return number invCount ---Returns information about the item currently being set up for auction. Only returns useful information once an item has been placed in the Create Auction UI's "auction item" slot (see ClickAuctionSellItemButton()). -function GetAuctionSellItemInfo() end \ No newline at end of file +function GetAuctionSellItemInfo() end diff --git a/api/GetAuctionSort.lua b/api/GetAuctionSort.lua index d6a083e..21149b3 100644 --- a/api/GetAuctionSort.lua +++ b/api/GetAuctionSort.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index number ----@return string criterion ----@return 1nil reverse +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index number +---@return string criterion +---@return 1nil reverse ---Returns the current sort settings for auction data. The index argument describes priority order for sort criteria: e.g. if GetAuctionSort("list",1) returns quality and GetAuctionSort("list",2) returns level,1, items are sorted first by itemQuality and items with the same quality are sorted by required level. -function GetAuctionSort(list, bidder, list, owner, index) end \ No newline at end of file +function GetAuctionSort(list, bidder, list, owner, index) end diff --git a/api/GetAutoCompletePresenceID.lua b/api/GetAutoCompletePresenceID.lua index ea2fd03..3909d67 100644 --- a/api/GetAutoCompletePresenceID.lua +++ b/api/GetAutoCompletePresenceID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return number presenceID +---@param name string +---@return number presenceID ---Obtains the presence ID using a full name or BattleTag. -function GetAutoCompletePresenceID(name) end \ No newline at end of file +function GetAutoCompletePresenceID(name) end diff --git a/api/GetAutoCompleteRealms.lua b/api/GetAutoCompleteRealms.lua index 9480b7e..35572ad 100644 --- a/api/GetAutoCompleteRealms.lua +++ b/api/GetAutoCompleteRealms.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAutoCompleteRealms() end \ No newline at end of file +function GetAutoCompleteRealms() end diff --git a/api/GetAutoDeclineGuildInvites.lua b/api/GetAutoDeclineGuildInvites.lua index a9cb8de..99da10c 100644 --- a/api/GetAutoDeclineGuildInvites.lua +++ b/api/GetAutoDeclineGuildInvites.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAutoDeclineGuildInvites() end \ No newline at end of file +function GetAutoDeclineGuildInvites() end diff --git a/api/GetAutoQuestPopUp.lua b/api/GetAutoQuestPopUp.lua index 91e2fe2..14534b9 100644 --- a/api/GetAutoQuestPopUp.lua +++ b/api/GetAutoQuestPopUp.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number questId ----@return OFFER type ----@return COMPLETE ----@return OFFER +---@param index number +---@return number questId +---@return OFFER type +---@return COMPLETE +---@return OFFER ---Returns information about the AutoQuestPopup(s) -function GetAutoQuestPopUp(index) end \ No newline at end of file +function GetAutoQuestPopUp(index) end diff --git a/api/GetAvailableLevel.lua b/api/GetAvailableLevel.lua index 1d89eaf..302aec9 100644 --- a/api/GetAvailableLevel.lua +++ b/api/GetAvailableLevel.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number level +---@param index number +---@return number level ---Returns the level of a quest available from the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. -function GetAvailableLevel(index) end \ No newline at end of file +function GetAvailableLevel(index) end diff --git a/api/GetAvailableLocales.lua b/api/GetAvailableLocales.lua index 0416478..2105dfa 100644 --- a/api/GetAvailableLocales.lua +++ b/api/GetAvailableLocales.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAvailableLocales() end \ No newline at end of file +function GetAvailableLocales() end diff --git a/api/GetAvailableQuestInfo.lua b/api/GetAvailableQuestInfo.lua index 142455e..f88cd60 100644 --- a/api/GetAvailableQuestInfo.lua +++ b/api/GetAvailableQuestInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param availableIndex number ----@return boolean isTrivial ----@return LE_QUEST_FREQUENCY_WEEKLY frequency ----@return 1 ----@return LE_QUEST_FREQUENCY_DAILY ----@return LE_QUEST_FREQUENCY_WEEKLY ----@return boolean isRepeatable ----@return boolean isLegendary +---@param availableIndex number +---@return boolean isTrivial +---@return LE_QUEST_FREQUENCY_WEEKLY frequency +---@return 1 +---@return LE_QUEST_FREQUENCY_DAILY +---@return LE_QUEST_FREQUENCY_WEEKLY +---@return boolean isRepeatable +---@return boolean isLegendary ---Returns the flags of an available quest during an NPC dialog -function GetAvailableQuestInfo(availableIndex) end \ No newline at end of file +function GetAvailableQuestInfo(availableIndex) end diff --git a/api/GetAvailableTitle.lua b/api/GetAvailableTitle.lua index f1443cf..bc98c07 100644 --- a/api/GetAvailableTitle.lua +++ b/api/GetAvailableTitle.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string title +---@param index number +---@return string title ---Returns the name of a quest available from the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. -function GetAvailableTitle(index) end \ No newline at end of file +function GetAvailableTitle(index) end diff --git a/api/GetAverageItemLevel.lua b/api/GetAverageItemLevel.lua index 87c9722..c8bd339 100644 --- a/api/GetAverageItemLevel.lua +++ b/api/GetAverageItemLevel.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number total ----@return number equipped ----@return number pvp +---@return number total +---@return number equipped +---@return number pvp ---Returns the players average item level as displayed in the character pane. -function GetAverageItemLevel() end \ No newline at end of file +function GetAverageItemLevel() end diff --git a/api/GetAvoidance.lua b/api/GetAvoidance.lua index 5aad61b..cdd4f04 100644 --- a/api/GetAvoidance.lua +++ b/api/GetAvoidance.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetAvoidance() end \ No newline at end of file +function GetAvoidance() end diff --git a/api/GetBackpackAutosortDisabled.lua b/api/GetBackpackAutosortDisabled.lua index 6dbfba2..8c5058f 100644 --- a/api/GetBackpackAutosortDisabled.lua +++ b/api/GetBackpackAutosortDisabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBackpackAutosortDisabled() end \ No newline at end of file +function GetBackpackAutosortDisabled() end diff --git a/api/GetBackpackCurrencyInfo.lua b/api/GetBackpackCurrencyInfo.lua index 210194a..1d231d9 100644 --- a/api/GetBackpackCurrencyInfo.lua +++ b/api/GetBackpackCurrencyInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return number count ----@return 2 extraCurrencyType ----@return 0 ----@return 1 ----@return 2 ----@return string icon ----@return number itemID +---@param index number +---@return string name +---@return number count +---@return 2 extraCurrencyType +---@return 0 +---@return 1 +---@return 2 +---@return string icon +---@return number itemID ---Returns information about a currency marked for watching on the Backpack UI -function GetBackpackCurrencyInfo(index) end \ No newline at end of file +function GetBackpackCurrencyInfo(index) end diff --git a/api/GetBagName.lua b/api/GetBagName.lua index 3d72027..810026a 100644 --- a/api/GetBagName.lua +++ b/api/GetBagName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@return string name +---@param container number +---@return string name ---Returns the name of one of the player's bags. Returns nil for the bank and keyring, for bank bags while the player is not at the bank, and for empty bag or bank bag slots. -function GetBagName(container) end \ No newline at end of file +function GetBagName(container) end diff --git a/api/GetBagSlotFlag.lua b/api/GetBagSlotFlag.lua index 24d3884..a06df04 100644 --- a/api/GetBagSlotFlag.lua +++ b/api/GetBagSlotFlag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBagSlotFlag() end \ No newline at end of file +function GetBagSlotFlag() end diff --git a/api/GetBankAutosortDisabled.lua b/api/GetBankAutosortDisabled.lua index dcafa07..41eaac7 100644 --- a/api/GetBankAutosortDisabled.lua +++ b/api/GetBankAutosortDisabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBankAutosortDisabled() end \ No newline at end of file +function GetBankAutosortDisabled() end diff --git a/api/GetBankBagSlotFlag.lua b/api/GetBankBagSlotFlag.lua index 20c176a..37fa0db 100644 --- a/api/GetBankBagSlotFlag.lua +++ b/api/GetBankBagSlotFlag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBankBagSlotFlag() end \ No newline at end of file +function GetBankBagSlotFlag() end diff --git a/api/GetBankSlotCost.lua b/api/GetBankSlotCost.lua index e97996c..5821ad7 100644 --- a/api/GetBankSlotCost.lua +++ b/api/GetBankSlotCost.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cost +---@return number cost ---Returns the cost of the next purchasable bank bag slot. Returns 999999999 if the player owns all available slots. -function GetBankSlotCost() end \ No newline at end of file +function GetBankSlotCost() end diff --git a/api/GetBarberShopTotalCost.lua b/api/GetBarberShopTotalCost.lua index 2bf898f..89305c9 100644 --- a/api/GetBarberShopTotalCost.lua +++ b/api/GetBarberShopTotalCost.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cost +---@return number cost ---Returns the total price of selected barber shop style changes -function GetBarberShopTotalCost() end \ No newline at end of file +function GetBarberShopTotalCost() end diff --git a/api/GetBattlefieldArenaFaction.lua b/api/GetBattlefieldArenaFaction.lua index 09d8f67..7e13abd 100644 --- a/api/GetBattlefieldArenaFaction.lua +++ b/api/GetBattlefieldArenaFaction.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns faction. Returns faction in and out of battlegrounds -function GetBattlefieldArenaFaction() end \ No newline at end of file +function GetBattlefieldArenaFaction() end diff --git a/api/GetBattlefieldEstimatedWaitTime.lua b/api/GetBattlefieldEstimatedWaitTime.lua index b8f26a3..31daa7e 100644 --- a/api/GetBattlefieldEstimatedWaitTime.lua +++ b/api/GetBattlefieldEstimatedWaitTime.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number waitTime +---@param index number +---@return number waitTime ---Returns the estimated wait time on a battleground or arena queue -function GetBattlefieldEstimatedWaitTime(index) end \ No newline at end of file +function GetBattlefieldEstimatedWaitTime(index) end diff --git a/api/GetBattlefieldFlagPosition.lua b/api/GetBattlefieldFlagPosition.lua index 1cf2cd5..cf28eec 100644 --- a/api/GetBattlefieldFlagPosition.lua +++ b/api/GetBattlefieldFlagPosition.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number flagX ----@return number flagY ----@return string flagToken +---@param index number +---@return number flagX +---@return number flagY +---@return string flagToken ---Returns the position of a flag in a battleground -function GetBattlefieldFlagPosition(index) end \ No newline at end of file +function GetBattlefieldFlagPosition(index) end diff --git a/api/GetBattlefieldInstanceExpiration.lua b/api/GetBattlefieldInstanceExpiration.lua index a7210e9..dc031ab 100644 --- a/api/GetBattlefieldInstanceExpiration.lua +++ b/api/GetBattlefieldInstanceExpiration.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeLeft +---@return number timeLeft ---Returns the amount of time remaining before all players are removed from the instance, if in a battleground instance where the match has completed -function GetBattlefieldInstanceExpiration() end \ No newline at end of file +function GetBattlefieldInstanceExpiration() end diff --git a/api/GetBattlefieldInstanceRunTime.lua b/api/GetBattlefieldInstanceRunTime.lua index 50d53c6..d0a4c39 100644 --- a/api/GetBattlefieldInstanceRunTime.lua +++ b/api/GetBattlefieldInstanceRunTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number time +---@return number time ---Returns the amount of time since the current battleground instance opened -function GetBattlefieldInstanceRunTime() end \ No newline at end of file +function GetBattlefieldInstanceRunTime() end diff --git a/api/GetBattlefieldMapIconScale.lua b/api/GetBattlefieldMapIconScale.lua index 57ca757..1ed79cc 100644 --- a/api/GetBattlefieldMapIconScale.lua +++ b/api/GetBattlefieldMapIconScale.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number scale +---@return number scale ---Returns the scale to be used for displaying battleground map icons. Used in the default UI to determine the size of the point of interest icons (towers, graveyards, etc.) on the zone map (the small battle minimap). The default size of the icons is set by DEFAULT_POI_ICON_SIZE and the scale is used to grow or shrink them depending on the size of the map. -function GetBattlefieldMapIconScale() end \ No newline at end of file +function GetBattlefieldMapIconScale() end diff --git a/api/GetBattlefieldPortExpiration.lua b/api/GetBattlefieldPortExpiration.lua index 5f92d7e..6400a2d 100644 --- a/api/GetBattlefieldPortExpiration.lua +++ b/api/GetBattlefieldPortExpiration.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number expiration +---@param index number +---@return number expiration ---Returns the time left on a battleground or arena invitation -function GetBattlefieldPortExpiration(index) end \ No newline at end of file +function GetBattlefieldPortExpiration(index) end diff --git a/api/GetBattlefieldScore.lua b/api/GetBattlefieldScore.lua index 86a88d9..8e56cd6 100644 --- a/api/GetBattlefieldScore.lua +++ b/api/GetBattlefieldScore.lua @@ -1,23 +1,23 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return number killingBlows ----@return number honorableKills ----@return number deaths ----@return number honorGained ----@return 1 faction ----@return 0 ----@return 1 ----@return string race ----@return string class ----@return string classToken ----@return number damageDone ----@return number healingDone ----@return number bgRating ----@return number ratingChange ----@return number preMatchMMR ----@return number mmrChange ----@return string talentSpec +---@param index number +---@return string name +---@return number killingBlows +---@return number honorableKills +---@return number deaths +---@return number honorGained +---@return 1 faction +---@return 0 +---@return 1 +---@return string race +---@return string class +---@return string classToken +---@return number damageDone +---@return number healingDone +---@return number bgRating +---@return number ratingChange +---@return number preMatchMMR +---@return number mmrChange +---@return string talentSpec ---Returns basic scoreboard information for a battleground/arena participant. Does not include battleground-specific score data (e.g. flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc); see GetBattlefieldStatData() for such information. -function GetBattlefieldScore(index) end \ No newline at end of file +function GetBattlefieldScore(index) end diff --git a/api/GetBattlefieldStatData.lua b/api/GetBattlefieldStatData.lua index 69b1f42..1ab6520 100644 --- a/api/GetBattlefieldStatData.lua +++ b/api/GetBattlefieldStatData.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param statIndex number ----@return number columnData +---@param index number +---@param statIndex number +---@return number columnData ---Returns battleground-specific scoreboard information for a battleground participant. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc. For the name and icon associated with each statistic, see GetBattlefieldStatInfo(). For basic battleground score information, see GetBattlefieldScore(). -function GetBattlefieldStatData(index, statIndex) end \ No newline at end of file +function GetBattlefieldStatData(index, statIndex) end diff --git a/api/GetBattlefieldStatInfo.lua b/api/GetBattlefieldStatInfo.lua index aadc27b..629a6f2 100644 --- a/api/GetBattlefieldStatInfo.lua +++ b/api/GetBattlefieldStatInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param statIndex number ----@return string text ----@return string icon ----@return string tooltip +---@param statIndex number +---@return string text +---@return string icon +---@return string tooltip ---Returns information about a battleground-specific scoreboard column. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc. -function GetBattlefieldStatInfo(statIndex) end \ No newline at end of file +function GetBattlefieldStatInfo(statIndex) end diff --git a/api/GetBattlefieldStatus.lua b/api/GetBattlefieldStatus.lua index bbf024f..552096c 100644 --- a/api/GetBattlefieldStatus.lua +++ b/api/GetBattlefieldStatus.lua @@ -1,20 +1,20 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return queued status ----@return active ----@return confirm ----@return none ----@return queued ----@return string mapName ----@return number instanceID ----@return number bracketMin ----@return number bracketMax ----@return 5 teamSize ----@return 0 ----@return 2 ----@return 3 ----@return 5 ----@return 1nil registeredMatch +---@param index number +---@return queued status +---@return active +---@return confirm +---@return none +---@return queued +---@return string mapName +---@return number instanceID +---@return number bracketMin +---@return number bracketMax +---@return 5 teamSize +---@return 0 +---@return 2 +---@return 3 +---@return 5 +---@return 1nil registeredMatch ---Returns information about an active or queued battleground/arena instance -function GetBattlefieldStatus(index) end \ No newline at end of file +function GetBattlefieldStatus(index) end diff --git a/api/GetBattlefieldTimeWaited.lua b/api/GetBattlefieldTimeWaited.lua index 88ecb9f..b348056 100644 --- a/api/GetBattlefieldTimeWaited.lua +++ b/api/GetBattlefieldTimeWaited.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number timeInQueue +---@param index number +---@return number timeInQueue ---Returns the amount of time elapsed since the player joined the queue for a battleground/arena -function GetBattlefieldTimeWaited(index) end \ No newline at end of file +function GetBattlefieldTimeWaited(index) end diff --git a/api/GetBattlefieldVehicleInfo.lua b/api/GetBattlefieldVehicleInfo.lua index f8727b0..52456aa 100644 --- a/api/GetBattlefieldVehicleInfo.lua +++ b/api/GetBattlefieldVehicleInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number vehicleX ----@return number vehicleY ----@return string unitName ----@return boolean isPossessed ----@return Idle vehicleType ----@return Airship Alliance ----@return Airship Horde ----@return Carriage ----@return Drive ----@return Fly ----@return Idle ----@return number orientation ----@return boolean isPlayer ----@return boolean isAlive +---@param index number +---@return number vehicleX +---@return number vehicleY +---@return string unitName +---@return boolean isPossessed +---@return Idle vehicleType +---@return Airship Alliance +---@return Airship Horde +---@return Carriage +---@return Drive +---@return Fly +---@return Idle +---@return number orientation +---@return boolean isPlayer +---@return boolean isAlive ---Returns information about special vehicles in the current zone. Used only for certain vehicles in certain zones: includes the airships in Icecrown as well as vehicles used in Ulduar, Wintergrasp, and Strand of the Ancients. -function GetBattlefieldVehicleInfo(index) end \ No newline at end of file +function GetBattlefieldVehicleInfo(index) end diff --git a/api/GetBattlefieldWinner.lua b/api/GetBattlefieldWinner.lua index c4927ac..d53d304 100644 --- a/api/GetBattlefieldWinner.lua +++ b/api/GetBattlefieldWinner.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 255 winner ----@return 0 ----@return 1 ----@return 255 +---@return 255 winner +---@return 0 +---@return 1 +---@return 255 ---Returns the winner of the current battleground or arena match -function GetBattlefieldWinner() end \ No newline at end of file +function GetBattlefieldWinner() end diff --git a/api/GetBattlegroundInfo.lua b/api/GetBattlegroundInfo.lua index 27b643d..40a9cc3 100644 --- a/api/GetBattlegroundInfo.lua +++ b/api/GetBattlegroundInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string localizedName ----@return 1nil canEnter ----@return 1nil isHoliday ----@return 1nil isRandom ----@return number BattleGroundID ----@return string mapDescription +---@param index number +---@return string localizedName +---@return 1nil canEnter +---@return 1nil isHoliday +---@return 1nil isRandom +---@return number BattleGroundID +---@return string mapDescription ---Returns information about available battlegrounds -function GetBattlegroundInfo(index) end \ No newline at end of file +function GetBattlegroundInfo(index) end diff --git a/api/GetBattlegroundPoints.lua b/api/GetBattlegroundPoints.lua index 954e4bc..05bbd79 100644 --- a/api/GetBattlegroundPoints.lua +++ b/api/GetBattlegroundPoints.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBattlegroundPoints() end \ No newline at end of file +function GetBattlegroundPoints() end diff --git a/api/GetBestFlexRaidChoice.lua b/api/GetBestFlexRaidChoice.lua index 4205415..226d432 100644 --- a/api/GetBestFlexRaidChoice.lua +++ b/api/GetBestFlexRaidChoice.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBestFlexRaidChoice() end \ No newline at end of file +function GetBestFlexRaidChoice() end diff --git a/api/GetBestRFChoice.lua b/api/GetBestRFChoice.lua index dcbf923..6ab89e8 100644 --- a/api/GetBestRFChoice.lua +++ b/api/GetBestRFChoice.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBestRFChoice() end \ No newline at end of file +function GetBestRFChoice() end diff --git a/api/GetBidderAuctionItems.lua b/api/GetBidderAuctionItems.lua index cee2423..152797f 100644 --- a/api/GetBidderAuctionItems.lua +++ b/api/GetBidderAuctionItems.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests data from the server for the list of auctions bid on by the player. The AUCTION_BIDDER_LIST_UPDATE event fires if new data is available; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs. -function GetBidderAuctionItems() end \ No newline at end of file +function GetBidderAuctionItems() end diff --git a/api/GetBillingTimeRested.lua b/api/GetBillingTimeRested.lua index a4e3791..39d5459 100644 --- a/api/GetBillingTimeRested.lua +++ b/api/GetBillingTimeRested.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number time +---@return number time ---Returns the amount of time for which the player must be offline in order to lift play time restrictions. After playing for a number of hours, restrictions may be placed on the player's ability to gain loot or XP, complete quests, or use trade skills; if in such a state, the player must log off for the period of time specified by this function in order to return to normal play. Only used in locales where the length of play sessions is restricted (e.g. mainland China). -function GetBillingTimeRested() end \ No newline at end of file +function GetBillingTimeRested() end diff --git a/api/GetBindLocation.lua b/api/GetBindLocation.lua index 58cbcb7..6eee140 100644 --- a/api/GetBindLocation.lua +++ b/api/GetBindLocation.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string location +---@return string location ---Returns the name of the player's Hearthstone location -function GetBindLocation() end \ No newline at end of file +function GetBindLocation() end diff --git a/api/GetBinding.lua b/api/GetBinding.lua index e5899ed..e82ec7f 100644 --- a/api/GetBinding.lua +++ b/api/GetBinding.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string commandName ----@return string binding1 ----@return string binding2 +---@param index number +---@return string commandName +---@return string binding1 +---@return string binding2 ---Returns information about a key binding -function GetBinding(index) end \ No newline at end of file +function GetBinding(index) end diff --git a/api/GetBindingAction.lua b/api/GetBindingAction.lua index d4e80e5..c55f87c 100644 --- a/api/GetBindingAction.lua +++ b/api/GetBindingAction.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@param checkOverride boolean ----@return string action +---@param key string +---@param checkOverride boolean +---@return string action ---Returns the action bound to a key or key combination -function GetBindingAction(key, checkOverride) end \ No newline at end of file +function GetBindingAction(key, checkOverride) end diff --git a/api/GetBindingByKey.lua b/api/GetBindingByKey.lua index e7f4da0..9d13ce4 100644 --- a/api/GetBindingByKey.lua +++ b/api/GetBindingByKey.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@return string action +---@param key string +---@return string action ---Returns the action bound to a key or key combination -function GetBindingByKey(key) end \ No newline at end of file +function GetBindingByKey(key) end diff --git a/api/GetBindingKey.lua b/api/GetBindingKey.lua index 159dbad..12fc4fb 100644 --- a/api/GetBindingKey.lua +++ b/api/GetBindingKey.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param COMMAND string ----@return string key1 ----@return list ... +---@param COMMAND string +---@return string key1 +---@return list ... ---Returns the key combinations for a given binding command. Although the default UI only allows two combinations to be bound to a command, more than two can be set via the API. -function GetBindingKey(COMMAND) end \ No newline at end of file +function GetBindingKey(COMMAND) end diff --git a/api/GetBindingText.lua b/api/GetBindingText.lua index 0c975a8..6cc1d0f 100644 --- a/api/GetBindingText.lua +++ b/api/GetBindingText.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBindingText() end \ No newline at end of file +function GetBindingText() end diff --git a/api/GetBlacklistMap.lua b/api/GetBlacklistMap.lua index ecf22a4..251cf82 100644 --- a/api/GetBlacklistMap.lua +++ b/api/GetBlacklistMap.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param i number ----@return number bgIndex +---@param i number +---@return number bgIndex ---Return ID of blacklisted battleground. -function GetBlacklistMap(i) end \ No newline at end of file +function GetBlacklistMap(i) end diff --git a/api/GetBlacklistMapName.lua b/api/GetBlacklistMapName.lua index 44dd92f..da21ae9 100644 --- a/api/GetBlacklistMapName.lua +++ b/api/GetBlacklistMapName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBlacklistMapName() end \ No newline at end of file +function GetBlacklistMapName() end diff --git a/api/GetBladedArmorEffect.lua b/api/GetBladedArmorEffect.lua index 665ca71..099350e 100644 --- a/api/GetBladedArmorEffect.lua +++ b/api/GetBladedArmorEffect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBladedArmorEffect() end \ No newline at end of file +function GetBladedArmorEffect() end diff --git a/api/GetBlockChance.lua b/api/GetBlockChance.lua index e8da424..f13209d 100644 --- a/api/GetBlockChance.lua +++ b/api/GetBlockChance.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number chance +---@return number chance ---Returns the player's percentage chance to block with a shield -function GetBlockChance() end \ No newline at end of file +function GetBlockChance() end diff --git a/api/GetBonusBarIndex.lua b/api/GetBonusBarIndex.lua index 8baf626..91dbd43 100644 --- a/api/GetBonusBarIndex.lua +++ b/api/GetBonusBarIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetBonusBarIndex() end \ No newline at end of file +function GetBonusBarIndex() end diff --git a/api/GetBonusBarOffset.lua b/api/GetBonusBarOffset.lua index ce681dd..0313689 100644 --- a/api/GetBonusBarOffset.lua +++ b/api/GetBonusBarOffset.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number offset +---@return number offset ---Returns the current "stance" offset for use with the bonus action bar. This value corresponds to what "stance" the player is currently in, and more specifically which set of actions correspond to that stance. Action IDs for special stances start on action bar #7 (or NUM_ACTIONBAR_PAGES + 1), so the offset returned by this function corresponds to the number to be added to NUM_ACTIONBAR_PAGES in calculating action IDs for these action bars. Note that the UI definition of "stance" includes not just warrior stances but also druid shapeshift forms, rogue/druid stealth, priest shadowform, and various other cases, but does not necessarily include all states normally presented in the default UI's stance/shapeshift bar (notable exclusions are paladin auras and death knight presences). -function GetBonusBarOffset() end \ No newline at end of file +function GetBonusBarOffset() end diff --git a/api/GetBuildInfo.lua b/api/GetBuildInfo.lua index 36c7ef4..d13927e 100644 --- a/api/GetBuildInfo.lua +++ b/api/GetBuildInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string version ----@return string internalVersion ----@return string date ----@return number uiVersion +---@return string version +---@return string internalVersion +---@return string date +---@return number uiVersion ---Returns the version information about the client -function GetBuildInfo() end \ No newline at end of file +function GetBuildInfo() end diff --git a/api/GetBuybackItemInfo.lua b/api/GetBuybackItemInfo.lua index c4e9640..c1d7ef4 100644 --- a/api/GetBuybackItemInfo.lua +++ b/api/GetBuybackItemInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number price ----@return number quantity ----@return number numAvailable ----@return 1nil isUsable +---@param index number +---@return string name +---@return string texture +---@return number price +---@return number quantity +---@return number numAvailable +---@return 1nil isUsable ---Returns information about an item recently sold to a vendor and available to be repurchased -function GetBuybackItemInfo(index) end \ No newline at end of file +function GetBuybackItemInfo(index) end diff --git a/api/GetBuybackItemLink.lua b/api/GetBuybackItemLink.lua index 40d77df..435e176 100644 --- a/api/GetBuybackItemLink.lua +++ b/api/GetBuybackItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for an item recently sold to a vendor and available to be repurchased -function GetBuybackItemLink(index) end \ No newline at end of file +function GetBuybackItemLink(index) end diff --git a/api/GetCVar.lua b/api/GetCVar.lua index 8980fed..1e9c130 100644 --- a/api/GetCVar.lua +++ b/api/GetCVar.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cvar string ----@return any string +---@param cvar string +---@return any string ---Returns the value of a configuration variable. Causes an error if the named CVar does not exist. Note that all values are returned as strings: use of tonumber() may be required if using a value in a numeric context. (See also GetCVarBool() for binary values.) -function GetCVar(cvar) end \ No newline at end of file +function GetCVar(cvar) end diff --git a/api/GetCVarBitfield.lua b/api/GetCVarBitfield.lua index b0bf4eb..e8c4a2b 100644 --- a/api/GetCVarBitfield.lua +++ b/api/GetCVarBitfield.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCVarBitfield() end \ No newline at end of file +function GetCVarBitfield() end diff --git a/api/GetCVarBool.lua b/api/GetCVarBool.lua index ff08ae7..3846ba6 100644 --- a/api/GetCVarBool.lua +++ b/api/GetCVarBool.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cvar string ----@return 1nil value +---@param cvar string +---@return 1nil value ---Returns the value of a configuration variable in a format compatible with Lua conditional expressions. All configuration variables are stored as strings; many CVars represent the state of a binary flag and are stored as either "1" or "0". This function provides a convenient way to test the state of such variables without the extra syntax required to explicitly check for "1" or "0" values. -function GetCVarBool(cvar) end \ No newline at end of file +function GetCVarBool(cvar) end diff --git a/api/GetCVarDefault.lua b/api/GetCVarDefault.lua index 9d23e6d..73fb250 100644 --- a/api/GetCVarDefault.lua +++ b/api/GetCVarDefault.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param CVar string ----@return string value +---@param CVar string +---@return string value ---Returns the default value of a configuration variable. Causes an error if the named CVar does not exist. -function GetCVarDefault(CVar) end \ No newline at end of file +function GetCVarDefault(CVar) end diff --git a/api/GetCVarInfo.lua b/api/GetCVarInfo.lua index 19a1e1b..30b274c 100644 --- a/api/GetCVarInfo.lua +++ b/api/GetCVarInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cvar string ----@return string value ----@return string defaultValue ----@return 1nil serverStoredAccountWide ----@return 1nil serverStoredPerCharacter +---@param cvar string +---@return string value +---@return string defaultValue +---@return 1nil serverStoredAccountWide +---@return 1nil serverStoredPerCharacter ---Returns information about a configuration variable -function GetCVarInfo(cvar) end \ No newline at end of file +function GetCVarInfo(cvar) end diff --git a/api/GetCallPetSpellInfo.lua b/api/GetCallPetSpellInfo.lua index d69a200..7393f51 100644 --- a/api/GetCallPetSpellInfo.lua +++ b/api/GetCallPetSpellInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCallPetSpellInfo() end \ No newline at end of file +function GetCallPetSpellInfo() end diff --git a/api/GetCategoryAchievementPoints.lua b/api/GetCategoryAchievementPoints.lua index 962cc9f..987017e 100644 --- a/api/GetCategoryAchievementPoints.lua +++ b/api/GetCategoryAchievementPoints.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param categoryID number ----@param includeSubCategories boolean ----@return number total +---@param categoryID number +---@param includeSubCategories boolean +---@return number total ---Returns the number of achievement points obtained in this category -function GetCategoryAchievementPoints(categoryID, includeSubCategories) end \ No newline at end of file +function GetCategoryAchievementPoints(categoryID, includeSubCategories) end diff --git a/api/GetCategoryInfo.lua b/api/GetCategoryInfo.lua index 1460372..dac0ef3 100644 --- a/api/GetCategoryInfo.lua +++ b/api/GetCategoryInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string name ----@return number parentID ----@return bitfield flags +---@param id number +---@return string name +---@return number parentID +---@return bitfield flags ---Returns information about an achievement/statistic category -function GetCategoryInfo(id) end \ No newline at end of file +function GetCategoryInfo(id) end diff --git a/api/GetCategoryList.lua b/api/GetCategoryList.lua index 825b133..0111829 100644 --- a/api/GetCategoryList.lua +++ b/api/GetCategoryList.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table categories +---@return table categories ---Returns a list of all achievement categories. See GetGuildCategoryList() for the guild version. -function GetCategoryList() end \ No newline at end of file +function GetCategoryList() end diff --git a/api/GetCategoryNumAchievements.lua b/api/GetCategoryNumAchievements.lua index a9b8b75..54234b5 100644 --- a/api/GetCategoryNumAchievements.lua +++ b/api/GetCategoryNumAchievements.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@param includeSuperseded boolean ----@return number numItems ----@return number numCompleted ----@return number numUncompleted +---@param id number +---@param includeSuperseded boolean +---@return number numItems +---@return number numCompleted +---@return number numUncompleted ---Returns the number of achievements/statistics to display in a category. Without the includeSuperseded parameter this function only returns the number of achievements displayed in the default UI. The includeSuperseded parameter does not influence the number to be displayed in the default UI. Achievements may belong to a category but not be counted for display: e.g. among those which are part of a series (100 Quests Completed, 500 Quests Completed), only the achievement most recently completed and the achievement following it in the series are shown.Note that numUncompleted only includes the visible uncompleted achievements, so in e.g. the series 10 quests -> 25 quests -> 100 quests -> 500 quests, if you've completed 80 quests (so "100 quests" comes next and "500 quests" is hidden), only "100 quests" counts towards numUncompleted.BUG: for includeSuperseded=false the returned numItems is sometimes too high (as is numUncompleted) -function GetCategoryNumAchievements(id, includeSuperseded) end \ No newline at end of file +function GetCategoryNumAchievements(id, includeSuperseded) end diff --git a/api/GetCemeteryPreference.lua b/api/GetCemeteryPreference.lua index 942019d..cd29bbf 100644 --- a/api/GetCemeteryPreference.lua +++ b/api/GetCemeteryPreference.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCemeteryPreference() end \ No newline at end of file +function GetCemeteryPreference() end diff --git a/api/GetChallengeBestTime.lua b/api/GetChallengeBestTime.lua index bb73ddb..482e4b6 100644 --- a/api/GetChallengeBestTime.lua +++ b/api/GetChallengeBestTime.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeBestTime() end \ No newline at end of file +function GetChallengeBestTime() end diff --git a/api/GetChallengeBestTimeInfo.lua b/api/GetChallengeBestTimeInfo.lua index 7e2f7a8..42b40aa 100644 --- a/api/GetChallengeBestTimeInfo.lua +++ b/api/GetChallengeBestTimeInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeBestTimeInfo() end \ No newline at end of file +function GetChallengeBestTimeInfo() end diff --git a/api/GetChallengeBestTimeNum.lua b/api/GetChallengeBestTimeNum.lua index e956638..ea982b8 100644 --- a/api/GetChallengeBestTimeNum.lua +++ b/api/GetChallengeBestTimeNum.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeBestTimeNum() end \ No newline at end of file +function GetChallengeBestTimeNum() end diff --git a/api/GetChallengeMapMoney.lua b/api/GetChallengeMapMoney.lua index e46ab15..a85fded 100644 --- a/api/GetChallengeMapMoney.lua +++ b/api/GetChallengeMapMoney.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeMapMoney() end \ No newline at end of file +function GetChallengeMapMoney() end diff --git a/api/GetChallengeMapRewardInfo.lua b/api/GetChallengeMapRewardInfo.lua index a739a6d..9895503 100644 --- a/api/GetChallengeMapRewardInfo.lua +++ b/api/GetChallengeMapRewardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeMapRewardInfo() end \ No newline at end of file +function GetChallengeMapRewardInfo() end diff --git a/api/GetChallengeMode.lua b/api/GetChallengeMode.lua index 6c04a8b..fd865ca 100644 --- a/api/GetChallengeMode.lua +++ b/api/GetChallengeMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeMode() end \ No newline at end of file +function GetChallengeMode() end diff --git a/api/GetChallengeModeCompletionInfo.lua b/api/GetChallengeModeCompletionInfo.lua index 25ed5b9..3aa54f5 100644 --- a/api/GetChallengeModeCompletionInfo.lua +++ b/api/GetChallengeModeCompletionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeCompletionInfo() end \ No newline at end of file +function GetChallengeModeCompletionInfo() end diff --git a/api/GetChallengeModeCompletionReward.lua b/api/GetChallengeModeCompletionReward.lua index cdc4020..fcda181 100644 --- a/api/GetChallengeModeCompletionReward.lua +++ b/api/GetChallengeModeCompletionReward.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeCompletionReward() end \ No newline at end of file +function GetChallengeModeCompletionReward() end diff --git a/api/GetChallengeModeLeaderInfo.lua b/api/GetChallengeModeLeaderInfo.lua index dc72b92..7d2b452 100644 --- a/api/GetChallengeModeLeaderInfo.lua +++ b/api/GetChallengeModeLeaderInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeLeaderInfo() end \ No newline at end of file +function GetChallengeModeLeaderInfo() end diff --git a/api/GetChallengeModeMapInfo.lua b/api/GetChallengeModeMapInfo.lua index d4eb4f4..0436445 100644 --- a/api/GetChallengeModeMapInfo.lua +++ b/api/GetChallengeModeMapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeMapInfo() end \ No newline at end of file +function GetChallengeModeMapInfo() end diff --git a/api/GetChallengeModeMapPlayerStats.lua b/api/GetChallengeModeMapPlayerStats.lua index be36b57..5722c2d 100644 --- a/api/GetChallengeModeMapPlayerStats.lua +++ b/api/GetChallengeModeMapPlayerStats.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeMapPlayerStats() end \ No newline at end of file +function GetChallengeModeMapPlayerStats() end diff --git a/api/GetChallengeModeMapTable.lua b/api/GetChallengeModeMapTable.lua index 97a5d42..5514acf 100644 --- a/api/GetChallengeModeMapTable.lua +++ b/api/GetChallengeModeMapTable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeMapTable() end \ No newline at end of file +function GetChallengeModeMapTable() end diff --git a/api/GetChallengeModeMapTimes.lua b/api/GetChallengeModeMapTimes.lua index 88b2bfc..834c1cc 100644 --- a/api/GetChallengeModeMapTimes.lua +++ b/api/GetChallengeModeMapTimes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChallengeModeMapTimes() end \ No newline at end of file +function GetChallengeModeMapTimes() end diff --git a/api/GetChannelDisplayInfo.lua b/api/GetChannelDisplayInfo.lua index 7e4adb0..5cce7fe 100644 --- a/api/GetChannelDisplayInfo.lua +++ b/api/GetChannelDisplayInfo.lua @@ -1,17 +1,17 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return 1nil header ----@return 1nil collapsed ----@return number channelNumber ----@return number count ----@return 1nil active ----@return CHANNEL_CATEGORY_WORLD category ----@return CHANNEL_CATEGORY_CUSTOM ----@return CHANNEL_CATEGORY_GROUP ----@return CHANNEL_CATEGORY_WORLD ----@return 1nil voiceEnabled ----@return 1nil voiceActive +---@param index number +---@return string name +---@return 1nil header +---@return 1nil collapsed +---@return number channelNumber +---@return number count +---@return 1nil active +---@return CHANNEL_CATEGORY_WORLD category +---@return CHANNEL_CATEGORY_CUSTOM +---@return CHANNEL_CATEGORY_GROUP +---@return CHANNEL_CATEGORY_WORLD +---@return 1nil voiceEnabled +---@return 1nil voiceActive ---Returns information about an entry in the channel list display -function GetChannelDisplayInfo(index) end \ No newline at end of file +function GetChannelDisplayInfo(index) end diff --git a/api/GetChannelList.lua b/api/GetChannelList.lua index 91f36a6..4c1968a 100644 --- a/api/GetChannelList.lua +++ b/api/GetChannelList.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index ----@return string channel ----@return list ... +---@return number index +---@return string channel +---@return list ... ---Returns the list of the channels the player has joined -function GetChannelList() end \ No newline at end of file +function GetChannelList() end diff --git a/api/GetChannelName.lua b/api/GetChannelName.lua index 37606a5..fa9a408 100644 --- a/api/GetChannelName.lua +++ b/api/GetChannelName.lua @@ -1,6 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ---@param channelIndex number +---@param channelName string ---@return number channel ---@return string channelName ---@return number instanceID diff --git a/api/GetChannelRosterInfo.lua b/api/GetChannelRosterInfo.lua index b6f8d58..c696448 100644 --- a/api/GetChannelRosterInfo.lua +++ b/api/GetChannelRosterInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param rosterIndex number ----@return string name ----@return 1nil owner ----@return 1nil moderator ----@return 1nil muted ----@return 1nil active ----@return 1nil enabled +---@param index number +---@param rosterIndex number +---@return string name +---@return 1nil owner +---@return 1nil moderator +---@return 1nil muted +---@return 1nil active +---@return 1nil enabled ---Returns information about a character in a chat channel in the channel list display -function GetChannelRosterInfo(index, rosterIndex) end \ No newline at end of file +function GetChannelRosterInfo(index, rosterIndex) end diff --git a/api/GetChatTypeIndex.lua b/api/GetChatTypeIndex.lua index ee2b1aa..7d8587e 100644 --- a/api/GetChatTypeIndex.lua +++ b/api/GetChatTypeIndex.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param messageGroup string ----@return number index +---@param messageGroup string +---@return number index ---Returns the numeric index corresponding to a chat message type. These indices are used in the default UI to identify lines printed in a chat window, allowing (for example) their color to be changed to match changes in the player's color preferences. -function GetChatTypeIndex(messageGroup) end \ No newline at end of file +function GetChatTypeIndex(messageGroup) end diff --git a/api/GetChatWindowChannels.lua b/api/GetChatWindowChannels.lua index 34c5956..c9db3ab 100644 --- a/api/GetChatWindowChannels.lua +++ b/api/GetChatWindowChannels.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string channelName ----@return number channelId ----@return list ... +---@param index number +---@return string channelName +---@return number channelId +---@return list ... ---Returns the saved list of channels to which a chat window is subscribed -function GetChatWindowChannels(index) end \ No newline at end of file +function GetChatWindowChannels(index) end diff --git a/api/GetChatWindowInfo.lua b/api/GetChatWindowInfo.lua index a5f8d7a..b550afc 100644 --- a/api/GetChatWindowInfo.lua +++ b/api/GetChatWindowInfo.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return number fontSize ----@return number r ----@return number g ----@return number b ----@return number alpha ----@return number shown ----@return number locked ----@return number docked ----@return number uninteractable +---@param index number +---@return string name +---@return number fontSize +---@return number r +---@return number g +---@return number b +---@return number alpha +---@return number shown +---@return number locked +---@return number docked +---@return number uninteractable ---Returns the saved settings for a chat window. These values reflect the settings saved between sessions, which are used by the default UI to set up the chat frames it displays. -function GetChatWindowInfo(index) end \ No newline at end of file +function GetChatWindowInfo(index) end diff --git a/api/GetChatWindowMessages.lua b/api/GetChatWindowMessages.lua index 4474067..2721a71 100644 --- a/api/GetChatWindowMessages.lua +++ b/api/GetChatWindowMessages.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return list ... +---@param index number +---@return list ... ---Returns the saved list of messages to which a chat window is subscribed -function GetChatWindowMessages(index) end \ No newline at end of file +function GetChatWindowMessages(index) end diff --git a/api/GetChatWindowSavedDimensions.lua b/api/GetChatWindowSavedDimensions.lua index c18612a..4ce3f6e 100644 --- a/api/GetChatWindowSavedDimensions.lua +++ b/api/GetChatWindowSavedDimensions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChatWindowSavedDimensions() end \ No newline at end of file +function GetChatWindowSavedDimensions() end diff --git a/api/GetChatWindowSavedPosition.lua b/api/GetChatWindowSavedPosition.lua index 6bdeb28..debe471 100644 --- a/api/GetChatWindowSavedPosition.lua +++ b/api/GetChatWindowSavedPosition.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetChatWindowSavedPosition() end \ No newline at end of file +function GetChatWindowSavedPosition() end diff --git a/api/GetClassInfo.lua b/api/GetClassInfo.lua index a429496..5540374 100644 --- a/api/GetClassInfo.lua +++ b/api/GetClassInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetClassInfo() end \ No newline at end of file +function GetClassInfo() end diff --git a/api/GetClassInfoByID.lua b/api/GetClassInfoByID.lua index 8128214..8809688 100644 --- a/api/GetClassInfoByID.lua +++ b/api/GetClassInfoByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetClassInfoByID() end \ No newline at end of file +function GetClassInfoByID() end diff --git a/api/GetClickFrame.lua b/api/GetClickFrame.lua index 3b10ae9..4edace2 100644 --- a/api/GetClickFrame.lua +++ b/api/GetClickFrame.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return table frame +---@param name string +---@return table frame ---Returns the Frame object associated with the given name. Returns nil if there is no UI object with the name given, or if the named UI object is not a Frame. -function GetClickFrame(name) end \ No newline at end of file +function GetClickFrame(name) end diff --git a/api/GetCoinIcon.lua b/api/GetCoinIcon.lua index be8eeb4..c9c15d5 100644 --- a/api/GetCoinIcon.lua +++ b/api/GetCoinIcon.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number ----@return Interface\Icons\INV_Misc_Coin_06 icon ----@return Interface\Icons\INV_Misc_Coin_01 ----@return Interface\Icons\INV_Misc_Coin_02 ----@return Interface\Icons\INV_Misc_Coin_03 ----@return Interface\Icons\INV_Misc_Coin_04 ----@return Interface\Icons\INV_Misc_Coin_05 ----@return Interface\Icons\INV_Misc_Coin_06 +---@param amount number +---@return Interface\Icons\INV_Misc_Coin_06 icon +---@return Interface\Icons\INV_Misc_Coin_01 +---@return Interface\Icons\INV_Misc_Coin_02 +---@return Interface\Icons\INV_Misc_Coin_03 +---@return Interface\Icons\INV_Misc_Coin_04 +---@return Interface\Icons\INV_Misc_Coin_05 +---@return Interface\Icons\INV_Misc_Coin_06 ---Returns an icon representing an amount of money -function GetCoinIcon(amount) end \ No newline at end of file +function GetCoinIcon(amount) end diff --git a/api/GetCoinText.lua b/api/GetCoinText.lua index 565a372..c2b2237 100644 --- a/api/GetCoinText.lua +++ b/api/GetCoinText.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number ----@param separator string ----@return string coinText +---@param amount number +---@param separator string +---@return string coinText ---Returns a localized string describing an amount of money -function GetCoinText(amount, separator) end \ No newline at end of file +function GetCoinText(amount, separator) end diff --git a/api/GetCoinTextureString.lua b/api/GetCoinTextureString.lua index bb23462..1902309 100644 --- a/api/GetCoinTextureString.lua +++ b/api/GetCoinTextureString.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number ----@param fontSize number ----@return string coinText +---@param amount number +---@param fontSize number +---@return string coinText ---Returns a string with embedded coin icons describing an amount of money. As in most places where money amounts are shown in the UI, lesser denominations are only shown when non-zero. -function GetCoinTextureString(amount, fontSize) end \ No newline at end of file +function GetCoinTextureString(amount, fontSize) end diff --git a/api/GetCombatRating.lua b/api/GetCombatRating.lua index 304c489..c593cd6 100644 --- a/api/GetCombatRating.lua +++ b/api/GetCombatRating.lua @@ -1,29 +1,55 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ratingIndex CR_WEAPON_SKILL_RANGED ----@param CR_BLOCK ----@param CR_CRIT_MELEE ----@param CR_CRIT_RANGED ----@param CR_CRIT_SPELL ----@param CR_CRIT_TAKEN_MELEE ----@param CR_CRIT_TAKEN_RANGED ----@param CR_CRIT_TAKEN_SPELL ----@param CR_DEFENSE_SKILL ----@param CR_DODGE ----@param CR_HASTE_MELEE ----@param CR_HASTE_RANGED ----@param CR_HASTE_SPELL ----@param CR_HIT_MELEE ----@param CR_HIT_RANGED ----@param CR_HIT_SPELL ----@param CR_HIT_TAKEN_MELEE ----@param CR_HIT_TAKEN_RANGED ----@param CR_HIT_TAKEN_SPELL ----@param CR_PARRY ----@param CR_WEAPON_SKILL ----@param CR_WEAPON_SKILL_MAINHAND ----@param CR_WEAPON_SKILL_OFFHAND ----@param CR_WEAPON_SKILL_RANGED ----@return number rating +---@param ratingIndex CR_WEAPON_SKILL_RANGED +---@param CR_BLOCK +---@param CR_CRIT_MELEE +---@param CR_CRIT_RANGED +---@param CR_CRIT_SPELL +---@param CR_CRIT_TAKEN_MELEE +---@param CR_CRIT_TAKEN_RANGED +---@param CR_CRIT_TAKEN_SPELL +---@param CR_DEFENSE_SKILL +---@param CR_DODGE +---@param CR_HASTE_MELEE +---@param CR_HASTE_RANGED +---@param CR_HASTE_SPELL +---@param CR_HIT_MELEE +---@param CR_HIT_RANGED +---@param CR_HIT_SPELL +---@param CR_HIT_TAKEN_MELEE +---@param CR_HIT_TAKEN_RANGED +---@param CR_HIT_TAKEN_SPELL +---@param CR_PARRY +---@param CR_WEAPON_SKILL +---@param CR_WEAPON_SKILL_MAINHAND +---@param CR_WEAPON_SKILL_OFFHAND +---@param CR_WEAPON_SKILL_RANGED +---@return number rating ---Returns the value of a combat rating for the player -function GetCombatRating(ratingIndex, CR_BLOCK, CR_CRIT_MELEE, CR_CRIT_RANGED, CR_CRIT_SPELL, CR_CRIT_TAKEN_MELEE, CR_CRIT_TAKEN_RANGED, CR_CRIT_TAKEN_SPELL, CR_DEFENSE_SKILL, CR_DODGE, CR_HASTE_MELEE, CR_HASTE_RANGED, CR_HASTE_SPELL, CR_HIT_MELEE, CR_HIT_RANGED, CR_HIT_SPELL, CR_HIT_TAKEN_MELEE, CR_HIT_TAKEN_RANGED, CR_HIT_TAKEN_SPELL, CR_PARRY, CR_WEAPON_SKILL, CR_WEAPON_SKILL_MAINHAND, CR_WEAPON_SKILL_OFFHAND, CR_WEAPON_SKILL_RANGED) end \ No newline at end of file +function GetCombatRating( + ratingIndex, + CR_BLOCK, + CR_CRIT_MELEE, + CR_CRIT_RANGED, + CR_CRIT_SPELL, + CR_CRIT_TAKEN_MELEE, + CR_CRIT_TAKEN_RANGED, + CR_CRIT_TAKEN_SPELL, + CR_DEFENSE_SKILL, + CR_DODGE, + CR_HASTE_MELEE, + CR_HASTE_RANGED, + CR_HASTE_SPELL, + CR_HIT_MELEE, + CR_HIT_RANGED, + CR_HIT_SPELL, + CR_HIT_TAKEN_MELEE, + CR_HIT_TAKEN_RANGED, + CR_HIT_TAKEN_SPELL, + CR_PARRY, + CR_WEAPON_SKILL, + CR_WEAPON_SKILL_MAINHAND, + CR_WEAPON_SKILL_OFFHAND, + CR_WEAPON_SKILL_RANGED +) +end diff --git a/api/GetCombatRatingBonus.lua b/api/GetCombatRatingBonus.lua index 532a5f0..12ede3b 100644 --- a/api/GetCombatRatingBonus.lua +++ b/api/GetCombatRatingBonus.lua @@ -1,29 +1,55 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ratingIndex CR_WEAPON_SKILL_RANGED ----@param CR_BLOCK ----@param CR_CRIT_MELEE ----@param CR_CRIT_RANGED ----@param CR_CRIT_SPELL ----@param CR_CRIT_TAKEN_MELEE ----@param CR_CRIT_TAKEN_RANGED ----@param CR_CRIT_TAKEN_SPELL ----@param CR_DEFENSE_SKILL ----@param CR_DODGE ----@param CR_HASTE_MELEE ----@param CR_HASTE_RANGED ----@param CR_HASTE_SPELL ----@param CR_HIT_MELEE ----@param CR_HIT_RANGED ----@param CR_HIT_SPELL ----@param CR_HIT_TAKEN_MELEE ----@param CR_HIT_TAKEN_RANGED ----@param CR_HIT_TAKEN_SPELL ----@param CR_PARRY ----@param CR_WEAPON_SKILL ----@param CR_WEAPON_SKILL_MAINHAND ----@param CR_WEAPON_SKILL_OFFHAND ----@param CR_WEAPON_SKILL_RANGED ----@return number ratingBonus +---@param ratingIndex CR_WEAPON_SKILL_RANGED +---@param CR_BLOCK +---@param CR_CRIT_MELEE +---@param CR_CRIT_RANGED +---@param CR_CRIT_SPELL +---@param CR_CRIT_TAKEN_MELEE +---@param CR_CRIT_TAKEN_RANGED +---@param CR_CRIT_TAKEN_SPELL +---@param CR_DEFENSE_SKILL +---@param CR_DODGE +---@param CR_HASTE_MELEE +---@param CR_HASTE_RANGED +---@param CR_HASTE_SPELL +---@param CR_HIT_MELEE +---@param CR_HIT_RANGED +---@param CR_HIT_SPELL +---@param CR_HIT_TAKEN_MELEE +---@param CR_HIT_TAKEN_RANGED +---@param CR_HIT_TAKEN_SPELL +---@param CR_PARRY +---@param CR_WEAPON_SKILL +---@param CR_WEAPON_SKILL_MAINHAND +---@param CR_WEAPON_SKILL_OFFHAND +---@param CR_WEAPON_SKILL_RANGED +---@return number ratingBonus ---Returns the percentage effect for the player's current value of a given combat rating. Used in the default UI to show tooltips with actual percentage effects (such as increased parry chance or reduced critical strike damage taken) when mousing over rating information in the Character window. -function GetCombatRatingBonus(ratingIndex, CR_BLOCK, CR_CRIT_MELEE, CR_CRIT_RANGED, CR_CRIT_SPELL, CR_CRIT_TAKEN_MELEE, CR_CRIT_TAKEN_RANGED, CR_CRIT_TAKEN_SPELL, CR_DEFENSE_SKILL, CR_DODGE, CR_HASTE_MELEE, CR_HASTE_RANGED, CR_HASTE_SPELL, CR_HIT_MELEE, CR_HIT_RANGED, CR_HIT_SPELL, CR_HIT_TAKEN_MELEE, CR_HIT_TAKEN_RANGED, CR_HIT_TAKEN_SPELL, CR_PARRY, CR_WEAPON_SKILL, CR_WEAPON_SKILL_MAINHAND, CR_WEAPON_SKILL_OFFHAND, CR_WEAPON_SKILL_RANGED) end \ No newline at end of file +function GetCombatRatingBonus( + ratingIndex, + CR_BLOCK, + CR_CRIT_MELEE, + CR_CRIT_RANGED, + CR_CRIT_SPELL, + CR_CRIT_TAKEN_MELEE, + CR_CRIT_TAKEN_RANGED, + CR_CRIT_TAKEN_SPELL, + CR_DEFENSE_SKILL, + CR_DODGE, + CR_HASTE_MELEE, + CR_HASTE_RANGED, + CR_HASTE_SPELL, + CR_HIT_MELEE, + CR_HIT_RANGED, + CR_HIT_SPELL, + CR_HIT_TAKEN_MELEE, + CR_HIT_TAKEN_RANGED, + CR_HIT_TAKEN_SPELL, + CR_PARRY, + CR_WEAPON_SKILL, + CR_WEAPON_SKILL_MAINHAND, + CR_WEAPON_SKILL_OFFHAND, + CR_WEAPON_SKILL_RANGED +) +end diff --git a/api/GetComboPoints.lua b/api/GetComboPoints.lua index d663fbf..0d8514c 100644 --- a/api/GetComboPoints.lua +++ b/api/GetComboPoints.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param target string ----@return number comboPoints +---@param unit string +---@param target string +---@return number comboPoints ---Returns the player's number of combo points on the target. -function GetComboPoints(unit, target) end \ No newline at end of file +function GetComboPoints(unit, target) end diff --git a/api/GetCompanionInfo.lua b/api/GetCompanionInfo.lua index 51873bc..c214a57 100644 --- a/api/GetCompanionInfo.lua +++ b/api/GetCompanionInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type MOUNT ----@param CRITTER ----@param MOUNT ----@param index number ----@return number creatureID ----@return string creatureName ----@return number spellID ----@return string icon ----@return 1nil active ----@return 0x10 mountFlags ----@return 0x01 ----@return 0x02 ----@return 0x04 ----@return 0x08 ----@return 0x10 +---@param type MOUNT +---@param CRITTER +---@param MOUNT +---@param index number +---@return number creatureID +---@return string creatureName +---@return number spellID +---@return string icon +---@return 1nil active +---@return 0x10 mountFlags +---@return 0x01 +---@return 0x02 +---@return 0x04 +---@return 0x08 +---@return 0x10 ---Returns information about a non-combat pet or mount -function GetCompanionInfo(type, CRITTER, MOUNT, index) end \ No newline at end of file +function GetCompanionInfo(type, CRITTER, MOUNT, index) end diff --git a/api/GetComparisonAchievementPoints.lua b/api/GetComparisonAchievementPoints.lua index 95f22f4..27a12b4 100644 --- a/api/GetComparisonAchievementPoints.lua +++ b/api/GetComparisonAchievementPoints.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number points +---@return number points ---Returns the comparison unit's total achievement points earned.   Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called. -function GetComparisonAchievementPoints() end \ No newline at end of file +function GetComparisonAchievementPoints() end diff --git a/api/GetComparisonCategoryNumAchievements.lua b/api/GetComparisonCategoryNumAchievements.lua index fd84f16..60b035c 100644 --- a/api/GetComparisonCategoryNumAchievements.lua +++ b/api/GetComparisonCategoryNumAchievements.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number numCompleted +---@param id number +---@return number numCompleted ---Returns the number of achievements completed by the comparison unit within a category.   Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called. -function GetComparisonCategoryNumAchievements(id) end \ No newline at end of file +function GetComparisonCategoryNumAchievements(id) end diff --git a/api/GetComparisonStatistic.lua b/api/GetComparisonStatistic.lua index 194a5c9..b9ed9eb 100644 --- a/api/GetComparisonStatistic.lua +++ b/api/GetComparisonStatistic.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string info +---@param id number +---@return string info ---Returns the comparison unit's data for a statistic.   Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called. -function GetComparisonStatistic(id) end \ No newline at end of file +function GetComparisonStatistic(id) end diff --git a/api/GetContainerFreeSlots.lua b/api/GetContainerFreeSlots.lua index ba185b9..093a4da 100644 --- a/api/GetContainerFreeSlots.lua +++ b/api/GetContainerFreeSlots.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param returnTable table ----@return table slotTable +---@param container number +---@param returnTable table +---@return table slotTable ---Returns a list of open slots in a container. The optional argument returnTable allows for performance optimization in cases where this function is expected to be called repeatedly. Rather than creating new tables each time the function is called (eventually requiring garbage collection), an existing table can be recycled. (Note, however, that this function does not clear the table's contents; use wipe() first to guarantee consistent results.) -function GetContainerFreeSlots(container, returnTable) end \ No newline at end of file +function GetContainerFreeSlots(container, returnTable) end diff --git a/api/GetContainerItemCooldown.lua b/api/GetContainerItemCooldown.lua index f6e517c..24c808d 100644 --- a/api/GetContainerItemCooldown.lua +++ b/api/GetContainerItemCooldown.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@return number start ----@return number duration ----@return number enable +---@param container number +---@param slot number +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about an item in the player's bags -function GetContainerItemCooldown(container, slot) end \ No newline at end of file +function GetContainerItemCooldown(container, slot) end diff --git a/api/GetContainerItemDurability.lua b/api/GetContainerItemDurability.lua index 21ae05c..45b89a2 100644 --- a/api/GetContainerItemDurability.lua +++ b/api/GetContainerItemDurability.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@return number durability ----@return number max +---@param container number +---@param slot number +---@return number durability +---@return number max ---Returns durability status for an item in the player's bags -function GetContainerItemDurability(container, slot) end \ No newline at end of file +function GetContainerItemDurability(container, slot) end diff --git a/api/GetContainerItemEquipmentSetInfo.lua b/api/GetContainerItemEquipmentSetInfo.lua index d3526cc..c5db0c0 100644 --- a/api/GetContainerItemEquipmentSetInfo.lua +++ b/api/GetContainerItemEquipmentSetInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param slot number ----@return boolean isInSet ----@return string setName +---@param index number +---@param slot number +---@return boolean isInSet +---@return string setName ---Returns whether an item in the bags is a part of a saved item set. -function GetContainerItemEquipmentSetInfo(index, slot) end \ No newline at end of file +function GetContainerItemEquipmentSetInfo(index, slot) end diff --git a/api/GetContainerItemGems.lua b/api/GetContainerItemGems.lua index 865e0a3..626bc59 100644 --- a/api/GetContainerItemGems.lua +++ b/api/GetContainerItemGems.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container bagID ----@param slot number ----@return itemID gem1 ----@return itemID gem2 ----@return itemID gem3 +---@param container bagID +---@param slot number +---@return itemID gem1 +---@return itemID gem2 +---@return itemID gem3 ---Returns the gems socketed in an item in the player's bags. The IDs returned refer to the gems themselves (not the enchantments they provide), and thus can be passed to GetItemInfo() to get a gem's name, quality, icon, etc. -function GetContainerItemGems(container, slot) end \ No newline at end of file +function GetContainerItemGems(container, slot) end diff --git a/api/GetContainerItemID.lua b/api/GetContainerItemID.lua index 83a33f8..28d11e3 100644 --- a/api/GetContainerItemID.lua +++ b/api/GetContainerItemID.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@return itemID id +---@param container number +---@param slot number +---@return itemID id ---Returns the item ID of an item in the player's bags -function GetContainerItemID(container, slot) end \ No newline at end of file +function GetContainerItemID(container, slot) end diff --git a/api/GetContainerItemInfo.lua b/api/GetContainerItemInfo.lua index bd29dd0..b03863b 100644 --- a/api/GetContainerItemInfo.lua +++ b/api/GetContainerItemInfo.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@return string texture ----@return number count ----@return 1nil locked ----@return number quality ----@return 1nil readable ----@return 1nil lootable ----@return itemLink link ----@return boolean isFiltered ----@return boolean hasNoValue ----@return number itemID +---@param container number +---@param slot number +---@return string texture +---@return number count +---@return 1nil locked +---@return number quality +---@return 1nil readable +---@return 1nil lootable +---@return itemLink link +---@return boolean isFiltered +---@return boolean hasNoValue +---@return number itemID ---Returns information about an item in the player's bags -function GetContainerItemInfo(container, slot) end \ No newline at end of file +function GetContainerItemInfo(container, slot) end diff --git a/api/GetContainerItemLink.lua b/api/GetContainerItemLink.lua index e0b6190..55e446e 100644 --- a/api/GetContainerItemLink.lua +++ b/api/GetContainerItemLink.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@return string link +---@param container number +---@param slot number +---@return string link ---Returns a hyperlink for an item in the player's bags -function GetContainerItemLink(container, slot) end \ No newline at end of file +function GetContainerItemLink(container, slot) end diff --git a/api/GetContainerItemPurchaseCurrency.lua b/api/GetContainerItemPurchaseCurrency.lua index 9873d44..2b1de68 100644 --- a/api/GetContainerItemPurchaseCurrency.lua +++ b/api/GetContainerItemPurchaseCurrency.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetContainerItemPurchaseCurrency() end \ No newline at end of file +function GetContainerItemPurchaseCurrency() end diff --git a/api/GetContainerItemPurchaseInfo.lua b/api/GetContainerItemPurchaseInfo.lua index f7fcb9e..39cea81 100644 --- a/api/GetContainerItemPurchaseInfo.lua +++ b/api/GetContainerItemPurchaseInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@param IsEquipped boolean ----@return number money ----@return number itemCount ----@return number refundSec ----@return number currecycount ----@return number hasEnchants +---@param container number +---@param slot number +---@param IsEquipped boolean +---@return number money +---@return number itemCount +---@return number refundSec +---@return number currecycount +---@return number hasEnchants ---Returns information about alternate currencies refunded for returning an item to vendors. Items bought with alternate currency (honor points, arena points, or special items such as Emblems of Heroism and Dalaran Cooking Awards) can be returned to a vendor for a full refund, but only within a limited time after the original purchase. If the given container slot is empty, contains an item which cannot be returned for an alternate currency refund, or contains an item for which the refund grace period has expired, all returns are nil. -function GetContainerItemPurchaseInfo(container, slot, IsEquipped) end \ No newline at end of file +function GetContainerItemPurchaseInfo(container, slot, IsEquipped) end diff --git a/api/GetContainerItemPurchaseItem.lua b/api/GetContainerItemPurchaseItem.lua index a8d85c5..f02e96a 100644 --- a/api/GetContainerItemPurchaseItem.lua +++ b/api/GetContainerItemPurchaseItem.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@param index number ----@return string texture ----@return number quantity ----@return itemLink link +---@param container number +---@param slot number +---@param index number +---@return string texture +---@return number quantity +---@return itemLink link ---Returns information about a specific currency refunded for returning an item to vendors. See GetContainerItemPurchaseInfo for more information about alternate currency refunds. -function GetContainerItemPurchaseItem(container, slot, index) end \ No newline at end of file +function GetContainerItemPurchaseItem(container, slot, index) end diff --git a/api/GetContainerItemQuestInfo.lua b/api/GetContainerItemQuestInfo.lua index 4892eb3..b680850 100644 --- a/api/GetContainerItemQuestInfo.lua +++ b/api/GetContainerItemQuestInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@return boolean isQuest ----@return number questId ----@return 1nil isActive +---@param container number +---@param slot number +---@return boolean isQuest +---@return number questId +---@return 1nil isActive ---Returns quest information about an item in the player's bags -function GetContainerItemQuestInfo(container, slot) end \ No newline at end of file +function GetContainerItemQuestInfo(container, slot) end diff --git a/api/GetContainerNumFreeSlots.lua b/api/GetContainerNumFreeSlots.lua index 523c867..6bed7dc 100644 --- a/api/GetContainerNumFreeSlots.lua +++ b/api/GetContainerNumFreeSlots.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@return number freeSlots ----@return number bagType +---@param container number +---@return number freeSlots +---@return number bagType ---Returns the number of free slots in a container and the types of items it can hold -function GetContainerNumFreeSlots(container) end \ No newline at end of file +function GetContainerNumFreeSlots(container) end diff --git a/api/GetContainerNumSlots.lua b/api/GetContainerNumSlots.lua index e14ba79..c2af8a5 100644 --- a/api/GetContainerNumSlots.lua +++ b/api/GetContainerNumSlots.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@return number numSlots +---@param container number +---@return number numSlots ---Returns the number of slots in one of the player's bags -function GetContainerNumSlots(container) end \ No newline at end of file +function GetContainerNumSlots(container) end diff --git a/api/GetContinentMapInfo.lua b/api/GetContinentMapInfo.lua index 5fa1575..7d13cc2 100644 --- a/api/GetContinentMapInfo.lua +++ b/api/GetContinentMapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetContinentMapInfo() end \ No newline at end of file +function GetContinentMapInfo() end diff --git a/api/GetContinentMaps.lua b/api/GetContinentMaps.lua index 4fdede0..8819f0d 100644 --- a/api/GetContinentMaps.lua +++ b/api/GetContinentMaps.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetContinentMaps() end \ No newline at end of file +function GetContinentMaps() end diff --git a/api/GetCorpseMapPosition.lua b/api/GetCorpseMapPosition.lua index bde8c24..de194ca 100644 --- a/api/GetCorpseMapPosition.lua +++ b/api/GetCorpseMapPosition.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number corpseX ----@return number corpseY +---@return number corpseX +---@return number corpseY ---Returns the position of the player's corpse on the world map. Returns 0,0 if the location of the player's corpse is not visible on the current world map. -function GetCorpseMapPosition() end \ No newline at end of file +function GetCorpseMapPosition() end diff --git a/api/GetCorpseRecoveryDelay.lua b/api/GetCorpseRecoveryDelay.lua index 56f086d..6119c9c 100644 --- a/api/GetCorpseRecoveryDelay.lua +++ b/api/GetCorpseRecoveryDelay.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeLeft +---@return number timeLeft ---Returns the amount of time left until the player can recover their corpse. Applies to resurrection spells offered by other units, resurrecting by returning to the player's corpse as a ghost, and to resurrecting at a graveyard's spirit healer, if the player has recently died several times in short succession. -function GetCorpseRecoveryDelay() end \ No newline at end of file +function GetCorpseRecoveryDelay() end diff --git a/api/GetCritChance.lua b/api/GetCritChance.lua index 8744d58..9b03045 100644 --- a/api/GetCritChance.lua +++ b/api/GetCritChance.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number critChance +---@return number critChance ---Returns the player's melee critical strike chance -function GetCritChance() end \ No newline at end of file +function GetCritChance() end diff --git a/api/GetCritChanceFromAgility.lua b/api/GetCritChanceFromAgility.lua index b1caf43..0be45c4 100644 --- a/api/GetCritChanceFromAgility.lua +++ b/api/GetCritChanceFromAgility.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number critChance +---@param unit string +---@return number critChance ---Returns additional critical strike chance provided by Agility -function GetCritChanceFromAgility(unit) end \ No newline at end of file +function GetCritChanceFromAgility(unit) end diff --git a/api/GetCritChanceProvidesParryEffect.lua b/api/GetCritChanceProvidesParryEffect.lua index c9b9eba..077ba0c 100644 --- a/api/GetCritChanceProvidesParryEffect.lua +++ b/api/GetCritChanceProvidesParryEffect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCritChanceProvidesParryEffect() end \ No newline at end of file +function GetCritChanceProvidesParryEffect() end diff --git a/api/GetCriteriaSpell.lua b/api/GetCriteriaSpell.lua index d711730..8434315 100644 --- a/api/GetCriteriaSpell.lua +++ b/api/GetCriteriaSpell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCriteriaSpell() end \ No newline at end of file +function GetCriteriaSpell() end diff --git a/api/GetCurrencyInfo.lua b/api/GetCurrencyInfo.lua index dbee27d..80f0401 100644 --- a/api/GetCurrencyInfo.lua +++ b/api/GetCurrencyInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string name ----@return number amount ----@return string texturePath ----@return number earnedThisWeek ----@return number weeklyMax ----@return number totalMax ----@return boolean isDiscovered ----@return number quality +---@param id number +---@return string name +---@return number amount +---@return string texturePath +---@return number earnedThisWeek +---@return number weeklyMax +---@return number totalMax +---@return boolean isDiscovered +---@return number quality ---Returns information about a currency by ID -function GetCurrencyInfo(id) end \ No newline at end of file +function GetCurrencyInfo(id) end diff --git a/api/GetCurrencyLink.lua b/api/GetCurrencyLink.lua index 1e6ede3..e398d46 100644 --- a/api/GetCurrencyLink.lua +++ b/api/GetCurrencyLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string link +---@param id number +---@return string link ---Returns a hyperlink for the given currency -function GetCurrencyLink(id) end \ No newline at end of file +function GetCurrencyLink(id) end diff --git a/api/GetCurrencyListInfo.lua b/api/GetCurrencyListInfo.lua index a5db1fb..72e801f 100644 --- a/api/GetCurrencyListInfo.lua +++ b/api/GetCurrencyListInfo.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return boolean isHeader ----@return boolean isExpanded ----@return boolean isUnused ----@return boolean isWatched ----@return number count ----@return string icon ----@return number maximum ----@return number hasWeeklyLimit ----@return number currentWeeklyAmount ----@return unknown unknown +---@param index number +---@return string name +---@return boolean isHeader +---@return boolean isExpanded +---@return boolean isUnused +---@return boolean isWatched +---@return number count +---@return string icon +---@return number maximum +---@return number hasWeeklyLimit +---@return number currentWeeklyAmount +---@return unknown unknown ---Returns information about a currency type (or headers in the Currency UI) -function GetCurrencyListInfo(index) end \ No newline at end of file +function GetCurrencyListInfo(index) end diff --git a/api/GetCurrencyListLink.lua b/api/GetCurrencyListLink.lua index c35b96f..8d9484a 100644 --- a/api/GetCurrencyListLink.lua +++ b/api/GetCurrencyListLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCurrencyListLink() end \ No newline at end of file +function GetCurrencyListLink() end diff --git a/api/GetCurrencyListSize.lua b/api/GetCurrencyListSize.lua index 62a530d..6e9237a 100644 --- a/api/GetCurrencyListSize.lua +++ b/api/GetCurrencyListSize.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numEntries +---@return number numEntries ---Returns the number of list entries to show in the Currency UI -function GetCurrencyListSize() end \ No newline at end of file +function GetCurrencyListSize() end diff --git a/api/GetCurrentArenaSeason.lua b/api/GetCurrentArenaSeason.lua index 04318a9..a700d31 100644 --- a/api/GetCurrentArenaSeason.lua +++ b/api/GetCurrentArenaSeason.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number season +---@return number season ---Returns a number identifying the current arena season. New arena seasons begin every few months, resetting team rankings and providing new rewards. -function GetCurrentArenaSeason() end \ No newline at end of file +function GetCurrentArenaSeason() end diff --git a/api/GetCurrentBindingSet.lua b/api/GetCurrentBindingSet.lua index 08c156c..02d96b4 100644 --- a/api/GetCurrentBindingSet.lua +++ b/api/GetCurrentBindingSet.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 2 bindingSet ----@return 1 ----@return 2 +---@return 2 bindingSet +---@return 1 +---@return 2 ---Returns which set of key bindings is currently in use -function GetCurrentBindingSet() end \ No newline at end of file +function GetCurrentBindingSet() end diff --git a/api/GetCurrentGraphicsSetting.lua b/api/GetCurrentGraphicsSetting.lua index a6e05ec..86086bc 100644 --- a/api/GetCurrentGraphicsSetting.lua +++ b/api/GetCurrentGraphicsSetting.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCurrentGraphicsSetting() end \ No newline at end of file +function GetCurrentGraphicsSetting() end diff --git a/api/GetCurrentGuildBankTab.lua b/api/GetCurrentGuildBankTab.lua index c130343..2885b8e 100644 --- a/api/GetCurrentGuildBankTab.lua +++ b/api/GetCurrentGuildBankTab.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the currently selected guild bank tab -function GetCurrentGuildBankTab() end \ No newline at end of file +function GetCurrentGuildBankTab() end diff --git a/api/GetCurrentKeyBoardFocus.lua b/api/GetCurrentKeyBoardFocus.lua index 96f99b1..4a07e30 100644 --- a/api/GetCurrentKeyBoardFocus.lua +++ b/api/GetCurrentKeyBoardFocus.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table frame +---@return table frame ---Returns the frame currently handling keyboard input. Typically an EditBox -function GetCurrentKeyBoardFocus() end \ No newline at end of file +function GetCurrentKeyBoardFocus() end diff --git a/api/GetCurrentLevelDraenorTalent.lua b/api/GetCurrentLevelDraenorTalent.lua index 1f89d3e..b8010ce 100644 --- a/api/GetCurrentLevelDraenorTalent.lua +++ b/api/GetCurrentLevelDraenorTalent.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCurrentLevelDraenorTalent() end \ No newline at end of file +function GetCurrentLevelDraenorTalent() end diff --git a/api/GetCurrentLevelSpells.lua b/api/GetCurrentLevelSpells.lua index 82c2718..5dbce97 100644 --- a/api/GetCurrentLevelSpells.lua +++ b/api/GetCurrentLevelSpells.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCurrentLevelSpells() end \ No newline at end of file +function GetCurrentLevelSpells() end diff --git a/api/GetCurrentMapAreaID.lua b/api/GetCurrentMapAreaID.lua index 3017928..fb653e4 100644 --- a/api/GetCurrentMapAreaID.lua +++ b/api/GetCurrentMapAreaID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number areaID +---@return number areaID ---Returns an ID number for the current map zone. Currently only used in the default UI to determine whether the Wintergrasp map is showing (and if so, display the time remaining until the next battle). -function GetCurrentMapAreaID() end \ No newline at end of file +function GetCurrentMapAreaID() end diff --git a/api/GetCurrentMapContinent.lua b/api/GetCurrentMapContinent.lua index f639d7d..b88fd98 100644 --- a/api/GetCurrentMapContinent.lua +++ b/api/GetCurrentMapContinent.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 7 continent ----@return -1 ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 +---@return 7 continent +---@return -1 +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 ---Returns the current world map continent -function GetCurrentMapContinent() end \ No newline at end of file +function GetCurrentMapContinent() end diff --git a/api/GetCurrentMapDungeonLevel.lua b/api/GetCurrentMapDungeonLevel.lua index 106bca5..be08353 100644 --- a/api/GetCurrentMapDungeonLevel.lua +++ b/api/GetCurrentMapDungeonLevel.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number dungeonLevel ----@return number x1 ----@return number y1 ----@return number x2 ----@return number y2 +---@return number dungeonLevel +---@return number x1 +---@return number y1 +---@return number x2 +---@return number y2 ---Returns which map image is currently selected on the world map (for zones which use more than one map image). Used in zones with more than one "floor" or area, such as Dalaran and several Wrath of the Lich King dungeons and raids. More than one map image may contain the player's current location; if the world map has not been explicitly set to show a particular area, this returns whichever is the "best" match. The coordinates provided are used to place the different dungeon maps relative to each other. -function GetCurrentMapDungeonLevel() end \ No newline at end of file +function GetCurrentMapDungeonLevel() end diff --git a/api/GetCurrentMapHeaderIndex.lua b/api/GetCurrentMapHeaderIndex.lua index d7c473c..4487f08 100644 --- a/api/GetCurrentMapHeaderIndex.lua +++ b/api/GetCurrentMapHeaderIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetCurrentMapHeaderIndex() end \ No newline at end of file +function GetCurrentMapHeaderIndex() end diff --git a/api/GetCurrentMapLevelRange.lua b/api/GetCurrentMapLevelRange.lua index 9f5ddb5..62a7f97 100644 --- a/api/GetCurrentMapLevelRange.lua +++ b/api/GetCurrentMapLevelRange.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number minLevel ----@return number maxLevel +---@return number minLevel +---@return number maxLevel ---Returns the level range of the currently shown zone. -function GetCurrentMapLevelRange() end \ No newline at end of file +function GetCurrentMapLevelRange() end diff --git a/api/GetCurrentMapZone.lua b/api/GetCurrentMapZone.lua index f953d7c..adb938b 100644 --- a/api/GetCurrentMapZone.lua +++ b/api/GetCurrentMapZone.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number zone +---@return number zone ---Returns the current world map zone -function GetCurrentMapZone() end \ No newline at end of file +function GetCurrentMapZone() end diff --git a/api/GetCurrentResolution.lua b/api/GetCurrentResolution.lua index 2a5e203..f06dec3 100644 --- a/api/GetCurrentResolution.lua +++ b/api/GetCurrentResolution.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the current resolution setting. For the dimensions of a resolution setting, use GetScreenResolutions(). -function GetCurrentResolution() end \ No newline at end of file +function GetCurrentResolution() end diff --git a/api/GetCurrentTitle.lua b/api/GetCurrentTitle.lua index 885f0c8..55c1af2 100644 --- a/api/GetCurrentTitle.lua +++ b/api/GetCurrentTitle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return integer currentTitle +---@return integer currentTitle ---Returns the currently selected player title -function GetCurrentTitle() end \ No newline at end of file +function GetCurrentTitle() end diff --git a/api/GetCursorInfo.lua b/api/GetCursorInfo.lua index 7090ec5..3d26980 100644 --- a/api/GetCursorInfo.lua +++ b/api/GetCursorInfo.lua @@ -1,33 +1,33 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return spell type ----@return battlepet ----@return companion ----@return equipmentset ----@return flyout ----@return guildbankmoney ----@return item ----@return macro ----@return merchant ----@return money ----@return petaction ----@return spell ----@return spellbookID data ----@return battlepet ----@return number companion ----@return string equipmentset ----@return number guildbankmoney ----@return itemID item ----@return macroID macro ----@return number merchant ----@return number money ----@return petaction ----@return spellbookID spell ----@return data subType ----@return data companion ----@return hyperlink item ----@return data spell ----@return spell subData ----@return spell +---@return spell type +---@return battlepet +---@return companion +---@return equipmentset +---@return flyout +---@return guildbankmoney +---@return item +---@return macro +---@return merchant +---@return money +---@return petaction +---@return spell +---@return spellbookID data +---@return battlepet +---@return number companion +---@return string equipmentset +---@return number guildbankmoney +---@return itemID item +---@return macroID macro +---@return number merchant +---@return number money +---@return petaction +---@return spellbookID spell +---@return data subType +---@return data companion +---@return hyperlink item +---@return data spell +---@return spell subData +---@return spell ---Returns information about the contents of the cursor -function GetCursorInfo() end \ No newline at end of file +function GetCursorInfo() end diff --git a/api/GetCursorMoney.lua b/api/GetCursorMoney.lua index fa8c0a8..b0ebf26 100644 --- a/api/GetCursorMoney.lua +++ b/api/GetCursorMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cursorMoney +---@return number cursorMoney ---Returns the amount of money currently on the cursor -function GetCursorMoney() end \ No newline at end of file +function GetCursorMoney() end diff --git a/api/GetCursorPosition.lua b/api/GetCursorPosition.lua index c87615e..8269218 100644 --- a/api/GetCursorPosition.lua +++ b/api/GetCursorPosition.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cursorX ----@return number cursorY +---@return number cursorX +---@return number cursorY ---Returns the absolute position of the mouse cursor -function GetCursorPosition() end \ No newline at end of file +function GetCursorPosition() end diff --git a/api/GetDailyQuestsCompleted.lua b/api/GetDailyQuestsCompleted.lua index 70640b9..58aec24 100644 --- a/api/GetDailyQuestsCompleted.lua +++ b/api/GetDailyQuestsCompleted.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number dailyQuestsComplete +---@return number dailyQuestsComplete ---Returns the number of daily quests the player has completed today. The daily quest period resets at or around 3:00 AM server time on most realms. -function GetDailyQuestsCompleted() end \ No newline at end of file +function GetDailyQuestsCompleted() end diff --git a/api/GetDeathReleasePosition.lua b/api/GetDeathReleasePosition.lua index c4e49b3..16f365c 100644 --- a/api/GetDeathReleasePosition.lua +++ b/api/GetDeathReleasePosition.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number graveyardX ----@return number graveyardY +---@return number graveyardX +---@return number graveyardY ---Returns the location of the graveyard where the player's spirit will appear upon release. Returns 0,0 if the player is not dead or the graveyard's location is not visible on the current world map. -function GetDeathReleasePosition() end \ No newline at end of file +function GetDeathReleasePosition() end diff --git a/api/GetDebugAnimationStats.lua b/api/GetDebugAnimationStats.lua index 108a2c8..e90e6cf 100644 --- a/api/GetDebugAnimationStats.lua +++ b/api/GetDebugAnimationStats.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDebugAnimationStats() end \ No newline at end of file +function GetDebugAnimationStats() end diff --git a/api/GetDebugSpellEffects.lua b/api/GetDebugSpellEffects.lua index 62aa518..7c5b00c 100644 --- a/api/GetDebugSpellEffects.lua +++ b/api/GetDebugSpellEffects.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDebugSpellEffects() end \ No newline at end of file +function GetDebugSpellEffects() end diff --git a/api/GetDebugStats.lua b/api/GetDebugStats.lua index 99f90d3..c6f357c 100644 --- a/api/GetDebugStats.lua +++ b/api/GetDebugStats.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDebugStats() end \ No newline at end of file +function GetDebugStats() end diff --git a/api/GetDebugZoneMap.lua b/api/GetDebugZoneMap.lua index 6873e92..008a713 100644 --- a/api/GetDebugZoneMap.lua +++ b/api/GetDebugZoneMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDebugZoneMap() end \ No newline at end of file +function GetDebugZoneMap() end diff --git a/api/GetDefaultLanguage.lua b/api/GetDefaultLanguage.lua index 3017d97..a3fdb27 100644 --- a/api/GetDefaultLanguage.lua +++ b/api/GetDefaultLanguage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string language +---@return string language ---Returns the name of the player character's default language. This is the language used in the chat system (Common or Orcish, as opposed to Taurahe, Darnassian, etc), not the real-world language of the client or server. -function GetDefaultLanguage() end \ No newline at end of file +function GetDefaultLanguage() end diff --git a/api/GetDefaultVideoOptions.lua b/api/GetDefaultVideoOptions.lua index 1ee18a2..92712ff 100644 --- a/api/GetDefaultVideoOptions.lua +++ b/api/GetDefaultVideoOptions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDefaultVideoOptions() end \ No newline at end of file +function GetDefaultVideoOptions() end diff --git a/api/GetDefaultVideoQualityOption.lua b/api/GetDefaultVideoQualityOption.lua index b1f297e..e90b480 100644 --- a/api/GetDefaultVideoQualityOption.lua +++ b/api/GetDefaultVideoQualityOption.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDefaultVideoQualityOption() end \ No newline at end of file +function GetDefaultVideoQualityOption() end diff --git a/api/GetDistanceSqToQuest.lua b/api/GetDistanceSqToQuest.lua index 6f61251..78a3368 100644 --- a/api/GetDistanceSqToQuest.lua +++ b/api/GetDistanceSqToQuest.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number distance +---@param index number +---@return number distance ---Returns a (squared) distance to the quest objective location -function GetDistanceSqToQuest(index) end \ No newline at end of file +function GetDistanceSqToQuest(index) end diff --git a/api/GetDodgeChance.lua b/api/GetDodgeChance.lua index 6880cd7..c3d0e7f 100644 --- a/api/GetDodgeChance.lua +++ b/api/GetDodgeChance.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number chance +---@return number chance ---Returns the player's chance to dodge melee attacks -function GetDodgeChance() end \ No newline at end of file +function GetDodgeChance() end diff --git a/api/GetDungeonDifficultyID.lua b/api/GetDungeonDifficultyID.lua index 4d125e2..8bae1f4 100644 --- a/api/GetDungeonDifficultyID.lua +++ b/api/GetDungeonDifficultyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDungeonDifficultyID() end \ No newline at end of file +function GetDungeonDifficultyID() end diff --git a/api/GetDungeonMapInfo.lua b/api/GetDungeonMapInfo.lua index e2a2c69..aa11685 100644 --- a/api/GetDungeonMapInfo.lua +++ b/api/GetDungeonMapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDungeonMapInfo() end \ No newline at end of file +function GetDungeonMapInfo() end diff --git a/api/GetDungeonMaps.lua b/api/GetDungeonMaps.lua index d5675ae..8308c09 100644 --- a/api/GetDungeonMaps.lua +++ b/api/GetDungeonMaps.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetDungeonMaps() end \ No newline at end of file +function GetDungeonMaps() end diff --git a/api/GetEclipseDirection.lua b/api/GetEclipseDirection.lua index 076eff6..303fd70 100644 --- a/api/GetEclipseDirection.lua +++ b/api/GetEclipseDirection.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string direction +---@return string direction ---Returns the direction in which the players eclipse is moving. -function GetEclipseDirection() end \ No newline at end of file +function GetEclipseDirection() end diff --git a/api/GetEquipmentSetIgnoreSlots.lua b/api/GetEquipmentSetIgnoreSlots.lua index 57bcab3..3472642 100644 --- a/api/GetEquipmentSetIgnoreSlots.lua +++ b/api/GetEquipmentSetIgnoreSlots.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetEquipmentSetIgnoreSlots() end \ No newline at end of file +function GetEquipmentSetIgnoreSlots() end diff --git a/api/GetEquipmentSetInfo.lua b/api/GetEquipmentSetInfo.lua index d729cd2..65d7774 100644 --- a/api/GetEquipmentSetInfo.lua +++ b/api/GetEquipmentSetInfo.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string icon ----@return number setID ----@return boolean isEquipped ----@return number numItems ----@return number numEquipped ----@return number numInventory ----@return number numMissing ----@return number numIgnored +---@param index number +---@return string name +---@return string icon +---@return number setID +---@return boolean isEquipped +---@return number numItems +---@return number numEquipped +---@return number numInventory +---@return number numMissing +---@return number numIgnored ---Returns information about an equipment set (specified by index) -function GetEquipmentSetInfo(index) end \ No newline at end of file +function GetEquipmentSetInfo(index) end diff --git a/api/GetEquipmentSetInfoByName.lua b/api/GetEquipmentSetInfoByName.lua index c2b05c1..610b331 100644 --- a/api/GetEquipmentSetInfoByName.lua +++ b/api/GetEquipmentSetInfoByName.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return string icon ----@return number setID ----@return boolean isEquipped ----@return number numItems ----@return number numEquipped ----@return number unknown ----@return number numMissing ----@return number numIgnored +---@param name string +---@return string icon +---@return number setID +---@return boolean isEquipped +---@return number numItems +---@return number numEquipped +---@return number unknown +---@return number numMissing +---@return number numIgnored ---Returns information about an equipment set -function GetEquipmentSetInfoByName(name) end \ No newline at end of file +function GetEquipmentSetInfoByName(name) end diff --git a/api/GetEquipmentSetItemIDs.lua b/api/GetEquipmentSetItemIDs.lua index 3dab0a2..2a02c20 100644 --- a/api/GetEquipmentSetItemIDs.lua +++ b/api/GetEquipmentSetItemIDs.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return table itemIDs +---@param name string +---@return table itemIDs ---Returns a table listing the items in an equipment set -function GetEquipmentSetItemIDs(name) end \ No newline at end of file +function GetEquipmentSetItemIDs(name) end diff --git a/api/GetEquipmentSetLocations.lua b/api/GetEquipmentSetLocations.lua index d11e096..eb472f3 100644 --- a/api/GetEquipmentSetLocations.lua +++ b/api/GetEquipmentSetLocations.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return table itemIDs +---@param name string +---@return table itemIDs ---Returns a table listing the locations of the items in an equipment set -function GetEquipmentSetLocations(name) end \ No newline at end of file +function GetEquipmentSetLocations(name) end diff --git a/api/GetEventCPUUsage.lua b/api/GetEventCPUUsage.lua index 36e0b39..1c40594 100644 --- a/api/GetEventCPUUsage.lua +++ b/api/GetEventCPUUsage.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param event string ----@return number usage ----@return number numEvents +---@param event string +---@return number usage +---@return number numEvents ---Returns information about the CPU usage of an event. Only returns valid data if the scriptProfile CVar is set to 1; returns 0 otherwise. -function GetEventCPUUsage(event) end \ No newline at end of file +function GetEventCPUUsage(event) end diff --git a/api/GetEventTime.lua b/api/GetEventTime.lua index c4f5483..9588243 100644 --- a/api/GetEventTime.lua +++ b/api/GetEventTime.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetEventTime() end \ No newline at end of file +function GetEventTime() end diff --git a/api/GetExistingSocketInfo.lua b/api/GetExistingSocketInfo.lua index 5c34fa1..51cf167 100644 --- a/api/GetExistingSocketInfo.lua +++ b/api/GetExistingSocketInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return 1nil name +---@param index number +---@return string name +---@return string texture +---@return 1nil name ---Returns information about a permanently socketed gem. If the given socket contains a permanently socketed gem, returns information for that gem (even if a new gem has been dropped in the socket to overwrite the existing gem, but has not yet been confirmed). If the socket is empty, returns nil. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetExistingSocketInfo(index) end \ No newline at end of file +function GetExistingSocketInfo(index) end diff --git a/api/GetExistingSocketLink.lua b/api/GetExistingSocketLink.lua index e2683ad..aa5a3a3 100644 --- a/api/GetExistingSocketLink.lua +++ b/api/GetExistingSocketLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for a permanently socketed gem. If the given socket contains a permanently socketed gem, returns an item link for that gem (even if a new gem has been dropped in the socket to overwrite the existing gem, but has not yet been confirmed). If the socket is empty, returns nil. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetExistingSocketLink(index) end \ No newline at end of file +function GetExistingSocketLink(index) end diff --git a/api/GetExpansionLevel.lua b/api/GetExpansionLevel.lua index 05bce87..493c4d6 100644 --- a/api/GetExpansionLevel.lua +++ b/api/GetExpansionLevel.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 4 expansion ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 +---@return 4 expansion +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 ---Returns the expansion level of the game. Returns the expansion level active on the current account. Differs from GetAccountExpansionLevel() as that function returns the highest purchased expansion level, while GetExpansionLevel() returns the currently active one. -function GetExpansionLevel() end \ No newline at end of file +function GetExpansionLevel() end diff --git a/api/GetExpertise.lua b/api/GetExpertise.lua index a8be5a4..783346e 100644 --- a/api/GetExpertise.lua +++ b/api/GetExpertise.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number expertise +---@return number expertise ---Returns the player's current expertise value -function GetExpertise() end \ No newline at end of file +function GetExpertise() end diff --git a/api/GetExtendedItemInfo.lua b/api/GetExtendedItemInfo.lua index 47326eb..922bb92 100644 --- a/api/GetExtendedItemInfo.lua +++ b/api/GetExtendedItemInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetExtendedItemInfo() end \ No newline at end of file +function GetExtendedItemInfo() end diff --git a/api/GetExtraBarIndex.lua b/api/GetExtraBarIndex.lua index 7f9dfd7..3f09a5b 100644 --- a/api/GetExtraBarIndex.lua +++ b/api/GetExtraBarIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetExtraBarIndex() end \ No newline at end of file +function GetExtraBarIndex() end diff --git a/api/GetFacialHairCustomization.lua b/api/GetFacialHairCustomization.lua index 371ada0..bca0fa7 100644 --- a/api/GetFacialHairCustomization.lua +++ b/api/GetFacialHairCustomization.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string token +---@return string token ---Returns a token used for displaying facial feature customization options. The token referred to by this function can be used to look up a global variable containing localized names for the customization options available to the player's race at character creation time and in the Barbershop UI; see example. -function GetFacialHairCustomization() end \ No newline at end of file +function GetFacialHairCustomization() end diff --git a/api/GetFactionInfo.lua b/api/GetFactionInfo.lua index 1dea1a3..93ce3a9 100644 --- a/api/GetFactionInfo.lua +++ b/api/GetFactionInfo.lua @@ -1,29 +1,29 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string description ----@return 8 standingID ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return number barMin ----@return number barMax ----@return number barValue ----@return 1nil atWarWith ----@return 1nil canToggleAtWar ----@return 1nil isHeader ----@return 1nil isCollapsed ----@return 1nil hasRep ----@return 1nil isWatched ----@return 1nil isChild ----@return number factionID ----@return 1nil hasBonusRepGain ----@return 1nil canBeLFGBonus +---@param index number +---@return string name +---@return string description +---@return 8 standingID +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return number barMin +---@return number barMax +---@return number barValue +---@return 1nil atWarWith +---@return 1nil canToggleAtWar +---@return 1nil isHeader +---@return 1nil isCollapsed +---@return 1nil hasRep +---@return 1nil isWatched +---@return 1nil isChild +---@return number factionID +---@return 1nil hasBonusRepGain +---@return 1nil canBeLFGBonus ---Returns information about a faction or header listing. Returns information about factions known to the player as listed in the player's Reputation UI; for information about any faction given its unique identifier, see GetFactionInfoByID. -function GetFactionInfo(index) end \ No newline at end of file +function GetFactionInfo(index) end diff --git a/api/GetFactionInfoByID.lua b/api/GetFactionInfoByID.lua index bd204d3..12b3c14 100644 --- a/api/GetFactionInfoByID.lua +++ b/api/GetFactionInfoByID.lua @@ -1,29 +1,29 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param factionID number ----@return string name ----@return string description ----@return 8 standingID ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return number barMin ----@return number barMax ----@return number barValue ----@return 1nil atWarWith ----@return 1nil canToggleAtWar ----@return 1nil isHeader ----@return 1nil isCollapsed ----@return 1nil hasRep ----@return 1nil isWatched ----@return 1nil isChild ----@return number factionID ----@return 1nil hasBonusRepGain ----@return 1nil canBeLFGBonus +---@param factionID number +---@return string name +---@return string description +---@return 8 standingID +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return number barMin +---@return number barMax +---@return number barValue +---@return 1nil atWarWith +---@return 1nil canToggleAtWar +---@return 1nil isHeader +---@return 1nil isCollapsed +---@return 1nil hasRep +---@return 1nil isWatched +---@return 1nil isChild +---@return number factionID +---@return 1nil hasBonusRepGain +---@return 1nil canBeLFGBonus ---Returns information about a faction or header listing. Returns information about a faction regardless of whether the faction is known to the player (indeed, even for factions only available to the opposing alliance); see GetFactionInfo for information about factions listed in the player's Reputation UI. Faction IDs used by this function match those found on database sites (e.g. Guardians of Hyjal) and are also returned by GetQuestLogRewardFactionInfo. -function GetFactionInfoByID(factionID) end \ No newline at end of file +function GetFactionInfoByID(factionID) end diff --git a/api/GetFirstTradeSkill.lua b/api/GetFirstTradeSkill.lua index 19fc365..8918ed1 100644 --- a/api/GetFirstTradeSkill.lua +++ b/api/GetFirstTradeSkill.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the first non-header in the trade skill listing -function GetFirstTradeSkill() end \ No newline at end of file +function GetFirstTradeSkill() end diff --git a/api/GetFlexRaidDungeonInfo.lua b/api/GetFlexRaidDungeonInfo.lua index 0687555..11ee280 100644 --- a/api/GetFlexRaidDungeonInfo.lua +++ b/api/GetFlexRaidDungeonInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetFlexRaidDungeonInfo() end \ No newline at end of file +function GetFlexRaidDungeonInfo() end diff --git a/api/GetFlyoutID.lua b/api/GetFlyoutID.lua index d620f9a..e805011 100644 --- a/api/GetFlyoutID.lua +++ b/api/GetFlyoutID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number flyoutID +---@param index number +---@return number flyoutID ---Returns the internal flyoutID for a given flyout index. The input parameter index is from 1 to the number provided by GetNumFlyouts() -function GetFlyoutID(index) end \ No newline at end of file +function GetFlyoutID(index) end diff --git a/api/GetFlyoutInfo.lua b/api/GetFlyoutInfo.lua index 8af6d7d..d909f31 100644 --- a/api/GetFlyoutInfo.lua +++ b/api/GetFlyoutInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string name ----@return string description ----@return number numSlots ----@return boolean isKnown +---@param id number +---@return string name +---@return string description +---@return number numSlots +---@return boolean isKnown ---Returns information about a flyout slot. Flyout IDs are provided by GetFlyoutID(index). -function GetFlyoutInfo(id) end \ No newline at end of file +function GetFlyoutInfo(id) end diff --git a/api/GetFlyoutSlotInfo.lua b/api/GetFlyoutSlotInfo.lua index 8548f63..331c560 100644 --- a/api/GetFlyoutSlotInfo.lua +++ b/api/GetFlyoutSlotInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param flyoutID number ----@param slot number ----@return number spellID ----@return boolean isKnown +---@param flyoutID number +---@param slot number +---@return number spellID +---@return boolean isKnown ---Returns information about a flyout ability slot -function GetFlyoutSlotInfo(flyoutID, slot) end \ No newline at end of file +function GetFlyoutSlotInfo(flyoutID, slot) end diff --git a/api/GetFrameCPUUsage.lua b/api/GetFrameCPUUsage.lua index 99465b8..ac3ce80 100644 --- a/api/GetFrameCPUUsage.lua +++ b/api/GetFrameCPUUsage.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param frame table ----@param includeChildren boolean ----@return number usage ----@return number calls +---@param frame table +---@param includeChildren boolean +---@return number usage +---@return number calls ---Returns information about CPU usage by a frame's script handlers. Only returns valid data if the scriptProfile CVar was set to 1 on last UI reload; returns 0 otherwise. OnUpdate CPU usage is not included (tested at ver 6.0.3). Other scripts (e.g. OnEvent, OnShow) are included. Note that the CPU time is the sum of the time spent in the frame's CURRENT script handler functions, so if you change the handlers, or nil them out, the reported CPU time will change. -function GetFrameCPUUsage(frame, includeChildren) end \ No newline at end of file +function GetFrameCPUUsage(frame, includeChildren) end diff --git a/api/GetFramerate.lua b/api/GetFramerate.lua index 8f02863..a65f315 100644 --- a/api/GetFramerate.lua +++ b/api/GetFramerate.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number framerate +---@return number framerate ---Returns the number of frames per second rendered by the client -function GetFramerate() end \ No newline at end of file +function GetFramerate() end diff --git a/api/GetFramesRegisteredForEvent.lua b/api/GetFramesRegisteredForEvent.lua index 8f8bfd6..6bcbca4 100644 --- a/api/GetFramesRegisteredForEvent.lua +++ b/api/GetFramesRegisteredForEvent.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param event string ----@return list ... +---@param event string +---@return list ... ---Returns all frames registered for a given event -function GetFramesRegisteredForEvent(event) end \ No newline at end of file +function GetFramesRegisteredForEvent(event) end diff --git a/api/GetFriendInfo.lua b/api/GetFriendInfo.lua index f71355f..b9fdee7 100644 --- a/api/GetFriendInfo.lua +++ b/api/GetFriendInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return number level ----@return string class ----@return string area ----@return 1nil connected ----@return string status ----@return string note ----@return 1nil RAF +---@param index number +---@return string name +---@return number level +---@return string class +---@return string area +---@return 1nil connected +---@return string status +---@return string note +---@return 1nil RAF ---Returns information about a character on the player's friends list -function GetFriendInfo(index) end \ No newline at end of file +function GetFriendInfo(index) end diff --git a/api/GetGMStatus.lua b/api/GetGMStatus.lua index a70b025..5dc4a6c 100644 --- a/api/GetGMStatus.lua +++ b/api/GetGMStatus.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGMStatus() end \ No newline at end of file +function GetGMStatus() end diff --git a/api/GetGMTicket.lua b/api/GetGMTicket.lua index a3ba155..821e776 100644 --- a/api/GetGMTicket.lua +++ b/api/GetGMTicket.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests GM ticket status from the server. The UPDATE_TICKET event fires when data is ready. -function GetGMTicket() end \ No newline at end of file +function GetGMTicket() end diff --git a/api/GetGMTicketCategories.lua b/api/GetGMTicketCategories.lua index 2aa1028..d006e5d 100644 --- a/api/GetGMTicketCategories.lua +++ b/api/GetGMTicketCategories.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string ... +---@return string ... ---Returns a list of available GM ticket categories. No longer used in the current GM Help UI. -function GetGMTicketCategories() end \ No newline at end of file +function GetGMTicketCategories() end diff --git a/api/GetGameTime.lua b/api/GetGameTime.lua index 5edf3c2..e2aa66b 100644 --- a/api/GetGameTime.lua +++ b/api/GetGameTime.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number hour ----@return number minute +---@return number hour +---@return number minute ---Returns the current realm (server) time. Warning! When player is on an instance server (Dungeon, Arena, Battleground) GetGameTime() might return different server time than on the player server. This is caused by fact that some instance servers run in different timezone that players servers. -function GetGameTime() end \ No newline at end of file +function GetGameTime() end diff --git a/api/GetGamma.lua b/api/GetGamma.lua index 8a0010c..f700aff 100644 --- a/api/GetGamma.lua +++ b/api/GetGamma.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number gamma +---@return number gamma ---Returns the current display gamma setting. Gamma value determines the contrast between lighter and darker portions of the game display; for a detailed explanation see the Wikipedia entry on Gamma correction entry. -function GetGamma() end \ No newline at end of file +function GetGamma() end diff --git a/api/GetGlyphClearInfo.lua b/api/GetGlyphClearInfo.lua index 7c1a79d..ef2b407 100644 --- a/api/GetGlyphClearInfo.lua +++ b/api/GetGlyphClearInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGlyphClearInfo() end \ No newline at end of file +function GetGlyphClearInfo() end diff --git a/api/GetGlyphInfo.lua b/api/GetGlyphInfo.lua index f52fc69..578b752 100644 --- a/api/GetGlyphInfo.lua +++ b/api/GetGlyphInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return number glyphType ----@return boolean isKnown ----@return string icon ----@return number castSpell +---@param index number +---@return string name +---@return number glyphType +---@return boolean isKnown +---@return string icon +---@return number castSpell ---Returns information about a glyph in the glyph list. This function is used to iterate through all the glyphs the current class can use, whether known or not. The spell ID referenced in the fifth return castSpell refers to the spell used to put the glyph in the socket -- not the Inscription spell that creates a glyph item, but the spell associated with that item's "Use:" effect. -function GetGlyphInfo(index) end \ No newline at end of file +function GetGlyphInfo(index) end diff --git a/api/GetGlyphLinkByID.lua b/api/GetGlyphLinkByID.lua index bea18f0..72087ba 100644 --- a/api/GetGlyphLinkByID.lua +++ b/api/GetGlyphLinkByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGlyphLinkByID() end \ No newline at end of file +function GetGlyphLinkByID() end diff --git a/api/GetGossipActiveQuests.lua b/api/GetGossipActiveQuests.lua index bd5c90c..d01cfad 100644 --- a/api/GetGossipActiveQuests.lua +++ b/api/GetGossipActiveQuests.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return number level ----@return 1nil isTrivial ----@return 1nil isComplete ----@return 1nil isLegendary ----@return list ... +---@return string name +---@return number level +---@return 1nil isTrivial +---@return 1nil isComplete +---@return 1nil isLegendary +---@return list ... ---Returns a list of quests which can be turned in to the current Gossip NPC. For quests offered by the NPC, see GetGossipAvailableQuests(). -function GetGossipActiveQuests() end \ No newline at end of file +function GetGossipActiveQuests() end diff --git a/api/GetGossipAvailableQuests.lua b/api/GetGossipAvailableQuests.lua index 5c0d55e..ab72406 100644 --- a/api/GetGossipAvailableQuests.lua +++ b/api/GetGossipAvailableQuests.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return number level ----@return boolean isTrivial ----@return LE_QUEST_FREQUENCY_WEEKLY frequency ----@return 1 ----@return LE_QUEST_FREQUENCY_DAILY ----@return LE_QUEST_FREQUENCY_WEEKLY ----@return boolean isRepeatable ----@return boolean isLegendary ----@return list ... +---@return string name +---@return number level +---@return boolean isTrivial +---@return LE_QUEST_FREQUENCY_WEEKLY frequency +---@return 1 +---@return LE_QUEST_FREQUENCY_DAILY +---@return LE_QUEST_FREQUENCY_WEEKLY +---@return boolean isRepeatable +---@return boolean isLegendary +---@return list ... ---Returns a list of quests available from the current Gossip NPC. For quests which can be turned in to the NPC, see GetGossipActiveQuests(). -function GetGossipAvailableQuests() end \ No newline at end of file +function GetGossipAvailableQuests() end diff --git a/api/GetGossipOptions.lua b/api/GetGossipOptions.lua index f7eb81f..d12dce7 100644 --- a/api/GetGossipOptions.lua +++ b/api/GetGossipOptions.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text ----@return Vendor gossipType ----@return Banker ----@return BattleMaster ----@return Binder ----@return Gossip ----@return Tabard ----@return Taxi ----@return Trainer ----@return Vendor ----@return list ... +---@return string text +---@return Vendor gossipType +---@return Banker +---@return BattleMaster +---@return Binder +---@return Gossip +---@return Tabard +---@return Taxi +---@return Trainer +---@return Vendor +---@return list ... ---Returns a list of interaction options for the Gossip NPC -function GetGossipOptions() end \ No newline at end of file +function GetGossipOptions() end diff --git a/api/GetGossipText.lua b/api/GetGossipText.lua index 0121b88..8146777 100644 --- a/api/GetGossipText.lua +++ b/api/GetGossipText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns greeting or other text to be displayed in an NPC dialog -function GetGossipText() end \ No newline at end of file +function GetGossipText() end diff --git a/api/GetGraphicsAPIs.lua b/api/GetGraphicsAPIs.lua index b7a3ff2..13d0bea 100644 --- a/api/GetGraphicsAPIs.lua +++ b/api/GetGraphicsAPIs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGraphicsAPIs() end \ No newline at end of file +function GetGraphicsAPIs() end diff --git a/api/GetGreetingText.lua b/api/GetGreetingText.lua index 76f48f2..1a17d09 100644 --- a/api/GetGreetingText.lua +++ b/api/GetGreetingText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string greetingText +---@return string greetingText ---Returns the greeting text displayed for quest NPCs with multiple quests. Not used often; most quest NPCs offering multiple quests (and/or other options) use the Gossip functions to provide a greeting (see GetGossipText()). -function GetGreetingText() end \ No newline at end of file +function GetGreetingText() end diff --git a/api/GetGuildAchievementMemberInfo.lua b/api/GetGuildAchievementMemberInfo.lua index a96f170..bede343 100644 --- a/api/GetGuildAchievementMemberInfo.lua +++ b/api/GetGuildAchievementMemberInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildAchievementMemberInfo() end \ No newline at end of file +function GetGuildAchievementMemberInfo() end diff --git a/api/GetGuildAchievementMembers.lua b/api/GetGuildAchievementMembers.lua index 1c6367a..a6e2768 100644 --- a/api/GetGuildAchievementMembers.lua +++ b/api/GetGuildAchievementMembers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildAchievementMembers() end \ No newline at end of file +function GetGuildAchievementMembers() end diff --git a/api/GetGuildAchievementNumMembers.lua b/api/GetGuildAchievementNumMembers.lua index 1f23cc4..a2b19f8 100644 --- a/api/GetGuildAchievementNumMembers.lua +++ b/api/GetGuildAchievementNumMembers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildAchievementNumMembers() end \ No newline at end of file +function GetGuildAchievementNumMembers() end diff --git a/api/GetGuildApplicantInfo.lua b/api/GetGuildApplicantInfo.lua index 665f26d..3e0034f 100644 --- a/api/GetGuildApplicantInfo.lua +++ b/api/GetGuildApplicantInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildApplicantInfo() end \ No newline at end of file +function GetGuildApplicantInfo() end diff --git a/api/GetGuildApplicantSelection.lua b/api/GetGuildApplicantSelection.lua index 2b054e7..eadd5f0 100644 --- a/api/GetGuildApplicantSelection.lua +++ b/api/GetGuildApplicantSelection.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildApplicantSelection() end \ No newline at end of file +function GetGuildApplicantSelection() end diff --git a/api/GetGuildBankBonusDepositMoney.lua b/api/GetGuildBankBonusDepositMoney.lua index a4e3ed1..628ef2c 100644 --- a/api/GetGuildBankBonusDepositMoney.lua +++ b/api/GetGuildBankBonusDepositMoney.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildBankBonusDepositMoney() end \ No newline at end of file +function GetGuildBankBonusDepositMoney() end diff --git a/api/GetGuildBankItemInfo.lua b/api/GetGuildBankItemInfo.lua index 9924f80..8bf33d9 100644 --- a/api/GetGuildBankItemInfo.lua +++ b/api/GetGuildBankItemInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param slot number ----@return string texture ----@return number count ----@return 1nil locked +---@param tab number +---@param slot number +---@return string texture +---@return number count +---@return 1nil locked ---Returns information about the contents of a guild bank item slot -function GetGuildBankItemInfo(tab, slot) end \ No newline at end of file +function GetGuildBankItemInfo(tab, slot) end diff --git a/api/GetGuildBankItemLink.lua b/api/GetGuildBankItemLink.lua index 8f38348..2b075ab 100644 --- a/api/GetGuildBankItemLink.lua +++ b/api/GetGuildBankItemLink.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param slot number ----@return string item +---@param tab number +---@param slot number +---@return string item ---Returns a hyperlink for an item in the guild bank -function GetGuildBankItemLink(tab, slot) end \ No newline at end of file +function GetGuildBankItemLink(tab, slot) end diff --git a/api/GetGuildBankMoney.lua b/api/GetGuildBankMoney.lua index d28f3c7..28a0513 100644 --- a/api/GetGuildBankMoney.lua +++ b/api/GetGuildBankMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number guildBankMoney +---@return number guildBankMoney ---Returns the amount of money in the guild bank. The return value is cached and returns the last value seen when not interacting with a guild bank vault. This cache works across characters, and is updated when the GUILDBANK_UPDATE_MONEY or GUILDBANKFRAME_OPENED event fires. If no player character has accessed a guild bank since the game client was launched, this function returns 0. -function GetGuildBankMoney() end \ No newline at end of file +function GetGuildBankMoney() end diff --git a/api/GetGuildBankMoneyTransaction.lua b/api/GetGuildBankMoneyTransaction.lua index 45bc05e..3b7b687 100644 --- a/api/GetGuildBankMoneyTransaction.lua +++ b/api/GetGuildBankMoneyTransaction.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return withdraw type ----@return deposit ----@return repair ----@return withdraw ----@return string name ----@return number year ----@return number month ----@return number day ----@return number hour +---@param index number +---@return withdraw type +---@return deposit +---@return repair +---@return withdraw +---@return string name +---@return number year +---@return number month +---@return number day +---@return number hour ---Returns information about a transaction in the guild bank money log -function GetGuildBankMoneyTransaction(index) end \ No newline at end of file +function GetGuildBankMoneyTransaction(index) end diff --git a/api/GetGuildBankTabCost.lua b/api/GetGuildBankTabCost.lua index d425555..8595196 100644 --- a/api/GetGuildBankTabCost.lua +++ b/api/GetGuildBankTabCost.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number tabCost +---@return number tabCost ---Returns the cost of the next available guild bank tab -function GetGuildBankTabCost() end \ No newline at end of file +function GetGuildBankTabCost() end diff --git a/api/GetGuildBankTabInfo.lua b/api/GetGuildBankTabInfo.lua index 11a4ca3..a683f7d 100644 --- a/api/GetGuildBankTabInfo.lua +++ b/api/GetGuildBankTabInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@return string name ----@return string icon ----@return 1nil isViewable ----@return 1nil canDeposit ----@return number numWithdrawals ----@return number remainingWithdrawals +---@param tab number +---@return string name +---@return string icon +---@return 1nil isViewable +---@return 1nil canDeposit +---@return number numWithdrawals +---@return number remainingWithdrawals ---Returns information about a guild bank tab -function GetGuildBankTabInfo(tab) end \ No newline at end of file +function GetGuildBankTabInfo(tab) end diff --git a/api/GetGuildBankTabPermissions.lua b/api/GetGuildBankTabPermissions.lua index 31201e8..ff032e4 100644 --- a/api/GetGuildBankTabPermissions.lua +++ b/api/GetGuildBankTabPermissions.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@return 1nil canView ----@return 1nil canDeposit ----@return 1nil canUpdateText ----@return number numWithdrawls +---@param tab number +---@return 1nil canView +---@return 1nil canDeposit +---@return 1nil canUpdateText +---@return number numWithdrawls ---Returns information about guild bank tab privileges for the guild rank currently being edited. Used in the default UI's guild control panel. -function GetGuildBankTabPermissions(tab) end \ No newline at end of file +function GetGuildBankTabPermissions(tab) end diff --git a/api/GetGuildBankText.lua b/api/GetGuildBankText.lua index 1112fe9..3d9afea 100644 --- a/api/GetGuildBankText.lua +++ b/api/GetGuildBankText.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@return string text +---@param tab number +---@return string text ---Returns text associated with a guild bank tab. Only returns valid data after QueryGuildBankText() has been called to retrieve the text from the server and the following GUILDBANK_UPDATE_TEXT event has fired. -function GetGuildBankText(tab) end \ No newline at end of file +function GetGuildBankText(tab) end diff --git a/api/GetGuildBankTransaction.lua b/api/GetGuildBankTransaction.lua index 710af09..b4c739b 100644 --- a/api/GetGuildBankTransaction.lua +++ b/api/GetGuildBankTransaction.lua @@ -1,20 +1,20 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param index number ----@return withdraw type ----@return deposit ----@return move ----@return repair ----@return withdraw ----@return string name ----@return string itemLink ----@return number count ----@return number tab1 ----@return number tab2 ----@return number year ----@return number month ----@return number day ----@return number hour +---@param tab number +---@param index number +---@return withdraw type +---@return deposit +---@return move +---@return repair +---@return withdraw +---@return string name +---@return string itemLink +---@return number count +---@return number tab1 +---@return number tab2 +---@return number year +---@return number month +---@return number day +---@return number hour ---Returns information about a transaction in the log for a guild bank tab. Only returns valid information following the GUILDBANKLOG_UPDATE event which fires after calling QueryGuildBankLog(). -function GetGuildBankTransaction(tab, index) end \ No newline at end of file +function GetGuildBankTransaction(tab, index) end diff --git a/api/GetGuildBankWithdrawGoldLimit.lua b/api/GetGuildBankWithdrawGoldLimit.lua index d83ce92..54341d0 100644 --- a/api/GetGuildBankWithdrawGoldLimit.lua +++ b/api/GetGuildBankWithdrawGoldLimit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildBankWithdrawGoldLimit() end \ No newline at end of file +function GetGuildBankWithdrawGoldLimit() end diff --git a/api/GetGuildBankWithdrawMoney.lua b/api/GetGuildBankWithdrawMoney.lua index d95dc62..c08e22f 100644 --- a/api/GetGuildBankWithdrawMoney.lua +++ b/api/GetGuildBankWithdrawMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number withdrawLimit +---@return number withdrawLimit ---Returns the amount of money the player is allowed to withdraw from the guild bank per day -function GetGuildBankWithdrawMoney() end \ No newline at end of file +function GetGuildBankWithdrawMoney() end diff --git a/api/GetGuildCategoryList.lua b/api/GetGuildCategoryList.lua index 672c3d3..394389f 100644 --- a/api/GetGuildCategoryList.lua +++ b/api/GetGuildCategoryList.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table categories +---@return table categories ---Returns a list of all guild achievement categories -function GetGuildCategoryList() end \ No newline at end of file +function GetGuildCategoryList() end diff --git a/api/GetGuildChallengeInfo.lua b/api/GetGuildChallengeInfo.lua index 6d7eb42..9d039f2 100644 --- a/api/GetGuildChallengeInfo.lua +++ b/api/GetGuildChallengeInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildChallengeInfo() end \ No newline at end of file +function GetGuildChallengeInfo() end diff --git a/api/GetGuildCharterCost.lua b/api/GetGuildCharterCost.lua index d23b7e9..c6c8ee3 100644 --- a/api/GetGuildCharterCost.lua +++ b/api/GetGuildCharterCost.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cost +---@return number cost ---Returns the cost to purchase a guild charter. Usable if the player is interacting with a guild registrar (i.e. between the GUILD_REGISTRAR_SHOW and GUILD_REGISTRAR_CLOSED events). -function GetGuildCharterCost() end \ No newline at end of file +function GetGuildCharterCost() end diff --git a/api/GetGuildEventInfo.lua b/api/GetGuildEventInfo.lua index 7cd7397..974514b 100644 --- a/api/GetGuildEventInfo.lua +++ b/api/GetGuildEventInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return remove type ----@return demote ----@return invite ----@return join ----@return promote ----@return quit ----@return remove ----@return string player1 ----@return string player2 ----@return string rank ----@return number year ----@return number month ----@return number day ----@return number hour +---@param index number +---@return remove type +---@return demote +---@return invite +---@return join +---@return promote +---@return quit +---@return remove +---@return string player1 +---@return string player2 +---@return string rank +---@return number year +---@return number month +---@return number day +---@return number hour ---Returns information about an entry in the guild event log. Only returns valid data after calling QueryGuildEventLog() and the following GUILD_EVENT_LOG_UPDATE event has fired. -function GetGuildEventInfo(index) end \ No newline at end of file +function GetGuildEventInfo(index) end diff --git a/api/GetGuildExpirationTime.lua b/api/GetGuildExpirationTime.lua index 6d638d9..f513a9e 100644 --- a/api/GetGuildExpirationTime.lua +++ b/api/GetGuildExpirationTime.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildExpirationTime() end \ No newline at end of file +function GetGuildExpirationTime() end diff --git a/api/GetGuildFactionGroup.lua b/api/GetGuildFactionGroup.lua index d500965..ec4970f 100644 --- a/api/GetGuildFactionGroup.lua +++ b/api/GetGuildFactionGroup.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildFactionGroup() end \ No newline at end of file +function GetGuildFactionGroup() end diff --git a/api/GetGuildFactionInfo.lua b/api/GetGuildFactionInfo.lua index 7125985..1f4cd7f 100644 --- a/api/GetGuildFactionInfo.lua +++ b/api/GetGuildFactionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildFactionInfo() end \ No newline at end of file +function GetGuildFactionInfo() end diff --git a/api/GetGuildInfo.lua b/api/GetGuildInfo.lua index 6e48e8b..5d9f09b 100644 --- a/api/GetGuildInfo.lua +++ b/api/GetGuildInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return string guildName ----@return string guildRankName ----@return number guildRankIndex +---@param unit string +---@param name string +---@return string guildName +---@return string guildRankName +---@return number guildRankIndex ---Returns a unit's guild affiliation -function GetGuildInfo(unit, name) end \ No newline at end of file +function GetGuildInfo(unit, name) end diff --git a/api/GetGuildInfoText.lua b/api/GetGuildInfoText.lua index 787ca30..2265079 100644 --- a/api/GetGuildInfoText.lua +++ b/api/GetGuildInfoText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string guildInfoText +---@return string guildInfoText ---Returns guild information text. Only returns valid data after calling GuildRoster() and the following GUILD_ROSTER_UPDATE event has fired. This text appears when clicking the "Guild Information" button in the default UI's Guild window. -function GetGuildInfoText() end \ No newline at end of file +function GetGuildInfoText() end diff --git a/api/GetGuildLevelEnabled.lua b/api/GetGuildLevelEnabled.lua index 6598f11..56522db 100644 --- a/api/GetGuildLevelEnabled.lua +++ b/api/GetGuildLevelEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildLevelEnabled() end \ No newline at end of file +function GetGuildLevelEnabled() end diff --git a/api/GetGuildLogoInfo.lua b/api/GetGuildLogoInfo.lua index 6f2fd0e..0ba0a35 100644 --- a/api/GetGuildLogoInfo.lua +++ b/api/GetGuildLogoInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildLogoInfo() end \ No newline at end of file +function GetGuildLogoInfo() end diff --git a/api/GetGuildMemberRecipes.lua b/api/GetGuildMemberRecipes.lua index 4308a86..ae5a02b 100644 --- a/api/GetGuildMemberRecipes.lua +++ b/api/GetGuildMemberRecipes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildMemberRecipes() end \ No newline at end of file +function GetGuildMemberRecipes() end diff --git a/api/GetGuildMembershipRequestInfo.lua b/api/GetGuildMembershipRequestInfo.lua index 9c0246a..68677b5 100644 --- a/api/GetGuildMembershipRequestInfo.lua +++ b/api/GetGuildMembershipRequestInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildMembershipRequestInfo() end \ No newline at end of file +function GetGuildMembershipRequestInfo() end diff --git a/api/GetGuildMembershipRequestSettings.lua b/api/GetGuildMembershipRequestSettings.lua index 9aebc09..d6ab222 100644 --- a/api/GetGuildMembershipRequestSettings.lua +++ b/api/GetGuildMembershipRequestSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildMembershipRequestSettings() end \ No newline at end of file +function GetGuildMembershipRequestSettings() end diff --git a/api/GetGuildNewsFilters.lua b/api/GetGuildNewsFilters.lua index 271e1b0..2c6c6f9 100644 --- a/api/GetGuildNewsFilters.lua +++ b/api/GetGuildNewsFilters.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildNewsFilters() end \ No newline at end of file +function GetGuildNewsFilters() end diff --git a/api/GetGuildNewsInfo.lua b/api/GetGuildNewsInfo.lua index b673573..a98fa3a 100644 --- a/api/GetGuildNewsInfo.lua +++ b/api/GetGuildNewsInfo.lua @@ -1,27 +1,27 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param newsIndex number ----@return boolean isSticky ----@return boolean isHeader ----@return 5 newsType ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return string text1 ----@return string text2 ----@return newsType = 5 id ----@return newsType = 0 ----@return newsType = 1 ----@return newsType = 2 ----@return newsType = 3 ----@return newsType = 4 ----@return newsType = 5 ----@return number weekday ----@return number day ----@return number month ----@return number year +---@param newsIndex number +---@return boolean isSticky +---@return boolean isHeader +---@return 5 newsType +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return string text1 +---@return string text2 +---@return newsType = 5 id +---@return newsType = 0 +---@return newsType = 1 +---@return newsType = 2 +---@return newsType = 3 +---@return newsType = 4 +---@return newsType = 5 +---@return number weekday +---@return number day +---@return number month +---@return number year ---Returns information about an item of guild news -function GetGuildNewsInfo(newsIndex) end \ No newline at end of file +function GetGuildNewsInfo(newsIndex) end diff --git a/api/GetGuildNewsMemberName.lua b/api/GetGuildNewsMemberName.lua index 94761e7..54b4977 100644 --- a/api/GetGuildNewsMemberName.lua +++ b/api/GetGuildNewsMemberName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildNewsMemberName() end \ No newline at end of file +function GetGuildNewsMemberName() end diff --git a/api/GetGuildNewsSort.lua b/api/GetGuildNewsSort.lua index bf38c47..55fb3a2 100644 --- a/api/GetGuildNewsSort.lua +++ b/api/GetGuildNewsSort.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildNewsSort() end \ No newline at end of file +function GetGuildNewsSort() end diff --git a/api/GetGuildPerkInfo.lua b/api/GetGuildPerkInfo.lua index 08e23c8..e671b94 100644 --- a/api/GetGuildPerkInfo.lua +++ b/api/GetGuildPerkInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildPerkInfo() end \ No newline at end of file +function GetGuildPerkInfo() end diff --git a/api/GetGuildRecipeInfoPostQuery.lua b/api/GetGuildRecipeInfoPostQuery.lua index 1551ae7..34604f3 100644 --- a/api/GetGuildRecipeInfoPostQuery.lua +++ b/api/GetGuildRecipeInfoPostQuery.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildRecipeInfoPostQuery() end \ No newline at end of file +function GetGuildRecipeInfoPostQuery() end diff --git a/api/GetGuildRecipeMember.lua b/api/GetGuildRecipeMember.lua index 3a41d53..1e4b6c4 100644 --- a/api/GetGuildRecipeMember.lua +++ b/api/GetGuildRecipeMember.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string displayName ----@return string fullName ----@return string classFileName ----@return number online +---@param index number +---@return string displayName +---@return string fullName +---@return string classFileName +---@return number online ---Returns information about the selected player when viewing View Crafters under professions. -function GetGuildRecipeMember(index) end \ No newline at end of file +function GetGuildRecipeMember(index) end diff --git a/api/GetGuildRecruitmentComment.lua b/api/GetGuildRecruitmentComment.lua index ad7af8a..5947787 100644 --- a/api/GetGuildRecruitmentComment.lua +++ b/api/GetGuildRecruitmentComment.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildRecruitmentComment() end \ No newline at end of file +function GetGuildRecruitmentComment() end diff --git a/api/GetGuildRecruitmentSettings.lua b/api/GetGuildRecruitmentSettings.lua index 07ae765..2607415 100644 --- a/api/GetGuildRecruitmentSettings.lua +++ b/api/GetGuildRecruitmentSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildRecruitmentSettings() end \ No newline at end of file +function GetGuildRecruitmentSettings() end diff --git a/api/GetGuildRenameRequired.lua b/api/GetGuildRenameRequired.lua index 4785722..f844120 100644 --- a/api/GetGuildRenameRequired.lua +++ b/api/GetGuildRenameRequired.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildRenameRequired() end \ No newline at end of file +function GetGuildRenameRequired() end diff --git a/api/GetGuildRewardInfo.lua b/api/GetGuildRewardInfo.lua index b543110..ee052f9 100644 --- a/api/GetGuildRewardInfo.lua +++ b/api/GetGuildRewardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildRewardInfo() end \ No newline at end of file +function GetGuildRewardInfo() end diff --git a/api/GetGuildRosterInfo.lua b/api/GetGuildRosterInfo.lua index 32e7dd6..e617d9f 100644 --- a/api/GetGuildRosterInfo.lua +++ b/api/GetGuildRosterInfo.lua @@ -1,23 +1,23 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string fullName ----@return string rank ----@return number rankIndex ----@return number level ----@return string class ----@return string zone ----@return string note ----@return string officernote ----@return 1nil online ----@return 2 status ----@return 1 ----@return 2 ----@return string classFileName ----@return number achievementPoints ----@return number achievementRank ----@return number isMobile ----@return number canSoR ----@return number reputation +---@param index number +---@return string fullName +---@return string rank +---@return number rankIndex +---@return number level +---@return string class +---@return string zone +---@return string note +---@return string officernote +---@return 1nil online +---@return 2 status +---@return 1 +---@return 2 +---@return string classFileName +---@return number achievementPoints +---@return number achievementRank +---@return number isMobile +---@return number canSoR +---@return number reputation ---Returns information about the selected player in your guild roster.. Only returns valid data after calling GuildRoster() and the following GUILD_ROSTER_UPDATE event has fired. -function GetGuildRosterInfo(index) end \ No newline at end of file +function GetGuildRosterInfo(index) end diff --git a/api/GetGuildRosterLargestAchievementPoints.lua b/api/GetGuildRosterLargestAchievementPoints.lua index 00d99ca..9dd57f8 100644 --- a/api/GetGuildRosterLargestAchievementPoints.lua +++ b/api/GetGuildRosterLargestAchievementPoints.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetGuildRosterLargestAchievementPoints() end \ No newline at end of file +function GetGuildRosterLargestAchievementPoints() end diff --git a/api/GetGuildRosterLastOnline.lua b/api/GetGuildRosterLastOnline.lua index 0ab1a4c..701f3a6 100644 --- a/api/GetGuildRosterLastOnline.lua +++ b/api/GetGuildRosterLastOnline.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number years ----@return number months ----@return number days ----@return number hours +---@param index number +---@return number years +---@return number months +---@return number days +---@return number hours ---Returns the amount of time since a guild member was last online. Only returns valid data after calling GuildRoster() and the following GUILD_ROSTER_UPDATE event has fired. -function GetGuildRosterLastOnline(index) end \ No newline at end of file +function GetGuildRosterLastOnline(index) end diff --git a/api/GetGuildRosterMOTD.lua b/api/GetGuildRosterMOTD.lua index c63be9f..2d9d5b2 100644 --- a/api/GetGuildRosterMOTD.lua +++ b/api/GetGuildRosterMOTD.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string guildMOTD +---@return string guildMOTD ---Returns the Message of the Day for the player's guild -function GetGuildRosterMOTD() end \ No newline at end of file +function GetGuildRosterMOTD() end diff --git a/api/GetGuildRosterSelection.lua b/api/GetGuildRosterSelection.lua index 3de3921..69d5911 100644 --- a/api/GetGuildRosterSelection.lua +++ b/api/GetGuildRosterSelection.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the selected member in the guild roster. Selection in the guild roster is used only for display in the default UI and has no effect on other Guild APIs. -function GetGuildRosterSelection() end \ No newline at end of file +function GetGuildRosterSelection() end diff --git a/api/GetGuildRosterShowOffline.lua b/api/GetGuildRosterShowOffline.lua index dd3da79..40cf27f 100644 --- a/api/GetGuildRosterShowOffline.lua +++ b/api/GetGuildRosterShowOffline.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil showOffline +---@return 1nil showOffline ---Returns whether the guild roster lists offline members -function GetGuildRosterShowOffline() end \ No newline at end of file +function GetGuildRosterShowOffline() end diff --git a/api/GetGuildTabardFileNames.lua b/api/GetGuildTabardFileNames.lua index 2a99cfc..06a1b81 100644 --- a/api/GetGuildTabardFileNames.lua +++ b/api/GetGuildTabardFileNames.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string tabardBackgroundUpper ----@return string tabardBackgroundLower ----@return string tabardEmblemUpper ----@return string tabardEmblemLower ----@return string tabardBorderUpper ----@return string tabardBorderLower +---@return string tabardBackgroundUpper +---@return string tabardBackgroundLower +---@return string tabardEmblemUpper +---@return string tabardEmblemLower +---@return string tabardBorderUpper +---@return string tabardBorderLower ---Returns the textures that comprise the player's guild tabard. Returns nil if the player is not in a guild. -function GetGuildTabardFileNames() end \ No newline at end of file +function GetGuildTabardFileNames() end diff --git a/api/GetGuildTradeSkillInfo.lua b/api/GetGuildTradeSkillInfo.lua index f978b91..e47a39b 100644 --- a/api/GetGuildTradeSkillInfo.lua +++ b/api/GetGuildTradeSkillInfo.lua @@ -1,20 +1,20 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number professionID ----@return boolean or nil isCollapsed ----@return string iconTexture ----@return string headerName ----@return number numOnline ----@return number numVisible ----@return number numPlayers ----@return string playerName ----@return string playerNameWithRealm ----@return string class ----@return 1 or nil online ----@return string zone ----@return number skill ----@return string classFileName ----@return boolean isMobile +---@param index number +---@return number professionID +---@return boolean or nil isCollapsed +---@return string iconTexture +---@return string headerName +---@return number numOnline +---@return number numVisible +---@return number numPlayers +---@return string playerName +---@return string playerNameWithRealm +---@return string class +---@return 1 or nil online +---@return string zone +---@return number skill +---@return string classFileName +---@return boolean isMobile ---Returns information about the specified guild profession entry.. Returns information about the specified guild profession entry (crafter or header). -function GetGuildTradeSkillInfo(index) end \ No newline at end of file +function GetGuildTradeSkillInfo(index) end diff --git a/api/GetHairCustomization.lua b/api/GetHairCustomization.lua index bcacdd1..5a1b638 100644 --- a/api/GetHairCustomization.lua +++ b/api/GetHairCustomization.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string token +---@return string token ---Returns a token used for displaying "hair" customization options. The token referred to by this function can be used to look up a global variable containing localized names for the customization options available to the player's race at character creation time and in the Barbershop UI; see example. -function GetHairCustomization() end \ No newline at end of file +function GetHairCustomization() end diff --git a/api/GetHaste.lua b/api/GetHaste.lua index a495e10..d694af2 100644 --- a/api/GetHaste.lua +++ b/api/GetHaste.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns information about the players Haste percentage. -function GetHaste() end \ No newline at end of file +function GetHaste() end diff --git a/api/GetHitModifier.lua b/api/GetHitModifier.lua index 52bf3d3..ab6d171 100644 --- a/api/GetHitModifier.lua +++ b/api/GetHitModifier.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetHitModifier() end \ No newline at end of file +function GetHitModifier() end diff --git a/api/GetHolidayBGHonorCurrencyBonuses.lua b/api/GetHolidayBGHonorCurrencyBonuses.lua index e0a9f7a..884fd5c 100644 --- a/api/GetHolidayBGHonorCurrencyBonuses.lua +++ b/api/GetHolidayBGHonorCurrencyBonuses.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean unk ----@return number honorWinReward ----@return number arenaWinReward ----@return number honorLossReward ----@return number arenaLossReward +---@return boolean unk +---@return number honorWinReward +---@return number arenaWinReward +---@return number honorLossReward +---@return number arenaLossReward ---Returns the awarded honor and arena points for a Call to Arms battleground win or loss -function GetHolidayBGHonorCurrencyBonuses() end \ No newline at end of file +function GetHolidayBGHonorCurrencyBonuses() end diff --git a/api/GetHomePartyInfo.lua b/api/GetHomePartyInfo.lua index de3ba5c..724577b 100644 --- a/api/GetHomePartyInfo.lua +++ b/api/GetHomePartyInfo.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table names +---@return table names ---Returns a list of player names in the player's party or raid -function GetHomePartyInfo() end \ No newline at end of file +function GetHomePartyInfo() end diff --git a/api/GetIgnoreName.lua b/api/GetIgnoreName.lua index 00a20fb..6d09a71 100644 --- a/api/GetIgnoreName.lua +++ b/api/GetIgnoreName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index string ----@return string name +---@param index string +---@return string name ---Returns the name of a character on the ignore list -function GetIgnoreName(index) end \ No newline at end of file +function GetIgnoreName(index) end diff --git a/api/GetInboxHeaderInfo.lua b/api/GetInboxHeaderInfo.lua index cae2ce8..9f403fe 100644 --- a/api/GetInboxHeaderInfo.lua +++ b/api/GetInboxHeaderInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@return string packageIcon ----@return string stationeryIcon ----@return string sender ----@return string subject ----@return number money ----@return number CODAmount ----@return number daysLeft ----@return number itemCount ----@return 1nil wasRead ----@return 1nil wasReturned ----@return 1nil textCreated ----@return 1nil canReply ----@return 1nil isGM ----@return number itemQuantity +---@param mailID number +---@return string packageIcon +---@return string stationeryIcon +---@return string sender +---@return string subject +---@return number money +---@return number CODAmount +---@return number daysLeft +---@return number itemCount +---@return 1nil wasRead +---@return 1nil wasReturned +---@return 1nil textCreated +---@return 1nil canReply +---@return 1nil isGM +---@return number itemQuantity ---Returns information about a mail in the player's inbox -function GetInboxHeaderInfo(mailID) end \ No newline at end of file +function GetInboxHeaderInfo(mailID) end diff --git a/api/GetInboxInvoiceInfo.lua b/api/GetInboxInvoiceInfo.lua index 243d89f..cc9a831 100644 --- a/api/GetInboxInvoiceInfo.lua +++ b/api/GetInboxInvoiceInfo.lua @@ -1,18 +1,18 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return seller_temp_invoice invoiceType ----@return buyer ----@return seller ----@return seller_temp_invoice ----@return string itemName ----@return string playerName ----@return number bid ----@return number buyout ----@return number deposit ----@return number consignment ----@return number moneyDelay ----@return number etaHour ----@return number etaMin +---@param index number +---@return seller_temp_invoice invoiceType +---@return buyer +---@return seller +---@return seller_temp_invoice +---@return string itemName +---@return string playerName +---@return number bid +---@return number buyout +---@return number deposit +---@return number consignment +---@return number moneyDelay +---@return number etaHour +---@return number etaMin ---Returns auction house invoice information for a mail -function GetInboxInvoiceInfo(index) end \ No newline at end of file +function GetInboxInvoiceInfo(index) end diff --git a/api/GetInboxItem.lua b/api/GetInboxItem.lua index d8530a6..4102106 100644 --- a/api/GetInboxItem.lua +++ b/api/GetInboxItem.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@param attachmentIndex number ----@return string name ----@return string itemTexture ----@return number count ----@return number quality ----@return 1nil canUse +---@param mailID number +---@param attachmentIndex number +---@return string name +---@return string itemTexture +---@return number count +---@return number quality +---@return 1nil canUse ---Returns information for an item attached to a mail in the player's inbox -function GetInboxItem(mailID, attachmentIndex) end \ No newline at end of file +function GetInboxItem(mailID, attachmentIndex) end diff --git a/api/GetInboxItemLink.lua b/api/GetInboxItemLink.lua index 2b33e75..907a518 100644 --- a/api/GetInboxItemLink.lua +++ b/api/GetInboxItemLink.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@param attachmentIndex number ----@return string itemlink +---@param mailID number +---@param attachmentIndex number +---@return string itemlink ---Returns a hyperlink for an item attached to a mail in the player's inbox -function GetInboxItemLink(mailID, attachmentIndex) end \ No newline at end of file +function GetInboxItemLink(mailID, attachmentIndex) end diff --git a/api/GetInboxNumItems.lua b/api/GetInboxNumItems.lua index 7e32a69..92e2f8a 100644 --- a/api/GetInboxNumItems.lua +++ b/api/GetInboxNumItems.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numItems ----@return number totalItems +---@return number numItems +---@return number totalItems ---Returns the number of mails in the player's inbox -function GetInboxNumItems() end \ No newline at end of file +function GetInboxNumItems() end diff --git a/api/GetInboxText.lua b/api/GetInboxText.lua index cc703f7..5bf8a0f 100644 --- a/api/GetInboxText.lua +++ b/api/GetInboxText.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@return string bodyText ----@return string texture ----@return 1nil isTakeable ----@return 1nil isInvoice +---@param mailID number +---@return string bodyText +---@return string texture +---@return 1nil isTakeable +---@return 1nil isInvoice ---Returns information about the text of an inbox mail. Also marks the mail as read if it wasn't already. -function GetInboxText(mailID) end \ No newline at end of file +function GetInboxText(mailID) end diff --git a/api/GetInspectArenaData.lua b/api/GetInspectArenaData.lua index 2653db9..78a17fd 100644 --- a/api/GetInspectArenaData.lua +++ b/api/GetInspectArenaData.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInspectArenaData() end \ No newline at end of file +function GetInspectArenaData() end diff --git a/api/GetInspectGlyph.lua b/api/GetInspectGlyph.lua index fcd7356..7ed9468 100644 --- a/api/GetInspectGlyph.lua +++ b/api/GetInspectGlyph.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInspectGlyph() end \ No newline at end of file +function GetInspectGlyph() end diff --git a/api/GetInspectGuildInfo.lua b/api/GetInspectGuildInfo.lua index b0241ca..4487091 100644 --- a/api/GetInspectGuildInfo.lua +++ b/api/GetInspectGuildInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInspectGuildInfo() end \ No newline at end of file +function GetInspectGuildInfo() end diff --git a/api/GetInspectHonorData.lua b/api/GetInspectHonorData.lua index 81a62a6..aa3a952 100644 --- a/api/GetInspectHonorData.lua +++ b/api/GetInspectHonorData.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number todayHK ----@return number todayHonor ----@return number yesterdayHK ----@return number yesterdayHonor ----@return number lifetimeHK ----@return number lifetimeRank +---@return number todayHK +---@return number todayHonor +---@return number yesterdayHK +---@return number yesterdayHonor +---@return number lifetimeHK +---@return number lifetimeRank ---Returns PvP honor information about the currently inspected unit. Only available if data has been downloaded from the server; see HasInspectHonorData() and RequestInspectHonorData(). -function GetInspectHonorData() end \ No newline at end of file +function GetInspectHonorData() end diff --git a/api/GetInspectRatedBGData.lua b/api/GetInspectRatedBGData.lua index 28620d8..e32652b 100644 --- a/api/GetInspectRatedBGData.lua +++ b/api/GetInspectRatedBGData.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInspectRatedBGData() end \ No newline at end of file +function GetInspectRatedBGData() end diff --git a/api/GetInspectSpecialization.lua b/api/GetInspectSpecialization.lua index 7e8b7c7..e9190c0 100644 --- a/api/GetInspectSpecialization.lua +++ b/api/GetInspectSpecialization.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number specID +---@return number specID ---Return specialization global ID of inspected player. -function GetInspectSpecialization() end \ No newline at end of file +function GetInspectSpecialization() end diff --git a/api/GetInspectTalent.lua b/api/GetInspectTalent.lua index 2937b94..ae9fe3f 100644 --- a/api/GetInspectTalent.lua +++ b/api/GetInspectTalent.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInspectTalent() end \ No newline at end of file +function GetInspectTalent() end diff --git a/api/GetInstanceBootTimeRemaining.lua b/api/GetInstanceBootTimeRemaining.lua index 75691f2..11be1ef 100644 --- a/api/GetInstanceBootTimeRemaining.lua +++ b/api/GetInstanceBootTimeRemaining.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeleft +---@return number timeleft ---Returns the amount of time left until the player is removed from the current instance. Used when the player is in an instance he doesn't own; e.g. if the player enters an instance with a group and is then removed from the group. -function GetInstanceBootTimeRemaining() end \ No newline at end of file +function GetInstanceBootTimeRemaining() end diff --git a/api/GetInstanceInfo.lua b/api/GetInstanceInfo.lua index b9afb08..e6f7bbb 100644 --- a/api/GetInstanceInfo.lua +++ b/api/GetInstanceInfo.lua @@ -1,44 +1,44 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return scenario type ----@return arena ----@return none ----@return party ----@return pvp ----@return raid ----@return scenario ----@return 24 difficulty ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 9 ----@return 10 ----@return 11 ----@return 12 ----@return 13 ----@return 14 ----@return 15 ----@return 16 ----@return 17 ----@return 18 ----@return 19 ----@return 20 ----@return 21 ----@return 22 ----@return 23 ----@return 24 ----@return string difficultyName ----@return number maxPlayers ----@return number playerDifficulty ----@return boolean isDynamicInstance ----@return number mapID ----@return number instanceGroupSize +---@return string name +---@return scenario type +---@return arena +---@return none +---@return party +---@return pvp +---@return raid +---@return scenario +---@return 24 difficulty +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 9 +---@return 10 +---@return 11 +---@return 12 +---@return 13 +---@return 14 +---@return 15 +---@return 16 +---@return 17 +---@return 18 +---@return 19 +---@return 20 +---@return 21 +---@return 22 +---@return 23 +---@return 24 +---@return string difficultyName +---@return number maxPlayers +---@return number playerDifficulty +---@return boolean isDynamicInstance +---@return number mapID +---@return number instanceGroupSize ---Returns instance information about the current area -function GetInstanceInfo() end \ No newline at end of file +function GetInstanceInfo() end diff --git a/api/GetInstanceLockTimeRemaining.lua b/api/GetInstanceLockTimeRemaining.lua index c664fdf..8872585 100644 --- a/api/GetInstanceLockTimeRemaining.lua +++ b/api/GetInstanceLockTimeRemaining.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number seconds +---@return number seconds ---Returns time remaining before the player is saved to a recently entered instance. Applies when the player enters an instance to which other members of her group are saved; if the player leaves the instance (normally or with RespondInstanceLock(false)) within this time limit she will not be saved to the instance. -function GetInstanceLockTimeRemaining() end \ No newline at end of file +function GetInstanceLockTimeRemaining() end diff --git a/api/GetInstanceLockTimeRemainingEncounter.lua b/api/GetInstanceLockTimeRemainingEncounter.lua index 657e757..7126502 100644 --- a/api/GetInstanceLockTimeRemainingEncounter.lua +++ b/api/GetInstanceLockTimeRemainingEncounter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInstanceLockTimeRemainingEncounter() end \ No newline at end of file +function GetInstanceLockTimeRemainingEncounter() end diff --git a/api/GetInventoryAlertStatus.lua b/api/GetInventoryAlertStatus.lua index 34d25d1..d2d05f4 100644 --- a/api/GetInventoryAlertStatus.lua +++ b/api/GetInventoryAlertStatus.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 2 status ----@return 0 ----@return 1 ----@return 2 +---@param slot number +---@return 2 status +---@return 0 +---@return 1 +---@return 2 ---Returns the durability warning status of an equipped item. Looking up the status returned by this function in the INVENTORY_ALERT_COLORS table provides color values, used in the default UI to highlight parts of the DurabiltyFrame (i.e. the "armored man" image) that appears when durability is low. -function GetInventoryAlertStatus(slot) end \ No newline at end of file +function GetInventoryAlertStatus(slot) end diff --git a/api/GetInventoryItemBroken.lua b/api/GetInventoryItemBroken.lua index 88682e6..7a8c1e9 100644 --- a/api/GetInventoryItemBroken.lua +++ b/api/GetInventoryItemBroken.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return 1nil isBroken +---@param unit string +---@param slot number +---@return 1nil isBroken ---Returns whether an equipped item is broken -function GetInventoryItemBroken(unit, slot) end \ No newline at end of file +function GetInventoryItemBroken(unit, slot) end diff --git a/api/GetInventoryItemCooldown.lua b/api/GetInventoryItemCooldown.lua index 41b0642..1b6aa37 100644 --- a/api/GetInventoryItemCooldown.lua +++ b/api/GetInventoryItemCooldown.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return number start ----@return number duration ----@return number enable +---@param unit string +---@param slot number +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about an equipped item -function GetInventoryItemCooldown(unit, slot) end \ No newline at end of file +function GetInventoryItemCooldown(unit, slot) end diff --git a/api/GetInventoryItemCount.lua b/api/GetInventoryItemCount.lua index 1fd0c81..cd4e43f 100644 --- a/api/GetInventoryItemCount.lua +++ b/api/GetInventoryItemCount.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return number count +---@param unit string +---@param slot number +---@return number count ---Returns the number of items stacked in an inventory slot. Currently only returns meaningful information for the ammo slot. -function GetInventoryItemCount(unit, slot) end \ No newline at end of file +function GetInventoryItemCount(unit, slot) end diff --git a/api/GetInventoryItemDurability.lua b/api/GetInventoryItemDurability.lua index 3273143..48e09f1 100644 --- a/api/GetInventoryItemDurability.lua +++ b/api/GetInventoryItemDurability.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return number durability ----@return number max +---@param slot number +---@return number durability +---@return number max ---Returns the current durability level of an equipped item. If an item does not have durability (for example, heirlooms, tabards and some other items) then this function will simply return nil. -function GetInventoryItemDurability(slot) end \ No newline at end of file +function GetInventoryItemDurability(slot) end diff --git a/api/GetInventoryItemEquippedUnusable.lua b/api/GetInventoryItemEquippedUnusable.lua index ced57e3..09c93aa 100644 --- a/api/GetInventoryItemEquippedUnusable.lua +++ b/api/GetInventoryItemEquippedUnusable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetInventoryItemEquippedUnusable() end \ No newline at end of file +function GetInventoryItemEquippedUnusable() end diff --git a/api/GetInventoryItemGems.lua b/api/GetInventoryItemGems.lua index 77b02d9..af17a29 100644 --- a/api/GetInventoryItemGems.lua +++ b/api/GetInventoryItemGems.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return itemID gem1 ----@return itemID gem2 ----@return itemID gem3 +---@param slot number +---@return itemID gem1 +---@return itemID gem2 +---@return itemID gem3 ---Returns the gems socketed in an equipped item. The IDs returned refer to the gems themselves (not the enchantments they provide), and thus can be passed to GetItemInfo() to get a gem's name, quality, icon, etc. -function GetInventoryItemGems(slot) end \ No newline at end of file +function GetInventoryItemGems(slot) end diff --git a/api/GetInventoryItemID.lua b/api/GetInventoryItemID.lua index 443046a..6d2482b 100644 --- a/api/GetInventoryItemID.lua +++ b/api/GetInventoryItemID.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return itemID id +---@param unit string +---@param slot number +---@return itemID id ---Returns the item ID of an equipped item. The results of this function can be used with GetInventorySlotInfo() and other related inventory functions. If the player beign /inspected has used transmorgification on the slot, then the itemID of the transmorgified item is what is returned, not the actual item equipped. -function GetInventoryItemID(unit, slot) end \ No newline at end of file +function GetInventoryItemID(unit, slot) end diff --git a/api/GetInventoryItemLink.lua b/api/GetInventoryItemLink.lua index bd9c7f3..6686351 100644 --- a/api/GetInventoryItemLink.lua +++ b/api/GetInventoryItemLink.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return string link +---@param unit string +---@param slot number +---@return string link ---Returns an item link for an item in the unit's inventory. The player's inventory is actually extended to include items in the bank, items in the player's containers and the player's key ring in addition to the items the player has equipped. The appropriate inventoryID can be found by calling the appropriate function. -function GetInventoryItemLink(unit, slot) end \ No newline at end of file +function GetInventoryItemLink(unit, slot) end diff --git a/api/GetInventoryItemQuality.lua b/api/GetInventoryItemQuality.lua index 7199e42..a1fe3a4 100644 --- a/api/GetInventoryItemQuality.lua +++ b/api/GetInventoryItemQuality.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return number quality +---@param unit string +---@param slot number +---@return number quality ---Returns the quality level of an equipped item -function GetInventoryItemQuality(unit, slot) end \ No newline at end of file +function GetInventoryItemQuality(unit, slot) end diff --git a/api/GetInventoryItemTexture.lua b/api/GetInventoryItemTexture.lua index 6a196b6..900e426 100644 --- a/api/GetInventoryItemTexture.lua +++ b/api/GetInventoryItemTexture.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param slot number ----@return string texture +---@param unit string +---@param slot number +---@return string texture ---Returns the icon texture for an equipped item -function GetInventoryItemTexture(unit, slot) end \ No newline at end of file +function GetInventoryItemTexture(unit, slot) end diff --git a/api/GetInventoryItemsForSlot.lua b/api/GetInventoryItemsForSlot.lua index d87654e..1f7e375 100644 --- a/api/GetInventoryItemsForSlot.lua +++ b/api/GetInventoryItemsForSlot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return table availableItems +---@param slot number +---@return table availableItems ---Returns a list of items that can be equipped in a given inventory slot -function GetInventoryItemsForSlot(slot) end \ No newline at end of file +function GetInventoryItemsForSlot(slot) end diff --git a/api/GetInventorySlotInfo.lua b/api/GetInventorySlotInfo.lua index f4368fa..a428ae9 100644 --- a/api/GetInventorySlotInfo.lua +++ b/api/GetInventorySlotInfo.lua @@ -1,32 +1,59 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slotName WristSlot ----@param AmmoSlot ----@param BackSlot ----@param Bag0Slot ----@param Bag1Slot ----@param Bag2Slot ----@param Bag3Slot ----@param ChestSlot ----@param FeetSlot ----@param Finger0Slot ----@param Finger1Slot ----@param HandsSlot ----@param HeadSlot ----@param LegsSlot ----@param MainHandSlot ----@param NeckSlot ----@param RangedSlot ----@param SecondaryHandSlot ----@param ShirtSlot ----@param ShoulderSlot ----@param TabardSlot ----@param Trinket0Slot ----@param Trinket1Slot ----@param WaistSlot ----@param WristSlot ----@return number id ----@return string texture ----@return 1nil checkRelic +---@param slotName WristSlot +---@param AmmoSlot +---@param BackSlot +---@param Bag0Slot +---@param Bag1Slot +---@param Bag2Slot +---@param Bag3Slot +---@param ChestSlot +---@param FeetSlot +---@param Finger0Slot +---@param Finger1Slot +---@param HandsSlot +---@param HeadSlot +---@param LegsSlot +---@param MainHandSlot +---@param NeckSlot +---@param RangedSlot +---@param SecondaryHandSlot +---@param ShirtSlot +---@param ShoulderSlot +---@param TabardSlot +---@param Trinket0Slot +---@param Trinket1Slot +---@param WaistSlot +---@param WristSlot +---@return number id +---@return string texture +---@return 1nil checkRelic ---Returns information about an inventory slot -function GetInventorySlotInfo(slotName, AmmoSlot, BackSlot, Bag0Slot, Bag1Slot, Bag2Slot, Bag3Slot, ChestSlot, FeetSlot, Finger0Slot, Finger1Slot, HandsSlot, HeadSlot, LegsSlot, MainHandSlot, NeckSlot, RangedSlot, SecondaryHandSlot, ShirtSlot, ShoulderSlot, TabardSlot, Trinket0Slot, Trinket1Slot, WaistSlot, WristSlot) end \ No newline at end of file +function GetInventorySlotInfo( + slotName, + AmmoSlot, + BackSlot, + Bag0Slot, + Bag1Slot, + Bag2Slot, + Bag3Slot, + ChestSlot, + FeetSlot, + Finger0Slot, + Finger1Slot, + HandsSlot, + HeadSlot, + LegsSlot, + MainHandSlot, + NeckSlot, + RangedSlot, + SecondaryHandSlot, + ShirtSlot, + ShoulderSlot, + TabardSlot, + Trinket0Slot, + Trinket1Slot, + WaistSlot, + WristSlot +) +end diff --git a/api/GetItemCooldown.lua b/api/GetItemCooldown.lua index 45018d6..e838c6e 100644 --- a/api/GetItemCooldown.lua +++ b/api/GetItemCooldown.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return number start ----@return number duration ----@return number enable +---@param itemID number +---@param itemName string +---@param itemLink string +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about an arbitrary item -function GetItemCooldown(itemID, itemName, itemLink) end \ No newline at end of file +function GetItemCooldown(itemID, itemName, itemLink) end diff --git a/api/GetItemCount.lua b/api/GetItemCount.lua index de60f02..68ed1da 100644 --- a/api/GetItemCount.lua +++ b/api/GetItemCount.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemId number ----@param itemName string ----@param itemLink string ----@param includeBank boolean ----@param includeCharges boolean ----@return number itemCount +---@param itemId number +---@param itemName string +---@param itemLink string +---@param includeBank boolean +---@param includeCharges boolean +---@return number itemCount ---Returns information about how many of a given item the player has or on remaining item charges. When the third argument includeCharges is true, the returned number indicates the total number of remaining charges for the item instead of how many of the item you have; e.g. if you have 3 Wizard Oils and one of them has been used twice, the returned value will be 13. -function GetItemCount(itemId, itemName, itemLink, includeBank, includeCharges) end \ No newline at end of file +function GetItemCount(itemId, itemName, itemLink, includeBank, includeCharges) end diff --git a/api/GetItemFamily.lua b/api/GetItemFamily.lua index 444783e..35ddd64 100644 --- a/api/GetItemFamily.lua +++ b/api/GetItemFamily.lua @@ -1,25 +1,25 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 0x10000 bagType ----@return 0x0001 ----@return 0x0002 ----@return 0x0004 ----@return 0x0008 ----@return 0x0010 ----@return 0x0020 ----@return 0x0040 ----@return 0x0080 ----@return 0x0100 ----@return 0x0200 ----@return 0x0400 ----@return 0x0800 ----@return 0x1000 ----@return 0x2000 ----@return 0x4000 ----@return 0x8000 ----@return 0x10000 +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 0x10000 bagType +---@return 0x0001 +---@return 0x0002 +---@return 0x0004 +---@return 0x0008 +---@return 0x0010 +---@return 0x0020 +---@return 0x0040 +---@return 0x0080 +---@return 0x0100 +---@return 0x0200 +---@return 0x0400 +---@return 0x0800 +---@return 0x1000 +---@return 0x2000 +---@return 0x4000 +---@return 0x8000 +---@return 0x10000 ---Returns information about special bag types that can hold a given item. The meaning of bagType varies depending on the item: If the item is a container, bagType indicates which kinds of items the container is limited to holding; a bagType of 0 indicates the container can hold any kind of item. If the item is not a container, bagType indicates which kinds of specialty containers can hold the item; a bagType of 0 indicates the item can only be put in general-purpose containers. -function GetItemFamily(itemID, itemName, itemLink) end \ No newline at end of file +function GetItemFamily(itemID, itemName, itemLink) end diff --git a/api/GetItemGem.lua b/api/GetItemGem.lua index 4e2144f..68cef13 100644 --- a/api/GetItemGem.lua +++ b/api/GetItemGem.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@param index number ----@return string name ----@return string link +---@param itemID number +---@param itemName string +---@param itemLink string +---@param index number +---@return string name +---@return string link ---Returns information about gems socketed in an item -function GetItemGem(itemID, itemName, itemLink, index) end \ No newline at end of file +function GetItemGem(itemID, itemName, itemLink, index) end diff --git a/api/GetItemIcon.lua b/api/GetItemIcon.lua index 2765115..e02a92a 100644 --- a/api/GetItemIcon.lua +++ b/api/GetItemIcon.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return string texture +---@param itemID number +---@param itemName string +---@param itemLink string +---@return string texture ---Returns the path to an icon texture for the item. Unlike GetItemInfo, this function always returns icons for valid items, even if the item is not in the client's cache. -function GetItemIcon(itemID, itemName, itemLink) end \ No newline at end of file +function GetItemIcon(itemID, itemName, itemLink) end diff --git a/api/GetItemInfo.lua b/api/GetItemInfo.lua index 28ac686..2942698 100644 --- a/api/GetItemInfo.lua +++ b/api/GetItemInfo.lua @@ -1,18 +1,18 @@ ---@diagnostic disable: missing-return, lowercase-global ---@param itemName string ----@return string name ----@return string link ----@return number quality ----@return number iLevel ----@return number reqLevel ----@return string class ----@return string subclass ----@return number maxStack ----@return string equipSlot ----@return string texture ----@return number vendorPrice +---@return string name +---@return string link +---@return number quality +---@return number iLevel +---@return number reqLevel +---@return string class +---@return string subclass +---@return number maxStack +---@return string equipSlot +---@return string texture +---@return number vendorPrice ---Returns information about an item, by name, link or id. Will only return item information if it is directly available in memory. An item is present in memory if: It has been seen this session, OR It's present in Cache/enUS/Item-sparse.dba, where enUS is the user's locale If item information is not readily available, the client will first look on disk in DBFilesClient/Item-sparse.db2. If an item is found there, the client fires the GET_ITEM_INFO_RECEIVED event and keeps the result in memory for further GetItemInfo requests. If an item is not found on disk either, the client will send a server request for it. If the request fails, nothing happens. If the request succeeds, the client stores the item in memory and writes it to Cache/Locale/Item-sparse.dba. The client will never send more than one server request per id per session. ---@overload fun(itemID: number): table ---@overload fun(itemLink: string): table -function GetItemInfo(itemName) end \ No newline at end of file +function GetItemInfo(itemName) end diff --git a/api/GetItemLevelIncrement.lua b/api/GetItemLevelIncrement.lua index 4d962b2..0bc5dcd 100644 --- a/api/GetItemLevelIncrement.lua +++ b/api/GetItemLevelIncrement.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number levelIncrement +---@return number levelIncrement ---Returns the item level increment recieved when upgrading. The item level increment returned depends on the type of item, i.e. blue items recieve 8 levels per upgrade while epic items recieve 4 per upgrade (which costs half as much). This function can currently only be called when at the upgrade merchant. -function GetItemLevelIncrement() end \ No newline at end of file +function GetItemLevelIncrement() end diff --git a/api/GetItemQualityColor.lua b/api/GetItemQualityColor.lua index b62dcab..a906e03 100644 --- a/api/GetItemQualityColor.lua +++ b/api/GetItemQualityColor.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param quality number ----@return number redComponent ----@return number greenComponent ----@return number blueComponent ----@return string hexColor +---@param quality number +---@return number redComponent +---@return number greenComponent +---@return number blueComponent +---@return string hexColor ---Returns color values for use in displaying items of a given quality. Color components are floating-point values between 0 (no component) and 1 (full intensity of the component). Prior to 4.2 the hexColor return was prefixed with |c now it is just the hex codes for the color. -function GetItemQualityColor(quality) end \ No newline at end of file +function GetItemQualityColor(quality) end diff --git a/api/GetItemSpecInfo.lua b/api/GetItemSpecInfo.lua index 1abe6ea..f460668 100644 --- a/api/GetItemSpecInfo.lua +++ b/api/GetItemSpecInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetItemSpecInfo() end \ No newline at end of file +function GetItemSpecInfo() end diff --git a/api/GetItemSpell.lua b/api/GetItemSpell.lua index dd6195a..b538679 100644 --- a/api/GetItemSpell.lua +++ b/api/GetItemSpell.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return string name ----@return string rank +---@param itemID number +---@param itemName string +---@param itemLink string +---@return string name +---@return string rank ---Returns information about the spell cast by an item's "Use:" effect -function GetItemSpell(itemID, itemName, itemLink) end \ No newline at end of file +function GetItemSpell(itemID, itemName, itemLink) end diff --git a/api/GetItemStatDelta.lua b/api/GetItemStatDelta.lua index 7902bfa..42153d9 100644 --- a/api/GetItemStatDelta.lua +++ b/api/GetItemStatDelta.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param item1Link string ----@param item2Link string ----@param returnTable table ----@return table statTable +---@param item1Link string +---@param item2Link string +---@param returnTable table +---@return table statTable ---Returns a summary of the difference in stat bonuses between two items. Keys in the table returned are the names of global variables containing the localized names of the stats (e.g. _G["ITEM_MOD_SPIRIT_SHORT"] = "Spirit", _G["ITEM_MOD_HIT_RATING_SHORT"] = "Hit Rating"). The optional argument returnTable allows for performance optimization in cases where this function is expected to be called repeatedly. Rather than creating new tables each time the function is called (eventually requiring garbage collection), an existing table can be recycled. (Note, however, that this function does not clear the table's contents; use wipe() first to guarantee consistent results.) -function GetItemStatDelta(item1Link, item2Link, returnTable) end \ No newline at end of file +function GetItemStatDelta(item1Link, item2Link, returnTable) end diff --git a/api/GetItemStats.lua b/api/GetItemStats.lua index 863637a..ec9253c 100644 --- a/api/GetItemStats.lua +++ b/api/GetItemStats.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemLink string ----@param returnTable table ----@return table statTable +---@param itemLink string +---@param returnTable table +---@return table statTable ---Returns a summary of an item's stat bonuses. Keys in the table returned are the names of global variables containing the localized names of the stats (e.g. _G["ITEM_MOD_SPIRIT_SHORT"] = "Spirit", _G["ITEM_MOD_HIT_RATING_SHORT"] = "Hit Rating"). The optional argument returnTable allows for performance optimization in cases where this function is expected to be called repeatedly. Rather than creating new tables each time the function is called (eventually requiring garbage collection), an existing table can be recycled. (Note, however, that this function does not clear the table's contents; use wipe() first to guarantee consistent results.) -function GetItemStats(itemLink, returnTable) end \ No newline at end of file +function GetItemStats(itemLink, returnTable) end diff --git a/api/GetItemTransmogrifyInfo.lua b/api/GetItemTransmogrifyInfo.lua index 451bce3..43ccbb0 100644 --- a/api/GetItemTransmogrifyInfo.lua +++ b/api/GetItemTransmogrifyInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return boolean canBeChanged ----@return string noChangeReason ----@return boolean canBeSource ----@return string noSourceReason +---@param itemID number +---@param itemName string +---@param itemLink string +---@return boolean canBeChanged +---@return string noChangeReason +---@return boolean canBeSource +---@return string noSourceReason ---Returns information about the eligibility of an item to be used for transmogrification -function GetItemTransmogrifyInfo(itemID, itemName, itemLink) end \ No newline at end of file +function GetItemTransmogrifyInfo(itemID, itemName, itemLink) end diff --git a/api/GetItemUniqueness.lua b/api/GetItemUniqueness.lua index b0c3c1a..cb0633c 100644 --- a/api/GetItemUniqueness.lua +++ b/api/GetItemUniqueness.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return number uniqueFamily ----@return number maxEquipped +---@param itemID number +---@param itemName string +---@param itemLink string +---@return number uniqueFamily +---@return number maxEquipped ---Returns information about uniqueness restrictions for equipping an item. Only applies to items with "Unique Equipped" restrictions upon how many similar items can be equipped -- returns nil for items which for which "Unique" restricts how many the player can have in her possession. Also returns nil if the queried item is not currently in the WoW client's item cache. -function GetItemUniqueness(itemID, itemName, itemLink) end \ No newline at end of file +function GetItemUniqueness(itemID, itemName, itemLink) end diff --git a/api/GetItemUpdateLevel.lua b/api/GetItemUpdateLevel.lua index 3d99783..0e2eb2b 100644 --- a/api/GetItemUpdateLevel.lua +++ b/api/GetItemUpdateLevel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number newItemLevel +---@return number newItemLevel ---Returns an item's item level once it's been upgraded.. This function can currently only be called when at the upgrade merchant. -function GetItemUpdateLevel() end \ No newline at end of file +function GetItemUpdateLevel() end diff --git a/api/GetItemUpgradeEffect.lua b/api/GetItemUpgradeEffect.lua index 32a6538..27243a0 100644 --- a/api/GetItemUpgradeEffect.lua +++ b/api/GetItemUpgradeEffect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetItemUpgradeEffect() end \ No newline at end of file +function GetItemUpgradeEffect() end diff --git a/api/GetItemUpgradeItemInfo.lua b/api/GetItemUpgradeItemInfo.lua index 2b4011b..f91ad14 100644 --- a/api/GetItemUpgradeItemInfo.lua +++ b/api/GetItemUpgradeItemInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string icon ----@return string name ----@return number quality ----@return string bound ----@return number numCurrUpgrades ----@return number numMaxUpgrades ----@return number cost ----@return number currencyType +---@return string icon +---@return string name +---@return number quality +---@return string bound +---@return number numCurrUpgrades +---@return number numMaxUpgrades +---@return number cost +---@return number currencyType ---Returns information on the item that is currently being upgraded.. This function can currently only be called when at the upgrade merchant. -function GetItemUpgradeItemInfo() end \ No newline at end of file +function GetItemUpgradeItemInfo() end diff --git a/api/GetItemUpgradeStats.lua b/api/GetItemUpgradeStats.lua index fdf0c8a..eb9bc17 100644 --- a/api/GetItemUpgradeStats.lua +++ b/api/GetItemUpgradeStats.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param getNew boolean ----@return string stat ----@return number amount ----@return string ... +---@param getNew boolean +---@return string stat +---@return number amount +---@return string ... ---Returns stat names and amounts of original or upgraded item. This function can currently only be called when at the upgrade merchant -function GetItemUpgradeStats(getNew) end \ No newline at end of file +function GetItemUpgradeStats(getNew) end diff --git a/api/GetLFDChoiceCollapseState.lua b/api/GetLFDChoiceCollapseState.lua index f4bcc57..cf3d889 100644 --- a/api/GetLFDChoiceCollapseState.lua +++ b/api/GetLFDChoiceCollapseState.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDChoiceCollapseState() end \ No newline at end of file +function GetLFDChoiceCollapseState() end diff --git a/api/GetLFDChoiceEnabledState.lua b/api/GetLFDChoiceEnabledState.lua index 73f8065..cd7b158 100644 --- a/api/GetLFDChoiceEnabledState.lua +++ b/api/GetLFDChoiceEnabledState.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDChoiceEnabledState() end \ No newline at end of file +function GetLFDChoiceEnabledState() end diff --git a/api/GetLFDChoiceLockedState.lua b/api/GetLFDChoiceLockedState.lua index dfa9aaf..7e4541e 100644 --- a/api/GetLFDChoiceLockedState.lua +++ b/api/GetLFDChoiceLockedState.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDChoiceLockedState() end \ No newline at end of file +function GetLFDChoiceLockedState() end diff --git a/api/GetLFDChoiceOrder.lua b/api/GetLFDChoiceOrder.lua index 8859e04..bedfbb0 100644 --- a/api/GetLFDChoiceOrder.lua +++ b/api/GetLFDChoiceOrder.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDChoiceOrder() end \ No newline at end of file +function GetLFDChoiceOrder() end diff --git a/api/GetLFDLockInfo.lua b/api/GetLFDLockInfo.lua index 22f952c..5a50803 100644 --- a/api/GetLFDLockInfo.lua +++ b/api/GetLFDLockInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDLockInfo() end \ No newline at end of file +function GetLFDLockInfo() end diff --git a/api/GetLFDLockPlayerCount.lua b/api/GetLFDLockPlayerCount.lua index e2d1e83..1f21c5d 100644 --- a/api/GetLFDLockPlayerCount.lua +++ b/api/GetLFDLockPlayerCount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDLockPlayerCount() end \ No newline at end of file +function GetLFDLockPlayerCount() end diff --git a/api/GetLFDRoleLockInfo.lua b/api/GetLFDRoleLockInfo.lua index bf850f5..67346c7 100644 --- a/api/GetLFDRoleLockInfo.lua +++ b/api/GetLFDRoleLockInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDRoleLockInfo() end \ No newline at end of file +function GetLFDRoleLockInfo() end diff --git a/api/GetLFDRoleRestrictions.lua b/api/GetLFDRoleRestrictions.lua index df4e562..fad7383 100644 --- a/api/GetLFDRoleRestrictions.lua +++ b/api/GetLFDRoleRestrictions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFDRoleRestrictions() end \ No newline at end of file +function GetLFDRoleRestrictions() end diff --git a/api/GetLFGBonusFactionID.lua b/api/GetLFGBonusFactionID.lua index 9ec6d8f..f1c7650 100644 --- a/api/GetLFGBonusFactionID.lua +++ b/api/GetLFGBonusFactionID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGBonusFactionID() end \ No newline at end of file +function GetLFGBonusFactionID() end diff --git a/api/GetLFGBootProposal.lua b/api/GetLFGBootProposal.lua index 2b6d0ac..e7d5c8b 100644 --- a/api/GetLFGBootProposal.lua +++ b/api/GetLFGBootProposal.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGBootProposal() end \ No newline at end of file +function GetLFGBootProposal() end diff --git a/api/GetLFGCategoryForID.lua b/api/GetLFGCategoryForID.lua index 7fe6e33..283442c 100644 --- a/api/GetLFGCategoryForID.lua +++ b/api/GetLFGCategoryForID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGCategoryForID() end \ No newline at end of file +function GetLFGCategoryForID() end diff --git a/api/GetLFGCompletionReward.lua b/api/GetLFGCompletionReward.lua index cd411a8..17f1022 100644 --- a/api/GetLFGCompletionReward.lua +++ b/api/GetLFGCompletionReward.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return number typeID ----@return string textureFilename ----@return number moneyBase ----@return number moneyVar ----@return number experienceBase ----@return number experienceVar ----@return number numStrangers ----@return number numRewards +---@return string name +---@return number typeID +---@return string textureFilename +---@return number moneyBase +---@return number moneyVar +---@return number experienceBase +---@return number experienceVar +---@return number numStrangers +---@return number numRewards ---Returns the various rewards for a completed LFG dungeon -function GetLFGCompletionReward() end \ No newline at end of file +function GetLFGCompletionReward() end diff --git a/api/GetLFGCompletionRewardItem.lua b/api/GetLFGCompletionRewardItem.lua index bac2077..8026d57 100644 --- a/api/GetLFGCompletionRewardItem.lua +++ b/api/GetLFGCompletionRewardItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGCompletionRewardItem() end \ No newline at end of file +function GetLFGCompletionRewardItem() end diff --git a/api/GetLFGDeserterExpiration.lua b/api/GetLFGDeserterExpiration.lua index 77a7522..55ea550 100644 --- a/api/GetLFGDeserterExpiration.lua +++ b/api/GetLFGDeserterExpiration.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDeserterExpiration() end \ No newline at end of file +function GetLFGDeserterExpiration() end diff --git a/api/GetLFGDungeonEncounterInfo.lua b/api/GetLFGDungeonEncounterInfo.lua index f95b270..676c857 100644 --- a/api/GetLFGDungeonEncounterInfo.lua +++ b/api/GetLFGDungeonEncounterInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param dungeonId number ----@param encounterIndex number ----@return string bossName ----@return nil texture ----@return boolean isKilled ----@return boolean result4 +---@param dungeonId number +---@param encounterIndex number +---@return string bossName +---@return nil texture +---@return boolean isKilled +---@return boolean result4 ---Returns whether an LFR encounter was already killed.. Does only give usable results for the encounters in the LFR part specified by the id -function GetLFGDungeonEncounterInfo(dungeonId, encounterIndex) end \ No newline at end of file +function GetLFGDungeonEncounterInfo(dungeonId, encounterIndex) end diff --git a/api/GetLFGDungeonInfo.lua b/api/GetLFGDungeonInfo.lua index eb4b025..60ef34b 100644 --- a/api/GetLFGDungeonInfo.lua +++ b/api/GetLFGDungeonInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id integer ----@return string dungeonName ----@return integer typeId ----@return integer minLvl ----@return integer maxLvl ----@return integer recLvl ----@return integer minRecLvl ----@return integer maxRecLvl ----@return integer expansionId ----@return integer groupId ----@return string textureName ----@return integer difficulty ----@return integer maxPlayers ----@return string dungeonDesc ----@return boolean isHoliday +---@param id integer +---@return string dungeonName +---@return integer typeId +---@return integer minLvl +---@return integer maxLvl +---@return integer recLvl +---@return integer minRecLvl +---@return integer maxRecLvl +---@return integer expansionId +---@return integer groupId +---@return string textureName +---@return integer difficulty +---@return integer maxPlayers +---@return string dungeonDesc +---@return boolean isHoliday ---Retrieves specific LFD information, not limited by player level and all dungeons can be looked up. -function GetLFGDungeonInfo(id) end \ No newline at end of file +function GetLFGDungeonInfo(id) end diff --git a/api/GetLFGDungeonNumEncounters.lua b/api/GetLFGDungeonNumEncounters.lua index dd0b8c9..3a2f4c7 100644 --- a/api/GetLFGDungeonNumEncounters.lua +++ b/api/GetLFGDungeonNumEncounters.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param dungeonId number ----@return number totalEncounters ----@return number encountersCompleted +---@param dungeonId number +---@return number totalEncounters +---@return number encountersCompleted ---Returns the number of encounters. -function GetLFGDungeonNumEncounters(dungeonId) end \ No newline at end of file +function GetLFGDungeonNumEncounters(dungeonId) end diff --git a/api/GetLFGDungeonRewardCapBarInfo.lua b/api/GetLFGDungeonRewardCapBarInfo.lua index 45c004e..4722621 100644 --- a/api/GetLFGDungeonRewardCapBarInfo.lua +++ b/api/GetLFGDungeonRewardCapBarInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonRewardCapBarInfo() end \ No newline at end of file +function GetLFGDungeonRewardCapBarInfo() end diff --git a/api/GetLFGDungeonRewardCapInfo.lua b/api/GetLFGDungeonRewardCapInfo.lua index 54d278f..82c75b5 100644 --- a/api/GetLFGDungeonRewardCapInfo.lua +++ b/api/GetLFGDungeonRewardCapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonRewardCapInfo() end \ No newline at end of file +function GetLFGDungeonRewardCapInfo() end diff --git a/api/GetLFGDungeonRewardInfo.lua b/api/GetLFGDungeonRewardInfo.lua index e21405a..96269bf 100644 --- a/api/GetLFGDungeonRewardInfo.lua +++ b/api/GetLFGDungeonRewardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonRewardInfo() end \ No newline at end of file +function GetLFGDungeonRewardInfo() end diff --git a/api/GetLFGDungeonRewardLink.lua b/api/GetLFGDungeonRewardLink.lua index c5a04ee..c4a641e 100644 --- a/api/GetLFGDungeonRewardLink.lua +++ b/api/GetLFGDungeonRewardLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonRewardLink() end \ No newline at end of file +function GetLFGDungeonRewardLink() end diff --git a/api/GetLFGDungeonRewards.lua b/api/GetLFGDungeonRewards.lua index 78cdf25..40ed317 100644 --- a/api/GetLFGDungeonRewards.lua +++ b/api/GetLFGDungeonRewards.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonRewards() end \ No newline at end of file +function GetLFGDungeonRewards() end diff --git a/api/GetLFGDungeonShortageRewardInfo.lua b/api/GetLFGDungeonShortageRewardInfo.lua index 98c2495..05a56b2 100644 --- a/api/GetLFGDungeonShortageRewardInfo.lua +++ b/api/GetLFGDungeonShortageRewardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonShortageRewardInfo() end \ No newline at end of file +function GetLFGDungeonShortageRewardInfo() end diff --git a/api/GetLFGDungeonShortageRewardLink.lua b/api/GetLFGDungeonShortageRewardLink.lua index 0214521..0a70dac 100644 --- a/api/GetLFGDungeonShortageRewardLink.lua +++ b/api/GetLFGDungeonShortageRewardLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGDungeonShortageRewardLink() end \ No newline at end of file +function GetLFGDungeonShortageRewardLink() end diff --git a/api/GetLFGInfoServer.lua b/api/GetLFGInfoServer.lua index c2738c7..b015e88 100644 --- a/api/GetLFGInfoServer.lua +++ b/api/GetLFGInfoServer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGInfoServer() end \ No newline at end of file +function GetLFGInfoServer() end diff --git a/api/GetLFGInviteRoleAvailability.lua b/api/GetLFGInviteRoleAvailability.lua index 3144d94..973bb28 100644 --- a/api/GetLFGInviteRoleAvailability.lua +++ b/api/GetLFGInviteRoleAvailability.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGInviteRoleAvailability() end \ No newline at end of file +function GetLFGInviteRoleAvailability() end diff --git a/api/GetLFGInviteRoleRestrictions.lua b/api/GetLFGInviteRoleRestrictions.lua index 38919b4..75789d2 100644 --- a/api/GetLFGInviteRoleRestrictions.lua +++ b/api/GetLFGInviteRoleRestrictions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGInviteRoleRestrictions() end \ No newline at end of file +function GetLFGInviteRoleRestrictions() end diff --git a/api/GetLFGMode.lua b/api/GetLFGMode.lua index cd0b697..a5c0deb 100644 --- a/api/GetLFGMode.lua +++ b/api/GetLFGMode.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return rolecheck mode ----@return abandonedInDungeon ----@return lfgparty ----@return nil ----@return proposal ----@return queued ----@return rolecheck ----@return unempowered submode ----@return empowered ----@return nil ----@return unempowered +---@return rolecheck mode +---@return abandonedInDungeon +---@return lfgparty +---@return nil +---@return proposal +---@return queued +---@return rolecheck +---@return unempowered submode +---@return empowered +---@return nil +---@return unempowered ---Provides information about the LFG status of the player. -function GetLFGMode() end \ No newline at end of file +function GetLFGMode() end diff --git a/api/GetLFGProposal.lua b/api/GetLFGProposal.lua index e5c16a1..293fcef 100644 --- a/api/GetLFGProposal.lua +++ b/api/GetLFGProposal.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns info about the currently pending LFD operation -function GetLFGProposal() end \ No newline at end of file +function GetLFGProposal() end diff --git a/api/GetLFGProposalEncounter.lua b/api/GetLFGProposalEncounter.lua index 74a18ab..1493b77 100644 --- a/api/GetLFGProposalEncounter.lua +++ b/api/GetLFGProposalEncounter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGProposalEncounter() end \ No newline at end of file +function GetLFGProposalEncounter() end diff --git a/api/GetLFGProposalMember.lua b/api/GetLFGProposalMember.lua index 78c25a2..3ad3fd5 100644 --- a/api/GetLFGProposalMember.lua +++ b/api/GetLFGProposalMember.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGProposalMember() end \ No newline at end of file +function GetLFGProposalMember() end diff --git a/api/GetLFGQueueStats.lua b/api/GetLFGQueueStats.lua index a30b790..9a1b421 100644 --- a/api/GetLFGQueueStats.lua +++ b/api/GetLFGQueueStats.lua @@ -1,21 +1,21 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean hasData ----@return number leaderNeeds ----@return number tankNeeds ----@return number healerNeeds ----@return number dpsNeeds ----@return number totalTanks ----@return number totalHealers ----@return number totalDPS ----@return number instanceType ----@return number instanceSubType ----@return string instanceName ----@return number averageWait ----@return number tankWait ----@return number healerWait ----@return number dpsWait ----@return number myWait ----@return number queuedTime +---@return boolean hasData +---@return number leaderNeeds +---@return number tankNeeds +---@return number healerNeeds +---@return number dpsNeeds +---@return number totalTanks +---@return number totalHealers +---@return number totalDPS +---@return number instanceType +---@return number instanceSubType +---@return string instanceName +---@return number averageWait +---@return number tankWait +---@return number healerWait +---@return number dpsWait +---@return number myWait +---@return number queuedTime ---Returns information about a LFD queue when you are in the queue -function GetLFGQueueStats() end \ No newline at end of file +function GetLFGQueueStats() end diff --git a/api/GetLFGQueuedList.lua b/api/GetLFGQueuedList.lua index f98ebde..2c03f60 100644 --- a/api/GetLFGQueuedList.lua +++ b/api/GetLFGQueuedList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGQueuedList() end \ No newline at end of file +function GetLFGQueuedList() end diff --git a/api/GetLFGRandomCooldownExpiration.lua b/api/GetLFGRandomCooldownExpiration.lua index d60c2dc..5501f1b 100644 --- a/api/GetLFGRandomCooldownExpiration.lua +++ b/api/GetLFGRandomCooldownExpiration.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGRandomCooldownExpiration() end \ No newline at end of file +function GetLFGRandomCooldownExpiration() end diff --git a/api/GetLFGRandomDungeonInfo.lua b/api/GetLFGRandomDungeonInfo.lua index 22ff80c..6c14675 100644 --- a/api/GetLFGRandomDungeonInfo.lua +++ b/api/GetLFGRandomDungeonInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGRandomDungeonInfo() end \ No newline at end of file +function GetLFGRandomDungeonInfo() end diff --git a/api/GetLFGRoleShortageRewards.lua b/api/GetLFGRoleShortageRewards.lua index f97ff57..8bceb39 100644 --- a/api/GetLFGRoleShortageRewards.lua +++ b/api/GetLFGRoleShortageRewards.lua @@ -1,16 +1,23 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param dungeonID number ----@param shortageIndex LFG_ROLE_SHORTAGE_UNCOMMON ----@param LFG_ROLE_SHORTAGE_PLENTIFUL ----@param LFG_ROLE_SHORTAGE_RARE ----@param LFG_ROLE_SHORTAGE_UNCOMMON ----@return boolean eligible ----@return boolean forTank ----@return boolean forHealer ----@return boolean forDamage ----@return number itemCount ----@return number money ----@return number xp +---@param dungeonID number +---@param shortageIndex LFG_ROLE_SHORTAGE_UNCOMMON +---@param LFG_ROLE_SHORTAGE_PLENTIFUL +---@param LFG_ROLE_SHORTAGE_RARE +---@param LFG_ROLE_SHORTAGE_UNCOMMON +---@return boolean eligible +---@return boolean forTank +---@return boolean forHealer +---@return boolean forDamage +---@return number itemCount +---@return number money +---@return number xp ---Return information concerning the LFG Call to Arms rewards -function GetLFGRoleShortageRewards(dungeonID, shortageIndex, LFG_ROLE_SHORTAGE_PLENTIFUL, LFG_ROLE_SHORTAGE_RARE, LFG_ROLE_SHORTAGE_UNCOMMON) end \ No newline at end of file +function GetLFGRoleShortageRewards( + dungeonID, + shortageIndex, + LFG_ROLE_SHORTAGE_PLENTIFUL, + LFG_ROLE_SHORTAGE_RARE, + LFG_ROLE_SHORTAGE_UNCOMMON +) +end diff --git a/api/GetLFGRoleUpdate.lua b/api/GetLFGRoleUpdate.lua index fbdd79d..023b103 100644 --- a/api/GetLFGRoleUpdate.lua +++ b/api/GetLFGRoleUpdate.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGRoleUpdate() end \ No newline at end of file +function GetLFGRoleUpdate() end diff --git a/api/GetLFGRoleUpdateBattlegroundInfo.lua b/api/GetLFGRoleUpdateBattlegroundInfo.lua index 4a2ef1f..4527eee 100644 --- a/api/GetLFGRoleUpdateBattlegroundInfo.lua +++ b/api/GetLFGRoleUpdateBattlegroundInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGRoleUpdateBattlegroundInfo() end \ No newline at end of file +function GetLFGRoleUpdateBattlegroundInfo() end diff --git a/api/GetLFGRoleUpdateMember.lua b/api/GetLFGRoleUpdateMember.lua index 4c70fc0..75226e9 100644 --- a/api/GetLFGRoleUpdateMember.lua +++ b/api/GetLFGRoleUpdateMember.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGRoleUpdateMember() end \ No newline at end of file +function GetLFGRoleUpdateMember() end diff --git a/api/GetLFGRoleUpdateSlot.lua b/api/GetLFGRoleUpdateSlot.lua index 16d6884..ef0cf6b 100644 --- a/api/GetLFGRoleUpdateSlot.lua +++ b/api/GetLFGRoleUpdateSlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGRoleUpdateSlot() end \ No newline at end of file +function GetLFGRoleUpdateSlot() end diff --git a/api/GetLFGRoles.lua b/api/GetLFGRoles.lua index 1bd87fb..2c810a6 100644 --- a/api/GetLFGRoles.lua +++ b/api/GetLFGRoles.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean leader ----@return boolean tank ----@return boolean healer ----@return boolean damage +---@return boolean leader +---@return boolean tank +---@return boolean healer +---@return boolean damage ---Returns the group roles for which the player has signed up in the LFG system -function GetLFGRoles() end \ No newline at end of file +function GetLFGRoles() end diff --git a/api/GetLFGSuspendedPlayers.lua b/api/GetLFGSuspendedPlayers.lua index 3a697e5..4167f1f 100644 --- a/api/GetLFGSuspendedPlayers.lua +++ b/api/GetLFGSuspendedPlayers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFGSuspendedPlayers() end \ No newline at end of file +function GetLFGSuspendedPlayers() end diff --git a/api/GetLFGTypes.lua b/api/GetLFGTypes.lua index 6621341..84541ad 100644 --- a/api/GetLFGTypes.lua +++ b/api/GetLFGTypes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of LFG query types -function GetLFGTypes() end \ No newline at end of file +function GetLFGTypes() end diff --git a/api/GetLFRChoiceOrder.lua b/api/GetLFRChoiceOrder.lua index fffdb3f..bd6a408 100644 --- a/api/GetLFRChoiceOrder.lua +++ b/api/GetLFRChoiceOrder.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLFRChoiceOrder() end \ No newline at end of file +function GetLFRChoiceOrder() end diff --git a/api/GetLanguageByIndex.lua b/api/GetLanguageByIndex.lua index 29cf9d9..c79b910 100644 --- a/api/GetLanguageByIndex.lua +++ b/api/GetLanguageByIndex.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string languageName ----@return number languageIndex +---@param index number +---@return string languageName +---@return number languageIndex ---Returns the localized name of a player character language -function GetLanguageByIndex(index) end \ No newline at end of file +function GetLanguageByIndex(index) end diff --git a/api/GetLatestCompletedAchievements.lua b/api/GetLatestCompletedAchievements.lua index 9713868..9b7ce01 100644 --- a/api/GetLatestCompletedAchievements.lua +++ b/api/GetLatestCompletedAchievements.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param isGuild boolean ----@return list ... +---@param isGuild boolean +---@return list ... ---Returns a list of the player's/player guild's most recently earned achievements -function GetLatestCompletedAchievements(isGuild) end \ No newline at end of file +function GetLatestCompletedAchievements(isGuild) end diff --git a/api/GetLatestCompletedComparisonAchievements.lua b/api/GetLatestCompletedComparisonAchievements.lua index 7a2f320..6602a15 100644 --- a/api/GetLatestCompletedComparisonAchievements.lua +++ b/api/GetLatestCompletedComparisonAchievements.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of the comparison unit's most recently earned achievements -function GetLatestCompletedComparisonAchievements() end \ No newline at end of file +function GetLatestCompletedComparisonAchievements() end diff --git a/api/GetLatestThreeSenders.lua b/api/GetLatestThreeSenders.lua index c31828e..e03df9f 100644 --- a/api/GetLatestThreeSenders.lua +++ b/api/GetLatestThreeSenders.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string sender1 ----@return string sender2 ----@return string sender3 +---@return string sender1 +---@return string sender2 +---@return string sender3 ---Returns the names of the last three senders of new mail. Returns sender names for new messages which the player has not yet seen in the mailbox; returns nothing if the player's inbox only contains unread messages which have been seen in the mailbox listing but not yet opened. -function GetLatestThreeSenders() end \ No newline at end of file +function GetLatestThreeSenders() end diff --git a/api/GetLatestUpdatedComparisonStats.lua b/api/GetLatestUpdatedComparisonStats.lua index f692669..42dc648 100644 --- a/api/GetLatestUpdatedComparisonStats.lua +++ b/api/GetLatestUpdatedComparisonStats.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of the comparison unit's latest updated statistics.   Currently always returns a list of invalid statistic IDs -- the "latest updated statistics" feature is no longer a part of the Achievements UI. -function GetLatestUpdatedComparisonStats() end \ No newline at end of file +function GetLatestUpdatedComparisonStats() end diff --git a/api/GetLatestUpdatedStats.lua b/api/GetLatestUpdatedStats.lua index 2989600..bd8441f 100644 --- a/api/GetLatestUpdatedStats.lua +++ b/api/GetLatestUpdatedStats.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of the player's latest updated statistics. Currently always returns a list of invalid statistic IDs -- the "latest updated statistics" feature is no longer a part of the Achievements UI. -function GetLatestUpdatedStats() end \ No newline at end of file +function GetLatestUpdatedStats() end diff --git a/api/GetLegacyRaidDifficultyID.lua b/api/GetLegacyRaidDifficultyID.lua index 7c41856..9266d3f 100644 --- a/api/GetLegacyRaidDifficultyID.lua +++ b/api/GetLegacyRaidDifficultyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLegacyRaidDifficultyID() end \ No newline at end of file +function GetLegacyRaidDifficultyID() end diff --git a/api/GetLevelUpInstances.lua b/api/GetLevelUpInstances.lua index 86f5cc9..51a46ce 100644 --- a/api/GetLevelUpInstances.lua +++ b/api/GetLevelUpInstances.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLevelUpInstances() end \ No newline at end of file +function GetLevelUpInstances() end diff --git a/api/GetLifesteal.lua b/api/GetLifesteal.lua index 98b2d23..4c499c6 100644 --- a/api/GetLifesteal.lua +++ b/api/GetLifesteal.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLifesteal() end \ No newline at end of file +function GetLifesteal() end diff --git a/api/GetLocale.lua b/api/GetLocale.lua index 78a109d..2190942 100644 --- a/api/GetLocale.lua +++ b/api/GetLocale.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return zhTW locale ----@return deDE ----@return enGB ----@return enUS ----@return esES ----@return esMX ----@return frFR ----@return koKR ----@return ruRU ----@return zhCN ----@return zhTW +---@return zhTW locale +---@return deDE +---@return enGB +---@return enUS +---@return esES +---@return esMX +---@return frFR +---@return koKR +---@return ruRU +---@return zhCN +---@return zhTW ---Returns a code indicating the localization currently in use by the client -function GetLocale() end \ No newline at end of file +function GetLocale() end diff --git a/api/GetLookingForGuildComment.lua b/api/GetLookingForGuildComment.lua index 66ea369..33f0e80 100644 --- a/api/GetLookingForGuildComment.lua +++ b/api/GetLookingForGuildComment.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLookingForGuildComment() end \ No newline at end of file +function GetLookingForGuildComment() end diff --git a/api/GetLookingForGuildSettings.lua b/api/GetLookingForGuildSettings.lua index 16bb132..fff3e03 100644 --- a/api/GetLookingForGuildSettings.lua +++ b/api/GetLookingForGuildSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLookingForGuildSettings() end \ No newline at end of file +function GetLookingForGuildSettings() end diff --git a/api/GetLooseMacroIcons.lua b/api/GetLooseMacroIcons.lua index 6ac3dcf..368b015 100644 --- a/api/GetLooseMacroIcons.lua +++ b/api/GetLooseMacroIcons.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLooseMacroIcons() end \ No newline at end of file +function GetLooseMacroIcons() end diff --git a/api/GetLooseMacroItemIcons.lua b/api/GetLooseMacroItemIcons.lua index 49ad8a9..46d9e08 100644 --- a/api/GetLooseMacroItemIcons.lua +++ b/api/GetLooseMacroItemIcons.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetLooseMacroItemIcons() end \ No newline at end of file +function GetLooseMacroItemIcons() end diff --git a/api/GetLootInfo.lua b/api/GetLootInfo.lua index da4a6cc..e755b28 100644 --- a/api/GetLootInfo.lua +++ b/api/GetLootInfo.lua @@ -10,4 +10,4 @@ ---@field texture number Texture file ID ---@return LootInfo[] -function GetLootInfo() end \ No newline at end of file +function GetLootInfo() end diff --git a/api/GetLootMethod.lua b/api/GetLootMethod.lua index 2e1eb51..603c036 100644 --- a/api/GetLootMethod.lua +++ b/api/GetLootMethod.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return roundrobin method ----@return freeforall ----@return group ----@return master ----@return needbeforegreed ----@return personalloot ----@return roundrobin ----@return number partyMaster ----@return number raidMaster +---@return roundrobin method +---@return freeforall +---@return group +---@return master +---@return needbeforegreed +---@return personalloot +---@return roundrobin +---@return number partyMaster +---@return number raidMaster ---Returns information about the current loot method in a party or raid. Only returns useful information if the player is in a party or raid. -function GetLootMethod() end \ No newline at end of file +function GetLootMethod() end diff --git a/api/GetLootRollItemInfo.lua b/api/GetLootRollItemInfo.lua index 43837f8..f60ccef 100644 --- a/api/GetLootRollItemInfo.lua +++ b/api/GetLootRollItemInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string texture ----@return string name ----@return number count ----@return number quality ----@return 1nil bindOnPickUp +---@param id number +---@return string texture +---@return string name +---@return number count +---@return number quality +---@return 1nil bindOnPickUp ---Returns information about an item currently up for loot rolling -function GetLootRollItemInfo(id) end \ No newline at end of file +function GetLootRollItemInfo(id) end diff --git a/api/GetLootRollItemLink.lua b/api/GetLootRollItemLink.lua index f2d92f0..4f61206 100644 --- a/api/GetLootRollItemLink.lua +++ b/api/GetLootRollItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string link +---@param id number +---@return string link ---Returns a hyperlink for an item currently up for loot rolling -function GetLootRollItemLink(id) end \ No newline at end of file +function GetLootRollItemLink(id) end diff --git a/api/GetLootRollTimeLeft.lua b/api/GetLootRollTimeLeft.lua index 78cf665..dbb12c3 100644 --- a/api/GetLootRollTimeLeft.lua +++ b/api/GetLootRollTimeLeft.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number timeLeft +---@param id number +---@return number timeLeft ---Returns the amount of time remaining before loot rolling for an item expires. When the time expires, all group members who have not yet chosen to roll Need or Greed automatically pass, random roll results are produced for those who chose to roll, and the server declares a winner and awards the item. -function GetLootRollTimeLeft(id) end \ No newline at end of file +function GetLootRollTimeLeft(id) end diff --git a/api/GetLootSlotInfo.lua b/api/GetLootSlotInfo.lua index 71640cb..637c617 100644 --- a/api/GetLootSlotInfo.lua +++ b/api/GetLootSlotInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return string texture ----@return string item ----@return number quantity ----@return number quality +---@param slot number +---@return string texture +---@return string item +---@return number quantity +---@return number quality ---@return number? locked (1 if locked, nil if not) ---Returns information about an item available as loot -function GetLootSlotInfo(slot) end \ No newline at end of file +function GetLootSlotInfo(slot) end diff --git a/api/GetLootSlotLink.lua b/api/GetLootSlotLink.lua index ff0fc8e..7c3cf66 100644 --- a/api/GetLootSlotLink.lua +++ b/api/GetLootSlotLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return string link +---@param slot number +---@return string link ---Returns a hyperlink for an item available as loot. Returns nil if the loot slot is empty or contains money. -function GetLootSlotLink(slot) end \ No newline at end of file +function GetLootSlotLink(slot) end diff --git a/api/GetLootSlotType.lua b/api/GetLootSlotType.lua index 5d96968..f459de0 100644 --- a/api/GetLootSlotType.lua +++ b/api/GetLootSlotType.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return number loottype +---@param slot number +---@return number loottype ---Returns the type of a given loot slot -function GetLootSlotType(slot) end \ No newline at end of file +function GetLootSlotType(slot) end diff --git a/api/GetLootSourceInfo.lua b/api/GetLootSourceInfo.lua index bdfccd6..8f37209 100644 --- a/api/GetLootSourceInfo.lua +++ b/api/GetLootSourceInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string corpseGUID1 ----@return number count1 ----@return string corpseGUID2 ----@return number count2 ----@return ... +---@param index number +---@return string corpseGUID1 +---@return number count1 +---@return string corpseGUID2 +---@return number count2 +---@return ... ---Retreives information about a loot from multiple corpses (loot window must be opened) -function GetLootSourceInfo(index) end \ No newline at end of file +function GetLootSourceInfo(index) end diff --git a/api/GetLootSpecialization.lua b/api/GetLootSpecialization.lua index 128db59..1415ea2 100644 --- a/api/GetLootSpecialization.lua +++ b/api/GetLootSpecialization.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number specID +---@return number specID ---Returns the specialization ID for the current loot specialization. This method returns 0 if the current loot specialization is set to "Current Specialization". Otherwise the global specialization ID will be returned. -function GetLootSpecialization() end \ No newline at end of file +function GetLootSpecialization() end diff --git a/api/GetLootThreshold.lua b/api/GetLootThreshold.lua index 335a1e9..805cd4b 100644 --- a/api/GetLootThreshold.lua +++ b/api/GetLootThreshold.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number threshold +---@return number threshold ---Returns the threshold used for Master Looter, Group Loot, and Need Before Greed loot methods. Items above the threshold quality will trigger the special behavior of the current loot method: for Group Loot and Need Before Greed, rolling will automatically begin once a group member loots the corpse or object holding the item; for Master Loot, the item will be invisible to all but the loot master tasked with assigning the loot. -function GetLootThreshold() end \ No newline at end of file +function GetLootThreshold() end diff --git a/api/GetMacroBody.lua b/api/GetMacroBody.lua index 2168d72..679e8ea 100644 --- a/api/GetMacroBody.lua +++ b/api/GetMacroBody.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@return string body +---@param index number +---@param name string +---@return string body ---Returns the body text of a macro -function GetMacroBody(index, name) end \ No newline at end of file +function GetMacroBody(index, name) end diff --git a/api/GetMacroIcons.lua b/api/GetMacroIcons.lua index 1e15b64..ead0b53 100644 --- a/api/GetMacroIcons.lua +++ b/api/GetMacroIcons.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tbl table ----@return table icons +---@param tbl table +---@return table icons ---Returns a list of the available spell icon filenames for use in macros. The entries in this table are in 'array' form, beginning at index 1, so you can take the length of the list to get the number of available icons. In order to load item icons, you must also use GetMacroItemIcons, passing it the same table. These filenames are not usable directly, they must be prefixed with "INTERFACE\\ICONS\\" in order to be used. -function GetMacroIcons(tbl) end \ No newline at end of file +function GetMacroIcons(tbl) end diff --git a/api/GetMacroIndexByName.lua b/api/GetMacroIndexByName.lua index 7d7e345..fac22cb 100644 --- a/api/GetMacroIndexByName.lua +++ b/api/GetMacroIndexByName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return number index +---@param name string +---@return number index ---Returns the index of a macro specified by name -function GetMacroIndexByName(name) end \ No newline at end of file +function GetMacroIndexByName(name) end diff --git a/api/GetMacroInfo.lua b/api/GetMacroInfo.lua index f2b3e51..4b50edd 100644 --- a/api/GetMacroInfo.lua +++ b/api/GetMacroInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@return string name ----@return string texture ----@return string body +---@param index number +---@param name string +---@return string name +---@return string texture +---@return string body ---Returns information about a macro -function GetMacroInfo(index, name) end \ No newline at end of file +function GetMacroInfo(index, name) end diff --git a/api/GetMacroItem.lua b/api/GetMacroItem.lua index ed7d227..6e59122 100644 --- a/api/GetMacroItem.lua +++ b/api/GetMacroItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@return string name ----@return string link +---@param index number +---@param name string +---@return string name +---@return string link ---Returns information about the item used by a macro. If a macro contains conditional, random, or sequence commands, this function returns the item which would currently be used if the macro were run. -function GetMacroItem(index, name) end \ No newline at end of file +function GetMacroItem(index, name) end diff --git a/api/GetMacroItemIcons.lua b/api/GetMacroItemIcons.lua index 78559e8..bccdcc6 100644 --- a/api/GetMacroItemIcons.lua +++ b/api/GetMacroItemIcons.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tbl table ----@return table icons +---@param tbl table +---@return table icons ---Returns a list of the available item icon filenames for use in macros. The entries in this table are in 'array' form, beginning at index 1, so you can take the length of the list to get the number of available icons. In order to load item icons, you must also use GetMacroIcons, passing it the same table. These filenames are not usable directly, they must be prefixed with "INTERFACE\\ICONS\\" in order to be used. -function GetMacroItemIcons(tbl) end \ No newline at end of file +function GetMacroItemIcons(tbl) end diff --git a/api/GetMacroSpell.lua b/api/GetMacroSpell.lua index 2b87095..55960be 100644 --- a/api/GetMacroSpell.lua +++ b/api/GetMacroSpell.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@return string name ----@return string rank ----@return number spellID +---@param index number +---@param name string +---@return string name +---@return string rank +---@return number spellID ---Returns information about the spell cast by a macro. If a macro contains conditional, random, or sequence commands, this function returns the spell which would currently be cast if the macro were run. -function GetMacroSpell(index, name) end \ No newline at end of file +function GetMacroSpell(index, name) end diff --git a/api/GetManaRegen.lua b/api/GetManaRegen.lua index e0eaa9f..80cecbb 100644 --- a/api/GetManaRegen.lua +++ b/api/GetManaRegen.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number base ----@return number casting +---@return number base +---@return number casting ---Returns information about the player's mana regeneration rate -function GetManaRegen() end \ No newline at end of file +function GetManaRegen() end diff --git a/api/GetMapContinents.lua b/api/GetMapContinents.lua index c80484f..c736921 100644 --- a/api/GetMapContinents.lua +++ b/api/GetMapContinents.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of map continents names -function GetMapContinents() end \ No newline at end of file +function GetMapContinents() end diff --git a/api/GetMapDebugObjectInfo.lua b/api/GetMapDebugObjectInfo.lua index 741042f..13a8f4d 100644 --- a/api/GetMapDebugObjectInfo.lua +++ b/api/GetMapDebugObjectInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMapDebugObjectInfo() end \ No newline at end of file +function GetMapDebugObjectInfo() end diff --git a/api/GetMapHierarchy.lua b/api/GetMapHierarchy.lua index 5088124..231cab3 100644 --- a/api/GetMapHierarchy.lua +++ b/api/GetMapHierarchy.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMapHierarchy() end \ No newline at end of file +function GetMapHierarchy() end diff --git a/api/GetMapInfo.lua b/api/GetMapInfo.lua index 4a88c9e..ed06c7c 100644 --- a/api/GetMapInfo.lua +++ b/api/GetMapInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string mapFileName ----@return number textureHeight ----@return string textureWidth ----@return boolean isMicroDungeon ----@return string microDungeonMapName +---@return string mapFileName +---@return number textureHeight +---@return string textureWidth +---@return boolean isMicroDungeon +---@return string microDungeonMapName ---Returns information about the current world map texture. World map images are broken into several tiles; the full texture paths follow the format "Interface\\WorldMap\\"..mapFileName.."\\"..mapFileName..i, where i is a number between 1 and 12 (or in a zone with multiple area images, "Interface\\WorldMap\\"..mapFileName.."\\"..mapFileName..dungeonLevel.."_"..i, where dungeonLevel is a number between 1 and GetNumDungeonMapLevels()). World map images are 4 tiles wide and 3 tiles high. -function GetMapInfo() end \ No newline at end of file +function GetMapInfo() end diff --git a/api/GetMapLandmarkInfo.lua b/api/GetMapLandmarkInfo.lua index 8560076..fe5e264 100644 --- a/api/GetMapLandmarkInfo.lua +++ b/api/GetMapLandmarkInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string description ----@return number textureIndex ----@return number x ----@return number y ----@return number mapLinkID ----@return boolean showInBattleMap +---@param index number +---@return string name +---@return string description +---@return number textureIndex +---@return number x +---@return number y +---@return number mapLinkID +---@return boolean showInBattleMap ---Returns information about a map landmark. Possible landmarks include PvP objectives (both in battlegrounds and in world PvP areas), town and city markers on continent maps, and special markers such as those used during the Scourge Invasion world event. Some landmarks (such as those for towns on a zone map) exist but are not visible in the default UI. -function GetMapLandmarkInfo(index) end \ No newline at end of file +function GetMapLandmarkInfo(index) end diff --git a/api/GetMapNameByID.lua b/api/GetMapNameByID.lua index b33b97b..270444c 100644 --- a/api/GetMapNameByID.lua +++ b/api/GetMapNameByID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string mapname +---@param id number +---@return string mapname ---Returns the localized name of a given map. Map IDs can be obtained using GetCurrentMapAreaID(). Note that you cannot obtain names of multiple floors of a map using this function. Oddly enough, these are stored in global variables, as follows: local floorName = _G["DUNGEON_FLOOR_" .. strupper(GetMapInfo() or "") .. floorNum] -function GetMapNameByID(id) end \ No newline at end of file +function GetMapNameByID(id) end diff --git a/api/GetMapOverlayInfo.lua b/api/GetMapOverlayInfo.lua index 125085b..54ba7d3 100644 --- a/api/GetMapOverlayInfo.lua +++ b/api/GetMapOverlayInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string textureName ----@return number textureWidth ----@return number textureHeight ----@return number offsetX ----@return number offsetY ----@return number mapPointX ----@return number mapPointY +---@param index number +---@return string textureName +---@return number textureWidth +---@return number textureHeight +---@return number offsetX +---@return number offsetY +---@return number mapPointX +---@return number mapPointY ---Returns information about a world map overlay. Map overlays correspond to areas which are "discovered" when entered by the player, "filling in" the blank areas of the world map. -function GetMapOverlayInfo(index) end \ No newline at end of file +function GetMapOverlayInfo(index) end diff --git a/api/GetMapSubzones.lua b/api/GetMapSubzones.lua index c6019b2..85b7a78 100644 --- a/api/GetMapSubzones.lua +++ b/api/GetMapSubzones.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param zoneID number ----@return list zoneid1,zonename1, zoneid2,zonename2, zoneid3,zonename3... +---@param zoneID number +---@return list zoneid1,zonename1, zoneid2,zonename2, zoneid3,zonename3... ---Returns the map subzones for a given zone -function GetMapSubzones(zoneID) end \ No newline at end of file +function GetMapSubzones(zoneID) end diff --git a/api/GetMapZones.lua b/api/GetMapZones.lua index dea81d3..fb7651a 100644 --- a/api/GetMapZones.lua +++ b/api/GetMapZones.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param continentIndex number ----@return list ... +---@param continentIndex number +---@return list ... ---Returns the map zones for a given continent -function GetMapZones(continentIndex) end \ No newline at end of file +function GetMapZones(continentIndex) end diff --git a/api/GetMasterLootCandidate.lua b/api/GetMasterLootCandidate.lua index 48e342c..0c682cb 100644 --- a/api/GetMasterLootCandidate.lua +++ b/api/GetMasterLootCandidate.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string candidate +---@param index number +---@return string candidate ---Returns information about a given loot candidate. Used in the default UI to build the popup menu used in master loot assignment. Only valid if the player is the master looter. Not all party/raid members may be eligible for a given corpse's (or object's) loot: e.g. a member is ineligible for loot from a creature killed while that member was not in the immediate area. By repeatedly calling this function (with index incrementing from 1 to the total number of party/raid members, including the player), one can build a list of the names of members eligible for the current loot. The index is cast in stone at the time the mob was killed. If you move raid members around prior to distributing loot, their original positions will be returned by this function. The expression ceil(index/5) will yield the group number (in a raid) and the expression index % 5 will yield the group position number for an eligible raider. -function GetMasterLootCandidate(index) end \ No newline at end of file +function GetMasterLootCandidate(index) end diff --git a/api/GetMastery.lua b/api/GetMastery.lua index 00d1a0b..49b6a85 100644 --- a/api/GetMastery.lua +++ b/api/GetMastery.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the mastery value of your character -function GetMastery() end \ No newline at end of file +function GetMastery() end diff --git a/api/GetMasteryEffect.lua b/api/GetMasteryEffect.lua index 1babb92..d1bb821 100644 --- a/api/GetMasteryEffect.lua +++ b/api/GetMasteryEffect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMasteryEffect() end \ No newline at end of file +function GetMasteryEffect() end diff --git a/api/GetMaxAnimFramerate.lua b/api/GetMaxAnimFramerate.lua index 81a0cbf..4f031c0 100644 --- a/api/GetMaxAnimFramerate.lua +++ b/api/GetMaxAnimFramerate.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMaxAnimFramerate() end \ No newline at end of file +function GetMaxAnimFramerate() end diff --git a/api/GetMaxArenaCurrency.lua b/api/GetMaxArenaCurrency.lua index ee99046..8e8b7ad 100644 --- a/api/GetMaxArenaCurrency.lua +++ b/api/GetMaxArenaCurrency.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the maximum amount of arena points the player can accrue -function GetMaxArenaCurrency() end \ No newline at end of file +function GetMaxArenaCurrency() end diff --git a/api/GetMaxBattlefieldID.lua b/api/GetMaxBattlefieldID.lua index 78f3d8e..eec5749 100644 --- a/api/GetMaxBattlefieldID.lua +++ b/api/GetMaxBattlefieldID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numBattlefields +---@return number numBattlefields ---Returns the number of battlefields the player is associated with.. GetBattlefieldStatus(index) can be used to retrieve detailed information about a battlefield. -function GetMaxBattlefieldID() end \ No newline at end of file +function GetMaxBattlefieldID() end diff --git a/api/GetMaxCombatRatingBonus.lua b/api/GetMaxCombatRatingBonus.lua index bdc7931..1ef270c 100644 --- a/api/GetMaxCombatRatingBonus.lua +++ b/api/GetMaxCombatRatingBonus.lua @@ -1,29 +1,55 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ratingIndex CR_WEAPON_SKILL_RANGED ----@param CR_BLOCK ----@param CR_CRIT_MELEE ----@param CR_CRIT_RANGED ----@param CR_CRIT_SPELL ----@param CR_CRIT_TAKEN_MELEE ----@param CR_CRIT_TAKEN_RANGED ----@param CR_CRIT_TAKEN_SPELL ----@param CR_DEFENSE_SKILL ----@param CR_DODGE ----@param CR_HASTE_MELEE ----@param CR_HASTE_RANGED ----@param CR_HASTE_SPELL ----@param CR_HIT_MELEE ----@param CR_HIT_RANGED ----@param CR_HIT_SPELL ----@param CR_HIT_TAKEN_MELEE ----@param CR_HIT_TAKEN_RANGED ----@param CR_HIT_TAKEN_SPELL ----@param CR_PARRY ----@param CR_WEAPON_SKILL ----@param CR_WEAPON_SKILL_MAINHAND ----@param CR_WEAPON_SKILL_OFFHAND ----@param CR_WEAPON_SKILL_RANGED ----@return number max +---@param ratingIndex CR_WEAPON_SKILL_RANGED +---@param CR_BLOCK +---@param CR_CRIT_MELEE +---@param CR_CRIT_RANGED +---@param CR_CRIT_SPELL +---@param CR_CRIT_TAKEN_MELEE +---@param CR_CRIT_TAKEN_RANGED +---@param CR_CRIT_TAKEN_SPELL +---@param CR_DEFENSE_SKILL +---@param CR_DODGE +---@param CR_HASTE_MELEE +---@param CR_HASTE_RANGED +---@param CR_HASTE_SPELL +---@param CR_HIT_MELEE +---@param CR_HIT_RANGED +---@param CR_HIT_SPELL +---@param CR_HIT_TAKEN_MELEE +---@param CR_HIT_TAKEN_RANGED +---@param CR_HIT_TAKEN_SPELL +---@param CR_PARRY +---@param CR_WEAPON_SKILL +---@param CR_WEAPON_SKILL_MAINHAND +---@param CR_WEAPON_SKILL_OFFHAND +---@param CR_WEAPON_SKILL_RANGED +---@return number max ---Returns the maximum possible percentage bonus for a given combat rating. While this function can be applied to all combat ratings, it is currently only used in the default UI to account for the cap on (incoming) critical strike damage and mana drains provided by Resilience rating -- specifically, in generating the tooltip where Resilience rating is shown in the Character window (PaperDollFrame). -function GetMaxCombatRatingBonus(ratingIndex, CR_BLOCK, CR_CRIT_MELEE, CR_CRIT_RANGED, CR_CRIT_SPELL, CR_CRIT_TAKEN_MELEE, CR_CRIT_TAKEN_RANGED, CR_CRIT_TAKEN_SPELL, CR_DEFENSE_SKILL, CR_DODGE, CR_HASTE_MELEE, CR_HASTE_RANGED, CR_HASTE_SPELL, CR_HIT_MELEE, CR_HIT_RANGED, CR_HIT_SPELL, CR_HIT_TAKEN_MELEE, CR_HIT_TAKEN_RANGED, CR_HIT_TAKEN_SPELL, CR_PARRY, CR_WEAPON_SKILL, CR_WEAPON_SKILL_MAINHAND, CR_WEAPON_SKILL_OFFHAND, CR_WEAPON_SKILL_RANGED) end \ No newline at end of file +function GetMaxCombatRatingBonus( + ratingIndex, + CR_BLOCK, + CR_CRIT_MELEE, + CR_CRIT_RANGED, + CR_CRIT_SPELL, + CR_CRIT_TAKEN_MELEE, + CR_CRIT_TAKEN_RANGED, + CR_CRIT_TAKEN_SPELL, + CR_DEFENSE_SKILL, + CR_DODGE, + CR_HASTE_MELEE, + CR_HASTE_RANGED, + CR_HASTE_SPELL, + CR_HIT_MELEE, + CR_HIT_RANGED, + CR_HIT_SPELL, + CR_HIT_TAKEN_MELEE, + CR_HIT_TAKEN_RANGED, + CR_HIT_TAKEN_SPELL, + CR_PARRY, + CR_WEAPON_SKILL, + CR_WEAPON_SKILL_MAINHAND, + CR_WEAPON_SKILL_OFFHAND, + CR_WEAPON_SKILL_RANGED +) +end diff --git a/api/GetMaxPlayerLevel.lua b/api/GetMaxPlayerLevel.lua index 4397b6a..707493e 100644 --- a/api/GetMaxPlayerLevel.lua +++ b/api/GetMaxPlayerLevel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number maxLevel +---@return number maxLevel ---Returns the maximum level attainable by a player -function GetMaxPlayerLevel() end \ No newline at end of file +function GetMaxPlayerLevel() end diff --git a/api/GetMaxRewardCurrencies.lua b/api/GetMaxRewardCurrencies.lua index 524b11d..53bf793 100644 --- a/api/GetMaxRewardCurrencies.lua +++ b/api/GetMaxRewardCurrencies.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMaxRewardCurrencies() end \ No newline at end of file +function GetMaxRewardCurrencies() end diff --git a/api/GetMaxSpellStartRecoveryOffset.lua b/api/GetMaxSpellStartRecoveryOffset.lua index 7e20e40..c403e82 100644 --- a/api/GetMaxSpellStartRecoveryOffset.lua +++ b/api/GetMaxSpellStartRecoveryOffset.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMaxSpellStartRecoveryOffset() end \ No newline at end of file +function GetMaxSpellStartRecoveryOffset() end diff --git a/api/GetMaxTalentTier.lua b/api/GetMaxTalentTier.lua index 43a7121..7a17ae3 100644 --- a/api/GetMaxTalentTier.lua +++ b/api/GetMaxTalentTier.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMaxTalentTier() end \ No newline at end of file +function GetMaxTalentTier() end diff --git a/api/GetMeleeHaste.lua b/api/GetMeleeHaste.lua index 18674ad..5266fc4 100644 --- a/api/GetMeleeHaste.lua +++ b/api/GetMeleeHaste.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number haste +---@return number haste ---Returns information about the player's melee haste -function GetMeleeHaste() end \ No newline at end of file +function GetMeleeHaste() end diff --git a/api/GetMerchantCurrencies.lua b/api/GetMerchantCurrencies.lua index c783497..a3a50a4 100644 --- a/api/GetMerchantCurrencies.lua +++ b/api/GetMerchantCurrencies.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMerchantCurrencies() end \ No newline at end of file +function GetMerchantCurrencies() end diff --git a/api/GetMerchantFilter.lua b/api/GetMerchantFilter.lua index 5c0aa70..6720cd4 100644 --- a/api/GetMerchantFilter.lua +++ b/api/GetMerchantFilter.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the index of the filter applied to the merchant. -function GetMerchantFilter() end \ No newline at end of file +function GetMerchantFilter() end diff --git a/api/GetMerchantItemCostInfo.lua b/api/GetMerchantItemCostInfo.lua index e316951..8989415 100644 --- a/api/GetMerchantItemCostInfo.lua +++ b/api/GetMerchantItemCostInfo.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number currencyCount +---@param index number +---@return number currencyCount ---Returns information about alternate currencies required to purchase an item from a vendor -function GetMerchantItemCostInfo(index) end \ No newline at end of file +function GetMerchantItemCostInfo(index) end diff --git a/api/GetMerchantItemCostItem.lua b/api/GetMerchantItemCostItem.lua index aca3da5..cfb47fd 100644 --- a/api/GetMerchantItemCostItem.lua +++ b/api/GetMerchantItemCostItem.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param currency number ----@return string texture ----@return number value ----@return string link ----@return string name +---@param index number +---@param currency number +---@return string texture +---@return number value +---@return string link +---@return string name ---Returns information about currency items required to purchase an item from a vendor -function GetMerchantItemCostItem(index, currency) end \ No newline at end of file +function GetMerchantItemCostItem(index, currency) end diff --git a/api/GetMerchantItemInfo.lua b/api/GetMerchantItemInfo.lua index 52f6b4d..fb75acf 100644 --- a/api/GetMerchantItemInfo.lua +++ b/api/GetMerchantItemInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number price ----@return number quantity ----@return number numAvailable ----@return 1nil isUsable ----@return 1nil extendedCost +---@param index number +---@return string name +---@return string texture +---@return number price +---@return number quantity +---@return number numAvailable +---@return 1nil isUsable +---@return 1nil extendedCost ---Returns information about an item available for purchase from a vendor -function GetMerchantItemInfo(index) end \ No newline at end of file +function GetMerchantItemInfo(index) end diff --git a/api/GetMerchantItemLink.lua b/api/GetMerchantItemLink.lua index 9494e99..59e2b9f 100644 --- a/api/GetMerchantItemLink.lua +++ b/api/GetMerchantItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for an item available for purchase from a vendor -function GetMerchantItemLink(index) end \ No newline at end of file +function GetMerchantItemLink(index) end diff --git a/api/GetMerchantItemMaxStack.lua b/api/GetMerchantItemMaxStack.lua index 1cd1c0d..6be1fa7 100644 --- a/api/GetMerchantItemMaxStack.lua +++ b/api/GetMerchantItemMaxStack.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number maxStack +---@param index number +---@return number maxStack ---Returns the maximum number of an item allowed in a single purchase. Determines the largest value usable for the second argument (quantity) of BuyMerchantItem() when purchasing the item. For most items, this is the same as the maximum stack size of the item. -function GetMerchantItemMaxStack(index) end \ No newline at end of file +function GetMerchantItemMaxStack(index) end diff --git a/api/GetMerchantNumItems.lua b/api/GetMerchantNumItems.lua index c6549b7..286f285 100644 --- a/api/GetMerchantNumItems.lua +++ b/api/GetMerchantNumItems.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numMerchantItems +---@return number numMerchantItems ---Returns the number of different items available for purchase from a vendor -function GetMerchantNumItems() end \ No newline at end of file +function GetMerchantNumItems() end diff --git a/api/GetMinimapZoneText.lua b/api/GetMinimapZoneText.lua index 783d3f7..671e8de 100644 --- a/api/GetMinimapZoneText.lua +++ b/api/GetMinimapZoneText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string zoneText +---@return string zoneText ---Returns the name of the current area (as displayed in the Minimap). Matches GetSubZoneText(), GetRealZoneText() or GetZoneText(). -function GetMinimapZoneText() end \ No newline at end of file +function GetMinimapZoneText() end diff --git a/api/GetMirrorTimerInfo.lua b/api/GetMirrorTimerInfo.lua index 3ccbe22..e875ba6 100644 --- a/api/GetMirrorTimerInfo.lua +++ b/api/GetMirrorTimerInfo.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return FEIGNDEATH timer ----@return BREATH ----@return DEATH ----@return EXHAUSTION ----@return FEIGNDEATH ----@return number value ----@return number maxvalue ----@return number scale ----@return number paused ----@return string label +---@param index number +---@return FEIGNDEATH timer +---@return BREATH +---@return DEATH +---@return EXHAUSTION +---@return FEIGNDEATH +---@return number value +---@return number maxvalue +---@return number scale +---@return number paused +---@return string label ---Returns information about special countdown timers -function GetMirrorTimerInfo(index) end \ No newline at end of file +function GetMirrorTimerInfo(index) end diff --git a/api/GetMirrorTimerProgress.lua b/api/GetMirrorTimerProgress.lua index b4cb609..d356f40 100644 --- a/api/GetMirrorTimerProgress.lua +++ b/api/GetMirrorTimerProgress.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param timer FEIGNDEATH ----@param BREATH ----@param DEATH ----@param EXHAUSTION ----@param FEIGNDEATH ----@return number progress +---@param timer FEIGNDEATH +---@param BREATH +---@param DEATH +---@param EXHAUSTION +---@param FEIGNDEATH +---@return number progress ---Returns a high-resolution value for a special countdown timer -function GetMirrorTimerProgress(timer, BREATH, DEATH, EXHAUSTION, FEIGNDEATH) end \ No newline at end of file +function GetMirrorTimerProgress(timer, BREATH, DEATH, EXHAUSTION, FEIGNDEATH) end diff --git a/api/GetMissingLootItemInfo.lua b/api/GetMissingLootItemInfo.lua index 0e5d959..fb2be3e 100644 --- a/api/GetMissingLootItemInfo.lua +++ b/api/GetMissingLootItemInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMissingLootItemInfo() end \ No newline at end of file +function GetMissingLootItemInfo() end diff --git a/api/GetMissingLootItemLink.lua b/api/GetMissingLootItemLink.lua index eccb1ea..d01df73 100644 --- a/api/GetMissingLootItemLink.lua +++ b/api/GetMissingLootItemLink.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMissingLootItemLink() end \ No newline at end of file +function GetMissingLootItemLink() end diff --git a/api/GetModResilienceDamageReduction.lua b/api/GetModResilienceDamageReduction.lua index ed9d66a..4bd0a50 100644 --- a/api/GetModResilienceDamageReduction.lua +++ b/api/GetModResilienceDamageReduction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetModResilienceDamageReduction() end \ No newline at end of file +function GetModResilienceDamageReduction() end diff --git a/api/GetModifiedClick.lua b/api/GetModifiedClick.lua index a35c73b..5e5abff 100644 --- a/api/GetModifiedClick.lua +++ b/api/GetModifiedClick.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return string binding +---@param name string +---@return string binding ---Returns the keys/buttons bound for a modified click action -function GetModifiedClick(name) end \ No newline at end of file +function GetModifiedClick(name) end diff --git a/api/GetModifiedClickAction.lua b/api/GetModifiedClickAction.lua index 2f80c41..6e2dedb 100644 --- a/api/GetModifiedClickAction.lua +++ b/api/GetModifiedClickAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string action +---@param index number +---@return string action ---Returns the token identifying a modified click action -function GetModifiedClickAction(index) end \ No newline at end of file +function GetModifiedClickAction(index) end diff --git a/api/GetMoney.lua b/api/GetMoney.lua index cebc648..a967582 100644 --- a/api/GetMoney.lua +++ b/api/GetMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number money +---@return number money ---Returns the total amount of money currently in the player's possession -function GetMoney() end \ No newline at end of file +function GetMoney() end diff --git a/api/GetMonitorAspectRatio.lua b/api/GetMonitorAspectRatio.lua index 7ed96e9..332c5ca 100644 --- a/api/GetMonitorAspectRatio.lua +++ b/api/GetMonitorAspectRatio.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monitorIndex number ----@return number ratio +---@param monitorIndex number +---@return number ratio ---Query a monitor's aspect ratio -function GetMonitorAspectRatio(monitorIndex) end \ No newline at end of file +function GetMonitorAspectRatio(monitorIndex) end diff --git a/api/GetMonitorCount.lua b/api/GetMonitorCount.lua index 7078632..8bda01a 100644 --- a/api/GetMonitorCount.lua +++ b/api/GetMonitorCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the number of monitors connected -function GetMonitorCount() end \ No newline at end of file +function GetMonitorCount() end diff --git a/api/GetMonitorName.lua b/api/GetMonitorName.lua index b50b035..25d203c 100644 --- a/api/GetMonitorName.lua +++ b/api/GetMonitorName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param monitorIndex number ----@return string name +---@param monitorIndex number +---@return string name ---Returns the system name of a selected monitor -function GetMonitorName(monitorIndex) end \ No newline at end of file +function GetMonitorName(monitorIndex) end diff --git a/api/GetMouseButtonClicked.lua b/api/GetMouseButtonClicked.lua index 76f5047..773b485 100644 --- a/api/GetMouseButtonClicked.lua +++ b/api/GetMouseButtonClicked.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string button +---@return string button ---Returns which mouse button triggered the current script. If called in a line of execution that started with a click handler (OnMouseDown, OnMouseUp, OnClick, OnDoubleClick, PreClick, or PostClick), returns a string identifying which mouse button triggered the handler. Otherwise, returns nil. -function GetMouseButtonClicked() end \ No newline at end of file +function GetMouseButtonClicked() end diff --git a/api/GetMouseButtonName.lua b/api/GetMouseButtonName.lua index eaa5380..d9f2ca0 100644 --- a/api/GetMouseButtonName.lua +++ b/api/GetMouseButtonName.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param buttonNumber number ----@return RightButton buttonName ----@return Button4 ----@return Button5 ----@return LeftButton ----@return MiddleButton ----@return RightButton +---@param buttonNumber number +---@return RightButton buttonName +---@return Button4 +---@return Button5 +---@return LeftButton +---@return MiddleButton +---@return RightButton ---Returns the name for a mouse button specified by number -function GetMouseButtonName(buttonNumber) end \ No newline at end of file +function GetMouseButtonName(buttonNumber) end diff --git a/api/GetMouseFocus.lua b/api/GetMouseFocus.lua index 0bf4ced..764a978 100644 --- a/api/GetMouseFocus.lua +++ b/api/GetMouseFocus.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table frame +---@return table frame ---Returns the frame that is currently under the mouse, and has mouse input enabled. -function GetMouseFocus() end \ No newline at end of file +function GetMouseFocus() end diff --git a/api/GetMovieDownloadProgress.lua b/api/GetMovieDownloadProgress.lua index 3e60b8a..c1f2621 100644 --- a/api/GetMovieDownloadProgress.lua +++ b/api/GetMovieDownloadProgress.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMovieDownloadProgress() end \ No newline at end of file +function GetMovieDownloadProgress() end diff --git a/api/GetMultiCastBarIndex.lua b/api/GetMultiCastBarIndex.lua index 930c01d..50c87b3 100644 --- a/api/GetMultiCastBarIndex.lua +++ b/api/GetMultiCastBarIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMultiCastBarIndex() end \ No newline at end of file +function GetMultiCastBarIndex() end diff --git a/api/GetMultiCastTotemSpells.lua b/api/GetMultiCastTotemSpells.lua index 9f7259e..d36f424 100644 --- a/api/GetMultiCastTotemSpells.lua +++ b/api/GetMultiCastTotemSpells.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMultiCastTotemSpells() end \ No newline at end of file +function GetMultiCastTotemSpells() end diff --git a/api/GetMultistrike.lua b/api/GetMultistrike.lua index 8ffac82..fd8b03a 100644 --- a/api/GetMultistrike.lua +++ b/api/GetMultistrike.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMultistrike() end \ No newline at end of file +function GetMultistrike() end diff --git a/api/GetMultistrikeEffect.lua b/api/GetMultistrikeEffect.lua index 905ce42..58d6df8 100644 --- a/api/GetMultistrikeEffect.lua +++ b/api/GetMultistrikeEffect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetMultistrikeEffect() end \ No newline at end of file +function GetMultistrikeEffect() end diff --git a/api/GetMuteName.lua b/api/GetMuteName.lua index b34ed9a..7854012 100644 --- a/api/GetMuteName.lua +++ b/api/GetMuteName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name +---@param index number +---@return string name ---Returns the name of a character on the mute list -function GetMuteName(index) end \ No newline at end of file +function GetMuteName(index) end diff --git a/api/GetMuteStatus.lua b/api/GetMuteStatus.lua index e259598..bcb2acc 100644 --- a/api/GetMuteStatus.lua +++ b/api/GetMuteStatus.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@param channel string ----@return 1nil muteStatus +---@param unit string +---@param name string +---@param channel string +---@return 1nil muteStatus ---Returns whether a character is muted or silenced. If the channel argument is specified, this function checks the given character's voice/silence status on the channel as well as for whether the character is on the player's Muted list. -function GetMuteStatus(unit, name, channel) end \ No newline at end of file +function GetMuteStatus(unit, name, channel) end diff --git a/api/GetNamePlateMotionType.lua b/api/GetNamePlateMotionType.lua index ba27731..6b1769d 100644 --- a/api/GetNamePlateMotionType.lua +++ b/api/GetNamePlateMotionType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNamePlateMotionType() end \ No newline at end of file +function GetNamePlateMotionType() end diff --git a/api/GetNetIpTypes.lua b/api/GetNetIpTypes.lua index ea7f1ec..e1d81a1 100644 --- a/api/GetNetIpTypes.lua +++ b/api/GetNetIpTypes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNetIpTypes() end \ No newline at end of file +function GetNetIpTypes() end diff --git a/api/GetNetStats.lua b/api/GetNetStats.lua index 879a49c..bd8a71c 100644 --- a/api/GetNetStats.lua +++ b/api/GetNetStats.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number bandwidthIn ----@return number bandwidthOut ----@return number latencyHome ----@return number latencyWorld +---@return number bandwidthIn +---@return number bandwidthOut +---@return number latencyHome +---@return number latencyWorld ---Returns information about current network connection performance -function GetNetStats() end \ No newline at end of file +function GetNetStats() end diff --git a/api/GetNewSocketInfo.lua b/api/GetNewSocketInfo.lua index cbfc639..ad31f5e 100644 --- a/api/GetNewSocketInfo.lua +++ b/api/GetNewSocketInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return 1nil matches +---@param index number +---@return string name +---@return string texture +---@return 1nil matches ---Returns information about a gem added to a socket. If the given socket contains a new gem (one that has been placed in the UI, but not yet confirmed for permanently socketing into the item), returns information for that gem. If the socket is empty or has a permanently socketed gem but no new gem, returns nil. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetNewSocketInfo(index) end \ No newline at end of file +function GetNewSocketInfo(index) end diff --git a/api/GetNewSocketLink.lua b/api/GetNewSocketLink.lua index eafc0aa..5104ebe 100644 --- a/api/GetNewSocketLink.lua +++ b/api/GetNewSocketLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for a gem added to a socket. If the given socket contains a new gem (one that has been placed in the UI, but not yet confirmed for permanently socketing into the item), returns an item link for that gem. If the socket is empty or has a permanently socketed gem but no new gem, returns nil. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetNewSocketLink(index) end \ No newline at end of file +function GetNewSocketLink(index) end diff --git a/api/GetNextAchievement.lua b/api/GetNextAchievement.lua index 8eefeb4..9acd13c 100644 --- a/api/GetNextAchievement.lua +++ b/api/GetNextAchievement.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number nextID ----@return boolean completed +---@param id number +---@return number nextID +---@return boolean completed ---Returns the next achievement for an achievement which is part of a series -function GetNextAchievement(id) end \ No newline at end of file +function GetNextAchievement(id) end diff --git a/api/GetNextCompleatedTutorial.lua b/api/GetNextCompleatedTutorial.lua index addeb5d..bbc098b 100644 --- a/api/GetNextCompleatedTutorial.lua +++ b/api/GetNextCompleatedTutorial.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNextCompleatedTutorial() end \ No newline at end of file +function GetNextCompleatedTutorial() end diff --git a/api/GetNumActiveQuests.lua b/api/GetNumActiveQuests.lua index 2d3a75c..e27a3eb 100644 --- a/api/GetNumActiveQuests.lua +++ b/api/GetNumActiveQuests.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numActiveQuests +---@return number numActiveQuests ---Returns the number of quests which can be turned in to the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. -function GetNumActiveQuests() end \ No newline at end of file +function GetNumActiveQuests() end diff --git a/api/GetNumAddOns.lua b/api/GetNumAddOns.lua index 1e0aa67..cb79085 100644 --- a/api/GetNumAddOns.lua +++ b/api/GetNumAddOns.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numAddons +---@return number numAddons ---Returns the number of addons in the addon listing -function GetNumAddOns() end \ No newline at end of file +function GetNumAddOns() end diff --git a/api/GetNumArchaeologyRaces.lua b/api/GetNumArchaeologyRaces.lua index b5f340f..6753238 100644 --- a/api/GetNumArchaeologyRaces.lua +++ b/api/GetNumArchaeologyRaces.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numRaces +---@return number numRaces ---Return the number of different races (branches) in Archeology. As of the Warlords of Draenor expansion, these are the valid race IDs: Dwarf Draenei Fossil Night Elf Nerubian Orc Tol'vir Troll Vrykul Mantid Pandaren Mogu Arakkoa Draenor Clans Ogre -function GetNumArchaeologyRaces() end \ No newline at end of file +function GetNumArchaeologyRaces() end diff --git a/api/GetNumArenaOpponentSpecs.lua b/api/GetNumArenaOpponentSpecs.lua index fe5ecb0..89253e6 100644 --- a/api/GetNumArenaOpponentSpecs.lua +++ b/api/GetNumArenaOpponentSpecs.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numOpps +---@return number numOpps ---Returns the number of enemy players which specialization data are available in an arena match -function GetNumArenaOpponentSpecs() end \ No newline at end of file +function GetNumArenaOpponentSpecs() end diff --git a/api/GetNumArenaOpponents.lua b/api/GetNumArenaOpponents.lua index 17e51af..1002482 100644 --- a/api/GetNumArenaOpponents.lua +++ b/api/GetNumArenaOpponents.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numOpponents +---@return number numOpponents ---Returns the number of enemy players in an arena match -function GetNumArenaOpponents() end \ No newline at end of file +function GetNumArenaOpponents() end diff --git a/api/GetNumArtifactsByRace.lua b/api/GetNumArtifactsByRace.lua index a63c32c..13453d6 100644 --- a/api/GetNumArtifactsByRace.lua +++ b/api/GetNumArtifactsByRace.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param branchID number ----@return number numProjects +---@param branchID number +---@return number numProjects ---Return the amount of artifacts the player has acquired from the provided race. Opening the Archaeology window populates the values. The value returned is the number of completed artifacts for that race plus one for the in progress artifact. If the player hasn't collected the race's fragments yet, the value will be 0. Artifacts are only counted once so no matter how many times an artifact has been repeated it counts as one. -function GetNumArtifactsByRace(branchID) end \ No newline at end of file +function GetNumArtifactsByRace(branchID) end diff --git a/api/GetNumAuctionItems.lua b/api/GetNumAuctionItems.lua index c5a5b9b..55ebadb 100644 --- a/api/GetNumAuctionItems.lua +++ b/api/GetNumAuctionItems.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@return number numBatchAuctions ----@return number totalAuctions +---@param list owner +---@param bidder +---@param list +---@param owner +---@return number numBatchAuctions +---@return number totalAuctions ---Returns the number of auction items in a listing -function GetNumAuctionItems(list, bidder, list, owner) end \ No newline at end of file +function GetNumAuctionItems(list, bidder, list, owner) end diff --git a/api/GetNumAutoQuestPopUps.lua b/api/GetNumAutoQuestPopUps.lua index 7b2f40b..752e140 100644 --- a/api/GetNumAutoQuestPopUps.lua +++ b/api/GetNumAutoQuestPopUps.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numPopups +---@return number numPopups ---Returns number of AutoQuestPopup(s) -function GetNumAutoQuestPopUps() end \ No newline at end of file +function GetNumAutoQuestPopUps() end diff --git a/api/GetNumAvailableQuests.lua b/api/GetNumAvailableQuests.lua index de94fd5..288d5e4 100644 --- a/api/GetNumAvailableQuests.lua +++ b/api/GetNumAvailableQuests.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numAvailableQuests +---@return number numAvailableQuests ---Returns the number quests available from the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. -function GetNumAvailableQuests() end \ No newline at end of file +function GetNumAvailableQuests() end diff --git a/api/GetNumBankSlots.lua b/api/GetNumBankSlots.lua index 0bd36dc..417ba6d 100644 --- a/api/GetNumBankSlots.lua +++ b/api/GetNumBankSlots.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numSlots ----@return 1nil isFull +---@return number numSlots +---@return 1nil isFull ---Returns information about purchased bank bag slots -function GetNumBankSlots() end \ No newline at end of file +function GetNumBankSlots() end diff --git a/api/GetNumBattlefieldFlagPositions.lua b/api/GetNumBattlefieldFlagPositions.lua index 22c36c7..222f1c3 100644 --- a/api/GetNumBattlefieldFlagPositions.lua +++ b/api/GetNumBattlefieldFlagPositions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numFlags +---@return number numFlags ---Returns the number of battleground flags for which map position information is available -function GetNumBattlefieldFlagPositions() end \ No newline at end of file +function GetNumBattlefieldFlagPositions() end diff --git a/api/GetNumBattlefieldScores.lua b/api/GetNumBattlefieldScores.lua index eb70cf4..1ac0769 100644 --- a/api/GetNumBattlefieldScores.lua +++ b/api/GetNumBattlefieldScores.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numScores +---@return number numScores ---Returns the number of participant scores available in the current battleground -function GetNumBattlefieldScores() end \ No newline at end of file +function GetNumBattlefieldScores() end diff --git a/api/GetNumBattlefieldStats.lua b/api/GetNumBattlefieldStats.lua index 103b1ed..f30b5ce 100644 --- a/api/GetNumBattlefieldStats.lua +++ b/api/GetNumBattlefieldStats.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numStats +---@return number numStats ---Returns the number of battleground-specific statistics on the current battleground's scoreboard. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc. For the name and icon associated with each statistic, see GetBattlefieldStatInfo(). -function GetNumBattlefieldStats() end \ No newline at end of file +function GetNumBattlefieldStats() end diff --git a/api/GetNumBattlefieldVehicles.lua b/api/GetNumBattlefieldVehicles.lua index fc37696..0b73116 100644 --- a/api/GetNumBattlefieldVehicles.lua +++ b/api/GetNumBattlefieldVehicles.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numVehicles +---@return number numVehicles ---Returns the number of special vehicles in the current zone. Used only for certain vehicles in certain zones: includes the airships in Icecrown as well as vehicles used in Ulduar, Wintergrasp, and Strand of the Ancients. -function GetNumBattlefieldVehicles() end \ No newline at end of file +function GetNumBattlefieldVehicles() end diff --git a/api/GetNumBattlegroundTypes.lua b/api/GetNumBattlegroundTypes.lua index 291e7bb..b81b436 100644 --- a/api/GetNumBattlegroundTypes.lua +++ b/api/GetNumBattlegroundTypes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numBattlegrounds +---@return number numBattlegrounds ---Returns the number of different battlegrounds available. Refers to distinct battlegrounds, not battleground instances. Does not indicate the number of battlegrounds the player can enter: for that, see GetBattlegroundInfo. As of WoW 3.2, should always return 6: for Alterac Valley, Warsong Gulch, Arathi Basin, Eye of the Storm, Strand of the Ancients, and Isle of Conquest. If a future patch adds a new battleground, this function will reflect that. -function GetNumBattlegroundTypes() end \ No newline at end of file +function GetNumBattlegroundTypes() end diff --git a/api/GetNumBindings.lua b/api/GetNumBindings.lua index caace8e..bb3fbc0 100644 --- a/api/GetNumBindings.lua +++ b/api/GetNumBindings.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numBindings +---@return number numBindings ---Returns the number of entries in the key bindings list -function GetNumBindings() end \ No newline at end of file +function GetNumBindings() end diff --git a/api/GetNumBuybackItems.lua b/api/GetNumBuybackItems.lua index f106a65..4800521 100644 --- a/api/GetNumBuybackItems.lua +++ b/api/GetNumBuybackItems.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numBuybackItems +---@return number numBuybackItems ---Returns the number of items recently sold to a vendor and available to be repurchased -function GetNumBuybackItems() end \ No newline at end of file +function GetNumBuybackItems() end diff --git a/api/GetNumChallengeMapRewards.lua b/api/GetNumChallengeMapRewards.lua index 5390e3d..c601108 100644 --- a/api/GetNumChallengeMapRewards.lua +++ b/api/GetNumChallengeMapRewards.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumChallengeMapRewards() end \ No newline at end of file +function GetNumChallengeMapRewards() end diff --git a/api/GetNumChallengeModeLeaders.lua b/api/GetNumChallengeModeLeaders.lua index 5d5babc..74fb5dd 100644 --- a/api/GetNumChallengeModeLeaders.lua +++ b/api/GetNumChallengeModeLeaders.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumChallengeModeLeaders() end \ No newline at end of file +function GetNumChallengeModeLeaders() end diff --git a/api/GetNumChannelMembers.lua b/api/GetNumChannelMembers.lua index 7c8b898..c111afe 100644 --- a/api/GetNumChannelMembers.lua +++ b/api/GetNumChannelMembers.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number numMembers +---@param id number +---@return number numMembers ---Returns the number of members in a chat channel -function GetNumChannelMembers(id) end \ No newline at end of file +function GetNumChannelMembers(id) end diff --git a/api/GetNumClasses.lua b/api/GetNumClasses.lua index bb757af..fc1bc3e 100644 --- a/api/GetNumClasses.lua +++ b/api/GetNumClasses.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumClasses() end \ No newline at end of file +function GetNumClasses() end diff --git a/api/GetNumCompanions.lua b/api/GetNumCompanions.lua index e1292b8..ef45f95 100644 --- a/api/GetNumCompanions.lua +++ b/api/GetNumCompanions.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type MOUNT ----@param CRITTER ----@param MOUNT ----@return number count +---@param type MOUNT +---@param CRITTER +---@param MOUNT +---@return number count ---Returns the number of mounts or non-combat pets the player can summon -function GetNumCompanions(type, CRITTER, MOUNT) end \ No newline at end of file +function GetNumCompanions(type, CRITTER, MOUNT) end diff --git a/api/GetNumComparisonCompletedAchievements.lua b/api/GetNumComparisonCompletedAchievements.lua index 42ace33..ba1aa1f 100644 --- a/api/GetNumComparisonCompletedAchievements.lua +++ b/api/GetNumComparisonCompletedAchievements.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number total ----@return number completed +---@return number total +---@return number completed ---Returns the number of achievements earned by the comparison unit.   Does not include Feats of Strength. -function GetNumComparisonCompletedAchievements() end \ No newline at end of file +function GetNumComparisonCompletedAchievements() end diff --git a/api/GetNumCompletedAchievements.lua b/api/GetNumCompletedAchievements.lua index 4ca91d1..82212e4 100644 --- a/api/GetNumCompletedAchievements.lua +++ b/api/GetNumCompletedAchievements.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param isForGuild boolean ----@return number total ----@return number completed +---@param isForGuild boolean +---@return number total +---@return number completed ---Returns the number of achievements earned by the player/guild. Does not include Feats of Strength. -function GetNumCompletedAchievements(isForGuild) end \ No newline at end of file +function GetNumCompletedAchievements(isForGuild) end diff --git a/api/GetNumDisplayChannels.lua b/api/GetNumDisplayChannels.lua index 79999e6..df057bf 100644 --- a/api/GetNumDisplayChannels.lua +++ b/api/GetNumDisplayChannels.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number channelCount +---@return number channelCount ---Returns the number of entries in the channel list display -function GetNumDisplayChannels() end \ No newline at end of file +function GetNumDisplayChannels() end diff --git a/api/GetNumDungeonMapLevels.lua b/api/GetNumDungeonMapLevels.lua index 9bb4c39..649eb6b 100644 --- a/api/GetNumDungeonMapLevels.lua +++ b/api/GetNumDungeonMapLevels.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numLevels ----@return number firstLevel +---@return number numLevels +---@return number firstLevel ---Returns the number of map images for the world map's current zone. Used in zones with more than one "floor" or area such as Dalaran and several Wrath of the Lich King dungeons and raids. The returns vary depending on your current location in the zone. If you're in a "micro dungeon" (see GetMapInfo), you'll get different values. firstFloor is the absolute starting value, while numLevels is the number of steps to go past that. Can be used to derive the number in the internal floor names list that the "1" floor corresponds to. For example, in Dun Morogh's "Grizzled Den", it returns {1,7} - because we're on the first floor of _G['DUNGEON_FLOOR_DUNMOROGH7']=="Grizzled Den" -function GetNumDungeonMapLevels() end \ No newline at end of file +function GetNumDungeonMapLevels() end diff --git a/api/GetNumEquipmentSets.lua b/api/GetNumEquipmentSets.lua index 50bebdd..a5c3c6e 100644 --- a/api/GetNumEquipmentSets.lua +++ b/api/GetNumEquipmentSets.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numSets +---@return number numSets ---Returns the number of saved equipment sets -function GetNumEquipmentSets() end \ No newline at end of file +function GetNumEquipmentSets() end diff --git a/api/GetNumFactions.lua b/api/GetNumFactions.lua index c84a07d..fe33287 100644 --- a/api/GetNumFactions.lua +++ b/api/GetNumFactions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numFactions +---@return number numFactions ---Returns the number of entries in the reputation UI. Entries in the reputation UI can be major group headers (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.), the sub-group headers within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.), or individual factions (Darkmoon Faire, Orgrimmar, Honor Hold, Kirin Tor, etc.). This function returns not the total number of factions (and headers) known, but the number which should currently be visible in the UI according to the expanded/collapsed state of headers. -function GetNumFactions() end \ No newline at end of file +function GetNumFactions() end diff --git a/api/GetNumFlexRaidDungeons.lua b/api/GetNumFlexRaidDungeons.lua index 2fa0fb2..35f0c6b 100644 --- a/api/GetNumFlexRaidDungeons.lua +++ b/api/GetNumFlexRaidDungeons.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumFlexRaidDungeons() end \ No newline at end of file +function GetNumFlexRaidDungeons() end diff --git a/api/GetNumFlyouts.lua b/api/GetNumFlyouts.lua index a690848..bfa2fb0 100644 --- a/api/GetNumFlyouts.lua +++ b/api/GetNumFlyouts.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numFlyouts +---@return number numFlyouts ---Returns the number of flyout actions in the UI. Examples of flyouts are the mage portal button and the warlock and hunter pet summoning buttons. These flyouts can be placed in action buttons. -function GetNumFlyouts() end \ No newline at end of file +function GetNumFlyouts() end diff --git a/api/GetNumFrames.lua b/api/GetNumFrames.lua index 18c5ffe..64f3979 100644 --- a/api/GetNumFrames.lua +++ b/api/GetNumFrames.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numFrames +---@return number numFrames ---Returns the number of existing Frame objects (and derivatives). Only counts Frame objects and derivatives thereof (e.g. Button, Minimap, and StatusBar; but not FontString, AnimationGroup, and Texture). -function GetNumFrames() end \ No newline at end of file +function GetNumFrames() end diff --git a/api/GetNumFriends.lua b/api/GetNumFriends.lua index a6377d0..9705da2 100644 --- a/api/GetNumFriends.lua +++ b/api/GetNumFriends.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numFriends ----@return number numFriendsOnline +---@return number numFriends +---@return number numFriendsOnline ---Returns the number of characters and online characters on the player's friends list -function GetNumFriends() end \ No newline at end of file +function GetNumFriends() end diff --git a/api/GetNumGlyphSockets.lua b/api/GetNumGlyphSockets.lua index 9968894..f296635 100644 --- a/api/GetNumGlyphSockets.lua +++ b/api/GetNumGlyphSockets.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Currently unused. Use the constant NUM_GLYPH_SLOTS instead. -function GetNumGlyphSockets() end \ No newline at end of file +function GetNumGlyphSockets() end diff --git a/api/GetNumGlyphs.lua b/api/GetNumGlyphs.lua index 00b1f06..f0e0018 100644 --- a/api/GetNumGlyphs.lua +++ b/api/GetNumGlyphs.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numGlyphs +---@return number numGlyphs ---Returns the total amount of glyphs for the player's class -function GetNumGlyphs() end \ No newline at end of file +function GetNumGlyphs() end diff --git a/api/GetNumGossipActiveQuests.lua b/api/GetNumGossipActiveQuests.lua index e4c3986..5ce0327 100644 --- a/api/GetNumGossipActiveQuests.lua +++ b/api/GetNumGossipActiveQuests.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number num +---@return number num ---Returns the number of quests which can be turned in to the current Gossip NPC. These quests are displayed with a question mark icon in the default UI's GossipFrame. -function GetNumGossipActiveQuests() end \ No newline at end of file +function GetNumGossipActiveQuests() end diff --git a/api/GetNumGossipAvailableQuests.lua b/api/GetNumGossipAvailableQuests.lua index a0fc3a2..75daf05 100644 --- a/api/GetNumGossipAvailableQuests.lua +++ b/api/GetNumGossipAvailableQuests.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number num +---@return number num ---Returns the number of quests available from the current Gossip NPC. These quests are displayed with an exclamation mark icon in the default UI's GossipFrame. -function GetNumGossipAvailableQuests() end \ No newline at end of file +function GetNumGossipAvailableQuests() end diff --git a/api/GetNumGossipOptions.lua b/api/GetNumGossipOptions.lua index 0d12d03..d58dd6d 100644 --- a/api/GetNumGossipOptions.lua +++ b/api/GetNumGossipOptions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numOptions +---@return number numOptions ---Returns the number of non-quest dialog options for the current Gossip NPC. Used by the default UI to skip greeting gossip for NPCs which provide only a greeting and one gossip option leading to the NPC's main interaction type (e.g. flight masters, merchants). -function GetNumGossipOptions() end \ No newline at end of file +function GetNumGossipOptions() end diff --git a/api/GetNumGroupMembers.lua b/api/GetNumGroupMembers.lua index 7a041a9..3c34875 100644 --- a/api/GetNumGroupMembers.lua +++ b/api/GetNumGroupMembers.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number playerNumber +---@return number playerNumber ---Return number of players in current party/raid. -function GetNumGroupMembers() end \ No newline at end of file +function GetNumGroupMembers() end diff --git a/api/GetNumGuildApplicants.lua b/api/GetNumGuildApplicants.lua index 3062f2f..78ecdf0 100644 --- a/api/GetNumGuildApplicants.lua +++ b/api/GetNumGuildApplicants.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumGuildApplicants() end \ No newline at end of file +function GetNumGuildApplicants() end diff --git a/api/GetNumGuildBankMoneyTransactions.lua b/api/GetNumGuildBankMoneyTransactions.lua index 14f5368..acda575 100644 --- a/api/GetNumGuildBankMoneyTransactions.lua +++ b/api/GetNumGuildBankMoneyTransactions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numTransactions +---@return number numTransactions ---Returns the number of transactions in the guild bank money log -function GetNumGuildBankMoneyTransactions() end \ No newline at end of file +function GetNumGuildBankMoneyTransactions() end diff --git a/api/GetNumGuildBankTabs.lua b/api/GetNumGuildBankTabs.lua index 1114b37..5c3419a 100644 --- a/api/GetNumGuildBankTabs.lua +++ b/api/GetNumGuildBankTabs.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numTabs +---@return number numTabs ---Returns the number of purchased tabs in the guild bank. Returns valid information even if the player is not interacting with a guild bank vault. -function GetNumGuildBankTabs() end \ No newline at end of file +function GetNumGuildBankTabs() end diff --git a/api/GetNumGuildBankTransactions.lua b/api/GetNumGuildBankTransactions.lua index d697666..c6b9b37 100644 --- a/api/GetNumGuildBankTransactions.lua +++ b/api/GetNumGuildBankTransactions.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@return number numTransactions +---@param tab number +---@return number numTransactions ---Returns the number of entries in a guild bank tab's transaction log. Only returns valid information following the GUILDBANKLOG_UPDATE event which fires after calling QueryGuildBankLog(). -function GetNumGuildBankTransactions(tab) end \ No newline at end of file +function GetNumGuildBankTransactions(tab) end diff --git a/api/GetNumGuildChallenges.lua b/api/GetNumGuildChallenges.lua index 0768424..6de20f9 100644 --- a/api/GetNumGuildChallenges.lua +++ b/api/GetNumGuildChallenges.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumGuildChallenges() end \ No newline at end of file +function GetNumGuildChallenges() end diff --git a/api/GetNumGuildEvents.lua b/api/GetNumGuildEvents.lua index e3c3e47..e2e5fda 100644 --- a/api/GetNumGuildEvents.lua +++ b/api/GetNumGuildEvents.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numEvents +---@return number numEvents ---Returns the number of entries in the guild event log. Only returns valid data after calling QueryGuildEventLog() and the following GUILD_EVENT_LOG_UPDATE event has fired. -function GetNumGuildEvents() end \ No newline at end of file +function GetNumGuildEvents() end diff --git a/api/GetNumGuildMembers.lua b/api/GetNumGuildMembers.lua index 99b59c7..03c5be6 100644 --- a/api/GetNumGuildMembers.lua +++ b/api/GetNumGuildMembers.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numGuildMembers ----@return number numOnline ----@return number numOnlineAndMobile +---@return number numGuildMembers +---@return number numOnline +---@return number numOnlineAndMobile ---Returns the number of members in the guild roster -function GetNumGuildMembers() end \ No newline at end of file +function GetNumGuildMembers() end diff --git a/api/GetNumGuildMembershipRequests.lua b/api/GetNumGuildMembershipRequests.lua index 404d49c..ef08bad 100644 --- a/api/GetNumGuildMembershipRequests.lua +++ b/api/GetNumGuildMembershipRequests.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumGuildMembershipRequests() end \ No newline at end of file +function GetNumGuildMembershipRequests() end diff --git a/api/GetNumGuildNews.lua b/api/GetNumGuildNews.lua index 702e08c..c26a24d 100644 --- a/api/GetNumGuildNews.lua +++ b/api/GetNumGuildNews.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numNews +---@return number numNews ---Returns the total amount of guild news (filtered) -function GetNumGuildNews() end \ No newline at end of file +function GetNumGuildNews() end diff --git a/api/GetNumGuildPerks.lua b/api/GetNumGuildPerks.lua index c6eca81..c53e74e 100644 --- a/api/GetNumGuildPerks.lua +++ b/api/GetNumGuildPerks.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numPerks +---@return number numPerks ---Returns the total amount of guild perks (including unavailable ones) -function GetNumGuildPerks() end \ No newline at end of file +function GetNumGuildPerks() end diff --git a/api/GetNumGuildRewards.lua b/api/GetNumGuildRewards.lua index 10f6f40..ca4f6df 100644 --- a/api/GetNumGuildRewards.lua +++ b/api/GetNumGuildRewards.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numRewards +---@return number numRewards ---Return the total amount of guild rewards (including unavailable ones) -function GetNumGuildRewards() end \ No newline at end of file +function GetNumGuildRewards() end diff --git a/api/GetNumGuildTradeSkill.lua b/api/GetNumGuildTradeSkill.lua index 19fc017..681e5ad 100644 --- a/api/GetNumGuildTradeSkill.lua +++ b/api/GetNumGuildTradeSkill.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the number of people and headers currently visible in the profession view of your guild window. This functions returns the number of people (including the headers that are also counted as one player each) which you can currently see in your guild profession window. If you select "Show offline Members" they will also be counted. To make things clear a small example: let's assume you have all professions in your guild and the headers are all collapsed then this will return 11 (as of WoW 4.0). If you have 7 alchemists, 4 of them are online and you have not checked "Show Offline Members" then this will return 15. If you check the box to show all members then this will return 18. -function GetNumGuildTradeSkill() end \ No newline at end of file +function GetNumGuildTradeSkill() end diff --git a/api/GetNumIgnores.lua b/api/GetNumIgnores.lua index e34ac85..1538e26 100644 --- a/api/GetNumIgnores.lua +++ b/api/GetNumIgnores.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numIgnores +---@return number numIgnores ---Returns the number of characters on the player's ignore list -function GetNumIgnores() end \ No newline at end of file +function GetNumIgnores() end diff --git a/api/GetNumItemUpgradeEffects.lua b/api/GetNumItemUpgradeEffects.lua index 6dc1a82..f17e0ee 100644 --- a/api/GetNumItemUpgradeEffects.lua +++ b/api/GetNumItemUpgradeEffects.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumItemUpgradeEffects() end \ No newline at end of file +function GetNumItemUpgradeEffects() end diff --git a/api/GetNumLanguages.lua b/api/GetNumLanguages.lua index f539ad9..feb6e64 100644 --- a/api/GetNumLanguages.lua +++ b/api/GetNumLanguages.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number languages +---@return number languages ---Returns the number of languages the player character can speak -function GetNumLanguages() end \ No newline at end of file +function GetNumLanguages() end diff --git a/api/GetNumLootItems.lua b/api/GetNumLootItems.lua index 1be5085..d5c0b2d 100644 --- a/api/GetNumLootItems.lua +++ b/api/GetNumLootItems.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numItems +---@return number numItems ---Returns the number of items available to be looted -function GetNumLootItems() end \ No newline at end of file +function GetNumLootItems() end diff --git a/api/GetNumMacros.lua b/api/GetNumMacros.lua index 2a1dddc..96a45bb 100644 --- a/api/GetNumMacros.lua +++ b/api/GetNumMacros.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numAccountMacros ----@return number numCharacterMacros +---@return number numAccountMacros +---@return number numCharacterMacros ---Returns the number of macros the player has stored -function GetNumMacros() end \ No newline at end of file +function GetNumMacros() end diff --git a/api/GetNumMapDebugObjects.lua b/api/GetNumMapDebugObjects.lua index 649c09e..1f627cc 100644 --- a/api/GetNumMapDebugObjects.lua +++ b/api/GetNumMapDebugObjects.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumMapDebugObjects() end \ No newline at end of file +function GetNumMapDebugObjects() end diff --git a/api/GetNumMapLandmarks.lua b/api/GetNumMapLandmarks.lua index 77661d1..2bf10ee 100644 --- a/api/GetNumMapLandmarks.lua +++ b/api/GetNumMapLandmarks.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numLandmarks +---@return number numLandmarks ---Returns the number of landmarks on the world map. Possible landmarks include PvP objectives (both in battlegrounds and in world PvP areas), town and city markers on continent maps, and special markers such as those used during the Scourge Invasion world event. Some landmarks (such as those for towns on a zone map) exist but are not visible in the default UI. -function GetNumMapLandmarks() end \ No newline at end of file +function GetNumMapLandmarks() end diff --git a/api/GetNumMapOverlays.lua b/api/GetNumMapOverlays.lua index 6de4dd4..0d0c6aa 100644 --- a/api/GetNumMapOverlays.lua +++ b/api/GetNumMapOverlays.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numOverlays +---@return number numOverlays ---Returns the number of overlays for the current world map zone. Map overlays correspond to areas which are "discovered" when entered by the player, "filling in" the blank areas of the world map. -function GetNumMapOverlays() end \ No newline at end of file +function GetNumMapOverlays() end diff --git a/api/GetNumMembersInRank.lua b/api/GetNumMembersInRank.lua index e91a6b7..0429498 100644 --- a/api/GetNumMembersInRank.lua +++ b/api/GetNumMembersInRank.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumMembersInRank() end \ No newline at end of file +function GetNumMembersInRank() end diff --git a/api/GetNumMissingLootItems.lua b/api/GetNumMissingLootItems.lua index 7629043..bc8626e 100644 --- a/api/GetNumMissingLootItems.lua +++ b/api/GetNumMissingLootItems.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumMissingLootItems() end \ No newline at end of file +function GetNumMissingLootItems() end diff --git a/api/GetNumModifiedClickActions.lua b/api/GetNumModifiedClickActions.lua index 177008a..7942d01 100644 --- a/api/GetNumModifiedClickActions.lua +++ b/api/GetNumModifiedClickActions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number num +---@return number num ---Returns the number of modified click actions registered. May return an invalid result if called when no modified click actions have been registered (i.e. early in the UI loading process). -function GetNumModifiedClickActions() end \ No newline at end of file +function GetNumModifiedClickActions() end diff --git a/api/GetNumMutes.lua b/api/GetNumMutes.lua index dc4392d..f978185 100644 --- a/api/GetNumMutes.lua +++ b/api/GetNumMutes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numMuted +---@return number numMuted ---Returns the number of characters on the player's mute list -function GetNumMutes() end \ No newline at end of file +function GetNumMutes() end diff --git a/api/GetNumNamePlateMotionTypes.lua b/api/GetNumNamePlateMotionTypes.lua index 1dfbe23..c970ffc 100644 --- a/api/GetNumNamePlateMotionTypes.lua +++ b/api/GetNumNamePlateMotionTypes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumNamePlateMotionTypes() end \ No newline at end of file +function GetNumNamePlateMotionTypes() end diff --git a/api/GetNumPackages.lua b/api/GetNumPackages.lua index 6c7d69f..2ec0ba8 100644 --- a/api/GetNumPackages.lua +++ b/api/GetNumPackages.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumPackages() end \ No newline at end of file +function GetNumPackages() end diff --git a/api/GetNumPetitionNames.lua b/api/GetNumPetitionNames.lua index 1b911b3..4abf287 100644 --- a/api/GetNumPetitionNames.lua +++ b/api/GetNumPetitionNames.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numNames +---@return number numNames ---Returns the number of people who have signed the open petition -function GetNumPetitionNames() end \ No newline at end of file +function GetNumPetitionNames() end diff --git a/api/GetNumQuestChoices.lua b/api/GetNumQuestChoices.lua index 59958de..19c0299 100644 --- a/api/GetNumQuestChoices.lua +++ b/api/GetNumQuestChoices.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numQuestChoices +---@return number numQuestChoices ---Returns the number of available quest rewards from which the player must choose one upon completing the quest presented by a questgiver. Only valid during the accept/decline or completion stages of a quest dialog (following the QUEST_DETAIL or QUEST_COMPLETE events); otherwise may return 0 or a value from the most recently displayed quest. -function GetNumQuestChoices() end \ No newline at end of file +function GetNumQuestChoices() end diff --git a/api/GetNumQuestCurrencies.lua b/api/GetNumQuestCurrencies.lua index c6a6379..82e6822 100644 --- a/api/GetNumQuestCurrencies.lua +++ b/api/GetNumQuestCurrencies.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumQuestCurrencies() end \ No newline at end of file +function GetNumQuestCurrencies() end diff --git a/api/GetNumQuestItemDrops.lua b/api/GetNumQuestItemDrops.lua index b6a755b..10d6d43 100644 --- a/api/GetNumQuestItemDrops.lua +++ b/api/GetNumQuestItemDrops.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumQuestItemDrops() end \ No newline at end of file +function GetNumQuestItemDrops() end diff --git a/api/GetNumQuestItems.lua b/api/GetNumQuestItems.lua index 8c298f9..e1d4365 100644 --- a/api/GetNumQuestItems.lua +++ b/api/GetNumQuestItems.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numRequiredItems +---@return number numRequiredItems ---Returns the number of different items required to complete the quest presented by a questgiver. Usable following the QUEST_PROGRESS event in which it is determined whether the player can complete the quest. -function GetNumQuestItems() end \ No newline at end of file +function GetNumQuestItems() end diff --git a/api/GetNumQuestLeaderBoards.lua b/api/GetNumQuestLeaderBoards.lua index 6ed605c..1d01794 100644 --- a/api/GetNumQuestLeaderBoards.lua +++ b/api/GetNumQuestLeaderBoards.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number ----@return number numObjectives +---@param questIndex number +---@return number numObjectives ---Returns the number of quest objectives for a quest in the player's quest log -function GetNumQuestLeaderBoards(questIndex) end \ No newline at end of file +function GetNumQuestLeaderBoards(questIndex) end diff --git a/api/GetNumQuestLogChoices.lua b/api/GetNumQuestLogChoices.lua index f40acb3..ffbf21d 100644 --- a/api/GetNumQuestLogChoices.lua +++ b/api/GetNumQuestLogChoices.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numChoices +---@return number numChoices ---Returns the number of available item reward choices for the selected quest in the quest log. This function refers to quest rewards for which the player is allowed to choose one item from among several; for items always awarded upon quest completion, see GetNumQuestLogRewards. -function GetNumQuestLogChoices() end \ No newline at end of file +function GetNumQuestLogChoices() end diff --git a/api/GetNumQuestLogEntries.lua b/api/GetNumQuestLogEntries.lua index 97f32ce..6431977 100644 --- a/api/GetNumQuestLogEntries.lua +++ b/api/GetNumQuestLogEntries.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numEntries ----@return number numQuests +---@return number numEntries +---@return number numQuests ---Returns the number of quests and headers in the quest log -function GetNumQuestLogEntries() end \ No newline at end of file +function GetNumQuestLogEntries() end diff --git a/api/GetNumQuestLogRewardCurrencies.lua b/api/GetNumQuestLogRewardCurrencies.lua index 0d11e7f..f0a15ba 100644 --- a/api/GetNumQuestLogRewardCurrencies.lua +++ b/api/GetNumQuestLogRewardCurrencies.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumQuestLogRewardCurrencies() end \ No newline at end of file +function GetNumQuestLogRewardCurrencies() end diff --git a/api/GetNumQuestLogRewardFactions.lua b/api/GetNumQuestLogRewardFactions.lua index 51c8461..768c37f 100644 --- a/api/GetNumQuestLogRewardFactions.lua +++ b/api/GetNumQuestLogRewardFactions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumQuestLogRewardFactions() end \ No newline at end of file +function GetNumQuestLogRewardFactions() end diff --git a/api/GetNumQuestLogRewards.lua b/api/GetNumQuestLogRewards.lua index ca52d16..86f7492 100644 --- a/api/GetNumQuestLogRewards.lua +++ b/api/GetNumQuestLogRewards.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numRewards +---@return number numRewards ---Returns the number of item rewards for the selected quest in the quest log. This function refers to items always awarded upon quest completion; for quest rewards for which the player is allowed to choose one item from among several, see GetNumQuestLogChoices. -function GetNumQuestLogRewards() end \ No newline at end of file +function GetNumQuestLogRewards() end diff --git a/api/GetNumQuestLogTasks.lua b/api/GetNumQuestLogTasks.lua index 98b8dd4..47080e0 100644 --- a/api/GetNumQuestLogTasks.lua +++ b/api/GetNumQuestLogTasks.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumQuestLogTasks() end \ No newline at end of file +function GetNumQuestLogTasks() end diff --git a/api/GetNumQuestPOIWorldEffects.lua b/api/GetNumQuestPOIWorldEffects.lua index 5d2ceb6..06b8288 100644 --- a/api/GetNumQuestPOIWorldEffects.lua +++ b/api/GetNumQuestPOIWorldEffects.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumQuestPOIWorldEffects() end \ No newline at end of file +function GetNumQuestPOIWorldEffects() end diff --git a/api/GetNumQuestRewards.lua b/api/GetNumQuestRewards.lua index 42abbbf..7274600 100644 --- a/api/GetNumQuestRewards.lua +++ b/api/GetNumQuestRewards.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numQuestRewards +---@return number numQuestRewards ---Returns the number of different items always awarded upon completing the quest presented by a questgiver. Only valid during the accept/decline or completion stages of a quest dialog (following the QUEST_DETAIL or QUEST_COMPLETE events); otherwise may return 0 or a value from the most recently displayed quest. -function GetNumQuestRewards() end \ No newline at end of file +function GetNumQuestRewards() end diff --git a/api/GetNumQuestWatches.lua b/api/GetNumQuestWatches.lua index f65df5b..375e327 100644 --- a/api/GetNumQuestWatches.lua +++ b/api/GetNumQuestWatches.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numWatches +---@return number numWatches ---Returns the number of quests included in the objectives tracker -function GetNumQuestWatches() end \ No newline at end of file +function GetNumQuestWatches() end diff --git a/api/GetNumRFDungeons.lua b/api/GetNumRFDungeons.lua index dedcb6c..0a14b44 100644 --- a/api/GetNumRFDungeons.lua +++ b/api/GetNumRFDungeons.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numberOfRFDungeons +---@return number numberOfRFDungeons ---Returns the number of raid finder instances. -function GetNumRFDungeons() end \ No newline at end of file +function GetNumRFDungeons() end diff --git a/api/GetNumRaidProfiles.lua b/api/GetNumRaidProfiles.lua index 2fb0182..67e74dd 100644 --- a/api/GetNumRaidProfiles.lua +++ b/api/GetNumRaidProfiles.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumRaidProfiles() end \ No newline at end of file +function GetNumRaidProfiles() end diff --git a/api/GetNumRandomScenarios.lua b/api/GetNumRandomScenarios.lua index 8be5fc4..21f5992 100644 --- a/api/GetNumRandomScenarios.lua +++ b/api/GetNumRandomScenarios.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumRandomScenarios() end \ No newline at end of file +function GetNumRandomScenarios() end diff --git a/api/GetNumRecruitingGuilds.lua b/api/GetNumRecruitingGuilds.lua index dc486f0..caf0496 100644 --- a/api/GetNumRecruitingGuilds.lua +++ b/api/GetNumRecruitingGuilds.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumRecruitingGuilds() end \ No newline at end of file +function GetNumRecruitingGuilds() end diff --git a/api/GetNumRewardCurrencies.lua b/api/GetNumRewardCurrencies.lua index cbeaaf2..32b1f1d 100644 --- a/api/GetNumRewardCurrencies.lua +++ b/api/GetNumRewardCurrencies.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumRewardCurrencies() end \ No newline at end of file +function GetNumRewardCurrencies() end diff --git a/api/GetNumRoutes.lua b/api/GetNumRoutes.lua index 819117e..b9f01c6 100644 --- a/api/GetNumRoutes.lua +++ b/api/GetNumRoutes.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number numHops +---@param index number +---@return number numHops ---Returns the number of hops from the current location to another taxi node. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function GetNumRoutes(index) end \ No newline at end of file +function GetNumRoutes(index) end diff --git a/api/GetNumSavedInstances.lua b/api/GetNumSavedInstances.lua index 5d7e071..0d4c62e 100644 --- a/api/GetNumSavedInstances.lua +++ b/api/GetNumSavedInstances.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number savedInstances +---@return number savedInstances ---Returns the number of instances to which the player is saved -function GetNumSavedInstances() end \ No newline at end of file +function GetNumSavedInstances() end diff --git a/api/GetNumSavedWorldBosses.lua b/api/GetNumSavedWorldBosses.lua index 53c437e..e6bb019 100644 --- a/api/GetNumSavedWorldBosses.lua +++ b/api/GetNumSavedWorldBosses.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumSavedWorldBosses() end \ No newline at end of file +function GetNumSavedWorldBosses() end diff --git a/api/GetNumScenarios.lua b/api/GetNumScenarios.lua index fa41df7..ed5ce7a 100644 --- a/api/GetNumScenarios.lua +++ b/api/GetNumScenarios.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumScenarios() end \ No newline at end of file +function GetNumScenarios() end diff --git a/api/GetNumShapeshiftForms.lua b/api/GetNumShapeshiftForms.lua index bed0a9c..97134eb 100644 --- a/api/GetNumShapeshiftForms.lua +++ b/api/GetNumShapeshiftForms.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numForms +---@return number numForms ---Returns the number of abilities to be presented on the stance/shapeshift bar -function GetNumShapeshiftForms() end \ No newline at end of file +function GetNumShapeshiftForms() end diff --git a/api/GetNumSockets.lua b/api/GetNumSockets.lua index 8885d6a..9dbd2fd 100644 --- a/api/GetNumSockets.lua +++ b/api/GetNumSockets.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numSockets +---@return number numSockets ---Returns the number of sockets on the item currently being socketed. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetNumSockets() end \ No newline at end of file +function GetNumSockets() end diff --git a/api/GetNumSpecGroups.lua b/api/GetNumSpecGroups.lua index 0ca0271..1dda8be 100644 --- a/api/GetNumSpecGroups.lua +++ b/api/GetNumSpecGroups.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumSpecGroups() end \ No newline at end of file +function GetNumSpecGroups() end diff --git a/api/GetNumSpecializations.lua b/api/GetNumSpecializations.lua index a1b2130..25b7439 100644 --- a/api/GetNumSpecializations.lua +++ b/api/GetNumSpecializations.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumSpecializations() end \ No newline at end of file +function GetNumSpecializations() end diff --git a/api/GetNumSpecializationsForClassID.lua b/api/GetNumSpecializationsForClassID.lua index 5122e66..f0a82a6 100644 --- a/api/GetNumSpecializationsForClassID.lua +++ b/api/GetNumSpecializationsForClassID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumSpecializationsForClassID() end \ No newline at end of file +function GetNumSpecializationsForClassID() end diff --git a/api/GetNumSpellTabs.lua b/api/GetNumSpellTabs.lua index dab827d..a8275c1 100644 --- a/api/GetNumSpellTabs.lua +++ b/api/GetNumSpellTabs.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numTabs +---@return number numTabs ---Returns the number of tabs in the player's spellbook -function GetNumSpellTabs() end \ No newline at end of file +function GetNumSpellTabs() end diff --git a/api/GetNumStationeries.lua b/api/GetNumStationeries.lua index 7b3acc7..7968006 100644 --- a/api/GetNumStationeries.lua +++ b/api/GetNumStationeries.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numStationeries +---@return number numStationeries ---Returns the number of available stationery types. Always returns 1; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. -function GetNumStationeries() end \ No newline at end of file +function GetNumStationeries() end diff --git a/api/GetNumSubgroupMembers.lua b/api/GetNumSubgroupMembers.lua index d1d5fb1..7352d40 100644 --- a/api/GetNumSubgroupMembers.lua +++ b/api/GetNumSubgroupMembers.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number playerNumber +---@return number playerNumber ---Return number of other players in current player’s raid subgroup. -function GetNumSubgroupMembers() end \ No newline at end of file +function GetNumSubgroupMembers() end diff --git a/api/GetNumTitles.lua b/api/GetNumTitles.lua index 5681a69..20dad70 100644 --- a/api/GetNumTitles.lua +++ b/api/GetNumTitles.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numTitles +---@return number numTitles ---Returns the number of available player titles. Includes all titles, not just those earned by the player -function GetNumTitles() end \ No newline at end of file +function GetNumTitles() end diff --git a/api/GetNumTrackedAchievements.lua b/api/GetNumTrackedAchievements.lua index eb050d3..d99a013 100644 --- a/api/GetNumTrackedAchievements.lua +++ b/api/GetNumTrackedAchievements.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the number of achievements flagged for display in the objectives tracker UI -function GetNumTrackedAchievements() end \ No newline at end of file +function GetNumTrackedAchievements() end diff --git a/api/GetNumTrackingTypes.lua b/api/GetNumTrackingTypes.lua index df50ce4..0d478dd 100644 --- a/api/GetNumTrackingTypes.lua +++ b/api/GetNumTrackingTypes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the number of available minimap object/unit tracking abilities -function GetNumTrackingTypes() end \ No newline at end of file +function GetNumTrackingTypes() end diff --git a/api/GetNumTradeSkills.lua b/api/GetNumTradeSkills.lua index b93885c..62d8f4c 100644 --- a/api/GetNumTradeSkills.lua +++ b/api/GetNumTradeSkills.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numSkills +---@return number numSkills ---Returns the number of entries in the trade skill listing. Entries include both group headers and individual trade skill recipes. Reflects the list as it should currently be displayed, not necessarily the complete list -- if headers are collapsed or a filter is enabled, a smaller number will be returned. Returns 0 if a trade skill is not "open". -function GetNumTradeSkills() end \ No newline at end of file +function GetNumTradeSkills() end diff --git a/api/GetNumTrainerServices.lua b/api/GetNumTrainerServices.lua index 7228d1e..1496c03 100644 --- a/api/GetNumTrainerServices.lua +++ b/api/GetNumTrainerServices.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numServices +---@return number numServices ---Returns the number of entries in the trainer service listing. Entries include both group headers and individual trainer services (i.e spells or recipes to be purchased). Reflects the list as it should currently be displayed, not necessarily the complete list -- if headers are collapsed or a filter is enabled, a smaller number will be returned. Returns 0 if not interacting with a trainer. -function GetNumTrainerServices() end \ No newline at end of file +function GetNumTrainerServices() end diff --git a/api/GetNumUnspentTalents.lua b/api/GetNumUnspentTalents.lua index bc74eef..da4afce 100644 --- a/api/GetNumUnspentTalents.lua +++ b/api/GetNumUnspentTalents.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumUnspentTalents() end \ No newline at end of file +function GetNumUnspentTalents() end diff --git a/api/GetNumVoiceSessionMembersBySessionID.lua b/api/GetNumVoiceSessionMembersBySessionID.lua index 6ed77e4..4e23958 100644 --- a/api/GetNumVoiceSessionMembersBySessionID.lua +++ b/api/GetNumVoiceSessionMembersBySessionID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sessionId number ----@return number numMembers +---@param sessionId number +---@return number numMembers ---Returns the number of members in a voice channel -function GetNumVoiceSessionMembersBySessionID(sessionId) end \ No newline at end of file +function GetNumVoiceSessionMembersBySessionID(sessionId) end diff --git a/api/GetNumVoiceSessions.lua b/api/GetNumVoiceSessions.lua index 9a9af34..07c0196 100644 --- a/api/GetNumVoiceSessions.lua +++ b/api/GetNumVoiceSessions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the number of available voice channels. Returns 0 if voice chat is disabled. -function GetNumVoiceSessions() end \ No newline at end of file +function GetNumVoiceSessions() end diff --git a/api/GetNumVoidTransferDeposit.lua b/api/GetNumVoidTransferDeposit.lua index 2a5c181..545271a 100644 --- a/api/GetNumVoidTransferDeposit.lua +++ b/api/GetNumVoidTransferDeposit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumVoidTransferDeposit() end \ No newline at end of file +function GetNumVoidTransferDeposit() end diff --git a/api/GetNumVoidTransferWithdrawal.lua b/api/GetNumVoidTransferWithdrawal.lua index bd7aa02..2681c4b 100644 --- a/api/GetNumVoidTransferWithdrawal.lua +++ b/api/GetNumVoidTransferWithdrawal.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumVoidTransferWithdrawal() end \ No newline at end of file +function GetNumVoidTransferWithdrawal() end diff --git a/api/GetNumWarGameTypes.lua b/api/GetNumWarGameTypes.lua index 4da2b79..7c39943 100644 --- a/api/GetNumWarGameTypes.lua +++ b/api/GetNumWarGameTypes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumWarGameTypes() end \ No newline at end of file +function GetNumWarGameTypes() end diff --git a/api/GetNumWhoResults.lua b/api/GetNumWhoResults.lua index ff0c669..1c4e0f1 100644 --- a/api/GetNumWhoResults.lua +++ b/api/GetNumWhoResults.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numResults ----@return number totalCount +---@return number numResults +---@return number totalCount ---Returns the number of results from a Who system query -function GetNumWhoResults() end \ No newline at end of file +function GetNumWhoResults() end diff --git a/api/GetNumWorldPVPAreas.lua b/api/GetNumWorldPVPAreas.lua index c299029..72ab91a 100644 --- a/api/GetNumWorldPVPAreas.lua +++ b/api/GetNumWorldPVPAreas.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumWorldPVPAreas() end \ No newline at end of file +function GetNumWorldPVPAreas() end diff --git a/api/GetNumWorldStateUI.lua b/api/GetNumWorldStateUI.lua index bdd39c5..77271e6 100644 --- a/api/GetNumWorldStateUI.lua +++ b/api/GetNumWorldStateUI.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numUI +---@return number numUI ---Returns the number of world state UI elements. World State UI elements include PvP, instance, and quest objective information (displayed at the top center of the screen in the default UI) as well as more specific information for "control point" style PvP objectives. Examples: the Horde/Alliance score in Arathi Basin, the tower status and capture progress bars in Hellfire Peninsula, the progress text in the Black Morass and Violet Hold instances, and the event status text for quests The Light of Dawn and The Battle For The Undercity. -function GetNumWorldStateUI() end \ No newline at end of file +function GetNumWorldStateUI() end diff --git a/api/GetNumberOfDetailTiles.lua b/api/GetNumberOfDetailTiles.lua index 66110f3..8c4c716 100644 --- a/api/GetNumberOfDetailTiles.lua +++ b/api/GetNumberOfDetailTiles.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetNumberOfDetailTiles() end \ No newline at end of file +function GetNumberOfDetailTiles() end diff --git a/api/GetOSLocale.lua b/api/GetOSLocale.lua index 9b41b8b..f9ceeee 100644 --- a/api/GetOSLocale.lua +++ b/api/GetOSLocale.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetOSLocale() end \ No newline at end of file +function GetOSLocale() end diff --git a/api/GetObjectiveText.lua b/api/GetObjectiveText.lua index 3008889..1b4283c 100644 --- a/api/GetObjectiveText.lua +++ b/api/GetObjectiveText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string questObjective +---@return string questObjective ---Returns a summary of objectives for the quest offered by a questgiver. Only valid when the questgiver UI is showing the accept/decline stage of a quest dialog (between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. -function GetObjectiveText() end \ No newline at end of file +function GetObjectiveText() end diff --git a/api/GetOptOutOfLoot.lua b/api/GetOptOutOfLoot.lua index 6e1a56a..33c1d35 100644 --- a/api/GetOptOutOfLoot.lua +++ b/api/GetOptOutOfLoot.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isOptOut +---@return 1nil isOptOut ---Returns whether the player has opted out of loot rolls. When opting out, no prompt will be shown for loot which ordinarily would prompt the player to roll (need/greed) or pass; the loot rolling process will continue for other group members as if the player had chosen to pass on every roll. -function GetOptOutOfLoot() end \ No newline at end of file +function GetOptOutOfLoot() end diff --git a/api/GetOutdoorPVPWaitTime.lua b/api/GetOutdoorPVPWaitTime.lua index 771a122..de89ffd 100644 --- a/api/GetOutdoorPVPWaitTime.lua +++ b/api/GetOutdoorPVPWaitTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number waitTime +---@return number waitTime ---Returns the world PvP wait time for the currently selected zone, nil otherwise. Authors looking for information regarding specific world PvP zones should consider using GetWorldPVPAreaInfo() instead. -function GetOutdoorPVPWaitTime() end \ No newline at end of file +function GetOutdoorPVPWaitTime() end diff --git a/api/GetOverrideAPBySpellPower.lua b/api/GetOverrideAPBySpellPower.lua index 5b93974..08e38a6 100644 --- a/api/GetOverrideAPBySpellPower.lua +++ b/api/GetOverrideAPBySpellPower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetOverrideAPBySpellPower() end \ No newline at end of file +function GetOverrideAPBySpellPower() end diff --git a/api/GetOverrideBarIndex.lua b/api/GetOverrideBarIndex.lua index 59a346e..e9c1961 100644 --- a/api/GetOverrideBarIndex.lua +++ b/api/GetOverrideBarIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetOverrideBarIndex() end \ No newline at end of file +function GetOverrideBarIndex() end diff --git a/api/GetOverrideBarSkin.lua b/api/GetOverrideBarSkin.lua index 17c1e30..e00bf2a 100644 --- a/api/GetOverrideBarSkin.lua +++ b/api/GetOverrideBarSkin.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetOverrideBarSkin() end \ No newline at end of file +function GetOverrideBarSkin() end diff --git a/api/GetOverrideSpellPowerByAP.lua b/api/GetOverrideSpellPowerByAP.lua index 28c2c00..95e1fd5 100644 --- a/api/GetOverrideSpellPowerByAP.lua +++ b/api/GetOverrideSpellPowerByAP.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number spellPower +---@return number spellPower ---Returns how much spell power is returned by attack power (Shaman). Currently valid for Enhancement Shamans only. -function GetOverrideSpellPowerByAP() end \ No newline at end of file +function GetOverrideSpellPowerByAP() end diff --git a/api/GetOwnerAuctionItems.lua b/api/GetOwnerAuctionItems.lua index 3f239c0..020a0e3 100644 --- a/api/GetOwnerAuctionItems.lua +++ b/api/GetOwnerAuctionItems.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests data from the server for the list of auctions created by the player. The AUCTION_OWNED_LIST_UPDATE event fires if new data is available; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs. -function GetOwnerAuctionItems() end \ No newline at end of file +function GetOwnerAuctionItems() end diff --git a/api/GetPOITextureCoords.lua b/api/GetPOITextureCoords.lua index fdfae80..f15de06 100644 --- a/api/GetPOITextureCoords.lua +++ b/api/GetPOITextureCoords.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param textureIndex number ----@return number x1 ----@return number x2 ----@return number y1 ----@return number y2 +---@param textureIndex number +---@return number x1 +---@return number x2 +---@return number y1 +---@return number y2 ---Return texture coordinates of POI icon. Coordinates usable with Interface\Minimap\POIIcons texture. -function GetPOITextureCoords(textureIndex) end \ No newline at end of file +function GetPOITextureCoords(textureIndex) end diff --git a/api/GetPVPDesired.lua b/api/GetPVPDesired.lua index ac92b42..401490c 100644 --- a/api/GetPVPDesired.lua +++ b/api/GetPVPDesired.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number isPVPDesired +---@return number isPVPDesired ---Returns whether the player has manually enabled PvP status. Only indicates whether the player has manually and directly enabled his PvP flag (e.g. by typing "/pvp" or using the default UI's menu when right-clicking the player portrait); returns 0 if the player only became PvP flagged by attacking an enemy player, entering an enemy zone, etc. -function GetPVPDesired() end \ No newline at end of file +function GetPVPDesired() end diff --git a/api/GetPVPLifetimeStats.lua b/api/GetPVPLifetimeStats.lua index 47c0903..536e5fb 100644 --- a/api/GetPVPLifetimeStats.lua +++ b/api/GetPVPLifetimeStats.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number hk ----@return number highestRank +---@return number hk +---@return number highestRank ---Returns the player's lifetime total of honorable kills and highest rank achieved. Highest rank achieved applies only to the older PvP rewards system that was abandoned with the WoW 2.0 patch, but is still accurate for players who participated in it. -function GetPVPLifetimeStats() end \ No newline at end of file +function GetPVPLifetimeStats() end diff --git a/api/GetPVPRewards.lua b/api/GetPVPRewards.lua index 9bdbcab..e74ba78 100644 --- a/api/GetPVPRewards.lua +++ b/api/GetPVPRewards.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number pointsThisWeek ----@return number maxPointsThisWeek ----@return number tier2Quantity ----@return number tier2Limit ----@return string tier1Quantity ----@return number tier1Limit +---@return number pointsThisWeek +---@return number maxPointsThisWeek +---@return number tier2Quantity +---@return number tier2Limit +---@return string tier1Quantity +---@return number tier1Limit ---Returns information about Conquest Point cap. -function GetPVPRewards() end \ No newline at end of file +function GetPVPRewards() end diff --git a/api/GetPVPRoles.lua b/api/GetPVPRoles.lua index c6a4934..76f7f71 100644 --- a/api/GetPVPRoles.lua +++ b/api/GetPVPRoles.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPVPRoles() end \ No newline at end of file +function GetPVPRoles() end diff --git a/api/GetPVPSessionStats.lua b/api/GetPVPSessionStats.lua index bedfa92..8b310f6 100644 --- a/api/GetPVPSessionStats.lua +++ b/api/GetPVPSessionStats.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number honorKills ----@return number honorPoints +---@return number honorKills +---@return number honorPoints ---Returns the number of kills and honor points scored by the player since logging in -function GetPVPSessionStats() end \ No newline at end of file +function GetPVPSessionStats() end diff --git a/api/GetPVPTimer.lua b/api/GetPVPTimer.lua index bddb5d3..79e1c1c 100644 --- a/api/GetPVPTimer.lua +++ b/api/GetPVPTimer.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timer +---@return number timer ---Returns the amount of time until the player's PVP flag expires. Returns 300000 or higher if the player's PvP flag is manually enabled or if the player is in a PvP or enemy zone. -function GetPVPTimer() end \ No newline at end of file +function GetPVPTimer() end diff --git a/api/GetPVPYesterdayStats.lua b/api/GetPVPYesterdayStats.lua index edfa09d..22eac71 100644 --- a/api/GetPVPYesterdayStats.lua +++ b/api/GetPVPYesterdayStats.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number honorKills ----@return number honorPoints +---@return number honorKills +---@return number honorPoints ---Returns the number of kills and honor points scored by the player on the previous day -function GetPVPYesterdayStats() end \ No newline at end of file +function GetPVPYesterdayStats() end diff --git a/api/GetPackageInfo.lua b/api/GetPackageInfo.lua index 2232f48..6b66cba 100644 --- a/api/GetPackageInfo.lua +++ b/api/GetPackageInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPackageInfo() end \ No newline at end of file +function GetPackageInfo() end diff --git a/api/GetParryChance.lua b/api/GetParryChance.lua index 460e5cb..0db0799 100644 --- a/api/GetParryChance.lua +++ b/api/GetParryChance.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number chance +---@return number chance ---Returns the player's parry chance -function GetParryChance() end \ No newline at end of file +function GetParryChance() end diff --git a/api/GetPartyAssignment.lua b/api/GetPartyAssignment.lua index 2c4ec95..931ede2 100644 --- a/api/GetPartyAssignment.lua +++ b/api/GetPartyAssignment.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param assignment MAINTANK ----@param MAINASSIST ----@param MAINTANK ----@param unit string ----@param name string ----@param exactMatch boolean ----@return 1nil isAssigned +---@param assignment MAINTANK +---@param MAINASSIST +---@param MAINTANK +---@param unit string +---@param name string +---@param exactMatch boolean +---@return 1nil isAssigned ---Returns whether a party/raid member is assigned a specific group role -function GetPartyAssignment(assignment, MAINASSIST, MAINTANK, unit, name, exactMatch) end \ No newline at end of file +function GetPartyAssignment(assignment, MAINASSIST, MAINTANK, unit, name, exactMatch) end diff --git a/api/GetPartyLFGBackfillInfo.lua b/api/GetPartyLFGBackfillInfo.lua index 33af13a..57e1507 100644 --- a/api/GetPartyLFGBackfillInfo.lua +++ b/api/GetPartyLFGBackfillInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPartyLFGBackfillInfo() end \ No newline at end of file +function GetPartyLFGBackfillInfo() end diff --git a/api/GetPartyLFGID.lua b/api/GetPartyLFGID.lua index 7834b98..8ae3dae 100644 --- a/api/GetPartyLFGID.lua +++ b/api/GetPartyLFGID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPartyLFGID() end \ No newline at end of file +function GetPartyLFGID() end diff --git a/api/GetPersonalRatedInfo.lua b/api/GetPersonalRatedInfo.lua index a487aad..4a9553a 100644 --- a/api/GetPersonalRatedInfo.lua +++ b/api/GetPersonalRatedInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPersonalRatedInfo() end \ No newline at end of file +function GetPersonalRatedInfo() end diff --git a/api/GetPetActionCooldown.lua b/api/GetPetActionCooldown.lua index 7955f25..b9c0fdf 100644 --- a/api/GetPetActionCooldown.lua +++ b/api/GetPetActionCooldown.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number start ----@return number duration ----@return number enable +---@param index number +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about a given pet action slot -function GetPetActionCooldown(index) end \ No newline at end of file +function GetPetActionCooldown(index) end diff --git a/api/GetPetActionInfo.lua b/api/GetPetActionInfo.lua index 3323473..3c702d6 100644 --- a/api/GetPetActionInfo.lua +++ b/api/GetPetActionInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string subtext ----@return string texture ----@return 1nil isToken ----@return 1nil isActive ----@return 1nil autoCastAllowed ----@return 1nil autoCastEnabled +---@param index number +---@return string name +---@return string subtext +---@return string texture +---@return 1nil isToken +---@return 1nil isActive +---@return 1nil autoCastAllowed +---@return 1nil autoCastEnabled ---Returns information about a pet action -function GetPetActionInfo(index) end \ No newline at end of file +function GetPetActionInfo(index) end diff --git a/api/GetPetActionSlotUsable.lua b/api/GetPetActionSlotUsable.lua index 1722a11..2905e1f 100644 --- a/api/GetPetActionSlotUsable.lua +++ b/api/GetPetActionSlotUsable.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return 1nil usable +---@param index number +---@return 1nil usable ---Returns whether a pet action can be used. Used in the default UI to show pet actions as grayed out when the pet cannot be commanded to perform them (e.g. when the player or pet is stunned). -function GetPetActionSlotUsable(index) end \ No newline at end of file +function GetPetActionSlotUsable(index) end diff --git a/api/GetPetActionsUsable.lua b/api/GetPetActionsUsable.lua index cd2cd4c..1474b31 100644 --- a/api/GetPetActionsUsable.lua +++ b/api/GetPetActionsUsable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil petActionsUsable +---@return 1nil petActionsUsable ---Returns whether the pet's actions are usable. Note: GetPetActionSlotUsable can return nil for individual actions even if GetPetActionsUsable returns 1 (though not the other way around). -function GetPetActionsUsable() end \ No newline at end of file +function GetPetActionsUsable() end diff --git a/api/GetPetExperience.lua b/api/GetPetExperience.lua index 6642f56..741ef33 100644 --- a/api/GetPetExperience.lua +++ b/api/GetPetExperience.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number currXP ----@return number nextXP +---@return number currXP +---@return number nextXP ---Returns information about experience points for the player's pet -function GetPetExperience() end \ No newline at end of file +function GetPetExperience() end diff --git a/api/GetPetFoodTypes.lua b/api/GetPetFoodTypes.lua index 634dccc..415a091 100644 --- a/api/GetPetFoodTypes.lua +++ b/api/GetPetFoodTypes.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return Meat ... ----@return Bread ----@return Cheese ----@return Fish ----@return Fruit ----@return Fungus ----@return Meat +---@return Meat ... +---@return Bread +---@return Cheese +---@return Fish +---@return Fruit +---@return Fungus +---@return Meat ---Returns a list of the food types the player's pet will eat -function GetPetFoodTypes() end \ No newline at end of file +function GetPetFoodTypes() end diff --git a/api/GetPetIcon.lua b/api/GetPetIcon.lua index 1ca4ef9..6d11d71 100644 --- a/api/GetPetIcon.lua +++ b/api/GetPetIcon.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string texture +---@return string texture ---Returns an icon representing the current pet. Used in the default Pet Stables and Talent UIs for hunter pets; returns nil for other pets. -function GetPetIcon() end \ No newline at end of file +function GetPetIcon() end diff --git a/api/GetPetMeleeHaste.lua b/api/GetPetMeleeHaste.lua index d17d508..e3aff54 100644 --- a/api/GetPetMeleeHaste.lua +++ b/api/GetPetMeleeHaste.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPetMeleeHaste() end \ No newline at end of file +function GetPetMeleeHaste() end diff --git a/api/GetPetSpellBonusDamage.lua b/api/GetPetSpellBonusDamage.lua index 54d7ce7..64861c4 100644 --- a/api/GetPetSpellBonusDamage.lua +++ b/api/GetPetSpellBonusDamage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPetSpellBonusDamage() end \ No newline at end of file +function GetPetSpellBonusDamage() end diff --git a/api/GetPetTalentTree.lua b/api/GetPetTalentTree.lua index a6e5bba..e7d5988 100644 --- a/api/GetPetTalentTree.lua +++ b/api/GetPetTalentTree.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string talent +---@return string talent ---Returns the name of the talent tree used by the player's current pet. Hunter pets use one of three different talent trees according to pet type. Returns nil if the player does not have a pet or the player's current pet does not use talents (i.e. warlock pets, quest pets, etc.) -function GetPetTalentTree() end \ No newline at end of file +function GetPetTalentTree() end diff --git a/api/GetPetTimeRemaining.lua b/api/GetPetTimeRemaining.lua index a9ba73b..14cdac7 100644 --- a/api/GetPetTimeRemaining.lua +++ b/api/GetPetTimeRemaining.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number petTimeRemaining +---@return number petTimeRemaining ---Returns the time remaining before a temporary pet is automatically dismissed. Temporary pets include priests' Shadowfriend, mages' Water Elemental, and various quest-related pets. -function GetPetTimeRemaining() end \ No newline at end of file +function GetPetTimeRemaining() end diff --git a/api/GetPetitionInfo.lua b/api/GetPetitionInfo.lua index 5d416a9..341dc2c 100644 --- a/api/GetPetitionInfo.lua +++ b/api/GetPetitionInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return guild petitionType ----@return arena ----@return guild ----@return string title ----@return string bodyText ----@return number maxSignatures ----@return string originatorName ----@return 1nil isOriginator ----@return number minSignatures +---@return guild petitionType +---@return arena +---@return guild +---@return string title +---@return string bodyText +---@return number maxSignatures +---@return string originatorName +---@return 1nil isOriginator +---@return number minSignatures ---Returns information about the currently open petition -function GetPetitionInfo() end \ No newline at end of file +function GetPetitionInfo() end diff --git a/api/GetPetitionNameInfo.lua b/api/GetPetitionNameInfo.lua index 74e0bc9..586f478 100644 --- a/api/GetPetitionNameInfo.lua +++ b/api/GetPetitionNameInfo.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name +---@param index number +---@return string name ---Returns the name of a character who has signed the currently offered petition -function GetPetitionNameInfo(index) end \ No newline at end of file +function GetPetitionNameInfo(index) end diff --git a/api/GetPlayerFacing.lua b/api/GetPlayerFacing.lua index 7960836..c39b82f 100644 --- a/api/GetPlayerFacing.lua +++ b/api/GetPlayerFacing.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number facing +---@return number facing ---Returns the player's orientation (heading). Indicates the direction the player model is (normally) facing and in which the player will move if he begins walking forward, not the camera orientation. Value Value is equal to 0 for North and increases counterclockwise. Full 360° is equal to 2π. Example Direction Value Dump North 0 −0 North West .25π ~0.78538751602173 West .5π ~1.5707750320435 South π ~3.1415500640870 East 1.5π ~4.7124104499817 North East 1.75π ~5.4977979660034 -function GetPlayerFacing() end \ No newline at end of file +function GetPlayerFacing() end diff --git a/api/GetPlayerInfoByGUID.lua b/api/GetPlayerInfoByGUID.lua index f2a0690..0900efd 100644 --- a/api/GetPlayerInfoByGUID.lua +++ b/api/GetPlayerInfoByGUID.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param guid string ----@return string class ----@return string classFilename ----@return string race ----@return string raceFilename ----@return 3 sex ----@return 1 ----@return 2 ----@return 3 ----@return string name ----@return string realm +---@param guid string +---@return string class +---@return string classFilename +---@return string race +---@return string raceFilename +---@return 3 sex +---@return 1 +---@return 2 +---@return 3 +---@return string name +---@return string realm ---Returns information about a player character identified by globally unique identifier. Returns nil if given the GUID of a non-player unit. The leading 0x may be omitted. -function GetPlayerInfoByGUID(guid) end \ No newline at end of file +function GetPlayerInfoByGUID(guid) end diff --git a/api/GetPlayerMapPosition.lua b/api/GetPlayerMapPosition.lua index 9cf3446..7b46703 100644 --- a/api/GetPlayerMapPosition.lua +++ b/api/GetPlayerMapPosition.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number unitX ----@return number unitY +---@param unit string +---@return number unitX +---@return number unitY ---Returns the position of a unit in the player's party or raid on the world map. Returns 0,0 if the unit's location is not visible on the current world map. -function GetPlayerMapPosition(unit) end \ No newline at end of file +function GetPlayerMapPosition(unit) end diff --git a/api/GetPlayerTradeCurrency.lua b/api/GetPlayerTradeCurrency.lua index 5395c86..4b884b9 100644 --- a/api/GetPlayerTradeCurrency.lua +++ b/api/GetPlayerTradeCurrency.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPlayerTradeCurrency() end \ No newline at end of file +function GetPlayerTradeCurrency() end diff --git a/api/GetPlayerTradeMoney.lua b/api/GetPlayerTradeMoney.lua index c3db37d..8a143dd 100644 --- a/api/GetPlayerTradeMoney.lua +++ b/api/GetPlayerTradeMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the amount of money offered for trade by the player -function GetPlayerTradeMoney() end \ No newline at end of file +function GetPlayerTradeMoney() end diff --git a/api/GetPossessInfo.lua b/api/GetPossessInfo.lua index 0724c9b..c1fc8ea 100644 --- a/api/GetPossessInfo.lua +++ b/api/GetPossessInfo.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string texture ----@return string name +---@param index number +---@return string texture +---@return string name ---Returns information about special actions available while the player possesses another unit. Used in the default UI to show additional special actions (e.g. canceling possession) while the player possesses another unit through an ability such as Eyes of the Beast or Mind Control. Does not apply to actions (spells) belonging to the possessed unit; those are regular actions (see GetActionInfo()) whose actionIDs begin at ((NUM_ACTIONBAR_PAGES - 1 + GetBonusBarOffset()) * NUM_ACTIONBAR_BUTTONS + 1). -function GetPossessInfo(index) end \ No newline at end of file +function GetPossessInfo(index) end diff --git a/api/GetPowerRegen.lua b/api/GetPowerRegen.lua index 95d3b75..6dfe15e 100644 --- a/api/GetPowerRegen.lua +++ b/api/GetPowerRegen.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number inactiveRegen ----@return number activeRegen +---@return number inactiveRegen +---@return number activeRegen ---Returns information about the player's mana/energy/etc regeneration rate. Contexts for inactiveRegen and activeRegen vary by power type. If the player (currently) uses mana, activeRegen refers to mana regeneration while casting (within five seconds of casting a spell) and inactiveRegen refers to mana regeneration while not casting (more than five seconds after casting a spell). For other power types, activeRegen refers to regeneration while in combat and inactiveRegen to regeneration outside of combat. Note that values returned can be negative: e.g. for rage and runic power users, inactiveRegen describes the rate of power decay while not in combat. -function GetPowerRegen() end \ No newline at end of file +function GetPowerRegen() end diff --git a/api/GetPrevCompleatedTutorial.lua b/api/GetPrevCompleatedTutorial.lua index 293b53e..abb9629 100644 --- a/api/GetPrevCompleatedTutorial.lua +++ b/api/GetPrevCompleatedTutorial.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPrevCompleatedTutorial() end \ No newline at end of file +function GetPrevCompleatedTutorial() end diff --git a/api/GetPreviousAchievement.lua b/api/GetPreviousAchievement.lua index 4f8cc73..7ca4488 100644 --- a/api/GetPreviousAchievement.lua +++ b/api/GetPreviousAchievement.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number previousID +---@param id number +---@return number previousID ---Returns the previous achievement for an achievement which is part of a series -function GetPreviousAchievement(id) end \ No newline at end of file +function GetPreviousAchievement(id) end diff --git a/api/GetPreviousArenaSeason.lua b/api/GetPreviousArenaSeason.lua index c710c08..f110222 100644 --- a/api/GetPreviousArenaSeason.lua +++ b/api/GetPreviousArenaSeason.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number season +---@return number season ---Returns a number identifying the previous arena season. New arena seasons begin every few months, resetting team rankings and providing new rewards. -function GetPreviousArenaSeason() end \ No newline at end of file +function GetPreviousArenaSeason() end diff --git a/api/GetProfessionInfo.lua b/api/GetProfessionInfo.lua index 04cce4f..e432d2b 100644 --- a/api/GetProfessionInfo.lua +++ b/api/GetProfessionInfo.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number rank ----@return number maxRank ----@return number numSpells ----@return number spelloffset ----@return number skillLine ----@return number rankModifier ----@return number specializationIndex ----@return number specializationOffset +---@param index number +---@return string name +---@return string texture +---@return number rank +---@return number maxRank +---@return number numSpells +---@return number spelloffset +---@return number skillLine +---@return number rankModifier +---@return number specializationIndex +---@return number specializationOffset ---Returns details on a profession from its index including name, icon, and skill level -function GetProfessionInfo(index) end \ No newline at end of file +function GetProfessionInfo(index) end diff --git a/api/GetProfessions.lua b/api/GetProfessions.lua index 40502ac..001336b 100644 --- a/api/GetProfessions.lua +++ b/api/GetProfessions.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number prof1 ----@return number prof2 ----@return number archaeology ----@return number fishing ----@return number cooking ----@return number firstAid +---@return number prof1 +---@return number prof2 +---@return number archaeology +---@return number fishing +---@return number cooking +---@return number firstAid ---Returns indices of all of the current character's professions. The indices returned can be passed into the GetProfessionInfo() function. The indices are not fixed and can change when a character learns or unlearns a profession. If you do not have one of the skills the value returned will be nil. -function GetProfessions() end \ No newline at end of file +function GetProfessions() end diff --git a/api/GetProgressText.lua b/api/GetProgressText.lua index b1ef5f9..fb248db 100644 --- a/api/GetProgressText.lua +++ b/api/GetProgressText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the quest progress text presented by a questgiver. Only valid when the questgiver UI is showing the progress stage of a quest dialog (between the QUEST_PROGRESS and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. -function GetProgressText() end \ No newline at end of file +function GetProgressText() end diff --git a/api/GetPvpPowerDamage.lua b/api/GetPvpPowerDamage.lua index 6570cf6..596b8bc 100644 --- a/api/GetPvpPowerDamage.lua +++ b/api/GetPvpPowerDamage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPvpPowerDamage() end \ No newline at end of file +function GetPvpPowerDamage() end diff --git a/api/GetPvpPowerHealing.lua b/api/GetPvpPowerHealing.lua index f5b3b82..63b46bc 100644 --- a/api/GetPvpPowerHealing.lua +++ b/api/GetPvpPowerHealing.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetPvpPowerHealing() end \ No newline at end of file +function GetPvpPowerHealing() end diff --git a/api/GetQuestBackgroundMaterial.lua b/api/GetQuestBackgroundMaterial.lua index f8299bd..e4cc872 100644 --- a/api/GetQuestBackgroundMaterial.lua +++ b/api/GetQuestBackgroundMaterial.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return Stone material ----@return Bronze ----@return Marble ----@return Parchment ----@return Silver ----@return Stone +---@return Stone material +---@return Bronze +---@return Marble +---@return Parchment +---@return Silver +---@return Stone ---Returns background display style information for a questgiver dialog. The value returned can be used to look up background textures and text colors for display: Background textures displayed in the default UI can be found by prepending "Interface\\ItemTextFrame\\ItemText-" and appending "-TopLeft", "-TopRight", "-BotLeft", "-BotRight" to the material string (e.g. "Interface\\ItemTextFrame\\ItemText-Stone-TopLeft"). Colors for body and title text can be found by calling GetMaterialTextColors(material) (a Lua function implemented in the Blizzard UI). In cases where this function returns nil, the default UI uses the colors and textures for "Parchment". -function GetQuestBackgroundMaterial() end \ No newline at end of file +function GetQuestBackgroundMaterial() end diff --git a/api/GetQuestChoiceInfo.lua b/api/GetQuestChoiceInfo.lua index 5cf8b12..2416d09 100644 --- a/api/GetQuestChoiceInfo.lua +++ b/api/GetQuestChoiceInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestChoiceInfo() end \ No newline at end of file +function GetQuestChoiceInfo() end diff --git a/api/GetQuestChoiceOptionInfo.lua b/api/GetQuestChoiceOptionInfo.lua index 4025277..a698ba9 100644 --- a/api/GetQuestChoiceOptionInfo.lua +++ b/api/GetQuestChoiceOptionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestChoiceOptionInfo() end \ No newline at end of file +function GetQuestChoiceOptionInfo() end diff --git a/api/GetQuestChoiceRewardCurrency.lua b/api/GetQuestChoiceRewardCurrency.lua index 709cb31..a146cb5 100644 --- a/api/GetQuestChoiceRewardCurrency.lua +++ b/api/GetQuestChoiceRewardCurrency.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestChoiceRewardCurrency() end \ No newline at end of file +function GetQuestChoiceRewardCurrency() end diff --git a/api/GetQuestChoiceRewardFaction.lua b/api/GetQuestChoiceRewardFaction.lua index f339236..1d401a7 100644 --- a/api/GetQuestChoiceRewardFaction.lua +++ b/api/GetQuestChoiceRewardFaction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestChoiceRewardFaction() end \ No newline at end of file +function GetQuestChoiceRewardFaction() end diff --git a/api/GetQuestChoiceRewardInfo.lua b/api/GetQuestChoiceRewardInfo.lua index 82304ec..c8ef4db 100644 --- a/api/GetQuestChoiceRewardInfo.lua +++ b/api/GetQuestChoiceRewardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestChoiceRewardInfo() end \ No newline at end of file +function GetQuestChoiceRewardInfo() end diff --git a/api/GetQuestChoiceRewardItem.lua b/api/GetQuestChoiceRewardItem.lua index 0ff49c1..54b6eeb 100644 --- a/api/GetQuestChoiceRewardItem.lua +++ b/api/GetQuestChoiceRewardItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestChoiceRewardItem() end \ No newline at end of file +function GetQuestChoiceRewardItem() end diff --git a/api/GetQuestCurrencyInfo.lua b/api/GetQuestCurrencyInfo.lua index 14df00a..0fa673e 100644 --- a/api/GetQuestCurrencyInfo.lua +++ b/api/GetQuestCurrencyInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type reward ----@param required ----@param reward ----@param index integer ----@return string name ----@return string texture ----@return integer amount +---@param type reward +---@param required +---@param reward +---@param index integer +---@return string name +---@return string texture +---@return integer amount ---Returns information about currency rewarded/required for quest completion -function GetQuestCurrencyInfo(type, required, reward, index) end \ No newline at end of file +function GetQuestCurrencyInfo(type, required, reward, index) end diff --git a/api/GetQuestDifficultyColor.lua b/api/GetQuestDifficultyColor.lua index 0206946..cfe1d56 100644 --- a/api/GetQuestDifficultyColor.lua +++ b/api/GetQuestDifficultyColor.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param level number ----@return table color +---@param level number +---@return table color ---Returns a table of color values indicating the difficulty of a quest's level as compared to the player's -function GetQuestDifficultyColor(level) end \ No newline at end of file +function GetQuestDifficultyColor(level) end diff --git a/api/GetQuestFactionGroup.lua b/api/GetQuestFactionGroup.lua index 7ac5010..9af518a 100644 --- a/api/GetQuestFactionGroup.lua +++ b/api/GetQuestFactionGroup.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestFactionGroup() end \ No newline at end of file +function GetQuestFactionGroup() end diff --git a/api/GetQuestGreenRange.lua b/api/GetQuestGreenRange.lua index e278d66..c4c588e 100644 --- a/api/GetQuestGreenRange.lua +++ b/api/GetQuestGreenRange.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number range +---@return number range ---Returns the level range in which a quest below the player's level still rewards XP. If a quest's level is up to range levels below the player's level, the quest is considered easy but still rewards experience points upon completion; these quests are colored green in the default UI's quest log. (Quests more than range levels below the player's are colored gray in the default UI and reward no XP.) -function GetQuestGreenRange() end \ No newline at end of file +function GetQuestGreenRange() end diff --git a/api/GetQuestID.lua b/api/GetQuestID.lua index 9bc75ff..dd7f926 100644 --- a/api/GetQuestID.lua +++ b/api/GetQuestID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questID +---@return number questID ---Returns the internal ID of a quest featured in the currently active NPC dialogue (available after a QUEST_DETAIL event). Returns 0 if no quest dialogue happened in the current session yet. Warning: returns the last offered quest ID - it will keep returning the last value even out of any QUEST_DETAIL dialogue context, until a new quest is mentioned. -function GetQuestID() end \ No newline at end of file +function GetQuestID() end diff --git a/api/GetQuestIndexForTimer.lua b/api/GetQuestIndexForTimer.lua index 46c058d..0673659 100644 --- a/api/GetQuestIndexForTimer.lua +++ b/api/GetQuestIndexForTimer.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number questIndex +---@param index number +---@return number questIndex ---Returns the quest log index of a timed quest's timer -function GetQuestIndexForTimer(index) end \ No newline at end of file +function GetQuestIndexForTimer(index) end diff --git a/api/GetQuestIndexForWatch.lua b/api/GetQuestIndexForWatch.lua index 3e1021a..0bace06 100644 --- a/api/GetQuestIndexForWatch.lua +++ b/api/GetQuestIndexForWatch.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number questIndex +---@param index number +---@return number questIndex ---Returns the quest log index of a quest in the objectives tracker -function GetQuestIndexForWatch(index) end \ No newline at end of file +function GetQuestIndexForWatch(index) end diff --git a/api/GetQuestItemInfo.lua b/api/GetQuestItemInfo.lua index 1409562..106d80c 100644 --- a/api/GetQuestItemInfo.lua +++ b/api/GetQuestItemInfo.lua @@ -1,21 +1,21 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type reward ----@param choice ----@param required ----@param reward ----@param index number ----@return string name ----@return string texture ----@return number numItems ----@return 6 quality ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 1nil isUsable +---@param type reward +---@param choice +---@param required +---@param reward +---@param index number +---@return string name +---@return string texture +---@return number numItems +---@return 6 quality +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 1nil isUsable ---Returns information about items in a questgiver dialog. Only valid when the questgiver UI is showing the accept/decline, progress, or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED, QUEST_PROGRESS and QUEST_FINISHED, or QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return empty values or those from the most recently displayed quest. -function GetQuestItemInfo(type, choice, required, reward, index) end \ No newline at end of file +function GetQuestItemInfo(type, choice, required, reward, index) end diff --git a/api/GetQuestItemLink.lua b/api/GetQuestItemLink.lua index 1cb4c35..9b8beeb 100644 --- a/api/GetQuestItemLink.lua +++ b/api/GetQuestItemLink.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemType reward ----@param choice ----@param required ----@param reward ----@param index number ----@return string link +---@param itemType reward +---@param choice +---@param required +---@param reward +---@param index number +---@return string link ---Returns a hyperlink for an item in a questgiver dialog. Only valid when the questgiver UI is showing the accept/decline, progress, or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED, QUEST_PROGRESS and QUEST_FINISHED, or QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. -function GetQuestItemLink(itemType, choice, required, reward, index) end \ No newline at end of file +function GetQuestItemLink(itemType, choice, required, reward, index) end diff --git a/api/GetQuestLink.lua b/api/GetQuestLink.lua index 82a0d61..a1eb17b 100644 --- a/api/GetQuestLink.lua +++ b/api/GetQuestLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questID number ----@return string link +---@param questID number +---@return string link ---Returns a hyperlink of a specific quest -function GetQuestLink(questID) end \ No newline at end of file +function GetQuestLink(questID) end diff --git a/api/GetQuestLogChoiceInfo.lua b/api/GetQuestLogChoiceInfo.lua index a40df91..bb7d210 100644 --- a/api/GetQuestLogChoiceInfo.lua +++ b/api/GetQuestLogChoiceInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number numItems ----@return number quality ----@return nil isUsable ----@return number itemID +---@param index number +---@return string name +---@return string texture +---@return number numItems +---@return number quality +---@return nil isUsable +---@return number itemID ---Returns information about available item rewards for the selected quest in the quest log. This function refers to quest rewards for which the player is allowed to choose one item from among several; for items always awarded upon quest completion, see GetQuestLogRewardInfo. -function GetQuestLogChoiceInfo(index) end \ No newline at end of file +function GetQuestLogChoiceInfo(index) end diff --git a/api/GetQuestLogCompletionText.lua b/api/GetQuestLogCompletionText.lua index 7925b58..b7ced14 100644 --- a/api/GetQuestLogCompletionText.lua +++ b/api/GetQuestLogCompletionText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string completionText +---@return string completionText ---Returns the completion text for the selected quest in the quest log. Completion text usually includes instructions on to whom and where to hand in the quest once it has been completed. Example: "Return to William Pestle at Goldshire in Elwynn Forest." -function GetQuestLogCompletionText() end \ No newline at end of file +function GetQuestLogCompletionText() end diff --git a/api/GetQuestLogCriteriaSpell.lua b/api/GetQuestLogCriteriaSpell.lua index 2c68aa3..c7ecfec 100644 --- a/api/GetQuestLogCriteriaSpell.lua +++ b/api/GetQuestLogCriteriaSpell.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number spellID ----@return string iconTexture ----@return boolean isLearned +---@param index number +---@return number spellID +---@return string iconTexture +---@return boolean isLearned ---Returns the spell required by a quest, if any. It is currently known to return values for the learn spell quests. -function GetQuestLogCriteriaSpell(index) end \ No newline at end of file +function GetQuestLogCriteriaSpell(index) end diff --git a/api/GetQuestLogGroupNum.lua b/api/GetQuestLogGroupNum.lua index 4c256d6..7bf393e 100644 --- a/api/GetQuestLogGroupNum.lua +++ b/api/GetQuestLogGroupNum.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number suggestedGroup +---@return number suggestedGroup ---Returns the suggested group size for the selected quest in the quest log -function GetQuestLogGroupNum() end \ No newline at end of file +function GetQuestLogGroupNum() end diff --git a/api/GetQuestLogIndexByID.lua b/api/GetQuestLogIndexByID.lua index 6817559..1faea99 100644 --- a/api/GetQuestLogIndexByID.lua +++ b/api/GetQuestLogIndexByID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number index +---@param id number +---@return number index ---Returns the index at which a particular quest ID can be found in the log. -function GetQuestLogIndexByID(id) end \ No newline at end of file +function GetQuestLogIndexByID(id) end diff --git a/api/GetQuestLogIsAutoComplete.lua b/api/GetQuestLogIsAutoComplete.lua index 4510b26..c640cd1 100644 --- a/api/GetQuestLogIsAutoComplete.lua +++ b/api/GetQuestLogIsAutoComplete.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestLogIsAutoComplete() end \ No newline at end of file +function GetQuestLogIsAutoComplete() end diff --git a/api/GetQuestLogItemDrop.lua b/api/GetQuestLogItemDrop.lua index 77a8e93..1bbafbf 100644 --- a/api/GetQuestLogItemDrop.lua +++ b/api/GetQuestLogItemDrop.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestLogItemDrop() end \ No newline at end of file +function GetQuestLogItemDrop() end diff --git a/api/GetQuestLogItemLink.lua b/api/GetQuestLogItemLink.lua index 01bed62..dfb5ff0 100644 --- a/api/GetQuestLogItemLink.lua +++ b/api/GetQuestLogItemLink.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemType reward ----@param choice ----@param reward ----@param index number +---@param itemType reward +---@param choice +---@param reward +---@param index number ---Returns a hyperlink for an item related to the selected quest in the quest log -function GetQuestLogItemLink(itemType, choice, reward, index) end \ No newline at end of file +function GetQuestLogItemLink(itemType, choice, reward, index) end diff --git a/api/GetQuestLogLeaderBoard.lua b/api/GetQuestLogLeaderBoard.lua index 9d0b346..a1aaa2f 100644 --- a/api/GetQuestLogLeaderBoard.lua +++ b/api/GetQuestLogLeaderBoard.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param objective number ----@param questIndex number ----@return string text ----@return reputation type ----@return event ----@return item ----@return monster ----@return object ----@return reputation ----@return 1nil finished +---@param objective number +---@param questIndex number +---@return string text +---@return reputation type +---@return event +---@return item +---@return monster +---@return object +---@return reputation +---@return 1nil finished ---Returns information about objectives for a quest in the quest log -function GetQuestLogLeaderBoard(objective, questIndex) end \ No newline at end of file +function GetQuestLogLeaderBoard(objective, questIndex) end diff --git a/api/GetQuestLogPortraitGiver.lua b/api/GetQuestLogPortraitGiver.lua index 4b6939c..0b95122 100644 --- a/api/GetQuestLogPortraitGiver.lua +++ b/api/GetQuestLogPortraitGiver.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questPortrait ----@return string questPortraitText ----@return string questPortraitName +---@return number questPortrait +---@return string questPortraitText +---@return string questPortraitName ---Returns quest-related NPC info for portrait display. Queries the currently selected quest in the quest log. -function GetQuestLogPortraitGiver() end \ No newline at end of file +function GetQuestLogPortraitGiver() end diff --git a/api/GetQuestLogPortraitTurnIn.lua b/api/GetQuestLogPortraitTurnIn.lua index 0eebc71..72239cc 100644 --- a/api/GetQuestLogPortraitTurnIn.lua +++ b/api/GetQuestLogPortraitTurnIn.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questPortrait ----@return string questPortraitText ----@return string questPortraitName +---@return number questPortrait +---@return string questPortraitText +---@return string questPortraitName ---Returns quest-related NPC info for portrait display -function GetQuestLogPortraitTurnIn() end \ No newline at end of file +function GetQuestLogPortraitTurnIn() end diff --git a/api/GetQuestLogPushable.lua b/api/GetQuestLogPushable.lua index 6e6388a..006180f 100644 --- a/api/GetQuestLogPushable.lua +++ b/api/GetQuestLogPushable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil shareable +---@return 1nil shareable ---Return whether the selected quest in the quest log can be shared to party members -function GetQuestLogPushable() end \ No newline at end of file +function GetQuestLogPushable() end diff --git a/api/GetQuestLogQuestText.lua b/api/GetQuestLogQuestText.lua index ffbed60..c380b26 100644 --- a/api/GetQuestLogQuestText.lua +++ b/api/GetQuestLogQuestText.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string questDescription ----@return string questObjectives +---@return string questDescription +---@return string questObjectives ---Returns the description and objective text for the selected quest in the quest log -function GetQuestLogQuestText() end \ No newline at end of file +function GetQuestLogQuestText() end diff --git a/api/GetQuestLogQuestType.lua b/api/GetQuestLogQuestType.lua index d254b3e..330e005 100644 --- a/api/GetQuestLogQuestType.lua +++ b/api/GetQuestLogQuestType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestLogQuestType() end \ No newline at end of file +function GetQuestLogQuestType() end diff --git a/api/GetQuestLogRequiredMoney.lua b/api/GetQuestLogRequiredMoney.lua index ae84610..3ed9515 100644 --- a/api/GetQuestLogRequiredMoney.lua +++ b/api/GetQuestLogRequiredMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number money +---@return number money ---Returns the amount of money required for the selected quest in the quest log -function GetQuestLogRequiredMoney() end \ No newline at end of file +function GetQuestLogRequiredMoney() end diff --git a/api/GetQuestLogRewardCurrencyInfo.lua b/api/GetQuestLogRewardCurrencyInfo.lua index 05a2c26..83a1182 100644 --- a/api/GetQuestLogRewardCurrencyInfo.lua +++ b/api/GetQuestLogRewardCurrencyInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestLogRewardCurrencyInfo() end \ No newline at end of file +function GetQuestLogRewardCurrencyInfo() end diff --git a/api/GetQuestLogRewardFactionInfo.lua b/api/GetQuestLogRewardFactionInfo.lua index 1e8a88b..26406e5 100644 --- a/api/GetQuestLogRewardFactionInfo.lua +++ b/api/GetQuestLogRewardFactionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestLogRewardFactionInfo() end \ No newline at end of file +function GetQuestLogRewardFactionInfo() end diff --git a/api/GetQuestLogRewardInfo.lua b/api/GetQuestLogRewardInfo.lua index 5a61415..63485dc 100644 --- a/api/GetQuestLogRewardInfo.lua +++ b/api/GetQuestLogRewardInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number numItems ----@return number quality ----@return 1nil isUsable +---@param index number +---@return string name +---@return string texture +---@return number numItems +---@return number quality +---@return 1nil isUsable ---Returns information about item rewards for the selected quest in the quest log. This function refers to items always awarded upon quest completion; for quest rewards for which the player is allowed to choose one item from among several, see GetQuestLogChoiceInfo. -function GetQuestLogRewardInfo(index) end \ No newline at end of file +function GetQuestLogRewardInfo(index) end diff --git a/api/GetQuestLogRewardMoney.lua b/api/GetQuestLogRewardMoney.lua index 685a023..8bf5203 100644 --- a/api/GetQuestLogRewardMoney.lua +++ b/api/GetQuestLogRewardMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number money +---@return number money ---Returns the money reward for the selected quest in the quest log -function GetQuestLogRewardMoney() end \ No newline at end of file +function GetQuestLogRewardMoney() end diff --git a/api/GetQuestLogRewardSkillPoints.lua b/api/GetQuestLogRewardSkillPoints.lua index 4c1bfb0..7bce258 100644 --- a/api/GetQuestLogRewardSkillPoints.lua +++ b/api/GetQuestLogRewardSkillPoints.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string skillName ----@return string icon ----@return number points +---@return string skillName +---@return string icon +---@return number points ---Returns skill point reward info for the selected quest in the quest log -function GetQuestLogRewardSkillPoints() end \ No newline at end of file +function GetQuestLogRewardSkillPoints() end diff --git a/api/GetQuestLogRewardSpell.lua b/api/GetQuestLogRewardSpell.lua index 00a38f5..4906caf 100644 --- a/api/GetQuestLogRewardSpell.lua +++ b/api/GetQuestLogRewardSpell.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string texture ----@return string name ----@return 1nil isTradeskillSpell ----@return 1nil isSpellLearned +---@return string texture +---@return string name +---@return 1nil isTradeskillSpell +---@return 1nil isSpellLearned ---Returns information about the spell reward for the selected quest in the quest log. If both isTradeskillSpell and isSpellLearned are nil, the reward is a spell cast upon the player. -function GetQuestLogRewardSpell() end \ No newline at end of file +function GetQuestLogRewardSpell() end diff --git a/api/GetQuestLogRewardTalents.lua b/api/GetQuestLogRewardTalents.lua index cd3bc3a..57b3d80 100644 --- a/api/GetQuestLogRewardTalents.lua +++ b/api/GetQuestLogRewardTalents.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number talents +---@return number talents ---Returns the talent point reward for the selected quest in the quest log. Returns 0 for quests which do not award talent points. (Very few quests award talent points; currently this functionality is only used within the Death Knight starting experience.) -function GetQuestLogRewardTalents() end \ No newline at end of file +function GetQuestLogRewardTalents() end diff --git a/api/GetQuestLogRewardTitle.lua b/api/GetQuestLogRewardTitle.lua index 377efae..9a2f8f0 100644 --- a/api/GetQuestLogRewardTitle.lua +++ b/api/GetQuestLogRewardTitle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string title +---@return string title ---Returns the title reward for the selected quest in the quest log. Returns nil if no title is awarded or if no quest is selected. -function GetQuestLogRewardTitle() end \ No newline at end of file +function GetQuestLogRewardTitle() end diff --git a/api/GetQuestLogRewardXP.lua b/api/GetQuestLogRewardXP.lua index 01fa624..0e97606 100644 --- a/api/GetQuestLogRewardXP.lua +++ b/api/GetQuestLogRewardXP.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number experience +---@return number experience ---Returns the experience reward at the player's level for the selected quest in the quest log -function GetQuestLogRewardXP() end \ No newline at end of file +function GetQuestLogRewardXP() end diff --git a/api/GetQuestLogSelection.lua b/api/GetQuestLogSelection.lua index 34948c5..d5c32ce 100644 --- a/api/GetQuestLogSelection.lua +++ b/api/GetQuestLogSelection.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questIndex +---@return number questIndex ---Returns the index of the selected quest in the quest log -function GetQuestLogSelection() end \ No newline at end of file +function GetQuestLogSelection() end diff --git a/api/GetQuestLogSpecialItemCooldown.lua b/api/GetQuestLogSpecialItemCooldown.lua index 8b4708d..2f621bb 100644 --- a/api/GetQuestLogSpecialItemCooldown.lua +++ b/api/GetQuestLogSpecialItemCooldown.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number ----@return number start ----@return number duration ----@return number enable +---@param questIndex number +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about an item associated with a current quest. Available for a number of quests which involve using an item (i.e. "Use the MacGuffin to summon and defeat the boss", "Use this saw to fell 12 trees", etc.) -function GetQuestLogSpecialItemCooldown(questIndex) end \ No newline at end of file +function GetQuestLogSpecialItemCooldown(questIndex) end diff --git a/api/GetQuestLogSpecialItemInfo.lua b/api/GetQuestLogSpecialItemInfo.lua index ce13b33..540d95c 100644 --- a/api/GetQuestLogSpecialItemInfo.lua +++ b/api/GetQuestLogSpecialItemInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number ----@return string link ----@return string icon ----@return number charges +---@param questIndex number +---@return string link +---@return string icon +---@return number charges ---Returns information about a usable item associated with a current quest. Available for a number of quests which involve using an item (i.e. "Use the MacGuffin to summon and defeat the boss", "Use this saw to fell 12 trees", etc.) -function GetQuestLogSpecialItemInfo(questIndex) end \ No newline at end of file +function GetQuestLogSpecialItemInfo(questIndex) end diff --git a/api/GetQuestLogSpellLink.lua b/api/GetQuestLogSpellLink.lua index 6003875..220f065 100644 --- a/api/GetQuestLogSpellLink.lua +++ b/api/GetQuestLogSpellLink.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string link +---@return string link ---Returns a hyperlink for a spell in the selected quest in the quest log -function GetQuestLogSpellLink() end \ No newline at end of file +function GetQuestLogSpellLink() end diff --git a/api/GetQuestLogTaskInfo.lua b/api/GetQuestLogTaskInfo.lua index 4807e15..eeefcf5 100644 --- a/api/GetQuestLogTaskInfo.lua +++ b/api/GetQuestLogTaskInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestLogTaskInfo() end \ No newline at end of file +function GetQuestLogTaskInfo() end diff --git a/api/GetQuestLogTimeLeft.lua b/api/GetQuestLogTimeLeft.lua index 3a0a66d..0a8434c 100644 --- a/api/GetQuestLogTimeLeft.lua +++ b/api/GetQuestLogTimeLeft.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questTimer +---@return number questTimer ---Returns time remaining for the selected quest in the quest log. If the selected quest is not timed, returns nil. -function GetQuestLogTimeLeft() end \ No newline at end of file +function GetQuestLogTimeLeft() end diff --git a/api/GetQuestLogTitle.lua b/api/GetQuestLogTitle.lua index b28c679..a0f6c3a 100644 --- a/api/GetQuestLogTitle.lua +++ b/api/GetQuestLogTitle.lua @@ -1,26 +1,26 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number ----@return string title ----@return number level ----@return number suggestedGroup ----@return boolean isHeader ----@return boolean isCollapsed ----@return nil isComplete ----@return -1 ----@return 1 ----@return nil ----@return LE_QUEST_FREQUENCY_WEEKLY frequency ----@return 1 ----@return LE_QUEST_FREQUENCY_DAILY ----@return LE_QUEST_FREQUENCY_WEEKLY ----@return number questID ----@return boolean startEvent ----@return boolean displayQuestID ----@return boolean isOnMap ----@return boolean hasLocalPOI ----@return boolean isTask ----@return boolean isStory ----@return boolean isHidden +---@param questIndex number +---@return string title +---@return number level +---@return number suggestedGroup +---@return boolean isHeader +---@return boolean isCollapsed +---@return nil isComplete +---@return -1 +---@return 1 +---@return nil +---@return LE_QUEST_FREQUENCY_WEEKLY frequency +---@return 1 +---@return LE_QUEST_FREQUENCY_DAILY +---@return LE_QUEST_FREQUENCY_WEEKLY +---@return number questID +---@return boolean startEvent +---@return boolean displayQuestID +---@return boolean isOnMap +---@return boolean hasLocalPOI +---@return boolean isTask +---@return boolean isStory +---@return boolean isHidden ---Returns information about an entry in the player's quest log -function GetQuestLogTitle(questIndex) end \ No newline at end of file +function GetQuestLogTitle(questIndex) end diff --git a/api/GetQuestMoneyToGet.lua b/api/GetQuestMoneyToGet.lua index 3a42bb8..765290a 100644 --- a/api/GetQuestMoneyToGet.lua +++ b/api/GetQuestMoneyToGet.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number money +---@return number money ---Returns the amount of money required to complete the quest presented by a questgiver. Usable following the QUEST_PROGRESS event in which it is determined whether the player can complete the quest. -function GetQuestMoneyToGet() end \ No newline at end of file +function GetQuestMoneyToGet() end diff --git a/api/GetQuestObjectiveInfo.lua b/api/GetQuestObjectiveInfo.lua index 666ede4..bef01d8 100644 --- a/api/GetQuestObjectiveInfo.lua +++ b/api/GetQuestObjectiveInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestObjectiveInfo() end \ No newline at end of file +function GetQuestObjectiveInfo() end diff --git a/api/GetQuestPOIBlobCount.lua b/api/GetQuestPOIBlobCount.lua index 38a131f..1b45e33 100644 --- a/api/GetQuestPOIBlobCount.lua +++ b/api/GetQuestPOIBlobCount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestPOIBlobCount() end \ No newline at end of file +function GetQuestPOIBlobCount() end diff --git a/api/GetQuestPOILeaderBoard.lua b/api/GetQuestPOILeaderBoard.lua index 5ed87d9..8abe918 100644 --- a/api/GetQuestPOILeaderBoard.lua +++ b/api/GetQuestPOILeaderBoard.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestPOILeaderBoard() end \ No newline at end of file +function GetQuestPOILeaderBoard() end diff --git a/api/GetQuestPOIWorldEffectInfo.lua b/api/GetQuestPOIWorldEffectInfo.lua index e73626c..1d44319 100644 --- a/api/GetQuestPOIWorldEffectInfo.lua +++ b/api/GetQuestPOIWorldEffectInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestPOIWorldEffectInfo() end \ No newline at end of file +function GetQuestPOIWorldEffectInfo() end diff --git a/api/GetQuestPOIs.lua b/api/GetQuestPOIs.lua index 9acd43b..33540f8 100644 --- a/api/GetQuestPOIs.lua +++ b/api/GetQuestPOIs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestPOIs() end \ No newline at end of file +function GetQuestPOIs() end diff --git a/api/GetQuestPortraitGiver.lua b/api/GetQuestPortraitGiver.lua index c13a686..fb32860 100644 --- a/api/GetQuestPortraitGiver.lua +++ b/api/GetQuestPortraitGiver.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questPortrait ----@return string questPortraitText ----@return string questPortraitName +---@return number questPortrait +---@return string questPortraitText +---@return string questPortraitName ---Returns quest-related NPC info for portrait display. Queries the quest currently being accepted. -function GetQuestPortraitGiver() end \ No newline at end of file +function GetQuestPortraitGiver() end diff --git a/api/GetQuestPortraitTurnIn.lua b/api/GetQuestPortraitTurnIn.lua index ade3deb..459f6c7 100644 --- a/api/GetQuestPortraitTurnIn.lua +++ b/api/GetQuestPortraitTurnIn.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number questPortrait ----@return string questPortraitText ----@return string questPortraitName +---@return number questPortrait +---@return string questPortraitText +---@return string questPortraitName ---Returns quest-related NPC info for portrait display. Queries the quest currently being turned in. -function GetQuestPortraitTurnIn() end \ No newline at end of file +function GetQuestPortraitTurnIn() end diff --git a/api/GetQuestProgressBarPercent.lua b/api/GetQuestProgressBarPercent.lua index 0e24daa..e428fef 100644 --- a/api/GetQuestProgressBarPercent.lua +++ b/api/GetQuestProgressBarPercent.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questID number ----@return number percent +---@param questID number +---@return number percent ---Returns the completion percent of a quest with a bar. Such as apexiszones. -function GetQuestProgressBarPercent(questID) end \ No newline at end of file +function GetQuestProgressBarPercent(questID) end diff --git a/api/GetQuestResetTime.lua b/api/GetQuestResetTime.lua index f4c8761..3144daf 100644 --- a/api/GetQuestResetTime.lua +++ b/api/GetQuestResetTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number time +---@return number time ---Returns the amount of time remaining until the daily quest period resets -function GetQuestResetTime() end \ No newline at end of file +function GetQuestResetTime() end diff --git a/api/GetQuestReward.lua b/api/GetQuestReward.lua index 3b8bc34..8b9d535 100644 --- a/api/GetQuestReward.lua +++ b/api/GetQuestReward.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param choice number +---@param choice number ---Finishes turning in a quest to a questgiver, selecting an item reward if applicable. Usable following the QUEST_COMPLETE event in which the questgiver presents the player with rewards. -function GetQuestReward(choice) end \ No newline at end of file +function GetQuestReward(choice) end diff --git a/api/GetQuestSortIndex.lua b/api/GetQuestSortIndex.lua index 95df75f..4ad2cae 100644 --- a/api/GetQuestSortIndex.lua +++ b/api/GetQuestSortIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestSortIndex() end \ No newline at end of file +function GetQuestSortIndex() end diff --git a/api/GetQuestSpellLink.lua b/api/GetQuestSpellLink.lua index 57ab700..5661e5a 100644 --- a/api/GetQuestSpellLink.lua +++ b/api/GetQuestSpellLink.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string link +---@return string link ---Returns a hyperlink for a spell in a questgiver dialog. Only valid when the questgiver UI is showing the accept/decline, progress, or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED, QUEST_PROGRESS and QUEST_FINISHED, or QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return empty values or those from the most recently displayed quest. -function GetQuestSpellLink() end \ No newline at end of file +function GetQuestSpellLink() end diff --git a/api/GetQuestTagInfo.lua b/api/GetQuestTagInfo.lua index 07c2e0b..669a955 100644 --- a/api/GetQuestTagInfo.lua +++ b/api/GetQuestTagInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestTagInfo() end \ No newline at end of file +function GetQuestTagInfo() end diff --git a/api/GetQuestText.lua b/api/GetQuestText.lua index a0e3e73..2625011 100644 --- a/api/GetQuestText.lua +++ b/api/GetQuestText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the text for the quest offered by a questgiver. Only valid when the questgiver UI is showing the accept/decline stage of a quest dialog (between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. -function GetQuestText() end \ No newline at end of file +function GetQuestText() end diff --git a/api/GetQuestTimers.lua b/api/GetQuestTimers.lua index 417fee9..9bf20ad 100644 --- a/api/GetQuestTimers.lua +++ b/api/GetQuestTimers.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number ... +---@return number ... ---Returns a list of the times remaining for any active timed quests -function GetQuestTimers() end \ No newline at end of file +function GetQuestTimers() end diff --git a/api/GetQuestWatchIndex.lua b/api/GetQuestWatchIndex.lua index d7fca6b..2b36862 100644 --- a/api/GetQuestWatchIndex.lua +++ b/api/GetQuestWatchIndex.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questLogIndex number ----@return number questWatchIndex +---@param questLogIndex number +---@return number questWatchIndex ---Returns the quest watch (objective tracker) index of a quest in the quest log -function GetQuestWatchIndex(questLogIndex) end \ No newline at end of file +function GetQuestWatchIndex(questLogIndex) end diff --git a/api/GetQuestWatchInfo.lua b/api/GetQuestWatchInfo.lua index eb06982..ca98419 100644 --- a/api/GetQuestWatchInfo.lua +++ b/api/GetQuestWatchInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetQuestWatchInfo() end \ No newline at end of file +function GetQuestWatchInfo() end diff --git a/api/GetQuestWorldMapAreaID.lua b/api/GetQuestWorldMapAreaID.lua index eff3e48..380b3e9 100644 --- a/api/GetQuestWorldMapAreaID.lua +++ b/api/GetQuestWorldMapAreaID.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questID number ----@return number mapID ----@return number floorNumber +---@param questID number +---@return number mapID +---@return number floorNumber ---Returns the map and floor for a given quest. The argument is the questID, not an index. To convert an index in the quest log use GetQuestLogTitle. -function GetQuestWorldMapAreaID(questID) end \ No newline at end of file +function GetQuestWorldMapAreaID(questID) end diff --git a/api/GetQuestsCompleted.lua b/api/GetQuestsCompleted.lua index c48e5f7..4121cf5 100644 --- a/api/GetQuestsCompleted.lua +++ b/api/GetQuestsCompleted.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questTbl table ----@return table completedQuests +---@param questTbl table +---@return table completedQuests ---Gets a table containing the quests the player has completed. This function will only return data after QueryQuestsCompleted() has been called and the QUEST_QUERY_COMPLETE event has fired. The keys in the returned table are the numeric questIds, with a value of true for each set key. -function GetQuestsCompleted(questTbl) end \ No newline at end of file +function GetQuestsCompleted(questTbl) end diff --git a/api/GetRFDungeonInfo.lua b/api/GetRFDungeonInfo.lua index 4681129..2f21266 100644 --- a/api/GetRFDungeonInfo.lua +++ b/api/GetRFDungeonInfo.lua @@ -1,23 +1,23 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index GetNumRFDungeons() ----@return number dungeonID ----@return string name ----@return number typeID ----@return number subtype ----@return number minLevel ----@return number maxLevel ----@return number recLevel ----@return number minRecLevel ----@return number maxRecLevel ----@return integer expansionId ----@return integer groupId ----@return string texture ----@return number difficultyID ----@return number numPlayers ----@return string description ----@return boolean isHoliday ----@return number bonusRepAmount ----@return number minPlayers +---@param index GetNumRFDungeons() +---@return number dungeonID +---@return string name +---@return number typeID +---@return number subtype +---@return number minLevel +---@return number maxLevel +---@return number recLevel +---@return number minRecLevel +---@return number maxRecLevel +---@return integer expansionId +---@return integer groupId +---@return string texture +---@return number difficultyID +---@return number numPlayers +---@return string description +---@return boolean isHoliday +---@return number bonusRepAmount +---@return number minPlayers ---Returns information about the raidfinder instances available.. This has almost the same results as GetLFGDungeonInfo which takes dungeonID as its argument. -function GetRFDungeonInfo(index) end \ No newline at end of file +function GetRFDungeonInfo(index) end diff --git a/api/GetRaidBuffInfo.lua b/api/GetRaidBuffInfo.lua index 6b567ab..94cdd64 100644 --- a/api/GetRaidBuffInfo.lua +++ b/api/GetRaidBuffInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRaidBuffInfo() end \ No newline at end of file +function GetRaidBuffInfo() end diff --git a/api/GetRaidDifficultyID.lua b/api/GetRaidDifficultyID.lua index 809e2b0..bd5192c 100644 --- a/api/GetRaidDifficultyID.lua +++ b/api/GetRaidDifficultyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRaidDifficultyID() end \ No newline at end of file +function GetRaidDifficultyID() end diff --git a/api/GetRaidProfileFlattenedOptions.lua b/api/GetRaidProfileFlattenedOptions.lua index b370c41..9e928db 100644 --- a/api/GetRaidProfileFlattenedOptions.lua +++ b/api/GetRaidProfileFlattenedOptions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRaidProfileFlattenedOptions() end \ No newline at end of file +function GetRaidProfileFlattenedOptions() end diff --git a/api/GetRaidProfileName.lua b/api/GetRaidProfileName.lua index 04b8cec..10704f9 100644 --- a/api/GetRaidProfileName.lua +++ b/api/GetRaidProfileName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRaidProfileName() end \ No newline at end of file +function GetRaidProfileName() end diff --git a/api/GetRaidProfileOption.lua b/api/GetRaidProfileOption.lua index d18833b..3e19e36 100644 --- a/api/GetRaidProfileOption.lua +++ b/api/GetRaidProfileOption.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRaidProfileOption() end \ No newline at end of file +function GetRaidProfileOption() end diff --git a/api/GetRaidProfileSavedPosition.lua b/api/GetRaidProfileSavedPosition.lua index a28a801..f670643 100644 --- a/api/GetRaidProfileSavedPosition.lua +++ b/api/GetRaidProfileSavedPosition.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRaidProfileSavedPosition() end \ No newline at end of file +function GetRaidProfileSavedPosition() end diff --git a/api/GetRaidRosterInfo.lua b/api/GetRaidRosterInfo.lua index 9ef87f2..36d9917 100644 --- a/api/GetRaidRosterInfo.lua +++ b/api/GetRaidRosterInfo.lua @@ -1,21 +1,21 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return 2 rank ----@return 0 ----@return 1 ----@return 2 ----@return number subgroup ----@return number level ----@return string class ----@return string fileName ----@return string zone ----@return 1nil online ----@return 1nil isDead ----@return MAINTANK role ----@return MAINASSIST ----@return MAINTANK ----@return 1nil isML +---@param index number +---@return string name +---@return 2 rank +---@return 0 +---@return 1 +---@return 2 +---@return number subgroup +---@return number level +---@return string class +---@return string fileName +---@return string zone +---@return 1nil online +---@return 1nil isDead +---@return MAINTANK role +---@return MAINASSIST +---@return MAINTANK +---@return 1nil isML ---Returns information about a member of the player's raid -function GetRaidRosterInfo(index) end \ No newline at end of file +function GetRaidRosterInfo(index) end diff --git a/api/GetRaidTargetIndex.lua b/api/GetRaidTargetIndex.lua index b5c886d..cb27d21 100644 --- a/api/GetRaidTargetIndex.lua +++ b/api/GetRaidTargetIndex.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return nil index ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return nil +---@param unit string +---@param name string +---@return nil index +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return nil ---Returns the index of the raid target marker on a unit -function GetRaidTargetIndex(unit, name) end \ No newline at end of file +function GetRaidTargetIndex(unit, name) end diff --git a/api/GetRandomBGHonorCurrencyBonuses.lua b/api/GetRandomBGHonorCurrencyBonuses.lua index 68b2d84..01bbd84 100644 --- a/api/GetRandomBGHonorCurrencyBonuses.lua +++ b/api/GetRandomBGHonorCurrencyBonuses.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRandomBGHonorCurrencyBonuses() end \ No newline at end of file +function GetRandomBGHonorCurrencyBonuses() end diff --git a/api/GetRandomDungeonBestChoice.lua b/api/GetRandomDungeonBestChoice.lua index 190d1a4..b13b558 100644 --- a/api/GetRandomDungeonBestChoice.lua +++ b/api/GetRandomDungeonBestChoice.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the dungeonID of the random dungeon group that provides the best loot for the player.. The dungeonID that is returned refers to an integer found in LFGDungeons.dbc. This function is normally used only for initialization of the LFGQueueFrame in FrameXML LFDFrame.lua. You can programatically join the suggested queue for a random dungeon for which your character is eligible. -function GetRandomDungeonBestChoice() end \ No newline at end of file +function GetRandomDungeonBestChoice() end diff --git a/api/GetRandomScenarioBestChoice.lua b/api/GetRandomScenarioBestChoice.lua index b02333d..44ea01d 100644 --- a/api/GetRandomScenarioBestChoice.lua +++ b/api/GetRandomScenarioBestChoice.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRandomScenarioBestChoice() end \ No newline at end of file +function GetRandomScenarioBestChoice() end diff --git a/api/GetRandomScenarioInfo.lua b/api/GetRandomScenarioInfo.lua index 7243268..0ada880 100644 --- a/api/GetRandomScenarioInfo.lua +++ b/api/GetRandomScenarioInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRandomScenarioInfo() end \ No newline at end of file +function GetRandomScenarioInfo() end diff --git a/api/GetRangedCritChance.lua b/api/GetRangedCritChance.lua index 305ede7..0130c94 100644 --- a/api/GetRangedCritChance.lua +++ b/api/GetRangedCritChance.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number critChance +---@return number critChance ---Returns the player's ranged critical strike chance -function GetRangedCritChance() end \ No newline at end of file +function GetRangedCritChance() end diff --git a/api/GetRangedHaste.lua b/api/GetRangedHaste.lua index 9401ecd..a5835a3 100644 --- a/api/GetRangedHaste.lua +++ b/api/GetRangedHaste.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number haste +---@return number haste ---Returns information about the player's ranged haste -function GetRangedHaste() end \ No newline at end of file +function GetRangedHaste() end diff --git a/api/GetRatedBattleGroundInfo.lua b/api/GetRatedBattleGroundInfo.lua index 99d42bf..1eab2a4 100644 --- a/api/GetRatedBattleGroundInfo.lua +++ b/api/GetRatedBattleGroundInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRatedBattleGroundInfo() end \ No newline at end of file +function GetRatedBattleGroundInfo() end diff --git a/api/GetReadyCheckStatus.lua b/api/GetReadyCheckStatus.lua index c84a82e..760ea0e 100644 --- a/api/GetReadyCheckStatus.lua +++ b/api/GetReadyCheckStatus.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return nil status ----@return "notready" ----@return "ready" ----@return "waiting" ----@return nil +---@param unit string +---@return nil status +---@return "notready" +---@return "ready" +---@return "waiting" +---@return nil ---Returns a unit's status during a ready check. Returns nil for all units unless the player is the party/raid leader or a raid assistant. -function GetReadyCheckStatus(unit) end \ No newline at end of file +function GetReadyCheckStatus(unit) end diff --git a/api/GetReadyCheckTimeLeft.lua b/api/GetReadyCheckTimeLeft.lua index 567c7f9..6cffd9f 100644 --- a/api/GetReadyCheckTimeLeft.lua +++ b/api/GetReadyCheckTimeLeft.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeLeft +---@return number timeLeft ---Returns the amount of time left on the current ready check. Returns 0 if no ready check is in progress. -function GetReadyCheckTimeLeft() end \ No newline at end of file +function GetReadyCheckTimeLeft() end diff --git a/api/GetReagentBankCost.lua b/api/GetReagentBankCost.lua index 33baa90..1363691 100644 --- a/api/GetReagentBankCost.lua +++ b/api/GetReagentBankCost.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cost +---@return number cost ---Returns the cost of the reagent bank tab -function GetReagentBankCost() end \ No newline at end of file +function GetReagentBankCost() end diff --git a/api/GetRealZoneText.lua b/api/GetRealZoneText.lua index e61f633..cfaf366 100644 --- a/api/GetRealZoneText.lua +++ b/api/GetRealZoneText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string zoneName +---@return string zoneName ---Returns the "official" name of the zone or instance in which the player is located. This name matches that seen in the Who, Guild, and Friends UIs when reporting character locations. It may differ from those the default UI displays in other locations (GetZoneText() and GetMinimapZoneText()), especially if the player is in an instance: e.g. this function returns "The Stockade" when the others return "Stormwind Stockade". -function GetRealZoneText() end \ No newline at end of file +function GetRealZoneText() end diff --git a/api/GetRealmName.lua b/api/GetRealmName.lua index 844f502..a58f948 100644 --- a/api/GetRealmName.lua +++ b/api/GetRealmName.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string realm +---@return string realm ---Returns the name of the player's realm (server name) -function GetRealmName() end \ No newline at end of file +function GetRealmName() end diff --git a/api/GetRecruitingGuildInfo.lua b/api/GetRecruitingGuildInfo.lua index 0daef3f..913771d 100644 --- a/api/GetRecruitingGuildInfo.lua +++ b/api/GetRecruitingGuildInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRecruitingGuildInfo() end \ No newline at end of file +function GetRecruitingGuildInfo() end diff --git a/api/GetRecruitingGuildSelection.lua b/api/GetRecruitingGuildSelection.lua index 1408834..3a36082 100644 --- a/api/GetRecruitingGuildSelection.lua +++ b/api/GetRecruitingGuildSelection.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRecruitingGuildSelection() end \ No newline at end of file +function GetRecruitingGuildSelection() end diff --git a/api/GetRecruitingGuildSettings.lua b/api/GetRecruitingGuildSettings.lua index 8babce2..88b3d12 100644 --- a/api/GetRecruitingGuildSettings.lua +++ b/api/GetRecruitingGuildSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRecruitingGuildSettings() end \ No newline at end of file +function GetRecruitingGuildSettings() end diff --git a/api/GetRecruitingGuildTabardInfo.lua b/api/GetRecruitingGuildTabardInfo.lua index 2733476..6a3ceb2 100644 --- a/api/GetRecruitingGuildTabardInfo.lua +++ b/api/GetRecruitingGuildTabardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRecruitingGuildTabardInfo() end \ No newline at end of file +function GetRecruitingGuildTabardInfo() end diff --git a/api/GetRefreshRates.lua b/api/GetRefreshRates.lua index 8f08160..b74e3e6 100644 --- a/api/GetRefreshRates.lua +++ b/api/GetRefreshRates.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number ... +---@return number ... ---Returns a list of available screen refresh rates. The current refresh rate can be found in the gxRefresh CVar. -function GetRefreshRates() end \ No newline at end of file +function GetRefreshRates() end diff --git a/api/GetRegisteredAddonMessagePrefixes.lua b/api/GetRegisteredAddonMessagePrefixes.lua index b068f61..1131d1f 100644 --- a/api/GetRegisteredAddonMessagePrefixes.lua +++ b/api/GetRegisteredAddonMessagePrefixes.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param prefixTable table ----@return table registeredPrefixes +---@param prefixTable table +---@return table registeredPrefixes ---Returns a table containing all addon message prefixes that have been registered -function GetRegisteredAddonMessagePrefixes(prefixTable) end \ No newline at end of file +function GetRegisteredAddonMessagePrefixes(prefixTable) end diff --git a/api/GetReleaseTimeRemaining.lua b/api/GetReleaseTimeRemaining.lua index 6b454b8..ac3eb91 100644 --- a/api/GetReleaseTimeRemaining.lua +++ b/api/GetReleaseTimeRemaining.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeleft +---@return number timeleft ---Returns the amount of time remaining until the player's spirit is automatically released when dead. Returns -1 if the player died in a dungeon or raid instance; in such cases, the player's spirit will not be released automatically (see RepopMe() to release manually). -function GetReleaseTimeRemaining() end \ No newline at end of file +function GetReleaseTimeRemaining() end diff --git a/api/GetRepairAllCost.lua b/api/GetRepairAllCost.lua index 8e0f401..8dda041 100644 --- a/api/GetRepairAllCost.lua +++ b/api/GetRepairAllCost.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number repairAllCost ----@return 1nil canRepair +---@return number repairAllCost +---@return 1nil canRepair ---Returns the cost to repair all of the player's damaged items. Returns 0, nil if none of the player's items are damaged. Only returns valid data while interacting with a vendor which allows repairs (i.e. for whom CanMerchantRepair() returns 1). -function GetRepairAllCost() end \ No newline at end of file +function GetRepairAllCost() end diff --git a/api/GetResSicknessDuration.lua b/api/GetResSicknessDuration.lua index ad02ae2..1f46958 100644 --- a/api/GetResSicknessDuration.lua +++ b/api/GetResSicknessDuration.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string resSicknessTime +---@return string resSicknessTime ---Returns the duration of resurrection sickness at the player's current level. Returns nil for players under level 10, who are allowed to resurrect at a spirit healer without suffering resurrection sickness. -function GetResSicknessDuration() end \ No newline at end of file +function GetResSicknessDuration() end diff --git a/api/GetRestState.lua b/api/GetRestState.lua index c3f102a..837c49a 100644 --- a/api/GetRestState.lua +++ b/api/GetRestState.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 4 state ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return string name ----@return number multiplier +---@return 4 state +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return string name +---@return number multiplier ---Returns the player's current rest state -function GetRestState() end \ No newline at end of file +function GetRestState() end diff --git a/api/GetRestrictedAccountData.lua b/api/GetRestrictedAccountData.lua index 9376cb7..bbd6b89 100644 --- a/api/GetRestrictedAccountData.lua +++ b/api/GetRestrictedAccountData.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRestrictedAccountData() end \ No newline at end of file +function GetRestrictedAccountData() end diff --git a/api/GetRewardMoney.lua b/api/GetRewardMoney.lua index 2cca528..e8606f5 100644 --- a/api/GetRewardMoney.lua +++ b/api/GetRewardMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number money +---@return number money ---Returns the amount of money awarded when completing a quest.   Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return zero or a value from the most recently displayed quest. -function GetRewardMoney() end \ No newline at end of file +function GetRewardMoney() end diff --git a/api/GetRewardNumSkillUps.lua b/api/GetRewardNumSkillUps.lua index edb2a98..313355b 100644 --- a/api/GetRewardNumSkillUps.lua +++ b/api/GetRewardNumSkillUps.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRewardNumSkillUps() end \ No newline at end of file +function GetRewardNumSkillUps() end diff --git a/api/GetRewardSkillLineID.lua b/api/GetRewardSkillLineID.lua index 785e37a..b86803a 100644 --- a/api/GetRewardSkillLineID.lua +++ b/api/GetRewardSkillLineID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRewardSkillLineID() end \ No newline at end of file +function GetRewardSkillLineID() end diff --git a/api/GetRewardSkillPoints.lua b/api/GetRewardSkillPoints.lua index c7af54a..0ea9297 100644 --- a/api/GetRewardSkillPoints.lua +++ b/api/GetRewardSkillPoints.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetRewardSkillPoints() end \ No newline at end of file +function GetRewardSkillPoints() end diff --git a/api/GetRewardSpell.lua b/api/GetRewardSpell.lua index 438c19f..6e4ceb4 100644 --- a/api/GetRewardSpell.lua +++ b/api/GetRewardSpell.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string texture ----@return string name ----@return 1nil isTradeskillSpell ----@return 1nil isSpellLearned +---@return string texture +---@return string name +---@return 1nil isTradeskillSpell +---@return 1nil isSpellLearned ---Returns information about a spell awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return zero or values from the most recently displayed quest. If both isTradeskillSpell and isSpellLearned are nil, the reward is a spell cast upon the player. -function GetRewardSpell() end \ No newline at end of file +function GetRewardSpell() end diff --git a/api/GetRewardTalents.lua b/api/GetRewardTalents.lua index b2a2f7b..5ec46f9 100644 --- a/api/GetRewardTalents.lua +++ b/api/GetRewardTalents.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number talents +---@return number talents ---Returns the talent points awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return zero or a value from the most recently displayed quest. (Very few quests award talent points; currently this functionality is only used within the Death Knight starting experience.) -function GetRewardTalents() end \ No newline at end of file +function GetRewardTalents() end diff --git a/api/GetRewardText.lua b/api/GetRewardText.lua index e72c58e..015c8e7 100644 --- a/api/GetRewardText.lua +++ b/api/GetRewardText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns questgiver dialog to be displayed when completing a quest. Only valid when the questgiver UI is showing the completion stage of a quest dialog (between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. -function GetRewardText() end \ No newline at end of file +function GetRewardText() end diff --git a/api/GetRewardTitle.lua b/api/GetRewardTitle.lua index 8c14203..4190630 100644 --- a/api/GetRewardTitle.lua +++ b/api/GetRewardTitle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string title +---@return string title ---Returns the title awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. -function GetRewardTitle() end \ No newline at end of file +function GetRewardTitle() end diff --git a/api/GetRewardXP.lua b/api/GetRewardXP.lua index 281c06d..8f00ede 100644 --- a/api/GetRewardXP.lua +++ b/api/GetRewardXP.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the experience awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. -function GetRewardXP() end \ No newline at end of file +function GetRewardXP() end diff --git a/api/GetRunningMacro.lua b/api/GetRunningMacro.lua index 516eaaa..86a4836 100644 --- a/api/GetRunningMacro.lua +++ b/api/GetRunningMacro.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the currently running macro. -function GetRunningMacro() end \ No newline at end of file +function GetRunningMacro() end diff --git a/api/GetRunningMacroButton.lua b/api/GetRunningMacroButton.lua index 53331cb..b489fce 100644 --- a/api/GetRunningMacroButton.lua +++ b/api/GetRunningMacroButton.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return RightButton button ----@return Button4 ----@return Button5 ----@return LeftButton ----@return MiddleButton ----@return RightButton +---@return RightButton button +---@return Button4 +---@return Button5 +---@return LeftButton +---@return MiddleButton +---@return RightButton ---Returns the mouse button that was used to activate the running macro -function GetRunningMacroButton() end \ No newline at end of file +function GetRunningMacroButton() end diff --git a/api/GetSavedInstanceChatLink.lua b/api/GetSavedInstanceChatLink.lua index 7db8363..009c843 100644 --- a/api/GetSavedInstanceChatLink.lua +++ b/api/GetSavedInstanceChatLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string hyperlink +---@param index number +---@return string hyperlink ---Returns a hyperlink for a player's raid save -function GetSavedInstanceChatLink(index) end \ No newline at end of file +function GetSavedInstanceChatLink(index) end diff --git a/api/GetSavedInstanceEncounterInfo.lua b/api/GetSavedInstanceEncounterInfo.lua index ea53d3c..7bd72c0 100644 --- a/api/GetSavedInstanceEncounterInfo.lua +++ b/api/GetSavedInstanceEncounterInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSavedInstanceEncounterInfo() end \ No newline at end of file +function GetSavedInstanceEncounterInfo() end diff --git a/api/GetSavedInstanceInfo.lua b/api/GetSavedInstanceInfo.lua index 35f679c..8b9f5e4 100644 --- a/api/GetSavedInstanceInfo.lua +++ b/api/GetSavedInstanceInfo.lua @@ -1,26 +1,26 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string instanceName ----@return number instanceID ----@return number instanceReset ----@return 9 instanceDifficulty ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return 9 ----@return boolean locked ----@return boolean extended ----@return number instanceIDMostSig ----@return boolean isRaid ----@return number maxPlayers ----@return string difficultyName ----@return number maxBosses ----@return number defeatedBosses +---@param index number +---@return string instanceName +---@return number instanceID +---@return number instanceReset +---@return 9 instanceDifficulty +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return 9 +---@return boolean locked +---@return boolean extended +---@return number instanceIDMostSig +---@return boolean isRaid +---@return number maxPlayers +---@return string difficultyName +---@return number maxBosses +---@return number defeatedBosses ---Returns information on a specific instance to which the player is saved -function GetSavedInstanceInfo(index) end \ No newline at end of file +function GetSavedInstanceInfo(index) end diff --git a/api/GetSavedWorldBossInfo.lua b/api/GetSavedWorldBossInfo.lua index 820d3d1..883d0c1 100644 --- a/api/GetSavedWorldBossInfo.lua +++ b/api/GetSavedWorldBossInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string instanceName ----@return number worldBossID ----@return number instanceReset +---@param index number +---@return string instanceName +---@return number worldBossID +---@return number instanceReset ---Returns information on a specific World Boss to which the player is saved. -function GetSavedWorldBossInfo(index) end \ No newline at end of file +function GetSavedWorldBossInfo(index) end diff --git a/api/GetScenariosChoiceOrder.lua b/api/GetScenariosChoiceOrder.lua index 14b6b32..38c7212 100644 --- a/api/GetScenariosChoiceOrder.lua +++ b/api/GetScenariosChoiceOrder.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetScenariosChoiceOrder() end \ No newline at end of file +function GetScenariosChoiceOrder() end diff --git a/api/GetScreenHeight.lua b/api/GetScreenHeight.lua index d22e2a9..80e987b 100644 --- a/api/GetScreenHeight.lua +++ b/api/GetScreenHeight.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number height +---@return number height ---Returns the height of the screen for UI layout purposes. Measurements for layout are affected by the UI Scale setting (i.e. the uiscale CVar) and may not match actual screen pixels. -function GetScreenHeight() end \ No newline at end of file +function GetScreenHeight() end diff --git a/api/GetScreenResolutions.lua b/api/GetScreenResolutions.lua index 2130dc6..e4c3df8 100644 --- a/api/GetScreenResolutions.lua +++ b/api/GetScreenResolutions.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string ... +---@return string ... ---Returns a list of available screen resolutions -function GetScreenResolutions() end \ No newline at end of file +function GetScreenResolutions() end diff --git a/api/GetScreenWidth.lua b/api/GetScreenWidth.lua index 7306ca7..211971e 100644 --- a/api/GetScreenWidth.lua +++ b/api/GetScreenWidth.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number screenWidth +---@return number screenWidth ---Returns the width of the screen for UI layout purposes. Measurements for layout are affected by the UI Scale setting (i.e. the uiscale CVar) and may not match actual screen pixels. -function GetScreenWidth() end \ No newline at end of file +function GetScreenWidth() end diff --git a/api/GetScriptCPUUsage.lua b/api/GetScriptCPUUsage.lua index 6069a76..1aa1d96 100644 --- a/api/GetScriptCPUUsage.lua +++ b/api/GetScriptCPUUsage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number usage +---@return number usage ---Returns the total CPU time used by the scripting system. Only returns valid data if the scriptProfile CVar is set to 1; returns 0 otherwise. -function GetScriptCPUUsage() end \ No newline at end of file +function GetScriptCPUUsage() end diff --git a/api/GetSelectedArtifactInfo.lua b/api/GetSelectedArtifactInfo.lua index e66ac13..7d8e720 100644 --- a/api/GetSelectedArtifactInfo.lua +++ b/api/GetSelectedArtifactInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return string description ----@return number rarity ----@return string icon ----@return string spellDescription ----@return number numSockets ----@return string bgTexture +---@return string name +---@return string description +---@return number rarity +---@return string icon +---@return string spellDescription +---@return number numSockets +---@return string bgTexture ---Returns information about the currently selected artifact. Works even if the archeology panel is closed. Artifacts have specific information as well as information specific to the spell casted when creating the artifact. Common artifacts share the same description throughout the same race. -function GetSelectedArtifactInfo() end \ No newline at end of file +function GetSelectedArtifactInfo() end diff --git a/api/GetSelectedAuctionItem.lua b/api/GetSelectedAuctionItem.lua index 575fa1b..14511b2 100644 --- a/api/GetSelectedAuctionItem.lua +++ b/api/GetSelectedAuctionItem.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@return number index +---@param list owner +---@param bidder +---@param list +---@param owner +---@return number index ---Returns the index of the currently selected item in an auction listing. Auction selection is used only for display and internal recordkeeping in the default UI; it has no direct effect on other Auction APIs. -function GetSelectedAuctionItem(list, bidder, list, owner) end \ No newline at end of file +function GetSelectedAuctionItem(list, bidder, list, owner) end diff --git a/api/GetSelectedDisplayChannel.lua b/api/GetSelectedDisplayChannel.lua index cdfa204..f22af5f 100644 --- a/api/GetSelectedDisplayChannel.lua +++ b/api/GetSelectedDisplayChannel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the selected channel in the channel list display -function GetSelectedDisplayChannel() end \ No newline at end of file +function GetSelectedDisplayChannel() end diff --git a/api/GetSelectedFaction.lua b/api/GetSelectedFaction.lua index 2113264..e7a8311 100644 --- a/api/GetSelectedFaction.lua +++ b/api/GetSelectedFaction.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns which faction entry is selected in the reputation UI. Selection has no bearing on other faction-related APIs; this function merely facilitates behaviors of Blizzard's reputation UI. -function GetSelectedFaction() end \ No newline at end of file +function GetSelectedFaction() end diff --git a/api/GetSelectedFriend.lua b/api/GetSelectedFriend.lua index 83a65ab..25d3cb4 100644 --- a/api/GetSelectedFriend.lua +++ b/api/GetSelectedFriend.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the selected character in the player's friends list. Selection in the Friends list is used only for display in the default UI and has no effect on other Friends list APIs. -function GetSelectedFriend() end \ No newline at end of file +function GetSelectedFriend() end diff --git a/api/GetSelectedGlyphSpellIndex.lua b/api/GetSelectedGlyphSpellIndex.lua index 4f81082..d3e936e 100644 --- a/api/GetSelectedGlyphSpellIndex.lua +++ b/api/GetSelectedGlyphSpellIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSelectedGlyphSpellIndex() end \ No newline at end of file +function GetSelectedGlyphSpellIndex() end diff --git a/api/GetSelectedIgnore.lua b/api/GetSelectedIgnore.lua index c0ca2e3..f56b8a5 100644 --- a/api/GetSelectedIgnore.lua +++ b/api/GetSelectedIgnore.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the selected character in the player's ignore list. Selection in the Ignore list is used only for display in the default UI and has no effect on other Ignore list APIs. -function GetSelectedIgnore() end \ No newline at end of file +function GetSelectedIgnore() end diff --git a/api/GetSelectedMute.lua b/api/GetSelectedMute.lua index b991624..27259e7 100644 --- a/api/GetSelectedMute.lua +++ b/api/GetSelectedMute.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number selectedMute +---@return number selectedMute ---Returns the index of the selected entry in the Muted list. Mute list selection is only used for display purposes in the default UI and has no effect on other API functions. -function GetSelectedMute() end \ No newline at end of file +function GetSelectedMute() end diff --git a/api/GetSelectedStationeryTexture.lua b/api/GetSelectedStationeryTexture.lua index d84879e..e728924 100644 --- a/api/GetSelectedStationeryTexture.lua +++ b/api/GetSelectedStationeryTexture.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the currently selected stationery type. Always returns 1; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. -function GetSelectedStationeryTexture() end \ No newline at end of file +function GetSelectedStationeryTexture() end diff --git a/api/GetSelectedWarGameType.lua b/api/GetSelectedWarGameType.lua index e2adafb..c6535dd 100644 --- a/api/GetSelectedWarGameType.lua +++ b/api/GetSelectedWarGameType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSelectedWarGameType() end \ No newline at end of file +function GetSelectedWarGameType() end diff --git a/api/GetSendMailCOD.lua b/api/GetSendMailCOD.lua index 19525cc..86ec69f 100644 --- a/api/GetSendMailCOD.lua +++ b/api/GetSendMailCOD.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the Cash-On-Delivery cost of the outgoing message. Returns the amount set via SetSendMailCOD(), which in the default UI is only called once its Send button has been clicked (immediately before sending the message). Thus, does not return the COD amount set in the default UI's Send Mail window. -function GetSendMailCOD() end \ No newline at end of file +function GetSendMailCOD() end diff --git a/api/GetSendMailItem.lua b/api/GetSendMailItem.lua index 3d5318b..988d18e 100644 --- a/api/GetSendMailItem.lua +++ b/api/GetSendMailItem.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return string itemName ----@return string itemTexture ----@return string stackCount ----@return number quality +---@param slot number +---@return string itemName +---@return string itemTexture +---@return string stackCount +---@return number quality ---Returns information for an item attached to the outgoing message -function GetSendMailItem(slot) end \ No newline at end of file +function GetSendMailItem(slot) end diff --git a/api/GetSendMailItemLink.lua b/api/GetSendMailItemLink.lua index 8760b77..958ebfc 100644 --- a/api/GetSendMailItemLink.lua +++ b/api/GetSendMailItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return string itemlink +---@param slot number +---@return string itemlink ---Returns a hyperlink for an item attached to the outgoing message -function GetSendMailItemLink(slot) end \ No newline at end of file +function GetSendMailItemLink(slot) end diff --git a/api/GetSendMailMoney.lua b/api/GetSendMailMoney.lua index 2a6e9a9..40b0543 100644 --- a/api/GetSendMailMoney.lua +++ b/api/GetSendMailMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the amount of money to be sent with the outgoing message. Returns the amount set via SetSendMailMoney(), which in the default UI is only called once its Send button has been clicked (immediately before sending the message). Thus, does not return the Send Money amount set in the default UI's Send Mail window. -function GetSendMailMoney() end \ No newline at end of file +function GetSendMailMoney() end diff --git a/api/GetSendMailPrice.lua b/api/GetSendMailPrice.lua index 102c872..2edba98 100644 --- a/api/GetSendMailPrice.lua +++ b/api/GetSendMailPrice.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number price +---@return number price ---Returns the cost to send the outgoing mail message. The cost of sending a message rises as more items are attached. -function GetSendMailPrice() end \ No newline at end of file +function GetSendMailPrice() end diff --git a/api/GetSessionTime.lua b/api/GetSessionTime.lua index d076e28..85299f8 100644 --- a/api/GetSessionTime.lua +++ b/api/GetSessionTime.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSessionTime() end \ No newline at end of file +function GetSessionTime() end diff --git a/api/GetSetBonusesForSpecializationByItemID.lua b/api/GetSetBonusesForSpecializationByItemID.lua index 3e51179..b5e4058 100644 --- a/api/GetSetBonusesForSpecializationByItemID.lua +++ b/api/GetSetBonusesForSpecializationByItemID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSetBonusesForSpecializationByItemID() end \ No newline at end of file +function GetSetBonusesForSpecializationByItemID() end diff --git a/api/GetShapeshiftForm.lua b/api/GetShapeshiftForm.lua index 016853d..45d438c 100644 --- a/api/GetShapeshiftForm.lua +++ b/api/GetShapeshiftForm.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the active ability on the stance/shapeshift bar -function GetShapeshiftForm() end \ No newline at end of file +function GetShapeshiftForm() end diff --git a/api/GetShapeshiftFormCooldown.lua b/api/GetShapeshiftFormCooldown.lua index d0bb56f..0900e22 100644 --- a/api/GetShapeshiftFormCooldown.lua +++ b/api/GetShapeshiftFormCooldown.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number start ----@return number duration ----@return number enable +---@param index number +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about an ability on the stance/shapeshift bar -function GetShapeshiftFormCooldown(index) end \ No newline at end of file +function GetShapeshiftFormCooldown(index) end diff --git a/api/GetShapeshiftFormID.lua b/api/GetShapeshiftFormID.lua index c1b846d..5eb3f3e 100644 --- a/api/GetShapeshiftFormID.lua +++ b/api/GetShapeshiftFormID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number id +---@return number id ---Returns the ID of the active shapeshift form. Possible return values are: Druids: Bear Form - 5 (BEAR_FORM constant) Cat Form - 1 (CAT_FORM constant) Aquatic Form - 4 Travel Form - 3 Moonkin Form - 31 (MOONKIN_FORM constant) Tree of Life - 2 Flight Form - 27 Holy Priests: Chakra: Chastise - 1 Chakra: Sanctuary - 2 Chakra: Serenity - 3 Spirit of Redemption - 4 Warriors: Battle Stance - 17 Defensive Stance - 18 Berserker Stance - 19 Warlocks: Metamorphosis - 22 -function GetShapeshiftFormID() end \ No newline at end of file +function GetShapeshiftFormID() end diff --git a/api/GetShapeshiftFormInfo.lua b/api/GetShapeshiftFormInfo.lua index 11f7238..914b62b 100644 --- a/api/GetShapeshiftFormInfo.lua +++ b/api/GetShapeshiftFormInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string texture ----@return string name ----@return 1nil isActive ----@return 1nil isCastable ----@return number spellID +---@param index number +---@return string texture +---@return string name +---@return 1nil isActive +---@return 1nil isCastable +---@return number spellID ---Returns information about an ability on the stance/shapeshift bar -function GetShapeshiftFormInfo(index) end \ No newline at end of file +function GetShapeshiftFormInfo(index) end diff --git a/api/GetShieldBlock.lua b/api/GetShieldBlock.lua index e1a229b..2816c86 100644 --- a/api/GetShieldBlock.lua +++ b/api/GetShieldBlock.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number damage +---@return number damage ---Returns the amount of damage prevented when the player blocks with a shield -function GetShieldBlock() end \ No newline at end of file +function GetShieldBlock() end diff --git a/api/GetSocketItemBoundTradeable.lua b/api/GetSocketItemBoundTradeable.lua index 2439d15..f69d5d2 100644 --- a/api/GetSocketItemBoundTradeable.lua +++ b/api/GetSocketItemBoundTradeable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil tradeable +---@return 1nil tradeable ---Returns whether the item open for socketing is temporarily tradeable. A Bind on Pickup item looted by the player can be traded to other characters who were originally eligible to loot it, but only within a limited time after looting. This period can be ended prematurely if the player attempts certain actions (such as socketing gems into the item). -function GetSocketItemBoundTradeable() end \ No newline at end of file +function GetSocketItemBoundTradeable() end diff --git a/api/GetSocketItemInfo.lua b/api/GetSocketItemInfo.lua index 488b617..d3c868b 100644 --- a/api/GetSocketItemInfo.lua +++ b/api/GetSocketItemInfo.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return string icon ----@return number quality +---@return string name +---@return string icon +---@return number quality ---Returns information about the item currently being socketed. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetSocketItemInfo() end \ No newline at end of file +function GetSocketItemInfo() end diff --git a/api/GetSocketItemRefundable.lua b/api/GetSocketItemRefundable.lua index 3191cd2..c5975a6 100644 --- a/api/GetSocketItemRefundable.lua +++ b/api/GetSocketItemRefundable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil refundable +---@return 1nil refundable ---Returns whether the item open for socketing is temporarily refundable. Items bought with alternate currency (honor points, arena points, or special items such as Emblems of Heroism and Dalaran Cooking Awards) can be returned to a vendor for a full refund, but only within a limited time after the original purchase. This period can be ended prematurely if the player attempts certain actions (such as socketing gems into the item). -function GetSocketItemRefundable() end \ No newline at end of file +function GetSocketItemRefundable() end diff --git a/api/GetSocketTypes.lua b/api/GetSocketTypes.lua index 7800193..18b2fac 100644 --- a/api/GetSocketTypes.lua +++ b/api/GetSocketTypes.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return Yellow gemColor ----@return Blue ----@return Meta ----@return Red ----@return Socket ----@return Yellow +---@param index number +---@return Yellow gemColor +---@return Blue +---@return Meta +---@return Red +---@return Socket +---@return Yellow ---Returns information about the gem types usable in a socket. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). -function GetSocketTypes(index) end \ No newline at end of file +function GetSocketTypes(index) end diff --git a/api/GetSortBagsRightToLeft.lua b/api/GetSortBagsRightToLeft.lua index 737e32b..8bfd063 100644 --- a/api/GetSortBagsRightToLeft.lua +++ b/api/GetSortBagsRightToLeft.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSortBagsRightToLeft() end \ No newline at end of file +function GetSortBagsRightToLeft() end diff --git a/api/GetSpecialization.lua b/api/GetSpecialization.lua index 8cfdde7..a68b4dc 100644 --- a/api/GetSpecialization.lua +++ b/api/GetSpecialization.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number specID +---@return number specID ---Return non-global specialization ID of currently active specialization. -function GetSpecialization() end \ No newline at end of file +function GetSpecialization() end diff --git a/api/GetSpecializationInfo.lua b/api/GetSpecializationInfo.lua index d57f4b2..a747379 100644 --- a/api/GetSpecializationInfo.lua +++ b/api/GetSpecializationInfo.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param specID number ----@param isInspect boolean ----@param isPet boolean ----@param inspectTarget string ----@param gender number ----@return number id ----@return string name ----@return string description ----@return string icon ----@return string background ----@return string role ----@return number primaryStat +---@param specID number +---@param isInspect boolean +---@param isPet boolean +---@param inspectTarget string +---@param gender number +---@return number id +---@return string name +---@return string description +---@return string icon +---@return string background +---@return string role +---@return number primaryStat ---Return additional data about player specializations. -function GetSpecializationInfo(specID, isInspect, isPet, inspectTarget, gender) end \ No newline at end of file +function GetSpecializationInfo(specID, isInspect, isPet, inspectTarget, gender) end diff --git a/api/GetSpecializationInfoByID.lua b/api/GetSpecializationInfoByID.lua index 1edc2e4..c841e0d 100644 --- a/api/GetSpecializationInfoByID.lua +++ b/api/GetSpecializationInfoByID.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param specID number ----@return number id ----@return string name ----@return string description ----@return string icon ----@return string background ----@return string role ----@return string class +---@param specID number +---@return number id +---@return string name +---@return string description +---@return string icon +---@return string background +---@return string role +---@return string class ---Return additional data about specializations. -function GetSpecializationInfoByID(specID) end \ No newline at end of file +function GetSpecializationInfoByID(specID) end diff --git a/api/GetSpecializationInfoForClassID.lua b/api/GetSpecializationInfoForClassID.lua index d9b0c54..0a34829 100644 --- a/api/GetSpecializationInfoForClassID.lua +++ b/api/GetSpecializationInfoForClassID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpecializationInfoForClassID() end \ No newline at end of file +function GetSpecializationInfoForClassID() end diff --git a/api/GetSpecializationMasterySpells.lua b/api/GetSpecializationMasterySpells.lua index e9d7a9a..21dbd36 100644 --- a/api/GetSpecializationMasterySpells.lua +++ b/api/GetSpecializationMasterySpells.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param specIndex number ----@param isInspect boolean ----@param isPet boolean ----@return number spellID +---@param specIndex number +---@param isInspect boolean +---@param isPet boolean +---@return number spellID ---Returns spellID of the mastery spell for a given specialization index. -function GetSpecializationMasterySpells(specIndex, isInspect, isPet) end \ No newline at end of file +function GetSpecializationMasterySpells(specIndex, isInspect, isPet) end diff --git a/api/GetSpecializationNameForSpecID.lua b/api/GetSpecializationNameForSpecID.lua index afd6dda..467aaa4 100644 --- a/api/GetSpecializationNameForSpecID.lua +++ b/api/GetSpecializationNameForSpecID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string name +---@param id number +---@return string name ---Return the Specialization name by global specialization ID. This function take in a global specialization ID to return the internationalized name of the specialization. -function GetSpecializationNameForSpecID(id) end \ No newline at end of file +function GetSpecializationNameForSpecID(id) end diff --git a/api/GetSpecializationReadinessSpell.lua b/api/GetSpecializationReadinessSpell.lua index 8ebeb8e..d308822 100644 --- a/api/GetSpecializationReadinessSpell.lua +++ b/api/GetSpecializationReadinessSpell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpecializationReadinessSpell() end \ No newline at end of file +function GetSpecializationReadinessSpell() end diff --git a/api/GetSpecializationRole.lua b/api/GetSpecializationRole.lua index 91e6031..0896c3d 100644 --- a/api/GetSpecializationRole.lua +++ b/api/GetSpecializationRole.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpecializationRole() end \ No newline at end of file +function GetSpecializationRole() end diff --git a/api/GetSpecializationRoleByID.lua b/api/GetSpecializationRoleByID.lua index c507e93..0c26533 100644 --- a/api/GetSpecializationRoleByID.lua +++ b/api/GetSpecializationRoleByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpecializationRoleByID() end \ No newline at end of file +function GetSpecializationRoleByID() end diff --git a/api/GetSpecializationSpells.lua b/api/GetSpecializationSpells.lua index 25f1138..94ded8f 100644 --- a/api/GetSpecializationSpells.lua +++ b/api/GetSpecializationSpells.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param specIndex number ----@param isInspect boolean ----@param isPet boolean ----@return number spellID ----@return number levelLearned ----@return list ... +---@param specIndex number +---@param isInspect boolean +---@param isPet boolean +---@return number spellID +---@return number levelLearned +---@return list ... ---Returns the spells associated with a specialization. -function GetSpecializationSpells(specIndex, isInspect, isPet) end \ No newline at end of file +function GetSpecializationSpells(specIndex, isInspect, isPet) end diff --git a/api/GetSpecsForSpell.lua b/api/GetSpecsForSpell.lua index 64c4e6c..94d9fb5 100644 --- a/api/GetSpecsForSpell.lua +++ b/api/GetSpecsForSpell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpecsForSpell() end \ No newline at end of file +function GetSpecsForSpell() end diff --git a/api/GetSpeed.lua b/api/GetSpeed.lua index 7002abc..8d9a0f1 100644 --- a/api/GetSpeed.lua +++ b/api/GetSpeed.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpeed() end \ No newline at end of file +function GetSpeed() end diff --git a/api/GetSpellAutocast.lua b/api/GetSpellAutocast.lua index 0fbc357..c5af23a 100644 --- a/api/GetSpellAutocast.lua +++ b/api/GetSpellAutocast.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@param bookType spell ----@param pet ----@param spell ----@return 1nil autocastAllowed ----@return 1nil autocastEnabled +---@param id number +---@param bookType spell +---@param pet +---@param spell +---@return 1nil autocastAllowed +---@return 1nil autocastEnabled ---Returns information about automatic casting for a spell in the spellbook. Generally, only certain pet spells can be autocast. -function GetSpellAutocast(id, bookType, pet, spell) end \ No newline at end of file +function GetSpellAutocast(id, bookType, pet, spell) end diff --git a/api/GetSpellAvailableLevel.lua b/api/GetSpellAvailableLevel.lua index fbab915..1a3fd16 100644 --- a/api/GetSpellAvailableLevel.lua +++ b/api/GetSpellAvailableLevel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellAvailableLevel() end \ No newline at end of file +function GetSpellAvailableLevel() end diff --git a/api/GetSpellBaseCooldown.lua b/api/GetSpellBaseCooldown.lua index 176e9ce..d98eeac 100644 --- a/api/GetSpellBaseCooldown.lua +++ b/api/GetSpellBaseCooldown.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return number cooldown +---@param id number +---@return number cooldown ---Returns the base cooldown of a spell -function GetSpellBaseCooldown(id) end \ No newline at end of file +function GetSpellBaseCooldown(id) end diff --git a/api/GetSpellBonusHealing.lua b/api/GetSpellBonusHealing.lua index e329e78..82a0b50 100644 --- a/api/GetSpellBonusHealing.lua +++ b/api/GetSpellBonusHealing.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return integer bonusHealing +---@return integer bonusHealing ---Returns the player's amount of bonus healing -function GetSpellBonusHealing() end \ No newline at end of file +function GetSpellBonusHealing() end diff --git a/api/GetSpellBookItemInfo.lua b/api/GetSpellBookItemInfo.lua index 80ec7dd..2cec23d 100644 --- a/api/GetSpellBookItemInfo.lua +++ b/api/GetSpellBookItemInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param spellName string ----@return string skillType ----@return number spellId +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param spellName string +---@return string skillType +---@return number spellId ---Retrieves information about a specific SpellBook item -function GetSpellBookItemInfo(index, bookType, pet, spell, spellName) end \ No newline at end of file +function GetSpellBookItemInfo(index, bookType, pet, spell, spellName) end diff --git a/api/GetSpellBookItemName.lua b/api/GetSpellBookItemName.lua index 955eb1e..da5c649 100644 --- a/api/GetSpellBookItemName.lua +++ b/api/GetSpellBookItemName.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param spellName string ----@return string Name ----@return string Subtext +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param spellName string +---@return string Name +---@return string Subtext ---Returns the name and sub-text of a spell in the spellbook -function GetSpellBookItemName(index, bookType, pet, spell, spellName) end \ No newline at end of file +function GetSpellBookItemName(index, bookType, pet, spell, spellName) end diff --git a/api/GetSpellBookItemTexture.lua b/api/GetSpellBookItemTexture.lua index 768b4d6..d3dab09 100644 --- a/api/GetSpellBookItemTexture.lua +++ b/api/GetSpellBookItemTexture.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellBookItemTexture() end \ No newline at end of file +function GetSpellBookItemTexture() end diff --git a/api/GetSpellCharges.lua b/api/GetSpellCharges.lua index b7bc96f..9b14a8e 100644 --- a/api/GetSpellCharges.lua +++ b/api/GetSpellCharges.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param id number ----@return number charges ----@return number maxCharges ----@return number start ----@return number duration +---@param name string +---@param id number +---@return number charges +---@return number maxCharges +---@return number start +---@return number duration ---Returns information on the number of charges on a spell in the spellbook -function GetSpellCharges(name, id) end \ No newline at end of file +function GetSpellCharges(name, id) end diff --git a/api/GetSpellConfirmationPromptsInfo.lua b/api/GetSpellConfirmationPromptsInfo.lua index 6c5b104..b634412 100644 --- a/api/GetSpellConfirmationPromptsInfo.lua +++ b/api/GetSpellConfirmationPromptsInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellConfirmationPromptsInfo() end \ No newline at end of file +function GetSpellConfirmationPromptsInfo() end diff --git a/api/GetSpellCooldown.lua b/api/GetSpellCooldown.lua index af52b48..a6084bf 100644 --- a/api/GetSpellCooldown.lua +++ b/api/GetSpellCooldown.lua @@ -4,12 +4,12 @@ ---| 'SPELL' ---| 'PET' ----@param index number +---@param index number ---@param bookType bookType ----@return number start ----@return number duration ----@return number enable +---@return number start +---@return number duration +---@return number enable ---Returns cooldown information about a spell in the spellbook ---@overload fun(name: string) ---@overload fun(id: number) -function GetSpellCooldown(index, bookType) end \ No newline at end of file +function GetSpellCooldown(index, bookType) end diff --git a/api/GetSpellCount.lua b/api/GetSpellCount.lua index 373cfec..a5fdbf1 100644 --- a/api/GetSpellCount.lua +++ b/api/GetSpellCount.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return number numCasts +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return number numCasts ---Returns the number of times a spell can be cast. Generally used for spells whose casting is limited by the number of item reagents in the player's possession. -function GetSpellCount(index, bookType, pet, spell, name) end \ No newline at end of file +function GetSpellCount(index, bookType, pet, spell, name) end diff --git a/api/GetSpellCritChanceFromIntellect.lua b/api/GetSpellCritChanceFromIntellect.lua index 1109111..9468113 100644 --- a/api/GetSpellCritChanceFromIntellect.lua +++ b/api/GetSpellCritChanceFromIntellect.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number critChance +---@param unit string +---@return number critChance ---Returns additional spell critical strike chance provided by Intellect -function GetSpellCritChanceFromIntellect(unit) end \ No newline at end of file +function GetSpellCritChanceFromIntellect(unit) end diff --git a/api/GetSpellDescription.lua b/api/GetSpellDescription.lua index 9e68965..b6bf722 100644 --- a/api/GetSpellDescription.lua +++ b/api/GetSpellDescription.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellId number ----@return string desc +---@param spellId number +---@return string desc ---Returns the description of a spell -function GetSpellDescription(spellId) end \ No newline at end of file +function GetSpellDescription(spellId) end diff --git a/api/GetSpellHitModifier.lua b/api/GetSpellHitModifier.lua index 9330b0a..bf6aa4a 100644 --- a/api/GetSpellHitModifier.lua +++ b/api/GetSpellHitModifier.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellHitModifier() end \ No newline at end of file +function GetSpellHitModifier() end diff --git a/api/GetSpellInfo.lua b/api/GetSpellInfo.lua index 53db973..bdf7b98 100644 --- a/api/GetSpellInfo.lua +++ b/api/GetSpellInfo.lua @@ -1,17 +1,17 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@param id number ----@return string name ----@return string rank ----@return string icon ----@return number castingTime ----@return number minRange ----@return number maxRange ----@return number spellID +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@param id number +---@return string name +---@return string rank +---@return string icon +---@return number castingTime +---@return number minRange +---@return number maxRange +---@return number spellID ---Returns information about a spell. As of 4.1, this function should always return valid data for a spell if the spell is in the player's spellbook (by name or index) or if requested by spell id. When in doubt, if the player does not have the spell in their spellbook, use the numeric id to access its information. -function GetSpellInfo(index, bookType, pet, spell, name, id) end \ No newline at end of file +function GetSpellInfo(index, bookType, pet, spell, name, id) end diff --git a/api/GetSpellLevelLearned.lua b/api/GetSpellLevelLearned.lua index 3a8eedd..fb36ec4 100644 --- a/api/GetSpellLevelLearned.lua +++ b/api/GetSpellLevelLearned.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellLevelLearned() end \ No newline at end of file +function GetSpellLevelLearned() end diff --git a/api/GetSpellLink.lua b/api/GetSpellLink.lua index 708c60b..0a95b1d 100644 --- a/api/GetSpellLink.lua +++ b/api/GetSpellLink.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@param id number ----@return string link ----@return string tradeLink +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@param id number +---@return string link +---@return string tradeLink ---Returns a hyperlink for a spell -function GetSpellLink(index, bookType, pet, spell, name, id) end \ No newline at end of file +function GetSpellLink(index, bookType, pet, spell, name, id) end diff --git a/api/GetSpellLossOfControlCooldown.lua b/api/GetSpellLossOfControlCooldown.lua index 9bc9add..49a1227 100644 --- a/api/GetSpellLossOfControlCooldown.lua +++ b/api/GetSpellLossOfControlCooldown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellLossOfControlCooldown() end \ No newline at end of file +function GetSpellLossOfControlCooldown() end diff --git a/api/GetSpellPenetration.lua b/api/GetSpellPenetration.lua index 0602f04..f2a516c 100644 --- a/api/GetSpellPenetration.lua +++ b/api/GetSpellPenetration.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number penetration +---@return number penetration ---Returns the amount of enemy magic resistance ignored due to the player's Spell Penetration Rating -function GetSpellPenetration() end \ No newline at end of file +function GetSpellPenetration() end diff --git a/api/GetSpellTabInfo.lua b/api/GetSpellTabInfo.lua index 64c0982..e6bb9de 100644 --- a/api/GetSpellTabInfo.lua +++ b/api/GetSpellTabInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number offset ----@return number numSpells +---@param index number +---@return string name +---@return string texture +---@return number offset +---@return number numSpells ---Returns information about a tab in the spellbook -function GetSpellTabInfo(index) end \ No newline at end of file +function GetSpellTabInfo(index) end diff --git a/api/GetSpellTexture.lua b/api/GetSpellTexture.lua index 04c7e0d..0561405 100644 --- a/api/GetSpellTexture.lua +++ b/api/GetSpellTexture.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return string texture +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return string texture ---Returns the icon texture path for a spell -function GetSpellTexture(index, bookType, pet, spell, name) end \ No newline at end of file +function GetSpellTexture(index, bookType, pet, spell, name) end diff --git a/api/GetSpellsForCharacterUpgradeTier.lua b/api/GetSpellsForCharacterUpgradeTier.lua index a1d739e..0ee4fa5 100644 --- a/api/GetSpellsForCharacterUpgradeTier.lua +++ b/api/GetSpellsForCharacterUpgradeTier.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSpellsForCharacterUpgradeTier() end \ No newline at end of file +function GetSpellsForCharacterUpgradeTier() end diff --git a/api/GetStationeryInfo.lua b/api/GetStationeryInfo.lua index a41b0ca..cf8b920 100644 --- a/api/GetStationeryInfo.lua +++ b/api/GetStationeryInfo.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number cost +---@param index number +---@return string name +---@return string texture +---@return number cost ---Returns information about a stationery type. Only returns information for the default stationery type; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. -function GetStationeryInfo(index) end \ No newline at end of file +function GetStationeryInfo(index) end diff --git a/api/GetStatistic.lua b/api/GetStatistic.lua index 6b293ec..7963b37 100644 --- a/api/GetStatistic.lua +++ b/api/GetStatistic.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return string info +---@param id number +---@return string info ---Returns data for a statistic that can be shown on the statistics tab of the achievements window -function GetStatistic(id) end \ No newline at end of file +function GetStatistic(id) end diff --git a/api/GetStatisticsCategoryList.lua b/api/GetStatisticsCategoryList.lua index 621a74a..d0103e4 100644 --- a/api/GetStatisticsCategoryList.lua +++ b/api/GetStatisticsCategoryList.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return table categories +---@return table categories ---Returns a list of all statistic categories -function GetStatisticsCategoryList() end \ No newline at end of file +function GetStatisticsCategoryList() end diff --git a/api/GetSubZoneText.lua b/api/GetSubZoneText.lua index 65f0731..594a3cc 100644 --- a/api/GetSubZoneText.lua +++ b/api/GetSubZoneText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string subzoneText +---@return string subzoneText ---Returns the name of the minor area in which the player is located. Subzones are named regions within a larger zone or instance: e.g. the Valley of Trials in Durotar, the Terrace of Light in Shattrath City, or the Njorn Stair in Utgarde Keep. -function GetSubZoneText() end \ No newline at end of file +function GetSubZoneText() end diff --git a/api/GetSuggestedGroupNum.lua b/api/GetSuggestedGroupNum.lua index 387fdc6..89bd622 100644 --- a/api/GetSuggestedGroupNum.lua +++ b/api/GetSuggestedGroupNum.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number suggestedGroup +---@return number suggestedGroup ---Returns the suggested group size for attempting the quest currently offered by a questgiver. Usable following the QUEST_DETAIL event in which the questgiver presents the player with the details of a quest and the option to accept or decline. -function GetSuggestedGroupNum() end \ No newline at end of file +function GetSuggestedGroupNum() end diff --git a/api/GetSummonConfirmAreaName.lua b/api/GetSummonConfirmAreaName.lua index eda5f33..f47c758 100644 --- a/api/GetSummonConfirmAreaName.lua +++ b/api/GetSummonConfirmAreaName.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string area +---@return string area ---Returns the destination area of an offered summons. The name returned is generally that of the subzone in which the summoner performed the spell. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. -function GetSummonConfirmAreaName() end \ No newline at end of file +function GetSummonConfirmAreaName() end diff --git a/api/GetSummonConfirmSummoner.lua b/api/GetSummonConfirmSummoner.lua index 67fdae5..2ba51df 100644 --- a/api/GetSummonConfirmSummoner.lua +++ b/api/GetSummonConfirmSummoner.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the name of the unit offering a summons to the player. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. -function GetSummonConfirmSummoner() end \ No newline at end of file +function GetSummonConfirmSummoner() end diff --git a/api/GetSummonConfirmTimeLeft.lua b/api/GetSummonConfirmTimeLeft.lua index 9bf8def..db1f602 100644 --- a/api/GetSummonConfirmTimeLeft.lua +++ b/api/GetSummonConfirmTimeLeft.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number timeleft +---@return number timeleft ---Returns the amount of time remaining before an offered summons expires. Returns 0 if no summons is currently available. -function GetSummonConfirmTimeLeft() end \ No newline at end of file +function GetSummonConfirmTimeLeft() end diff --git a/api/GetSummonFriendCooldown.lua b/api/GetSummonFriendCooldown.lua index 3552fca..2ff7043 100644 --- a/api/GetSummonFriendCooldown.lua +++ b/api/GetSummonFriendCooldown.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number start ----@return number duration +---@return number start +---@return number duration ---Returns cooldown information about the player's Summon Friend ability -function GetSummonFriendCooldown() end \ No newline at end of file +function GetSummonFriendCooldown() end diff --git a/api/GetSuperTrackedQuestID.lua b/api/GetSuperTrackedQuestID.lua index 42db403..925d30a 100644 --- a/api/GetSuperTrackedQuestID.lua +++ b/api/GetSuperTrackedQuestID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetSuperTrackedQuestID() end \ No newline at end of file +function GetSuperTrackedQuestID() end diff --git a/api/GetTabardCreationCost.lua b/api/GetTabardCreationCost.lua index b573684..f9dab59 100644 --- a/api/GetTabardCreationCost.lua +++ b/api/GetTabardCreationCost.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number cost +---@return number cost ---Returns the cost to create a guild tabard. Only returns valid data if the player is interacting with a tabard designer (i.e. between the OPEN_TABARD_FRAME and CLOSE_TABARD_FRAME events). -function GetTabardCreationCost() end \ No newline at end of file +function GetTabardCreationCost() end diff --git a/api/GetTabardInfo.lua b/api/GetTabardInfo.lua index d33bfa9..671873e 100644 --- a/api/GetTabardInfo.lua +++ b/api/GetTabardInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTabardInfo() end \ No newline at end of file +function GetTabardInfo() end diff --git a/api/GetTalentClearInfo.lua b/api/GetTalentClearInfo.lua index 633e8c0..4cd0368 100644 --- a/api/GetTalentClearInfo.lua +++ b/api/GetTalentClearInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTalentClearInfo() end \ No newline at end of file +function GetTalentClearInfo() end diff --git a/api/GetTalentInfo.lua b/api/GetTalentInfo.lua index aa6ed38..97217c7 100644 --- a/api/GetTalentInfo.lua +++ b/api/GetTalentInfo.lua @@ -1,18 +1,18 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tier number ----@param column number ----@param talentGroup number ----@param isInspect boolean ----@param inspectedUnit string ----@return string talentID ----@return string name ----@return string texture ----@return boolean selected ----@return boolean available ----@return number spellid ----@return number tier ----@return number column ----@return boolean selected +---@param tier number +---@param column number +---@param talentGroup number +---@param isInspect boolean +---@param inspectedUnit string +---@return string talentID +---@return string name +---@return string texture +---@return boolean selected +---@return boolean available +---@return number spellid +---@return number tier +---@return number column +---@return boolean selected ---Returns information about a talent option -function GetTalentInfo(tier, column, talentGroup, isInspect, inspectedUnit) end \ No newline at end of file +function GetTalentInfo(tier, column, talentGroup, isInspect, inspectedUnit) end diff --git a/api/GetTalentInfoByID.lua b/api/GetTalentInfoByID.lua index 9cc765c..3317b99 100644 --- a/api/GetTalentInfoByID.lua +++ b/api/GetTalentInfoByID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTalentInfoByID() end \ No newline at end of file +function GetTalentInfoByID() end diff --git a/api/GetTalentInfoBySpecialization.lua b/api/GetTalentInfoBySpecialization.lua index 5f071b5..03718cb 100644 --- a/api/GetTalentInfoBySpecialization.lua +++ b/api/GetTalentInfoBySpecialization.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTalentInfoBySpecialization() end \ No newline at end of file +function GetTalentInfoBySpecialization() end diff --git a/api/GetTalentRowSelectionInfo.lua b/api/GetTalentRowSelectionInfo.lua index 5ac0d1e..f1a2211 100644 --- a/api/GetTalentRowSelectionInfo.lua +++ b/api/GetTalentRowSelectionInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTalentRowSelectionInfo() end \ No newline at end of file +function GetTalentRowSelectionInfo() end diff --git a/api/GetTargetTradeCurrency.lua b/api/GetTargetTradeCurrency.lua index bbd31b1..8ac665b 100644 --- a/api/GetTargetTradeCurrency.lua +++ b/api/GetTargetTradeCurrency.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTargetTradeCurrency() end \ No newline at end of file +function GetTargetTradeCurrency() end diff --git a/api/GetTargetTradeMoney.lua b/api/GetTargetTradeMoney.lua index e8571af..c35dff4 100644 --- a/api/GetTargetTradeMoney.lua +++ b/api/GetTargetTradeMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number amount +---@return number amount ---Returns the amount of money offered for trade by the target -function GetTargetTradeMoney() end \ No newline at end of file +function GetTargetTradeMoney() end diff --git a/api/GetTaxiBenchmarkMode.lua b/api/GetTaxiBenchmarkMode.lua index 683ee3e..d0bc863 100644 --- a/api/GetTaxiBenchmarkMode.lua +++ b/api/GetTaxiBenchmarkMode.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isBenchmark +---@return 1nil isBenchmark ---Returns whether flight path benchmark mode is enabled -function GetTaxiBenchmarkMode() end \ No newline at end of file +function GetTaxiBenchmarkMode() end diff --git a/api/GetTempShapeshiftBarIndex.lua b/api/GetTempShapeshiftBarIndex.lua index e6fc052..8ba88c7 100644 --- a/api/GetTempShapeshiftBarIndex.lua +++ b/api/GetTempShapeshiftBarIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTempShapeshiftBarIndex() end \ No newline at end of file +function GetTempShapeshiftBarIndex() end diff --git a/api/GetText.lua b/api/GetText.lua index ab97e0d..b53d88a 100644 --- a/api/GetText.lua +++ b/api/GetText.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param token string ----@param gender number ----@param ordinal number ----@return string text +---@param token string +---@param gender number +---@param ordinal number +---@return string text ---Returns a localized string according to given parameters. Applies to any global variable whose name fits a standard format: for example, GetText("foo") returns the value of the global variable foo (if it exists), and GetText("foo", 3) returns the value of foo_FEMALE (or if it does not exist, the value of foo). Causes a Lua error if the given variable does not exists (or is nil). -function GetText(token, gender, ordinal) end \ No newline at end of file +function GetText(token, gender, ordinal) end diff --git a/api/GetThreatStatusColor.lua b/api/GetThreatStatusColor.lua index b9cb077..57c4da5 100644 --- a/api/GetThreatStatusColor.lua +++ b/api/GetThreatStatusColor.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param status number ----@return number red ----@return number green ----@return number blue +---@param status number +---@return number red +---@return number green +---@return number blue ---Returns color values for a given threat status. Color component values are floating point numbers between 0 and 1, with 1 representing full intensity. -function GetThreatStatusColor(status) end \ No newline at end of file +function GetThreatStatusColor(status) end diff --git a/api/GetTime.lua b/api/GetTime.lua index 13084f0..276da37 100644 --- a/api/GetTime.lua +++ b/api/GetTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number time +---@return number time ---Returns a number representing the current time (with millisecond precision). Unlike with time(), the number returned by this function has no meaning of its own and may not be comparable across clients; however, since it also provides higher resolution it can be compared against itself for high-precision time measurements. As of patch 4.3 this function's value is cached and will not change until the next OnUpdate fires. See debugprofilestop() for an alternative. -function GetTime() end \ No newline at end of file +function GetTime() end diff --git a/api/GetTimeToWellRested.lua b/api/GetTimeToWellRested.lua index 8d22f6f..7cef6ae 100644 --- a/api/GetTimeToWellRested.lua +++ b/api/GetTimeToWellRested.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTimeToWellRested() end \ No newline at end of file +function GetTimeToWellRested() end diff --git a/api/GetTitleName.lua b/api/GetTitleName.lua index 5ab0161..d5c186a 100644 --- a/api/GetTitleName.lua +++ b/api/GetTitleName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param titleIndex integer ----@return string titleName +---@param titleIndex integer +---@return string titleName ---Returns the text of an available player title -function GetTitleName(titleIndex) end \ No newline at end of file +function GetTitleName(titleIndex) end diff --git a/api/GetTitleText.lua b/api/GetTitleText.lua index 1e52915..ab049d5 100644 --- a/api/GetTitleText.lua +++ b/api/GetTitleText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the title text for the quest presented by a questgiver. Only valid following the QUEST_DETAIL, QUEST_PROGRESS, or QUEST_COMPLETE events; otherwise may return nil or a value from the most recently displayed quest. -function GetTitleText() end \ No newline at end of file +function GetTitleText() end diff --git a/api/GetTotalAchievementPoints.lua b/api/GetTotalAchievementPoints.lua index 82414e5..7a2f1d6 100644 --- a/api/GetTotalAchievementPoints.lua +++ b/api/GetTotalAchievementPoints.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param guild bool ----@return number points +---@param guild bool +---@return number points ---Returns the player's total achievement points earned -function GetTotalAchievementPoints(guild) end \ No newline at end of file +function GetTotalAchievementPoints(guild) end diff --git a/api/GetTrackedAchievements.lua b/api/GetTrackedAchievements.lua index c71b900..37d2966 100644 --- a/api/GetTrackedAchievements.lua +++ b/api/GetTrackedAchievements.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns numeric IDs of the achievements flagged for display in the objectives tracker UI -function GetTrackedAchievements() end \ No newline at end of file +function GetTrackedAchievements() end diff --git a/api/GetTrackingInfo.lua b/api/GetTrackingInfo.lua index 60453be..9f4d6dd 100644 --- a/api/GetTrackingInfo.lua +++ b/api/GetTrackingInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return 1nil active ----@return spell category ----@return other ----@return spell +---@param index number +---@return string name +---@return string texture +---@return 1nil active +---@return spell category +---@return other +---@return spell ---Returns information about a given tracking option -function GetTrackingInfo(index) end \ No newline at end of file +function GetTrackingInfo(index) end diff --git a/api/GetTradePlayerItemInfo.lua b/api/GetTradePlayerItemInfo.lua index 32043a0..8312d08 100644 --- a/api/GetTradePlayerItemInfo.lua +++ b/api/GetTradePlayerItemInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number numItems ----@return number quality ----@return 1nil isUsable ----@return string enchantment +---@param index number +---@return string name +---@return string texture +---@return number numItems +---@return number quality +---@return 1nil isUsable +---@return string enchantment ---Returns information about an item offered for trade by the player -function GetTradePlayerItemInfo(index) end \ No newline at end of file +function GetTradePlayerItemInfo(index) end diff --git a/api/GetTradePlayerItemLink.lua b/api/GetTradePlayerItemLink.lua index f9b9091..1beb783 100644 --- a/api/GetTradePlayerItemLink.lua +++ b/api/GetTradePlayerItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for an item offered for trade by the player -function GetTradePlayerItemLink(index) end \ No newline at end of file +function GetTradePlayerItemLink(index) end diff --git a/api/GetTradeSkillCategoryFilter.lua b/api/GetTradeSkillCategoryFilter.lua index c8160e4..63a0382 100644 --- a/api/GetTradeSkillCategoryFilter.lua +++ b/api/GetTradeSkillCategoryFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTradeSkillCategoryFilter() end \ No newline at end of file +function GetTradeSkillCategoryFilter() end diff --git a/api/GetTradeSkillCooldown.lua b/api/GetTradeSkillCooldown.lua index 4424454..c17b51f 100644 --- a/api/GetTradeSkillCooldown.lua +++ b/api/GetTradeSkillCooldown.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number cooldown +---@param index number +---@return number cooldown ---Returns the time remaining on a trade skill recipe's cooldown -function GetTradeSkillCooldown(index) end \ No newline at end of file +function GetTradeSkillCooldown(index) end diff --git a/api/GetTradeSkillDescription.lua b/api/GetTradeSkillDescription.lua index b732bc6..b069cca 100644 --- a/api/GetTradeSkillDescription.lua +++ b/api/GetTradeSkillDescription.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string description +---@param index number +---@return string description ---Returns descriptive text for a tradeskill recipe. Most recipes that create items don't provide descriptive text; it's more often used for enchants and special recipes such as inscription or alchemy research. -function GetTradeSkillDescription(index) end \ No newline at end of file +function GetTradeSkillDescription(index) end diff --git a/api/GetTradeSkillIcon.lua b/api/GetTradeSkillIcon.lua index 65b3314..2906796 100644 --- a/api/GetTradeSkillIcon.lua +++ b/api/GetTradeSkillIcon.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string texturePath +---@param index number +---@return string texturePath ---Returns the icon for a trade skill recipe. For recipes which create an item, this is generally the icon of the item created; for other recipes (such as enchants and alchemy/inscription research) a generic icon is used. -function GetTradeSkillIcon(index) end \ No newline at end of file +function GetTradeSkillIcon(index) end diff --git a/api/GetTradeSkillInfo.lua b/api/GetTradeSkillInfo.lua index d2225c7..efdcb07 100644 --- a/api/GetTradeSkillInfo.lua +++ b/api/GetTradeSkillInfo.lua @@ -1,29 +1,29 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string skillName ----@return trivial skillType ----@return easy ----@return header ----@return medium ----@return optimal ----@return trivial ----@return number numAvailable ----@return 1nil isExpanded ----@return nil serviceType ----@return Emboss ----@return Embrodier ----@return Enchant ----@return Engrave ----@return Inscribe ----@return Modify ----@return Tinker ----@return nil ----@return number numSkillUps ----@return number indentLevel ----@return 1nil showProgressBar ----@return number currentRank ----@return number maxRank ----@return number startingRank +---@param index number +---@return string skillName +---@return trivial skillType +---@return easy +---@return header +---@return medium +---@return optimal +---@return trivial +---@return number numAvailable +---@return 1nil isExpanded +---@return nil serviceType +---@return Emboss +---@return Embrodier +---@return Enchant +---@return Engrave +---@return Inscribe +---@return Modify +---@return Tinker +---@return nil +---@return number numSkillUps +---@return number indentLevel +---@return 1nil showProgressBar +---@return number currentRank +---@return number maxRank +---@return number startingRank ---Returns information about a trade skill header or recipe -function GetTradeSkillInfo(index) end \ No newline at end of file +function GetTradeSkillInfo(index) end diff --git a/api/GetTradeSkillInvSlotFilter.lua b/api/GetTradeSkillInvSlotFilter.lua index 0ee31e1..b8e13c4 100644 --- a/api/GetTradeSkillInvSlotFilter.lua +++ b/api/GetTradeSkillInvSlotFilter.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return 1nil enabled +---@param index number +---@return 1nil enabled ---Returns whether the trade skill listing is filtered by a given item equipment slot -function GetTradeSkillInvSlotFilter(index) end \ No newline at end of file +function GetTradeSkillInvSlotFilter(index) end diff --git a/api/GetTradeSkillInvSlots.lua b/api/GetTradeSkillInvSlots.lua index 1dac60c..128be03 100644 --- a/api/GetTradeSkillInvSlots.lua +++ b/api/GetTradeSkillInvSlots.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of recipe equipment slots for the current trade skill. These inventory types correspond to those of the items produced (see GetItemInfo() and GetAuctionItemInvTypes()) and can be used to filter the recipe list. -function GetTradeSkillInvSlots() end \ No newline at end of file +function GetTradeSkillInvSlots() end diff --git a/api/GetTradeSkillItemLevelFilter.lua b/api/GetTradeSkillItemLevelFilter.lua index bf24a47..2f19c29 100644 --- a/api/GetTradeSkillItemLevelFilter.lua +++ b/api/GetTradeSkillItemLevelFilter.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number minLevel ----@return number maxLevel +---@return number minLevel +---@return number maxLevel ---Returns the current settings for filtering the trade skill listing by required level of items produced -function GetTradeSkillItemLevelFilter() end \ No newline at end of file +function GetTradeSkillItemLevelFilter() end diff --git a/api/GetTradeSkillItemLink.lua b/api/GetTradeSkillItemLink.lua index 61faaad..f360d1d 100644 --- a/api/GetTradeSkillItemLink.lua +++ b/api/GetTradeSkillItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for the item created by a tradeskill recipe. The tooltip produced when resolving the link describes only the item created by the recipe. For a link which describes the recipe itself (its reagents and description), see GetTradeSkillRecipeLink(). If the recipe does not create an item, this function returns the same hyperlink as does GetTradeSkillRecipeLink() (though the text of the link may differ). -function GetTradeSkillItemLink(index) end \ No newline at end of file +function GetTradeSkillItemLink(index) end diff --git a/api/GetTradeSkillItemNameFilter.lua b/api/GetTradeSkillItemNameFilter.lua index ec8adef..3bfa58d 100644 --- a/api/GetTradeSkillItemNameFilter.lua +++ b/api/GetTradeSkillItemNameFilter.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the current search text for filtering the trade skill listing by name -function GetTradeSkillItemNameFilter() end \ No newline at end of file +function GetTradeSkillItemNameFilter() end diff --git a/api/GetTradeSkillLine.lua b/api/GetTradeSkillLine.lua index 2dbabc5..74bde84 100644 --- a/api/GetTradeSkillLine.lua +++ b/api/GetTradeSkillLine.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string tradeskillName ----@return number rank ----@return number maxLevel +---@return string tradeskillName +---@return number rank +---@return number maxLevel ---Returns information about the current trade skill -function GetTradeSkillLine() end \ No newline at end of file +function GetTradeSkillLine() end diff --git a/api/GetTradeSkillListLink.lua b/api/GetTradeSkillListLink.lua index 63a9602..c2a3d89 100644 --- a/api/GetTradeSkillListLink.lua +++ b/api/GetTradeSkillListLink.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string link +---@return string link ---Returns a hyperlink to the player's list of recipes for the current trade skill -function GetTradeSkillListLink() end \ No newline at end of file +function GetTradeSkillListLink() end diff --git a/api/GetTradeSkillNumMade.lua b/api/GetTradeSkillNumMade.lua index e457e0e..e548c00 100644 --- a/api/GetTradeSkillNumMade.lua +++ b/api/GetTradeSkillNumMade.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number minMade ----@return number maxMade +---@param index number +---@return number minMade +---@return number maxMade ---Returns the number of items created when performing a tradeskill recipe -function GetTradeSkillNumMade(index) end \ No newline at end of file +function GetTradeSkillNumMade(index) end diff --git a/api/GetTradeSkillNumReagents.lua b/api/GetTradeSkillNumReagents.lua index d43092d..38b7b1b 100644 --- a/api/GetTradeSkillNumReagents.lua +++ b/api/GetTradeSkillNumReagents.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number numReagents +---@param index number +---@return number numReagents ---Returns the number of different reagents required for a trade skill recipe -function GetTradeSkillNumReagents(index) end \ No newline at end of file +function GetTradeSkillNumReagents(index) end diff --git a/api/GetTradeSkillReagentInfo.lua b/api/GetTradeSkillReagentInfo.lua index f9defd2..8949f0e 100644 --- a/api/GetTradeSkillReagentInfo.lua +++ b/api/GetTradeSkillReagentInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param skillIndex number ----@param reagentIndex number ----@return string reagentName ----@return string reagentTexture ----@return number reagentCount ----@return number playerReagentCount +---@param skillIndex number +---@param reagentIndex number +---@return string reagentName +---@return string reagentTexture +---@return number reagentCount +---@return number playerReagentCount ---Returns information about a reagent in a trade skill recipe -function GetTradeSkillReagentInfo(skillIndex, reagentIndex) end \ No newline at end of file +function GetTradeSkillReagentInfo(skillIndex, reagentIndex) end diff --git a/api/GetTradeSkillReagentItemLink.lua b/api/GetTradeSkillReagentItemLink.lua index 37425bc..c247c63 100644 --- a/api/GetTradeSkillReagentItemLink.lua +++ b/api/GetTradeSkillReagentItemLink.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param skillIndex number ----@param reagentIndex number ----@return string link +---@param skillIndex number +---@param reagentIndex number +---@return string link ---Returns a hyperlink for a reagent in a tradeskill recipe -function GetTradeSkillReagentItemLink(skillIndex, reagentIndex) end \ No newline at end of file +function GetTradeSkillReagentItemLink(skillIndex, reagentIndex) end diff --git a/api/GetTradeSkillRecipeLink.lua b/api/GetTradeSkillRecipeLink.lua index 119e78e..15ab016 100644 --- a/api/GetTradeSkillRecipeLink.lua +++ b/api/GetTradeSkillRecipeLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns hyperlink for a tradeskill recipe. The tooltip produced when resolving the link describes the recipe itself -- its reagents and (if present) description -- in addition to (if applicable) the item created. For a link which only describes the created item, see GetTradeSkillItemLink(). -function GetTradeSkillRecipeLink(index) end \ No newline at end of file +function GetTradeSkillRecipeLink(index) end diff --git a/api/GetTradeSkillSelectionIndex.lua b/api/GetTradeSkillSelectionIndex.lua index 5ffec4b..c3af289 100644 --- a/api/GetTradeSkillSelectionIndex.lua +++ b/api/GetTradeSkillSelectionIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the currently selected trade skill recipe. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs. -function GetTradeSkillSelectionIndex() end \ No newline at end of file +function GetTradeSkillSelectionIndex() end diff --git a/api/GetTradeSkillSubCategories.lua b/api/GetTradeSkillSubCategories.lua index 2956320..1cba467 100644 --- a/api/GetTradeSkillSubCategories.lua +++ b/api/GetTradeSkillSubCategories.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTradeSkillSubCategories() end \ No newline at end of file +function GetTradeSkillSubCategories() end diff --git a/api/GetTradeSkillSubClassFilteredSlots.lua b/api/GetTradeSkillSubClassFilteredSlots.lua index bc80191..886ef5e 100644 --- a/api/GetTradeSkillSubClassFilteredSlots.lua +++ b/api/GetTradeSkillSubClassFilteredSlots.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTradeSkillSubClassFilteredSlots() end \ No newline at end of file +function GetTradeSkillSubClassFilteredSlots() end diff --git a/api/GetTradeSkillSubClasses.lua b/api/GetTradeSkillSubClasses.lua index bfa3f47..7cffaa9 100644 --- a/api/GetTradeSkillSubClasses.lua +++ b/api/GetTradeSkillSubClasses.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns a list of recipe subclasses for the current trade skill. These subclasses correspond to those of the items produced (see GetItemInfo() and GetAuctionItemSubClasses()) and can be used to filter the recipe list. -function GetTradeSkillSubClasses() end \ No newline at end of file +function GetTradeSkillSubClasses() end diff --git a/api/GetTradeSkillTexture.lua b/api/GetTradeSkillTexture.lua index a397967..2acce2a 100644 --- a/api/GetTradeSkillTexture.lua +++ b/api/GetTradeSkillTexture.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTradeSkillTexture() end \ No newline at end of file +function GetTradeSkillTexture() end diff --git a/api/GetTradeSkillTools.lua b/api/GetTradeSkillTools.lua index 87761af..5aa9b77 100644 --- a/api/GetTradeSkillTools.lua +++ b/api/GetTradeSkillTools.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string toolName ----@return 1nil hasTool ----@return list ... +---@param index number +---@return string toolName +---@return 1nil hasTool +---@return list ... ---Returns a list of required tools for a trade skill recipe. A tool may be an item (e.g. Blacksmith Hammer, Virtuoso Inking Set) the player must possess, or a description of a generic (e.g. near an Anvil, in a Moonwell) or specific (e.g. Netherstorm, Emerald Dragonshrine) location to which the player must travel in order to perform the recipe. The hasTool return is only valid for the former. -function GetTradeSkillTools(index) end \ No newline at end of file +function GetTradeSkillTools(index) end diff --git a/api/GetTradeTargetItemInfo.lua b/api/GetTradeTargetItemInfo.lua index 78dbbf0..70bf1f1 100644 --- a/api/GetTradeTargetItemInfo.lua +++ b/api/GetTradeTargetItemInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string texture ----@return number numItems ----@return number quality ----@return 1nil isUsable ----@return string enchantment +---@param index number +---@return string name +---@return string texture +---@return number numItems +---@return number quality +---@return 1nil isUsable +---@return string enchantment ---Returns information about an item offered for trade by the target -function GetTradeTargetItemInfo(index) end \ No newline at end of file +function GetTradeTargetItemInfo(index) end diff --git a/api/GetTradeTargetItemLink.lua b/api/GetTradeTargetItemLink.lua index ea023cb..c8816de 100644 --- a/api/GetTradeTargetItemLink.lua +++ b/api/GetTradeTargetItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for an item offered for trade by the target -function GetTradeTargetItemLink(index) end \ No newline at end of file +function GetTradeTargetItemLink(index) end diff --git a/api/GetTradeskillRepeatCount.lua b/api/GetTradeskillRepeatCount.lua index 404c514..df96536 100644 --- a/api/GetTradeskillRepeatCount.lua +++ b/api/GetTradeskillRepeatCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number repeatCount +---@return number repeatCount ---Returns the number of times the trade skill recipe currently being performed will repeat. Returns 1 if a recipe is not being performed; after DoTradeSkill() is called, returns the number of repetitions queued (which decrements as each repetition is finished). -function GetTradeskillRepeatCount() end \ No newline at end of file +function GetTradeskillRepeatCount() end diff --git a/api/GetTrainerGreetingText.lua b/api/GetTrainerGreetingText.lua index 6a106b2..675ac14 100644 --- a/api/GetTrainerGreetingText.lua +++ b/api/GetTrainerGreetingText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the current trainer's greeting text. In the default UI, this text is displayed at the top of the trainer window. May return the empty string or the last used trainer's greeting text if called while not interacting with a trainer. -function GetTrainerGreetingText() end \ No newline at end of file +function GetTrainerGreetingText() end diff --git a/api/GetTrainerSelectionIndex.lua b/api/GetTrainerSelectionIndex.lua index 2260a20..3c5ee9a 100644 --- a/api/GetTrainerSelectionIndex.lua +++ b/api/GetTrainerSelectionIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number selectionIndex +---@return number selectionIndex ---Returns the index of the currently selected trainer service. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs. -function GetTrainerSelectionIndex() end \ No newline at end of file +function GetTrainerSelectionIndex() end diff --git a/api/GetTrainerServiceAbilityReq.lua b/api/GetTrainerServiceAbilityReq.lua index 3d20a4c..31d8d6e 100644 --- a/api/GetTrainerServiceAbilityReq.lua +++ b/api/GetTrainerServiceAbilityReq.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param abilityIndex number ----@return string ability ----@return 1nil hasReq +---@param index number +---@param abilityIndex number +---@return string ability +---@return 1nil hasReq ---Returns information about an ability required for purchasing a trainer service -function GetTrainerServiceAbilityReq(index, abilityIndex) end \ No newline at end of file +function GetTrainerServiceAbilityReq(index, abilityIndex) end diff --git a/api/GetTrainerServiceCost.lua b/api/GetTrainerServiceCost.lua index 921351f..f7dcb74 100644 --- a/api/GetTrainerServiceCost.lua +++ b/api/GetTrainerServiceCost.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number moneyCost ----@return number talentCost ----@return number skillCost +---@param index number +---@return number moneyCost +---@return number talentCost +---@return number skillCost ---Returns the cost to purchase a trainer service -function GetTrainerServiceCost(index) end \ No newline at end of file +function GetTrainerServiceCost(index) end diff --git a/api/GetTrainerServiceDescription.lua b/api/GetTrainerServiceDescription.lua index 755ee84..5e43bf9 100644 --- a/api/GetTrainerServiceDescription.lua +++ b/api/GetTrainerServiceDescription.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string text +---@param index number +---@return string text ---Returns the description of a trainer service. Generally returns the same description found in the spell's tooltip for spells purchased from a class trainer; returns nil for trade skills and recipes. -function GetTrainerServiceDescription(index) end \ No newline at end of file +function GetTrainerServiceDescription(index) end diff --git a/api/GetTrainerServiceIcon.lua b/api/GetTrainerServiceIcon.lua index d0ae360..c46e089 100644 --- a/api/GetTrainerServiceIcon.lua +++ b/api/GetTrainerServiceIcon.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string icon +---@param index number +---@return string icon ---Returns the icon for a trainer service -function GetTrainerServiceIcon(index) end \ No newline at end of file +function GetTrainerServiceIcon(index) end diff --git a/api/GetTrainerServiceInfo.lua b/api/GetTrainerServiceInfo.lua index 17474b5..362e733 100644 --- a/api/GetTrainerServiceInfo.lua +++ b/api/GetTrainerServiceInfo.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string serviceName ----@return string serviceSubText ----@return used serviceType ----@return available ----@return header ----@return unavailable ----@return used ----@return string iconTexture ----@return number reqLevel ----@return 1nil isExpanded +---@param index number +---@return string serviceName +---@return string serviceSubText +---@return used serviceType +---@return available +---@return header +---@return unavailable +---@return used +---@return string iconTexture +---@return number reqLevel +---@return 1nil isExpanded ---Returns information about an entry in the trainer service listing -function GetTrainerServiceInfo(index) end \ No newline at end of file +function GetTrainerServiceInfo(index) end diff --git a/api/GetTrainerServiceItemLink.lua b/api/GetTrainerServiceItemLink.lua index df467af..8cf7414 100644 --- a/api/GetTrainerServiceItemLink.lua +++ b/api/GetTrainerServiceItemLink.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string link +---@param index number +---@return string link ---Returns a hyperlink for the item associated with a trainer service. Currently only returns item links for trainer services which teach trade skill recipes which produce items; does not return spell or recipe links. -function GetTrainerServiceItemLink(index) end \ No newline at end of file +function GetTrainerServiceItemLink(index) end diff --git a/api/GetTrainerServiceLevelReq.lua b/api/GetTrainerServiceLevelReq.lua index 37a6816..bc88c11 100644 --- a/api/GetTrainerServiceLevelReq.lua +++ b/api/GetTrainerServiceLevelReq.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number reqLevel +---@param index number +---@return number reqLevel ---Returns the character level required to purchase a trainer service -function GetTrainerServiceLevelReq(index) end \ No newline at end of file +function GetTrainerServiceLevelReq(index) end diff --git a/api/GetTrainerServiceNumAbilityReq.lua b/api/GetTrainerServiceNumAbilityReq.lua index 756b804..1080b01 100644 --- a/api/GetTrainerServiceNumAbilityReq.lua +++ b/api/GetTrainerServiceNumAbilityReq.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number numRequirements +---@param index number +---@return number numRequirements ---Returns the number of ability requirements for purchasing a trainer service. Ability requirements are often used for ranked class spells purchased from the trainer: e.g. learning Blood Strike (Rank 3) requires having learned Blood Strike (Rank 2). See GetTrainerServiceAbilityReq() for information about specific ability requirements. -function GetTrainerServiceNumAbilityReq(index) end \ No newline at end of file +function GetTrainerServiceNumAbilityReq(index) end diff --git a/api/GetTrainerServiceSkillLine.lua b/api/GetTrainerServiceSkillLine.lua index 4d927e3..2eb18c8 100644 --- a/api/GetTrainerServiceSkillLine.lua +++ b/api/GetTrainerServiceSkillLine.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string skillLine +---@param index number +---@return string skillLine ---Returns the name of the skill line associated with a trainer service. For trade skill trainers, skill line is the name of the trade skill (e.g. Tailoring, First Aid). For other trainers, skill line is the name of the group header under which the skill appears (e.g. Riding, Frost, Protection, Holy, Defense, Dual Wield). -function GetTrainerServiceSkillLine(index) end \ No newline at end of file +function GetTrainerServiceSkillLine(index) end diff --git a/api/GetTrainerServiceSkillReq.lua b/api/GetTrainerServiceSkillReq.lua index 5963aee..37f10c8 100644 --- a/api/GetTrainerServiceSkillReq.lua +++ b/api/GetTrainerServiceSkillReq.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string skill ----@return number rank ----@return 1nil hasReq +---@param index number +---@return string skill +---@return number rank +---@return 1nil hasReq ---Returns information about the skill requirement for a trainer service. Often used for trade skill recipes: e.g. Netherweave Bag requires Tailoring (315). -function GetTrainerServiceSkillReq(index) end \ No newline at end of file +function GetTrainerServiceSkillReq(index) end diff --git a/api/GetTrainerServiceStepIndex.lua b/api/GetTrainerServiceStepIndex.lua index 8d630ef..df1a618 100644 --- a/api/GetTrainerServiceStepIndex.lua +++ b/api/GetTrainerServiceStepIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTrainerServiceStepIndex() end \ No newline at end of file +function GetTrainerServiceStepIndex() end diff --git a/api/GetTrainerServiceTypeFilter.lua b/api/GetTrainerServiceTypeFilter.lua index 0dcd2e8..7dadb24 100644 --- a/api/GetTrainerServiceTypeFilter.lua +++ b/api/GetTrainerServiceTypeFilter.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type used ----@param available ----@param unavailable ----@param used ----@return 1nil isEnabled +---@param type used +---@param available +---@param unavailable +---@param used +---@return 1nil isEnabled ---Returns whether the trainer service listing is filtered by a service status -function GetTrainerServiceTypeFilter(type, available, unavailable, used) end \ No newline at end of file +function GetTrainerServiceTypeFilter(type, available, unavailable, used) end diff --git a/api/GetTrainerTradeskillRankValues.lua b/api/GetTrainerTradeskillRankValues.lua index fd2cabb..8f62621 100644 --- a/api/GetTrainerTradeskillRankValues.lua +++ b/api/GetTrainerTradeskillRankValues.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTrainerTradeskillRankValues() end \ No newline at end of file +function GetTrainerTradeskillRankValues() end diff --git a/api/GetTransmogrifyCost.lua b/api/GetTransmogrifyCost.lua index 531acc1..4d19246 100644 --- a/api/GetTransmogrifyCost.lua +++ b/api/GetTransmogrifyCost.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTransmogrifyCost() end \ No newline at end of file +function GetTransmogrifyCost() end diff --git a/api/GetTransmogrifySlotInfo.lua b/api/GetTransmogrifySlotInfo.lua index 1f1c6ab..01ad310 100644 --- a/api/GetTransmogrifySlotInfo.lua +++ b/api/GetTransmogrifySlotInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return boolean isTransmogrified ----@return boolean canTransmogrify ----@return number cannotTransmogrifyReason ----@return boolean hasPending ----@return boolean hasUndo ----@return itemID visibleItemID ----@return textureName textureName +---@param slot number +---@return boolean isTransmogrified +---@return boolean canTransmogrify +---@return number cannotTransmogrifyReason +---@return boolean hasPending +---@return boolean hasUndo +---@return itemID visibleItemID +---@return textureName textureName ---Return informations about transmogrified items worn by player. -function GetTransmogrifySlotInfo(slot) end \ No newline at end of file +function GetTransmogrifySlotInfo(slot) end diff --git a/api/GetTutorialsEnabled.lua b/api/GetTutorialsEnabled.lua index 204e9cb..e8aa778 100644 --- a/api/GetTutorialsEnabled.lua +++ b/api/GetTutorialsEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetTutorialsEnabled() end \ No newline at end of file +function GetTutorialsEnabled() end diff --git a/api/GetUnitHealthModifier.lua b/api/GetUnitHealthModifier.lua index c7bbb19..8b9dd2a 100644 --- a/api/GetUnitHealthModifier.lua +++ b/api/GetUnitHealthModifier.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number modifier +---@param unit string +---@return number modifier ---Returns the health modifier for the player's pet -function GetUnitHealthModifier(unit) end \ No newline at end of file +function GetUnitHealthModifier(unit) end diff --git a/api/GetUnitManaRegenRateFromSpirit.lua b/api/GetUnitManaRegenRateFromSpirit.lua index 26e9923..d5fabf7 100644 --- a/api/GetUnitManaRegenRateFromSpirit.lua +++ b/api/GetUnitManaRegenRateFromSpirit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number regen +---@param unit string +---@return number regen ---Returns the increase in mana regeneration rate provided by Spirit -function GetUnitManaRegenRateFromSpirit(unit) end \ No newline at end of file +function GetUnitManaRegenRateFromSpirit(unit) end diff --git a/api/GetUnitMaxHealthModifier.lua b/api/GetUnitMaxHealthModifier.lua index d52265a..807d4d0 100644 --- a/api/GetUnitMaxHealthModifier.lua +++ b/api/GetUnitMaxHealthModifier.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number modifier +---@param unit string +---@return number modifier ---Returns the maximum health modifier for the player's pet -function GetUnitMaxHealthModifier(unit) end \ No newline at end of file +function GetUnitMaxHealthModifier(unit) end diff --git a/api/GetUnitName.lua b/api/GetUnitName.lua index fa94098..07a55d2 100644 --- a/api/GetUnitName.lua +++ b/api/GetUnitName.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param showServerName boolean ----@return string nameString +---@param unit string +---@param showServerName boolean +---@return string nameString ---Returns a string summarizing a unit's name and server -function GetUnitName(unit, showServerName) end \ No newline at end of file +function GetUnitName(unit, showServerName) end diff --git a/api/GetUnitPitch.lua b/api/GetUnitPitch.lua index 2c7166f..77ad07d 100644 --- a/api/GetUnitPitch.lua +++ b/api/GetUnitPitch.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number pitch +---@param unit string +---@return number pitch ---Returns the player's current pitch (slope or angle of movement). Only valid for the unitID "player". The slope returned here reflects only the direction of movement for swimming or flying, not the current orientation of the player model or camera. (When on solid ground, GetUnitPitch indicates what the angle of flight would be were the player to start flying.) The returned value is in radians, with positive values indicating upward slope, negative values indicating downward slope, and 0 indicating perfectly level flight (or swimming). -function GetUnitPitch(unit) end \ No newline at end of file +function GetUnitPitch(unit) end diff --git a/api/GetUnitPowerModifier.lua b/api/GetUnitPowerModifier.lua index f9577ab..ceb47db 100644 --- a/api/GetUnitPowerModifier.lua +++ b/api/GetUnitPowerModifier.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number modifier +---@param unit string +---@return number modifier ---Returns the mana modifier for the player's pet -function GetUnitPowerModifier(unit) end \ No newline at end of file +function GetUnitPowerModifier(unit) end diff --git a/api/GetUnitSpeed.lua b/api/GetUnitSpeed.lua index bd65e17..151f5fb 100644 --- a/api/GetUnitSpeed.lua +++ b/api/GetUnitSpeed.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitid ----@return number speed ----@return number groundSpeed ----@return number flightSpeed ----@return number swimSpeed +---@param unit unitid +---@return number speed +---@return number groundSpeed +---@return number flightSpeed +---@return number swimSpeed ---Returns a unit's current speed. Valid for all observable units. Values returned indicate the current movement speed in yards per second. (It's not relative to facing or ground position; i.e. you won't see a smaller value when flying up at an angle or a negative value when backing up.) Does not indicate falling speed or the speed of boats, zeppelins, and some forms of quest-related transportation, but does indicate current speed on taxi flights and when moving due to combat effects such as Disengage, Death Grip, or various knockback abilities. Examples (actual results will vary based on terrain, pitch, etc.): Walking: 2.5 Running backwards: 4.5 Normal Running: 7 Ground Mount, 60% speed (Apprentice): 11.2 Ground Mount, 100% speed (Journeyman): 14 Flying Mount, 150% speed (Expert): 17.5 Flying Mount, 280% speed (Artisan): 26.6 Flying Mount, 310% speed (Master): 28.7 Divide the result by BASE_MOVEMENT_SPEED and multiply by 100 to get a percentage of normal run speed. -function GetUnitSpeed(unit) end \ No newline at end of file +function GetUnitSpeed(unit) end diff --git a/api/GetVehicleBarIndex.lua b/api/GetVehicleBarIndex.lua index aa20322..d204f14 100644 --- a/api/GetVehicleBarIndex.lua +++ b/api/GetVehicleBarIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVehicleBarIndex() end \ No newline at end of file +function GetVehicleBarIndex() end diff --git a/api/GetVehicleUIIndicator.lua b/api/GetVehicleUIIndicator.lua index 8ccb3b4..1b455ad 100644 --- a/api/GetVehicleUIIndicator.lua +++ b/api/GetVehicleUIIndicator.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVehicleUIIndicator() end \ No newline at end of file +function GetVehicleUIIndicator() end diff --git a/api/GetVehicleUIIndicatorSeat.lua b/api/GetVehicleUIIndicatorSeat.lua index 6340fb1..320efa4 100644 --- a/api/GetVehicleUIIndicatorSeat.lua +++ b/api/GetVehicleUIIndicatorSeat.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVehicleUIIndicatorSeat() end \ No newline at end of file +function GetVehicleUIIndicatorSeat() end diff --git a/api/GetVersatilityBonus.lua b/api/GetVersatilityBonus.lua index 88fe678..9e25ff5 100644 --- a/api/GetVersatilityBonus.lua +++ b/api/GetVersatilityBonus.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVersatilityBonus() end \ No newline at end of file +function GetVersatilityBonus() end diff --git a/api/GetVideoCaps.lua b/api/GetVideoCaps.lua index d1d521c..ab9b2b1 100644 --- a/api/GetVideoCaps.lua +++ b/api/GetVideoCaps.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number hasAnisotropic ----@return number hasPixelShaders ----@return number hasVertexShaders ----@return number hasTrilinear ----@return number hasTripleBufering ----@return number maxAnisotropy ----@return number hasHardwareCursor +---@return number hasAnisotropic +---@return number hasPixelShaders +---@return number hasVertexShaders +---@return number hasTrilinear +---@return number hasTripleBufering +---@return number maxAnisotropy +---@return number hasHardwareCursor ---Returns information about graphics capabilities of the current system -function GetVideoCaps() end \ No newline at end of file +function GetVideoCaps() end diff --git a/api/GetVideoOptions.lua b/api/GetVideoOptions.lua index c9d6e4c..c85d6ed 100644 --- a/api/GetVideoOptions.lua +++ b/api/GetVideoOptions.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param qualityLevel number ----@return string name ----@return number value ----@return list ... +---@param qualityLevel number +---@return string name +---@return number value +---@return list ... ---Returns video options for different video quality levels. Values greater than 5 will crash the game client. -function GetVideoOptions(qualityLevel) end \ No newline at end of file +function GetVideoOptions(qualityLevel) end diff --git a/api/GetVoiceCurrentSessionID.lua b/api/GetVoiceCurrentSessionID.lua index e72b52d..7ea836a 100644 --- a/api/GetVoiceCurrentSessionID.lua +++ b/api/GetVoiceCurrentSessionID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number id +---@return number id ---Returns an identifier for the active voice session -function GetVoiceCurrentSessionID() end \ No newline at end of file +function GetVoiceCurrentSessionID() end diff --git a/api/GetVoiceSessionInfo.lua b/api/GetVoiceSessionInfo.lua index b1b9f22..06b2738 100644 --- a/api/GetVoiceSessionInfo.lua +++ b/api/GetVoiceSessionInfo.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param session number ----@return string name ----@return 1nil active +---@param session number +---@return string name +---@return 1nil active ---Returns information about a voice session -function GetVoiceSessionInfo(session) end \ No newline at end of file +function GetVoiceSessionInfo(session) end diff --git a/api/GetVoiceSessionMemberInfoBySessionID.lua b/api/GetVoiceSessionMemberInfoBySessionID.lua index 5e8f66d..1209d6d 100644 --- a/api/GetVoiceSessionMemberInfoBySessionID.lua +++ b/api/GetVoiceSessionMemberInfoBySessionID.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param session number ----@param index number ----@return string name ----@return 1nil voiceActive ----@return 1nil sessionActive ----@return 1nil muted ----@return 1nil squelched +---@param session number +---@param index number +---@return string name +---@return 1nil voiceActive +---@return 1nil sessionActive +---@return 1nil muted +---@return 1nil squelched ---Returns information about a member of a voice channel -function GetVoiceSessionMemberInfoBySessionID(session, index) end \ No newline at end of file +function GetVoiceSessionMemberInfoBySessionID(session, index) end diff --git a/api/GetVoiceStatus.lua b/api/GetVoiceStatus.lua index 1d6116c..24ed942 100644 --- a/api/GetVoiceStatus.lua +++ b/api/GetVoiceStatus.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitid ----@param name string ----@param channel string ----@return 1nil status +---@param unit unitid +---@param name string +---@param channel string +---@return 1nil status ---Returns whether a character has voice chat enabled -function GetVoiceStatus(unit, name, channel) end \ No newline at end of file +function GetVoiceStatus(unit, name, channel) end diff --git a/api/GetVoidItemHyperlinkString.lua b/api/GetVoidItemHyperlinkString.lua index 92b1a6a..692dc86 100644 --- a/api/GetVoidItemHyperlinkString.lua +++ b/api/GetVoidItemHyperlinkString.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVoidItemHyperlinkString() end \ No newline at end of file +function GetVoidItemHyperlinkString() end diff --git a/api/GetVoidItemInfo.lua b/api/GetVoidItemInfo.lua index fd832fb..0801be9 100644 --- a/api/GetVoidItemInfo.lua +++ b/api/GetVoidItemInfo.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param slot number ----@return number itemID ----@return number texture ----@return boolean locked ----@return boolean recentDeposit ----@return boolean isFiltered ----@return number quality +---@param tab number +---@param slot number +---@return number itemID +---@return number texture +---@return boolean locked +---@return boolean recentDeposit +---@return boolean isFiltered +---@return number quality ---Returns item info for the given void storage slot. Will only return data when IsVoidStorageReady returns true. -function GetVoidItemInfo(tab, slot) end \ No newline at end of file +function GetVoidItemInfo(tab, slot) end diff --git a/api/GetVoidStorageSlotPageIndex.lua b/api/GetVoidStorageSlotPageIndex.lua index a9c964b..5ad11be 100644 --- a/api/GetVoidStorageSlotPageIndex.lua +++ b/api/GetVoidStorageSlotPageIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVoidStorageSlotPageIndex() end \ No newline at end of file +function GetVoidStorageSlotPageIndex() end diff --git a/api/GetVoidTransferCost.lua b/api/GetVoidTransferCost.lua index 7fab5a6..cd6fba4 100644 --- a/api/GetVoidTransferCost.lua +++ b/api/GetVoidTransferCost.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVoidTransferCost() end \ No newline at end of file +function GetVoidTransferCost() end diff --git a/api/GetVoidTransferDepositInfo.lua b/api/GetVoidTransferDepositInfo.lua index 50dd610..e959ff9 100644 --- a/api/GetVoidTransferDepositInfo.lua +++ b/api/GetVoidTransferDepositInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVoidTransferDepositInfo() end \ No newline at end of file +function GetVoidTransferDepositInfo() end diff --git a/api/GetVoidTransferWithdrawalInfo.lua b/api/GetVoidTransferWithdrawalInfo.lua index f6c0e82..19f5eb1 100644 --- a/api/GetVoidTransferWithdrawalInfo.lua +++ b/api/GetVoidTransferWithdrawalInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVoidTransferWithdrawalInfo() end \ No newline at end of file +function GetVoidTransferWithdrawalInfo() end diff --git a/api/GetVoidUnlockCost.lua b/api/GetVoidUnlockCost.lua index 10755ad..6b2b9d3 100644 --- a/api/GetVoidUnlockCost.lua +++ b/api/GetVoidUnlockCost.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetVoidUnlockCost() end \ No newline at end of file +function GetVoidUnlockCost() end diff --git a/api/GetWarGameQueueStatus.lua b/api/GetWarGameQueueStatus.lua index 822bd4b..49dda64 100644 --- a/api/GetWarGameQueueStatus.lua +++ b/api/GetWarGameQueueStatus.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWarGameQueueStatus() end \ No newline at end of file +function GetWarGameQueueStatus() end diff --git a/api/GetWarGameTypeInfo.lua b/api/GetWarGameTypeInfo.lua index 7d56a49..b621f38 100644 --- a/api/GetWarGameTypeInfo.lua +++ b/api/GetWarGameTypeInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWarGameTypeInfo() end \ No newline at end of file +function GetWarGameTypeInfo() end diff --git a/api/GetWatchedFactionInfo.lua b/api/GetWatchedFactionInfo.lua index d598452..fd6e588 100644 --- a/api/GetWatchedFactionInfo.lua +++ b/api/GetWatchedFactionInfo.lua @@ -1,17 +1,17 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name ----@return 8 standingID ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 ----@return number barMin ----@return number barMax ----@return number barValue +---@return string name +---@return 8 standingID +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 +---@return number barMin +---@return number barMax +---@return number barValue ---Returns information about the "watched" faction (displayed on the XP bar in the default UI) -function GetWatchedFactionInfo() end \ No newline at end of file +function GetWatchedFactionInfo() end diff --git a/api/GetWeaponEnchantInfo.lua b/api/GetWeaponEnchantInfo.lua index 36e2be1..25c27af 100644 --- a/api/GetWeaponEnchantInfo.lua +++ b/api/GetWeaponEnchantInfo.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasMainHandEnchant ----@return number mainHandExpiration ----@return number mainHandCharges ----@return 1nil hasOffHandEnchant ----@return number offHandExpiration ----@return number offHandCharges +---@return 1nil hasMainHandEnchant +---@return number mainHandExpiration +---@return number mainHandCharges +---@return 1nil hasOffHandEnchant +---@return number offHandExpiration +---@return number offHandCharges ---Returns information about temporary enchantments on the player's weapons. Does not return information about permanent enchantments added via Enchanting, Runeforging, etc; refers instead to temporary buffs such as wizard oils, sharpening stones, rogue poisons, and shaman weapon enhancements. -function GetWeaponEnchantInfo() end \ No newline at end of file +function GetWeaponEnchantInfo() end diff --git a/api/GetWhoInfo.lua b/api/GetWhoInfo.lua index 51b03e3..cee2945 100644 --- a/api/GetWhoInfo.lua +++ b/api/GetWhoInfo.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name ----@return string guild ----@return number level ----@return string race ----@return string class ----@return string zone ----@return string classFileName ----@return 3 sex ----@return 2 ----@return 3 +---@param index number +---@return string name +---@return string guild +---@return number level +---@return string race +---@return string class +---@return string zone +---@return string classFileName +---@return 3 sex +---@return 2 +---@return 3 ---Returns information about a character in the Who system query results -function GetWhoInfo(index) end \ No newline at end of file +function GetWhoInfo(index) end diff --git a/api/GetWorldElapsedTime.lua b/api/GetWorldElapsedTime.lua index d40652f..ecdae16 100644 --- a/api/GetWorldElapsedTime.lua +++ b/api/GetWorldElapsedTime.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWorldElapsedTime() end \ No newline at end of file +function GetWorldElapsedTime() end diff --git a/api/GetWorldElapsedTimers.lua b/api/GetWorldElapsedTimers.lua index 145e729..96d9a72 100644 --- a/api/GetWorldElapsedTimers.lua +++ b/api/GetWorldElapsedTimers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWorldElapsedTimers() end \ No newline at end of file +function GetWorldElapsedTimers() end diff --git a/api/GetWorldLocFromMapPos.lua b/api/GetWorldLocFromMapPos.lua index a35d2c2..9f20eb3 100644 --- a/api/GetWorldLocFromMapPos.lua +++ b/api/GetWorldLocFromMapPos.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWorldLocFromMapPos() end \ No newline at end of file +function GetWorldLocFromMapPos() end diff --git a/api/GetWorldMapTransformInfo.lua b/api/GetWorldMapTransformInfo.lua index 560063d..06fdab4 100644 --- a/api/GetWorldMapTransformInfo.lua +++ b/api/GetWorldMapTransformInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWorldMapTransformInfo() end \ No newline at end of file +function GetWorldMapTransformInfo() end diff --git a/api/GetWorldMapTransforms.lua b/api/GetWorldMapTransforms.lua index eaf2982..bb1ca6d 100644 --- a/api/GetWorldMapTransforms.lua +++ b/api/GetWorldMapTransforms.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GetWorldMapTransforms() end \ No newline at end of file +function GetWorldMapTransforms() end diff --git a/api/GetWorldPVPQueueStatus.lua b/api/GetWorldPVPQueueStatus.lua index 6f8f8b3..4f48237 100644 --- a/api/GetWorldPVPQueueStatus.lua +++ b/api/GetWorldPVPQueueStatus.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return queued status ----@return confirm ----@return none ----@return queued ----@return string mapName ----@return number queueID +---@param index number +---@return queued status +---@return confirm +---@return none +---@return queued +---@return string mapName +---@return number queueID ---Returns information on the players queue for a world PvP zone -function GetWorldPVPQueueStatus(index) end \ No newline at end of file +function GetWorldPVPQueueStatus(index) end diff --git a/api/GetWorldStateUIInfo.lua b/api/GetWorldStateUIInfo.lua index f10f3b3..0599a9e 100644 --- a/api/GetWorldStateUIInfo.lua +++ b/api/GetWorldStateUIInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number uiType ----@return number state ----@return boolean hidden ----@return string text ----@return string icon ----@return string dynamicIcon ----@return string tooltip ----@return string dynamicTooltip ----@return "CAPTUREPOINT" extendedUI ----@return "" ----@return "CAPTUREPOINT" ----@return number extendedUIState1 ----@return number extendedUIState2 ----@return number extendedUIState3 +---@param index number +---@return number uiType +---@return number state +---@return boolean hidden +---@return string text +---@return string icon +---@return string dynamicIcon +---@return string tooltip +---@return string dynamicTooltip +---@return "CAPTUREPOINT" extendedUI +---@return "" +---@return "CAPTUREPOINT" +---@return number extendedUIState1 +---@return number extendedUIState2 +---@return number extendedUIState3 ---Returns information about a world state UI element. World State UI elements include PvP, instance, and quest objective information (displayed at the top center of the screen in the default UI) as well as more specific information for "control point" style PvP objectives. Examples: the Horde/Alliance score in Arathi Basin, the tower status and capture progress bars in Hellfire Peninsula, the progress text in the Black Morass and Violet Hold instances, and the event status text for quests The Light of Dawn and The Battle For The Undercity. -function GetWorldStateUIInfo(index) end \ No newline at end of file +function GetWorldStateUIInfo(index) end diff --git a/api/GetXPExhaustion.lua b/api/GetXPExhaustion.lua index 1512f8a..6bf654e 100644 --- a/api/GetXPExhaustion.lua +++ b/api/GetXPExhaustion.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number exhaustionXP +---@return number exhaustionXP ---Returns the amount of rested bonus experience available. This value increments as the player spends time resting and depletes as the player earns experience from kills while rested. -function GetXPExhaustion() end \ No newline at end of file +function GetXPExhaustion() end diff --git a/api/GetZonePVPInfo.lua b/api/GetZonePVPInfo.lua index fe6e260..7d44cd7 100644 --- a/api/GetZonePVPInfo.lua +++ b/api/GetZonePVPInfo.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return sanctuary pvpType ----@return arena ----@return combat ----@return contested ----@return friendly ----@return hostile ----@return nil ----@return sanctuary ----@return 1nil isSubZonePVP ----@return string factionName +---@return sanctuary pvpType +---@return arena +---@return combat +---@return contested +---@return friendly +---@return hostile +---@return nil +---@return sanctuary +---@return 1nil isSubZonePVP +---@return string factionName ---Returns PVP information about the current area. Information returned may apply to the current subzone, not the entire zone. -function GetZonePVPInfo() end \ No newline at end of file +function GetZonePVPInfo() end diff --git a/api/GetZoneText.lua b/api/GetZoneText.lua index 99b1b59..8adb812 100644 --- a/api/GetZoneText.lua +++ b/api/GetZoneText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string zone +---@return string zone ---Returns the name of the zone in which the player is located -function GetZoneText() end \ No newline at end of file +function GetZoneText() end diff --git a/api/GiveMasterLoot.lua b/api/GiveMasterLoot.lua index dd6d695..53f788b 100644 --- a/api/GiveMasterLoot.lua +++ b/api/GiveMasterLoot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@param index number +---@param slot number +---@param index number ---Awards a loot item to a group member. Has no effect if the player is not the loot master or if no loot or candidate matching the given parameters exists. -function GiveMasterLoot(slot, index) end \ No newline at end of file +function GiveMasterLoot(slot, index) end diff --git a/api/GlyphMatchesSocket.lua b/api/GlyphMatchesSocket.lua index 273cf27..05cbe32 100644 --- a/api/GlyphMatchesSocket.lua +++ b/api/GlyphMatchesSocket.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param socket number ----@return 1nil match +---@param socket number +---@return 1nil match ---Returns whether a socket is eligible for the glyph currently awaiting a target. Only valid during glyph application: when the player has activated the glyph item but before she has chosen the glyph slot to put it in (i.e. the glowing hand cursor is showing). -function GlyphMatchesSocket(socket) end \ No newline at end of file +function GlyphMatchesSocket(socket) end diff --git a/api/GrantLevel.lua b/api/GrantLevel.lua index 56f15ea..789f928 100644 --- a/api/GrantLevel.lua +++ b/api/GrantLevel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---Grants a level to the player's Recruit-a-Friend partner. Does not immediately cause the partner character to level up: that player is given a chance to accept or decline the offered level. -function GrantLevel(unit) end \ No newline at end of file +function GrantLevel(unit) end diff --git a/api/GuildControlAddRank.lua b/api/GuildControlAddRank.lua index 0c82287..0623f61 100644 --- a/api/GuildControlAddRank.lua +++ b/api/GuildControlAddRank.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Adds a new rank to the player's guild. The newly added rank becomes the lowest rank in the guild. -function GuildControlAddRank(name) end \ No newline at end of file +function GuildControlAddRank(name) end diff --git a/api/GuildControlDelRank.lua b/api/GuildControlDelRank.lua index 7dceb82..41035e4 100644 --- a/api/GuildControlDelRank.lua +++ b/api/GuildControlDelRank.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Deletes a guild rank -function GuildControlDelRank(name) end \ No newline at end of file +function GuildControlDelRank(name) end diff --git a/api/GuildControlGetAllowedShifts.lua b/api/GuildControlGetAllowedShifts.lua index 5ede0d1..4c96e5e 100644 --- a/api/GuildControlGetAllowedShifts.lua +++ b/api/GuildControlGetAllowedShifts.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildControlGetAllowedShifts() end \ No newline at end of file +function GuildControlGetAllowedShifts() end diff --git a/api/GuildControlGetNumRanks.lua b/api/GuildControlGetNumRanks.lua index 67e3c41..0ceb24b 100644 --- a/api/GuildControlGetNumRanks.lua +++ b/api/GuildControlGetNumRanks.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numRanks +---@return number numRanks ---Returns the number of ranks in the guild -function GuildControlGetNumRanks() end \ No newline at end of file +function GuildControlGetNumRanks() end diff --git a/api/GuildControlGetRankFlags.lua b/api/GuildControlGetRankFlags.lua index 5cf6ba4..1c53378 100644 --- a/api/GuildControlGetRankFlags.lua +++ b/api/GuildControlGetRankFlags.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return list ... +---@return list ... ---Returns the list of privileges for the guild rank being edited. The name of a privilege for an index in this list can be found in the global variable "GUILDCONTROL_OPTION"..index. -function GuildControlGetRankFlags() end \ No newline at end of file +function GuildControlGetRankFlags() end diff --git a/api/GuildControlGetRankName.lua b/api/GuildControlGetRankName.lua index f3411d0..3f8ebdc 100644 --- a/api/GuildControlGetRankName.lua +++ b/api/GuildControlGetRankName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param rank number ----@return string rankName +---@param rank number +---@return string rankName ---Returns the name of a guild rank -function GuildControlGetRankName(rank) end \ No newline at end of file +function GuildControlGetRankName(rank) end diff --git a/api/GuildControlSaveRank.lua b/api/GuildControlSaveRank.lua index d20a1b8..0ec0eee 100644 --- a/api/GuildControlSaveRank.lua +++ b/api/GuildControlSaveRank.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Saves changes to the guild rank being edited -function GuildControlSaveRank(name) end \ No newline at end of file +function GuildControlSaveRank(name) end diff --git a/api/GuildControlSetRank.lua b/api/GuildControlSetRank.lua index fefb2c8..222e5b6 100644 --- a/api/GuildControlSetRank.lua +++ b/api/GuildControlSetRank.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param rank number +---@param rank number ---Chooses a guild rank to edit -function GuildControlSetRank(rank) end \ No newline at end of file +function GuildControlSetRank(rank) end diff --git a/api/GuildControlShiftRankDown.lua b/api/GuildControlShiftRankDown.lua index 60fd7d9..e3399c4 100644 --- a/api/GuildControlShiftRankDown.lua +++ b/api/GuildControlShiftRankDown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildControlShiftRankDown() end \ No newline at end of file +function GuildControlShiftRankDown() end diff --git a/api/GuildControlShiftRankUp.lua b/api/GuildControlShiftRankUp.lua index 6bfaccf..9f0d66a 100644 --- a/api/GuildControlShiftRankUp.lua +++ b/api/GuildControlShiftRankUp.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildControlShiftRankUp() end \ No newline at end of file +function GuildControlShiftRankUp() end diff --git a/api/GuildDemote.lua b/api/GuildDemote.lua index b53daf0..e8a12b2 100644 --- a/api/GuildDemote.lua +++ b/api/GuildDemote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Reduces a guild member's rank by one. The player can only demote members whose rank is below the player's own, and only if the player has permission to demote (i.e. if CanGuildDemote() returns 1). -function GuildDemote(name) end \ No newline at end of file +function GuildDemote(name) end diff --git a/api/GuildDisband.lua b/api/GuildDisband.lua index 1fe04b3..b0371cd 100644 --- a/api/GuildDisband.lua +++ b/api/GuildDisband.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Disbands the player's guild. Only has effect if the player is the guild leader -function GuildDisband() end \ No newline at end of file +function GuildDisband() end diff --git a/api/GuildInfo.lua b/api/GuildInfo.lua index 0569cf1..7a51d7c 100644 --- a/api/GuildInfo.lua +++ b/api/GuildInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests guild information from the server. Fires two CHAT_MSG_SYSTEM events, one containing the name of the guild, followed by one containing the date the guild was created and how many players and accounts belong to the guild. -function GuildInfo() end \ No newline at end of file +function GuildInfo() end diff --git a/api/GuildInvite.lua b/api/GuildInvite.lua index 40f13e9..ddac28d 100644 --- a/api/GuildInvite.lua +++ b/api/GuildInvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Invites a character to join the player's guild -function GuildInvite(name) end \ No newline at end of file +function GuildInvite(name) end diff --git a/api/GuildLeave.lua b/api/GuildLeave.lua index 5a7d71c..609e084 100644 --- a/api/GuildLeave.lua +++ b/api/GuildLeave.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Leaves the player's current guild -function GuildLeave() end \ No newline at end of file +function GuildLeave() end diff --git a/api/GuildMasterAbsent.lua b/api/GuildMasterAbsent.lua index 85f3bd1..6ba5f6a 100644 --- a/api/GuildMasterAbsent.lua +++ b/api/GuildMasterAbsent.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildMasterAbsent() end \ No newline at end of file +function GuildMasterAbsent() end diff --git a/api/GuildNewsSetSticky.lua b/api/GuildNewsSetSticky.lua index 2f92bfa..54aeca6 100644 --- a/api/GuildNewsSetSticky.lua +++ b/api/GuildNewsSetSticky.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildNewsSetSticky() end \ No newline at end of file +function GuildNewsSetSticky() end diff --git a/api/GuildNewsSort.lua b/api/GuildNewsSort.lua index eb42d23..a0e3bb2 100644 --- a/api/GuildNewsSort.lua +++ b/api/GuildNewsSort.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildNewsSort() end \ No newline at end of file +function GuildNewsSort() end diff --git a/api/GuildPromote.lua b/api/GuildPromote.lua index 221c05b..4189a3e 100644 --- a/api/GuildPromote.lua +++ b/api/GuildPromote.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Increases a guild member's rank by one. The player can only promote members up to the rank immediately below the player's own, and only if the player has permission to promote (i.e. if CanGuildPromote() returns 1). -function GuildPromote(name) end \ No newline at end of file +function GuildPromote(name) end diff --git a/api/GuildRoster.lua b/api/GuildRoster.lua index bd2c198..e7d73d4 100644 --- a/api/GuildRoster.lua +++ b/api/GuildRoster.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests guild roster information from the server. Information is not returned immediately; the GUILD_ROSTER_UPDATE event fires when data is available for retrieval via GetGuildRosterInfo() and related functions. Requests are throttled to reduce server load; the server will only respond to a new request approximately 10 seconds after a previous request. -function GuildRoster() end \ No newline at end of file +function GuildRoster() end diff --git a/api/GuildRosterSendSoR.lua b/api/GuildRosterSendSoR.lua index b2b340a..f9ca573 100644 --- a/api/GuildRosterSendSoR.lua +++ b/api/GuildRosterSendSoR.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function GuildRosterSendSoR() end \ No newline at end of file +function GuildRosterSendSoR() end diff --git a/api/GuildRosterSetOfficerNote.lua b/api/GuildRosterSetOfficerNote.lua index 147a4b3..499b0aa 100644 --- a/api/GuildRosterSetOfficerNote.lua +++ b/api/GuildRosterSetOfficerNote.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param note string +---@param index number +---@param note string ---Sets the officer note for a guild member -function GuildRosterSetOfficerNote(index, note) end \ No newline at end of file +function GuildRosterSetOfficerNote(index, note) end diff --git a/api/GuildRosterSetPublicNote.lua b/api/GuildRosterSetPublicNote.lua index ead685c..bdd38ed 100644 --- a/api/GuildRosterSetPublicNote.lua +++ b/api/GuildRosterSetPublicNote.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param note string +---@param index number +---@param note string ---Sets the public note for a guild member -function GuildRosterSetPublicNote(index, note) end \ No newline at end of file +function GuildRosterSetPublicNote(index, note) end diff --git a/api/GuildSetLeader.lua b/api/GuildSetLeader.lua index 22731da..3fc1920 100644 --- a/api/GuildSetLeader.lua +++ b/api/GuildSetLeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Promotes a member to guild leader. Only works if the player is the guild leader and the named character is in the guild and currently online. -function GuildSetLeader(name) end \ No newline at end of file +function GuildSetLeader(name) end diff --git a/api/GuildSetMOTD.lua b/api/GuildSetMOTD.lua index bfff5e7..d0a4e78 100644 --- a/api/GuildSetMOTD.lua +++ b/api/GuildSetMOTD.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param message string +---@param message string ---Sets the guild Message of the Day. Guild members see the message of the day upon login and whenever it is changed (and cannot disable its display in the default UI), so keeping the message concise is recommended. -function GuildSetMOTD(message) end \ No newline at end of file +function GuildSetMOTD(message) end diff --git a/api/GuildUninvite.lua b/api/GuildUninvite.lua index a8a3896..da8536f 100644 --- a/api/GuildUninvite.lua +++ b/api/GuildUninvite.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Removes a character from the player's guild -function GuildUninvite(name) end \ No newline at end of file +function GuildUninvite(name) end diff --git a/api/HasAPEffectsSpellPower.lua b/api/HasAPEffectsSpellPower.lua index 3739fdc..cc55da6 100644 --- a/api/HasAPEffectsSpellPower.lua +++ b/api/HasAPEffectsSpellPower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasAPEffectsSpellPower() end \ No newline at end of file +function HasAPEffectsSpellPower() end diff --git a/api/HasAction.lua b/api/HasAction.lua index ff3ecdc..8f68a73 100644 --- a/api/HasAction.lua +++ b/api/HasAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil hasAction +---@param slot number +---@return 1nil hasAction ---Returns whether an action slot contains an action -function HasAction(slot) end \ No newline at end of file +function HasAction(slot) end diff --git a/api/HasBonusActionBar.lua b/api/HasBonusActionBar.lua index 9a4f658..c07e8cf 100644 --- a/api/HasBonusActionBar.lua +++ b/api/HasBonusActionBar.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasBonusActionBar() end \ No newline at end of file +function HasBonusActionBar() end diff --git a/api/HasCompletedAnyAchievement.lua b/api/HasCompletedAnyAchievement.lua index 87f95a1..4af5355 100644 --- a/api/HasCompletedAnyAchievement.lua +++ b/api/HasCompletedAnyAchievement.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean state +---@return boolean state ---Checks if the player has completed at least 1 achievement. Used to determine whether or not the achievements frame should be loaded, and if the Achievements button on the micro menu should be enabled or not. -function HasCompletedAnyAchievement() end \ No newline at end of file +function HasCompletedAnyAchievement() end diff --git a/api/HasDebugZoneMap.lua b/api/HasDebugZoneMap.lua index a208454..4ae3de2 100644 --- a/api/HasDebugZoneMap.lua +++ b/api/HasDebugZoneMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasDebugZoneMap() end \ No newline at end of file +function HasDebugZoneMap() end diff --git a/api/HasDraenorZoneAbility.lua b/api/HasDraenorZoneAbility.lua index e4cf073..b25b885 100644 --- a/api/HasDraenorZoneAbility.lua +++ b/api/HasDraenorZoneAbility.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasDraenorZoneAbility() end \ No newline at end of file +function HasDraenorZoneAbility() end diff --git a/api/HasExtraActionBar.lua b/api/HasExtraActionBar.lua index d538c29..54cbb01 100644 --- a/api/HasExtraActionBar.lua +++ b/api/HasExtraActionBar.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasExtraActionBar() end \ No newline at end of file +function HasExtraActionBar() end diff --git a/api/HasFullControl.lua b/api/HasFullControl.lua index d5a8aa8..717b35c 100644 --- a/api/HasFullControl.lua +++ b/api/HasFullControl.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasControl +---@return 1nil hasControl ---Returns whether the player character can be controlled -function HasFullControl() end \ No newline at end of file +function HasFullControl() end diff --git a/api/HasInspectHonorData.lua b/api/HasInspectHonorData.lua index b9d2464..0f2fee7 100644 --- a/api/HasInspectHonorData.lua +++ b/api/HasInspectHonorData.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasData +---@return 1nil hasData ---Returns whether PvP honor and arena data for the currently inspected unit has been downloaded from the server. See RequestInspectHonorData() to request PvP data from the server. -function HasInspectHonorData() end \ No newline at end of file +function HasInspectHonorData() end diff --git a/api/HasKey.lua b/api/HasKey.lua index ec9de25..ac534c7 100644 --- a/api/HasKey.lua +++ b/api/HasKey.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasKey +---@return 1nil hasKey ---Returns whether the player has any keys stored in the Keyring container. Used in the default UI to show or hide the UI for the Keyring container -function HasKey() end \ No newline at end of file +function HasKey() end diff --git a/api/HasLFGRestrictions.lua b/api/HasLFGRestrictions.lua index 12b33d4..b480aae 100644 --- a/api/HasLFGRestrictions.lua +++ b/api/HasLFGRestrictions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasLFGRestrictions() end \ No newline at end of file +function HasLFGRestrictions() end diff --git a/api/HasNewMail.lua b/api/HasNewMail.lua index ecc466f..3fd9a55 100644 --- a/api/HasNewMail.lua +++ b/api/HasNewMail.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasMail +---@return 1nil hasMail ---Returns whether the player has received new mail since last visiting a mailbox -function HasNewMail() end \ No newline at end of file +function HasNewMail() end diff --git a/api/HasOverrideActionBar.lua b/api/HasOverrideActionBar.lua index 396843b..3c11417 100644 --- a/api/HasOverrideActionBar.lua +++ b/api/HasOverrideActionBar.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasOverrideActionBar() end \ No newline at end of file +function HasOverrideActionBar() end diff --git a/api/HasPetSpells.lua b/api/HasPetSpells.lua index fc7f493..890c20c 100644 --- a/api/HasPetSpells.lua +++ b/api/HasPetSpells.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasPetSpells ----@return PET petType ----@return DEMON ----@return PET +---@return 1nil hasPetSpells +---@return PET petType +---@return DEMON +---@return PET ---Returns whether the player's current pet has a spellbook -function HasPetSpells() end \ No newline at end of file +function HasPetSpells() end diff --git a/api/HasPetUI.lua b/api/HasPetUI.lua index a34e4e0..2c6d8be 100644 --- a/api/HasPetUI.lua +++ b/api/HasPetUI.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasPetUI ----@return 1nil isHunterPet +---@return 1nil hasPetUI +---@return 1nil isHunterPet ---Returns whether the pet UI should be displayed for the player's pet. Special quest-related pets, vehicles, and possessed units all count as pets but do not use the pet UI or associated functions. -function HasPetUI() end \ No newline at end of file +function HasPetUI() end diff --git a/api/HasSPEffectsAttackPower.lua b/api/HasSPEffectsAttackPower.lua index 4deb394..f1840df 100644 --- a/api/HasSPEffectsAttackPower.lua +++ b/api/HasSPEffectsAttackPower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasSPEffectsAttackPower() end \ No newline at end of file +function HasSPEffectsAttackPower() end diff --git a/api/HasSoulstone.lua b/api/HasSoulstone.lua index 3f4a0e1..efe81c1 100644 --- a/api/HasSoulstone.lua +++ b/api/HasSoulstone.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns whether the player can instantly resurrect in place. Only returns valid information while the player is dead and has not yet released his or her spirit to the graveyard. -function HasSoulstone() end \ No newline at end of file +function HasSoulstone() end diff --git a/api/HasTempShapeshiftActionBar.lua b/api/HasTempShapeshiftActionBar.lua index e40a30c..e42d849 100644 --- a/api/HasTempShapeshiftActionBar.lua +++ b/api/HasTempShapeshiftActionBar.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasTempShapeshiftActionBar() end \ No newline at end of file +function HasTempShapeshiftActionBar() end diff --git a/api/HasVehicleActionBar.lua b/api/HasVehicleActionBar.lua index e22dd18..f9211e0 100644 --- a/api/HasVehicleActionBar.lua +++ b/api/HasVehicleActionBar.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HasVehicleActionBar() end \ No newline at end of file +function HasVehicleActionBar() end diff --git a/api/HasWandEquipped.lua b/api/HasWandEquipped.lua index 20239ac..b016202 100644 --- a/api/HasWandEquipped.lua +++ b/api/HasWandEquipped.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isEquipped +---@return 1nil isEquipped ---Returns whether the player has a wand equipped -function HasWandEquipped() end \ No newline at end of file +function HasWandEquipped() end diff --git a/api/HaveQuestData.lua b/api/HaveQuestData.lua index 1497b37..781cf86 100644 --- a/api/HaveQuestData.lua +++ b/api/HaveQuestData.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function HaveQuestData() end \ No newline at end of file +function HaveQuestData() end diff --git a/api/HearthAndResurrectFromArea.lua b/api/HearthAndResurrectFromArea.lua index 6c1ad14..80cacc4 100644 --- a/api/HearthAndResurrectFromArea.lua +++ b/api/HearthAndResurrectFromArea.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Instantly exits the current world PvP zone, returning to the player's Hearthstone location. Resets the player's Hearthstone cooldown, and also returns the player to life if dead. Only usable if the player is in a world PvP combat zone (i.e. Wintergrasp). -function HearthAndResurrectFromArea() end \ No newline at end of file +function HearthAndResurrectFromArea() end diff --git a/api/HideRepairCursor.lua b/api/HideRepairCursor.lua index 5b6ae6b..affaf41 100644 --- a/api/HideRepairCursor.lua +++ b/api/HideRepairCursor.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the cursor to normal mode after use of ShowRepairCursor() -function HideRepairCursor() end \ No newline at end of file +function HideRepairCursor() end diff --git a/api/InActiveBattlefield.lua b/api/InActiveBattlefield.lua index 7d89f05..81127ce 100644 --- a/api/InActiveBattlefield.lua +++ b/api/InActiveBattlefield.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function InActiveBattlefield() end \ No newline at end of file +function InActiveBattlefield() end diff --git a/api/InCinematic.lua b/api/InCinematic.lua index 2139d11..ea3ec97 100644 --- a/api/InCinematic.lua +++ b/api/InCinematic.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inCinematic +---@return 1nil inCinematic ---Returns whether an in-game cinematic is playing. Applies to in-game-engine cinematics (such as when logging into a new character for the first time), not prerecorded movies. -function InCinematic() end \ No newline at end of file +function InCinematic() end diff --git a/api/InCombatLockdown.lua b/api/InCombatLockdown.lua index 798ab0f..7840180 100644 --- a/api/InCombatLockdown.lua +++ b/api/InCombatLockdown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inLockdown +---@return 1nil inLockdown ---Returns whether the user interface is protected due to combat. Non-Blizzard code is allowed to perform certain UI actions (such as changing secure template attributes or moving/showing/hiding secure frames) only if the player is not in combat; this function can be used to determine whether such actions are currently available. -function InCombatLockdown() end \ No newline at end of file +function InCombatLockdown() end diff --git a/api/InGuildParty.lua b/api/InGuildParty.lua index 25112d1..8b7388c 100644 --- a/api/InGuildParty.lua +++ b/api/InGuildParty.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean inGroup ----@return number numGuildPresent ----@return number numGuildRequired ----@return number xpMultiplier +---@return boolean inGroup +---@return number numGuildPresent +---@return number numGuildRequired +---@return number xpMultiplier ---Returns whether or not player is in a guild party. -function InGuildParty() end \ No newline at end of file +function InGuildParty() end diff --git a/api/InRepairMode.lua b/api/InRepairMode.lua index 38d8f69..c176911 100644 --- a/api/InRepairMode.lua +++ b/api/InRepairMode.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inRepair +---@return 1nil inRepair ---Returns whether the item repair cursor mode is currently active. Repair mode is entered by calling ShowRepairCursor() and exited by calling HideRepairCursor(); while in repair mode, calling PickupContainerItem() or PickupInventoryItem() will attempt to repair the item (and deduct the cost of such from the player's savings) instead of putting it on the cursor. -function InRepairMode() end \ No newline at end of file +function InRepairMode() end diff --git a/api/InboxItemCanDelete.lua b/api/InboxItemCanDelete.lua index af335bf..503f460 100644 --- a/api/InboxItemCanDelete.lua +++ b/api/InboxItemCanDelete.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@return 1nil canDelete +---@param mailID number +---@return 1nil canDelete ---Returns whether a message in the player's inbox can be deleted -function InboxItemCanDelete(mailID) end \ No newline at end of file +function InboxItemCanDelete(mailID) end diff --git a/api/InitWorldMapPing.lua b/api/InitWorldMapPing.lua index 0662efa..69c85ba 100644 --- a/api/InitWorldMapPing.lua +++ b/api/InitWorldMapPing.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Initializes the frame used to display the character location "ping" on the World Map -function InitWorldMapPing() end \ No newline at end of file +function InitWorldMapPing() end diff --git a/api/InitiateRolePoll.lua b/api/InitiateRolePoll.lua index f1bd092..b81fa9f 100644 --- a/api/InitiateRolePoll.lua +++ b/api/InitiateRolePoll.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean success +---@return boolean success ---Initiates a raid-wide role check. Every raid member is required to set his own role in a popup role window. -function InitiateRolePoll() end \ No newline at end of file +function InitiateRolePoll() end diff --git a/api/InitiateTrade.lua b/api/InitiateTrade.lua index d8d462b..8971e1a 100644 --- a/api/InitiateTrade.lua +++ b/api/InitiateTrade.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Offers to trade with a given unit. The trade process does not begin immediately; once the server has determined both clients can trade, the TRADE_SHOW event fires. -function InitiateTrade(unit, name) end \ No newline at end of file +function InitiateTrade(unit, name) end diff --git a/api/InteractUnit.lua b/api/InteractUnit.lua index 25104c1..beeff21 100644 --- a/api/InteractUnit.lua +++ b/api/InteractUnit.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitid +---@param unit unitid ---Interacts with (as with right-clicking on) a unit -function InteractUnit(unit) end \ No newline at end of file +function InteractUnit(unit) end diff --git a/api/InterfaceOptionsFrame_OpenToCategory.lua b/api/InterfaceOptionsFrame_OpenToCategory.lua index 31730be..810d7b5 100644 --- a/api/InterfaceOptionsFrame_OpenToCategory.lua +++ b/api/InterfaceOptionsFrame_OpenToCategory.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param panelName string ----@param panel table +---@param panelName string +---@param panel table ---Opens the Interface Options window and displays a given panel within it -function InterfaceOptionsFrame_OpenToCategory(panelName, panel) end \ No newline at end of file +function InterfaceOptionsFrame_OpenToCategory(panelName, panel) end diff --git a/api/InterfaceOptions_AddCategory.lua b/api/InterfaceOptions_AddCategory.lua index d2f4981..3b9284a 100644 --- a/api/InterfaceOptions_AddCategory.lua +++ b/api/InterfaceOptions_AddCategory.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param panel table +---@param panel table ---Registers a panel to be displayed in the Interface Options window. The following members and methods are used by the Interface Options frame to display and organize panels: panel.name - string (required) - The name of the AddOn or group of configuration options. This is the text that will display in the AddOn options list. panel.parent - string (optional) - Name of the parent of the AddOn or group of configuration options. This identifies "panel" as the child of another category. If the parent category doesn't exist, "panel" will be displayed as a regular category. panel.okay - function (optional) - This method will run when the player clicks "okay" in the Interface Options. panel.cancel - function (optional) - This method will run when the player clicks "cancel" in the Interface Options. Use this to revert their changes. panel.default - function (optional) - This method will run when the player clicks "defaults". Use this to revert their changes to your defaults. panel.refresh - function (optional) - This method will run when the Interface Options frame calls its OnShow function and after defaults have been applied via the panel.default method described above. Use this to refresh your panel's UI in case settings were changed without player interaction. -function InterfaceOptions_AddCategory(panel) end \ No newline at end of file +function InterfaceOptions_AddCategory(panel) end diff --git a/api/InviteUnit.lua b/api/InviteUnit.lua index e8e7c9b..035618c 100644 --- a/api/InviteUnit.lua +++ b/api/InviteUnit.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Invites a character to the player's party or raid -function InviteUnit(name) end \ No newline at end of file +function InviteUnit(name) end diff --git a/api/IsAchievementEligible.lua b/api/IsAchievementEligible.lua index bdc4c68..daa0702 100644 --- a/api/IsAchievementEligible.lua +++ b/api/IsAchievementEligible.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsAchievementEligible() end \ No newline at end of file +function IsAchievementEligible() end diff --git a/api/IsActionInRange.lua b/api/IsActionInRange.lua index f855cac..0157076 100644 --- a/api/IsActionInRange.lua +++ b/api/IsActionInRange.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@param unit string ----@return number inRange +---@param slot number +---@param unit string +---@return number inRange ---Returns whether the player's target is in range of an action -function IsActionInRange(slot, unit) end \ No newline at end of file +function IsActionInRange(slot, unit) end diff --git a/api/IsActiveBattlefieldArena.lua b/api/IsActiveBattlefieldArena.lua index 86b6ea4..5e9f483 100644 --- a/api/IsActiveBattlefieldArena.lua +++ b/api/IsActiveBattlefieldArena.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isArena ----@return 1nil isRegistered +---@return 1nil isArena +---@return 1nil isRegistered ---Returns whether the player is currently in an arena match -function IsActiveBattlefieldArena() end \ No newline at end of file +function IsActiveBattlefieldArena() end diff --git a/api/IsActiveQuestLegendary.lua b/api/IsActiveQuestLegendary.lua index 6cc9457..d5a26fe 100644 --- a/api/IsActiveQuestLegendary.lua +++ b/api/IsActiveQuestLegendary.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsActiveQuestLegendary() end \ No newline at end of file +function IsActiveQuestLegendary() end diff --git a/api/IsActiveQuestTrivial.lua b/api/IsActiveQuestTrivial.lua index 2f60693..ef3d3c2 100644 --- a/api/IsActiveQuestTrivial.lua +++ b/api/IsActiveQuestTrivial.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return 1nil trivial +---@param index number +---@return 1nil trivial ---Returns whether a quest which can be turned in to the current Quest NPC is trivial at the player's level. Only returns valid information after a QUEST_GREETING event. Used in the default UI to display "(low level)" when listing the quest. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. -function IsActiveQuestTrivial(index) end \ No newline at end of file +function IsActiveQuestTrivial(index) end diff --git a/api/IsAddOnLoadOnDemand.lua b/api/IsAddOnLoadOnDemand.lua index dc50bac..c49a427 100644 --- a/api/IsAddOnLoadOnDemand.lua +++ b/api/IsAddOnLoadOnDemand.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return 1nil isLod +---@param name string +---@param index number +---@return 1nil isLod ---Returns whether an addon can be loaded without restarting the UI -function IsAddOnLoadOnDemand(name, index) end \ No newline at end of file +function IsAddOnLoadOnDemand(name, index) end diff --git a/api/IsAddOnLoaded.lua b/api/IsAddOnLoaded.lua index 23e9ef0..43a96d6 100644 --- a/api/IsAddOnLoaded.lua +++ b/api/IsAddOnLoaded.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return 1nil loaded +---@param name string +---@param index number +---@return 1nil loaded ---Returns whether an addon is currently loaded -function IsAddOnLoaded(name, index) end \ No newline at end of file +function IsAddOnLoaded(name, index) end diff --git a/api/IsAddonMessagePrefixRegistered.lua b/api/IsAddonMessagePrefixRegistered.lua index e148547..d4d1dd1 100644 --- a/api/IsAddonMessagePrefixRegistered.lua +++ b/api/IsAddonMessagePrefixRegistered.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param prefix string ----@return boolean isRegistered +---@param prefix string +---@return boolean isRegistered ---Returns whether or not the client has registered to receive messages with a given addon prefix -function IsAddonMessagePrefixRegistered(prefix) end \ No newline at end of file +function IsAddonMessagePrefixRegistered(prefix) end diff --git a/api/IsAddonVersionCheckEnabled.lua b/api/IsAddonVersionCheckEnabled.lua index 820a614..b74b9c7 100644 --- a/api/IsAddonVersionCheckEnabled.lua +++ b/api/IsAddonVersionCheckEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsAddonVersionCheckEnabled() end \ No newline at end of file +function IsAddonVersionCheckEnabled() end diff --git a/api/IsAltKeyDown.lua b/api/IsAltKeyDown.lua index 7b1d4f7..eab4dc8 100644 --- a/api/IsAltKeyDown.lua +++ b/api/IsAltKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return true/false isDown +---@return true/false isDown ---Returns whether an Alt key on the keyboard is held down. -function IsAltKeyDown() end \ No newline at end of file +function IsAltKeyDown() end diff --git a/api/IsArenaSkirmish.lua b/api/IsArenaSkirmish.lua index 08529ad..2c5eb1e 100644 --- a/api/IsArenaSkirmish.lua +++ b/api/IsArenaSkirmish.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsArenaSkirmish() end \ No newline at end of file +function IsArenaSkirmish() end diff --git a/api/IsArenaTeamCaptain.lua b/api/IsArenaTeamCaptain.lua index 6669fb6..d43471f 100644 --- a/api/IsArenaTeamCaptain.lua +++ b/api/IsArenaTeamCaptain.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param team number ----@return 1nil isCaptain +---@param team number +---@return 1nil isCaptain ---Returns whether the player is the captain of an arena team. Also returns 1 if the player is not on a team of the given arenaTeamID. -function IsArenaTeamCaptain(team) end \ No newline at end of file +function IsArenaTeamCaptain(team) end diff --git a/api/IsArtifactCompletionHistoryAvailable.lua b/api/IsArtifactCompletionHistoryAvailable.lua index e58bea3..f54ddb0 100644 --- a/api/IsArtifactCompletionHistoryAvailable.lua +++ b/api/IsArtifactCompletionHistoryAvailable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsArtifactCompletionHistoryAvailable() end \ No newline at end of file +function IsArtifactCompletionHistoryAvailable() end diff --git a/api/IsAtStableMaster.lua b/api/IsAtStableMaster.lua index c38fdc5..04736fa 100644 --- a/api/IsAtStableMaster.lua +++ b/api/IsAtStableMaster.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isAtNPC +---@return boolean isAtNPC ---Returns whether the player is interacting with a Stable Master NPC. The Pet Stable UI/API can be active without an NPC if the player is using the Call Stabled Pet ability. New stable slots can only be purchased while talking to an NPC -- the default UI uses this function to determine whether to show UI elements related to purchasing slots. -function IsAtStableMaster() end \ No newline at end of file +function IsAtStableMaster() end diff --git a/api/IsAttackAction.lua b/api/IsAttackAction.lua index a17c291..a3d012b 100644 --- a/api/IsAttackAction.lua +++ b/api/IsAttackAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isAttack +---@param slot number +---@return 1nil isAttack ---Returns whether an action is the standard melee Attack action. Used in the default UI to flash the action button while auto-attack is active. Does not apply to other repeating actions such as Auto Shot (for hunters) and Shoot (for wand users); for those, see IsAutoRepeatAction. -function IsAttackAction(slot) end \ No newline at end of file +function IsAttackAction(slot) end diff --git a/api/IsAttackSpell.lua b/api/IsAttackSpell.lua index 77de40c..c048722 100644 --- a/api/IsAttackSpell.lua +++ b/api/IsAttackSpell.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isAttack +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isAttack ---Returns whether a spell is the standard melee Attack spell -function IsAttackSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsAttackSpell(index, bookType, pet, spell, name) end diff --git a/api/IsAuctionSortReversed.lua b/api/IsAuctionSortReversed.lua index dd0b3d3..20ed61e 100644 --- a/api/IsAuctionSortReversed.lua +++ b/api/IsAuctionSortReversed.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param sort string ----@return 1nil isReversed ----@return 1nil isSorted +---@param list owner +---@param bidder +---@param list +---@param owner +---@param sort string +---@return 1nil isReversed +---@return 1nil isSorted ---Returns whether a sort criterion is applied in reverse order. No longer used in the default UI; see GetAuctionSort() instead. -function IsAuctionSortReversed(list, bidder, list, owner, sort) end \ No newline at end of file +function IsAuctionSortReversed(list, bidder, list, owner, sort) end diff --git a/api/IsAutoRepeatAction.lua b/api/IsAutoRepeatAction.lua index 54f28ec..694cda2 100644 --- a/api/IsAutoRepeatAction.lua +++ b/api/IsAutoRepeatAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isRepeating +---@param slot number +---@return 1nil isRepeating ---Returns whether an action is an automatically repeating action. Used in the default UI to flash the action button while the action is repeating. Applies to actions such as Auto Shot (for hunters) and Shoot (for wand and other ranged weapon users) but not to the standard melee Attack action; for it, see IsAttackAction. -function IsAutoRepeatAction(slot) end \ No newline at end of file +function IsAutoRepeatAction(slot) end diff --git a/api/IsAutoRepeatSpell.lua b/api/IsAutoRepeatSpell.lua index 177eff7..05f3736 100644 --- a/api/IsAutoRepeatSpell.lua +++ b/api/IsAutoRepeatSpell.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellName string ----@return 1nil isAutoRepeat +---@param spellName string +---@return 1nil isAutoRepeat ---Returns whether a spell is an automatically repeating spell -function IsAutoRepeatSpell(spellName) end \ No newline at end of file +function IsAutoRepeatSpell(spellName) end diff --git a/api/IsAvailableQuestTrivial.lua b/api/IsAvailableQuestTrivial.lua index ddf5765..e9100ab 100644 --- a/api/IsAvailableQuestTrivial.lua +++ b/api/IsAvailableQuestTrivial.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return 1nil trivial +---@param index number +---@return 1nil trivial ---Returns whether a quest available from the current Quest NPC is trivial at the player's level. Only returns valid information after a QUEST_GREETING event. Used in the default UI to display "(low level)" when listing the quest. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. -function IsAvailableQuestTrivial(index) end \ No newline at end of file +function IsAvailableQuestTrivial(index) end diff --git a/api/IsBNLogin.lua b/api/IsBNLogin.lua index 5a38137..ecc11b3 100644 --- a/api/IsBNLogin.lua +++ b/api/IsBNLogin.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBNLogin() end \ No newline at end of file +function IsBNLogin() end diff --git a/api/IsBagSlotFlagEnabledOnOtherBags.lua b/api/IsBagSlotFlagEnabledOnOtherBags.lua index 6e20f14..750b33d 100644 --- a/api/IsBagSlotFlagEnabledOnOtherBags.lua +++ b/api/IsBagSlotFlagEnabledOnOtherBags.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBagSlotFlagEnabledOnOtherBags() end \ No newline at end of file +function IsBagSlotFlagEnabledOnOtherBags() end diff --git a/api/IsBagSlotFlagEnabledOnOtherBankBags.lua b/api/IsBagSlotFlagEnabledOnOtherBankBags.lua index 4f6298d..3c635c7 100644 --- a/api/IsBagSlotFlagEnabledOnOtherBankBags.lua +++ b/api/IsBagSlotFlagEnabledOnOtherBankBags.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBagSlotFlagEnabledOnOtherBankBags() end \ No newline at end of file +function IsBagSlotFlagEnabledOnOtherBankBags() end diff --git a/api/IsBarberShopStyleValid.lua b/api/IsBarberShopStyleValid.lua index 1cbce69..0caf33b 100644 --- a/api/IsBarberShopStyleValid.lua +++ b/api/IsBarberShopStyleValid.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBarberShopStyleValid() end \ No newline at end of file +function IsBarberShopStyleValid() end diff --git a/api/IsBattlePayItem.lua b/api/IsBattlePayItem.lua index aa55875..65595cb 100644 --- a/api/IsBattlePayItem.lua +++ b/api/IsBattlePayItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBattlePayItem() end \ No newline at end of file +function IsBattlePayItem() end diff --git a/api/IsBlizzCon.lua b/api/IsBlizzCon.lua index 52cbe6e..e4fcfc2 100644 --- a/api/IsBlizzCon.lua +++ b/api/IsBlizzCon.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBlizzCon() end \ No newline at end of file +function IsBlizzCon() end diff --git a/api/IsBreadcrumbQuest.lua b/api/IsBreadcrumbQuest.lua index fa1272c..aefa70f 100644 --- a/api/IsBreadcrumbQuest.lua +++ b/api/IsBreadcrumbQuest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsBreadcrumbQuest() end \ No newline at end of file +function IsBreadcrumbQuest() end diff --git a/api/IsCemeterySelectionAvailable.lua b/api/IsCemeterySelectionAvailable.lua index 076a1df..8f80003 100644 --- a/api/IsCemeterySelectionAvailable.lua +++ b/api/IsCemeterySelectionAvailable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsCemeterySelectionAvailable() end \ No newline at end of file +function IsCemeterySelectionAvailable() end diff --git a/api/IsCharacterNewlyBoosted.lua b/api/IsCharacterNewlyBoosted.lua index 90c3386..49182be 100644 --- a/api/IsCharacterNewlyBoosted.lua +++ b/api/IsCharacterNewlyBoosted.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsCharacterNewlyBoosted() end \ No newline at end of file +function IsCharacterNewlyBoosted() end diff --git a/api/IsChatAFK.lua b/api/IsChatAFK.lua index 02008b4..e58c73a 100644 --- a/api/IsChatAFK.lua +++ b/api/IsChatAFK.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isAway +---@return boolean isAway ---Returns whether the player's status is Away -function IsChatAFK() end \ No newline at end of file +function IsChatAFK() end diff --git a/api/IsChatDND.lua b/api/IsChatDND.lua index 49bbe1a..aa76ebf 100644 --- a/api/IsChatDND.lua +++ b/api/IsChatDND.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isBusy +---@return boolean isBusy ---Returns whether the player's status is Busy -function IsChatDND() end \ No newline at end of file +function IsChatDND() end diff --git a/api/IsConsumableAction.lua b/api/IsConsumableAction.lua index a2c653c..fe22b82 100644 --- a/api/IsConsumableAction.lua +++ b/api/IsConsumableAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isConsumable +---@param slot number +---@return 1nil isConsumable ---Returns whether using an action consumes an item. Applies both to consumable items (such as food and potions) and to spells which use a reagent (e.g. Prayer of Fortitude, Divine Intervention, Water Walking, Portal: Dalaran). -function IsConsumableAction(slot) end \ No newline at end of file +function IsConsumableAction(slot) end diff --git a/api/IsConsumableItem.lua b/api/IsConsumableItem.lua index 2a19da3..ce759cb 100644 --- a/api/IsConsumableItem.lua +++ b/api/IsConsumableItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil consumable +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil consumable ---Returns whether an item is consumable. Indicates whether the item is destroyed upon use, not necessarily whether it belongs to the "Consumable" type/class. -function IsConsumableItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsConsumableItem(itemID, itemName, itemLink) end diff --git a/api/IsConsumableSpell.lua b/api/IsConsumableSpell.lua index 6581fd3..ae28fe3 100644 --- a/api/IsConsumableSpell.lua +++ b/api/IsConsumableSpell.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isConsumable +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isConsumable ---Returns whether casting a spell consumes a reagent item -function IsConsumableSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsConsumableSpell(index, bookType, pet, spell, name) end diff --git a/api/IsContainerFiltered.lua b/api/IsContainerFiltered.lua index d965895..d71aeba 100644 --- a/api/IsContainerFiltered.lua +++ b/api/IsContainerFiltered.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsContainerFiltered() end \ No newline at end of file +function IsContainerFiltered() end diff --git a/api/IsControlKeyDown.lua b/api/IsControlKeyDown.lua index bade02f..6501105 100644 --- a/api/IsControlKeyDown.lua +++ b/api/IsControlKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether a Control key on the keyboard is held down -function IsControlKeyDown() end \ No newline at end of file +function IsControlKeyDown() end diff --git a/api/IsCurrentAction.lua b/api/IsCurrentAction.lua index 1f989de..5a2736c 100644 --- a/api/IsCurrentAction.lua +++ b/api/IsCurrentAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isCurrent +---@param slot number +---@return 1nil isCurrent ---Returns whether an action is currently being used -function IsCurrentAction(slot) end \ No newline at end of file +function IsCurrentAction(slot) end diff --git a/api/IsCurrentItem.lua b/api/IsCurrentItem.lua index 49ca836..5acf754 100644 --- a/api/IsCurrentItem.lua +++ b/api/IsCurrentItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isItem +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isItem ---Returns whether an item is being used -function IsCurrentItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsCurrentItem(itemID, itemName, itemLink) end diff --git a/api/IsCurrentQuestFailed.lua b/api/IsCurrentQuestFailed.lua index 708b51e..34ff320 100644 --- a/api/IsCurrentQuestFailed.lua +++ b/api/IsCurrentQuestFailed.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isFailed +---@return 1nil isFailed ---Returns whether the player has failed the selected quest in the quest log -function IsCurrentQuestFailed() end \ No newline at end of file +function IsCurrentQuestFailed() end diff --git a/api/IsCurrentSpell.lua b/api/IsCurrentSpell.lua index 1123dd7..c93fbc5 100644 --- a/api/IsCurrentSpell.lua +++ b/api/IsCurrentSpell.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isCurrent +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isCurrent ---Returns whether a spell is currently being used -function IsCurrentSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsCurrentSpell(index, bookType, pet, spell, name) end diff --git a/api/IsDebugBuild.lua b/api/IsDebugBuild.lua index ff0c814..a791d37 100644 --- a/api/IsDebugBuild.lua +++ b/api/IsDebugBuild.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsDebugBuild() end \ No newline at end of file +function IsDebugBuild() end diff --git a/api/IsDesaturateSupported.lua b/api/IsDesaturateSupported.lua index 503244e..3aa9bf1 100644 --- a/api/IsDesaturateSupported.lua +++ b/api/IsDesaturateSupported.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isSupported +---@return 1nil isSupported ---Returns whether the current hardware supports desaturated textures -function IsDesaturateSupported() end \ No newline at end of file +function IsDesaturateSupported() end diff --git a/api/IsDisplayChannelModerator.lua b/api/IsDisplayChannelModerator.lua index 240d052..bb57682 100644 --- a/api/IsDisplayChannelModerator.lua +++ b/api/IsDisplayChannelModerator.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isModerator +---@return 1nil isModerator ---Returns whether the player is a moderator of the selected channel in the channel list display -function IsDisplayChannelModerator() end \ No newline at end of file +function IsDisplayChannelModerator() end diff --git a/api/IsDisplayChannelOwner.lua b/api/IsDisplayChannelOwner.lua index 3a883ae..75cf54b 100644 --- a/api/IsDisplayChannelOwner.lua +++ b/api/IsDisplayChannelOwner.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isOwner +---@return 1nil isOwner ---Returns whether the player is the owner of the selected channel in the channel list display -function IsDisplayChannelOwner() end \ No newline at end of file +function IsDisplayChannelOwner() end diff --git a/api/IsDressableItem.lua b/api/IsDressableItem.lua index 02e54ec..7e322e9 100644 --- a/api/IsDressableItem.lua +++ b/api/IsDressableItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isDressable +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isDressable ---Returns whether an item's appearance can be previewed using the Dressing Room feature -function IsDressableItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsDressableItem(itemID, itemName, itemLink) end diff --git a/api/IsEncounterInProgress.lua b/api/IsEncounterInProgress.lua index a569944..f430005 100644 --- a/api/IsEncounterInProgress.lua +++ b/api/IsEncounterInProgress.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsEncounterInProgress() end \ No newline at end of file +function IsEncounterInProgress() end diff --git a/api/IsEquippableItem.lua b/api/IsEquippableItem.lua index e1e2fe2..8ce4ade 100644 --- a/api/IsEquippableItem.lua +++ b/api/IsEquippableItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isEquippable +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isEquippable ---Returns whether an item can be equipped. Indicates whether an item is capable of being equipped on a character, not necessarily whether the player character is able to wear it. -function IsEquippableItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsEquippableItem(itemID, itemName, itemLink) end diff --git a/api/IsEquippedAction.lua b/api/IsEquippedAction.lua index ee59ee6..7cbb514 100644 --- a/api/IsEquippedAction.lua +++ b/api/IsEquippedAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isEquipped +---@param slot number +---@return 1nil isEquipped ---Returns whether an action contains an equipped item. Applies to actions involving equippable items (not to consumables or other items with "Use:" effects) and indicates the effect of performing the action: if an action's item is not equipped, using the action will equip it; if the item is equipped and has a "Use:" effect, using the action will activate said effect. -function IsEquippedAction(slot) end \ No newline at end of file +function IsEquippedAction(slot) end diff --git a/api/IsEquippedItem.lua b/api/IsEquippedItem.lua index c2fba1c..d07ff88 100644 --- a/api/IsEquippedItem.lua +++ b/api/IsEquippedItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isEquipped +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isEquipped ---Returns whether an item is currently equipped -function IsEquippedItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsEquippedItem(itemID, itemName, itemLink) end diff --git a/api/IsEquippedItemType.lua b/api/IsEquippedItemType.lua index 7db3c47..fcf51e2 100644 --- a/api/IsEquippedItemType.lua +++ b/api/IsEquippedItemType.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type string ----@return 1nil isEquipped +---@param type string +---@return 1nil isEquipped ---Returns whether any items of a given type are currently equipped. Possible arguments include the localized names of item classes (as returned from GetAuctionItemClasses; e.g. "Weapon", "Armor"), subclasses (as returned from GetAuctionItemSubClasses; e.g. "One-handed axes", "Shields", "Cloth"), and the global tokens or localized names for equip locations (as returned from GetAuctionInvTypes; e.g. "INVTYPE_WEAPONMAINHAND", "Off Hand"). -function IsEquippedItemType(type) end \ No newline at end of file +function IsEquippedItemType(type) end diff --git a/api/IsEuropeanNumbers.lua b/api/IsEuropeanNumbers.lua index bf52d68..1a67cac 100644 --- a/api/IsEuropeanNumbers.lua +++ b/api/IsEuropeanNumbers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsEuropeanNumbers() end \ No newline at end of file +function IsEuropeanNumbers() end diff --git a/api/IsEveryoneAssistant.lua b/api/IsEveryoneAssistant.lua index e455c75..ba07ced 100644 --- a/api/IsEveryoneAssistant.lua +++ b/api/IsEveryoneAssistant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsEveryoneAssistant() end \ No newline at end of file +function IsEveryoneAssistant() end diff --git a/api/IsExpansionTrial.lua b/api/IsExpansionTrial.lua index affa20b..b1d0041 100644 --- a/api/IsExpansionTrial.lua +++ b/api/IsExpansionTrial.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsExpansionTrial() end \ No newline at end of file +function IsExpansionTrial() end diff --git a/api/IsFactionInactive.lua b/api/IsFactionInactive.lua index 0428039..165b0ec 100644 --- a/api/IsFactionInactive.lua +++ b/api/IsFactionInactive.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return 1nil isInactive +---@param index number +---@return 1nil isInactive ---Returns whether a faction is flagged as "inactive". "Inactive" factions behave no differently; the distinction only exists to allow players to hide factions they don't care about from the main display. Factions thus marked are automatically moved to an "Inactive" group at the end of the faction list. -function IsFactionInactive(index) end \ No newline at end of file +function IsFactionInactive(index) end diff --git a/api/IsFalling.lua b/api/IsFalling.lua index ff3048b..67df97d 100644 --- a/api/IsFalling.lua +++ b/api/IsFalling.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil falling +---@return 1nil falling ---Returns whether the player is currently falling -function IsFalling() end \ No newline at end of file +function IsFalling() end diff --git a/api/IsFishingLoot.lua b/api/IsFishingLoot.lua index 13843d0..ffa4442 100644 --- a/api/IsFishingLoot.lua +++ b/api/IsFishingLoot.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isFishing +---@return 1nil isFishing ---Returns whether the currently displayed loot came from fishing. Used in the default UI to play a fishing sound effect and change the appearance of the loot window. -function IsFishingLoot() end \ No newline at end of file +function IsFishingLoot() end diff --git a/api/IsFlyableArea.lua b/api/IsFlyableArea.lua index 4ac7b5d..a8506cf 100644 --- a/api/IsFlyableArea.lua +++ b/api/IsFlyableArea.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isFlyable +---@return 1nil isFlyable ---Returns whether flight is allowed on the continent where the player is currently located. Returns 1 for some areas in which flight is disabled -- notably Dalaran (with the exception of the Krasus' Landing subzone) and Wintergrasp. -function IsFlyableArea() end \ No newline at end of file +function IsFlyableArea() end diff --git a/api/IsFlying.lua b/api/IsFlying.lua index 728de91..f06dac5 100644 --- a/api/IsFlying.lua +++ b/api/IsFlying.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isFlying +---@return 1nil isFlying ---Returns whether the player is currently flying -function IsFlying() end \ No newline at end of file +function IsFlying() end diff --git a/api/IsGMClient.lua b/api/IsGMClient.lua index 3977344..920a25d 100644 --- a/api/IsGMClient.lua +++ b/api/IsGMClient.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsGMClient() end \ No newline at end of file +function IsGMClient() end diff --git a/api/IsGlyphFlagSet.lua b/api/IsGlyphFlagSet.lua index 3ac4df5..94aff6c 100644 --- a/api/IsGlyphFlagSet.lua +++ b/api/IsGlyphFlagSet.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsGlyphFlagSet() end \ No newline at end of file +function IsGlyphFlagSet() end diff --git a/api/IsGuildLeader.lua b/api/IsGuildLeader.lua index 6ab3b70..54ec5cc 100644 --- a/api/IsGuildLeader.lua +++ b/api/IsGuildLeader.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isLeader +---@return 1nil isLeader ---Returns whether or player is leader of his or her guild -function IsGuildLeader() end \ No newline at end of file +function IsGuildLeader() end diff --git a/api/IsGuildRankAssignmentAllowed.lua b/api/IsGuildRankAssignmentAllowed.lua index 8f53dee..2278391 100644 --- a/api/IsGuildRankAssignmentAllowed.lua +++ b/api/IsGuildRankAssignmentAllowed.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsGuildRankAssignmentAllowed() end \ No newline at end of file +function IsGuildRankAssignmentAllowed() end diff --git a/api/IsHarmfulItem.lua b/api/IsHarmfulItem.lua index 410b3df..5f356c2 100644 --- a/api/IsHarmfulItem.lua +++ b/api/IsHarmfulItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isHarmful +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isHarmful ---Returns whether an item can be used against hostile units. Harmful items include grenades and various quest items ("Use this to zap 30 murlocs!"). -function IsHarmfulItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsHarmfulItem(itemID, itemName, itemLink) end diff --git a/api/IsHarmfulSpell.lua b/api/IsHarmfulSpell.lua index e198f1a..0a861be 100644 --- a/api/IsHarmfulSpell.lua +++ b/api/IsHarmfulSpell.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isHarmful +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isHarmful ---Returns whether a spell can be used against hostile units -function IsHarmfulSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsHarmfulSpell(index, bookType, pet, spell, name) end diff --git a/api/IsHelpfulItem.lua b/api/IsHelpfulItem.lua index b9a273a..5df33b0 100644 --- a/api/IsHelpfulItem.lua +++ b/api/IsHelpfulItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isHarmful +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isHarmful ---Returns whether an item can be used on the player or friendly units. Helpful items include potions, scrolls, food and drink. -function IsHelpfulItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsHelpfulItem(itemID, itemName, itemLink) end diff --git a/api/IsHelpfulSpell.lua b/api/IsHelpfulSpell.lua index 70ec595..cdef2ac 100644 --- a/api/IsHelpfulSpell.lua +++ b/api/IsHelpfulSpell.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isHelpful +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isHelpful ---Returns whether an item can be used on the player or friendly units -function IsHelpfulSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsHelpfulSpell(index, bookType, pet, spell, name) end diff --git a/api/IsIgnored.lua b/api/IsIgnored.lua index 53d7d4a..e8b9a3f 100644 --- a/api/IsIgnored.lua +++ b/api/IsIgnored.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil isIgnored +---@param unit string +---@param name string +---@return 1nil isIgnored ---Returns whether a unit is on the player's ignore list -function IsIgnored(unit, name) end \ No newline at end of file +function IsIgnored(unit, name) end diff --git a/api/IsIgnoredOrMuted.lua b/api/IsIgnoredOrMuted.lua index c44173b..024e34e 100644 --- a/api/IsIgnoredOrMuted.lua +++ b/api/IsIgnoredOrMuted.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isIgnoredOrMuted +---@param unit string +---@return 1nil isIgnoredOrMuted ---Returns whether a unit can be heard due to ignored/muted status -function IsIgnoredOrMuted(unit) end \ No newline at end of file +function IsIgnoredOrMuted(unit) end diff --git a/api/IsInActiveWorldPVP.lua b/api/IsInActiveWorldPVP.lua index 79d808e..90c2851 100644 --- a/api/IsInActiveWorldPVP.lua +++ b/api/IsInActiveWorldPVP.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsInActiveWorldPVP() end \ No newline at end of file +function IsInActiveWorldPVP() end diff --git a/api/IsInArenaTeam.lua b/api/IsInArenaTeam.lua index 357eaad..250793f 100644 --- a/api/IsInArenaTeam.lua +++ b/api/IsInArenaTeam.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isInTeam +---@return boolean isInTeam ---Returns whether the player is on an arena team -function IsInArenaTeam() end \ No newline at end of file +function IsInArenaTeam() end diff --git a/api/IsInGroup.lua b/api/IsInGroup.lua index e9f8d2f..5540f09 100644 --- a/api/IsInGroup.lua +++ b/api/IsInGroup.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param groupType LE_PARTY_CATEGORY_INSTANCE ----@param LE_PARTY_CATEGORY_HOME ----@param LE_PARTY_CATEGORY_INSTANCE ----@return boolean inGroup +---@param groupType LE_PARTY_CATEGORY_INSTANCE +---@param LE_PARTY_CATEGORY_HOME +---@param LE_PARTY_CATEGORY_INSTANCE +---@return boolean inGroup ---Returns whether the player is currently in the specified type of group, or any type of group if not specified. -function IsInGroup(groupType, LE_PARTY_CATEGORY_HOME, LE_PARTY_CATEGORY_INSTANCE) end \ No newline at end of file +function IsInGroup(groupType, LE_PARTY_CATEGORY_HOME, LE_PARTY_CATEGORY_INSTANCE) end diff --git a/api/IsInGuild.lua b/api/IsInGuild.lua index 7ed3f83..147b99d 100644 --- a/api/IsInGuild.lua +++ b/api/IsInGuild.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inGuild +---@return 1nil inGuild ---Returns whether the player is in a guild -function IsInGuild() end \ No newline at end of file +function IsInGuild() end diff --git a/api/IsInInstance.lua b/api/IsInInstance.lua index 262ef4f..677350d 100644 --- a/api/IsInInstance.lua +++ b/api/IsInInstance.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isInstance ----@return raid instanceType ----@return arena ----@return none ----@return party ----@return pvp ----@return raid +---@return boolean isInstance +---@return raid instanceType +---@return arena +---@return none +---@return party +---@return pvp +---@return raid ---Returns whether the player is in an instance (and its type if applicable) -function IsInInstance() end \ No newline at end of file +function IsInInstance() end diff --git a/api/IsInLFGDungeon.lua b/api/IsInLFGDungeon.lua index 908dc6a..2727e7c 100644 --- a/api/IsInLFGDungeon.lua +++ b/api/IsInLFGDungeon.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsInLFGDungeon() end \ No newline at end of file +function IsInLFGDungeon() end diff --git a/api/IsInRaid.lua b/api/IsInRaid.lua index ed0125d..ab3ae43 100644 --- a/api/IsInRaid.lua +++ b/api/IsInRaid.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean inRaid +---@return boolean inRaid ---Returns whether the player is currently in a raid group -function IsInRaid() end \ No newline at end of file +function IsInRaid() end diff --git a/api/IsInScenarioGroup.lua b/api/IsInScenarioGroup.lua index 8617b24..6832020 100644 --- a/api/IsInScenarioGroup.lua +++ b/api/IsInScenarioGroup.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsInScenarioGroup() end \ No newline at end of file +function IsInScenarioGroup() end diff --git a/api/IsIndoors.lua b/api/IsIndoors.lua index 13fbceb..8ecbba7 100644 --- a/api/IsIndoors.lua +++ b/api/IsIndoors.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil inside +---@return 1nil inside ---Returns whether the player is currently indoors -function IsIndoors() end \ No newline at end of file +function IsIndoors() end diff --git a/api/IsInventoryItemLocked.lua b/api/IsInventoryItemLocked.lua index 88cb9c9..ca85ac9 100644 --- a/api/IsInventoryItemLocked.lua +++ b/api/IsInventoryItemLocked.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isLocked +---@param slot number +---@return 1nil isLocked ---Returns whether an inventory slot is locked. Items become locked while being moved, split, or placed into other UI elements (such as the mail, trade, and auction windows); the item is unlocked once such an action is completed. -function IsInventoryItemLocked(slot) end \ No newline at end of file +function IsInventoryItemLocked(slot) end diff --git a/api/IsInventoryItemProfessionBag.lua b/api/IsInventoryItemProfessionBag.lua index 4950183..45200b5 100644 --- a/api/IsInventoryItemProfessionBag.lua +++ b/api/IsInventoryItemProfessionBag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsInventoryItemProfessionBag() end \ No newline at end of file +function IsInventoryItemProfessionBag() end diff --git a/api/IsItemAction.lua b/api/IsItemAction.lua index eebe5d8..909d43d 100644 --- a/api/IsItemAction.lua +++ b/api/IsItemAction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsItemAction() end \ No newline at end of file +function IsItemAction() end diff --git a/api/IsItemInRange.lua b/api/IsItemInRange.lua index c1b73cf..67de747 100644 --- a/api/IsItemInRange.lua +++ b/api/IsItemInRange.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@param unit string ----@return 1nil inRange +---@param itemID number +---@param itemName string +---@param itemLink string +---@param unit string +---@return 1nil inRange ---Returns whether the player is in range to use an item on a unit -function IsItemInRange(itemID, itemName, itemLink, unit) end \ No newline at end of file +function IsItemInRange(itemID, itemName, itemLink, unit) end diff --git a/api/IsLFGComplete.lua b/api/IsLFGComplete.lua index b8cd062..1bfe63f 100644 --- a/api/IsLFGComplete.lua +++ b/api/IsLFGComplete.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsLFGComplete() end \ No newline at end of file +function IsLFGComplete() end diff --git a/api/IsLFGDungeonJoinable.lua b/api/IsLFGDungeonJoinable.lua index a2b3f0e..4aaf7fa 100644 --- a/api/IsLFGDungeonJoinable.lua +++ b/api/IsLFGDungeonJoinable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsLFGDungeonJoinable() end \ No newline at end of file +function IsLFGDungeonJoinable() end diff --git a/api/IsLeftAltKeyDown.lua b/api/IsLeftAltKeyDown.lua index 233d8b1..8276ecf 100644 --- a/api/IsLeftAltKeyDown.lua +++ b/api/IsLeftAltKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether the left Alt key is currently held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Alt keys are reported as Left Alt.) -function IsLeftAltKeyDown() end \ No newline at end of file +function IsLeftAltKeyDown() end diff --git a/api/IsLeftControlKeyDown.lua b/api/IsLeftControlKeyDown.lua index 7367ff7..c493446 100644 --- a/api/IsLeftControlKeyDown.lua +++ b/api/IsLeftControlKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether the left Control key is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Control keys are reported as Left Control.) -function IsLeftControlKeyDown() end \ No newline at end of file +function IsLeftControlKeyDown() end diff --git a/api/IsLeftShiftKeyDown.lua b/api/IsLeftShiftKeyDown.lua index f6ea512..c5b19c6 100644 --- a/api/IsLeftShiftKeyDown.lua +++ b/api/IsLeftShiftKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether the left Shift key on the keyboard is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Shift keys are reported as Left Shift.) -function IsLeftShiftKeyDown() end \ No newline at end of file +function IsLeftShiftKeyDown() end diff --git a/api/IsLegacyDifficulty.lua b/api/IsLegacyDifficulty.lua index 6135ddd..f560d66 100644 --- a/api/IsLegacyDifficulty.lua +++ b/api/IsLegacyDifficulty.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsLegacyDifficulty() end \ No newline at end of file +function IsLegacyDifficulty() end diff --git a/api/IsLinuxClient.lua b/api/IsLinuxClient.lua index 93f5f00..9eff9c9 100644 --- a/api/IsLinuxClient.lua +++ b/api/IsLinuxClient.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return nil isLinux +---@return nil isLinux ---Returns whether the player is using the native Linux game client. This function does NOT return true if the player is running a Windows client under Wine or other virtualization software. No native Linux client has been made public at this time. -function IsLinuxClient() end \ No newline at end of file +function IsLinuxClient() end diff --git a/api/IsLoggedIn.lua b/api/IsLoggedIn.lua index 2f72ed0..8b3dabe 100644 --- a/api/IsLoggedIn.lua +++ b/api/IsLoggedIn.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil loggedIn +---@return 1nil loggedIn ---Returns whether the login process has completed. The PLAYER_LOGIN event provides similar information; this function presents an alternative that can be used across UI reloads. -function IsLoggedIn() end \ No newline at end of file +function IsLoggedIn() end diff --git a/api/IsMacClient.lua b/api/IsMacClient.lua index ce42802..5a9f657 100644 --- a/api/IsMacClient.lua +++ b/api/IsMacClient.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isMac +---@return 1nil isMac ---Returns whether the player is using the Mac OS X game client -function IsMacClient() end \ No newline at end of file +function IsMacClient() end diff --git a/api/IsMapGarrisonMap.lua b/api/IsMapGarrisonMap.lua index b786380..e18e20a 100644 --- a/api/IsMapGarrisonMap.lua +++ b/api/IsMapGarrisonMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsMapGarrisonMap() end \ No newline at end of file +function IsMapGarrisonMap() end diff --git a/api/IsMasterLooter.lua b/api/IsMasterLooter.lua index 7148938..60a385f 100644 --- a/api/IsMasterLooter.lua +++ b/api/IsMasterLooter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsMasterLooter() end \ No newline at end of file +function IsMasterLooter() end diff --git a/api/IsModifiedClick.lua b/api/IsModifiedClick.lua index 170b1aa..c32b0dc 100644 --- a/api/IsModifiedClick.lua +++ b/api/IsModifiedClick.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type string ----@return 1nil modifiedClick +---@param type string +---@return 1nil modifiedClick ---Determines if the modifiers specified in the click-type had been held down while the button click occurred.. If called from a click handler (OnMouseDown, OnMouseUp, OnClick, OnDoubleClick, PreClick, or PostClick), checks mouse buttons included in the binding; otherwise checks modifiers only (see example). -function IsModifiedClick(type) end \ No newline at end of file +function IsModifiedClick(type) end diff --git a/api/IsModifierKeyDown.lua b/api/IsModifierKeyDown.lua index 94ff7d6..571a95e 100644 --- a/api/IsModifierKeyDown.lua +++ b/api/IsModifierKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether a modifier key is held down. Modifier keys include shift, control or alt on either side of the keyboard. WoW does not recognize platform-specific modifier keys (such as fn, meta, Windows, or Command). -function IsModifierKeyDown() end \ No newline at end of file +function IsModifierKeyDown() end diff --git a/api/IsMounted.lua b/api/IsMounted.lua index 0ea32f3..e2b8e64 100644 --- a/api/IsMounted.lua +++ b/api/IsMounted.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil mounted +---@return 1nil mounted ---Returns whether the player is mounted -function IsMounted() end \ No newline at end of file +function IsMounted() end diff --git a/api/IsMouselooking.lua b/api/IsMouselooking.lua index 72d54b6..38873b8 100644 --- a/api/IsMouselooking.lua +++ b/api/IsMouselooking.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isLooking +---@return boolean isLooking ---Returns whether mouselook mode is active -function IsMouselooking() end \ No newline at end of file +function IsMouselooking() end diff --git a/api/IsMovieLocal.lua b/api/IsMovieLocal.lua index 4b821ad..b024cdd 100644 --- a/api/IsMovieLocal.lua +++ b/api/IsMovieLocal.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsMovieLocal() end \ No newline at end of file +function IsMovieLocal() end diff --git a/api/IsMoviePlayable.lua b/api/IsMoviePlayable.lua index b3221be..d9559dc 100644 --- a/api/IsMoviePlayable.lua +++ b/api/IsMoviePlayable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsMoviePlayable() end \ No newline at end of file +function IsMoviePlayable() end diff --git a/api/IsMuted.lua b/api/IsMuted.lua index 74e3bf0..94d3477 100644 --- a/api/IsMuted.lua +++ b/api/IsMuted.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil muted +---@param unit string +---@param name string +---@return 1nil muted ---Returns whether a character has been muted by the player -function IsMuted(unit, name) end \ No newline at end of file +function IsMuted(unit, name) end diff --git a/api/IsOnGlueScreen.lua b/api/IsOnGlueScreen.lua index 41f5eae..31b8333 100644 --- a/api/IsOnGlueScreen.lua +++ b/api/IsOnGlueScreen.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsOnGlueScreen() end \ No newline at end of file +function IsOnGlueScreen() end diff --git a/api/IsOnTournamentRealm.lua b/api/IsOnTournamentRealm.lua index 6a9423e..8096817 100644 --- a/api/IsOnTournamentRealm.lua +++ b/api/IsOnTournamentRealm.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns whether the player is on an Arena Tournament realm -function IsOnTournamentRealm() end \ No newline at end of file +function IsOnTournamentRealm() end diff --git a/api/IsOutOfBounds.lua b/api/IsOutOfBounds.lua index 3ea0d50..1156784 100644 --- a/api/IsOutOfBounds.lua +++ b/api/IsOutOfBounds.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil outOfBounds +---@return 1nil outOfBounds ---Returns whether the player is currently outside the bounds of the world. Used in the default UI (in conjunction with IsFalling()) to allow the player to release to a graveyard if the character has encountered a bug and fallen underneath the world geometry. -function IsOutOfBounds() end \ No newline at end of file +function IsOutOfBounds() end diff --git a/api/IsOutdoors.lua b/api/IsOutdoors.lua index 4ac0515..b51c224 100644 --- a/api/IsOutdoors.lua +++ b/api/IsOutdoors.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isOutdoors +---@return 1nil isOutdoors ---Returns whether the player is currently outdoors. "Outdoors" as defined by this function corresponds to the ability to use a mount in that specific location, not necessarily whether there is a roof above the player character's head. For example, returns 1 in Ironforge, Undercity, and the Caverns of Time, but nil in the nominally outdoor areas of instances such as Stratholme, Drak'tharon Keep, and Hellfire Ramparts. (Note that even in "outdoor" areas, standing on top of certain objects may interfere with the player's ability to mount up.) -function IsOutdoors() end \ No newline at end of file +function IsOutdoors() end diff --git a/api/IsPVPTimerRunning.lua b/api/IsPVPTimerRunning.lua index 0dd6db5..2713dfe 100644 --- a/api/IsPVPTimerRunning.lua +++ b/api/IsPVPTimerRunning.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isRunning +---@return 1nil isRunning ---Returns whether the player's PvP flag will expire after a period of time. If in a zone that flags the player for PvP, or if the player has manually enabled PvP, the flag will not expire. Once not in such a zone, or once the player has manually disabled PvP, or if the player has been flagged by attacking an enemy unit, the timer starts running and the player's PvP flag will expire after some time. -function IsPVPTimerRunning() end \ No newline at end of file +function IsPVPTimerRunning() end diff --git a/api/IsPartyLFG.lua b/api/IsPartyLFG.lua index bb28e68..16898e6 100644 --- a/api/IsPartyLFG.lua +++ b/api/IsPartyLFG.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsPartyLFG() end \ No newline at end of file +function IsPartyLFG() end diff --git a/api/IsPassiveSpell.lua b/api/IsPassiveSpell.lua index 91b9e72..fb73ba8 100644 --- a/api/IsPassiveSpell.lua +++ b/api/IsPassiveSpell.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isPassive +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isPassive ---Returns whether a spell is passive (cannot be cast) -function IsPassiveSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsPassiveSpell(index, bookType, pet, spell, name) end diff --git a/api/IsPetActive.lua b/api/IsPetActive.lua index da81417..78a7081 100644 --- a/api/IsPetActive.lua +++ b/api/IsPetActive.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsPetActive() end \ No newline at end of file +function IsPetActive() end diff --git a/api/IsPetAttackAction.lua b/api/IsPetAttackAction.lua index b24a4ef..ae51060 100644 --- a/api/IsPetAttackAction.lua +++ b/api/IsPetAttackAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return boolean isAttack +---@param index number +---@return boolean isAttack ---Returns if the pet action button is the pet attack command -function IsPetAttackAction(index) end \ No newline at end of file +function IsPetAttackAction(index) end diff --git a/api/IsPetAttackActive.lua b/api/IsPetAttackActive.lua index 385d17b..02039ae 100644 --- a/api/IsPetAttackActive.lua +++ b/api/IsPetAttackActive.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isActive +---@return 1nil isActive ---Returns whether the pet's attack action is currently active -function IsPetAttackActive() end \ No newline at end of file +function IsPetAttackActive() end diff --git a/api/IsPlayerInMicroDungeon.lua b/api/IsPlayerInMicroDungeon.lua index 7940c96..f23ee1a 100644 --- a/api/IsPlayerInMicroDungeon.lua +++ b/api/IsPlayerInMicroDungeon.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsPlayerInMicroDungeon() end \ No newline at end of file +function IsPlayerInMicroDungeon() end diff --git a/api/IsPlayerInWorld.lua b/api/IsPlayerInWorld.lua index 8eb86d3..e784de5 100644 --- a/api/IsPlayerInWorld.lua +++ b/api/IsPlayerInWorld.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsPlayerInWorld() end \ No newline at end of file +function IsPlayerInWorld() end diff --git a/api/IsPlayerMoving.lua b/api/IsPlayerMoving.lua index 8423ce9..5cecdc2 100644 --- a/api/IsPlayerMoving.lua +++ b/api/IsPlayerMoving.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsPlayerMoving() end \ No newline at end of file +function IsPlayerMoving() end diff --git a/api/IsPlayerNeutral.lua b/api/IsPlayerNeutral.lua index 4b625f9..ac953bd 100644 --- a/api/IsPlayerNeutral.lua +++ b/api/IsPlayerNeutral.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsPlayerNeutral() end \ No newline at end of file +function IsPlayerNeutral() end diff --git a/api/IsPlayerSpell.lua b/api/IsPlayerSpell.lua index 9a0ce35..eb7d3ff 100644 --- a/api/IsPlayerSpell.lua +++ b/api/IsPlayerSpell.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellID number ----@return boolean isPlayerSpell +---@param spellID number +---@return boolean isPlayerSpell ---Returns true if the spell is available to the player's current specialization and talents. This does not check any immediate circumstances that would prevent the casting action itself; only that the spell is available within the constraints of active specialization/talent choices. Used by BlizzardUI to determine the drawing of several class-specific power indicators such as Eclipse and Burning Embers. -function IsPlayerSpell(spellID) end \ No newline at end of file +function IsPlayerSpell(spellID) end diff --git a/api/IsPossessBarVisible.lua b/api/IsPossessBarVisible.lua index c5bc9f9..2805698 100644 --- a/api/IsPossessBarVisible.lua +++ b/api/IsPossessBarVisible.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isVisible +---@return 1nil isVisible ---Returns whether a special action bar should be shown while the player possesses another unit. Used in the default UI to switch between using the ShapeshiftBarFrame or PossessBarFrame to show actions belonging to the possessed unit. -function IsPossessBarVisible() end \ No newline at end of file +function IsPossessBarVisible() end diff --git a/api/IsQuestCompletable.lua b/api/IsQuestCompletable.lua index edaa0a6..c657734 100644 --- a/api/IsQuestCompletable.lua +++ b/api/IsQuestCompletable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isCompletable +---@return 1nil isCompletable ---Returns whether the player can complete the quest presented by a questgiver -function IsQuestCompletable() end \ No newline at end of file +function IsQuestCompletable() end diff --git a/api/IsQuestComplete.lua b/api/IsQuestComplete.lua index 6ab1994..74a7ef9 100644 --- a/api/IsQuestComplete.lua +++ b/api/IsQuestComplete.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsQuestComplete() end \ No newline at end of file +function IsQuestComplete() end diff --git a/api/IsQuestFlaggedCompleted.lua b/api/IsQuestFlaggedCompleted.lua index e3541f6..2f870a4 100644 --- a/api/IsQuestFlaggedCompleted.lua +++ b/api/IsQuestFlaggedCompleted.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questID number ----@return 1nil isCompleted +---@param questID number +---@return 1nil isCompleted ---Returns whether a quest is completed by the player or not -function IsQuestFlaggedCompleted(questID) end \ No newline at end of file +function IsQuestFlaggedCompleted(questID) end diff --git a/api/IsQuestHardWatched.lua b/api/IsQuestHardWatched.lua index 4bb65c5..79fd684 100644 --- a/api/IsQuestHardWatched.lua +++ b/api/IsQuestHardWatched.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsQuestHardWatched() end \ No newline at end of file +function IsQuestHardWatched() end diff --git a/api/IsQuestLogSpecialItemInRange.lua b/api/IsQuestLogSpecialItemInRange.lua index ef98e6f..b6a1c12 100644 --- a/api/IsQuestLogSpecialItemInRange.lua +++ b/api/IsQuestLogSpecialItemInRange.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number ----@return number inRange +---@param questIndex number +---@return number inRange ---Returns whether the player's target is in range for using an item associated with a current quest. Available for a number of quests which involve using an item (i.e. "Use the MacGuffin to summon and defeat the boss", "Use this saw to fell 12 trees", etc.) -function IsQuestLogSpecialItemInRange(questIndex) end \ No newline at end of file +function IsQuestLogSpecialItemInRange(questIndex) end diff --git a/api/IsQuestSequenced.lua b/api/IsQuestSequenced.lua index 0c16f36..7778c0c 100644 --- a/api/IsQuestSequenced.lua +++ b/api/IsQuestSequenced.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsQuestSequenced() end \ No newline at end of file +function IsQuestSequenced() end diff --git a/api/IsQuestTask.lua b/api/IsQuestTask.lua index 4b10fdd..d0af29d 100644 --- a/api/IsQuestTask.lua +++ b/api/IsQuestTask.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsQuestTask() end \ No newline at end of file +function IsQuestTask() end diff --git a/api/IsQuestWatched.lua b/api/IsQuestWatched.lua index 0e05288..48f0729 100644 --- a/api/IsQuestWatched.lua +++ b/api/IsQuestWatched.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number ----@return 1nil isWatched +---@param questIndex number +---@return 1nil isWatched ---Returns whether a quest from the quest log is listed in the objectives tracker -function IsQuestWatched(questIndex) end \ No newline at end of file +function IsQuestWatched(questIndex) end diff --git a/api/IsRaidMarkerActive.lua b/api/IsRaidMarkerActive.lua index a172a11..32afcb0 100644 --- a/api/IsRaidMarkerActive.lua +++ b/api/IsRaidMarkerActive.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsRaidMarkerActive() end \ No newline at end of file +function IsRaidMarkerActive() end diff --git a/api/IsRatedBattleground.lua b/api/IsRatedBattleground.lua index 8e39e88..5c1d25d 100644 --- a/api/IsRatedBattleground.lua +++ b/api/IsRatedBattleground.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isRated +---@return boolean isRated ---Returns whether or not the player is in a rated battleground -function IsRatedBattleground() end \ No newline at end of file +function IsRatedBattleground() end diff --git a/api/IsRatedMap.lua b/api/IsRatedMap.lua index c66bf0a..aa60158 100644 --- a/api/IsRatedMap.lua +++ b/api/IsRatedMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsRatedMap() end \ No newline at end of file +function IsRatedMap() end diff --git a/api/IsReagentBankUnlocked.lua b/api/IsReagentBankUnlocked.lua index eb8bf8c..26bd9a8 100644 --- a/api/IsReagentBankUnlocked.lua +++ b/api/IsReagentBankUnlocked.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isBankUnlocked +---@return boolean isBankUnlocked ---Returns true if Ragent Bank has been purchased -function IsReagentBankUnlocked() end \ No newline at end of file +function IsReagentBankUnlocked() end diff --git a/api/IsReferAFriendLinked.lua b/api/IsReferAFriendLinked.lua index de590d5..6e5e145 100644 --- a/api/IsReferAFriendLinked.lua +++ b/api/IsReferAFriendLinked.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isLinked +---@param unit string +---@return 1nil isLinked ---Returns whether a unit's account is linked to the player's via the Recruit-a-Friend program -function IsReferAFriendLinked(unit) end \ No newline at end of file +function IsReferAFriendLinked(unit) end diff --git a/api/IsResting.lua b/api/IsResting.lua index 9bd1b9d..1af64a8 100644 --- a/api/IsResting.lua +++ b/api/IsResting.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean resting +---@return boolean resting ---Returns whether the player is currently resting. Rest state is provided in Inns and major cities and allows the player to log out immediately (instead of after a brief delay) and accrue bonus XP to be awarded for kills. -function IsResting() end \ No newline at end of file +function IsResting() end diff --git a/api/IsRestrictedAccount.lua b/api/IsRestrictedAccount.lua index eaae1a6..8b6c505 100644 --- a/api/IsRestrictedAccount.lua +++ b/api/IsRestrictedAccount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsRestrictedAccount() end \ No newline at end of file +function IsRestrictedAccount() end diff --git a/api/IsRightAltKeyDown.lua b/api/IsRightAltKeyDown.lua index ab53c75..db2a127 100644 --- a/api/IsRightAltKeyDown.lua +++ b/api/IsRightAltKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether the right Alt key is currently held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Alt keys are reported as Left Alt.) -function IsRightAltKeyDown() end \ No newline at end of file +function IsRightAltKeyDown() end diff --git a/api/IsRightControlKeyDown.lua b/api/IsRightControlKeyDown.lua index 1e3fb9f..42dac42 100644 --- a/api/IsRightControlKeyDown.lua +++ b/api/IsRightControlKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether the right Control key on the keyboard is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Control keys are reported as Left Control.) -function IsRightControlKeyDown() end \ No newline at end of file +function IsRightControlKeyDown() end diff --git a/api/IsRightShiftKeyDown.lua b/api/IsRightShiftKeyDown.lua index d3edfbb..858a77b 100644 --- a/api/IsRightShiftKeyDown.lua +++ b/api/IsRightShiftKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether the right shift key on the keyboard is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Shift keys are reported as Left Shift.) -function IsRightShiftKeyDown() end \ No newline at end of file +function IsRightShiftKeyDown() end diff --git a/api/IsSelectedSpellBookItem.lua b/api/IsSelectedSpellBookItem.lua index 540e290..86c2023 100644 --- a/api/IsSelectedSpellBookItem.lua +++ b/api/IsSelectedSpellBookItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsSelectedSpellBookItem() end \ No newline at end of file +function IsSelectedSpellBookItem() end diff --git a/api/IsShiftKeyDown.lua b/api/IsShiftKeyDown.lua index c373259..c9c54f6 100644 --- a/api/IsShiftKeyDown.lua +++ b/api/IsShiftKeyDown.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDown +---@return 1nil isDown ---Returns whether a Shift key on the keyboard is held down -function IsShiftKeyDown() end \ No newline at end of file +function IsShiftKeyDown() end diff --git a/api/IsSilenced.lua b/api/IsSilenced.lua index 51498bf..ce7907d 100644 --- a/api/IsSilenced.lua +++ b/api/IsSilenced.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param channel string ----@return 1nil isSilenced +---@param name string +---@param channel string +---@return 1nil isSilenced ---Returns whether a character is silenced on a chat channel -function IsSilenced(name, channel) end \ No newline at end of file +function IsSilenced(name, channel) end diff --git a/api/IsSpellClassOrSpec.lua b/api/IsSpellClassOrSpec.lua index 2ac6d58..143ccaf 100644 --- a/api/IsSpellClassOrSpec.lua +++ b/api/IsSpellClassOrSpec.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsSpellClassOrSpec() end \ No newline at end of file +function IsSpellClassOrSpec() end diff --git a/api/IsSpellInRange.lua b/api/IsSpellInRange.lua index dc9866f..4130a55 100644 --- a/api/IsSpellInRange.lua +++ b/api/IsSpellInRange.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@param unit string ----@return 1nil inRange +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@param unit string +---@return 1nil inRange ---Returns whether the player is in range to cast a spell on a unit -function IsSpellInRange(index, bookType, pet, spell, name, unit) end \ No newline at end of file +function IsSpellInRange(index, bookType, pet, spell, name, unit) end diff --git a/api/IsSpellKnown.lua b/api/IsSpellKnown.lua index 2626ce9..6a2f35a 100644 --- a/api/IsSpellKnown.lua +++ b/api/IsSpellKnown.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellID number ----@param isPet boolean ----@return boolean isKnown +---@param spellID number +---@param isPet boolean +---@return boolean isKnown ---Returns whether the player (or pet) knows a spell -function IsSpellKnown(spellID, isPet) end \ No newline at end of file +function IsSpellKnown(spellID, isPet) end diff --git a/api/IsSpellOverlayed.lua b/api/IsSpellOverlayed.lua index c3d3c86..ed16f49 100644 --- a/api/IsSpellOverlayed.lua +++ b/api/IsSpellOverlayed.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellID integer ----@return boolean state +---@param spellID integer +---@return boolean state ---Checks if a given spell ID has an active spell overlay. This function continues to return expected results even if the user has spell overlays disabled, and is used internally to check if an action button should display a glow. This function does not work with macro ID's. -function IsSpellOverlayed(spellID) end \ No newline at end of file +function IsSpellOverlayed(spellID) end diff --git a/api/IsStackableAction.lua b/api/IsStackableAction.lua index 504a5b3..586170f 100644 --- a/api/IsStackableAction.lua +++ b/api/IsStackableAction.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isStackable +---@param slot number +---@return 1nil isStackable ---Returns whether an action uses stackable items. Applies to consumable items such as potions, wizard oils, food and drink; not used for spells which consume reagents (for those, see IsConsumableAction). -function IsStackableAction(slot) end \ No newline at end of file +function IsStackableAction(slot) end diff --git a/api/IsStealthed.lua b/api/IsStealthed.lua index f9a61bc..d131079 100644 --- a/api/IsStealthed.lua +++ b/api/IsStealthed.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil stealthed +---@return 1nil stealthed ---Returns whether the player is currently stealthed -function IsStealthed() end \ No newline at end of file +function IsStealthed() end diff --git a/api/IsStereoVideoAvailable.lua b/api/IsStereoVideoAvailable.lua index 4a4ce2b..cdeef69 100644 --- a/api/IsStereoVideoAvailable.lua +++ b/api/IsStereoVideoAvailable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isAvailable +---@return 1nil isAvailable ---Returns whether the current system supports stereoscopic 3D display -function IsStereoVideoAvailable() end \ No newline at end of file +function IsStereoVideoAvailable() end diff --git a/api/IsStoryQuest.lua b/api/IsStoryQuest.lua index edbbd57..eea7062 100644 --- a/api/IsStoryQuest.lua +++ b/api/IsStoryQuest.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsStoryQuest() end \ No newline at end of file +function IsStoryQuest() end diff --git a/api/IsSubZonePVPPOI.lua b/api/IsSubZonePVPPOI.lua index fa7fb12..969efd4 100644 --- a/api/IsSubZonePVPPOI.lua +++ b/api/IsSubZonePVPPOI.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isPVPPOI +---@return 1nil isPVPPOI ---Returns whether the current area has PvP (or other) objectives to be displayed. Used in the default UI when the "Display World PVP Objectives\ setting is set to \Dynamic\, in which case objective information is only shown when the player is near an objective. Examples include the towers in Eastern Plaguelands and Hellfire Peninsula as well as non-PvP objectives such as in the Old Hillsbrad instance, the Death Knight starter quests, and the Battle for Undercity quest event. -function IsSubZonePVPPOI() end \ No newline at end of file +function IsSubZonePVPPOI() end diff --git a/api/IsSwimming.lua b/api/IsSwimming.lua index 0713333..0979064 100644 --- a/api/IsSwimming.lua +++ b/api/IsSwimming.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isSwimming +---@return 1nil isSwimming ---Returns whether the player is currently swimming. "Swimming" as defined by this function corresponds to the ability to use swimming abilities (such as druid Aquatic Form) or inability to use land-restricted abilities (such as eating or summoning a flying mount), not necessarily to whether the player is in water. -function IsSwimming() end \ No newline at end of file +function IsSwimming() end diff --git a/api/IsTalentSpell.lua b/api/IsTalentSpell.lua index 76567a1..d26dc8a 100644 --- a/api/IsTalentSpell.lua +++ b/api/IsTalentSpell.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@return boolean isTalentSpell +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@return boolean isTalentSpell ---Returns true if the given spellbook item was added by an active talent. Used once in the BlizzardUI to determine whether an item in the player's active spellbook should have "Talent" in their subtext. This will not work with inactive spellbook items as their talents aren't currently selected. -function IsTalentSpell(index, bookType, pet, spell) end \ No newline at end of file +function IsTalentSpell(index, bookType, pet, spell) end diff --git a/api/IsTestBuild.lua b/api/IsTestBuild.lua index d0d9233..f7d5734 100644 --- a/api/IsTestBuild.lua +++ b/api/IsTestBuild.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTestBuild() end \ No newline at end of file +function IsTestBuild() end diff --git a/api/IsThreatWarningEnabled.lua b/api/IsThreatWarningEnabled.lua index 7cf3e68..7d2eba1 100644 --- a/api/IsThreatWarningEnabled.lua +++ b/api/IsThreatWarningEnabled.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil enabled +---@return 1nil enabled ---Returns whether the default Aggro Warning UI should currently be shown. This function (and the threatWarning CVar that affects its behavior) has no effect on other threat APIs; it merely indicates whether Blizzard's threat warning UI should be displayed. -function IsThreatWarningEnabled() end \ No newline at end of file +function IsThreatWarningEnabled() end diff --git a/api/IsTitleKnown.lua b/api/IsTitleKnown.lua index ea3a883..1794080 100644 --- a/api/IsTitleKnown.lua +++ b/api/IsTitleKnown.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param titleIndex integer ----@return number isKnown +---@param titleIndex integer +---@return number isKnown ---Returns whether the player has earned the ability to display a title -function IsTitleKnown(titleIndex) end \ No newline at end of file +function IsTitleKnown(titleIndex) end diff --git a/api/IsTrackedAchievement.lua b/api/IsTrackedAchievement.lua index 3d513b2..a5b2e84 100644 --- a/api/IsTrackedAchievement.lua +++ b/api/IsTrackedAchievement.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number ----@return boolean isTracked +---@param id number +---@return boolean isTracked ---Returns whether an achievement is flagged for display in the objectives tracker UI -function IsTrackedAchievement(id) end \ No newline at end of file +function IsTrackedAchievement(id) end diff --git a/api/IsTrackingBattlePets.lua b/api/IsTrackingBattlePets.lua index 832f190..8bdfd69 100644 --- a/api/IsTrackingBattlePets.lua +++ b/api/IsTrackingBattlePets.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTrackingBattlePets() end \ No newline at end of file +function IsTrackingBattlePets() end diff --git a/api/IsTradeSkillGuild.lua b/api/IsTradeSkillGuild.lua index 7c6dd5c..e24fd6c 100644 --- a/api/IsTradeSkillGuild.lua +++ b/api/IsTradeSkillGuild.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTradeSkillGuild() end \ No newline at end of file +function IsTradeSkillGuild() end diff --git a/api/IsTradeSkillLinked.lua b/api/IsTradeSkillLinked.lua index 7c995ad..40df5c0 100644 --- a/api/IsTradeSkillLinked.lua +++ b/api/IsTradeSkillLinked.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isLinked ----@return string name +---@return 1nil isLinked +---@return string name ---Returns whether the TradeSkill UI is showing another player's skill -function IsTradeSkillLinked() end \ No newline at end of file +function IsTradeSkillLinked() end diff --git a/api/IsTradeSkillReady.lua b/api/IsTradeSkillReady.lua index e51e910..bd7e71a 100644 --- a/api/IsTradeSkillReady.lua +++ b/api/IsTradeSkillReady.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTradeSkillReady() end \ No newline at end of file +function IsTradeSkillReady() end diff --git a/api/IsTradeSkillRepeating.lua b/api/IsTradeSkillRepeating.lua index 77a35eb..759da93 100644 --- a/api/IsTradeSkillRepeating.lua +++ b/api/IsTradeSkillRepeating.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTradeSkillRepeating() end \ No newline at end of file +function IsTradeSkillRepeating() end diff --git a/api/IsTradeskillTrainer.lua b/api/IsTradeskillTrainer.lua index c909570..66942d5 100644 --- a/api/IsTradeskillTrainer.lua +++ b/api/IsTradeskillTrainer.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isTradeskill +---@return 1nil isTradeskill ---Returns whether the player is interacting with a trade skill trainer (as opposed to a class trainer) -function IsTradeskillTrainer() end \ No newline at end of file +function IsTradeskillTrainer() end diff --git a/api/IsTrialAccount.lua b/api/IsTrialAccount.lua index 03a99f1..0d08849 100644 --- a/api/IsTrialAccount.lua +++ b/api/IsTrialAccount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTrialAccount() end \ No newline at end of file +function IsTrialAccount() end diff --git a/api/IsTutorialFlagged.lua b/api/IsTutorialFlagged.lua index 17e6e3c..a08e975 100644 --- a/api/IsTutorialFlagged.lua +++ b/api/IsTutorialFlagged.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsTutorialFlagged() end \ No newline at end of file +function IsTutorialFlagged() end diff --git a/api/IsUnitOnQuest.lua b/api/IsUnitOnQuest.lua index bd460cd..818fa46 100644 --- a/api/IsUnitOnQuest.lua +++ b/api/IsUnitOnQuest.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param unit string ----@param name string ----@return 1nil state +---@param index number +---@param unit string +---@param name string +---@return 1nil state ---Returns whether a unit is on one of the quests in the player's quest log -function IsUnitOnQuest(index, unit, name) end \ No newline at end of file +function IsUnitOnQuest(index, unit, name) end diff --git a/api/IsUnitOnQuestByQuestID.lua b/api/IsUnitOnQuestByQuestID.lua index 13c5792..7a416ec 100644 --- a/api/IsUnitOnQuestByQuestID.lua +++ b/api/IsUnitOnQuestByQuestID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsUnitOnQuestByQuestID() end \ No newline at end of file +function IsUnitOnQuestByQuestID() end diff --git a/api/IsUsableAction.lua b/api/IsUsableAction.lua index a3a04c8..14fce09 100644 --- a/api/IsUsableAction.lua +++ b/api/IsUsableAction.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@return 1nil isUsable ----@return 1nil notEnoughMana +---@param slot number +---@return 1nil isUsable +---@return 1nil notEnoughMana ---Returns whether an action is usable -function IsUsableAction(slot) end \ No newline at end of file +function IsUsableAction(slot) end diff --git a/api/IsUsableItem.lua b/api/IsUsableItem.lua index 803b054..ce9f463 100644 --- a/api/IsUsableItem.lua +++ b/api/IsUsableItem.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil isUsable ----@return 1nil notEnoughMana +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil isUsable +---@return 1nil notEnoughMana ---Returns whether an item can currently be used. Does not account for item cooldowns (see GetItemCooldown() -- returns 1 if other conditions allow for using the item (e.g. if the item can only be used while outdoors). -function IsUsableItem(itemID, itemName, itemLink) end \ No newline at end of file +function IsUsableItem(itemID, itemName, itemLink) end diff --git a/api/IsUsableSpell.lua b/api/IsUsableSpell.lua index f693d87..b62368c 100644 --- a/api/IsUsableSpell.lua +++ b/api/IsUsableSpell.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil isUsable ----@return 1nil notEnoughMana +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil isUsable +---@return 1nil notEnoughMana ---Returns whether or not a given spell is usable or cannot be used due to lack of mana. Does not account for spell cooldowns (see GetSpellCooldown() -- returns 1 if other conditions allow for casting the spell (e.g. if the spell can only be cast while outdoors). -function IsUsableSpell(index, bookType, pet, spell, name) end \ No newline at end of file +function IsUsableSpell(index, bookType, pet, spell, name) end diff --git a/api/IsUsingVehicleControls.lua b/api/IsUsingVehicleControls.lua index aadf061..05db822 100644 --- a/api/IsUsingVehicleControls.lua +++ b/api/IsUsingVehicleControls.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsUsingVehicleControls() end \ No newline at end of file +function IsUsingVehicleControls() end diff --git a/api/IsVehicleAimAngleAdjustable.lua b/api/IsVehicleAimAngleAdjustable.lua index 98a6a94..7cf106f 100644 --- a/api/IsVehicleAimAngleAdjustable.lua +++ b/api/IsVehicleAimAngleAdjustable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasAngleControl +---@return 1nil hasAngleControl ---Returns whether the player is controlling a vehicle weapon with adjustable aim angle -function IsVehicleAimAngleAdjustable() end \ No newline at end of file +function IsVehicleAimAngleAdjustable() end diff --git a/api/IsVehicleAimPowerAdjustable.lua b/api/IsVehicleAimPowerAdjustable.lua index c3af1cc..08c6dc0 100644 --- a/api/IsVehicleAimPowerAdjustable.lua +++ b/api/IsVehicleAimPowerAdjustable.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsVehicleAimPowerAdjustable() end \ No newline at end of file +function IsVehicleAimPowerAdjustable() end diff --git a/api/IsVoiceChatAllowed.lua b/api/IsVoiceChatAllowed.lua index aa7a40a..5df77c2 100644 --- a/api/IsVoiceChatAllowed.lua +++ b/api/IsVoiceChatAllowed.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isAllowed +---@return 1nil isAllowed ---Returns whether the player is allowed to enable the voice chat feature -function IsVoiceChatAllowed() end \ No newline at end of file +function IsVoiceChatAllowed() end diff --git a/api/IsVoiceChatAllowedByServer.lua b/api/IsVoiceChatAllowedByServer.lua index 165d344..dcb733c 100644 --- a/api/IsVoiceChatAllowedByServer.lua +++ b/api/IsVoiceChatAllowedByServer.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns whether voice chat is supported by the realm server -function IsVoiceChatAllowedByServer() end \ No newline at end of file +function IsVoiceChatAllowedByServer() end diff --git a/api/IsVoiceChatEnabled.lua b/api/IsVoiceChatEnabled.lua index 43b3cd1..d72fec6 100644 --- a/api/IsVoiceChatEnabled.lua +++ b/api/IsVoiceChatEnabled.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isEnabled +---@return 1nil isEnabled ---Returns whether the voice chat system is enabled -function IsVoiceChatEnabled() end \ No newline at end of file +function IsVoiceChatEnabled() end diff --git a/api/IsVoidStorageReady.lua b/api/IsVoidStorageReady.lua index ddb9f6c..ba13df4 100644 --- a/api/IsVoidStorageReady.lua +++ b/api/IsVoidStorageReady.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isReady +---@return boolean isReady ---Returns whether the void storage content can be accessed. This will return true after the first visit of the void storage in the current session. Reloading the ui will not reset this, only a complete log out of the char will. -function IsVoidStorageReady() end \ No newline at end of file +function IsVoidStorageReady() end diff --git a/api/IsWargame.lua b/api/IsWargame.lua index fd012eb..57be4d8 100644 --- a/api/IsWargame.lua +++ b/api/IsWargame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function IsWargame() end \ No newline at end of file +function IsWargame() end diff --git a/api/IsWindowsClient.lua b/api/IsWindowsClient.lua index 5a6dda9..7ccf4f3 100644 --- a/api/IsWindowsClient.lua +++ b/api/IsWindowsClient.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isWindows +---@return 1nil isWindows ---Returns whether the player is using the Windows game client -function IsWindowsClient() end \ No newline at end of file +function IsWindowsClient() end diff --git a/api/IsXPUserDisabled.lua b/api/IsXPUserDisabled.lua index 662b09c..8a804d0 100644 --- a/api/IsXPUserDisabled.lua +++ b/api/IsXPUserDisabled.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isDisabled +---@return boolean isDisabled ---Returns whether experience gain has been disabled for the player -function IsXPUserDisabled() end \ No newline at end of file +function IsXPUserDisabled() end diff --git a/api/ItemAddedToArtifact.lua b/api/ItemAddedToArtifact.lua index 1718d2f..857a179 100644 --- a/api/ItemAddedToArtifact.lua +++ b/api/ItemAddedToArtifact.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ItemAddedToArtifact() end \ No newline at end of file +function ItemAddedToArtifact() end diff --git a/api/ItemHasRange.lua b/api/ItemHasRange.lua index 354f058..335c880 100644 --- a/api/ItemHasRange.lua +++ b/api/ItemHasRange.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil hasRange +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil hasRange ---Returns whether an item has a range limitation for its use. For example, Mistletoe can only be used on another character within a given range of the player, but a Hearthstone has no target and thus no range restriction. Returns nil for items which have a range restriction but are area-targeted and not unit-targeted (e.g. grenades). -function ItemHasRange(itemID, itemName, itemLink) end \ No newline at end of file +function ItemHasRange(itemID, itemName, itemLink) end diff --git a/api/ItemTextGetCreator.lua b/api/ItemTextGetCreator.lua index ad18df1..1eafb17 100644 --- a/api/ItemTextGetCreator.lua +++ b/api/ItemTextGetCreator.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string creator +---@return string creator ---Returns the original author of the currently viewed text item. Used for mail messages sent by other players; when the player makes a permanent copy of a letter and reads it from inventory, the default UI uses this function to display a signature (e.g. "From, Leeroy") at the end of the message text. -function ItemTextGetCreator() end \ No newline at end of file +function ItemTextGetCreator() end diff --git a/api/ItemTextGetItem.lua b/api/ItemTextGetItem.lua index 58d5ab0..4064503 100644 --- a/api/ItemTextGetItem.lua +++ b/api/ItemTextGetItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the name of the currently viewed text item. Used for readable world objects (plaques, books on tables, etc) and readable inventory items (looted books/parchments/scrolls/etc, saved copies of mail messages). For saved mail messages the name returned is always "Plain Letter" (or localized equivalent); the message subject is lost when saving a copy. -function ItemTextGetItem() end \ No newline at end of file +function ItemTextGetItem() end diff --git a/api/ItemTextGetMaterial.lua b/api/ItemTextGetMaterial.lua index 5feef8d..405d2c9 100644 --- a/api/ItemTextGetMaterial.lua +++ b/api/ItemTextGetMaterial.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return Stone material ----@return Bronze ----@return Marble ----@return Parchment ----@return Silver ----@return Stone +---@return Stone material +---@return Bronze +---@return Marble +---@return Parchment +---@return Silver +---@return Stone ---Returns display style information for the currently viewed text item. The value returned can be used to look up background textures and text colors for display: Background textures displayed in the default UI can be found by prepending "Interface\\ItemTextFrame\\ItemText-" and appending "-TopLeft", "-TopRight", "-BotLeft", "-BotRight" to the material string (e.g. "Interface\\ItemTextFrame\\ItemText-Stone-TopLeft"). Colors for body and title text can be found by calling GetMaterialTextColors(material) (a Lua function implemented in the Blizzard UI). In cases where this function returns nil, the default UI uses the colors and textures for "Parchment". -function ItemTextGetMaterial() end \ No newline at end of file +function ItemTextGetMaterial() end diff --git a/api/ItemTextGetPage.lua b/api/ItemTextGetPage.lua index ec41fc0..b87722b 100644 --- a/api/ItemTextGetPage.lua +++ b/api/ItemTextGetPage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number page +---@return number page ---Returns the current page number in the currently viewed text item -function ItemTextGetPage() end \ No newline at end of file +function ItemTextGetPage() end diff --git a/api/ItemTextGetText.lua b/api/ItemTextGetText.lua index c2fad75..63d17bc 100644 --- a/api/ItemTextGetText.lua +++ b/api/ItemTextGetText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the text of the currently viewed text item. Used for readable world objects (plaques, books on tables, etc) and readable inventory items (looted books/parchments/scrolls/etc, saved copies of mail messages). Returns valid data only between the ITEM_TEXT_BEGIN and ITEM_TEXT_CLOSED events, with the ITEM_TEXT_READY event indicating when new text is available (as when changing pages). -function ItemTextGetText() end \ No newline at end of file +function ItemTextGetText() end diff --git a/api/ItemTextHasNextPage.lua b/api/ItemTextHasNextPage.lua index 4c1f192..ff5b406 100644 --- a/api/ItemTextHasNextPage.lua +++ b/api/ItemTextHasNextPage.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil next +---@return 1nil next ---Returns whether the currently viewed text item has additional pages -function ItemTextHasNextPage() end \ No newline at end of file +function ItemTextHasNextPage() end diff --git a/api/ItemTextNextPage.lua b/api/ItemTextNextPage.lua index ae881bd..fc6e181 100644 --- a/api/ItemTextNextPage.lua +++ b/api/ItemTextNextPage.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Moves to the next page in the currently viewed text item. The ITEM_TEXT_READY event fires when text for the next page becomes available. Does nothing if already viewing the last page of text. -function ItemTextNextPage() end \ No newline at end of file +function ItemTextNextPage() end diff --git a/api/ItemTextPrevPage.lua b/api/ItemTextPrevPage.lua index d3b127a..56efc1c 100644 --- a/api/ItemTextPrevPage.lua +++ b/api/ItemTextPrevPage.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Moves to the previous page in the currently viewed text item. The ITEM_TEXT_READY event fires when text for the previous page becomes available. Does nothing if already viewing the first page of text. -function ItemTextPrevPage() end \ No newline at end of file +function ItemTextPrevPage() end diff --git a/api/JoinArena.lua b/api/JoinArena.lua index 3c45669..3760a04 100644 --- a/api/JoinArena.lua +++ b/api/JoinArena.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function JoinArena() end \ No newline at end of file +function JoinArena() end diff --git a/api/JoinBattlefield.lua b/api/JoinBattlefield.lua index e89ea69..247fd1d 100644 --- a/api/JoinBattlefield.lua +++ b/api/JoinBattlefield.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param asGroup boolean +---@param index number +---@param asGroup boolean ---Joins the queue for a battleground instance -function JoinBattlefield(index, asGroup) end \ No newline at end of file +function JoinBattlefield(index, asGroup) end diff --git a/api/JoinChannelByName.lua b/api/JoinChannelByName.lua index 40d614e..62c0e67 100644 --- a/api/JoinChannelByName.lua +++ b/api/JoinChannelByName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function JoinChannelByName() end \ No newline at end of file +function JoinChannelByName() end diff --git a/api/JoinLFG.lua b/api/JoinLFG.lua index 41eae6a..fb65c35 100644 --- a/api/JoinLFG.lua +++ b/api/JoinLFG.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Joins the player to the LFG system. This function just signals to the server that the player is joining the LFG system. In order to actually queue for any dungeons, the SetLFGDungeon function must be called for each dungeon the player wishes to queue for. For the 'random dungeon' queues, these are a single numeric identifier that will queue the player for any of the dungeons in that category. You can obtain this number by opening the LFD frame and running /dump LFDQueueFrame.type. -function JoinLFG() end \ No newline at end of file +function JoinLFG() end diff --git a/api/JoinPermanentChannel.lua b/api/JoinPermanentChannel.lua index 0397fed..14d705c 100644 --- a/api/JoinPermanentChannel.lua +++ b/api/JoinPermanentChannel.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return number zoneChannel ----@return string channelName +---@param name string +---@return number zoneChannel +---@return string channelName ---Joins a channel, saving associated chat window settings ---@overload fun(name: string, password: string) ---@overload fun(name: string, password: string, chatFrameIndex: number) ---@overload fun(name: string, password: string, chatFrameIndex: number, enableVoice: boolean) -function JoinPermanentChannel(name, password, chatFrameIndex, enableVoice) end \ No newline at end of file +function JoinPermanentChannel(name, password, chatFrameIndex, enableVoice) end diff --git a/api/JoinRatedBattlefield.lua b/api/JoinRatedBattlefield.lua index c015566..e4a5249 100644 --- a/api/JoinRatedBattlefield.lua +++ b/api/JoinRatedBattlefield.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function JoinRatedBattlefield() end \ No newline at end of file +function JoinRatedBattlefield() end diff --git a/api/JoinSingleLFG.lua b/api/JoinSingleLFG.lua index 5e2dff1..3ef6303 100644 --- a/api/JoinSingleLFG.lua +++ b/api/JoinSingleLFG.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function JoinSingleLFG() end \ No newline at end of file +function JoinSingleLFG() end diff --git a/api/JoinSkirmish.lua b/api/JoinSkirmish.lua index 3bd6abd..c69d6ba 100644 --- a/api/JoinSkirmish.lua +++ b/api/JoinSkirmish.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function JoinSkirmish() end \ No newline at end of file +function JoinSkirmish() end diff --git a/api/JoinTemporaryChannel.lua b/api/JoinTemporaryChannel.lua index 89e716b..ae6cb29 100644 --- a/api/JoinTemporaryChannel.lua +++ b/api/JoinTemporaryChannel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string +---@param channel string ---Joins a channel, but does not save associated chat window settings -function JoinTemporaryChannel(channel) end \ No newline at end of file +function JoinTemporaryChannel(channel) end diff --git a/api/JumpOrAscendStart.lua b/api/JumpOrAscendStart.lua index 6ed7643..8aa8f8f 100644 --- a/api/JumpOrAscendStart.lua +++ b/api/JumpOrAscendStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes the player character to jump (or begins ascent if swimming or flying). Used by the JUMP binding, which also controls ascent when swimming or flying. -function JumpOrAscendStart() end \ No newline at end of file +function JumpOrAscendStart() end diff --git a/api/KBArticle_GetData.lua b/api/KBArticle_GetData.lua index f6c6ed8..ef17a36 100644 --- a/api/KBArticle_GetData.lua +++ b/api/KBArticle_GetData.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number id ----@return string subject ----@return string subjectAlt ----@return string text ----@return string keywords ----@return number languageId ----@return boolean isHot +---@return number id +---@return string subject +---@return string subjectAlt +---@return string text +---@return string keywords +---@return number languageId +---@return boolean isHot ---Returns information about the last requested knowledge base article. Only available once the KNOWLEDGE_BASE_ARTICLE_LOAD_SUCCESS event has fired following an article request. -function KBArticle_GetData() end \ No newline at end of file +function KBArticle_GetData() end diff --git a/api/KBArticle_IsLoaded.lua b/api/KBArticle_IsLoaded.lua index bad23c2..927f880 100644 --- a/api/KBArticle_IsLoaded.lua +++ b/api/KBArticle_IsLoaded.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isLoaded +---@return boolean isLoaded ---Returns whether the requested knowledge base article has been loaded. The KNOWLEDGE_BASE_ARTICLE_LOAD_SUCCESS also indicates that the requested article is available; this function presents an alternative that can be used across UI reloads or login/logout. -function KBArticle_IsLoaded() end \ No newline at end of file +function KBArticle_IsLoaded() end diff --git a/api/KBQuery_BeginLoading.lua b/api/KBQuery_BeginLoading.lua index 4e248c0..972970b 100644 --- a/api/KBQuery_BeginLoading.lua +++ b/api/KBQuery_BeginLoading.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param searchText string ----@param categoryIndex number ----@param subcategoryIndex number ----@param numArticles number ----@param page number +---@param searchText string +---@param categoryIndex number +---@param subcategoryIndex number +---@param numArticles number +---@param page number ---Queries the knowledge base server for articles -function KBQuery_BeginLoading(searchText, categoryIndex, subcategoryIndex, numArticles, page) end \ No newline at end of file +function KBQuery_BeginLoading(searchText, categoryIndex, subcategoryIndex, numArticles, page) end diff --git a/api/KBQuery_GetArticleHeaderCount.lua b/api/KBQuery_GetArticleHeaderCount.lua index ea7fb24..512425d 100644 --- a/api/KBQuery_GetArticleHeaderCount.lua +++ b/api/KBQuery_GetArticleHeaderCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number articleHeaderCount +---@return number articleHeaderCount ---Returns the number of articles on the current knowledge base search result page -function KBQuery_GetArticleHeaderCount() end \ No newline at end of file +function KBQuery_GetArticleHeaderCount() end diff --git a/api/KBQuery_GetArticleHeaderData.lua b/api/KBQuery_GetArticleHeaderData.lua index 0b9313f..bc76d32 100644 --- a/api/KBQuery_GetArticleHeaderData.lua +++ b/api/KBQuery_GetArticleHeaderData.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number articleId ----@return string title ----@return boolean isHotIssue ----@return boolean isRecentlyUpdated +---@param index number +---@return number articleId +---@return string title +---@return boolean isHotIssue +---@return boolean isRecentlyUpdated ---Returns information about an article returned in a knowledge base query -function KBQuery_GetArticleHeaderData(index) end \ No newline at end of file +function KBQuery_GetArticleHeaderData(index) end diff --git a/api/KBQuery_GetTotalArticleCount.lua b/api/KBQuery_GetTotalArticleCount.lua index 9dd841f..a76ca4f 100644 --- a/api/KBQuery_GetTotalArticleCount.lua +++ b/api/KBQuery_GetTotalArticleCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number totalArticleHeaderCount +---@return number totalArticleHeaderCount ---Returns the total number of articles returned for the given query -function KBQuery_GetTotalArticleCount() end \ No newline at end of file +function KBQuery_GetTotalArticleCount() end diff --git a/api/KBQuery_IsLoaded.lua b/api/KBQuery_IsLoaded.lua index 6a84000..b3cfe44 100644 --- a/api/KBQuery_IsLoaded.lua +++ b/api/KBQuery_IsLoaded.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isLoaded +---@return boolean isLoaded ---Returns whether results of a knowledge base query have been loaded. The KNOWLEDGE_BASE_QUERY_LOAD_SUCCESS also indicates that the requested results are available; this function presents an alternative that can be used across UI reloads or login/logout. -function KBQuery_IsLoaded() end \ No newline at end of file +function KBQuery_IsLoaded() end diff --git a/api/KBSetup_BeginLoading.lua b/api/KBSetup_BeginLoading.lua index ee152f1..8787723 100644 --- a/api/KBSetup_BeginLoading.lua +++ b/api/KBSetup_BeginLoading.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param numArticles number ----@param currentPage number +---@param numArticles number +---@param currentPage number ---Loads a maximum number of "Top Issues" from a given page -function KBSetup_BeginLoading(numArticles, currentPage) end \ No newline at end of file +function KBSetup_BeginLoading(numArticles, currentPage) end diff --git a/api/KBSetup_GetArticleHeaderCount.lua b/api/KBSetup_GetArticleHeaderCount.lua index 19ee17c..d67e5c4 100644 --- a/api/KBSetup_GetArticleHeaderCount.lua +++ b/api/KBSetup_GetArticleHeaderCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number articleHeaderCount +---@return number articleHeaderCount ---Returns the number of "Top Issues" articles on the current page -function KBSetup_GetArticleHeaderCount() end \ No newline at end of file +function KBSetup_GetArticleHeaderCount() end diff --git a/api/KBSetup_GetArticleHeaderData.lua b/api/KBSetup_GetArticleHeaderData.lua index b81626d..bb2f4b4 100644 --- a/api/KBSetup_GetArticleHeaderData.lua +++ b/api/KBSetup_GetArticleHeaderData.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number articleId ----@return string title ----@return boolean isHotIssue ----@return boolean isRecentlyUpdated +---@param index number +---@return number articleId +---@return string title +---@return boolean isHotIssue +---@return boolean isRecentlyUpdated ---Returns header information about a "Top Issue" article -function KBSetup_GetArticleHeaderData(index) end \ No newline at end of file +function KBSetup_GetArticleHeaderData(index) end diff --git a/api/KBSetup_GetCategoryCount.lua b/api/KBSetup_GetCategoryCount.lua index 9e14fd7..3f39c36 100644 --- a/api/KBSetup_GetCategoryCount.lua +++ b/api/KBSetup_GetCategoryCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numCategories +---@return number numCategories ---Returns the number of available knowledge base categories -function KBSetup_GetCategoryCount() end \ No newline at end of file +function KBSetup_GetCategoryCount() end diff --git a/api/KBSetup_GetCategoryData.lua b/api/KBSetup_GetCategoryData.lua index 56aa18b..9df33a1 100644 --- a/api/KBSetup_GetCategoryData.lua +++ b/api/KBSetup_GetCategoryData.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number categoryId ----@return string name +---@param index number +---@return number categoryId +---@return string name ---Returns information about a knowledge base category -function KBSetup_GetCategoryData(index) end \ No newline at end of file +function KBSetup_GetCategoryData(index) end diff --git a/api/KBSetup_GetLanguageCount.lua b/api/KBSetup_GetLanguageCount.lua index 1fb1084..8a2f2a4 100644 --- a/api/KBSetup_GetLanguageCount.lua +++ b/api/KBSetup_GetLanguageCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numLanguages +---@return number numLanguages ---Returns the number of available knowledge base languages -function KBSetup_GetLanguageCount() end \ No newline at end of file +function KBSetup_GetLanguageCount() end diff --git a/api/KBSetup_GetLanguageData.lua b/api/KBSetup_GetLanguageData.lua index 442c318..4412116 100644 --- a/api/KBSetup_GetLanguageData.lua +++ b/api/KBSetup_GetLanguageData.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number languageId ----@return string name +---@param index number +---@return number languageId +---@return string name ---Returns information about a given knowledge base language -function KBSetup_GetLanguageData(index) end \ No newline at end of file +function KBSetup_GetLanguageData(index) end diff --git a/api/KBSetup_GetSubCategoryCount.lua b/api/KBSetup_GetSubCategoryCount.lua index 614a2fb..a22edcd 100644 --- a/api/KBSetup_GetSubCategoryCount.lua +++ b/api/KBSetup_GetSubCategoryCount.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number numSubCategories +---@param index number +---@return number numSubCategories ---Returns the number of available subcategories for a given category -function KBSetup_GetSubCategoryCount(index) end \ No newline at end of file +function KBSetup_GetSubCategoryCount(index) end diff --git a/api/KBSetup_GetSubCategoryData.lua b/api/KBSetup_GetSubCategoryData.lua index d8529a5..77b1b1f 100644 --- a/api/KBSetup_GetSubCategoryData.lua +++ b/api/KBSetup_GetSubCategoryData.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param subindex number ----@return number categoryId ----@return string name +---@param index number +---@param subindex number +---@return number categoryId +---@return string name ---Returns information a knowledge base subcategory -function KBSetup_GetSubCategoryData(index, subindex) end \ No newline at end of file +function KBSetup_GetSubCategoryData(index, subindex) end diff --git a/api/KBSetup_GetTotalArticleCount.lua b/api/KBSetup_GetTotalArticleCount.lua index 82aa003..c3a4b70 100644 --- a/api/KBSetup_GetTotalArticleCount.lua +++ b/api/KBSetup_GetTotalArticleCount.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numArticles +---@return number numArticles ---Returns the number of "Top Issues" articles -function KBSetup_GetTotalArticleCount() end \ No newline at end of file +function KBSetup_GetTotalArticleCount() end diff --git a/api/KBSetup_IsLoaded.lua b/api/KBSetup_IsLoaded.lua index 34c0fd1..1e7b3fc 100644 --- a/api/KBSetup_IsLoaded.lua +++ b/api/KBSetup_IsLoaded.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isLoaded +---@return boolean isLoaded ---Returns whether the knowledge base default query has completed successfully. The KNOWLEDGE_BASE_SETUP_LOAD_SUCCESS also indicates that the knowledge base setup is complete; this function presents an alternative that can be used across UI reloads or login/logout. -function KBSetup_IsLoaded() end \ No newline at end of file +function KBSetup_IsLoaded() end diff --git a/api/KBSystem_GetMOTD.lua b/api/KBSystem_GetMOTD.lua index abb9884..3249074 100644 --- a/api/KBSystem_GetMOTD.lua +++ b/api/KBSystem_GetMOTD.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the currently knowledge base MOTD -function KBSystem_GetMOTD() end \ No newline at end of file +function KBSystem_GetMOTD() end diff --git a/api/KBSystem_GetServerNotice.lua b/api/KBSystem_GetServerNotice.lua index baceec8..fc05d17 100644 --- a/api/KBSystem_GetServerNotice.lua +++ b/api/KBSystem_GetServerNotice.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string text +---@return string text ---Returns the text of the knowledge base server system notice -function KBSystem_GetServerNotice() end \ No newline at end of file +function KBSystem_GetServerNotice() end diff --git a/api/KBSystem_GetServerStatus.lua b/api/KBSystem_GetServerStatus.lua index 50901f3..cd85a28 100644 --- a/api/KBSystem_GetServerStatus.lua +++ b/api/KBSystem_GetServerStatus.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string statusMessage +---@return string statusMessage ---Returns the knowledge base server system status message -function KBSystem_GetServerStatus() end \ No newline at end of file +function KBSystem_GetServerStatus() end diff --git a/api/LFGTeleport.lua b/api/LFGTeleport.lua index f88f449..e2dbe32 100644 --- a/api/LFGTeleport.lua +++ b/api/LFGTeleport.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param portOut boolean +---@param portOut boolean ---Teleports the player to or from their current LFG dungeon -function LFGTeleport(portOut) end \ No newline at end of file +function LFGTeleport(portOut) end diff --git a/api/LearnTalents.lua b/api/LearnTalents.lua index be8a745..886a7f6 100644 --- a/api/LearnTalents.lua +++ b/api/LearnTalents.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function LearnTalents() end \ No newline at end of file +function LearnTalents() end diff --git a/api/LeaveBattlefield.lua b/api/LeaveBattlefield.lua index 51e3dd0..5dd3563 100644 --- a/api/LeaveBattlefield.lua +++ b/api/LeaveBattlefield.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Immediately exits the current battleground instance. Returns the player to the location from which he or she joined the battleground and applies the Deserter debuff. -function LeaveBattlefield() end \ No newline at end of file +function LeaveBattlefield() end diff --git a/api/LeaveChannelByName.lua b/api/LeaveChannelByName.lua index 723037c..7dc2974 100644 --- a/api/LeaveChannelByName.lua +++ b/api/LeaveChannelByName.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Leaves a chat channel -function LeaveChannelByName(name) end \ No newline at end of file +function LeaveChannelByName(name) end diff --git a/api/LeaveLFG.lua b/api/LeaveLFG.lua index 474bb85..4ba3b0a 100644 --- a/api/LeaveLFG.lua +++ b/api/LeaveLFG.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Leave the LFG queue. -function LeaveLFG() end \ No newline at end of file +function LeaveLFG() end diff --git a/api/LeaveParty.lua b/api/LeaveParty.lua index a525e97..625190a 100644 --- a/api/LeaveParty.lua +++ b/api/LeaveParty.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Exits the current party or raid. If there are only two characters in the party or raid, causes the party or raid to be disbanded. -function LeaveParty() end \ No newline at end of file +function LeaveParty() end diff --git a/api/LeaveSingleLFG.lua b/api/LeaveSingleLFG.lua index 4ad8afa..6aad86f 100644 --- a/api/LeaveSingleLFG.lua +++ b/api/LeaveSingleLFG.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function LeaveSingleLFG() end \ No newline at end of file +function LeaveSingleLFG() end diff --git a/api/ListChannelByName.lua b/api/ListChannelByName.lua index 325d104..58ff2ab 100644 --- a/api/ListChannelByName.lua +++ b/api/ListChannelByName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channelIndex number +---@param channelIndex number ---Requests the list of participants in a chat channel. Fires the CHAT_MSG_CHANNEL_LIST event listing the names of all characters in the channel. ---@overload fun(channel: string) -function ListChannelByName(channel, channelIndex) end \ No newline at end of file +function ListChannelByName(channel, channelIndex) end diff --git a/api/ListChannels.lua b/api/ListChannels.lua index 65e25de..3094302 100644 --- a/api/ListChannels.lua +++ b/api/ListChannels.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests a list of channels joined by the player. Fires the CHAT_MSG_CHANNEL_LIST event listing the names and indices of all channels joined by the player. -function ListChannels() end \ No newline at end of file +function ListChannels() end diff --git a/api/LoadAddOn.lua b/api/LoadAddOn.lua index ec76308..667113e 100644 --- a/api/LoadAddOn.lua +++ b/api/LoadAddOn.lua @@ -1,24 +1,24 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param index number ----@return number loaded ----@return NOT_DEMAND_LOADED reason ----@return BANNED ----@return CORRUPT ----@return DEP_BANNED ----@return DEP_CORRUPT ----@return DEP_DISABLED ----@return DEP_INCOMPATIBLE ----@return DEP_INSECURE ----@return DEP_INTERFACE_VERSION ----@return DEP_MISSING ----@return DEP_NOT_DEMAND_LOADED ----@return DISABLED ----@return INCOMPATIBLE ----@return INSECURE ----@return INTERFACE_VERSION ----@return MISSING ----@return NOT_DEMAND_LOADED +---@param name string +---@param index number +---@return number loaded +---@return NOT_DEMAND_LOADED reason +---@return BANNED +---@return CORRUPT +---@return DEP_BANNED +---@return DEP_CORRUPT +---@return DEP_DISABLED +---@return DEP_INCOMPATIBLE +---@return DEP_INSECURE +---@return DEP_INTERFACE_VERSION +---@return DEP_MISSING +---@return DEP_NOT_DEMAND_LOADED +---@return DISABLED +---@return INCOMPATIBLE +---@return INSECURE +---@return INTERFACE_VERSION +---@return MISSING +---@return NOT_DEMAND_LOADED ---Loads a LoadOnDemand-capable addon. If the given addon has dependencies which are also LoadOnDemand-capable, those addons will be loaded as well. This function will not load disabled addons. -function LoadAddOn(name, index) end \ No newline at end of file +function LoadAddOn(name, index) end diff --git a/api/LoggingChat.lua b/api/LoggingChat.lua index 583454d..1a4672a 100644 --- a/api/LoggingChat.lua +++ b/api/LoggingChat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param toggle boolean ----@return 1nil isLogging +---@param toggle boolean +---@return 1nil isLogging ---Enables or disables saving chat text to a file. Text received via the chat system (but not necessarily all text displayed in chat windows) will be saved to the file Logs/WoWChatLog.txt (path is relative to the folder containing the World of Warcraft client); the file is not actually updated until the player logs out. Chat text in the log file follows a similar format to its display in-game, but with added timestamps. -function LoggingChat(toggle) end \ No newline at end of file +function LoggingChat(toggle) end diff --git a/api/LoggingCombat.lua b/api/LoggingCombat.lua index 687dd0a..e2c9751 100644 --- a/api/LoggingCombat.lua +++ b/api/LoggingCombat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param toggle boolean ----@return 1nil isLogging +---@param toggle boolean +---@return 1nil isLogging ---Enables or disables saving combat log data to a file. Combat log data will be saved to the file Logs/WoWCombatLog.txt (path is relative to the folder containing the World of Warcraft client); the file is not actually updated until the player logs out. -function LoggingCombat(toggle) end \ No newline at end of file +function LoggingCombat(toggle) end diff --git a/api/Logout.lua b/api/Logout.lua index d7d4ced..d19a732 100644 --- a/api/Logout.lua +++ b/api/Logout.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Attempts to log out and return to the character selection screen. Results vary based on current conditions: If the player is in combat or under other temporary restrictions (e.g. falling), fires the UI_ERROR_MESSAGE event with a message indicating the player cannot log out at the moment. If the player is not in an inn, major city, or other "rest" area (i.e. IsResting() returns nil), fires the PLAYER_CAMPING event, causing the default UI to show a countdown, logging the player out after a period of time if not canceled. If the player is in a "rest" area, logs out immediately. -function Logout() end \ No newline at end of file +function Logout() end diff --git a/api/LootSlot.lua b/api/LootSlot.lua index d994dab..6386359 100644 --- a/api/LootSlot.lua +++ b/api/LootSlot.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Attempts to pick up an item available as loot. If the item in the loot slot binds on pickup, the LOOT_BIND_CONFIRM event fires, indicating that ConfirmLootSlot(slot) must be called in order to actually loot the item. Please note: if you call this while processing a LOOT_OPENED event and it is the last item to be looted from the corpse, can cause LOOT_CLOSED to fire and be processed before your LOOT_OPENED event handler completes. -function LootSlot(slot) end \ No newline at end of file +function LootSlot(slot) end diff --git a/api/LootSlotHasItem.lua b/api/LootSlotHasItem.lua index 86d4c90..15c1869 100644 --- a/api/LootSlotHasItem.lua +++ b/api/LootSlotHasItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function LootSlotHasItem() end \ No newline at end of file +function LootSlotHasItem() end diff --git a/api/MacOptions_AreOSShortcutsDisabled.lua b/api/MacOptions_AreOSShortcutsDisabled.lua index 1625ee9..c7de601 100644 --- a/api/MacOptions_AreOSShortcutsDisabled.lua +++ b/api/MacOptions_AreOSShortcutsDisabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MacOptions_AreOSShortcutsDisabled() end \ No newline at end of file +function MacOptions_AreOSShortcutsDisabled() end diff --git a/api/MacOptions_GetGameBundleName.lua b/api/MacOptions_GetGameBundleName.lua index 1b90596..04decab 100644 --- a/api/MacOptions_GetGameBundleName.lua +++ b/api/MacOptions_GetGameBundleName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MacOptions_GetGameBundleName() end \ No newline at end of file +function MacOptions_GetGameBundleName() end diff --git a/api/MacOptions_HasNewStyleUniversalAccess.lua b/api/MacOptions_HasNewStyleUniversalAccess.lua index e175757..eb7f3fb 100644 --- a/api/MacOptions_HasNewStyleUniversalAccess.lua +++ b/api/MacOptions_HasNewStyleUniversalAccess.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MacOptions_HasNewStyleUniversalAccess() end \ No newline at end of file +function MacOptions_HasNewStyleUniversalAccess() end diff --git a/api/MacOptions_IsUniversalAccessEnabled.lua b/api/MacOptions_IsUniversalAccessEnabled.lua index 31b3400..6ddcf0f 100644 --- a/api/MacOptions_IsUniversalAccessEnabled.lua +++ b/api/MacOptions_IsUniversalAccessEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MacOptions_IsUniversalAccessEnabled() end \ No newline at end of file +function MacOptions_IsUniversalAccessEnabled() end diff --git a/api/MacOptions_OpenUniversalAccess.lua b/api/MacOptions_OpenUniversalAccess.lua index 7643507..b50f331 100644 --- a/api/MacOptions_OpenUniversalAccess.lua +++ b/api/MacOptions_OpenUniversalAccess.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MacOptions_OpenUniversalAccess() end \ No newline at end of file +function MacOptions_OpenUniversalAccess() end diff --git a/api/MacOptions_SetOSShortcutsDisabled.lua b/api/MacOptions_SetOSShortcutsDisabled.lua index 45fb87c..8363de7 100644 --- a/api/MacOptions_SetOSShortcutsDisabled.lua +++ b/api/MacOptions_SetOSShortcutsDisabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MacOptions_SetOSShortcutsDisabled() end \ No newline at end of file +function MacOptions_SetOSShortcutsDisabled() end diff --git a/api/ModifyEquipmentSet.lua b/api/ModifyEquipmentSet.lua index de1b77d..e4e54c6 100644 --- a/api/ModifyEquipmentSet.lua +++ b/api/ModifyEquipmentSet.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param oldSetName string ----@param newSetName string ----@param icon number +---@param oldSetName string +---@param newSetName string +---@param icon number ---Modifies the name and icon of an existing equipment set. If a set with the new name already exists, no action will take place. As with SaveEquipmentSet(), you can use set names consisting of more than 16 characters. However, it will be truncated if the user tries to change the sets icon in the default UI afterwards. -function ModifyEquipmentSet(oldSetName, newSetName, icon) end \ No newline at end of file +function ModifyEquipmentSet(oldSetName, newSetName, icon) end diff --git a/api/MouselookStart.lua b/api/MouselookStart.lua index 2221098..4cf668e 100644 --- a/api/MouselookStart.lua +++ b/api/MouselookStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables mouselook mode, in which cursor movement rotates the camera -function MouselookStart() end \ No newline at end of file +function MouselookStart() end diff --git a/api/MouselookStop.lua b/api/MouselookStop.lua index fff5f0b..142b15e 100644 --- a/api/MouselookStop.lua +++ b/api/MouselookStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Disables mouselook mode -function MouselookStop() end \ No newline at end of file +function MouselookStop() end diff --git a/api/MoveAndSteerStart.lua b/api/MoveAndSteerStart.lua index e280c33..5b55ee3 100644 --- a/api/MoveAndSteerStart.lua +++ b/api/MoveAndSteerStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins moving the player character forward while steering via mouse movement. After calling this function, the player character begins moving forward while cursor movement rotates (or steers) the character, altering yaw (facing) and/or pitch (vertical movement angle) as well as camera position. Equivalent to calling both CameraOrSelectOrMoveStart and TurnOrActionStart without calling the respective Stop functions; i.e. holding both left and right mouse buttons down. Used by the MOVEANDSTEER binding, which can be customized to allow alternate access to this action if the player's system does not allow pressing multiple mouse buttons at once. -function MoveAndSteerStart() end \ No newline at end of file +function MoveAndSteerStart() end diff --git a/api/MoveAndSteerStop.lua b/api/MoveAndSteerStop.lua index b2f5362..8a790e6 100644 --- a/api/MoveAndSteerStop.lua +++ b/api/MoveAndSteerStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by MoveAndSteerStart. After calling this function, forward movement and character steering stops and normal cursor movement resumes. Used by the MOVEANDSTEER binding. -function MoveAndSteerStop() end \ No newline at end of file +function MoveAndSteerStop() end diff --git a/api/MoveBackwardStart.lua b/api/MoveBackwardStart.lua index 2cebd86..8ad7dc0 100644 --- a/api/MoveBackwardStart.lua +++ b/api/MoveBackwardStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins moving the player character backward. Used by the MOVEBACKWARD binding. -function MoveBackwardStart() end \ No newline at end of file +function MoveBackwardStart() end diff --git a/api/MoveBackwardStop.lua b/api/MoveBackwardStop.lua index 874538d..26873ca 100644 --- a/api/MoveBackwardStop.lua +++ b/api/MoveBackwardStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by MoveBackwardStart -function MoveBackwardStop() end \ No newline at end of file +function MoveBackwardStop() end diff --git a/api/MoveForwardStart.lua b/api/MoveForwardStart.lua index b3f5630..8eeeaf4 100644 --- a/api/MoveForwardStart.lua +++ b/api/MoveForwardStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins moving the player character forward. Used by the MOVEFORWARD binding. -function MoveForwardStart() end \ No newline at end of file +function MoveForwardStart() end diff --git a/api/MoveForwardStop.lua b/api/MoveForwardStop.lua index ffd95fe..492508e 100644 --- a/api/MoveForwardStop.lua +++ b/api/MoveForwardStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by MoveForwardStart -function MoveForwardStop() end \ No newline at end of file +function MoveForwardStop() end diff --git a/api/MoveViewDownStart.lua b/api/MoveViewDownStart.lua index d6aeb0a..6222c4b 100644 --- a/api/MoveViewDownStart.lua +++ b/api/MoveViewDownStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins orbiting the camera downward (to look upward) -function MoveViewDownStart() end \ No newline at end of file +function MoveViewDownStart() end diff --git a/api/MoveViewDownStop.lua b/api/MoveViewDownStop.lua index 628058b..5a6c0bc 100644 --- a/api/MoveViewDownStop.lua +++ b/api/MoveViewDownStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends camera movement initiated by MoveViewDownStart -function MoveViewDownStop() end \ No newline at end of file +function MoveViewDownStop() end diff --git a/api/MoveViewInStart.lua b/api/MoveViewInStart.lua index 9ee9125..780b7a8 100644 --- a/api/MoveViewInStart.lua +++ b/api/MoveViewInStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins zooming the camera inward (towards/through the player character) -function MoveViewInStart() end \ No newline at end of file +function MoveViewInStart() end diff --git a/api/MoveViewInStop.lua b/api/MoveViewInStop.lua index b0f22ea..95a3bc5 100644 --- a/api/MoveViewInStop.lua +++ b/api/MoveViewInStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends camera movement initiated by MoveViewInStart -function MoveViewInStop() end \ No newline at end of file +function MoveViewInStop() end diff --git a/api/MoveViewLeftStart.lua b/api/MoveViewLeftStart.lua index 14f635a..5d50cba 100644 --- a/api/MoveViewLeftStart.lua +++ b/api/MoveViewLeftStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins orbiting the camera around the player character to the left. "Left" here is relative to the player's facing; i.e. the camera orbits clockwise if looking down. Moving the camera to the left causes it to look towards the character's right. -function MoveViewLeftStart() end \ No newline at end of file +function MoveViewLeftStart() end diff --git a/api/MoveViewLeftStop.lua b/api/MoveViewLeftStop.lua index 9e1233c..d492ce6 100644 --- a/api/MoveViewLeftStop.lua +++ b/api/MoveViewLeftStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends camera movement initiated by MoveViewLeftStart -function MoveViewLeftStop() end \ No newline at end of file +function MoveViewLeftStop() end diff --git a/api/MoveViewOutStart.lua b/api/MoveViewOutStart.lua index 8e098e1..4e63477 100644 --- a/api/MoveViewOutStart.lua +++ b/api/MoveViewOutStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins zooming the camera outward (away from the player character) -function MoveViewOutStart() end \ No newline at end of file +function MoveViewOutStart() end diff --git a/api/MoveViewOutStop.lua b/api/MoveViewOutStop.lua index 0735a4f..880b5ff 100644 --- a/api/MoveViewOutStop.lua +++ b/api/MoveViewOutStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends camera movement initiated by MoveViewOutStart -function MoveViewOutStop() end \ No newline at end of file +function MoveViewOutStop() end diff --git a/api/MoveViewRightStart.lua b/api/MoveViewRightStart.lua index b84f94c..51173d4 100644 --- a/api/MoveViewRightStart.lua +++ b/api/MoveViewRightStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins orbiting the camera around the player character to the right. "Right" here is relative to the player's facing; i.e. the camera orbits counter--clockwise if looking down. Moving the camera to the right causes it to look towards the character's left. -function MoveViewRightStart() end \ No newline at end of file +function MoveViewRightStart() end diff --git a/api/MoveViewRightStop.lua b/api/MoveViewRightStop.lua index f2506cf..a200a6a 100644 --- a/api/MoveViewRightStop.lua +++ b/api/MoveViewRightStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends camera movement initiated by MoveViewRightStart -function MoveViewRightStop() end \ No newline at end of file +function MoveViewRightStop() end diff --git a/api/MoveViewUpStart.lua b/api/MoveViewUpStart.lua index 77ef332..9c63532 100644 --- a/api/MoveViewUpStart.lua +++ b/api/MoveViewUpStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins orbiting the camera upward (to look down) -function MoveViewUpStart() end \ No newline at end of file +function MoveViewUpStart() end diff --git a/api/MoveViewUpStop.lua b/api/MoveViewUpStop.lua index 295cf09..5b6cebe 100644 --- a/api/MoveViewUpStop.lua +++ b/api/MoveViewUpStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends camera movement initiated by MoveViewUpStart -function MoveViewUpStop() end \ No newline at end of file +function MoveViewUpStop() end diff --git a/api/MovieRecording_Cancel.lua b/api/MovieRecording_Cancel.lua index 4602075..7393185 100644 --- a/api/MovieRecording_Cancel.lua +++ b/api/MovieRecording_Cancel.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels video recording and compression. If a recording is in progress, recording is stopped and the results discarded. If compression is in progress, compression is stopped and the uncompressed portion of the movie is deleted. -function MovieRecording_Cancel() end \ No newline at end of file +function MovieRecording_Cancel() end diff --git a/api/MovieRecording_DataRate.lua b/api/MovieRecording_DataRate.lua index 4e6fa43..1a504b0 100644 --- a/api/MovieRecording_DataRate.lua +++ b/api/MovieRecording_DataRate.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param width number ----@param framerate number ----@param sound number ----@return string dataRate +---@param width number +---@param framerate number +---@param sound number +---@return string dataRate ---Returns the data rate required for a given set of video recording parameters. The value returned is a prediction of the rate at which data will be written to the hard drive while recording -- if the hardware cannot support this data rate, game performance may suffer and recording may stop. -function MovieRecording_DataRate(width, framerate, sound) end \ No newline at end of file +function MovieRecording_DataRate(width, framerate, sound) end diff --git a/api/MovieRecording_DeleteMovie.lua b/api/MovieRecording_DeleteMovie.lua index 4977e73..18b9bdf 100644 --- a/api/MovieRecording_DeleteMovie.lua +++ b/api/MovieRecording_DeleteMovie.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param filename string +---@param filename string ---Deletes an uncompressed movie -function MovieRecording_DeleteMovie(filename) end \ No newline at end of file +function MovieRecording_DeleteMovie(filename) end diff --git a/api/MovieRecording_GetAspectRatio.lua b/api/MovieRecording_GetAspectRatio.lua index 50377f5..bf7746a 100644 --- a/api/MovieRecording_GetAspectRatio.lua +++ b/api/MovieRecording_GetAspectRatio.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number ratio +---@return number ratio ---Returns the aspect ratio of the game display. Used in the default UI to calculate dimensions for scaling captured video to predetermined widths. For example, if the aspect ratio is 0.75 (as on a 1600x1200 screen), a movie scaled to 640 pixels wide will be 480 pixels tall; but if the aspect ratio is 0.625 (as on a 1440x900 screen), a movie scaled to 640 pixels wide will be 400 pixels tall. -function MovieRecording_GetAspectRatio() end \ No newline at end of file +function MovieRecording_GetAspectRatio() end diff --git a/api/MovieRecording_GetFullWidth.lua b/api/MovieRecording_GetFullWidth.lua index 64fd987..3786833 100644 --- a/api/MovieRecording_GetFullWidth.lua +++ b/api/MovieRecording_GetFullWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_GetFullWidth() end \ No newline at end of file +function MovieRecording_GetFullWidth() end diff --git a/api/MovieRecording_GetHalfWidth.lua b/api/MovieRecording_GetHalfWidth.lua index 024ec6b..6e43e43 100644 --- a/api/MovieRecording_GetHalfWidth.lua +++ b/api/MovieRecording_GetHalfWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_GetHalfWidth() end \ No newline at end of file +function MovieRecording_GetHalfWidth() end diff --git a/api/MovieRecording_GetMovieFullPath.lua b/api/MovieRecording_GetMovieFullPath.lua index 5035295..2e61866 100644 --- a/api/MovieRecording_GetMovieFullPath.lua +++ b/api/MovieRecording_GetMovieFullPath.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string path +---@return string path ---Returns a path to the movie currently being recorded or compressed. If no movie is being recorded or compressed, returns either the empty string ("") or the path of the last movie recorded/compressed. -function MovieRecording_GetMovieFullPath() end \ No newline at end of file +function MovieRecording_GetMovieFullPath() end diff --git a/api/MovieRecording_GetProgress.lua b/api/MovieRecording_GetProgress.lua index 4288a17..5832603 100644 --- a/api/MovieRecording_GetProgress.lua +++ b/api/MovieRecording_GetProgress.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean recovering ----@return number progress +---@return boolean recovering +---@return number progress ---Returns information about movie compression progress -function MovieRecording_GetProgress() end \ No newline at end of file +function MovieRecording_GetProgress() end diff --git a/api/MovieRecording_GetQuarterWidth.lua b/api/MovieRecording_GetQuarterWidth.lua index f7d1024..380150e 100644 --- a/api/MovieRecording_GetQuarterWidth.lua +++ b/api/MovieRecording_GetQuarterWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_GetQuarterWidth() end \ No newline at end of file +function MovieRecording_GetQuarterWidth() end diff --git a/api/MovieRecording_GetSelectedWidth.lua b/api/MovieRecording_GetSelectedWidth.lua index 7f38a53..69e7d43 100644 --- a/api/MovieRecording_GetSelectedWidth.lua +++ b/api/MovieRecording_GetSelectedWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_GetSelectedWidth() end \ No newline at end of file +function MovieRecording_GetSelectedWidth() end diff --git a/api/MovieRecording_GetTime.lua b/api/MovieRecording_GetTime.lua index 40ccd53..401e4de 100644 --- a/api/MovieRecording_GetTime.lua +++ b/api/MovieRecording_GetTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string time +---@return string time ---Returns the amount of time since video recording was last started. Used in the default UI to show the length of the recording in progress when mousing over the recording indicator on the minimap. May return a nonsensical value if no video has been recorded since logging in. -function MovieRecording_GetTime() end \ No newline at end of file +function MovieRecording_GetTime() end diff --git a/api/MovieRecording_GetViewportWidth.lua b/api/MovieRecording_GetViewportWidth.lua index 68849ae..4fab2fc 100644 --- a/api/MovieRecording_GetViewportWidth.lua +++ b/api/MovieRecording_GetViewportWidth.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number width +---@return number width ---Returns the current width of the game display. Used in the default UI to allow the current screen resolution (or an integral factor thereof) to be selected as the video recording resolution. -function MovieRecording_GetViewportWidth() end \ No newline at end of file +function MovieRecording_GetViewportWidth() end diff --git a/api/MovieRecording_GetWidthAt.lua b/api/MovieRecording_GetWidthAt.lua index 4d0ae40..3aa90e1 100644 --- a/api/MovieRecording_GetWidthAt.lua +++ b/api/MovieRecording_GetWidthAt.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_GetWidthAt() end \ No newline at end of file +function MovieRecording_GetWidthAt() end diff --git a/api/MovieRecording_GetWidthCount.lua b/api/MovieRecording_GetWidthCount.lua index 00b229e..dc43610 100644 --- a/api/MovieRecording_GetWidthCount.lua +++ b/api/MovieRecording_GetWidthCount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_GetWidthCount() end \ No newline at end of file +function MovieRecording_GetWidthCount() end diff --git a/api/MovieRecording_IsCompressing.lua b/api/MovieRecording_IsCompressing.lua index 83a2d9c..83687b7 100644 --- a/api/MovieRecording_IsCompressing.lua +++ b/api/MovieRecording_IsCompressing.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isCompressing +---@return boolean isCompressing ---Returns whether a movie file is currently being compressed -function MovieRecording_IsCompressing() end \ No newline at end of file +function MovieRecording_IsCompressing() end diff --git a/api/MovieRecording_IsCursorRecordingSupported.lua b/api/MovieRecording_IsCursorRecordingSupported.lua index d4799db..f5e9062 100644 --- a/api/MovieRecording_IsCursorRecordingSupported.lua +++ b/api/MovieRecording_IsCursorRecordingSupported.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isSupported +---@return boolean isSupported ---Returns whether the current system supports recording the mouse cursor in movies -function MovieRecording_IsCursorRecordingSupported() end \ No newline at end of file +function MovieRecording_IsCursorRecordingSupported() end diff --git a/api/MovieRecording_IsRecording.lua b/api/MovieRecording_IsRecording.lua index dfab2be..2959cd7 100644 --- a/api/MovieRecording_IsRecording.lua +++ b/api/MovieRecording_IsRecording.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isRecording +---@return 1nil isRecording ---Returns whether movie recording is currently in progress -function MovieRecording_IsRecording() end \ No newline at end of file +function MovieRecording_IsRecording() end diff --git a/api/MovieRecording_IsSupported.lua b/api/MovieRecording_IsSupported.lua index 896cf59..bf3589e 100644 --- a/api/MovieRecording_IsSupported.lua +++ b/api/MovieRecording_IsSupported.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isSupported +---@return boolean isSupported ---Returns whether movie recording is supported on the current system -function MovieRecording_IsSupported() end \ No newline at end of file +function MovieRecording_IsSupported() end diff --git a/api/MovieRecording_LoadSelectedWidth.lua b/api/MovieRecording_LoadSelectedWidth.lua index 13a630c..34a4b52 100644 --- a/api/MovieRecording_LoadSelectedWidth.lua +++ b/api/MovieRecording_LoadSelectedWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_LoadSelectedWidth() end \ No newline at end of file +function MovieRecording_LoadSelectedWidth() end diff --git a/api/MovieRecording_MaxLength.lua b/api/MovieRecording_MaxLength.lua index 7b89241..89c3a3c 100644 --- a/api/MovieRecording_MaxLength.lua +++ b/api/MovieRecording_MaxLength.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param width number ----@param framerate number ----@param sound number ----@return string time +---@param width number +---@param framerate number +---@param sound number +---@return string time ---Returns the maximum length of recorded video for a given set of video recording parameters. The value returned reflects both the data rate associated with the given parameters and the amount of space remaining on the hard drive. -function MovieRecording_MaxLength(width, framerate, sound) end \ No newline at end of file +function MovieRecording_MaxLength(width, framerate, sound) end diff --git a/api/MovieRecording_QueueMovieToCompress.lua b/api/MovieRecording_QueueMovieToCompress.lua index edbdc23..fa6ab4a 100644 --- a/api/MovieRecording_QueueMovieToCompress.lua +++ b/api/MovieRecording_QueueMovieToCompress.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param filename string +---@param filename string ---Queues an uncompressed movie for compression. If there are no items currently in the queue the movie will begin compressing immediately. -function MovieRecording_QueueMovieToCompress(filename) end \ No newline at end of file +function MovieRecording_QueueMovieToCompress(filename) end diff --git a/api/MovieRecording_SaveSelectedWidth.lua b/api/MovieRecording_SaveSelectedWidth.lua index ea55295..6613fe4 100644 --- a/api/MovieRecording_SaveSelectedWidth.lua +++ b/api/MovieRecording_SaveSelectedWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_SaveSelectedWidth() end \ No newline at end of file +function MovieRecording_SaveSelectedWidth() end diff --git a/api/MovieRecording_SearchUncompressedMovie.lua b/api/MovieRecording_SearchUncompressedMovie.lua index babea7c..77a08a2 100644 --- a/api/MovieRecording_SearchUncompressedMovie.lua +++ b/api/MovieRecording_SearchUncompressedMovie.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enable boolean +---@param enable boolean ---Enables or disables a search for uncompressed movies. After calling this function with true, a MOVIE_UNCOMPRESSED_MOVIE fires for the first uncompressed movie found (causing the default UI to prompt the user to choose whether to compress, ignore, or delete the movie). Calling this function with false ignores the movie, causing the search to continue (firing a MOVIE_UNCOMPRESSED_MOVIE event for the next uncompressed movie found, and so forth). -function MovieRecording_SearchUncompressedMovie(enable) end \ No newline at end of file +function MovieRecording_SearchUncompressedMovie(enable) end diff --git a/api/MovieRecording_SetSelectedWidth.lua b/api/MovieRecording_SetSelectedWidth.lua index efc746e..3ef81f8 100644 --- a/api/MovieRecording_SetSelectedWidth.lua +++ b/api/MovieRecording_SetSelectedWidth.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function MovieRecording_SetSelectedWidth() end \ No newline at end of file +function MovieRecording_SetSelectedWidth() end diff --git a/api/MovieRecording_Toggle.lua b/api/MovieRecording_Toggle.lua index 0df78f9..92055d5 100644 --- a/api/MovieRecording_Toggle.lua +++ b/api/MovieRecording_Toggle.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins or ends video recording. Used by the MOVIE_RECORDING_STARTSTOP key binding. -function MovieRecording_Toggle() end \ No newline at end of file +function MovieRecording_Toggle() end diff --git a/api/MovieRecording_ToggleGUI.lua b/api/MovieRecording_ToggleGUI.lua index 3956a08..09aee4c 100644 --- a/api/MovieRecording_ToggleGUI.lua +++ b/api/MovieRecording_ToggleGUI.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables or disables inclusion of UI elements in a video recording. Equivalent to the MovieRecordingGUI CVar, but provided as a convenience for the MOVIE_RECORDING_GUI so UI recording can be turned on or off while a movie is recording. -function MovieRecording_ToggleGUI() end \ No newline at end of file +function MovieRecording_ToggleGUI() end diff --git a/api/MusicPlayer_BackTrack.lua b/api/MusicPlayer_BackTrack.lua index 196eb0b..a944673 100644 --- a/api/MusicPlayer_BackTrack.lua +++ b/api/MusicPlayer_BackTrack.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes iTunes to return to the previous track played. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. -function MusicPlayer_BackTrack() end \ No newline at end of file +function MusicPlayer_BackTrack() end diff --git a/api/MusicPlayer_NextTrack.lua b/api/MusicPlayer_NextTrack.lua index 35d293f..3c5e394 100644 --- a/api/MusicPlayer_NextTrack.lua +++ b/api/MusicPlayer_NextTrack.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes iTunes to play the next track in sequence. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. -function MusicPlayer_NextTrack() end \ No newline at end of file +function MusicPlayer_NextTrack() end diff --git a/api/MusicPlayer_PlayPause.lua b/api/MusicPlayer_PlayPause.lua index 1a46e24..4af4df3 100644 --- a/api/MusicPlayer_PlayPause.lua +++ b/api/MusicPlayer_PlayPause.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes iTunes to start or pause playback. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. -function MusicPlayer_PlayPause() end \ No newline at end of file +function MusicPlayer_PlayPause() end diff --git a/api/MusicPlayer_VolumeDown.lua b/api/MusicPlayer_VolumeDown.lua index 3142dd8..492a3f4 100644 --- a/api/MusicPlayer_VolumeDown.lua +++ b/api/MusicPlayer_VolumeDown.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes iTunes to lower its playback volume. Affects the iTunes volume setting only, not the overall system volume or any of WoW's volume settings. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. -function MusicPlayer_VolumeDown() end \ No newline at end of file +function MusicPlayer_VolumeDown() end diff --git a/api/MusicPlayer_VolumeUp.lua b/api/MusicPlayer_VolumeUp.lua index 9c7fc50..737f359 100644 --- a/api/MusicPlayer_VolumeUp.lua +++ b/api/MusicPlayer_VolumeUp.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes iTunes to raise its playback volume. Affects the iTunes volume setting only, not the overall system volume or any of WoW's volume settings. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. -function MusicPlayer_VolumeUp() end \ No newline at end of file +function MusicPlayer_VolumeUp() end diff --git a/api/NeutralPlayerSelectFaction.lua b/api/NeutralPlayerSelectFaction.lua index 0355c9a..4e97388 100644 --- a/api/NeutralPlayerSelectFaction.lua +++ b/api/NeutralPlayerSelectFaction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function NeutralPlayerSelectFaction() end \ No newline at end of file +function NeutralPlayerSelectFaction() end diff --git a/api/NewGMTicket.lua b/api/NewGMTicket.lua index ece3f34..ef1d811 100644 --- a/api/NewGMTicket.lua +++ b/api/NewGMTicket.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param text string ----@param needResponse boolean +---@param text string +---@param needResponse boolean ---Opens a new GM support ticket. The default UI sets the needResponse flag to true for "Talk to a GM" and "Stuck" tickets, and false for "Report an issue" tickets. -function NewGMTicket(text, needResponse) end \ No newline at end of file +function NewGMTicket(text, needResponse) end diff --git a/api/NextView.lua b/api/NextView.lua index f9ed096..853176a 100644 --- a/api/NextView.lua +++ b/api/NextView.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Moves the camera to the next predefined setting. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). -function NextView() end \ No newline at end of file +function NextView() end diff --git a/api/NoPlayTime.lua b/api/NoPlayTime.lua index 754d5cb..3eef541 100644 --- a/api/NoPlayTime.lua +++ b/api/NoPlayTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasNoTime +---@return 1nil hasNoTime ---Returns whether the player has exceeded the allowed play time limit. When in this state, the player is unable to gain loot or XP or complete quests and cannot use trade skills; returning to normal requires logging out of the game for a period of time (see GetBillingTimeRested). Only used in locales where the length of play sessions is restricted (e.g. mainland China). -function NoPlayTime() end \ No newline at end of file +function NoPlayTime() end diff --git a/api/NotWhileDeadError.lua b/api/NotWhileDeadError.lua index d7e2532..95502ba 100644 --- a/api/NotWhileDeadError.lua +++ b/api/NotWhileDeadError.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes the default UI to display an error message indicating that actions are disallowed while the player is dead. Fires a UI_ERROR_MESSAGE event containing a localized message identified by the global variable ERR_PLAYER_DEAD. -function NotWhileDeadError() end \ No newline at end of file +function NotWhileDeadError() end diff --git a/api/NotifyInspect.lua b/api/NotifyInspect.lua index 2168df0..1447b9f 100644 --- a/api/NotifyInspect.lua +++ b/api/NotifyInspect.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---Marks a unit for inspection and requests talent data from the server. Information about the inspected item's equipment can be retrieved immediately using Inventory APIs (e.g. GetInventoryItemLink("target",1)). Talent data is not available immediately; the INSPECT_READY event fires once the inspected unit's talent information can be retrieved using Talent APIs (e.g. GetTalentInfo(1,1,true)). -function NotifyInspect(unit) end \ No newline at end of file +function NotifyInspect(unit) end diff --git a/api/NumTaxiNodes.lua b/api/NumTaxiNodes.lua index fa85adc..b7be21e 100644 --- a/api/NumTaxiNodes.lua +++ b/api/NumTaxiNodes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number numNodes +---@return number numNodes ---Returns the number of flight points on the taxi map. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function NumTaxiNodes() end \ No newline at end of file +function NumTaxiNodes() end diff --git a/api/OfferPetition.lua b/api/OfferPetition.lua index 33748c1..abd22b5 100644 --- a/api/OfferPetition.lua +++ b/api/OfferPetition.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests an arena or guild charter signature from the targeted unit -function OfferPetition() end \ No newline at end of file +function OfferPetition() end diff --git a/api/OffhandHasWeapon.lua b/api/OffhandHasWeapon.lua index b7c5b1c..8fc055f 100644 --- a/api/OffhandHasWeapon.lua +++ b/api/OffhandHasWeapon.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasWeapon +---@return 1nil hasWeapon ---Returns whether the player has an equipped weapon in the off hand slot -function OffhandHasWeapon() end \ No newline at end of file +function OffhandHasWeapon() end diff --git a/api/OpenCalendar.lua b/api/OpenCalendar.lua index 30235e1..09b1c48 100644 --- a/api/OpenCalendar.lua +++ b/api/OpenCalendar.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Queries the server for calendar status information. May cause one or more CALENDAR_UPDATE_* events to fire depending on the contents of the player's calendar. In the default UI, called when the calendar is shown. -function OpenCalendar() end \ No newline at end of file +function OpenCalendar() end diff --git a/api/OpenTrainer.lua b/api/OpenTrainer.lua index 6e94705..b9bfae8 100644 --- a/api/OpenTrainer.lua +++ b/api/OpenTrainer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function OpenTrainer() end \ No newline at end of file +function OpenTrainer() end diff --git a/api/OpeningCinematic.lua b/api/OpeningCinematic.lua index c2089c1..9e35b80 100644 --- a/api/OpeningCinematic.lua +++ b/api/OpeningCinematic.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Displays the introductory cinematic for the player's race. Only has effect if the player has never gained any experience. -function OpeningCinematic() end \ No newline at end of file +function OpeningCinematic() end diff --git a/api/PartialPlayTime.lua b/api/PartialPlayTime.lua index c8ec7a9..cfc98f9 100644 --- a/api/PartialPlayTime.lua +++ b/api/PartialPlayTime.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil partialPlayTime +---@return 1nil partialPlayTime ---Returns whether the player is near the allowed play time limit. When in this state, the player receives half the normal amount of money and XP from kills and quests and cannot use trade skills; returning to normal requires logging out of the game for a period of time (see GetBillingTimeRested). Only used in locales where the length of play sessions is restricted (e.g. mainland China). -function PartialPlayTime() end \ No newline at end of file +function PartialPlayTime() end diff --git a/api/PartyLFGStartBackfill.lua b/api/PartyLFGStartBackfill.lua index fd8fe0d..65e1e02 100644 --- a/api/PartyLFGStartBackfill.lua +++ b/api/PartyLFGStartBackfill.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PartyLFGStartBackfill() end \ No newline at end of file +function PartyLFGStartBackfill() end diff --git a/api/PetAbandon.lua b/api/PetAbandon.lua index 6672a01..297ffef 100644 --- a/api/PetAbandon.lua +++ b/api/PetAbandon.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Releases the player's pet. For Hunter pets, this function sends the pet away, never to return (in the default UI, it's called when accepting the "Are you sure you want to permanently abandon your pet?" dialog). For other pets, this function is equivalent to PetDismiss(). -function PetAbandon() end \ No newline at end of file +function PetAbandon() end diff --git a/api/PetAggressiveMode.lua b/api/PetAggressiveMode.lua index c633c59..8eb7123 100644 --- a/api/PetAggressiveMode.lua +++ b/api/PetAggressiveMode.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables aggressive mode for the player's pet. In this mode, the pet automatically attacks any nearby hostile targets. -function PetAggressiveMode() end \ No newline at end of file +function PetAggressiveMode() end diff --git a/api/PetAssistMode.lua b/api/PetAssistMode.lua index 4d08a65..c487d71 100644 --- a/api/PetAssistMode.lua +++ b/api/PetAssistMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PetAssistMode() end \ No newline at end of file +function PetAssistMode() end diff --git a/api/PetAttack.lua b/api/PetAttack.lua index 0dfeca6..6e0a73e 100644 --- a/api/PetAttack.lua +++ b/api/PetAttack.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Instructs the pet to attack. The pet will attack the player's current target if no unit is specified. -function PetAttack(unit, name) end \ No newline at end of file +function PetAttack(unit, name) end diff --git a/api/PetCanBeAbandoned.lua b/api/PetCanBeAbandoned.lua index b428527..2a6c863 100644 --- a/api/PetCanBeAbandoned.lua +++ b/api/PetCanBeAbandoned.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canAbandon +---@return 1nil canAbandon ---Returns whether the player's pet can be abandoned. Only Hunter pets can be permanently abandoned. -function PetCanBeAbandoned() end \ No newline at end of file +function PetCanBeAbandoned() end diff --git a/api/PetCanBeDismissed.lua b/api/PetCanBeDismissed.lua index 80137a2..5b8745d 100644 --- a/api/PetCanBeDismissed.lua +++ b/api/PetCanBeDismissed.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canDismiss +---@return 1nil canDismiss ---Returns whether a Dismiss Pet command should be available for the player's pet. Returns 1 for hunter pets even though they use the Dismiss Pet (cast) spell instead of a Dismiss Pet (instant) command; the value of PetCanBeAbandoned() overrides this in causing the default UI to hide the command. Currently unused, but may be used in the future for other pets. -function PetCanBeDismissed() end \ No newline at end of file +function PetCanBeDismissed() end diff --git a/api/PetCanBeRenamed.lua b/api/PetCanBeRenamed.lua index fa4a3d4..9e3ad05 100644 --- a/api/PetCanBeRenamed.lua +++ b/api/PetCanBeRenamed.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canRename +---@return 1nil canRename ---Returns whether the player's pet can be renamed. Only hunter pets can be renamed, and only once (barring use of a Certificate of Ownership). -function PetCanBeRenamed() end \ No newline at end of file +function PetCanBeRenamed() end diff --git a/api/PetDefensiveMode.lua b/api/PetDefensiveMode.lua index f9622d7..2cb206c 100644 --- a/api/PetDefensiveMode.lua +++ b/api/PetDefensiveMode.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables defensive mode for the player's pet. In this mode, the pet automatically attacks only units which attack it or the player or units the player is attacking. -function PetDefensiveMode() end \ No newline at end of file +function PetDefensiveMode() end diff --git a/api/PetDismiss.lua b/api/PetDismiss.lua index ba419e2..c024397 100644 --- a/api/PetDismiss.lua +++ b/api/PetDismiss.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Dismisses the currently controlled pet. Used for dismissing Warlock pets, Mind Control targets, etc. Has no effect for Hunter pets, which can only be dismissed using the Dismiss Pet spell. -function PetDismiss() end \ No newline at end of file +function PetDismiss() end diff --git a/api/PetFollow.lua b/api/PetFollow.lua index 20a8d5b..0e99640 100644 --- a/api/PetFollow.lua +++ b/api/PetFollow.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Instructs the pet to follow the player. If the pet is currently attacking a target, the pet will stop attacking. -function PetFollow() end \ No newline at end of file +function PetFollow() end diff --git a/api/PetHasActionBar.lua b/api/PetHasActionBar.lua index ecffa62..194caeb 100644 --- a/api/PetHasActionBar.lua +++ b/api/PetHasActionBar.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasActionBar +---@return 1nil hasActionBar ---Returns whether the player's current pet has an action bar -function PetHasActionBar() end \ No newline at end of file +function PetHasActionBar() end diff --git a/api/PetHasSpellbook.lua b/api/PetHasSpellbook.lua index 955deb0..11e344b 100644 --- a/api/PetHasSpellbook.lua +++ b/api/PetHasSpellbook.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PetHasSpellbook() end \ No newline at end of file +function PetHasSpellbook() end diff --git a/api/PetMoveTo.lua b/api/PetMoveTo.lua index b06b2ae..be97664 100644 --- a/api/PetMoveTo.lua +++ b/api/PetMoveTo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Commands the player's pet to move to the targeted destination. Calling this only brings up the targeting display, the user must perform a second click to actually tell the pet to move. -function PetMoveTo() end \ No newline at end of file +function PetMoveTo() end diff --git a/api/PetPassiveMode.lua b/api/PetPassiveMode.lua index a756a02..a6a67b4 100644 --- a/api/PetPassiveMode.lua +++ b/api/PetPassiveMode.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables passive mode for the player's pet. In this mode, the pet will not automatically attack any target. -function PetPassiveMode() end \ No newline at end of file +function PetPassiveMode() end diff --git a/api/PetRename.lua b/api/PetRename.lua index b09743d..fb72649 100644 --- a/api/PetRename.lua +++ b/api/PetRename.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param genitive string ----@param dative string ----@param accusative string ----@param instrumental string ----@param prepositional string +---@param name string +---@param genitive string +---@param dative string +---@param accusative string +---@param instrumental string +---@param prepositional string ---Renames the currently controlled pet. Only Hunter pets can be renamed, and a given pet can only be renamed once (barring use of a Certificate of Ownership). -function PetRename(name, genitive, dative, accusative, instrumental, prepositional) end \ No newline at end of file +function PetRename(name, genitive, dative, accusative, instrumental, prepositional) end diff --git a/api/PetStopAttack.lua b/api/PetStopAttack.lua index 190ecee..2af3e0e 100644 --- a/api/PetStopAttack.lua +++ b/api/PetStopAttack.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Instructs the pet to stop attacking -function PetStopAttack() end \ No newline at end of file +function PetStopAttack() end diff --git a/api/PetUsesPetFrame.lua b/api/PetUsesPetFrame.lua index acc709c..37409f8 100644 --- a/api/PetUsesPetFrame.lua +++ b/api/PetUsesPetFrame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PetUsesPetFrame() end \ No newline at end of file +function PetUsesPetFrame() end diff --git a/api/PetWait.lua b/api/PetWait.lua index 5bae66c..fad7106 100644 --- a/api/PetWait.lua +++ b/api/PetWait.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Instructs the pet to stay at its current location. If the pet is currently attacking a target, the pet will stop attacking. -function PetWait() end \ No newline at end of file +function PetWait() end diff --git a/api/PickupAction.lua b/api/PickupAction.lua index 7367bc4..fba8596 100644 --- a/api/PickupAction.lua +++ b/api/PickupAction.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Puts the contents of an action bar slot onto the cursor or the cursor contents into an action bar slot. After an action is picked up via this function, it can only be placed into other action bar slots (with PlaceAction() or by calling PickupAction() again), even if the action is an item which could otherwise be placed elsewhere. Unlike many other "pickup" cursor functions, this function removes the picked-up action from the source slot -- an action slot can be emptied by calling this function followed by ClearCursor(). If the action slot is empty and the cursor already holds an action, a spell, a companion (mount or non-combat pet), a macro, an equipment set, or an item (with a "Use:" effect), it is put into the action slot. If both the cursor and the slot hold an action (or any of the above data types), the contents of the cursor and the slot are exchanged. -function PickupAction(slot) end \ No newline at end of file +function PickupAction(slot) end diff --git a/api/PickupBagFromSlot.lua b/api/PickupBagFromSlot.lua index 199da48..e4a654a 100644 --- a/api/PickupBagFromSlot.lua +++ b/api/PickupBagFromSlot.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Puts an equipped container onto the cursor -function PickupBagFromSlot(slot) end \ No newline at end of file +function PickupBagFromSlot(slot) end diff --git a/api/PickupCompanion.lua b/api/PickupCompanion.lua index b8995b2..a561f60 100644 --- a/api/PickupCompanion.lua +++ b/api/PickupCompanion.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type MOUNT ----@param CRITTER ----@param MOUNT ----@param index number +---@param type MOUNT +---@param CRITTER +---@param MOUNT +---@param index number ---Puts a non-combat pet or mount onto the cursor -function PickupCompanion(type, CRITTER, MOUNT, index) end \ No newline at end of file +function PickupCompanion(type, CRITTER, MOUNT, index) end diff --git a/api/PickupContainerItem.lua b/api/PickupContainerItem.lua index 63e7411..b7e0058 100644 --- a/api/PickupContainerItem.lua +++ b/api/PickupContainerItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number +---@param container number +---@param slot number ---Picks up an item from or puts an item into a slot in one of the player's bags or other containers. If the cursor is empty and the referenced container slot contains an item, that item is put onto the cursor. If the cursor contains an item and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the container slot are exchanged. An item picked up from a container is not removed from its slot (until put elsewhere); when an item is picked up, the slot becomes locked, preventing other changes to its contents until the disposition (movement, trade, mailing, auctioning, destruction, etc) of the picked-up item is resolved. -function PickupContainerItem(container, slot) end \ No newline at end of file +function PickupContainerItem(container, slot) end diff --git a/api/PickupCurrency.lua b/api/PickupCurrency.lua index 5f7990a..e801b86 100644 --- a/api/PickupCurrency.lua +++ b/api/PickupCurrency.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PickupCurrency() end \ No newline at end of file +function PickupCurrency() end diff --git a/api/PickupEquipmentSet.lua b/api/PickupEquipmentSet.lua index 9bd8d90..01c0256 100644 --- a/api/PickupEquipmentSet.lua +++ b/api/PickupEquipmentSet.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Puts an equipment set (specified by index) on the cursor. Can be used to place an equipment set in an action bar slot. -function PickupEquipmentSet(index) end \ No newline at end of file +function PickupEquipmentSet(index) end diff --git a/api/PickupEquipmentSetByName.lua b/api/PickupEquipmentSetByName.lua index 8a57b4d..1a69c0b 100644 --- a/api/PickupEquipmentSetByName.lua +++ b/api/PickupEquipmentSetByName.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Puts an equipment set on the cursor. Can be used to place an equipment set in an action bar slot. -function PickupEquipmentSetByName(name) end \ No newline at end of file +function PickupEquipmentSetByName(name) end diff --git a/api/PickupGuildBankItem.lua b/api/PickupGuildBankItem.lua index 088124e..c669fcb 100644 --- a/api/PickupGuildBankItem.lua +++ b/api/PickupGuildBankItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param slot number +---@param tab number +---@param slot number ---Picks up an item from or puts an item into the guild bank. If the cursor is empty and the referenced guild bank slot contains an item, that item is put onto the cursor. If the cursor contains an item and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the guild bank slot are exchanged. -function PickupGuildBankItem(tab, slot) end \ No newline at end of file +function PickupGuildBankItem(tab, slot) end diff --git a/api/PickupGuildBankMoney.lua b/api/PickupGuildBankMoney.lua index e6314f6..9c47d0b 100644 --- a/api/PickupGuildBankMoney.lua +++ b/api/PickupGuildBankMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Puts money from the guild bank onto the cursor. Money is not actually withdrawn from the guild bank; in the default UI, when the cursor "puts" the money into one of the player's bags, it calls WithdrawGuildBankMoney(). -function PickupGuildBankMoney(amount) end \ No newline at end of file +function PickupGuildBankMoney(amount) end diff --git a/api/PickupInventoryItem.lua b/api/PickupInventoryItem.lua index 6c33914..09e73d2 100644 --- a/api/PickupInventoryItem.lua +++ b/api/PickupInventoryItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Picks up an item from or puts an item into an equipment slot. If the cursor is empty and the referenced inventory slot contains an item, that item is put onto the cursor. If the cursor contains an item (which can be equipped in the slot) and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the inventory slot are exchanged. An item picked up from an inventory slot is not removed from the slot (until put elsewhere); when an item is picked up, the slot becomes locked, preventing other changes to its contents until the disposition (movement, trade, destruction, etc) of the picked-up item is resolved. -function PickupInventoryItem(slot) end \ No newline at end of file +function PickupInventoryItem(slot) end diff --git a/api/PickupItem.lua b/api/PickupItem.lua index 6e94cdf..3d31a84 100644 --- a/api/PickupItem.lua +++ b/api/PickupItem.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string +---@param itemID number +---@param itemName string +---@param itemLink string ---Puts an arbitrary item onto the cursor. Puts an item onto the cursor regardless of its location (equipped, bags, bank or not even in the player's possession); can be used to put an item into an action slot (see PlaceAction()) even if the player does not currently hold the item. Since the item is not picked up from a specific location, this function cannot be used to move an item to another bag, trade it to another player, attach it to a mail message, destroyed, etc. -function PickupItem(itemID, itemName, itemLink) end \ No newline at end of file +function PickupItem(itemID, itemName, itemLink) end diff --git a/api/PickupMacro.lua b/api/PickupMacro.lua index b031185..5a6d6d3 100644 --- a/api/PickupMacro.lua +++ b/api/PickupMacro.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string +---@param index number +---@param name string ---Puts a macro onto the cursor -function PickupMacro(index, name) end \ No newline at end of file +function PickupMacro(index, name) end diff --git a/api/PickupMerchantItem.lua b/api/PickupMerchantItem.lua index 1e737d7..5644ef7 100644 --- a/api/PickupMerchantItem.lua +++ b/api/PickupMerchantItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Puts an item available for purchase from a vendor onto the cursor -function PickupMerchantItem(index) end \ No newline at end of file +function PickupMerchantItem(index) end diff --git a/api/PickupPetAction.lua b/api/PickupPetAction.lua index 59181f4..7585b86 100644 --- a/api/PickupPetAction.lua +++ b/api/PickupPetAction.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot. Only pet actions and spells from the "pet" portion of the spellbook can be placed into pet action slots. If the cursor is empty and the referenced pet action slot contains an action, that action is put onto the cursor (but remains in the slot). If the cursor contains a pet action or pet spell and the slot is empty, the action/spell is placed into the slot. If both the cursor and the slot contain pet actions, the contents of the cursor and the pet action slot are exchanged. -function PickupPetAction(index) end \ No newline at end of file +function PickupPetAction(index) end diff --git a/api/PickupPetSpell.lua b/api/PickupPetSpell.lua index 41827e0..4ed1a5a 100644 --- a/api/PickupPetSpell.lua +++ b/api/PickupPetSpell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PickupPetSpell() end \ No newline at end of file +function PickupPetSpell() end diff --git a/api/PickupPlayerMoney.lua b/api/PickupPlayerMoney.lua index f61ed04..a3307b3 100644 --- a/api/PickupPlayerMoney.lua +++ b/api/PickupPlayerMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Puts an amount of the player's money onto the cursor. Money is not immediately deducted from the player's total savings (though it appears such on the default UI's money displays, which generally show GetMoney()-GetCursorMoney()). -function PickupPlayerMoney(amount) end \ No newline at end of file +function PickupPlayerMoney(amount) end diff --git a/api/PickupSpell.lua b/api/PickupSpell.lua index 32a3475..71a496e 100644 --- a/api/PickupSpell.lua +++ b/api/PickupSpell.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellID number +---@param spellID number ---Puts a spell onto the cursor -function PickupSpell(spellID) end \ No newline at end of file +function PickupSpell(spellID) end diff --git a/api/PickupSpellBookItem.lua b/api/PickupSpellBookItem.lua index b0e3150..e7c57ed 100644 --- a/api/PickupSpellBookItem.lua +++ b/api/PickupSpellBookItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PickupSpellBookItem() end \ No newline at end of file +function PickupSpellBookItem() end diff --git a/api/PickupTalent.lua b/api/PickupTalent.lua index 86458fa..87f0b72 100644 --- a/api/PickupTalent.lua +++ b/api/PickupTalent.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PickupTalent() end \ No newline at end of file +function PickupTalent() end diff --git a/api/PickupTradeMoney.lua b/api/PickupTradeMoney.lua index 0f1768c..570668a 100644 --- a/api/PickupTradeMoney.lua +++ b/api/PickupTradeMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Puts money offered by the player for trade onto the cursor. Money put onto the cursor is subtracted from the amount offered for trade (see GetPlayerTradeMoney()). -function PickupTradeMoney(amount) end \ No newline at end of file +function PickupTradeMoney(amount) end diff --git a/api/PitchDownStart.lua b/api/PitchDownStart.lua index 75b6c00..6de6b37 100644 --- a/api/PitchDownStart.lua +++ b/api/PitchDownStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins adjusting the player character's angle of vertical movement downward. Affects only the angle or slope of movement for swimming or flying; has no immediately visible effect if the player is not moving, but alters the trajectory followed as soon as the player begins moving. Continuously adjusts pitch until the minimum angle is reached or PitchDownStop() is called. Used by the PITCHDOWN binding. -function PitchDownStart() end \ No newline at end of file +function PitchDownStart() end diff --git a/api/PitchDownStop.lua b/api/PitchDownStop.lua index 404ac2d..ff3ae18 100644 --- a/api/PitchDownStop.lua +++ b/api/PitchDownStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by PitchDownStart -function PitchDownStop() end \ No newline at end of file +function PitchDownStop() end diff --git a/api/PitchUpStart.lua b/api/PitchUpStart.lua index 64c1181..663174b 100644 --- a/api/PitchUpStart.lua +++ b/api/PitchUpStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins adjusting the player character's angle of vertical movement upward. Affects only the angle or slope of movement for swimming or flying; has no immediately visible effect if the player is not moving, but alters the trajectory followed as soon as the player begins moving. Continuously adjusts pitch until the maximum angle is reached or PitchUpStop() is called. Used by the PITCHUP binding. -function PitchUpStart() end \ No newline at end of file +function PitchUpStart() end diff --git a/api/PitchUpStop.lua b/api/PitchUpStop.lua index aa8b2ea..31dcc1e 100644 --- a/api/PitchUpStop.lua +++ b/api/PitchUpStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by PitchUpStart -function PitchUpStop() end \ No newline at end of file +function PitchUpStop() end diff --git a/api/PlaceAction.lua b/api/PlaceAction.lua index 90f76c7..044321f 100644 --- a/api/PlaceAction.lua +++ b/api/PlaceAction.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Puts the contents of the cursor into an action bar slot. If the action slot is empty and the cursor already holds an action, a spell, a companion (mount or non-combat pet), a macro, an equipment set, or an item (with a "Use:" effect), it is put into the action slot. If both the cursor and the slot hold an action (or any of the above data types), the contents of the cursor and the slot are exchanged. Does nothing if the cursor is empty. -function PlaceAction(slot) end \ No newline at end of file +function PlaceAction(slot) end diff --git a/api/PlaceAuctionBid.lua b/api/PlaceAuctionBid.lua index 47226dd..b10a46f 100644 --- a/api/PlaceAuctionBid.lua +++ b/api/PlaceAuctionBid.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index number ----@param bid number +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index number +---@param bid number ---Places a bid on (or buys out) an auction item. Attempting to bid an amount equal to or greater than the auction's buyout price will buy out the auction (spending only the exact buyout price) instead of placing a bid. -function PlaceAuctionBid(list, bidder, list, owner, index, bid) end \ No newline at end of file +function PlaceAuctionBid(list, bidder, list, owner, index, bid) end diff --git a/api/PlaceGlyphInSocket.lua b/api/PlaceGlyphInSocket.lua index 79e056c..743e9ce 100644 --- a/api/PlaceGlyphInSocket.lua +++ b/api/PlaceGlyphInSocket.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param socket number +---@param socket number ---Applies the glyph currently awaiting a target to a socket. Only valid during glyph application: when the player has activated the glyph item but before she has chosen the glyph slot to put it in (i.e. the glowing hand cursor is showing). This function does not ask for confirmation before overwriting an existing glyph. However, calling this function only begins the "spellcast" that applies the glyph, so canceling glyph application is still possible. -function PlaceGlyphInSocket(socket) end \ No newline at end of file +function PlaceGlyphInSocket(socket) end diff --git a/api/PlaceRaidMarker.lua b/api/PlaceRaidMarker.lua index b800b61..2872803 100644 --- a/api/PlaceRaidMarker.lua +++ b/api/PlaceRaidMarker.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PlaceRaidMarker() end \ No newline at end of file +function PlaceRaidMarker() end diff --git a/api/PlayAutoAcceptQuestSound.lua b/api/PlayAutoAcceptQuestSound.lua index cd00a7b..efbbd7e 100644 --- a/api/PlayAutoAcceptQuestSound.lua +++ b/api/PlayAutoAcceptQuestSound.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PlayAutoAcceptQuestSound() end \ No newline at end of file +function PlayAutoAcceptQuestSound() end diff --git a/api/PlayMusic.lua b/api/PlayMusic.lua index 47fab87..537ec83 100644 --- a/api/PlayMusic.lua +++ b/api/PlayMusic.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param musicfile string +---@param musicfile string ---Plays an audio file as background music. Any other background music that is currently playing will be faded out as the new music begins; if the Sound_ZoneMusicNoDelay is set, music will loop continuously until StopMusic() is called. WoW supports WAV, MP3 and Ogg audio formats. -function PlayMusic(musicfile) end \ No newline at end of file +function PlayMusic(musicfile) end diff --git a/api/PlaySound.lua b/api/PlaySound.lua index 016a669..9bcb6e3 100644 --- a/api/PlaySound.lua +++ b/api/PlaySound.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sound string ----@param soundChannel string +---@param sound string +---@param soundChannel string ---Plays one of WoW's built-in sound effects. Only supports sounds found in the Sound\Interface directory within WoW's MPQ files; to play other built-in sounds or sounds in an addon directory, use PlaySoundFile(). -function PlaySound(sound, soundChannel) end \ No newline at end of file +function PlaySound(sound, soundChannel) end diff --git a/api/PlaySoundFile.lua b/api/PlaySoundFile.lua index 26fff84..d480463 100644 --- a/api/PlaySoundFile.lua +++ b/api/PlaySoundFile.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param soundFile string ----@param soundChannel string +---@param soundFile string +---@param soundChannel string ---Plays an audio file at a given path. For a shorter way to specify one of WoW's built-in UI sound effects, see PlaySound(). WoW supports custom sound files using Ogg or MP3 audio format. MP3 support was dropped in patch 6.0.2, but added again in patch 6.0.3 -function PlaySoundFile(soundFile, soundChannel) end \ No newline at end of file +function PlaySoundFile(soundFile, soundChannel) end diff --git a/api/PlaySoundKitID.lua b/api/PlaySoundKitID.lua index 534dfb3..32fba01 100644 --- a/api/PlaySoundKitID.lua +++ b/api/PlaySoundKitID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PlaySoundKitID() end \ No newline at end of file +function PlaySoundKitID() end diff --git a/api/PlayerCanTeleport.lua b/api/PlayerCanTeleport.lua index 7e3c569..5c17920 100644 --- a/api/PlayerCanTeleport.lua +++ b/api/PlayerCanTeleport.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean amount +---@return boolean amount ---Returns whether the player can accept a summons -function PlayerCanTeleport() end \ No newline at end of file +function PlayerCanTeleport() end diff --git a/api/PlayerHasHearthstone.lua b/api/PlayerHasHearthstone.lua index 91fd646..32ec2aa 100644 --- a/api/PlayerHasHearthstone.lua +++ b/api/PlayerHasHearthstone.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean hasHearthstone +---@return boolean hasHearthstone ---Returns whether the player has a hearthstone in their bag -function PlayerHasHearthstone() end \ No newline at end of file +function PlayerHasHearthstone() end diff --git a/api/PlayerHasToy.lua b/api/PlayerHasToy.lua index 3c1cc04..19b1ce9 100644 --- a/api/PlayerHasToy.lua +++ b/api/PlayerHasToy.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PlayerHasToy() end \ No newline at end of file +function PlayerHasToy() end diff --git a/api/PlayerIsPVPInactive.lua b/api/PlayerIsPVPInactive.lua index 9bd64ff..d66c647 100644 --- a/api/PlayerIsPVPInactive.lua +++ b/api/PlayerIsPVPInactive.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param unit string ----@return boolean isInactive +---@param name string +---@param unit string +---@return boolean isInactive ---Returns whether a battleground participant is inactive (and eligible for reporting as AFK) -function PlayerIsPVPInactive(name, unit) end \ No newline at end of file +function PlayerIsPVPInactive(name, unit) end diff --git a/api/PortGraveyard.lua b/api/PortGraveyard.lua index 7fcb742..073ecb9 100644 --- a/api/PortGraveyard.lua +++ b/api/PortGraveyard.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PortGraveyard() end \ No newline at end of file +function PortGraveyard() end diff --git a/api/PreloadMovie.lua b/api/PreloadMovie.lua index 52154dc..ddd9364 100644 --- a/api/PreloadMovie.lua +++ b/api/PreloadMovie.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function PreloadMovie() end \ No newline at end of file +function PreloadMovie() end diff --git a/api/PrevView.lua b/api/PrevView.lua index 012389c..c50cf57 100644 --- a/api/PrevView.lua +++ b/api/PrevView.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Moves the camera to the previous predefined setting. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). -function PrevView() end \ No newline at end of file +function PrevView() end diff --git a/api/ProcessMapClick.lua b/api/ProcessMapClick.lua index fa2d71b..8d2b56c 100644 --- a/api/ProcessMapClick.lua +++ b/api/ProcessMapClick.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param clickX number ----@param clickY number +---@param clickX number +---@param clickY number ---Possibly changes the WorldMap based on a mouse click. May change the map zone or zoom based on the click location: e.g. if the world map shows Dragonblight and one clicks in the area labeled "Wintergrasp" on the map, the current map zone changes to show Wintergrasp. -function ProcessMapClick(clickX, clickY) end \ No newline at end of file +function ProcessMapClick(clickX, clickY) end diff --git a/api/ProcessQuestLogRewardFactions.lua b/api/ProcessQuestLogRewardFactions.lua index 1b5af24..fde4afc 100644 --- a/api/ProcessQuestLogRewardFactions.lua +++ b/api/ProcessQuestLogRewardFactions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ProcessQuestLogRewardFactions() end \ No newline at end of file +function ProcessQuestLogRewardFactions() end diff --git a/api/PromoteToAssistant.lua b/api/PromoteToAssistant.lua index 577a0b9..e477ad0 100644 --- a/api/PromoteToAssistant.lua +++ b/api/PromoteToAssistant.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---Promotes a raid member to raid assistant ---@overload fun(name: string, exactMatch: boolean) ---@overload fun(unit: string) -function PromoteToAssistant(unit, name, exactMatch) end \ No newline at end of file +function PromoteToAssistant(unit, name, exactMatch) end diff --git a/api/PromoteToLeader.lua b/api/PromoteToLeader.lua index 937bdf4..6ae0aa9 100644 --- a/api/PromoteToLeader.lua +++ b/api/PromoteToLeader.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@param exactMatch boolean +---@param unit string +---@param name string +---@param exactMatch boolean ---Promotes a player to party/raid leader -function PromoteToLeader(unit, name, exactMatch) end \ No newline at end of file +function PromoteToLeader(unit, name, exactMatch) end diff --git a/api/PurchaseSlot.lua b/api/PurchaseSlot.lua index 34e7b10..7209b15 100644 --- a/api/PurchaseSlot.lua +++ b/api/PurchaseSlot.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Purchases the next available bank slot. Only available while interacting with a banker NPC (i.e. between the BANKFRAME_OPENED and BANKFRAME_CLOSED events). -function PurchaseSlot() end \ No newline at end of file +function PurchaseSlot() end diff --git a/api/PutItemInBackpack.lua b/api/PutItemInBackpack.lua index 08829e8..29b494c 100644 --- a/api/PutItemInBackpack.lua +++ b/api/PutItemInBackpack.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hadItem +---@return 1nil hadItem ---Puts the item on the cursor into the player's backpack. The item will be placed in the lowest numbered slot (containerSlotID) in the player's backpack. Causes an error message (UI_ERROR_MESSAGE) if the backpack is full. -function PutItemInBackpack() end \ No newline at end of file +function PutItemInBackpack() end diff --git a/api/PutItemInBag.lua b/api/PutItemInBag.lua index 0219b93..1941987 100644 --- a/api/PutItemInBag.lua +++ b/api/PutItemInBag.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param inventory number ----@return 1nil hadItem +---@param inventory number +---@return 1nil hadItem ---Puts the item on the cursor into one of the player's bags or other containers. The item will be placed in the lowest numbered slot (containerSlotID) in the container. Causes an error message (UI_ERROR_MESSAGE) if the container is full. Cannot be used to place an item into the player's backpack; see PutItemInBackpack(). -function PutItemInBag(inventory) end \ No newline at end of file +function PutItemInBag(inventory) end diff --git a/api/QueryAuctionItems.lua b/api/QueryAuctionItems.lua index 679d64c..bbc240e 100644 --- a/api/QueryAuctionItems.lua +++ b/api/QueryAuctionItems.lua @@ -1,14 +1,26 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param minLevel number ----@param maxLevel number ----@param invTypeIndex number ----@param classIndex number ----@param subClassIndex number ----@param page number ----@param isUsable boolean ----@param minQuality itemQuality ----@param getAll boolean +---@param name string +---@param minLevel number +---@param maxLevel number +---@param invTypeIndex number +---@param classIndex number +---@param subClassIndex number +---@param page number +---@param isUsable boolean +---@param minQuality itemQuality +---@param getAll boolean ---Requests data from the server for the list of auctions meeting given search criteria. If any search criterion is omitted or nil, the search will include all possible values for that criterion. Search queries are throttled, preventing abuse of the server by clients sending too many queries in short succession. Normal queries can be sent once every few seconds; mass queries return all results in the auction house instead of one "page" at a time, and can only be sent once every several minutes. Query results are not returned immediately: the AUCTION_ITEM_LIST_UPDATE event fires once data is available; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs. -function QueryAuctionItems(name, minLevel, maxLevel, invTypeIndex, classIndex, subClassIndex, page, isUsable, minQuality, getAll) end \ No newline at end of file +function QueryAuctionItems( + name, + minLevel, + maxLevel, + invTypeIndex, + classIndex, + subClassIndex, + page, + isUsable, + minQuality, + getAll +) +end diff --git a/api/QueryGuildBankLog.lua b/api/QueryGuildBankLog.lua index adb8caf..e6c7b55 100644 --- a/api/QueryGuildBankLog.lua +++ b/api/QueryGuildBankLog.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number +---@param tab number ---Requests the item transaction log for a guild bank tab from the server. Fires the GUILDBANKLOG_UPDATE event when transaction log information becomes available. -function QueryGuildBankLog(tab) end \ No newline at end of file +function QueryGuildBankLog(tab) end diff --git a/api/QueryGuildBankTab.lua b/api/QueryGuildBankTab.lua index 1154d7c..02364b8 100644 --- a/api/QueryGuildBankTab.lua +++ b/api/QueryGuildBankTab.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number +---@param tab number ---Requests information about the contents of a guild bank tab from the server. Fires the GUILDBANKBAGSLOTS_CHANGED event when information about the tab's contents becomes available. -function QueryGuildBankTab(tab) end \ No newline at end of file +function QueryGuildBankTab(tab) end diff --git a/api/QueryGuildBankText.lua b/api/QueryGuildBankText.lua index adf7838..bde50b8 100644 --- a/api/QueryGuildBankText.lua +++ b/api/QueryGuildBankText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number +---@param tab number ---Requests guild bank tab info text from the server. The text is not returned immediately; the GUILDBANK_UPDATE_TEXT event fires when text is available for retrieval by the GetGuildBankText() function. -function QueryGuildBankText(tab) end \ No newline at end of file +function QueryGuildBankText(tab) end diff --git a/api/QueryGuildEventLog.lua b/api/QueryGuildEventLog.lua index c0c9001..4f10767 100644 --- a/api/QueryGuildEventLog.lua +++ b/api/QueryGuildEventLog.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests guild event log information from the server. Fires the GUILD_EVENT_LOG_UPDATE event when event log information becomes available. -function QueryGuildEventLog() end \ No newline at end of file +function QueryGuildEventLog() end diff --git a/api/QueryGuildMembersForRecipe.lua b/api/QueryGuildMembersForRecipe.lua index e7f0f68..58c449e 100644 --- a/api/QueryGuildMembersForRecipe.lua +++ b/api/QueryGuildMembersForRecipe.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QueryGuildMembersForRecipe() end \ No newline at end of file +function QueryGuildMembersForRecipe() end diff --git a/api/QueryGuildNews.lua b/api/QueryGuildNews.lua index 9cbc99a..41a447d 100644 --- a/api/QueryGuildNews.lua +++ b/api/QueryGuildNews.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QueryGuildNews() end \ No newline at end of file +function QueryGuildNews() end diff --git a/api/QueryGuildRecipes.lua b/api/QueryGuildRecipes.lua index 8e9b745..090d580 100644 --- a/api/QueryGuildRecipes.lua +++ b/api/QueryGuildRecipes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QueryGuildRecipes() end \ No newline at end of file +function QueryGuildRecipes() end diff --git a/api/QueryWorldCountdownTimer.lua b/api/QueryWorldCountdownTimer.lua index abce1e8..1f34833 100644 --- a/api/QueryWorldCountdownTimer.lua +++ b/api/QueryWorldCountdownTimer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QueryWorldCountdownTimer() end \ No newline at end of file +function QueryWorldCountdownTimer() end diff --git a/api/QuestChooseRewardError.lua b/api/QuestChooseRewardError.lua index 3a453a0..f4ab1e0 100644 --- a/api/QuestChooseRewardError.lua +++ b/api/QuestChooseRewardError.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes the default UI to display an error message indicating that the player must choose a reward to complete the quest presented by a questgiver. Fires a UI_ERROR_MESSAGE event containing a localized message identified by the global variable ERR_QUEST_MUST_CHOOSE. Choose wisely. -function QuestChooseRewardError() end \ No newline at end of file +function QuestChooseRewardError() end diff --git a/api/QuestFlagsPVP.lua b/api/QuestFlagsPVP.lua index fa230e8..a3dd08c 100644 --- a/api/QuestFlagsPVP.lua +++ b/api/QuestFlagsPVP.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil questFlag +---@return 1nil questFlag ---Returns whether accepting the offered quest will flag the player for PvP. Only valid when the questgiver UI is showing the accept/decline stage of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. -function QuestFlagsPVP() end \ No newline at end of file +function QuestFlagsPVP() end diff --git a/api/QuestGetAutoAccept.lua b/api/QuestGetAutoAccept.lua index 106dd3e..267641f 100644 --- a/api/QuestGetAutoAccept.lua +++ b/api/QuestGetAutoAccept.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestGetAutoAccept() end \ No newline at end of file +function QuestGetAutoAccept() end diff --git a/api/QuestGetAutoLaunched.lua b/api/QuestGetAutoLaunched.lua index 43ee2cd..02caddc 100644 --- a/api/QuestGetAutoLaunched.lua +++ b/api/QuestGetAutoLaunched.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestGetAutoLaunched() end \ No newline at end of file +function QuestGetAutoLaunched() end diff --git a/api/QuestHasPOIInfo.lua b/api/QuestHasPOIInfo.lua index a9b3dff..6cc3c75 100644 --- a/api/QuestHasPOIInfo.lua +++ b/api/QuestHasPOIInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestHasPOIInfo() end \ No newline at end of file +function QuestHasPOIInfo() end diff --git a/api/QuestIsDaily.lua b/api/QuestIsDaily.lua index b4f738c..30aeaee 100644 --- a/api/QuestIsDaily.lua +++ b/api/QuestIsDaily.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestIsDaily() end \ No newline at end of file +function QuestIsDaily() end diff --git a/api/QuestIsFromAreaTrigger.lua b/api/QuestIsFromAreaTrigger.lua index 07d7b8d..8176faa 100644 --- a/api/QuestIsFromAreaTrigger.lua +++ b/api/QuestIsFromAreaTrigger.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestIsFromAreaTrigger() end \ No newline at end of file +function QuestIsFromAreaTrigger() end diff --git a/api/QuestIsWeekly.lua b/api/QuestIsWeekly.lua index 465f12f..f6753aa 100644 --- a/api/QuestIsWeekly.lua +++ b/api/QuestIsWeekly.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestIsWeekly() end \ No newline at end of file +function QuestIsWeekly() end diff --git a/api/QuestLogPushQuest.lua b/api/QuestLogPushQuest.lua index 28d2340..a61e75c 100644 --- a/api/QuestLogPushQuest.lua +++ b/api/QuestLogPushQuest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Shares a quest with other group members -function QuestLogPushQuest(questIndex) end \ No newline at end of file +function QuestLogPushQuest(questIndex) end diff --git a/api/QuestLogShouldShowPortrait.lua b/api/QuestLogShouldShowPortrait.lua index dda8888..dfafe93 100644 --- a/api/QuestLogShouldShowPortrait.lua +++ b/api/QuestLogShouldShowPortrait.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestLogShouldShowPortrait() end \ No newline at end of file +function QuestLogShouldShowPortrait() end diff --git a/api/QuestMapUpdateAllQuests.lua b/api/QuestMapUpdateAllQuests.lua index 4942d53..153fa46 100644 --- a/api/QuestMapUpdateAllQuests.lua +++ b/api/QuestMapUpdateAllQuests.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestMapUpdateAllQuests() end \ No newline at end of file +function QuestMapUpdateAllQuests() end diff --git a/api/QuestPOIGetIconInfo.lua b/api/QuestPOIGetIconInfo.lua index 9f62204..42ac79b 100644 --- a/api/QuestPOIGetIconInfo.lua +++ b/api/QuestPOIGetIconInfo.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questID number ----@return unknown _ ----@return number posX ----@return number posY ----@return number objective +---@param questID number +---@return unknown _ +---@return number posX +---@return number posY +---@return number objective ---Returns information about a QuestPOI icon. Only works if the quest is displayed on the world map. Only returns the nearest of these points if there are more than one. -function QuestPOIGetIconInfo(questID) end \ No newline at end of file +function QuestPOIGetIconInfo(questID) end diff --git a/api/QuestPOIGetQuestIDByIndex.lua b/api/QuestPOIGetQuestIDByIndex.lua index 5e33b8d..922f3b2 100644 --- a/api/QuestPOIGetQuestIDByIndex.lua +++ b/api/QuestPOIGetQuestIDByIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestPOIGetQuestIDByIndex() end \ No newline at end of file +function QuestPOIGetQuestIDByIndex() end diff --git a/api/QuestPOIGetQuestIDByVisibleIndex.lua b/api/QuestPOIGetQuestIDByVisibleIndex.lua index 65ee0cb..5785122 100644 --- a/api/QuestPOIGetQuestIDByVisibleIndex.lua +++ b/api/QuestPOIGetQuestIDByVisibleIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestPOIGetQuestIDByVisibleIndex() end \ No newline at end of file +function QuestPOIGetQuestIDByVisibleIndex() end diff --git a/api/QuestPOIGetSecondaryLocations.lua b/api/QuestPOIGetSecondaryLocations.lua index cd3f8b1..2ccc2a9 100644 --- a/api/QuestPOIGetSecondaryLocations.lua +++ b/api/QuestPOIGetSecondaryLocations.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestPOIGetSecondaryLocations() end \ No newline at end of file +function QuestPOIGetSecondaryLocations() end diff --git a/api/QuestPOIUpdateIcons.lua b/api/QuestPOIUpdateIcons.lua index 43c7c70..b955790 100644 --- a/api/QuestPOIUpdateIcons.lua +++ b/api/QuestPOIUpdateIcons.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function QuestPOIUpdateIcons() end \ No newline at end of file +function QuestPOIUpdateIcons() end diff --git a/api/Quit.lua b/api/Quit.lua index 62c44bd..b4d0796 100644 --- a/api/Quit.lua +++ b/api/Quit.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Attempts to exit the World of Warcraft client. Results vary based on current conditions: If the player is in combat or under other temporary restrictions (e.g. falling), fires the UI_ERROR_MESSAGE event with a message indicating the player cannot log out at the moment. If the player is not in an inn, major city, or other "rest" area (i.e. IsResting() returns nil), fires the PLAYER_QUITING event, causing the default UI to show a countdown, quitting WoW after a period of time if not canceled. If the player is in a "rest" area, quits the game immediately. -function Quit() end \ No newline at end of file +function Quit() end diff --git a/api/RaidProfileExists.lua b/api/RaidProfileExists.lua index d1ad633..0951378 100644 --- a/api/RaidProfileExists.lua +++ b/api/RaidProfileExists.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RaidProfileExists() end \ No newline at end of file +function RaidProfileExists() end diff --git a/api/RaidProfileHasUnsavedChanges.lua b/api/RaidProfileHasUnsavedChanges.lua index 642a049..40ffc39 100644 --- a/api/RaidProfileHasUnsavedChanges.lua +++ b/api/RaidProfileHasUnsavedChanges.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RaidProfileHasUnsavedChanges() end \ No newline at end of file +function RaidProfileHasUnsavedChanges() end diff --git a/api/RandomRoll.lua b/api/RandomRoll.lua index 471736f..acb43d6 100644 --- a/api/RandomRoll.lua +++ b/api/RandomRoll.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param min number,string ----@param max number,string +---@param min number,string +---@param max number,string ---Initiates a public, server-side "dice roll". Used in the default UI to implement the /roll chat command; when called, the server generates a random integer and sends it to the player and all others nearby (or in the same party/raid) via a CHAT_MSG_SYSTEM event. (The server message is formatted according to the global RANDOM_ROLL_RESULT; e.g. "Leeroy rolls 3 (1-100)".) For random number generation that does not involve the server or send visible messages to other clients, see math.random. -function RandomRoll(min, max) end \ No newline at end of file +function RandomRoll(min, max) end diff --git a/api/ReagentBankButtonIDToInvSlotID.lua b/api/ReagentBankButtonIDToInvSlotID.lua index ebc0d8a..e096d3b 100644 --- a/api/ReagentBankButtonIDToInvSlotID.lua +++ b/api/ReagentBankButtonIDToInvSlotID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ReagentBankButtonIDToInvSlotID() end \ No newline at end of file +function ReagentBankButtonIDToInvSlotID() end diff --git a/api/RefreshLFGList.lua b/api/RefreshLFGList.lua index 7db15d8..8d13b80 100644 --- a/api/RefreshLFGList.lua +++ b/api/RefreshLFGList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RefreshLFGList() end \ No newline at end of file +function RefreshLFGList() end diff --git a/api/RefreshWorldMap.lua b/api/RefreshWorldMap.lua index f29b8b8..848b403 100644 --- a/api/RefreshWorldMap.lua +++ b/api/RefreshWorldMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RefreshWorldMap() end \ No newline at end of file +function RefreshWorldMap() end diff --git a/api/RegisterAddonMessagePrefix.lua b/api/RegisterAddonMessagePrefix.lua index 167c27f..2e1e2c7 100644 --- a/api/RegisterAddonMessagePrefix.lua +++ b/api/RegisterAddonMessagePrefix.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param prefix string ----@return boolean success +---@param prefix string +---@return boolean success ---Registers to receive addon messages with a given prefix. In order for an addon to receive messages sent using SendAddOnMessage they must first register to receive messages with a given prefix. There is a soft cap of 64 prefixes on the server side, and a hard cap of 512 prefixes on the client side. Exceeding the soft cap is not recommended, but addon messages can still be received. -function RegisterAddonMessagePrefix(prefix) end \ No newline at end of file +function RegisterAddonMessagePrefix(prefix) end diff --git a/api/RegisterCVar.lua b/api/RegisterCVar.lua index 8616d0d..d7b3080 100644 --- a/api/RegisterCVar.lua +++ b/api/RegisterCVar.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cvar string ----@param default string +---@param cvar string +---@param default string ---Registers a configuration variable to be saved -function RegisterCVar(cvar, default) end \ No newline at end of file +function RegisterCVar(cvar, default) end diff --git a/api/RejectProposal.lua b/api/RejectProposal.lua index 43d275b..a4ba33d 100644 --- a/api/RejectProposal.lua +++ b/api/RejectProposal.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Rejects a LFG dungeon invite. -function RejectProposal() end \ No newline at end of file +function RejectProposal() end diff --git a/api/ReloadUI.lua b/api/ReloadUI.lua index 2af9e9a..2400ffe 100644 --- a/api/ReloadUI.lua +++ b/api/ReloadUI.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Reloads the user interface. Saved variables are written to disk, the default UI is reloaded, and all enabled non-LoadOnDemand addons are loaded, including any addons previously disabled which were enabled during the session (see EnableAddOn() et al). -function ReloadUI() end \ No newline at end of file +function ReloadUI() end diff --git a/api/RemoveAutoQuestPopUp.lua b/api/RemoveAutoQuestPopUp.lua index 7b1aba2..df4ed57 100644 --- a/api/RemoveAutoQuestPopUp.lua +++ b/api/RemoveAutoQuestPopUp.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questId number +---@param questId number ---Remove AutoQuestPopup -function RemoveAutoQuestPopUp(questId) end \ No newline at end of file +function RemoveAutoQuestPopUp(questId) end diff --git a/api/RemoveChatWindowChannel.lua b/api/RemoveChatWindowChannel.lua index 3dc1139..90aa9f7 100644 --- a/api/RemoveChatWindowChannel.lua +++ b/api/RemoveChatWindowChannel.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param channel string +---@param index number +---@param channel string ---Removes a channel from a chat window's list of saved channel subscriptions. Used by the default UI's function ChatFrame_RemoveChannel() which manages the set of channel messages shown in a displayed ChatFrame. -function RemoveChatWindowChannel(index, channel) end \ No newline at end of file +function RemoveChatWindowChannel(index, channel) end diff --git a/api/RemoveChatWindowMessages.lua b/api/RemoveChatWindowMessages.lua index 87a7771..9e5dff5 100644 --- a/api/RemoveChatWindowMessages.lua +++ b/api/RemoveChatWindowMessages.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param messageGroup string +---@param index number +---@param messageGroup string ---Removes a message type from a chat window's list of saved message subscriptions. Used by the default UI's functions ChatFrame_RemoveMessageGroup() and ChatFrame_RemoveAllMessageGroups() which manage the set of message types shown in a displayed ChatFrame. -function RemoveChatWindowMessages(index, messageGroup) end \ No newline at end of file +function RemoveChatWindowMessages(index, messageGroup) end diff --git a/api/RemoveFriend.lua b/api/RemoveFriend.lua index ddc0197..cb183e7 100644 --- a/api/RemoveFriend.lua +++ b/api/RemoveFriend.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Removes a character from the friends list -function RemoveFriend(name) end \ No newline at end of file +function RemoveFriend(name) end diff --git a/api/RemoveGlyphFromSocket.lua b/api/RemoveGlyphFromSocket.lua index d3cfe9c..c7d1486 100644 --- a/api/RemoveGlyphFromSocket.lua +++ b/api/RemoveGlyphFromSocket.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param socket number +---@param socket number ---Removes the glyph from a socket -function RemoveGlyphFromSocket(socket) end \ No newline at end of file +function RemoveGlyphFromSocket(socket) end diff --git a/api/RemoveItemFromArtifact.lua b/api/RemoveItemFromArtifact.lua index f60fe11..e0cd8b6 100644 --- a/api/RemoveItemFromArtifact.lua +++ b/api/RemoveItemFromArtifact.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RemoveItemFromArtifact() end \ No newline at end of file +function RemoveItemFromArtifact() end diff --git a/api/RemoveQuestWatch.lua b/api/RemoveQuestWatch.lua index 94f73e1..d4da9ca 100644 --- a/api/RemoveQuestWatch.lua +++ b/api/RemoveQuestWatch.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Removes a quest from the objectives tracker -function RemoveQuestWatch(questIndex) end \ No newline at end of file +function RemoveQuestWatch(questIndex) end diff --git a/api/RemoveTalent.lua b/api/RemoveTalent.lua index 6c45f52..fb5df2b 100644 --- a/api/RemoveTalent.lua +++ b/api/RemoveTalent.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RemoveTalent() end \ No newline at end of file +function RemoveTalent() end diff --git a/api/RemoveTrackedAchievement.lua b/api/RemoveTrackedAchievement.lua index 878c013..d8db9ce 100644 --- a/api/RemoveTrackedAchievement.lua +++ b/api/RemoveTrackedAchievement.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Removes an achievement from the objectives tracker UI -function RemoveTrackedAchievement(id) end \ No newline at end of file +function RemoveTrackedAchievement(id) end diff --git a/api/RenamePetition.lua b/api/RenamePetition.lua index 4f5fba9..5cc4b55 100644 --- a/api/RenamePetition.lua +++ b/api/RenamePetition.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Renames the guild or arena team to be created by the open petition -function RenamePetition(name) end \ No newline at end of file +function RenamePetition(name) end diff --git a/api/RepairAllItems.lua b/api/RepairAllItems.lua index af50d53..db263a0 100644 --- a/api/RepairAllItems.lua +++ b/api/RepairAllItems.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param useGuildMoney 1nil +---@param useGuildMoney 1nil ---Attempts to repair all of the player's damaged items -function RepairAllItems(useGuildMoney) end \ No newline at end of file +function RepairAllItems(useGuildMoney) end diff --git a/api/ReplaceEnchant.lua b/api/ReplaceEnchant.lua index b640229..6311783 100644 --- a/api/ReplaceEnchant.lua +++ b/api/ReplaceEnchant.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Confirms replacing an existing enchantment. Usable in response to the REPLACE_ENCHANT event which fires when the player attempts to apply a temporary or permanent enchantment to an item which already has one. -function ReplaceEnchant() end \ No newline at end of file +function ReplaceEnchant() end diff --git a/api/ReplaceGuildMaster.lua b/api/ReplaceGuildMaster.lua index 9a70c50..646a2f8 100644 --- a/api/ReplaceGuildMaster.lua +++ b/api/ReplaceGuildMaster.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ReplaceGuildMaster() end \ No newline at end of file +function ReplaceGuildMaster() end diff --git a/api/ReplaceTradeEnchant.lua b/api/ReplaceTradeEnchant.lua index cea37d0..ac01242 100644 --- a/api/ReplaceTradeEnchant.lua +++ b/api/ReplaceTradeEnchant.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Confirms replacement of an existing enchantment when offering an enchantment for trade. After confirming, the enchantment is not actually performed until both parties accept the trade. -function ReplaceTradeEnchant() end \ No newline at end of file +function ReplaceTradeEnchant() end diff --git a/api/RepopMe.lua b/api/RepopMe.lua index 9fdb40c..26c6270 100644 --- a/api/RepopMe.lua +++ b/api/RepopMe.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Releases the player's spirit to the nearest graveyard. Only has effect if the player is dead. -function RepopMe() end \ No newline at end of file +function RepopMe() end diff --git a/api/ReportBug.lua b/api/ReportBug.lua index 763825a..d25ddaa 100644 --- a/api/ReportBug.lua +++ b/api/ReportBug.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ReportBug() end \ No newline at end of file +function ReportBug() end diff --git a/api/ReportPlayer.lua b/api/ReportPlayer.lua index 3b85c03..ab7615a 100644 --- a/api/ReportPlayer.lua +++ b/api/ReportPlayer.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param reportType string ----@param lineID number ----@param pending string ----@param comment +---@param reportType string +---@param lineID number +---@param pending string +---@param comment ---Report a player to a GM. -function ReportPlayer(reportType, lineID, pending, comment) end \ No newline at end of file +function ReportPlayer(reportType, lineID, pending, comment) end diff --git a/api/ReportPlayerIsPVPAFK.lua b/api/ReportPlayerIsPVPAFK.lua index d0005e3..4bdf699 100644 --- a/api/ReportPlayerIsPVPAFK.lua +++ b/api/ReportPlayerIsPVPAFK.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param unit string +---@param name string +---@param unit string ---Reports a battleground participant as AFK -function ReportPlayerIsPVPAFK(name, unit) end \ No newline at end of file +function ReportPlayerIsPVPAFK(name, unit) end diff --git a/api/ReportSuggestion.lua b/api/ReportSuggestion.lua index bfb5e15..ab2a9e4 100644 --- a/api/ReportSuggestion.lua +++ b/api/ReportSuggestion.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ReportSuggestion() end \ No newline at end of file +function ReportSuggestion() end diff --git a/api/RequestArtifactCompletionHistory.lua b/api/RequestArtifactCompletionHistory.lua index 9e7d10f..0fff1ae 100644 --- a/api/RequestArtifactCompletionHistory.lua +++ b/api/RequestArtifactCompletionHistory.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Queries the server for the player's artifact completion history. This function will return immediately, and the ARTIFACT_HISTORY_READY will fire when the information is available from the server. -function RequestArtifactCompletionHistory() end \ No newline at end of file +function RequestArtifactCompletionHistory() end diff --git a/api/RequestBattlefieldScoreData.lua b/api/RequestBattlefieldScoreData.lua index cbcdf8d..d70805e 100644 --- a/api/RequestBattlefieldScoreData.lua +++ b/api/RequestBattlefieldScoreData.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests battlefield score data from the server. Score data is not returned immediately; the UPDATE_BATTLEFIELD_SCORE event fires once information is available and can be retrieved by calling GetBattlefieldScore() and related functions. -function RequestBattlefieldScoreData() end \ No newline at end of file +function RequestBattlefieldScoreData() end diff --git a/api/RequestBattlegroundInstanceInfo.lua b/api/RequestBattlegroundInstanceInfo.lua index 9ea1ca9..7367701 100644 --- a/api/RequestBattlegroundInstanceInfo.lua +++ b/api/RequestBattlegroundInstanceInfo.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Requests information about available instances of a battleground from the server. The PVPQUEUE_ANYWHERE_SHOW event fires once information is available; data can then be retrieved by calling GetNumBattlefields() and GetBattlefieldInstanceInfo(). -function RequestBattlegroundInstanceInfo(index) end \ No newline at end of file +function RequestBattlegroundInstanceInfo(index) end diff --git a/api/RequestChallengeModeLeaders.lua b/api/RequestChallengeModeLeaders.lua index 28192f8..de1d8b7 100644 --- a/api/RequestChallengeModeLeaders.lua +++ b/api/RequestChallengeModeLeaders.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestChallengeModeLeaders() end \ No newline at end of file +function RequestChallengeModeLeaders() end diff --git a/api/RequestChallengeModeMapInfo.lua b/api/RequestChallengeModeMapInfo.lua index e2210bf..972f450 100644 --- a/api/RequestChallengeModeMapInfo.lua +++ b/api/RequestChallengeModeMapInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestChallengeModeMapInfo() end \ No newline at end of file +function RequestChallengeModeMapInfo() end diff --git a/api/RequestChallengeModeRewards.lua b/api/RequestChallengeModeRewards.lua index d45c38a..7565c1d 100644 --- a/api/RequestChallengeModeRewards.lua +++ b/api/RequestChallengeModeRewards.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestChallengeModeRewards() end \ No newline at end of file +function RequestChallengeModeRewards() end diff --git a/api/RequestGuildApplicantsList.lua b/api/RequestGuildApplicantsList.lua index 74af51b..3d63231 100644 --- a/api/RequestGuildApplicantsList.lua +++ b/api/RequestGuildApplicantsList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildApplicantsList() end \ No newline at end of file +function RequestGuildApplicantsList() end diff --git a/api/RequestGuildChallengeInfo.lua b/api/RequestGuildChallengeInfo.lua index 521cd0e..dce31b8 100644 --- a/api/RequestGuildChallengeInfo.lua +++ b/api/RequestGuildChallengeInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildChallengeInfo() end \ No newline at end of file +function RequestGuildChallengeInfo() end diff --git a/api/RequestGuildMembership.lua b/api/RequestGuildMembership.lua index abc861b..b75373e 100644 --- a/api/RequestGuildMembership.lua +++ b/api/RequestGuildMembership.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildMembership() end \ No newline at end of file +function RequestGuildMembership() end diff --git a/api/RequestGuildMembershipList.lua b/api/RequestGuildMembershipList.lua index 1f84faa..1080eba 100644 --- a/api/RequestGuildMembershipList.lua +++ b/api/RequestGuildMembershipList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildMembershipList() end \ No newline at end of file +function RequestGuildMembershipList() end diff --git a/api/RequestGuildPartyState.lua b/api/RequestGuildPartyState.lua index 223336a..1411866 100644 --- a/api/RequestGuildPartyState.lua +++ b/api/RequestGuildPartyState.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildPartyState() end \ No newline at end of file +function RequestGuildPartyState() end diff --git a/api/RequestGuildRecruitmentSettings.lua b/api/RequestGuildRecruitmentSettings.lua index 2474a41..a766810 100644 --- a/api/RequestGuildRecruitmentSettings.lua +++ b/api/RequestGuildRecruitmentSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildRecruitmentSettings() end \ No newline at end of file +function RequestGuildRecruitmentSettings() end diff --git a/api/RequestGuildRewards.lua b/api/RequestGuildRewards.lua index cb63ce7..85cc7bd 100644 --- a/api/RequestGuildRewards.lua +++ b/api/RequestGuildRewards.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestGuildRewards() end \ No newline at end of file +function RequestGuildRewards() end diff --git a/api/RequestInspectHonorData.lua b/api/RequestInspectHonorData.lua index f97307a..9e860eb 100644 --- a/api/RequestInspectHonorData.lua +++ b/api/RequestInspectHonorData.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests PvP honor and arena data from the server for the currently inspected unit. Once the INSPECT_HONOR_UPDATE event fires, PvP honor and arena information can be retrieved using GetInspectHonorData(team) and GetInspectArenaTeamData(). -function RequestInspectHonorData() end \ No newline at end of file +function RequestInspectHonorData() end diff --git a/api/RequestLFDPartyLockInfo.lua b/api/RequestLFDPartyLockInfo.lua index 7a7ce66..3cecc49 100644 --- a/api/RequestLFDPartyLockInfo.lua +++ b/api/RequestLFDPartyLockInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestLFDPartyLockInfo() end \ No newline at end of file +function RequestLFDPartyLockInfo() end diff --git a/api/RequestLFDPlayerLockInfo.lua b/api/RequestLFDPlayerLockInfo.lua index dbe8c46..5732e56 100644 --- a/api/RequestLFDPlayerLockInfo.lua +++ b/api/RequestLFDPlayerLockInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests instance lockout and Call to Arms dungeon reward information.. When called the server will update the client on instance lockout and Call to Arms. The API will then return updated values instead of old once. Once LFG_UPDATE_RANDOM_INFO event is received it means that updated Call to Arms data is finally available for the client. -function RequestLFDPlayerLockInfo() end \ No newline at end of file +function RequestLFDPlayerLockInfo() end diff --git a/api/RequestPVPOptionsEnabled.lua b/api/RequestPVPOptionsEnabled.lua index ad2f0ec..b6920ed 100644 --- a/api/RequestPVPOptionsEnabled.lua +++ b/api/RequestPVPOptionsEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestPVPOptionsEnabled() end \ No newline at end of file +function RequestPVPOptionsEnabled() end diff --git a/api/RequestPVPRewards.lua b/api/RequestPVPRewards.lua index 4224671..e070ae9 100644 --- a/api/RequestPVPRewards.lua +++ b/api/RequestPVPRewards.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests informations about Conquest Point cap from the server. The text is not returned immediately; the PVP_REWARDS_UPDATE event fires when text is available for retrieval by the GetPVPRewards() function. -function RequestPVPRewards() end \ No newline at end of file +function RequestPVPRewards() end diff --git a/api/RequestRaidInfo.lua b/api/RequestRaidInfo.lua index 706435d..879212c 100644 --- a/api/RequestRaidInfo.lua +++ b/api/RequestRaidInfo.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests information about saved instances from the server. Data is not returned immediately; the UPDATE_INSTANCE_INFO event when the raid information is available for retrieval via GetSavedInstanceInfo() and related functions. -function RequestRaidInfo() end \ No newline at end of file +function RequestRaidInfo() end diff --git a/api/RequestRandomBattlegroundInstanceInfo.lua b/api/RequestRandomBattlegroundInstanceInfo.lua index 1c2f830..41c22e5 100644 --- a/api/RequestRandomBattlegroundInstanceInfo.lua +++ b/api/RequestRandomBattlegroundInstanceInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestRandomBattlegroundInstanceInfo() end \ No newline at end of file +function RequestRandomBattlegroundInstanceInfo() end diff --git a/api/RequestRatedInfo.lua b/api/RequestRatedInfo.lua index aaa80f2..7a91090 100644 --- a/api/RequestRatedInfo.lua +++ b/api/RequestRatedInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestRatedInfo() end \ No newline at end of file +function RequestRatedInfo() end diff --git a/api/RequestRecruitingGuildsList.lua b/api/RequestRecruitingGuildsList.lua index c8ec51a..029041a 100644 --- a/api/RequestRecruitingGuildsList.lua +++ b/api/RequestRecruitingGuildsList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequestRecruitingGuildsList() end \ No newline at end of file +function RequestRecruitingGuildsList() end diff --git a/api/RequestTimePlayed.lua b/api/RequestTimePlayed.lua index edd0dda..69fa3c4 100644 --- a/api/RequestTimePlayed.lua +++ b/api/RequestTimePlayed.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests information from the server about the player character's total time spent online. Information is not returned immediately; the TIME_PLAYED_MSG event fires when the requested data is available. -function RequestTimePlayed() end \ No newline at end of file +function RequestTimePlayed() end diff --git a/api/RequeueSkirmish.lua b/api/RequeueSkirmish.lua index 33ad4f9..ba5c3b2 100644 --- a/api/RequeueSkirmish.lua +++ b/api/RequeueSkirmish.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RequeueSkirmish() end \ No newline at end of file +function RequeueSkirmish() end diff --git a/api/ResetAddOns.lua b/api/ResetAddOns.lua index 9614f56..7985120 100644 --- a/api/ResetAddOns.lua +++ b/api/ResetAddOns.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ResetAddOns() end \ No newline at end of file +function ResetAddOns() end diff --git a/api/ResetCPUUsage.lua b/api/ResetCPUUsage.lua index 841a704..9fc3a64 100644 --- a/api/ResetCPUUsage.lua +++ b/api/ResetCPUUsage.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Resets CPU usage statistics. Only has effect if the scriptProfile CVar is set to 1. -function ResetCPUUsage() end \ No newline at end of file +function ResetCPUUsage() end diff --git a/api/ResetChallengeMode.lua b/api/ResetChallengeMode.lua index e42f528..ef9b285 100644 --- a/api/ResetChallengeMode.lua +++ b/api/ResetChallengeMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ResetChallengeMode() end \ No newline at end of file +function ResetChallengeMode() end diff --git a/api/ResetChatColors.lua b/api/ResetChatColors.lua index e285f74..eb2d964 100644 --- a/api/ResetChatColors.lua +++ b/api/ResetChatColors.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes all saved color settings for chat message types, resetting them to default values -function ResetChatColors() end \ No newline at end of file +function ResetChatColors() end diff --git a/api/ResetChatWindows.lua b/api/ResetChatWindows.lua index 6c85417..7eed7bd 100644 --- a/api/ResetChatWindows.lua +++ b/api/ResetChatWindows.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes all saved chat window settings, resetting them to default values. Used by the default UI's function FCF_ ResetChatWindows() which resets the appearance and behavior of displayed FloatingChatFrames. -function ResetChatWindows() end \ No newline at end of file +function ResetChatWindows() end diff --git a/api/ResetCursor.lua b/api/ResetCursor.lua index 1b14427..51eb2a1 100644 --- a/api/ResetCursor.lua +++ b/api/ResetCursor.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the cursor to its normal appearance (the glove pointer) and behavior. Has effect after the cursor image/mode has been changed via SetCursor(), ShowContainerSellCursor(), or similar. Has no immediately visible effect if the cursor is holding an item, spell, or other data. -function ResetCursor() end \ No newline at end of file +function ResetCursor() end diff --git a/api/ResetDisabledAddOns.lua b/api/ResetDisabledAddOns.lua index 8ccb61a..759f754 100644 --- a/api/ResetDisabledAddOns.lua +++ b/api/ResetDisabledAddOns.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Reverts changes to the enabled/disabled state of addons. Any addons enabled or disabled in the current session will return to their enabled/disabled state as of the last login or UI reload. -function ResetDisabledAddOns() end \ No newline at end of file +function ResetDisabledAddOns() end diff --git a/api/ResetInstances.lua b/api/ResetInstances.lua index 1476b2d..e49922a 100644 --- a/api/ResetInstances.lua +++ b/api/ResetInstances.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Resets all non-saved instances associated with the player. Only instances to which the player is not saved may be reset (i.e. normal 5-man dungeons, not heroic dungeons or raids), and only by a solo player or group leader. -function ResetInstances() end \ No newline at end of file +function ResetInstances() end diff --git a/api/ResetPerformanceValues.lua b/api/ResetPerformanceValues.lua index 8e83cee..997bf19 100644 --- a/api/ResetPerformanceValues.lua +++ b/api/ResetPerformanceValues.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ResetPerformanceValues() end \ No newline at end of file +function ResetPerformanceValues() end diff --git a/api/ResetSetMerchantFilter.lua b/api/ResetSetMerchantFilter.lua index 6700b44..ec35aa2 100644 --- a/api/ResetSetMerchantFilter.lua +++ b/api/ResetSetMerchantFilter.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Changes the filter applied to the merchant back to its default. The default filter is always "Class - All Specilizations" This is filter index 1 for use in GetMerchantFilter() and SetMerchantFilter() -function ResetSetMerchantFilter() end \ No newline at end of file +function ResetSetMerchantFilter() end diff --git a/api/ResetTutorials.lua b/api/ResetTutorials.lua index ba48926..5c4ca08 100644 --- a/api/ResetTutorials.lua +++ b/api/ResetTutorials.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Enables contextual tutorial display and clears the list of already displayed tutorials. Tutorials that have already been shown to the player will appear again (via TUTORIAL_TRIGGER events) once their conditions are met. The first tutorial will appear again immediately. -function ResetTutorials() end \ No newline at end of file +function ResetTutorials() end diff --git a/api/ResetView.lua b/api/ResetView.lua index eb91a93..8b763a5 100644 --- a/api/ResetView.lua +++ b/api/ResetView.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Resets a saved camera setting to default values. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). -function ResetView(index) end \ No newline at end of file +function ResetView(index) end diff --git a/api/ResistancePercent.lua b/api/ResistancePercent.lua index 44714e0..0f722dd 100644 --- a/api/ResistancePercent.lua +++ b/api/ResistancePercent.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ResistanceValue number ----@param CasterLevel number ----@return number resistancePercent +---@param ResistanceValue number +---@param CasterLevel number +---@return number resistancePercent ---Returns the % value of spell resistance depending on resistance value and player level -function ResistancePercent(ResistanceValue, CasterLevel) end \ No newline at end of file +function ResistancePercent(ResistanceValue, CasterLevel) end diff --git a/api/RespondMailLockSendItem.lua b/api/RespondMailLockSendItem.lua index fb7da30..d74ab9c 100644 --- a/api/RespondMailLockSendItem.lua +++ b/api/RespondMailLockSendItem.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RespondMailLockSendItem() end \ No newline at end of file +function RespondMailLockSendItem() end diff --git a/api/RestartGx.lua b/api/RestartGx.lua index 06b5011..868a70f 100644 --- a/api/RestartGx.lua +++ b/api/RestartGx.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Restart the client's graphic subsystem. Does not reload the UI. -function RestartGx() end \ No newline at end of file +function RestartGx() end diff --git a/api/RestoreRaidProfileFromCopy.lua b/api/RestoreRaidProfileFromCopy.lua index ac1cd56..d26e59a 100644 --- a/api/RestoreRaidProfileFromCopy.lua +++ b/api/RestoreRaidProfileFromCopy.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function RestoreRaidProfileFromCopy() end \ No newline at end of file +function RestoreRaidProfileFromCopy() end diff --git a/api/ResurrectGetOfferer.lua b/api/ResurrectGetOfferer.lua index a8916bc..e2c6bbc 100644 --- a/api/ResurrectGetOfferer.lua +++ b/api/ResurrectGetOfferer.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return string name +---@return string name ---Returns the name of a unit offering to resurrect the player. Returns nil if no resurrection has been offered or if an offer has expired. -function ResurrectGetOfferer() end \ No newline at end of file +function ResurrectGetOfferer() end diff --git a/api/ResurrectHasSickness.lua b/api/ResurrectHasSickness.lua index 295c90a..14a721d 100644 --- a/api/ResurrectHasSickness.lua +++ b/api/ResurrectHasSickness.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasSickness +---@return 1nil hasSickness ---Returns whether accepting an offered resurrection spell will cause the player to suffer Resurrection Sickness. Usable following the RESURRECT_REQUEST event which fires when the player is offered resurrection by another unit. Generally always returns nil, as resurrection by other players does not cause sickness. -function ResurrectHasSickness() end \ No newline at end of file +function ResurrectHasSickness() end diff --git a/api/ResurrectHasTimer.lua b/api/ResurrectHasTimer.lua index eaa4dc0..c227e0e 100644 --- a/api/ResurrectHasTimer.lua +++ b/api/ResurrectHasTimer.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil hasTimer +---@return 1nil hasTimer ---Returns whether the player must wait before resurrecting. Applies to resurrection spells offered by other units, resurrecting by returning to the player's corpse as a ghost, and to resurrecting at a graveyard's spirit healer, if the player has recently died several times in short succession. See GetCorpseRecoveryDelay() for the time remaining until the player can resurrect. -function ResurrectHasTimer() end \ No newline at end of file +function ResurrectHasTimer() end diff --git a/api/RetrieveCorpse.lua b/api/RetrieveCorpse.lua index e75ad04..b302870 100644 --- a/api/RetrieveCorpse.lua +++ b/api/RetrieveCorpse.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Confirms resurrection by returning to the player's corpse -function RetrieveCorpse() end \ No newline at end of file +function RetrieveCorpse() end diff --git a/api/ReturnInboxItem.lua b/api/ReturnInboxItem.lua index 9e09b73..5ee0cd2 100644 --- a/api/ReturnInboxItem.lua +++ b/api/ReturnInboxItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number +---@param mailID number ---Returns a message in the player's inbox to its sender -function ReturnInboxItem(mailID) end \ No newline at end of file +function ReturnInboxItem(mailID) end diff --git a/api/RunBinding.lua b/api/RunBinding.lua index c4b78f8..ae96286 100644 --- a/api/RunBinding.lua +++ b/api/RunBinding.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param COMMAND string +---@param COMMAND string ---Runs the script associated with a key binding action. Note: this function is not protected, but the scripts for many default key binding actions are (and can only be called by the Blizzard UI). -function RunBinding(COMMAND) end \ No newline at end of file +function RunBinding(COMMAND) end diff --git a/api/RunScript.lua b/api/RunScript.lua index 5ec0512..5ed88c0 100644 --- a/api/RunScript.lua +++ b/api/RunScript.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param script string +---@param script string ---Runs a string as a Lua script -function RunScript(script) end \ No newline at end of file +function RunScript(script) end diff --git a/api/SaveAddOns.lua b/api/SaveAddOns.lua index 5bc61fa..f6119b6 100644 --- a/api/SaveAddOns.lua +++ b/api/SaveAddOns.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SaveAddOns() end \ No newline at end of file +function SaveAddOns() end diff --git a/api/SaveEquipmentSet.lua b/api/SaveEquipmentSet.lua index 559ff5f..9cebaf4 100644 --- a/api/SaveEquipmentSet.lua +++ b/api/SaveEquipmentSet.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param icon number +---@param name string +---@param icon number ---Saves or creates an equipment set with the player's currently equipped items. If a set with the same name already exists, that set's contents are overwritten. Set names are case sensitive: if a "Fishing" set already exists, saving a "fishing" set will create a new set instead of overwriting the "Fishing" set. -function SaveEquipmentSet(name, icon) end \ No newline at end of file +function SaveEquipmentSet(name, icon) end diff --git a/api/SaveRaidProfileCopy.lua b/api/SaveRaidProfileCopy.lua index 7340733..77b5a4c 100644 --- a/api/SaveRaidProfileCopy.lua +++ b/api/SaveRaidProfileCopy.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SaveRaidProfileCopy() end \ No newline at end of file +function SaveRaidProfileCopy() end diff --git a/api/SaveView.lua b/api/SaveView.lua index 3f08168..bb4d119 100644 --- a/api/SaveView.lua +++ b/api/SaveView.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Saves the current camera settings. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). -function SaveView(index) end \ No newline at end of file +function SaveView(index) end diff --git a/api/Screenshot.lua b/api/Screenshot.lua index b2a8400..3c9bad4 100644 --- a/api/Screenshot.lua +++ b/api/Screenshot.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Saves an image of the current game display. Screenshot images are saved to the folder Screenshots within the folder where the World of Warcraft client is installed. Taking a screenshot fires the SCREENSHOT_SUCCEEDED event (or the SCREENSHOT_FAILED event in case of an error), which causes the default UI to display a message in the middle of the screen. Additional screenshots taken while this message is displayed will include it -- the default UI's TakeScreenshot() function hides this message so it is not included in screenshots. -function Screenshot() end \ No newline at end of file +function Screenshot() end diff --git a/api/SearchGuildRecipes.lua b/api/SearchGuildRecipes.lua index b23210a..76c09df 100644 --- a/api/SearchGuildRecipes.lua +++ b/api/SearchGuildRecipes.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchGuildRecipes() end \ No newline at end of file +function SearchGuildRecipes() end diff --git a/api/SearchLFGGetEncounterResults.lua b/api/SearchLFGGetEncounterResults.lua index b948db2..21c6e75 100644 --- a/api/SearchLFGGetEncounterResults.lua +++ b/api/SearchLFGGetEncounterResults.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGGetEncounterResults() end \ No newline at end of file +function SearchLFGGetEncounterResults() end diff --git a/api/SearchLFGGetJoinedID.lua b/api/SearchLFGGetJoinedID.lua index ec09ae0..c8a48bf 100644 --- a/api/SearchLFGGetJoinedID.lua +++ b/api/SearchLFGGetJoinedID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGGetJoinedID() end \ No newline at end of file +function SearchLFGGetJoinedID() end diff --git a/api/SearchLFGGetNumResults.lua b/api/SearchLFGGetNumResults.lua index 74de405..1eeea21 100644 --- a/api/SearchLFGGetNumResults.lua +++ b/api/SearchLFGGetNumResults.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGGetNumResults() end \ No newline at end of file +function SearchLFGGetNumResults() end diff --git a/api/SearchLFGGetPartyResults.lua b/api/SearchLFGGetPartyResults.lua index 636a714..c974170 100644 --- a/api/SearchLFGGetPartyResults.lua +++ b/api/SearchLFGGetPartyResults.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGGetPartyResults() end \ No newline at end of file +function SearchLFGGetPartyResults() end diff --git a/api/SearchLFGGetResults.lua b/api/SearchLFGGetResults.lua index bfb4ba8..e6ca151 100644 --- a/api/SearchLFGGetResults.lua +++ b/api/SearchLFGGetResults.lua @@ -1,20 +1,20 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index ----@return name ----@return level ----@return areaName ----@return className ----@return comment ----@return partyMembers ----@return status ----@return class ----@return encountersTotal ----@return encountersComplete ----@return isIneligible ----@return isLeader ----@return isTank ----@return isHealer ----@return isDamage +---@param index +---@return name +---@return level +---@return areaName +---@return className +---@return comment +---@return partyMembers +---@return status +---@return class +---@return encountersTotal +---@return encountersComplete +---@return isIneligible +---@return isLeader +---@return isTank +---@return isHealer +---@return isDamage ---Returns information about the players progress in the raidfinder.. Seems to be deprecated :( Could not find any valued arguments, also the part in FrameXML where I found it seems to be unused. Try GetRFDungeonInfo instead. -function SearchLFGGetResults(index) end \ No newline at end of file +function SearchLFGGetResults(index) end diff --git a/api/SearchLFGJoin.lua b/api/SearchLFGJoin.lua index 6a1408e..9c7e1d4 100644 --- a/api/SearchLFGJoin.lua +++ b/api/SearchLFGJoin.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGJoin() end \ No newline at end of file +function SearchLFGJoin() end diff --git a/api/SearchLFGLeave.lua b/api/SearchLFGLeave.lua index 4ff9af4..9be5de9 100644 --- a/api/SearchLFGLeave.lua +++ b/api/SearchLFGLeave.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGLeave() end \ No newline at end of file +function SearchLFGLeave() end diff --git a/api/SearchLFGSort.lua b/api/SearchLFGSort.lua index 56d8a2f..6f2ec9a 100644 --- a/api/SearchLFGSort.lua +++ b/api/SearchLFGSort.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SearchLFGSort() end \ No newline at end of file +function SearchLFGSort() end diff --git a/api/SecondsToTime.lua b/api/SecondsToTime.lua index d7374c8..9e9ca56 100644 --- a/api/SecondsToTime.lua +++ b/api/SecondsToTime.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param seconds number ----@param noSeconds boolean ----@param notAbbreviated boolean ----@param maxCount number ----@return string time +---@param seconds number +---@param noSeconds boolean +---@param notAbbreviated boolean +---@param maxCount number +---@return string time ---Returns a description of an amount of time in appropriate units. Output includes markup normally hidden when displayed in a FontString (see last example); this markup allows the client to automatically print the singular or plural form of a word depending on the value of the preceding number. -function SecondsToTime(seconds, noSeconds, notAbbreviated, maxCount) end \ No newline at end of file +function SecondsToTime(seconds, noSeconds, notAbbreviated, maxCount) end diff --git a/api/SecureCmdOptionParse.lua b/api/SecureCmdOptionParse.lua index 84f1c2d..6a374c2 100644 --- a/api/SecureCmdOptionParse.lua +++ b/api/SecureCmdOptionParse.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cmd string ----@return string action ----@return string target +---@param cmd string +---@return string action +---@return string target ---Returns the action (and target, if applicable) for a secure macro command. Used in the default UI to parse macro conditionals. -function SecureCmdOptionParse(cmd) end \ No newline at end of file +function SecureCmdOptionParse(cmd) end diff --git a/api/SelectActiveQuest.lua b/api/SelectActiveQuest.lua index 9b966fa..8ece8bf 100644 --- a/api/SelectActiveQuest.lua +++ b/api/SelectActiveQuest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a quest which can be turned in to the current Quest NPC. Usable after a QUEST_GREETING event. Causes the QUEST_PROGRESS event to fire, in which it is determined whether the player can complete the quest. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. -function SelectActiveQuest(index) end \ No newline at end of file +function SelectActiveQuest(index) end diff --git a/api/SelectAvailableQuest.lua b/api/SelectAvailableQuest.lua index 67d2f34..753e94c 100644 --- a/api/SelectAvailableQuest.lua +++ b/api/SelectAvailableQuest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Chooses a quest available from the current Quest NPC. Causes the QUEST_DETAIL event to fire, in which the questgiver presents the player with the details of a quest and the option to accept or decline. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. -function SelectAvailableQuest(index) end \ No newline at end of file +function SelectAvailableQuest(index) end diff --git a/api/SelectGossipActiveQuest.lua b/api/SelectGossipActiveQuest.lua index 9a1aac5..44492fe 100644 --- a/api/SelectGossipActiveQuest.lua +++ b/api/SelectGossipActiveQuest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Chooses a quest which can be turned in to the current Gossip NPC. Causes the QUEST_PROGRESS event to fire, in which it is determined whether the player can complete the quest. -function SelectGossipActiveQuest(index) end \ No newline at end of file +function SelectGossipActiveQuest(index) end diff --git a/api/SelectGossipAvailableQuest.lua b/api/SelectGossipAvailableQuest.lua index 98b5ea0..88e9255 100644 --- a/api/SelectGossipAvailableQuest.lua +++ b/api/SelectGossipAvailableQuest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Chooses a quest available from the current Gossip NPC. Usable after a QUEST_GREETING event. Causes the QUEST_DETAIL event to fire, in which the questgiver presents the player with the details of a quest and the option to accept or decline. -function SelectGossipAvailableQuest(index) end \ No newline at end of file +function SelectGossipAvailableQuest(index) end diff --git a/api/SelectGossipOption.lua b/api/SelectGossipOption.lua index b11b394..6c8eab5 100644 --- a/api/SelectGossipOption.lua +++ b/api/SelectGossipOption.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param text string ----@param confirm boolean +---@param index number +---@param text string +---@param confirm boolean ---Chooses and activates an NPC dialog option. Results may vary according to the gossip option chosen; may end the gossip (firing a GOSSIP_CLOSED event) and start another interaction (firing a MERCHANT_SHOW, TRAINER_SHOW, TAXIMAP_OPENED, or similar event) or may continue the gossip with new text and new options (firing another GOSSIP_SHOW event). Calling this function with only the first argument may cause the GOSSIP_CONFIRM event to fire, indicating that the player needs to provide confirmation (or additional information) before the option will be activated. Confirmation is needed for certain options requiring the character to spend (e.g. when activating Dual Talent Specialization); additional information is needed for options such as those used when redeeming a Loot Card code from the WoW trading card game to receive an in-game item. In either case, the confirmation and additional information can be provided (as by the popup dialog in the default UI) by calling this function again with all three arguments. -function SelectGossipOption(index, text, confirm) end \ No newline at end of file +function SelectGossipOption(index, text, confirm) end diff --git a/api/SelectPackage.lua b/api/SelectPackage.lua index 47dbe7b..6af4e0d 100644 --- a/api/SelectPackage.lua +++ b/api/SelectPackage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SelectPackage() end \ No newline at end of file +function SelectPackage() end diff --git a/api/SelectQuestLogEntry.lua b/api/SelectQuestLogEntry.lua index d076533..f59be8e 100644 --- a/api/SelectQuestLogEntry.lua +++ b/api/SelectQuestLogEntry.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Selects a quest from the quest log. The selected quest is used by other functions which do not take a quest index as argument (e.g. GetQuestLogQuestText()). -function SelectQuestLogEntry(questIndex) end \ No newline at end of file +function SelectQuestLogEntry(questIndex) end diff --git a/api/SelectStationery.lua b/api/SelectStationery.lua index 3883c08..c8fbbfd 100644 --- a/api/SelectStationery.lua +++ b/api/SelectStationery.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a given stationery for usage when sending mail. Has no effect; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. -function SelectStationery(index) end \ No newline at end of file +function SelectStationery(index) end diff --git a/api/SelectTradeSkill.lua b/api/SelectTradeSkill.lua index 7384ce5..702445d 100644 --- a/api/SelectTradeSkill.lua +++ b/api/SelectTradeSkill.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a recipe in the trade skill listing. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs. -function SelectTradeSkill(index) end \ No newline at end of file +function SelectTradeSkill(index) end diff --git a/api/SelectTrainerService.lua b/api/SelectTrainerService.lua index 74289f7..06c29c9 100644 --- a/api/SelectTrainerService.lua +++ b/api/SelectTrainerService.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects an entry in the trainer service listing. Selection in the service list is used only for display in the default UI and has no effect on other Trainer APIs. -function SelectTrainerService(index) end \ No newline at end of file +function SelectTrainerService(index) end diff --git a/api/SelectedRealmName.lua b/api/SelectedRealmName.lua index fb97194..923d08c 100644 --- a/api/SelectedRealmName.lua +++ b/api/SelectedRealmName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SelectedRealmName() end \ No newline at end of file +function SelectedRealmName() end diff --git a/api/SendAddonMessage.lua b/api/SendAddonMessage.lua index 7beda41..dca629b 100644 --- a/api/SendAddonMessage.lua +++ b/api/SendAddonMessage.lua @@ -1,15 +1,28 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param prefix string ----@param message string ----@param type WHISPER ----@param BATTLEGROUND ----@param CHANNEL ----@param GUILD ----@param OFFICER ----@param PARTY ----@param RAID ----@param WHISPER ----@param target string +---@param prefix string +---@param message string +---@param type WHISPER +---@param BATTLEGROUND +---@param CHANNEL +---@param GUILD +---@param OFFICER +---@param PARTY +---@param RAID +---@param WHISPER +---@param target string ---Sends a chat-like message receivable by other addons. Allows for client-to-client addon communication. Unlike with SendChatMessage, messages sent via SendAddonMessage: do not appear in receiving players' chat windows (unless an addon explicitly prints them) are not subject to strict server-side spam filtering/throttling (sending too many messages at once can still disconnect the user) are not modified if the sending character is drunk Messages are received via the CHAT_MSG_ADDON event. The client utilizes the prefix string to filter messages; only those prefixes which have been registered will be received. Prefixes can be registered using RegisterAddonMessagePrefix. There is currently no support for sending addon messages to Real ID or BattleTag friends. -function SendAddonMessage(prefix, message, type, BATTLEGROUND, CHANNEL, GUILD, OFFICER, PARTY, RAID, WHISPER, target) end \ No newline at end of file +function SendAddonMessage( + prefix, + message, + type, + BATTLEGROUND, + CHANNEL, + GUILD, + OFFICER, + PARTY, + RAID, + WHISPER, + target +) +end diff --git a/api/SendChatMessage.lua b/api/SendChatMessage.lua index 26ead21..d5d33a6 100644 --- a/api/SendChatMessage.lua +++ b/api/SendChatMessage.lua @@ -1,22 +1,22 @@ ---@diagnostic disable: missing-return, lowercase-global ---@alias channel ----| 'CHANNEL' channel ----| 'DND' text ----| 'EMOTE' /e ----| 'GUILD' /g ----| 'INSTANCE_CHAT' /i ----| 'OFFICER' /o ----| 'PARTY' /p ----| 'RAID' /ra ----| 'RAID_WARNING' /rw ----| 'SAY' /s ----| 'WHISPER' channel ----| 'YELL' /y +---| 'CHANNEL' channel +---| 'DND' text +---| 'EMOTE' /e +---| 'GUILD' /g +---| 'INSTANCE_CHAT' /i +---| 'OFFICER' /o +---| 'PARTY' /p +---| 'RAID' /ra +---| 'RAID_WARNING' /rw +---| 'SAY' /s +---| 'WHISPER' channel +---| 'YELL' /y ----@param text string ----@param chatType channel +---@param text string +---@param chatType channel ---Sends a chat message ---@overload fun(text: string, chatType: channel, languageIndex: number|nil) ---@overload fun(text: string, chatType: channel, languageIndex: number|nil, channel: string) -function SendChatMessage(text, chatType, languageIndex, channel) end \ No newline at end of file +function SendChatMessage(text, chatType, languageIndex, channel) end diff --git a/api/SendMail.lua b/api/SendMail.lua index 4d792cb..d77e652 100644 --- a/api/SendMail.lua +++ b/api/SendMail.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param recipient string ----@param subject string ----@param body string +---@param recipient string +---@param subject string +---@param body string ---Sends the outgoing message. Any money or COD costs and attachments specified for the mail (via SetSendMailMoney(), SetSendMailCOD(), and ClickSendMailItemButton()) are included with the mail (and the values for such are reset for the next outgoing mail). -function SendMail(recipient, subject, body) end \ No newline at end of file +function SendMail(recipient, subject, body) end diff --git a/api/SendQuestChoiceResponse.lua b/api/SendQuestChoiceResponse.lua index 28c9367..e75d2ac 100644 --- a/api/SendQuestChoiceResponse.lua +++ b/api/SendQuestChoiceResponse.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SendQuestChoiceResponse() end \ No newline at end of file +function SendQuestChoiceResponse() end diff --git a/api/SendWho.lua b/api/SendWho.lua index 4285b4d..1500ae1 100644 --- a/api/SendWho.lua +++ b/api/SendWho.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param filter string +---@param filter string ---Requests a list of characters meeting given search criteria from the server. Text in the query will match against any of the six searchable fields unless one of the specifiers below is used; multiple specifiers can be used in one query. Queries are case insensitive. n-"name" - Search for characters whose name contains name c-"class" - Search for characters whose class name contains class g-"guild" - Search for characters in guilds whose name contains guild r-"race" - Search for characters whose race name contains race z-"zone" - Search for characters in zones whose name contains zone X - Search for characters of level X X- - Search for characters of level X or higher -X - Search for characters of level X or lower X-Y - Search for characters between levels X and Y (inclusive) Results are not available immediately; the CHAT_MSG_SYSTEM or WHO_LIST_UPDATE event fires when data is available, as determined by the SetWhoToUI() function. -function SendWho(filter) end \ No newline at end of file +function SendWho(filter) end diff --git a/api/SetAbandonQuest.lua b/api/SetAbandonQuest.lua index c0999cb..b826da0 100644 --- a/api/SetAbandonQuest.lua +++ b/api/SetAbandonQuest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Begins the process of abandoning a quest in the player's quest log. To finish abandoning the quest, call AbandonQuest(). This function must be called to select a quest in order for GetAbandonQuestItems() or GetAbandonQuestName() to return valid data. -function SetAbandonQuest(questIndex) end \ No newline at end of file +function SetAbandonQuest(questIndex) end diff --git a/api/SetAchievementComparisonPortrait.lua b/api/SetAchievementComparisonPortrait.lua index db9a515..ddae043 100644 --- a/api/SetAchievementComparisonPortrait.lua +++ b/api/SetAchievementComparisonPortrait.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetAchievementComparisonPortrait() end \ No newline at end of file +function SetAchievementComparisonPortrait() end diff --git a/api/SetAchievementComparisonUnit.lua b/api/SetAchievementComparisonUnit.lua index a251eaa..25e6375 100644 --- a/api/SetAchievementComparisonUnit.lua +++ b/api/SetAchievementComparisonUnit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitID ----@return 1nil success +---@param unit unitID +---@return 1nil success ---Enables comparing achievements/statistics with another player. After a call to this function, the INSPECTACHIEVEMENTREADY event fires to indicate that achievement/statistic comparison functions will return valid data on the given unit. -function SetAchievementComparisonUnit(unit) end \ No newline at end of file +function SetAchievementComparisonUnit(unit) end diff --git a/api/SetActionBarToggles.lua b/api/SetActionBarToggles.lua index 40a3213..46a80dc 100644 --- a/api/SetActionBarToggles.lua +++ b/api/SetActionBarToggles.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param bar1 1nil ----@param bar2 1nil ----@param bar3 1nil ----@param bar4 1nil ----@param alwaysShow 1nil +---@param bar1 1nil +---@param bar2 1nil +---@param bar3 1nil +---@param bar4 1nil +---@param alwaysShow 1nil ---Configures display of additional ActionBars in the default UI -function SetActionBarToggles(bar1, bar2, bar3, bar4, alwaysShow) end \ No newline at end of file +function SetActionBarToggles(bar1, bar2, bar3, bar4, alwaysShow) end diff --git a/api/SetActionUIButton.lua b/api/SetActionUIButton.lua index 2a8b3f3..b9b2727 100644 --- a/api/SetActionUIButton.lua +++ b/api/SetActionUIButton.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetActionUIButton() end \ No newline at end of file +function SetActionUIButton() end diff --git a/api/SetActiveSpecGroup.lua b/api/SetActiveSpecGroup.lua index d1d7276..050e2a8 100644 --- a/api/SetActiveSpecGroup.lua +++ b/api/SetActiveSpecGroup.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetActiveSpecGroup() end \ No newline at end of file +function SetActiveSpecGroup() end diff --git a/api/SetActiveVoiceChannel.lua b/api/SetActiveVoiceChannel.lua index b4e21c8..5b79d6e 100644 --- a/api/SetActiveVoiceChannel.lua +++ b/api/SetActiveVoiceChannel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Sets the currently active voice channel -function SetActiveVoiceChannel(index) end \ No newline at end of file +function SetActiveVoiceChannel(index) end diff --git a/api/SetActiveVoiceChannelBySessionID.lua b/api/SetActiveVoiceChannelBySessionID.lua index 0a400d2..917971c 100644 --- a/api/SetActiveVoiceChannelBySessionID.lua +++ b/api/SetActiveVoiceChannelBySessionID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param session number +---@param session number ---Sets the currently active voice chat channel -function SetActiveVoiceChannelBySessionID(session) end \ No newline at end of file +function SetActiveVoiceChannelBySessionID(session) end diff --git a/api/SetAddonVersionCheck.lua b/api/SetAddonVersionCheck.lua index 4161a16..0e99839 100644 --- a/api/SetAddonVersionCheck.lua +++ b/api/SetAddonVersionCheck.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetAddonVersionCheck() end \ No newline at end of file +function SetAddonVersionCheck() end diff --git a/api/SetAllowLowLevelRaid.lua b/api/SetAllowLowLevelRaid.lua index 9236849..6b62f3a 100644 --- a/api/SetAllowLowLevelRaid.lua +++ b/api/SetAllowLowLevelRaid.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enable boolean +---@param enable boolean ---Enabling this if your character is below level 10 will allow you to join a raid group. -function SetAllowLowLevelRaid(enable) end \ No newline at end of file +function SetAllowLowLevelRaid(enable) end diff --git a/api/SetAuctionsTabShowing.lua b/api/SetAuctionsTabShowing.lua index 08be58d..e67a4a6 100644 --- a/api/SetAuctionsTabShowing.lua +++ b/api/SetAuctionsTabShowing.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetAuctionsTabShowing() end \ No newline at end of file +function SetAuctionsTabShowing() end diff --git a/api/SetAutoDeclineGuildInvites.lua b/api/SetAutoDeclineGuildInvites.lua index a562027..c344f48 100644 --- a/api/SetAutoDeclineGuildInvites.lua +++ b/api/SetAutoDeclineGuildInvites.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetAutoDeclineGuildInvites() end \ No newline at end of file +function SetAutoDeclineGuildInvites() end diff --git a/api/SetBackpackAutosortDisabled.lua b/api/SetBackpackAutosortDisabled.lua index 9c1fefc..1e2af7c 100644 --- a/api/SetBackpackAutosortDisabled.lua +++ b/api/SetBackpackAutosortDisabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBackpackAutosortDisabled() end \ No newline at end of file +function SetBackpackAutosortDisabled() end diff --git a/api/SetBagPortraitTexture.lua b/api/SetBagPortraitTexture.lua index d55f317..92d80d8 100644 --- a/api/SetBagPortraitTexture.lua +++ b/api/SetBagPortraitTexture.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param texture table ----@param container number +---@param texture table +---@param container number ---Sets a Texture object to display the icon of one of the player's bags. Adapts the square item icon texture to fit within the circular "portrait" frames used in many default UI elements. -function SetBagPortraitTexture(texture, container) end \ No newline at end of file +function SetBagPortraitTexture(texture, container) end diff --git a/api/SetBagSlotFlag.lua b/api/SetBagSlotFlag.lua index 9a487e6..32f7e35 100644 --- a/api/SetBagSlotFlag.lua +++ b/api/SetBagSlotFlag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBagSlotFlag() end \ No newline at end of file +function SetBagSlotFlag() end diff --git a/api/SetBankAutosortDisabled.lua b/api/SetBankAutosortDisabled.lua index 8606cce..ed42394 100644 --- a/api/SetBankAutosortDisabled.lua +++ b/api/SetBankAutosortDisabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBankAutosortDisabled() end \ No newline at end of file +function SetBankAutosortDisabled() end diff --git a/api/SetBankBagSlotFlag.lua b/api/SetBankBagSlotFlag.lua index 1bff886..8d5365d 100644 --- a/api/SetBankBagSlotFlag.lua +++ b/api/SetBankBagSlotFlag.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBankBagSlotFlag() end \ No newline at end of file +function SetBankBagSlotFlag() end diff --git a/api/SetBarSlotFromIntro.lua b/api/SetBarSlotFromIntro.lua index 2075cd9..d613e20 100644 --- a/api/SetBarSlotFromIntro.lua +++ b/api/SetBarSlotFromIntro.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBarSlotFromIntro() end \ No newline at end of file +function SetBarSlotFromIntro() end diff --git a/api/SetBarberShopAlternateFormFrame.lua b/api/SetBarberShopAlternateFormFrame.lua index 6177feb..77e95b9 100644 --- a/api/SetBarberShopAlternateFormFrame.lua +++ b/api/SetBarberShopAlternateFormFrame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBarberShopAlternateFormFrame() end \ No newline at end of file +function SetBarberShopAlternateFormFrame() end diff --git a/api/SetBinding.lua b/api/SetBinding.lua index a3e8486..33faebc 100644 --- a/api/SetBinding.lua +++ b/api/SetBinding.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@param command string ----@return 1nil success +---@param key string +---@param command string +---@return 1nil success ---Binds a key combination to a binding command -function SetBinding(key, command) end \ No newline at end of file +function SetBinding(key, command) end diff --git a/api/SetBindingClick.lua b/api/SetBindingClick.lua index c4ed2e1..98fad07 100644 --- a/api/SetBindingClick.lua +++ b/api/SetBindingClick.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@param buttonName string ----@param mouseButton string ----@return 1nil success +---@param key string +---@param buttonName string +---@param mouseButton string +---@return 1nil success ---Binds a key combination to "click" a Button object. When the binding is used, all of the relevant mouse handlers on the button (save for OnEnter and OnLeave) fire just as if the button were activated by the mouse (including OnMouseDown and OnMouseUp as the key is pressed and released). -function SetBindingClick(key, buttonName, mouseButton) end \ No newline at end of file +function SetBindingClick(key, buttonName, mouseButton) end diff --git a/api/SetBindingItem.lua b/api/SetBindingItem.lua index 08030ec..13c16ea 100644 --- a/api/SetBindingItem.lua +++ b/api/SetBindingItem.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@param itemID number ----@param itemName string ----@param itemLink string ----@return 1nil success +---@param key string +---@param itemID number +---@param itemName string +---@param itemLink string +---@return 1nil success ---Binds a key combination to use an item in the player's possession -function SetBindingItem(key, itemID, itemName, itemLink) end \ No newline at end of file +function SetBindingItem(key, itemID, itemName, itemLink) end diff --git a/api/SetBindingMacro.lua b/api/SetBindingMacro.lua index f9c2ea5..a860551 100644 --- a/api/SetBindingMacro.lua +++ b/api/SetBindingMacro.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@param index number ----@param name string ----@return 1nil success +---@param key string +---@param index number +---@param name string +---@return 1nil success ---Binds a key combination to run a macro -function SetBindingMacro(key, index, name) end \ No newline at end of file +function SetBindingMacro(key, index, name) end diff --git a/api/SetBindingSpell.lua b/api/SetBindingSpell.lua index c705e5f..e5c8335 100644 --- a/api/SetBindingSpell.lua +++ b/api/SetBindingSpell.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key string ----@param spellname string ----@return 1nil success +---@param key string +---@param spellname string +---@return 1nil success ---Binds a key combination to cast a spell -function SetBindingSpell(key, spellname) end \ No newline at end of file +function SetBindingSpell(key, spellname) end diff --git a/api/SetBlacklistMap.lua b/api/SetBlacklistMap.lua index 7ec62fa..80a46ec 100644 --- a/api/SetBlacklistMap.lua +++ b/api/SetBlacklistMap.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetBlacklistMap() end \ No newline at end of file +function SetBlacklistMap() end diff --git a/api/SetCVar.lua b/api/SetCVar.lua index 2cc4fa9..0633680 100644 --- a/api/SetCVar.lua +++ b/api/SetCVar.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cvar string ----@param value any ----@param raiseEvent string +---@param cvar string +---@param value any +---@param raiseEvent string ---Sets the value of a configuration variable -function SetCVar(cvar, value, raiseEvent) end \ No newline at end of file +function SetCVar(cvar, value, raiseEvent) end diff --git a/api/SetCVarBitfield.lua b/api/SetCVarBitfield.lua index ae77834..61f1499 100644 --- a/api/SetCVarBitfield.lua +++ b/api/SetCVarBitfield.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetCVarBitfield() end \ No newline at end of file +function SetCVarBitfield() end diff --git a/api/SetCemeteryPreference.lua b/api/SetCemeteryPreference.lua index ce12668..98ee15e 100644 --- a/api/SetCemeteryPreference.lua +++ b/api/SetCemeteryPreference.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetCemeteryPreference() end \ No newline at end of file +function SetCemeteryPreference() end diff --git a/api/SetChannelOwner.lua b/api/SetChannelOwner.lua index d4ee7f2..12b57f7 100644 --- a/api/SetChannelOwner.lua +++ b/api/SetChannelOwner.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param fullname string +---@param channel string +---@param fullname string ---Gives channel ownership to another character. Has no effect unless the player is the owner of the given channel. -function SetChannelOwner(channel, fullname) end \ No newline at end of file +function SetChannelOwner(channel, fullname) end diff --git a/api/SetChannelPassword.lua b/api/SetChannelPassword.lua index 01b6279..f152614 100644 --- a/api/SetChannelPassword.lua +++ b/api/SetChannelPassword.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param channel string ----@param password string +---@param channel string +---@param password string ---Sets a password on a custom chat channel -function SetChannelPassword(channel, password) end \ No newline at end of file +function SetChannelPassword(channel, password) end diff --git a/api/SetChatColorNameByClass.lua b/api/SetChatColorNameByClass.lua index d1e1c6b..38b0eb7 100644 --- a/api/SetChatColorNameByClass.lua +++ b/api/SetChatColorNameByClass.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param chatType string ----@param colorByName boolean +---@param chatType string +---@param colorByName boolean ---Sets whether the player names should be colored by class for a given chat type -function SetChatColorNameByClass(chatType, colorByName) end \ No newline at end of file +function SetChatColorNameByClass(chatType, colorByName) end diff --git a/api/SetChatWindowAlpha.lua b/api/SetChatWindowAlpha.lua index cf6defa..6f5816f 100644 --- a/api/SetChatWindowAlpha.lua +++ b/api/SetChatWindowAlpha.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param alpha number +---@param index number +---@param alpha number ---Saves a chat window's background opacity setting. Used by the default UI's function FCF_SetWindowAlpha() which changes the opacity of a displayed FloatingChatFrame. -function SetChatWindowAlpha(index, alpha) end \ No newline at end of file +function SetChatWindowAlpha(index, alpha) end diff --git a/api/SetChatWindowColor.lua b/api/SetChatWindowColor.lua index cc6da31..f043f1f 100644 --- a/api/SetChatWindowColor.lua +++ b/api/SetChatWindowColor.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param r number ----@param g number ----@param b number +---@param index number +---@param r number +---@param g number +---@param b number ---Saves a chat window's background color setting. Used by the default UI's function FCF_SetWindowColor() which changes the colors of a displayed FloatingChatFrame. -function SetChatWindowColor(index, r, g, b) end \ No newline at end of file +function SetChatWindowColor(index, r, g, b) end diff --git a/api/SetChatWindowDocked.lua b/api/SetChatWindowDocked.lua index 05c5a72..10a22df 100644 --- a/api/SetChatWindowDocked.lua +++ b/api/SetChatWindowDocked.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param docked boolean +---@param index number +---@param docked boolean ---Saves whether a chat window should be docked with the main chat window. Used by the default UI's functions FCF_DockFrame() and FCF_UnDockFrame() which manage the positioning of FloatingChatFrames. -function SetChatWindowDocked(index, docked) end \ No newline at end of file +function SetChatWindowDocked(index, docked) end diff --git a/api/SetChatWindowLocked.lua b/api/SetChatWindowLocked.lua index 18c2f80..59ddeaa 100644 --- a/api/SetChatWindowLocked.lua +++ b/api/SetChatWindowLocked.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param locked boolean +---@param index number +---@param locked boolean ---Saves whether a chat window is locked. Used by the default UI's functions FCF_OpenNewWindow() and FCF_SetLocked() which manage the behavior of a FloatingChatFrame. -function SetChatWindowLocked(index, locked) end \ No newline at end of file +function SetChatWindowLocked(index, locked) end diff --git a/api/SetChatWindowName.lua b/api/SetChatWindowName.lua index 4232aa7..116d11d 100644 --- a/api/SetChatWindowName.lua +++ b/api/SetChatWindowName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string +---@param index number +---@param name string ---Saves a chat window's display name setting. Used by the default UI's function FCF_SetWindowName() which also handles setting the name displayed for a FloatingChatFrame. -function SetChatWindowName(index, name) end \ No newline at end of file +function SetChatWindowName(index, name) end diff --git a/api/SetChatWindowSavedDimensions.lua b/api/SetChatWindowSavedDimensions.lua index 3dbb4da..1d4f403 100644 --- a/api/SetChatWindowSavedDimensions.lua +++ b/api/SetChatWindowSavedDimensions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetChatWindowSavedDimensions() end \ No newline at end of file +function SetChatWindowSavedDimensions() end diff --git a/api/SetChatWindowSavedPosition.lua b/api/SetChatWindowSavedPosition.lua index d107741..01e8107 100644 --- a/api/SetChatWindowSavedPosition.lua +++ b/api/SetChatWindowSavedPosition.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetChatWindowSavedPosition() end \ No newline at end of file +function SetChatWindowSavedPosition() end diff --git a/api/SetChatWindowShown.lua b/api/SetChatWindowShown.lua index d27a929..9e1190c 100644 --- a/api/SetChatWindowShown.lua +++ b/api/SetChatWindowShown.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param shown boolean +---@param index number +---@param shown boolean ---Saves whether a chat window should be shown. Used by the default UI's function FCF_OpenNewWindow() which initializes a displayed FloatingChatFrame. -function SetChatWindowShown(index, shown) end \ No newline at end of file +function SetChatWindowShown(index, shown) end diff --git a/api/SetChatWindowSize.lua b/api/SetChatWindowSize.lua index 3388089..9e473b0 100644 --- a/api/SetChatWindowSize.lua +++ b/api/SetChatWindowSize.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param size number +---@param index number +---@param size number ---Saves a chat window's font size setting. Used by the default UI's function FCF_SetChatWindowFontSize() which also handles changing the font displayed in a FloatingChatFrame. -function SetChatWindowSize(index, size) end \ No newline at end of file +function SetChatWindowSize(index, size) end diff --git a/api/SetChatWindowUninteractable.lua b/api/SetChatWindowUninteractable.lua index 2f81505..028ecb7 100644 --- a/api/SetChatWindowUninteractable.lua +++ b/api/SetChatWindowUninteractable.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param setUninteractable boolean +---@param index number +---@param setUninteractable boolean ---Saves whether a chat window is marked as non-interactive. Used by the default UI's function FCF_SetUninteractable() which also handles enabling/disabling mouse events in the FloatingChatFrame. -function SetChatWindowUninteractable(index, setUninteractable) end \ No newline at end of file +function SetChatWindowUninteractable(index, setUninteractable) end diff --git a/api/SetConsoleKey.lua b/api/SetConsoleKey.lua index 2b1e588..bf1285d 100644 --- a/api/SetConsoleKey.lua +++ b/api/SetConsoleKey.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetConsoleKey() end \ No newline at end of file +function SetConsoleKey() end diff --git a/api/SetCurrencyBackpack.lua b/api/SetCurrencyBackpack.lua index 02c732e..a9be697 100644 --- a/api/SetCurrencyBackpack.lua +++ b/api/SetCurrencyBackpack.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param watch number +---@param index number +---@param watch number ---Sets a currency type to be watched on the Backpack UI -function SetCurrencyBackpack(index, watch) end \ No newline at end of file +function SetCurrencyBackpack(index, watch) end diff --git a/api/SetCurrencyUnused.lua b/api/SetCurrencyUnused.lua index 1356cae..1e1f472 100644 --- a/api/SetCurrencyUnused.lua +++ b/api/SetCurrencyUnused.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param makeUnused number +---@param index number +---@param makeUnused number ---Moves a currency type to or from the Unused currencies list. "Unused" currencies behave no differently; the distinction only exists to allow players to hide currencies they don't care about from the main display. -function SetCurrencyUnused(index, makeUnused) end \ No newline at end of file +function SetCurrencyUnused(index, makeUnused) end diff --git a/api/SetCurrentGraphicsSetting.lua b/api/SetCurrentGraphicsSetting.lua index 75b87ac..b2fc32e 100644 --- a/api/SetCurrentGraphicsSetting.lua +++ b/api/SetCurrentGraphicsSetting.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetCurrentGraphicsSetting() end \ No newline at end of file +function SetCurrentGraphicsSetting() end diff --git a/api/SetCurrentGuildBankTab.lua b/api/SetCurrentGuildBankTab.lua index 39c7cf8..4c1c2c2 100644 --- a/api/SetCurrentGuildBankTab.lua +++ b/api/SetCurrentGuildBankTab.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number +---@param tab number ---Selects a tab in the guild bank -function SetCurrentGuildBankTab(tab) end \ No newline at end of file +function SetCurrentGuildBankTab(tab) end diff --git a/api/SetCurrentTitle.lua b/api/SetCurrentTitle.lua index d5f939e..6035fce 100644 --- a/api/SetCurrentTitle.lua +++ b/api/SetCurrentTitle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param titleIndex integer +---@param titleIndex integer ---Changes a player's displayed title -function SetCurrentTitle(titleIndex) end \ No newline at end of file +function SetCurrentTitle(titleIndex) end diff --git a/api/SetCursor.lua b/api/SetCursor.lua index 3dc26f3..534d94b 100644 --- a/api/SetCursor.lua +++ b/api/SetCursor.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cursor string +---@param cursor string ---Changes the mouse cursor image. Changes only the appearance of the mouse cursor, not its behavior (and has no effect if the cursor is holding an item, spell, or other data). Passing nil will revert the cursor to its default image. Normally used in a frame's OnEnter handler to change the cursor used while the mouse is over the frame. If used elsewhere, the cursor will likely be immediately reverted to default (due to the mouse handlers of other frames doing the same). -function SetCursor(cursor) end \ No newline at end of file +function SetCursor(cursor) end diff --git a/api/SetDefaultVideoOptions.lua b/api/SetDefaultVideoOptions.lua index 4969203..c8cc796 100644 --- a/api/SetDefaultVideoOptions.lua +++ b/api/SetDefaultVideoOptions.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetDefaultVideoOptions() end \ No newline at end of file +function SetDefaultVideoOptions() end diff --git a/api/SetDungeonMapLevel.lua b/api/SetDungeonMapLevel.lua index fc69dcf..631913f 100644 --- a/api/SetDungeonMapLevel.lua +++ b/api/SetDungeonMapLevel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param level number +---@param level number ---Sets the world map to display a certain map image (for zones that use multiple map images). Used in zones with more than one "floor" or area such as Dalaran and several Wrath of the Lich King dungeons and raids. -function SetDungeonMapLevel(level) end \ No newline at end of file +function SetDungeonMapLevel(level) end diff --git a/api/SetEuropeanNumbers.lua b/api/SetEuropeanNumbers.lua index a2db0fa..5834084 100644 --- a/api/SetEuropeanNumbers.lua +++ b/api/SetEuropeanNumbers.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enable boolean +---@param enable boolean ---Sets the decimal separator for displayed numbers. Affects the style not only of numbers displayed in the UI, but any string coercion of numbers with tostring() as well. -function SetEuropeanNumbers(enable) end \ No newline at end of file +function SetEuropeanNumbers(enable) end diff --git a/api/SetEveryoneIsAssistant.lua b/api/SetEveryoneIsAssistant.lua index b60c140..10a3011 100644 --- a/api/SetEveryoneIsAssistant.lua +++ b/api/SetEveryoneIsAssistant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetEveryoneIsAssistant() end \ No newline at end of file +function SetEveryoneIsAssistant() end diff --git a/api/SetFactionActive.lua b/api/SetFactionActive.lua index 748915f..824e1a7 100644 --- a/api/SetFactionActive.lua +++ b/api/SetFactionActive.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Removes the "inactive" status from a faction. "Inactive" factions behave no differently; the distinction only exists to allow players to hide factions they don't care about from the main display. Factions thus marked are automatically moved to an "Inactive" group at the end of the faction list. -function SetFactionActive(index) end \ No newline at end of file +function SetFactionActive(index) end diff --git a/api/SetFactionInactive.lua b/api/SetFactionInactive.lua index d588597..23be218 100644 --- a/api/SetFactionInactive.lua +++ b/api/SetFactionInactive.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Flags a faction as inactive. "Inactive" factions behave no differently; the distinction only exists to allow players to hide factions they don't care about from the main display. Factions thus marked are automatically moved to an "Inactive" group at the end of the faction list. -function SetFactionInactive(index) end \ No newline at end of file +function SetFactionInactive(index) end diff --git a/api/SetFocusedAchievement.lua b/api/SetFocusedAchievement.lua index 4a99f1c..cbb2fdd 100644 --- a/api/SetFocusedAchievement.lua +++ b/api/SetFocusedAchievement.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetFocusedAchievement() end \ No newline at end of file +function SetFocusedAchievement() end diff --git a/api/SetFriendNotes.lua b/api/SetFriendNotes.lua index 7c4259d..7566282 100644 --- a/api/SetFriendNotes.lua +++ b/api/SetFriendNotes.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@param note string +---@param index number +---@param name string +---@param note string ---Sets note text associated with a friends list entry. Setting a note to nil will result in an error; to remove a note, set it to the empty string (""). -function SetFriendNotes(index, name, note) end \ No newline at end of file +function SetFriendNotes(index, name, note) end diff --git a/api/SetGamma.lua b/api/SetGamma.lua index 0e6d72b..a9543e9 100644 --- a/api/SetGamma.lua +++ b/api/SetGamma.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param value number +---@param value number ---Changes the display gamma setting. Gamma value determines the contrast between lighter and darker portions of the game display; for a detailed explanation see the Wikipedia article on Gamma corection. -function SetGamma(value) end \ No newline at end of file +function SetGamma(value) end diff --git a/api/SetGlyphFilter.lua b/api/SetGlyphFilter.lua index c20d29a..8d2677e 100644 --- a/api/SetGlyphFilter.lua +++ b/api/SetGlyphFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGlyphFilter() end \ No newline at end of file +function SetGlyphFilter() end diff --git a/api/SetGlyphNameFilter.lua b/api/SetGlyphNameFilter.lua index 72eae4a..cadafb8 100644 --- a/api/SetGlyphNameFilter.lua +++ b/api/SetGlyphNameFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGlyphNameFilter() end \ No newline at end of file +function SetGlyphNameFilter() end diff --git a/api/SetGuildApplicantSelection.lua b/api/SetGuildApplicantSelection.lua index 8165aea..62616f5 100644 --- a/api/SetGuildApplicantSelection.lua +++ b/api/SetGuildApplicantSelection.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildApplicantSelection() end \ No newline at end of file +function SetGuildApplicantSelection() end diff --git a/api/SetGuildBankTabInfo.lua b/api/SetGuildBankTabInfo.lua index f13dccc..adb9943 100644 --- a/api/SetGuildBankTabInfo.lua +++ b/api/SetGuildBankTabInfo.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param name string ----@param iconIndex number +---@param tab number +---@param name string +---@param iconIndex number ---Sets the name and icon for a guild bank tab -function SetGuildBankTabInfo(tab, name, iconIndex) end \ No newline at end of file +function SetGuildBankTabInfo(tab, name, iconIndex) end diff --git a/api/SetGuildBankTabItemWithdraw.lua b/api/SetGuildBankTabItemWithdraw.lua index 38d9c59..1875c07 100644 --- a/api/SetGuildBankTabItemWithdraw.lua +++ b/api/SetGuildBankTabItemWithdraw.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildBankTabItemWithdraw() end \ No newline at end of file +function SetGuildBankTabItemWithdraw() end diff --git a/api/SetGuildBankText.lua b/api/SetGuildBankText.lua index d8be8e4..acb240d 100644 --- a/api/SetGuildBankText.lua +++ b/api/SetGuildBankText.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param text string +---@param tab number +---@param text string ---Sets the info text for a guild bank tab -function SetGuildBankText(tab, text) end \ No newline at end of file +function SetGuildBankText(tab, text) end diff --git a/api/SetGuildBankWithdrawGoldLimit.lua b/api/SetGuildBankWithdrawGoldLimit.lua index 0a09c20..b1e2e11 100644 --- a/api/SetGuildBankWithdrawGoldLimit.lua +++ b/api/SetGuildBankWithdrawGoldLimit.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildBankWithdrawGoldLimit() end \ No newline at end of file +function SetGuildBankWithdrawGoldLimit() end diff --git a/api/SetGuildInfoText.lua b/api/SetGuildInfoText.lua index 0802c65..2727eae 100644 --- a/api/SetGuildInfoText.lua +++ b/api/SetGuildInfoText.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param text string +---@param text string ---Sets the guild information text.. This text appears when clicking the "Guild Information" button in the default UI's Guild window. -function SetGuildInfoText(text) end \ No newline at end of file +function SetGuildInfoText(text) end diff --git a/api/SetGuildMemberRank.lua b/api/SetGuildMemberRank.lua index 314d181..510ff35 100644 --- a/api/SetGuildMemberRank.lua +++ b/api/SetGuildMemberRank.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param rankIndex number +---@param index number +---@param rankIndex number ---Promotes/demotes a given guild member to the specified rank -function SetGuildMemberRank(index, rankIndex) end \ No newline at end of file +function SetGuildMemberRank(index, rankIndex) end diff --git a/api/SetGuildNewsFilter.lua b/api/SetGuildNewsFilter.lua index aecb0c8..25ca6f6 100644 --- a/api/SetGuildNewsFilter.lua +++ b/api/SetGuildNewsFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildNewsFilter() end \ No newline at end of file +function SetGuildNewsFilter() end diff --git a/api/SetGuildRecruitmentComment.lua b/api/SetGuildRecruitmentComment.lua index c24b7cc..2f528aa 100644 --- a/api/SetGuildRecruitmentComment.lua +++ b/api/SetGuildRecruitmentComment.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildRecruitmentComment() end \ No newline at end of file +function SetGuildRecruitmentComment() end diff --git a/api/SetGuildRecruitmentSettings.lua b/api/SetGuildRecruitmentSettings.lua index fec3afb..12114f0 100644 --- a/api/SetGuildRecruitmentSettings.lua +++ b/api/SetGuildRecruitmentSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildRecruitmentSettings() end \ No newline at end of file +function SetGuildRecruitmentSettings() end diff --git a/api/SetGuildRosterSelection.lua b/api/SetGuildRosterSelection.lua index 134895f..ad53cf4 100644 --- a/api/SetGuildRosterSelection.lua +++ b/api/SetGuildRosterSelection.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a member in the guild roster. Selection in the guild roster is used only for display in the default UI and has no effect on other Guild APIs. -function SetGuildRosterSelection(index) end \ No newline at end of file +function SetGuildRosterSelection(index) end diff --git a/api/SetGuildRosterShowOffline.lua b/api/SetGuildRosterShowOffline.lua index 7b96e12..3f2dc3c 100644 --- a/api/SetGuildRosterShowOffline.lua +++ b/api/SetGuildRosterShowOffline.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param showOffline boolean +---@param showOffline boolean ---Enables or disables inclusion of offline members in the guild roster listing -function SetGuildRosterShowOffline(showOffline) end \ No newline at end of file +function SetGuildRosterShowOffline(showOffline) end diff --git a/api/SetGuildTradeSkillCategoryFilter.lua b/api/SetGuildTradeSkillCategoryFilter.lua index 9ec5956..df430a0 100644 --- a/api/SetGuildTradeSkillCategoryFilter.lua +++ b/api/SetGuildTradeSkillCategoryFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildTradeSkillCategoryFilter() end \ No newline at end of file +function SetGuildTradeSkillCategoryFilter() end diff --git a/api/SetGuildTradeSkillItemNameFilter.lua b/api/SetGuildTradeSkillItemNameFilter.lua index 41a207c..c5ca5c6 100644 --- a/api/SetGuildTradeSkillItemNameFilter.lua +++ b/api/SetGuildTradeSkillItemNameFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetGuildTradeSkillItemNameFilter() end \ No newline at end of file +function SetGuildTradeSkillItemNameFilter() end diff --git a/api/SetInsertItemsLeftToRight.lua b/api/SetInsertItemsLeftToRight.lua index 16dba6e..3a109ea 100644 --- a/api/SetInsertItemsLeftToRight.lua +++ b/api/SetInsertItemsLeftToRight.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetInsertItemsLeftToRight() end \ No newline at end of file +function SetInsertItemsLeftToRight() end diff --git a/api/SetInventoryPortraitTexture.lua b/api/SetInventoryPortraitTexture.lua index 6cd1e4c..1e27319 100644 --- a/api/SetInventoryPortraitTexture.lua +++ b/api/SetInventoryPortraitTexture.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param texture table ----@param unit string ----@param slot number +---@param texture table +---@param unit string +---@param slot number ---Sets a Texture object to display the icon of an equipped item. Adapts the square item icon texture to fit within the circular "portrait" frames used in many default UI elements. -function SetInventoryPortraitTexture(texture, unit, slot) end \ No newline at end of file +function SetInventoryPortraitTexture(texture, unit, slot) end diff --git a/api/SetItemSearch.lua b/api/SetItemSearch.lua index 32fe6c4..e7112a8 100644 --- a/api/SetItemSearch.lua +++ b/api/SetItemSearch.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetItemSearch() end \ No newline at end of file +function SetItemSearch() end diff --git a/api/SetItemUpgradeFromCursorItem.lua b/api/SetItemUpgradeFromCursorItem.lua index 48eaead..72960d8 100644 --- a/api/SetItemUpgradeFromCursorItem.lua +++ b/api/SetItemUpgradeFromCursorItem.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Puts an item into the item upgrade dialog. This function can currently only be called when at the upgrade merchant -function SetItemUpgradeFromCursorItem() end \ No newline at end of file +function SetItemUpgradeFromCursorItem() end diff --git a/api/SetLFGBonusFactionID.lua b/api/SetLFGBonusFactionID.lua index 24d2fa1..92992ce 100644 --- a/api/SetLFGBonusFactionID.lua +++ b/api/SetLFGBonusFactionID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLFGBonusFactionID() end \ No newline at end of file +function SetLFGBonusFactionID() end diff --git a/api/SetLFGBootVote.lua b/api/SetLFGBootVote.lua index cde1cb6..2bcdc53 100644 --- a/api/SetLFGBootVote.lua +++ b/api/SetLFGBootVote.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLFGBootVote() end \ No newline at end of file +function SetLFGBootVote() end diff --git a/api/SetLFGComment.lua b/api/SetLFGComment.lua index 8e763c7..3ed5b92 100644 --- a/api/SetLFGComment.lua +++ b/api/SetLFGComment.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param comment string +---@param comment string ---Associates a brief text comment with the player's listing in the LFG system. In the default UI, other players see this comment when mousing over the player's name in the Looking for More listing. -function SetLFGComment(comment) end \ No newline at end of file +function SetLFGComment(comment) end diff --git a/api/SetLFGDungeon.lua b/api/SetLFGDungeon.lua index cc30f97..5515ce3 100644 --- a/api/SetLFGDungeon.lua +++ b/api/SetLFGDungeon.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param queueIndex number +---@param queueIndex number ---Sets a flag indicating that the player would like to join a given dungeon/queue. This function simply indicates that the player would like to join a given dungeon or queue. Joining the queue is accomplished using the JoinLFG() function. Clearing the dungeons that have been flagged is accomplished using the ClearAllLFGDungeons function. -function SetLFGDungeon(queueIndex) end \ No newline at end of file +function SetLFGDungeon(queueIndex) end diff --git a/api/SetLFGDungeonEnabled.lua b/api/SetLFGDungeonEnabled.lua index a2e566c..c4dda7d 100644 --- a/api/SetLFGDungeonEnabled.lua +++ b/api/SetLFGDungeonEnabled.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLFGDungeonEnabled() end \ No newline at end of file +function SetLFGDungeonEnabled() end diff --git a/api/SetLFGHeaderCollapsed.lua b/api/SetLFGHeaderCollapsed.lua index 3612fae..c083cd1 100644 --- a/api/SetLFGHeaderCollapsed.lua +++ b/api/SetLFGHeaderCollapsed.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLFGHeaderCollapsed() end \ No newline at end of file +function SetLFGHeaderCollapsed() end diff --git a/api/SetLFGRoles.lua b/api/SetLFGRoles.lua index c65eff2..6e29339 100644 --- a/api/SetLFGRoles.lua +++ b/api/SetLFGRoles.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param leader boolean ----@param tank boolean ----@param healer boolean ----@param damage boolean +---@param leader boolean +---@param tank boolean +---@param healer boolean +---@param damage boolean ---Sets group roles for which to advertise the player in the LFG system. Passing true for a role the player's class does not support (e.g. healing on a warrior or tanking on a priest) has no effect: see example. -function SetLFGRoles(leader, tank, healer, damage) end \ No newline at end of file +function SetLFGRoles(leader, tank, healer, damage) end diff --git a/api/SetLayoutMode.lua b/api/SetLayoutMode.lua index 17e2441..adcca44 100644 --- a/api/SetLayoutMode.lua +++ b/api/SetLayoutMode.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLayoutMode() end \ No newline at end of file +function SetLayoutMode() end diff --git a/api/SetLegacyRaidDifficultyID.lua b/api/SetLegacyRaidDifficultyID.lua index 3701ead..6176da3 100644 --- a/api/SetLegacyRaidDifficultyID.lua +++ b/api/SetLegacyRaidDifficultyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLegacyRaidDifficultyID() end \ No newline at end of file +function SetLegacyRaidDifficultyID() end diff --git a/api/SetLookingForGuildComment.lua b/api/SetLookingForGuildComment.lua index b11e38e..bc438d0 100644 --- a/api/SetLookingForGuildComment.lua +++ b/api/SetLookingForGuildComment.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLookingForGuildComment() end \ No newline at end of file +function SetLookingForGuildComment() end diff --git a/api/SetLookingForGuildSettings.lua b/api/SetLookingForGuildSettings.lua index 7a09b34..0c40346 100644 --- a/api/SetLookingForGuildSettings.lua +++ b/api/SetLookingForGuildSettings.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetLookingForGuildSettings() end \ No newline at end of file +function SetLookingForGuildSettings() end diff --git a/api/SetLootMethod.lua b/api/SetLootMethod.lua index 6556183..168ba86 100644 --- a/api/SetLootMethod.lua +++ b/api/SetLootMethod.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param method roundrobin ----@param freeforall ----@param group ----@param master ----@param needbeforegreed ----@param roundrobin ----@param master string +---@param method roundrobin +---@param freeforall +---@param group +---@param master +---@param needbeforegreed +---@param roundrobin +---@param master string ---Sets the loot method for a party or raid group. Has no effect if the player is not the party or raid leader. See SetLootThreshold for the quality threshold used by Master Looter, Group Loot, and Need Before Greed methods. -function SetLootMethod(method, freeforall, group, master, needbeforegreed, roundrobin, master) end \ No newline at end of file +function SetLootMethod(method, freeforall, group, master, needbeforegreed, roundrobin, master) end diff --git a/api/SetLootPortrait.lua b/api/SetLootPortrait.lua index 75c9eee..28fc297 100644 --- a/api/SetLootPortrait.lua +++ b/api/SetLootPortrait.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param texture table +---@param texture table ---Sets a Texture object to show the appropriate portrait image when looting. Normally, the loot portrait image is the same as that of the creature being looted. Not used in the default UI -- a generic image for all loot is used instead. -function SetLootPortrait(texture) end \ No newline at end of file +function SetLootPortrait(texture) end diff --git a/api/SetLootSpecialization.lua b/api/SetLootSpecialization.lua index 0703fc1..6b923a2 100644 --- a/api/SetLootSpecialization.lua +++ b/api/SetLootSpecialization.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param specID number +---@param specID number ---Sets the current loot specialization using a global specialization ID. If the argument is invalid or 0, the loot specialization will be set to Current Specialization, or automatic. -function SetLootSpecialization(specID) end \ No newline at end of file +function SetLootSpecialization(specID) end diff --git a/api/SetLootThreshold.lua b/api/SetLootThreshold.lua index a92b69d..0c19e22 100644 --- a/api/SetLootThreshold.lua +++ b/api/SetLootThreshold.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param threshold number +---@param threshold number ---Sets the threshold used for Master Looter, Group Loot, and Need Before Greed loot methods. Has no effect if the player is not the party or raid leader. Items above the threshold quality will trigger the special behavior of the current loot method: for Group Loot and Need Before Greed, rolling will automatically begin once a group member loots the corpse or object holding the item; for Master Loot, the item will be invisible to all but the loot master tasked with assigning the loot. The loot threshold defaults to 2 (Uncommon) when forming a new party/raid. Setting the threshold to 0 (Poor) or 1 (Common) has no effect -- qualities below Uncommon are always treated as below the threshold. The default UI only allows setting the threshold as high as 4 (Epic), but higher thresholds are allowed. -function SetLootThreshold(threshold) end \ No newline at end of file +function SetLootThreshold(threshold) end diff --git a/api/SetMacroItem.lua b/api/SetMacroItem.lua index a7631e8..402a110 100644 --- a/api/SetMacroItem.lua +++ b/api/SetMacroItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@param item string ----@param target unitid +---@param index number +---@param name string +---@param item string +---@param target unitid ---Changes the item used for dynamic feedback for a macro. Normally a macro uses the item or spell specified by its commands to provide dynamic feedback when placed on an action button (through the Action APIs, e.g. IsActionUsable()): e.g. if the macro uses a consumable item, the button will show the number of items remaining; if the macro uses an item with a cooldown, the button will show the state of the cooldown. This function allows overriding the item or spell used by the macro with another item -- the given item's state will be used for such feedback instead of the item or spell used by the macro. -function SetMacroItem(index, name, item, target) end \ No newline at end of file +function SetMacroItem(index, name, item, target) end diff --git a/api/SetMacroSpell.lua b/api/SetMacroSpell.lua index 83433e9..c7f80a0 100644 --- a/api/SetMacroSpell.lua +++ b/api/SetMacroSpell.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param name string ----@param spell string ----@param target unitid +---@param index number +---@param name string +---@param spell string +---@param target unitid ---Changes the spell used for dynamic feedback for a macro. Normally a macro uses the item or spell specified by its commands to provide dynamic feedback when placed on an action button (through the Action APIs, e.g. IsActionUsable()): e.g. if the macro uses a consumable item, the button will show the number of items remaining; if the macro uses an item with a cooldown, the button will show the state of the cooldown. This function allows overriding the item or spell used by the macro with another item -- the given item's state will be used for such feedback instead of the item or spell used by the macro. -function SetMacroSpell(index, name, spell, target) end \ No newline at end of file +function SetMacroSpell(index, name, spell, target) end diff --git a/api/SetMapByID.lua b/api/SetMapByID.lua index 159d878..c85aa3e 100644 --- a/api/SetMapByID.lua +++ b/api/SetMapByID.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param id number +---@param id number ---Sets the map based on a specified ID. For example, if you are an Undead character in the starting area, which is map ID 21, you can open your map and run SetMapByID(22) to change it to Western Plaguelands. In fact, you can run that anywhere If you are a fresh undead in tirisfal glades(MapAreaID:21), you get your map out, then you use SetMapByID(22) it will change to WPL -function SetMapByID(id) end \ No newline at end of file +function SetMapByID(id) end diff --git a/api/SetMapToCurrentZone.lua b/api/SetMapToCurrentZone.lua index 4abef22..185be25 100644 --- a/api/SetMapToCurrentZone.lua +++ b/api/SetMapToCurrentZone.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Sets the world map to show the zone in which the player is located -function SetMapToCurrentZone() end \ No newline at end of file +function SetMapToCurrentZone() end diff --git a/api/SetMaxAnimFramerate.lua b/api/SetMaxAnimFramerate.lua index bed622f..738d80e 100644 --- a/api/SetMaxAnimFramerate.lua +++ b/api/SetMaxAnimFramerate.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetMaxAnimFramerate() end \ No newline at end of file +function SetMaxAnimFramerate() end diff --git a/api/SetMerchantFilter.lua b/api/SetMerchantFilter.lua index b6f33a3..ffa6010 100644 --- a/api/SetMerchantFilter.lua +++ b/api/SetMerchantFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetMerchantFilter() end \ No newline at end of file +function SetMerchantFilter() end diff --git a/api/SetModifiedClick.lua b/api/SetModifiedClick.lua index eb9e6bb..1d9f8ba 100644 --- a/api/SetModifiedClick.lua +++ b/api/SetModifiedClick.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param action string ----@param binding string +---@param action string +---@param binding string ---Sets a modified click for a given action -function SetModifiedClick(action, binding) end \ No newline at end of file +function SetModifiedClick(action, binding) end diff --git a/api/SetMouselookOverrideBinding.lua b/api/SetMouselookOverrideBinding.lua index 2d3e112..9fe9697 100644 --- a/api/SetMouselookOverrideBinding.lua +++ b/api/SetMouselookOverrideBinding.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param key BUTTON2 ----@param BUTTON1 ----@param BUTTON2 ----@param binding string +---@param key BUTTON2 +---@param BUTTON1 +---@param BUTTON2 +---@param binding string ---Overrides the default mouselook bindings to perform another binding with the mouse buttons -function SetMouselookOverrideBinding(key, BUTTON1, BUTTON2, binding) end \ No newline at end of file +function SetMouselookOverrideBinding(key, BUTTON1, BUTTON2, binding) end diff --git a/api/SetMultiCastSpell.lua b/api/SetMultiCastSpell.lua index 378a545..659d82d 100644 --- a/api/SetMultiCastSpell.lua +++ b/api/SetMultiCastSpell.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param action number ----@param spell number +---@param action number +---@param spell number ---Sets a multi-cast action slot to a given spell. This function is used to set up the multi-cast action slots, such as the totem bar that was introduced with WoW 3.2. The player is able to customize three different sets of totems that can then be cast with a single click. -function SetMultiCastSpell(action, spell) end \ No newline at end of file +function SetMultiCastSpell(action, spell) end diff --git a/api/SetNamePlateMotionType.lua b/api/SetNamePlateMotionType.lua index 949c490..da05bbc 100644 --- a/api/SetNamePlateMotionType.lua +++ b/api/SetNamePlateMotionType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetNamePlateMotionType() end \ No newline at end of file +function SetNamePlateMotionType() end diff --git a/api/SetOptOutOfLoot.lua b/api/SetOptOutOfLoot.lua index e56e670..5c0454a 100644 --- a/api/SetOptOutOfLoot.lua +++ b/api/SetOptOutOfLoot.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enable boolean +---@param enable boolean ---Changes the player's preference to opt out of loot rolls. When opting out, no prompt will be shown for loot which ordinarily would prompt the player to roll (need/greed) or pass; the loot rolling process will continue for other group members as if the player had chosen to pass on every roll. -function SetOptOutOfLoot(enable) end \ No newline at end of file +function SetOptOutOfLoot(enable) end diff --git a/api/SetOverrideBinding.lua b/api/SetOverrideBinding.lua index 8375971..a92b5e7 100644 --- a/api/SetOverrideBinding.lua +++ b/api/SetOverrideBinding.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner table ----@param isPriority boolean ----@param key string ----@param command string +---@param owner table +---@param isPriority boolean +---@param key string +---@param command string ---Sets an override binding for a binding command. Override bindings are temporary. The bound key will revert to its normal setting once the override is removed. Priority overrides work the same way but will revert to the previous override binding (if present) rather than the base binding for the key. Call with a fourth argument of nil to remove the override binding for a specific key, or see ClearOverrideBindings() to remove all bindings associated with a given owner. -function SetOverrideBinding(owner, isPriority, key, command) end \ No newline at end of file +function SetOverrideBinding(owner, isPriority, key, command) end diff --git a/api/SetOverrideBindingClick.lua b/api/SetOverrideBindingClick.lua index 4659c56..36f5663 100644 --- a/api/SetOverrideBindingClick.lua +++ b/api/SetOverrideBindingClick.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner table ----@param isPriority boolean ----@param key string ----@param buttonName string ----@param mouseButton string +---@param owner table +---@param isPriority boolean +---@param key string +---@param buttonName string +---@param mouseButton string ---Sets an override binding to "click" a Button object. Override bindings are temporary. The bound key will revert to its normal setting once the override is removed. Priority overrides work the same way but will revert to the previous override binding (if present) rather than the base binding for the key. Call with a fourth argument of nil to remove the override binding for a specific key, or see ClearOverrideBindings() to remove all bindings associated with a given owner. -function SetOverrideBindingClick(owner, isPriority, key, buttonName, mouseButton) end \ No newline at end of file +function SetOverrideBindingClick(owner, isPriority, key, buttonName, mouseButton) end diff --git a/api/SetOverrideBindingItem.lua b/api/SetOverrideBindingItem.lua index a68b510..9caa4e3 100644 --- a/api/SetOverrideBindingItem.lua +++ b/api/SetOverrideBindingItem.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner table ----@param isPriority boolean ----@param key string ----@param itemID number ----@param itemName string ----@param itemLink string +---@param owner table +---@param isPriority boolean +---@param key string +---@param itemID number +---@param itemName string +---@param itemLink string ---Sets an override binding to use an item in the player's possession. Override bindings are temporary. The bound key will revert to its normal setting once the override is removed. Priority overrides work the same way but will revert to the previous override binding (if present) rather than the base binding for the key. Call with a fourth argument of nil to remove the override binding for a specific key, or see ClearOverrideBindings() to remove all bindings associated with a given owner. -function SetOverrideBindingItem(owner, isPriority, key, itemID, itemName, itemLink) end \ No newline at end of file +function SetOverrideBindingItem(owner, isPriority, key, itemID, itemName, itemLink) end diff --git a/api/SetOverrideBindingMacro.lua b/api/SetOverrideBindingMacro.lua index 13dd06f..3be690e 100644 --- a/api/SetOverrideBindingMacro.lua +++ b/api/SetOverrideBindingMacro.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner table ----@param isPriority boolean ----@param key string ----@param index number ----@param name string +---@param owner table +---@param isPriority boolean +---@param key string +---@param index number +---@param name string ---Sets an override binding to run a macro. Override bindings are temporary. The bound key will revert to its normal setting once the override is removed. Priority overrides work the same way but will revert to the previous override binding (if present) rather than the base binding for the key. Call with a fourth argument of nil to remove the override binding for a specific key, or see ClearOverrideBindings() to remove all bindings associated with a given owner. -function SetOverrideBindingMacro(owner, isPriority, key, index, name) end \ No newline at end of file +function SetOverrideBindingMacro(owner, isPriority, key, index, name) end diff --git a/api/SetOverrideBindingSpell.lua b/api/SetOverrideBindingSpell.lua index 73b3299..4f5a781 100644 --- a/api/SetOverrideBindingSpell.lua +++ b/api/SetOverrideBindingSpell.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param owner table ----@param isPriority boolean ----@param key string ----@param spellname string +---@param owner table +---@param isPriority boolean +---@param key string +---@param spellname string ---Set an override binding to a specific spell. Override bindings are temporary. The bound key will revert to its normal setting once the override is removed. Priority overrides work the same way but will revert to the previous override binding (if present) rather than the base binding for the key. See ClearOverrideBindings() to remove bindings associated with a given owner. -function SetOverrideBindingSpell(owner, isPriority, key, spellname) end \ No newline at end of file +function SetOverrideBindingSpell(owner, isPriority, key, spellname) end diff --git a/api/SetPVP.lua b/api/SetPVP.lua index 6e594d1..6a3d230 100644 --- a/api/SetPVP.lua +++ b/api/SetPVP.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param state 1nil +---@param state 1nil ---Enables or disables the player's desired PvP status. Enabling PvP takes effect immediately; disabling PvP begins a five-minute countdown after which PvP status will be disabled (if the player has taken no PvP actions). -function SetPVP(state) end \ No newline at end of file +function SetPVP(state) end diff --git a/api/SetPVPRoles.lua b/api/SetPVPRoles.lua index 8bd5662..c4dd77c 100644 --- a/api/SetPVPRoles.lua +++ b/api/SetPVPRoles.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetPVPRoles() end \ No newline at end of file +function SetPVPRoles() end diff --git a/api/SetPartyAssignment.lua b/api/SetPartyAssignment.lua index c2f2129..1b11951 100644 --- a/api/SetPartyAssignment.lua +++ b/api/SetPartyAssignment.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param assignment MAINTANK ----@param MAINASSIST ----@param MAINTANK ----@param unit string ----@param name string ----@param exactMatch boolean +---@param assignment MAINTANK +---@param MAINASSIST +---@param MAINTANK +---@param unit string +---@param name string +---@param exactMatch boolean ---Assigns a group role to a member of the player's party or raid -function SetPartyAssignment(assignment, MAINASSIST, MAINTANK, unit, name, exactMatch) end \ No newline at end of file +function SetPartyAssignment(assignment, MAINASSIST, MAINTANK, unit, name, exactMatch) end diff --git a/api/SetPendingReportPetTarget.lua b/api/SetPendingReportPetTarget.lua index b23a966..b7b712b 100644 --- a/api/SetPendingReportPetTarget.lua +++ b/api/SetPendingReportPetTarget.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetPendingReportPetTarget() end \ No newline at end of file +function SetPendingReportPetTarget() end diff --git a/api/SetPendingReportTarget.lua b/api/SetPendingReportTarget.lua index 88739a8..e856e51 100644 --- a/api/SetPendingReportTarget.lua +++ b/api/SetPendingReportTarget.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---Sets the target for a yet-to-be-made report.. Used in the stock UI when the "Report player" button is clicked on a unit frame as the report reason form still has to be filled out and the unit associated with the unitID could change before it is submitted. -function SetPendingReportTarget(unit) end \ No newline at end of file +function SetPendingReportTarget(unit) end diff --git a/api/SetPetSlot.lua b/api/SetPetSlot.lua index 8c5c2b0..941ccd1 100644 --- a/api/SetPetSlot.lua +++ b/api/SetPetSlot.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetPetSlot() end \ No newline at end of file +function SetPetSlot() end diff --git a/api/SetPetStablePaperdoll.lua b/api/SetPetStablePaperdoll.lua index de2cb5d..66d8219 100644 --- a/api/SetPetStablePaperdoll.lua +++ b/api/SetPetStablePaperdoll.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param model table +---@param model table ---Sets the given Model to show the selected stabled pet -function SetPetStablePaperdoll(model) end \ No newline at end of file +function SetPetStablePaperdoll(model) end diff --git a/api/SetPortraitTexture.lua b/api/SetPortraitTexture.lua index 7b3e2f0..14b3ba3 100644 --- a/api/SetPortraitTexture.lua +++ b/api/SetPortraitTexture.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param texture table ----@param unit string +---@param texture table +---@param unit string ---Sets a Texture object to show a portrait of a unit. Causes the client to render a view of the unit's model from a standard perspective into a circular 2D image and display it in the given Texture object. -function SetPortraitTexture(texture, unit) end \ No newline at end of file +function SetPortraitTexture(texture, unit) end diff --git a/api/SetPortraitToTexture.lua b/api/SetPortraitToTexture.lua index ffc43cf..072da61 100644 --- a/api/SetPortraitToTexture.lua +++ b/api/SetPortraitToTexture.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param frameName string ----@param texturePath string +---@param frameName string +---@param texturePath string ---Sets a Texture object to display an arbitrary texture, altering it to fit a circular frame. Used in the default UI to display square textures (such as item icons) within the circular "portrait" frames used in many default UI elements. Caveat: The texture must be of the BLP format. -function SetPortraitToTexture(frameName, texturePath) end \ No newline at end of file +function SetPortraitToTexture(frameName, texturePath) end diff --git a/api/SetRaidDifficultyID.lua b/api/SetRaidDifficultyID.lua index a1838e3..98490f9 100644 --- a/api/SetRaidDifficultyID.lua +++ b/api/SetRaidDifficultyID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetRaidDifficultyID() end \ No newline at end of file +function SetRaidDifficultyID() end diff --git a/api/SetRaidProfileOption.lua b/api/SetRaidProfileOption.lua index 47810d5..dac9919 100644 --- a/api/SetRaidProfileOption.lua +++ b/api/SetRaidProfileOption.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetRaidProfileOption() end \ No newline at end of file +function SetRaidProfileOption() end diff --git a/api/SetRaidProfileSavedPosition.lua b/api/SetRaidProfileSavedPosition.lua index 1c82414..6b82a68 100644 --- a/api/SetRaidProfileSavedPosition.lua +++ b/api/SetRaidProfileSavedPosition.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetRaidProfileSavedPosition() end \ No newline at end of file +function SetRaidProfileSavedPosition() end diff --git a/api/SetRaidSubgroup.lua b/api/SetRaidSubgroup.lua index b3af6ff..155dafb 100644 --- a/api/SetRaidSubgroup.lua +++ b/api/SetRaidSubgroup.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param subgroup number +---@param index number +---@param subgroup number ---Moves a raid member to a non-full raid subgroup. Only has effect if the player is the raid leader or a raid assistant. To put a member into a full subgroup (switching places with a member of that group), see SwapRaidSubgroup(). -function SetRaidSubgroup(index, subgroup) end \ No newline at end of file +function SetRaidSubgroup(index, subgroup) end diff --git a/api/SetRaidTargetProtected.lua b/api/SetRaidTargetProtected.lua index ae8aa1f..37c7e92 100644 --- a/api/SetRaidTargetProtected.lua +++ b/api/SetRaidTargetProtected.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetRaidTargetProtected() end \ No newline at end of file +function SetRaidTargetProtected() end diff --git a/api/SetRecruitingGuildSelection.lua b/api/SetRecruitingGuildSelection.lua index 5207008..652626e 100644 --- a/api/SetRecruitingGuildSelection.lua +++ b/api/SetRecruitingGuildSelection.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetRecruitingGuildSelection() end \ No newline at end of file +function SetRecruitingGuildSelection() end diff --git a/api/SetSavedInstanceExtend.lua b/api/SetSavedInstanceExtend.lua index c64c7e8..d522164 100644 --- a/api/SetSavedInstanceExtend.lua +++ b/api/SetSavedInstanceExtend.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSavedInstanceExtend() end \ No newline at end of file +function SetSavedInstanceExtend() end diff --git a/api/SetScreenResolution.lua b/api/SetScreenResolution.lua index 1089651..4dd17e2 100644 --- a/api/SetScreenResolution.lua +++ b/api/SetScreenResolution.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Changes the screen resolution -function SetScreenResolution(index) end \ No newline at end of file +function SetScreenResolution(index) end diff --git a/api/SetSelectedArtifact.lua b/api/SetSelectedArtifact.lua index fb34767..e4b2d2d 100644 --- a/api/SetSelectedArtifact.lua +++ b/api/SetSelectedArtifact.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSelectedArtifact() end \ No newline at end of file +function SetSelectedArtifact() end diff --git a/api/SetSelectedAuctionItem.lua b/api/SetSelectedAuctionItem.lua index 8bb9fc8..c93a23e 100644 --- a/api/SetSelectedAuctionItem.lua +++ b/api/SetSelectedAuctionItem.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param index number +---@param list owner +---@param bidder +---@param list +---@param owner +---@param index number ---Selects an item in an auction listing. Auction selection is used only for display and internal recordkeeping in the default UI; it has no direct effect on other Auction APIs. -function SetSelectedAuctionItem(list, bidder, list, owner, index) end \ No newline at end of file +function SetSelectedAuctionItem(list, bidder, list, owner, index) end diff --git a/api/SetSelectedDisplayChannel.lua b/api/SetSelectedDisplayChannel.lua index 8c8c828..5244c5c 100644 --- a/api/SetSelectedDisplayChannel.lua +++ b/api/SetSelectedDisplayChannel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a channel in the channel list display -function SetSelectedDisplayChannel(index) end \ No newline at end of file +function SetSelectedDisplayChannel(index) end diff --git a/api/SetSelectedFaction.lua b/api/SetSelectedFaction.lua index 2bf3834..3084840 100644 --- a/api/SetSelectedFaction.lua +++ b/api/SetSelectedFaction.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a faction in the reputation UI.   Selection has no bearing on other faction-related APIs; this function merely facilitates behaviors of Blizzard's reputation UI. -function SetSelectedFaction(index) end \ No newline at end of file +function SetSelectedFaction(index) end diff --git a/api/SetSelectedFriend.lua b/api/SetSelectedFriend.lua index 5b9118b..fa4c556 100644 --- a/api/SetSelectedFriend.lua +++ b/api/SetSelectedFriend.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a character in the player's friends list. Selection in the Friends list is used only for display in the default UI and has no effect on other Friends list APIs. -function SetSelectedFriend(index) end \ No newline at end of file +function SetSelectedFriend(index) end diff --git a/api/SetSelectedIgnore.lua b/api/SetSelectedIgnore.lua index d3e59d0..aaecdb2 100644 --- a/api/SetSelectedIgnore.lua +++ b/api/SetSelectedIgnore.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects a character in the player's ignore list. Selection in the Ignore list is used only for display in the default UI and has no effect on other Ignore list APIs. -function SetSelectedIgnore(index) end \ No newline at end of file +function SetSelectedIgnore(index) end diff --git a/api/SetSelectedMute.lua b/api/SetSelectedMute.lua index 610cd62..6c84443 100644 --- a/api/SetSelectedMute.lua +++ b/api/SetSelectedMute.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Selects an entry in the Muted list. Mute list selection is only used for display purposes in the default UI and has no effect on other API functions. -function SetSelectedMute(index) end \ No newline at end of file +function SetSelectedMute(index) end diff --git a/api/SetSelectedScreenResolutionIndex.lua b/api/SetSelectedScreenResolutionIndex.lua index 2be1652..861d251 100644 --- a/api/SetSelectedScreenResolutionIndex.lua +++ b/api/SetSelectedScreenResolutionIndex.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSelectedScreenResolutionIndex() end \ No newline at end of file +function SetSelectedScreenResolutionIndex() end diff --git a/api/SetSelectedWarGameType.lua b/api/SetSelectedWarGameType.lua index 985bfe4..5761c6f 100644 --- a/api/SetSelectedWarGameType.lua +++ b/api/SetSelectedWarGameType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSelectedWarGameType() end \ No newline at end of file +function SetSelectedWarGameType() end diff --git a/api/SetSendMailCOD.lua b/api/SetSendMailCOD.lua index cf7bf40..ea3866c 100644 --- a/api/SetSendMailCOD.lua +++ b/api/SetSendMailCOD.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Sets the Cash-On-Delivery cost of the outgoing message. Called in the default UI when clicking its Send button, immediately before sending the mail. -function SetSendMailCOD(amount) end \ No newline at end of file +function SetSendMailCOD(amount) end diff --git a/api/SetSendMailMoney.lua b/api/SetSendMailMoney.lua index 583da06..512fdb7 100644 --- a/api/SetSendMailMoney.lua +++ b/api/SetSendMailMoney.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number ----@return 1nil success +---@param amount number +---@return 1nil success ---Sets the amount of money to be sent with the outgoing message. Called in the default UI when clicking its Send button, immediately before sending the mail. Causes an error message if the amount plus postage exceeds the player's total money. -function SetSendMailMoney(amount) end \ No newline at end of file +function SetSendMailMoney(amount) end diff --git a/api/SetSendMailShowing.lua b/api/SetSendMailShowing.lua index f20eaa3..8571b2b 100644 --- a/api/SetSendMailShowing.lua +++ b/api/SetSendMailShowing.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param enable boolean +---@param enable boolean ---Enables or disables shortcuts for attaching items to outgoing mail. When shortcuts are enabled, UseContainerItem() (i.e. right-click in the default UI's container frames) attaches the item to the outgoing message instead of using it. -function SetSendMailShowing(enable) end \ No newline at end of file +function SetSendMailShowing(enable) end diff --git a/api/SetSortBagsRightToLeft.lua b/api/SetSortBagsRightToLeft.lua index ca0db33..3f0f216 100644 --- a/api/SetSortBagsRightToLeft.lua +++ b/api/SetSortBagsRightToLeft.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSortBagsRightToLeft() end \ No newline at end of file +function SetSortBagsRightToLeft() end diff --git a/api/SetSpecialization.lua b/api/SetSpecialization.lua index 6b141a9..d8f6d8d 100644 --- a/api/SetSpecialization.lua +++ b/api/SetSpecialization.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSpecialization() end \ No newline at end of file +function SetSpecialization() end diff --git a/api/SetSpellbookPetAction.lua b/api/SetSpellbookPetAction.lua index be4020e..323a662 100644 --- a/api/SetSpellbookPetAction.lua +++ b/api/SetSpellbookPetAction.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSpellbookPetAction() end \ No newline at end of file +function SetSpellbookPetAction() end diff --git a/api/SetSuperTrackedQuestID.lua b/api/SetSuperTrackedQuestID.lua index 0880a53..d5c5222 100644 --- a/api/SetSuperTrackedQuestID.lua +++ b/api/SetSuperTrackedQuestID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetSuperTrackedQuestID() end \ No newline at end of file +function SetSuperTrackedQuestID() end diff --git a/api/SetTaxiBenchmarkMode.lua b/api/SetTaxiBenchmarkMode.lua index 00eff28..463d3db 100644 --- a/api/SetTaxiBenchmarkMode.lua +++ b/api/SetTaxiBenchmarkMode.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param arg string +---@param arg string ---Enables or disables flight path benchmark mode. When benchmark mode is enabled, the next taxi flight the player takes will behave differently: camera movement is disabled and players/creatures/objects below the flight path will not be shown (allowing for consistent test conditions). After the flight, framerate statistics will be printed in the chat window and benchmark mode will be automatically disabled. -function SetTaxiBenchmarkMode(arg) end \ No newline at end of file +function SetTaxiBenchmarkMode(arg) end diff --git a/api/SetTaxiMap.lua b/api/SetTaxiMap.lua index 49ae0ec..f355a6d 100644 --- a/api/SetTaxiMap.lua +++ b/api/SetTaxiMap.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param texture table +---@param texture table ---Sets a Texture object to show the appropriate flight map texture. Only has effect while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function SetTaxiMap(texture) end \ No newline at end of file +function SetTaxiMap(texture) end diff --git a/api/SetTracking.lua b/api/SetTracking.lua index 5627239..1e37288 100644 --- a/api/SetTracking.lua +++ b/api/SetTracking.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param enabled boolean +---@param index number +---@param enabled boolean ---Enables a given minimap object/unit tracking ability -function SetTracking(index, enabled) end \ No newline at end of file +function SetTracking(index, enabled) end diff --git a/api/SetTradeCurrency.lua b/api/SetTradeCurrency.lua index 94282a8..4a21a45 100644 --- a/api/SetTradeCurrency.lua +++ b/api/SetTradeCurrency.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetTradeCurrency() end \ No newline at end of file +function SetTradeCurrency() end diff --git a/api/SetTradeMoney.lua b/api/SetTradeMoney.lua index 99a1918..14fe720 100644 --- a/api/SetTradeMoney.lua +++ b/api/SetTradeMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Offers an amount of money for trade -function SetTradeMoney(amount) end \ No newline at end of file +function SetTradeMoney(amount) end diff --git a/api/SetTradeSkillCategoryFilter.lua b/api/SetTradeSkillCategoryFilter.lua index bcbe120..c8f6e27 100644 --- a/api/SetTradeSkillCategoryFilter.lua +++ b/api/SetTradeSkillCategoryFilter.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Filters the trade skill listing by subclass of items produced -function SetTradeSkillCategoryFilter(index) end \ No newline at end of file +function SetTradeSkillCategoryFilter(index) end diff --git a/api/SetTradeSkillInvSlotFilter.lua b/api/SetTradeSkillInvSlotFilter.lua index 3c861e8..8c3db04 100644 --- a/api/SetTradeSkillInvSlotFilter.lua +++ b/api/SetTradeSkillInvSlotFilter.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param enable number ----@param exclusive 1nil +---@param index number +---@param enable number +---@param exclusive 1nil ---Filters the trade skill listing by equipment slot of items produced -function SetTradeSkillInvSlotFilter(index, enable, exclusive) end \ No newline at end of file +function SetTradeSkillInvSlotFilter(index, enable, exclusive) end diff --git a/api/SetTradeSkillItemLevelFilter.lua b/api/SetTradeSkillItemLevelFilter.lua index 67d6499..59b4c0c 100644 --- a/api/SetTradeSkillItemLevelFilter.lua +++ b/api/SetTradeSkillItemLevelFilter.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param minLevel number ----@param maxLevel number +---@param minLevel number +---@param maxLevel number ---Filters the trade skill listing by required level of items produced -function SetTradeSkillItemLevelFilter(minLevel, maxLevel) end \ No newline at end of file +function SetTradeSkillItemLevelFilter(minLevel, maxLevel) end diff --git a/api/SetTradeSkillItemNameFilter.lua b/api/SetTradeSkillItemNameFilter.lua index a17e9ac..fab9eb2 100644 --- a/api/SetTradeSkillItemNameFilter.lua +++ b/api/SetTradeSkillItemNameFilter.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param text string +---@param text string ---Filters the trade skill listing by name of recipe, item produced, or reagents. Uses a substring (not exact-match) search: e.g. for a Scribe, the search string "doc" might filter the list to show only Certificate of Ownership because it matches the word "documentation" in that item's tooltip; a search for "stam" will match all items providing a Stamina bonus. -function SetTradeSkillItemNameFilter(text) end \ No newline at end of file +function SetTradeSkillItemNameFilter(text) end diff --git a/api/SetTradeSkillRepeatCount.lua b/api/SetTradeSkillRepeatCount.lua index 8abf7ac..1f7183c 100644 --- a/api/SetTradeSkillRepeatCount.lua +++ b/api/SetTradeSkillRepeatCount.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SetTradeSkillRepeatCount() end \ No newline at end of file +function SetTradeSkillRepeatCount() end diff --git a/api/SetTrainerServiceTypeFilter.lua b/api/SetTrainerServiceTypeFilter.lua index 083fa98..c3ea19d 100644 --- a/api/SetTrainerServiceTypeFilter.lua +++ b/api/SetTrainerServiceTypeFilter.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type used ----@param available ----@param unavailable ----@param used ----@param enable number ----@param exclusive 1nil +---@param type used +---@param available +---@param unavailable +---@param used +---@param enable number +---@param exclusive 1nil ---Filters the trainer service listing by service status -function SetTrainerServiceTypeFilter(type, available, unavailable, used, enable, exclusive) end \ No newline at end of file +function SetTrainerServiceTypeFilter(type, available, unavailable, used, enable, exclusive) end diff --git a/api/SetUIVisibility.lua b/api/SetUIVisibility.lua index 4a3a1a2..626a888 100644 --- a/api/SetUIVisibility.lua +++ b/api/SetUIVisibility.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param visible boolean +---@param visible boolean ---Enables or disables display of UI elements in the 3-D world. Applies only to 2-D UI elements displayed in the 3-D world: nameplates and raid target icons (skull, circle, square, etc). Does not directly control nameplates and target icons -- only affects whether they are displayed (see the nameplateShowEnemies/nameplateShowFriends CVars and SetRaidTarget functions for direct control). Does not apply to 3-D UI elements such as the selection circle, area-effect targeting indicator, vehicle weapon aim indicator, etc. -function SetUIVisibility(visible) end \ No newline at end of file +function SetUIVisibility(visible) end diff --git a/api/SetView.lua b/api/SetView.lua index 85224fb..17b042c 100644 --- a/api/SetView.lua +++ b/api/SetView.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Moves the camera to a saved camera setting. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). -function SetView(index) end \ No newline at end of file +function SetView(index) end diff --git a/api/SetWatchedFactionIndex.lua b/api/SetWatchedFactionIndex.lua index 6eb68cd..1e78fda 100644 --- a/api/SetWatchedFactionIndex.lua +++ b/api/SetWatchedFactionIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Makes a faction the "watched" faction (displayed on the XP bar in the default UI) -function SetWatchedFactionIndex(index) end \ No newline at end of file +function SetWatchedFactionIndex(index) end diff --git a/api/SetWhoToUI.lua b/api/SetWhoToUI.lua index 4266b2d..f554380 100644 --- a/api/SetWhoToUI.lua +++ b/api/SetWhoToUI.lua @@ -4,6 +4,6 @@ ---| '0' - CHAT_MSG_SYSTEM ---| '1' - WHO_LIST_UPDATE ----@param state WHO_LIST_UPDATE +---@param state WHO_LIST_UPDATE ---Changes the delivery method for results from SendWho() queries. In the default UI, results delivered in CHAT_MSG_SYSTEM are printed in the main chat window; results delivered in a WHO_LIST_UPDATE event cause the FriendsFrame to be shown, displaying the results in its "Who" tab. -function SetWhoToUI(state) end \ No newline at end of file +function SetWhoToUI(state) end diff --git a/api/SetupFullscreenScale.lua b/api/SetupFullscreenScale.lua index d7e7fa2..b47fc54 100644 --- a/api/SetupFullscreenScale.lua +++ b/api/SetupFullscreenScale.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param frame table +---@param frame table ---Sizes a frame to take up the entire screen regardless of screen resolution -function SetupFullscreenScale(frame) end \ No newline at end of file +function SetupFullscreenScale(frame) end diff --git a/api/ShouldHideTalentsTab.lua b/api/ShouldHideTalentsTab.lua index d2c1d5f..95a997e 100644 --- a/api/ShouldHideTalentsTab.lua +++ b/api/ShouldHideTalentsTab.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ShouldHideTalentsTab() end \ No newline at end of file +function ShouldHideTalentsTab() end diff --git a/api/ShowAccountAchievements.lua b/api/ShowAccountAchievements.lua index 9a309b7..e2d4b90 100644 --- a/api/ShowAccountAchievements.lua +++ b/api/ShowAccountAchievements.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param show 1nil +---@param show 1nil ---Enables or disables the display of only character achievements to others. This is when people inspect you or use the Battle.net website or mobile app. -function ShowAccountAchievements(show) end \ No newline at end of file +function ShowAccountAchievements(show) end diff --git a/api/ShowBuybackSellCursor.lua b/api/ShowBuybackSellCursor.lua index b05bd50..03347f2 100644 --- a/api/ShowBuybackSellCursor.lua +++ b/api/ShowBuybackSellCursor.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Changes the cursor to prepare for repurchasing an item recently sold to a vendor. Only changes the cursor image and mode if the given index contains an item. -function ShowBuybackSellCursor(index) end \ No newline at end of file +function ShowBuybackSellCursor(index) end diff --git a/api/ShowCloak.lua b/api/ShowCloak.lua index ae37e82..3799dbd 100644 --- a/api/ShowCloak.lua +++ b/api/ShowCloak.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param show 1nil +---@param show 1nil ---Enables or disables display of the player's cloak. Only affects the player's appearance; does not change the other effects of having the cloak equipped. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. -function ShowCloak(show) end \ No newline at end of file +function ShowCloak(show) end diff --git a/api/ShowContainerSellCursor.lua b/api/ShowContainerSellCursor.lua index 13e12ee..9cb2234 100644 --- a/api/ShowContainerSellCursor.lua +++ b/api/ShowContainerSellCursor.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number +---@param container number +---@param slot number ---Changes the cursor to prepare for selling an item in the player's bags to a vendor. Only changes the cursor image and mode if the given container and slot contain an item. While the cursor is in "sell" mode, UseContainerItem() sells the item to the vendor instead of using it. -function ShowContainerSellCursor(container, slot) end \ No newline at end of file +function ShowContainerSellCursor(container, slot) end diff --git a/api/ShowFriends.lua b/api/ShowFriends.lua index 2eaa60a..cc41dff 100644 --- a/api/ShowFriends.lua +++ b/api/ShowFriends.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Requests friends/ignore list information from the server. Information is not returned immediately; the FRIENDLIST_UPDATE event fires when data becomes available for use by Friends/Ignore API functions. -function ShowFriends() end \ No newline at end of file +function ShowFriends() end diff --git a/api/ShowHelm.lua b/api/ShowHelm.lua index 5442065..dc3aab3 100644 --- a/api/ShowHelm.lua +++ b/api/ShowHelm.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param show 1nil +---@param show 1nil ---Enables or disables display of the player's headgear. Only affects the player's appearance; does not change the other effects of having the headgear equipped. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. -function ShowHelm(show) end \ No newline at end of file +function ShowHelm(show) end diff --git a/api/ShowInventorySellCursor.lua b/api/ShowInventorySellCursor.lua index fd1a102..4dbd14e 100644 --- a/api/ShowInventorySellCursor.lua +++ b/api/ShowInventorySellCursor.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Changes the cursor to prepare for selling an equipped item to a vendor. Only changes the cursor image and mode if the given slot contains an item. (Unlike ShowContainerSellCursor(), does not change the behavior of other functions to enable selling of items. Unused in the default UI.) -function ShowInventorySellCursor(slot) end \ No newline at end of file +function ShowInventorySellCursor(slot) end diff --git a/api/ShowMerchantSellCursor.lua b/api/ShowMerchantSellCursor.lua index 9d93017..f9b8d57 100644 --- a/api/ShowMerchantSellCursor.lua +++ b/api/ShowMerchantSellCursor.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Changes the cursor to prepare for buying an item from a vendor. Only changes the cursor image and mode if the given index contains an item. -function ShowMerchantSellCursor(index) end \ No newline at end of file +function ShowMerchantSellCursor(index) end diff --git a/api/ShowQuestComplete.lua b/api/ShowQuestComplete.lua index 3d4f2a8..0904ef2 100644 --- a/api/ShowQuestComplete.lua +++ b/api/ShowQuestComplete.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ShowQuestComplete() end \ No newline at end of file +function ShowQuestComplete() end diff --git a/api/ShowQuestOffer.lua b/api/ShowQuestOffer.lua index f101440..d629106 100644 --- a/api/ShowQuestOffer.lua +++ b/api/ShowQuestOffer.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ShowQuestOffer() end \ No newline at end of file +function ShowQuestOffer() end diff --git a/api/ShowRepairCursor.lua b/api/ShowRepairCursor.lua index 33623a3..5149573 100644 --- a/api/ShowRepairCursor.lua +++ b/api/ShowRepairCursor.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Puts the cursor in item repair mode. Unlike most other cursor functions, this functions changes the behavior as well as the appearance of the mouse cursor: while repair mode is active, calling PickupContainerItem() or PickupInventoryItem() will attempt to repair the item (and deduct the cost of such from the player's savings) instead of putting it on the cursor. Only has effect while the player is interacting with a vendor which can perform repairs; i.e. between the MERCHANT_SHOW and MERCHANT_CLOSED events, and only if CanMerchantRepair() returns 1. -function ShowRepairCursor() end \ No newline at end of file +function ShowRepairCursor() end diff --git a/api/ShowingCloak.lua b/api/ShowingCloak.lua index c60028a..78aefc3 100644 --- a/api/ShowingCloak.lua +++ b/api/ShowingCloak.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isShown +---@return 1nil isShown ---Returns whether the player's cloak is displayed. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. -function ShowingCloak() end \ No newline at end of file +function ShowingCloak() end diff --git a/api/ShowingHelm.lua b/api/ShowingHelm.lua index 00461ae..a069aef 100644 --- a/api/ShowingHelm.lua +++ b/api/ShowingHelm.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isShown +---@return 1nil isShown ---Returns whether the player's headgear is displayed. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. -function ShowingHelm() end \ No newline at end of file +function ShowingHelm() end diff --git a/api/SignPetition.lua b/api/SignPetition.lua index d1b74b9..ae025b5 100644 --- a/api/SignPetition.lua +++ b/api/SignPetition.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Signs the currently offered petition -function SignPetition() end \ No newline at end of file +function SignPetition() end diff --git a/api/SitStandOrDescendStart.lua b/api/SitStandOrDescendStart.lua index 84b9c05..3ae5d86 100644 --- a/api/SitStandOrDescendStart.lua +++ b/api/SitStandOrDescendStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes the player character to sit down if standing and vice versa (or begins descent if swimming or flying). Used by the SITORSTAND binding, which also controls descent when swimming or flying. -function SitStandOrDescendStart() end \ No newline at end of file +function SitStandOrDescendStart() end diff --git a/api/SocketContainerItem.lua b/api/SocketContainerItem.lua index d9c3cbf..04ed07e 100644 --- a/api/SocketContainerItem.lua +++ b/api/SocketContainerItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number +---@param container number +---@param slot number ---Opens an item from the player's bags for socketing -function SocketContainerItem(container, slot) end \ No newline at end of file +function SocketContainerItem(container, slot) end diff --git a/api/SocketInventoryItem.lua b/api/SocketInventoryItem.lua index 2e49413..277b46a 100644 --- a/api/SocketInventoryItem.lua +++ b/api/SocketInventoryItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Opens an equipped item for socketing -function SocketInventoryItem(slot) end \ No newline at end of file +function SocketInventoryItem(slot) end diff --git a/api/SocketItemToArtifact.lua b/api/SocketItemToArtifact.lua index 16ce6cb..0ba9d89 100644 --- a/api/SocketItemToArtifact.lua +++ b/api/SocketItemToArtifact.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SocketItemToArtifact() end \ No newline at end of file +function SocketItemToArtifact() end diff --git a/api/SolveArtifact.lua b/api/SolveArtifact.lua index c0aa661..45b4dd4 100644 --- a/api/SolveArtifact.lua +++ b/api/SolveArtifact.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Performs the solve archaeology spell. Used to start the cast of a solve archaeology spell on the named fragment type. SolveArtifact() Dwarf, Draenei, Fossil, Night Elf, Nerubian, Orc, Tol'vir, Troll, Vrykul, Mantid,Pandaren, Mogu, Arakkoa, Draenor Clans, Ogre -function SolveArtifact() end \ No newline at end of file +function SolveArtifact() end diff --git a/api/SortAuctionApplySort.lua b/api/SortAuctionApplySort.lua index 7bad00a..44e884c 100644 --- a/api/SortAuctionApplySort.lua +++ b/api/SortAuctionApplySort.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner +---@param list owner +---@param bidder +---@param list +---@param owner ---Applies a set of auction listing sort criteria set via SortAuctionSetSort. Sort criteria are applied server-side, affecting not only the order of items within one "page" of listings but the order in which items are collected into pages. Any currently displayed listings are re-sorted server-side: the AUCTION_ITEM_LIST_UPDATE, AUCTION_BIDDER_LIST_UPDATE, or AUCTION_OWNED_LIST_UPDATE event fires once the re-sorted data is available to the client; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs. -function SortAuctionApplySort(list, bidder, list, owner) end \ No newline at end of file +function SortAuctionApplySort(list, bidder, list, owner) end diff --git a/api/SortAuctionClearSort.lua b/api/SortAuctionClearSort.lua index 163735d..c6ec5e7 100644 --- a/api/SortAuctionClearSort.lua +++ b/api/SortAuctionClearSort.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner +---@param list owner +---@param bidder +---@param list +---@param owner ---Clears any current sorting rules for an auction house listing -function SortAuctionClearSort(list, bidder, list, owner) end \ No newline at end of file +function SortAuctionClearSort(list, bidder, list, owner) end diff --git a/api/SortAuctionItems.lua b/api/SortAuctionItems.lua index 88b75f9..a63836d 100644 --- a/api/SortAuctionItems.lua +++ b/api/SortAuctionItems.lua @@ -1,19 +1,36 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type owner ----@param bidder ----@param list ----@param owner ----@param sort bidder ----@param bid ----@param buyout ----@param duration ----@param level ----@param minbidbuyout ----@param name ----@param quality ----@param quantity ----@param seller owner ----@param status bidder +---@param type owner +---@param bidder +---@param list +---@param owner +---@param sort bidder +---@param bid +---@param buyout +---@param duration +---@param level +---@param minbidbuyout +---@param name +---@param quality +---@param quantity +---@param seller owner +---@param status bidder ---Sorts the auction house listing. No longer used in the default UI; see SortAuctionClearSort(), SortAuctionSetSort(), and SortAuctionApplySort() instead. -function SortAuctionItems(type, bidder, list, owner, sort, bid, buyout, duration, level, minbidbuyout, name, quality, quantity, seller, status) end \ No newline at end of file +function SortAuctionItems( + type, + bidder, + list, + owner, + sort, + bid, + buyout, + duration, + level, + minbidbuyout, + name, + quality, + quantity, + seller, + status +) +end diff --git a/api/SortAuctionSetSort.lua b/api/SortAuctionSetSort.lua index 68da29b..a8e5ba1 100644 --- a/api/SortAuctionSetSort.lua +++ b/api/SortAuctionSetSort.lua @@ -1,20 +1,38 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param list owner ----@param bidder ----@param list ----@param owner ----@param sort bidder ----@param bid ----@param buyout ----@param duration ----@param level ----@param minbidbuyout ----@param name ----@param quality ----@param quantity ----@param seller owner ----@param status bidder ----@param reversed boolean +---@param list owner +---@param bidder +---@param list +---@param owner +---@param sort bidder +---@param bid +---@param buyout +---@param duration +---@param level +---@param minbidbuyout +---@param name +---@param quality +---@param quantity +---@param seller owner +---@param status bidder +---@param reversed boolean ---Builds a list of sort criteria for auction listings. Has no effect until SortAuctionApplySort(type) is called; thus, this function can be called repeatedly to build a complex set of sort criteria. Sort criteria are applied server-side, affecting not only the order of items within one "page" of listings but the order in which items are collected into pages. Criteria are applied in the order set by this function; i.e. the last criterion set becomes the primary sort criterion (see example). -function SortAuctionSetSort(list, bidder, list, owner, sort, bid, buyout, duration, level, minbidbuyout, name, quality, quantity, seller, status, reversed) end \ No newline at end of file +function SortAuctionSetSort( + list, + bidder, + list, + owner, + sort, + bid, + buyout, + duration, + level, + minbidbuyout, + name, + quality, + quantity, + seller, + status, + reversed +) +end diff --git a/api/SortBags.lua b/api/SortBags.lua index 0f35989..a476676 100644 --- a/api/SortBags.lua +++ b/api/SortBags.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SortBags() end \ No newline at end of file +function SortBags() end diff --git a/api/SortBankBags.lua b/api/SortBankBags.lua index 7a2ac3d..ecff9ec 100644 --- a/api/SortBankBags.lua +++ b/api/SortBankBags.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Sorts Bank Bags. Only available while interacting with a banker NPC (i.e. between the BANKFRAMEOPENED and BANKFRAMECLOSED events). -function SortBankBags() end \ No newline at end of file +function SortBankBags() end diff --git a/api/SortBattlefieldScoreData.lua b/api/SortBattlefieldScoreData.lua index 994513b..9631062 100644 --- a/api/SortBattlefieldScoreData.lua +++ b/api/SortBattlefieldScoreData.lua @@ -1,21 +1,40 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sortType team ----@param class ----@param cp ----@param damage ----@param deaths ----@param healing ----@param hk ----@param kills ----@param name ----@param stat1 ----@param stat2 ----@param stat3 ----@param stat4 ----@param stat5 ----@param stat6 ----@param stat7 ----@param team +---@param sortType team +---@param class +---@param cp +---@param damage +---@param deaths +---@param healing +---@param hk +---@param kills +---@param name +---@param stat1 +---@param stat2 +---@param stat3 +---@param stat4 +---@param stat5 +---@param stat6 +---@param stat7 +---@param team ---Sorts the battleground scoreboard. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc. For the name and icon associated with each statistic, see GetBattlefieldStatInfo(). -function SortBattlefieldScoreData(sortType, class, cp, damage, deaths, healing, hk, kills, name, stat1, stat2, stat3, stat4, stat5, stat6, stat7, team) end \ No newline at end of file +function SortBattlefieldScoreData( + sortType, + class, + cp, + damage, + deaths, + healing, + hk, + kills, + name, + stat1, + stat2, + stat3, + stat4, + stat5, + stat6, + stat7, + team +) +end diff --git a/api/SortGuildRoster.lua b/api/SortGuildRoster.lua index c3e27ff..86b474e 100644 --- a/api/SortGuildRoster.lua +++ b/api/SortGuildRoster.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param type zone ----@param class ----@param level ----@param name ----@param note ----@param online ----@param rank ----@param zone +---@param type zone +---@param class +---@param level +---@param name +---@param note +---@param online +---@param rank +---@param zone ---Sorts the guild roster. Sorting repeatedly by the same criterion will reverse the sort order. Previous sorts are reused when a new criterion is applied: to sort by two criteria, sort first by the secondary criterion and then by the primary criterion. -function SortGuildRoster(type, class, level, name, note, online, rank, zone) end \ No newline at end of file +function SortGuildRoster(type, class, level, name, note, online, rank, zone) end diff --git a/api/SortGuildTradeSkill.lua b/api/SortGuildTradeSkill.lua index 65d8deb..4914ac8 100644 --- a/api/SortGuildTradeSkill.lua +++ b/api/SortGuildTradeSkill.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SortGuildTradeSkill() end \ No newline at end of file +function SortGuildTradeSkill() end diff --git a/api/SortQuestWatches.lua b/api/SortQuestWatches.lua index 0a868d1..4cd9705 100644 --- a/api/SortQuestWatches.lua +++ b/api/SortQuestWatches.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean changed +---@return boolean changed ---Sorts the quests listed in the watch frame based on the set criteria -function SortQuestWatches() end \ No newline at end of file +function SortQuestWatches() end diff --git a/api/SortReagentBankBags.lua b/api/SortReagentBankBags.lua index 29b4949..ec8955b 100644 --- a/api/SortReagentBankBags.lua +++ b/api/SortReagentBankBags.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Sorts Reagent Bank. Only available while interacting with a banker NPC (i.e. between the BANKFRAMEOPENED and BANKFRAMECLOSED events). -function SortReagentBankBags() end \ No newline at end of file +function SortReagentBankBags() end diff --git a/api/SortWho.lua b/api/SortWho.lua index a4c8405..d32c716 100644 --- a/api/SortWho.lua +++ b/api/SortWho.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sortType zone ----@param class ----@param guild ----@param level ----@param name ----@param race ----@param zone +---@param sortType zone +---@param class +---@param guild +---@param level +---@param name +---@param race +---@param zone ---Sorts the Who system query results list. Sorting by the same criterion twice will reverse the sort order. -function SortWho(sortType, class, guild, level, name, race, zone) end \ No newline at end of file +function SortWho(sortType, class, guild, level, name, race, zone) end diff --git a/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua b/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua index 48c61e2..9080feb 100644 --- a/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua +++ b/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Returns the name of the given chat system sound input driver -function Sound_ChatSystem_GetInputDriverNameByIndex(index) end \ No newline at end of file +function Sound_ChatSystem_GetInputDriverNameByIndex(index) end diff --git a/api/Sound_ChatSystem_GetNumInputDrivers.lua b/api/Sound_ChatSystem_GetNumInputDrivers.lua index 4ec10e5..83d3488 100644 --- a/api/Sound_ChatSystem_GetNumInputDrivers.lua +++ b/api/Sound_ChatSystem_GetNumInputDrivers.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the number of chat system sound input drivers -function Sound_ChatSystem_GetNumInputDrivers() end \ No newline at end of file +function Sound_ChatSystem_GetNumInputDrivers() end diff --git a/api/Sound_ChatSystem_GetNumOutputDrivers.lua b/api/Sound_ChatSystem_GetNumOutputDrivers.lua index fe89784..d7156b2 100644 --- a/api/Sound_ChatSystem_GetNumOutputDrivers.lua +++ b/api/Sound_ChatSystem_GetNumOutputDrivers.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the number of chat system sound output drivers -function Sound_ChatSystem_GetNumOutputDrivers() end \ No newline at end of file +function Sound_ChatSystem_GetNumOutputDrivers() end diff --git a/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua b/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua index 7337ddf..4b7ae46 100644 --- a/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua +++ b/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Returns the name of the given chat system sound output driver -function Sound_ChatSystem_GetOutputDriverNameByIndex(index) end \ No newline at end of file +function Sound_ChatSystem_GetOutputDriverNameByIndex(index) end diff --git a/api/Sound_GameSystem_GetInputDriverNameByIndex.lua b/api/Sound_GameSystem_GetInputDriverNameByIndex.lua index 29ce698..0f07a47 100644 --- a/api/Sound_GameSystem_GetInputDriverNameByIndex.lua +++ b/api/Sound_GameSystem_GetInputDriverNameByIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Returns the name of the given game sound input driver -function Sound_GameSystem_GetInputDriverNameByIndex(index) end \ No newline at end of file +function Sound_GameSystem_GetInputDriverNameByIndex(index) end diff --git a/api/Sound_GameSystem_GetNumInputDrivers.lua b/api/Sound_GameSystem_GetNumInputDrivers.lua index 2d69cb4..0865ae3 100644 --- a/api/Sound_GameSystem_GetNumInputDrivers.lua +++ b/api/Sound_GameSystem_GetNumInputDrivers.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the number of game sound input drivers -function Sound_GameSystem_GetNumInputDrivers() end \ No newline at end of file +function Sound_GameSystem_GetNumInputDrivers() end diff --git a/api/Sound_GameSystem_GetNumOutputDrivers.lua b/api/Sound_GameSystem_GetNumOutputDrivers.lua index 1b68aed..59a0ba9 100644 --- a/api/Sound_GameSystem_GetNumOutputDrivers.lua +++ b/api/Sound_GameSystem_GetNumOutputDrivers.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Returns the number of game sound output drivers -function Sound_GameSystem_GetNumOutputDrivers() end \ No newline at end of file +function Sound_GameSystem_GetNumOutputDrivers() end diff --git a/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua b/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua index 1a31141..f4bc165 100644 --- a/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua +++ b/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Returns the name of the given game sound output driver -function Sound_GameSystem_GetOutputDriverNameByIndex(index) end \ No newline at end of file +function Sound_GameSystem_GetOutputDriverNameByIndex(index) end diff --git a/api/Sound_GameSystem_RestartSoundSystem.lua b/api/Sound_GameSystem_RestartSoundSystem.lua index 64bb47e..4398b2f 100644 --- a/api/Sound_GameSystem_RestartSoundSystem.lua +++ b/api/Sound_GameSystem_RestartSoundSystem.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Restarts the game's sound systems -function Sound_GameSystem_RestartSoundSystem() end \ No newline at end of file +function Sound_GameSystem_RestartSoundSystem() end diff --git a/api/SpellCanTargetGlyph.lua b/api/SpellCanTargetGlyph.lua index 6eea121..bdbe8a6 100644 --- a/api/SpellCanTargetGlyph.lua +++ b/api/SpellCanTargetGlyph.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canTarget +---@return 1nil canTarget ---Returns whether the spell currently awaiting a target requires a glyph slot to be chosen. Only applies when the player has attempted to cast a spell -- in this case, the "spell" cast when one uses a glyph item -- but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing). -function SpellCanTargetGlyph() end \ No newline at end of file +function SpellCanTargetGlyph() end diff --git a/api/SpellCanTargetItem.lua b/api/SpellCanTargetItem.lua index 3b135b3..25419ab 100644 --- a/api/SpellCanTargetItem.lua +++ b/api/SpellCanTargetItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil canTarget +---@return 1nil canTarget ---Returns whether the spell currently awaiting a target requires an item to be chosen. Only applies when the player has attempted to cast a spell but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing). -function SpellCanTargetItem() end \ No newline at end of file +function SpellCanTargetItem() end diff --git a/api/SpellCanTargetUnit.lua b/api/SpellCanTargetUnit.lua index 5682450..dae175a 100644 --- a/api/SpellCanTargetUnit.lua +++ b/api/SpellCanTargetUnit.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil canTarget +---@param unit string +---@param name string +---@return 1nil canTarget ---Returns whether the spell currently awaiting a target can target a given unit. Only applies when the player has attempted to cast a spell but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing). -function SpellCanTargetUnit(unit, name) end \ No newline at end of file +function SpellCanTargetUnit(unit, name) end diff --git a/api/SpellCancelQueuedSpell.lua b/api/SpellCancelQueuedSpell.lua index ca6276e..1b4f6ed 100644 --- a/api/SpellCancelQueuedSpell.lua +++ b/api/SpellCancelQueuedSpell.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SpellCancelQueuedSpell() end \ No newline at end of file +function SpellCancelQueuedSpell() end diff --git a/api/SpellGetVisibilityInfo.lua b/api/SpellGetVisibilityInfo.lua index 1f33498..41ae245 100644 --- a/api/SpellGetVisibilityInfo.lua +++ b/api/SpellGetVisibilityInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SpellGetVisibilityInfo() end \ No newline at end of file +function SpellGetVisibilityInfo() end diff --git a/api/SpellHasRange.lua b/api/SpellHasRange.lua index 7f51ded..21d4193 100644 --- a/api/SpellHasRange.lua +++ b/api/SpellHasRange.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string ----@return 1nil hasRange +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string +---@return 1nil hasRange ---Returns whether an item has a range limitation for its use. For example: Shadowbolt can only be used on a unit within a given range of the player; Ritual of Summoning requires a target but has no range restriction; Fel Armor has no target and thus no range restriction. -function SpellHasRange(index, bookType, pet, spell, name) end \ No newline at end of file +function SpellHasRange(index, bookType, pet, spell, name) end diff --git a/api/SpellIsAlwaysShown.lua b/api/SpellIsAlwaysShown.lua index 40f150f..43b41c3 100644 --- a/api/SpellIsAlwaysShown.lua +++ b/api/SpellIsAlwaysShown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SpellIsAlwaysShown() end \ No newline at end of file +function SpellIsAlwaysShown() end diff --git a/api/SpellIsSelfBuff.lua b/api/SpellIsSelfBuff.lua index 2b11d9d..e803106 100644 --- a/api/SpellIsSelfBuff.lua +++ b/api/SpellIsSelfBuff.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param spellID integer ----@return boolean state +---@param spellID integer +---@return boolean state ---Checks if a given spell ID can be cast on the player. Returns a boolean indicating if the spell is a buff that can be applied to the player. -function SpellIsSelfBuff(spellID) end \ No newline at end of file +function SpellIsSelfBuff(spellID) end diff --git a/api/SpellIsTargeting.lua b/api/SpellIsTargeting.lua index 1af12f4..20897da 100644 --- a/api/SpellIsTargeting.lua +++ b/api/SpellIsTargeting.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isTargeting +---@return 1nil isTargeting ---Returns whether a spell is currently awaiting a target -function SpellIsTargeting() end \ No newline at end of file +function SpellIsTargeting() end diff --git a/api/SpellStopCasting.lua b/api/SpellStopCasting.lua index e528504..236b780 100644 --- a/api/SpellStopCasting.lua +++ b/api/SpellStopCasting.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops casting or targeting the spell in progress -function SpellStopCasting() end \ No newline at end of file +function SpellStopCasting() end diff --git a/api/SpellStopTargeting.lua b/api/SpellStopTargeting.lua index 48a4b09..e49a85a 100644 --- a/api/SpellStopTargeting.lua +++ b/api/SpellStopTargeting.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels the spell currently awaiting a target. When auto-self cast is not enabled and the player casts a spell that requires a target, the cursor changes to a glowing hand so the user can select a target. This function cancels targeting mode so the player can cast another spell. -function SpellStopTargeting() end \ No newline at end of file +function SpellStopTargeting() end diff --git a/api/SpellTargetItem.lua b/api/SpellTargetItem.lua index 55a0c2a..433aba9 100644 --- a/api/SpellTargetItem.lua +++ b/api/SpellTargetItem.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string +---@param itemID number +---@param itemName string +---@param itemLink string ---Casts the spell currently awaiting a target on an item. Usable when the player has attempted to cast a spell (e.g. an Enchanting recipe or the "Use:" effect of a sharpening stone or fishing lure) but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing). -function SpellTargetItem(itemID, itemName, itemLink) end \ No newline at end of file +function SpellTargetItem(itemID, itemName, itemLink) end diff --git a/api/SpellTargetUnit.lua b/api/SpellTargetUnit.lua index ac473f1..7881842 100644 --- a/api/SpellTargetUnit.lua +++ b/api/SpellTargetUnit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Casts the spell currently awaiting a target on a unit -function SpellTargetUnit(unit, name) end \ No newline at end of file +function SpellTargetUnit(unit, name) end diff --git a/api/SplitContainerItem.lua b/api/SplitContainerItem.lua index 18cfc66..2843be1 100644 --- a/api/SplitContainerItem.lua +++ b/api/SplitContainerItem.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@param amount number +---@param container number +---@param slot number +---@param amount number ---Picks up only part of a stack of items from one of the player's bags or other containers. Has no effect if the given amount is greater than the number of items stacked in the slot. -function SplitContainerItem(container, slot, amount) end \ No newline at end of file +function SplitContainerItem(container, slot, amount) end diff --git a/api/SplitGuildBankItem.lua b/api/SplitGuildBankItem.lua index 878ef44..43f1dee 100644 --- a/api/SplitGuildBankItem.lua +++ b/api/SplitGuildBankItem.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param tab number ----@param slot number ----@param amount number +---@param tab number +---@param slot number +---@param amount number ---Picks up only part of a stack of items from the guild bank. Has no effect if the given amount is greater than the number of items stacked in the slot. -function SplitGuildBankItem(tab, slot, amount) end \ No newline at end of file +function SplitGuildBankItem(tab, slot, amount) end diff --git a/api/StartAttack.lua b/api/StartAttack.lua index 7cfb684..2a1bde5 100644 --- a/api/StartAttack.lua +++ b/api/StartAttack.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string +---@param unit string +---@param name string ---Begins auto-attack against a specified target -function StartAttack(unit, name) end \ No newline at end of file +function StartAttack(unit, name) end diff --git a/api/StartDuel.lua b/api/StartDuel.lua index 8029b4f..fcf25ed 100644 --- a/api/StartDuel.lua +++ b/api/StartDuel.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@param exactMatch boolean +---@param unit string +---@param name string +---@param exactMatch boolean ---Challenges another player to a duel -function StartDuel(unit, name, exactMatch) end \ No newline at end of file +function StartDuel(unit, name, exactMatch) end diff --git a/api/StartSpectatorWarGame.lua b/api/StartSpectatorWarGame.lua index 4dc4601..3574860 100644 --- a/api/StartSpectatorWarGame.lua +++ b/api/StartSpectatorWarGame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function StartSpectatorWarGame() end \ No newline at end of file +function StartSpectatorWarGame() end diff --git a/api/StartWarGame.lua b/api/StartWarGame.lua index 341c33f..a41596a 100644 --- a/api/StartWarGame.lua +++ b/api/StartWarGame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function StartWarGame() end \ No newline at end of file +function StartWarGame() end diff --git a/api/StartWarGameByName.lua b/api/StartWarGameByName.lua index 42846f4..ea9eee5 100644 --- a/api/StartWarGameByName.lua +++ b/api/StartWarGameByName.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function StartWarGameByName() end \ No newline at end of file +function StartWarGameByName() end diff --git a/api/StopAttack.lua b/api/StopAttack.lua index 5e36ec2..8706c4f 100644 --- a/api/StopAttack.lua +++ b/api/StopAttack.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops auto-attack if active -function StopAttack() end \ No newline at end of file +function StopAttack() end diff --git a/api/StopCinematic.lua b/api/StopCinematic.lua index 9ee96fd..30a142d 100644 --- a/api/StopCinematic.lua +++ b/api/StopCinematic.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Exits a currently playing in-game cinematic. Applies to in-game-engine cinematics (such as when logging into a new character for the first time), not prerecorded movies. -function StopCinematic() end \ No newline at end of file +function StopCinematic() end diff --git a/api/StopMacro.lua b/api/StopMacro.lua index a19934d..edf282f 100644 --- a/api/StopMacro.lua +++ b/api/StopMacro.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops execution of a running macro -function StopMacro() end \ No newline at end of file +function StopMacro() end diff --git a/api/StopMusic.lua b/api/StopMusic.lua index 561c79f..e055988 100644 --- a/api/StopMusic.lua +++ b/api/StopMusic.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops currently playing in-game music -function StopMusic() end \ No newline at end of file +function StopMusic() end diff --git a/api/StopSound.lua b/api/StopSound.lua index e811174..ca754d9 100644 --- a/api/StopSound.lua +++ b/api/StopSound.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param soundHandle number +---@param soundHandle number ---Stop a playing sound. Stops a sound that has been started with either PlaySound or PlaySoundFile using the handle given as the second return by both functions. -function StopSound(soundHandle) end \ No newline at end of file +function StopSound(soundHandle) end diff --git a/api/StopTradeSkillRepeat.lua b/api/StopTradeSkillRepeat.lua index 246403c..25e8190 100644 --- a/api/StopTradeSkillRepeat.lua +++ b/api/StopTradeSkillRepeat.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Cancels repetition of a trade skill recipe. If a recipe is currently being performed, it will continue, but further scheduled repetitions will be canceled. -function StopTradeSkillRepeat() end \ No newline at end of file +function StopTradeSkillRepeat() end diff --git a/api/Stopwatch_Clear.lua b/api/Stopwatch_Clear.lua index ad1980a..5a2c04a 100644 --- a/api/Stopwatch_Clear.lua +++ b/api/Stopwatch_Clear.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function Stopwatch_Clear() end \ No newline at end of file +function Stopwatch_Clear() end diff --git a/api/Stopwatch_FinishCountdown.lua b/api/Stopwatch_FinishCountdown.lua index eedb355..a0c88c1 100644 --- a/api/Stopwatch_FinishCountdown.lua +++ b/api/Stopwatch_FinishCountdown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function Stopwatch_FinishCountdown() end \ No newline at end of file +function Stopwatch_FinishCountdown() end diff --git a/api/Stopwatch_IsPlaying.lua b/api/Stopwatch_IsPlaying.lua index 780c193..7a61012 100644 --- a/api/Stopwatch_IsPlaying.lua +++ b/api/Stopwatch_IsPlaying.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isPlaying +---@return boolean isPlaying ---Returns True/False if Stop Watch is running. -function Stopwatch_IsPlaying() end \ No newline at end of file +function Stopwatch_IsPlaying() end diff --git a/api/Stopwatch_Pause.lua b/api/Stopwatch_Pause.lua index 5a6adce..4cc4226 100644 --- a/api/Stopwatch_Pause.lua +++ b/api/Stopwatch_Pause.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function Stopwatch_Pause() end \ No newline at end of file +function Stopwatch_Pause() end diff --git a/api/Stopwatch_Play.lua b/api/Stopwatch_Play.lua index 173b2c9..4616b1e 100644 --- a/api/Stopwatch_Play.lua +++ b/api/Stopwatch_Play.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function Stopwatch_Play() end \ No newline at end of file +function Stopwatch_Play() end diff --git a/api/Stopwatch_StartCountdown.lua b/api/Stopwatch_StartCountdown.lua index ee3e660..0e5f202 100644 --- a/api/Stopwatch_StartCountdown.lua +++ b/api/Stopwatch_StartCountdown.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param hours integer ----@param minutes integer ----@param seconds integer +---@param hours integer +---@param minutes integer +---@param seconds integer ---Sets the Stop Watches timer value -function Stopwatch_StartCountdown(hours, minutes, seconds) end \ No newline at end of file +function Stopwatch_StartCountdown(hours, minutes, seconds) end diff --git a/api/Stopwatch_Toggle.lua b/api/Stopwatch_Toggle.lua index 9838d6d..c04ec2e 100644 --- a/api/Stopwatch_Toggle.lua +++ b/api/Stopwatch_Toggle.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Toggles visibility of the StopwatchFrame -function Stopwatch_Toggle() end \ No newline at end of file +function Stopwatch_Toggle() end diff --git a/api/StrafeLeftStart.lua b/api/StrafeLeftStart.lua index 3d8ab4c..7051a1d 100644 --- a/api/StrafeLeftStart.lua +++ b/api/StrafeLeftStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins moving the player character sideways to his or her left -function StrafeLeftStart() end \ No newline at end of file +function StrafeLeftStart() end diff --git a/api/StrafeLeftStop.lua b/api/StrafeLeftStop.lua index 4c119cc..044dd83 100644 --- a/api/StrafeLeftStop.lua +++ b/api/StrafeLeftStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by StrafeLeftStart -function StrafeLeftStop() end \ No newline at end of file +function StrafeLeftStop() end diff --git a/api/StrafeRightStart.lua b/api/StrafeRightStart.lua index 24052db..df73724 100644 --- a/api/StrafeRightStart.lua +++ b/api/StrafeRightStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins moving the player character sideways to his or her right -function StrafeRightStart() end \ No newline at end of file +function StrafeRightStart() end diff --git a/api/StrafeRightStop.lua b/api/StrafeRightStop.lua index ac33f0a..ef9b03e 100644 --- a/api/StrafeRightStop.lua +++ b/api/StrafeRightStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by StrafeRightStart -function StrafeRightStop() end \ No newline at end of file +function StrafeRightStop() end diff --git a/api/Stuck.lua b/api/Stuck.lua index e2f84bc..28b4ab5 100644 --- a/api/Stuck.lua +++ b/api/Stuck.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Uses the auto-unstuck feature -function Stuck() end \ No newline at end of file +function Stuck() end diff --git a/api/SubmitRequiredGuildRename.lua b/api/SubmitRequiredGuildRename.lua index adaba2b..e4bf590 100644 --- a/api/SubmitRequiredGuildRename.lua +++ b/api/SubmitRequiredGuildRename.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function SubmitRequiredGuildRename() end \ No newline at end of file +function SubmitRequiredGuildRename() end diff --git a/api/SummonFriend.lua b/api/SummonFriend.lua index 458b1e4..707fd98 100644 --- a/api/SummonFriend.lua +++ b/api/SummonFriend.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param unit string +---@param name string +---@param unit string ---Summons a unit whose account is linked to the player's via the Recruit-a-Friend program. Does not instantly teleport the unit -- calling this function begins casting the Summon Friend "spell", and once it completes the unit is prompted to accept or decline the summon. -function SummonFriend(name, unit) end \ No newline at end of file +function SummonFriend(name, unit) end diff --git a/api/SummonRandomCritter.lua b/api/SummonRandomCritter.lua index 433f42d..0a7d33c 100644 --- a/api/SummonRandomCritter.lua +++ b/api/SummonRandomCritter.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Summons a random critter companion -function SummonRandomCritter() end \ No newline at end of file +function SummonRandomCritter() end diff --git a/api/SwapRaidSubgroup.lua b/api/SwapRaidSubgroup.lua index be76b6c..be895be 100644 --- a/api/SwapRaidSubgroup.lua +++ b/api/SwapRaidSubgroup.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index1 number ----@param index2 number +---@param index1 number +---@param index2 number ---Swaps two raid members between subgroups in the raid. Only has effect if the player is the raid leader or a raid assistant. To move a member into a non-full subgroup without switching places with another member, see SetRaidSubgroup(). -function SwapRaidSubgroup(index1, index2) end \ No newline at end of file +function SwapRaidSubgroup(index1, index2) end diff --git a/api/TakeInboxItem.lua b/api/TakeInboxItem.lua index 46849e7..c21046d 100644 --- a/api/TakeInboxItem.lua +++ b/api/TakeInboxItem.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number ----@param attachmentIndex number +---@param mailID number +---@param attachmentIndex number ---Retrieves an item attachment from a message in the player's inbox (accepting COD charges if applicable) -function TakeInboxItem(mailID, attachmentIndex) end \ No newline at end of file +function TakeInboxItem(mailID, attachmentIndex) end diff --git a/api/TakeInboxMoney.lua b/api/TakeInboxMoney.lua index 56fb366..82a1225 100644 --- a/api/TakeInboxMoney.lua +++ b/api/TakeInboxMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number +---@param mailID number ---Retrieves any money attached to a mail in the player's inbox -function TakeInboxMoney(mailID) end \ No newline at end of file +function TakeInboxMoney(mailID) end diff --git a/api/TakeInboxTextItem.lua b/api/TakeInboxTextItem.lua index 94ae1a4..86e9420 100644 --- a/api/TakeInboxTextItem.lua +++ b/api/TakeInboxTextItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param mailID number +---@param mailID number ---Requests a copy of a mail's body text as an item. The text of an in-game mail can be retrieved as a readable "Plain Letter" item to store in the player's bags; this function sends a request to the server for this item, causing the standard inventory events to fire as the item is placed into the player's inventory. -function TakeInboxTextItem(mailID) end \ No newline at end of file +function TakeInboxTextItem(mailID) end diff --git a/api/TakeTaxiNode.lua b/api/TakeTaxiNode.lua index 5893f3d..3b9a5eb 100644 --- a/api/TakeTaxiNode.lua +++ b/api/TakeTaxiNode.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Embarks on a taxi flight to a given destination. Only has effect while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TakeTaxiNode(index) end \ No newline at end of file +function TakeTaxiNode(index) end diff --git a/api/TargetDirectionEnemy.lua b/api/TargetDirectionEnemy.lua index ac654b1..ae304bf 100644 --- a/api/TargetDirectionEnemy.lua +++ b/api/TargetDirectionEnemy.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TargetDirectionEnemy() end \ No newline at end of file +function TargetDirectionEnemy() end diff --git a/api/TargetDirectionFinished.lua b/api/TargetDirectionFinished.lua index 12a069b..907fd85 100644 --- a/api/TargetDirectionFinished.lua +++ b/api/TargetDirectionFinished.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TargetDirectionFinished() end \ No newline at end of file +function TargetDirectionFinished() end diff --git a/api/TargetDirectionFriend.lua b/api/TargetDirectionFriend.lua index 7985095..dc30d73 100644 --- a/api/TargetDirectionFriend.lua +++ b/api/TargetDirectionFriend.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TargetDirectionFriend() end \ No newline at end of file +function TargetDirectionFriend() end diff --git a/api/TargetLastEnemy.lua b/api/TargetLastEnemy.lua index 418b0aa..f9b251e 100644 --- a/api/TargetLastEnemy.lua +++ b/api/TargetLastEnemy.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Targets the most recently targeted enemy unit -function TargetLastEnemy() end \ No newline at end of file +function TargetLastEnemy() end diff --git a/api/TargetLastFriend.lua b/api/TargetLastFriend.lua index 66f929b..0c37a9c 100644 --- a/api/TargetLastFriend.lua +++ b/api/TargetLastFriend.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Targets the most recently targeted friendly unit -function TargetLastFriend() end \ No newline at end of file +function TargetLastFriend() end diff --git a/api/TargetLastTarget.lua b/api/TargetLastTarget.lua index 671e9de..cc016c2 100644 --- a/api/TargetLastTarget.lua +++ b/api/TargetLastTarget.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Targets the most recently targeted unit -function TargetLastTarget() end \ No newline at end of file +function TargetLastTarget() end diff --git a/api/TargetNearest.lua b/api/TargetNearest.lua index bfed2b0..2fa34ee 100644 --- a/api/TargetNearest.lua +++ b/api/TargetNearest.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles targets through nearest units regardless of reaction/affiliation -function TargetNearest(backward) end \ No newline at end of file +function TargetNearest(backward) end diff --git a/api/TargetNearestEnemy.lua b/api/TargetNearestEnemy.lua index dbf6666..40f2f07 100644 --- a/api/TargetNearestEnemy.lua +++ b/api/TargetNearestEnemy.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles your target through the nearest enemy units. This function can only be called once per hardware event. -function TargetNearestEnemy(backward) end \ No newline at end of file +function TargetNearestEnemy(backward) end diff --git a/api/TargetNearestEnemyPlayer.lua b/api/TargetNearestEnemyPlayer.lua index 8c86235..ca3b0cf 100644 --- a/api/TargetNearestEnemyPlayer.lua +++ b/api/TargetNearestEnemyPlayer.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles targets through nearby enemy player units -function TargetNearestEnemyPlayer(backward) end \ No newline at end of file +function TargetNearestEnemyPlayer(backward) end diff --git a/api/TargetNearestFriend.lua b/api/TargetNearestFriend.lua index 4267685..5a975ea 100644 --- a/api/TargetNearestFriend.lua +++ b/api/TargetNearestFriend.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles targets through nearby friendly units -function TargetNearestFriend(backward) end \ No newline at end of file +function TargetNearestFriend(backward) end diff --git a/api/TargetNearestFriendPlayer.lua b/api/TargetNearestFriendPlayer.lua index d1ba633..f7cd43d 100644 --- a/api/TargetNearestFriendPlayer.lua +++ b/api/TargetNearestFriendPlayer.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles targets through nearby friendly player units -function TargetNearestFriendPlayer(backward) end \ No newline at end of file +function TargetNearestFriendPlayer(backward) end diff --git a/api/TargetNearestPartyMember.lua b/api/TargetNearestPartyMember.lua index a98bc8a..519a9de 100644 --- a/api/TargetNearestPartyMember.lua +++ b/api/TargetNearestPartyMember.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles targets through nearby party members -function TargetNearestPartyMember(backward) end \ No newline at end of file +function TargetNearestPartyMember(backward) end diff --git a/api/TargetNearestRaidMember.lua b/api/TargetNearestRaidMember.lua index a516bb4..c4a9411 100644 --- a/api/TargetNearestRaidMember.lua +++ b/api/TargetNearestRaidMember.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param backward boolean +---@param backward boolean ---Cycles targets through nearby raid members -function TargetNearestRaidMember(backward) end \ No newline at end of file +function TargetNearestRaidMember(backward) end diff --git a/api/TargetUnit.lua b/api/TargetUnit.lua index f18c14d..0a8997f 100644 --- a/api/TargetUnit.lua +++ b/api/TargetUnit.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@param exactMatch boolean +---@param unit string +---@param name string +---@param exactMatch boolean ---Targets a unit. Passing nil is equivalent to calling ClearTarget()). -function TargetUnit(unit, name, exactMatch) end \ No newline at end of file +function TargetUnit(unit, name, exactMatch) end diff --git a/api/TaxiGetDestX.lua b/api/TaxiGetDestX.lua index 6b3e716..5688720 100644 --- a/api/TaxiGetDestX.lua +++ b/api/TaxiGetDestX.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param source number ----@param dest number ----@return number dX +---@param source number +---@param dest number +---@return number dX ---Returns the horizontal coordinate of a taxi flight's destination node. Used in the default UI to draw lines between nodes; TaxiNodeSetCurrent() should be called first so the client can compute routes. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiGetDestX(source, dest) end \ No newline at end of file +function TaxiGetDestX(source, dest) end diff --git a/api/TaxiGetDestY.lua b/api/TaxiGetDestY.lua index 9f56784..4cd07e7 100644 --- a/api/TaxiGetDestY.lua +++ b/api/TaxiGetDestY.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param source number ----@param dest number ----@return number dY +---@param source number +---@param dest number +---@return number dY ---Returns the vertical coordinate of a taxi flight's destination node. Used in the default UI to draw lines between nodes; TaxiNodeSetCurrent() should be called first so the client can compute routes. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiGetDestY(source, dest) end \ No newline at end of file +function TaxiGetDestY(source, dest) end diff --git a/api/TaxiGetNodeSlot.lua b/api/TaxiGetNodeSlot.lua index 891a6b0..d49ff7d 100644 --- a/api/TaxiGetNodeSlot.lua +++ b/api/TaxiGetNodeSlot.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param hop number ----@param query_start boolean ----@return number index +---@param index number +---@param hop number +---@param query_start boolean +---@return number index ---Returns the starting/ending point of a chosen segment of a multi-hop taxi flight. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). Returns 1 for invalid parameters. -function TaxiGetNodeSlot(index, hop, query_start) end \ No newline at end of file +function TaxiGetNodeSlot(index, hop, query_start) end diff --git a/api/TaxiGetSrcX.lua b/api/TaxiGetSrcX.lua index 338424c..5df6c31 100644 --- a/api/TaxiGetSrcX.lua +++ b/api/TaxiGetSrcX.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param source number ----@param dest number ----@return number sX +---@param source number +---@param dest number +---@return number sX ---Returns the horizontal coordinate of a taxi flight's source node. Used in the default UI to draw lines between nodes; TaxiNodeSetCurrent() should be called first so the client can compute routes. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiGetSrcX(source, dest) end \ No newline at end of file +function TaxiGetSrcX(source, dest) end diff --git a/api/TaxiGetSrcY.lua b/api/TaxiGetSrcY.lua index 79a4f53..52d4e85 100644 --- a/api/TaxiGetSrcY.lua +++ b/api/TaxiGetSrcY.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param source number ----@param dest number ----@return number sY +---@param source number +---@param dest number +---@return number sY ---Returns the vertical coordinate of a taxi flight's source node. Used in the default UI to draw lines between nodes; TaxiNodeSetCurrent() should be called first so the client can compute routes. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiGetSrcY(source, dest) end \ No newline at end of file +function TaxiGetSrcY(source, dest) end diff --git a/api/TaxiNodeCost.lua b/api/TaxiNodeCost.lua index fab3718..0f8a38e 100644 --- a/api/TaxiNodeCost.lua +++ b/api/TaxiNodeCost.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number cost +---@param index number +---@return number cost ---Returns the cost to fly to a given taxi node. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiNodeCost(index) end \ No newline at end of file +function TaxiNodeCost(index) end diff --git a/api/TaxiNodeGetType.lua b/api/TaxiNodeGetType.lua index f6cd025..329cc88 100644 --- a/api/TaxiNodeGetType.lua +++ b/api/TaxiNodeGetType.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return REACHABLE type ----@return CURRENT ----@return DISTANT ----@return NONE ----@return REACHABLE +---@param index number +---@return REACHABLE type +---@return CURRENT +---@return DISTANT +---@return NONE +---@return REACHABLE ---Returns the type of a flight pont. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiNodeGetType(index) end \ No newline at end of file +function TaxiNodeGetType(index) end diff --git a/api/TaxiNodeName.lua b/api/TaxiNodeName.lua index 22bbc22..71b111d 100644 --- a/api/TaxiNodeName.lua +++ b/api/TaxiNodeName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return string name +---@param index number +---@return string name ---Returns the name of a flight point. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiNodeName(index) end \ No newline at end of file +function TaxiNodeName(index) end diff --git a/api/TaxiNodePosition.lua b/api/TaxiNodePosition.lua index 14eef10..79afa1f 100644 --- a/api/TaxiNodePosition.lua +++ b/api/TaxiNodePosition.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@return number x ----@return number y +---@param index number +---@return number x +---@return number y ---Returns the position of a flight point on the taxi map. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). -function TaxiNodePosition(index) end \ No newline at end of file +function TaxiNodePosition(index) end diff --git a/api/TaxiNodeSetCurrent.lua b/api/TaxiNodeSetCurrent.lua index 0e4eefa..5ccdd95 100644 --- a/api/TaxiNodeSetCurrent.lua +++ b/api/TaxiNodeSetCurrent.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Sets the "current" flight path node. Used in the default UI when mousing over a node; tells the client to compute the route paths involving the node (see TaxiGetSrcX() et al). -function TaxiNodeSetCurrent(slot) end \ No newline at end of file +function TaxiNodeSetCurrent(slot) end diff --git a/api/TeleportToDebugObject.lua b/api/TeleportToDebugObject.lua index c307f1d..aa0b685 100644 --- a/api/TeleportToDebugObject.lua +++ b/api/TeleportToDebugObject.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TeleportToDebugObject() end \ No newline at end of file +function TeleportToDebugObject() end diff --git a/api/TimeoutResurrect.lua b/api/TimeoutResurrect.lua index 271d121..892efe3 100644 --- a/api/TimeoutResurrect.lua +++ b/api/TimeoutResurrect.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TimeoutResurrect() end \ No newline at end of file +function TimeoutResurrect() end diff --git a/api/ToggleAutoRun.lua b/api/ToggleAutoRun.lua index cde47a4..e4bef7d 100644 --- a/api/ToggleAutoRun.lua +++ b/api/ToggleAutoRun.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Starts or stops the player character automatically moving forward -function ToggleAutoRun() end \ No newline at end of file +function ToggleAutoRun() end diff --git a/api/ToggleCollision.lua b/api/ToggleCollision.lua index 47ebe7d..8859eb4 100644 --- a/api/ToggleCollision.lua +++ b/api/ToggleCollision.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ToggleCollision() end \ No newline at end of file +function ToggleCollision() end diff --git a/api/ToggleCollisionDisplay.lua b/api/ToggleCollisionDisplay.lua index a7cdb85..66c083a 100644 --- a/api/ToggleCollisionDisplay.lua +++ b/api/ToggleCollisionDisplay.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ToggleCollisionDisplay() end \ No newline at end of file +function ToggleCollisionDisplay() end diff --git a/api/ToggleGlyphFilter.lua b/api/ToggleGlyphFilter.lua index 9b91b10..d1939f6 100644 --- a/api/ToggleGlyphFilter.lua +++ b/api/ToggleGlyphFilter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ToggleGlyphFilter() end \ No newline at end of file +function ToggleGlyphFilter() end diff --git a/api/TogglePVP.lua b/api/TogglePVP.lua index 953d03b..6a647a8 100644 --- a/api/TogglePVP.lua +++ b/api/TogglePVP.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Switches the player's desired PvP status. If PvP is currently disabled for the player, it becomes enabled immediately. If PvP is enabled, it will become disabled after five minutes of no PvP activity. -function TogglePVP() end \ No newline at end of file +function TogglePVP() end diff --git a/api/TogglePerformancePause.lua b/api/TogglePerformancePause.lua index 4533159..f8b812a 100644 --- a/api/TogglePerformancePause.lua +++ b/api/TogglePerformancePause.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TogglePerformancePause() end \ No newline at end of file +function TogglePerformancePause() end diff --git a/api/TogglePerformanceValues.lua b/api/TogglePerformanceValues.lua index 40c43f0..9ac33ce 100644 --- a/api/TogglePerformanceValues.lua +++ b/api/TogglePerformanceValues.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TogglePerformanceValues() end \ No newline at end of file +function TogglePerformanceValues() end diff --git a/api/TogglePetAutocast.lua b/api/TogglePetAutocast.lua index a5c4c37..a3d8228 100644 --- a/api/TogglePetAutocast.lua +++ b/api/TogglePetAutocast.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number +---@param index number ---Turns autocast on or off for a pet action. Turns autocast on if not autocasting and vice versa. -function TogglePetAutocast(index) end \ No newline at end of file +function TogglePetAutocast(index) end diff --git a/api/TogglePlayerBounds.lua b/api/TogglePlayerBounds.lua index 89941e3..01033fc 100644 --- a/api/TogglePlayerBounds.lua +++ b/api/TogglePlayerBounds.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TogglePlayerBounds() end \ No newline at end of file +function TogglePlayerBounds() end diff --git a/api/TogglePortals.lua b/api/TogglePortals.lua index d283c0d..3747346 100644 --- a/api/TogglePortals.lua +++ b/api/TogglePortals.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TogglePortals() end \ No newline at end of file +function TogglePortals() end diff --git a/api/ToggleRun.lua b/api/ToggleRun.lua index 4f5b144..cde5502 100644 --- a/api/ToggleRun.lua +++ b/api/ToggleRun.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Switches the character's ground movement mode between running and walking. If running, switches to walking, and vice versa. Has no effect on swimming or flying speed. -function ToggleRun() end \ No newline at end of file +function ToggleRun() end diff --git a/api/ToggleSheath.lua b/api/ToggleSheath.lua index e5ff80a..83d6f22 100644 --- a/api/ToggleSheath.lua +++ b/api/ToggleSheath.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Sheaths or unsheaths the player character's hand-held items. Calling repeatedly will cause the player character to draw his or her melee weapons, followed by his or her range weapon, followed by hiding all weapons. -function ToggleSheath() end \ No newline at end of file +function ToggleSheath() end diff --git a/api/ToggleSpellAutocast.lua b/api/ToggleSpellAutocast.lua index 8715cee..7f7b969 100644 --- a/api/ToggleSpellAutocast.lua +++ b/api/ToggleSpellAutocast.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param index number ----@param bookType spell ----@param pet ----@param spell ----@param name string +---@param index number +---@param bookType spell +---@param pet +---@param spell +---@param name string ---Enables or disables automatic casting of a spell. Generally only pet spells can be autocast. -function ToggleSpellAutocast(index, bookType, pet, spell, name) end \ No newline at end of file +function ToggleSpellAutocast(index, bookType, pet, spell, name) end diff --git a/api/ToggleTris.lua b/api/ToggleTris.lua index 2bb50ba..0b52cd1 100644 --- a/api/ToggleTris.lua +++ b/api/ToggleTris.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ToggleTris() end \ No newline at end of file +function ToggleTris() end diff --git a/api/TradeSkillOnlyShowMakeable.lua b/api/TradeSkillOnlyShowMakeable.lua index a967ed8..6d0f4b3 100644 --- a/api/TradeSkillOnlyShowMakeable.lua +++ b/api/TradeSkillOnlyShowMakeable.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param filter boolean +---@param filter boolean ---Filters the trade skill listing by whether the player currently has enough reagents for each recipe -function TradeSkillOnlyShowMakeable(filter) end \ No newline at end of file +function TradeSkillOnlyShowMakeable(filter) end diff --git a/api/TradeSkillOnlyShowSkillUps.lua b/api/TradeSkillOnlyShowSkillUps.lua index f82c313..8944ccc 100644 --- a/api/TradeSkillOnlyShowSkillUps.lua +++ b/api/TradeSkillOnlyShowSkillUps.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param filter boolean +---@param filter boolean ---Filters the trade skill listing by whether the player can gain skill ranks from each recipe. The default UI does not provide controls for this filter, but it can nonetheless be used to alter the contents of the trade skill recipe listing. -function TradeSkillOnlyShowSkillUps(filter) end \ No newline at end of file +function TradeSkillOnlyShowSkillUps(filter) end diff --git a/api/TriggerTutorial.lua b/api/TriggerTutorial.lua index 5d167fa..c5400e9 100644 --- a/api/TriggerTutorial.lua +++ b/api/TriggerTutorial.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function TriggerTutorial() end \ No newline at end of file +function TriggerTutorial() end diff --git a/api/TurnInGuildCharter.lua b/api/TurnInGuildCharter.lua index 3086ede..9f6fc17 100644 --- a/api/TurnInGuildCharter.lua +++ b/api/TurnInGuildCharter.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Turns in a completed guild charter. Usable if the player is interacting with a guild registrar (i.e. between the GUILD_REGISTRAR_SHOW and GUILD_REGISTRAR_CLOSED events). -function TurnInGuildCharter() end \ No newline at end of file +function TurnInGuildCharter() end diff --git a/api/TurnLeftStart.lua b/api/TurnLeftStart.lua index 735a377..694236d 100644 --- a/api/TurnLeftStart.lua +++ b/api/TurnLeftStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins turning the player character to the left. "Left" here is relative to the player's facing; i.e. if looking down at the character from above, he or she turns counter-clockwise. Used by the TURNLEFT binding. -function TurnLeftStart() end \ No newline at end of file +function TurnLeftStart() end diff --git a/api/TurnLeftStop.lua b/api/TurnLeftStop.lua index ba1e602..04f48fd 100644 --- a/api/TurnLeftStop.lua +++ b/api/TurnLeftStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by TurnLeftStart -function TurnLeftStop() end \ No newline at end of file +function TurnLeftStop() end diff --git a/api/TurnOrActionStart.lua b/api/TurnOrActionStart.lua index 19030ad..e9a59de 100644 --- a/api/TurnOrActionStart.lua +++ b/api/TurnOrActionStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins character steering or interaction (equivalent to right-clicking in the 3-D world). After calling this function (i.e. while the right mouse button is held), cursor movement rotates (or steers) the player character, altering yaw (facing) and/or pitch (vertical movement angle) as well as camera position. Final results vary by context and are determined when calling TurnOrActionStop() (i.e. releasing the right mouse button). Used by the TURNORACTION binding (not customizable in the default UI), which is bound to the right mouse button by default. -function TurnOrActionStart() end \ No newline at end of file +function TurnOrActionStart() end diff --git a/api/TurnOrActionStop.lua b/api/TurnOrActionStop.lua index b771552..1ece746 100644 --- a/api/TurnOrActionStop.lua +++ b/api/TurnOrActionStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends action initiated by TurnOrActionStart. After calling this function (i.e. releasing the right mouse button), character steering stops and normal cursor movement resumes. If the cursor has not moved significantly since calling TurnOrActionStart() (i.e. pressing the right mouse button), results vary by context: if the cursor is over a nearby unit, interacts with (or attacks) that unit, making it the player's target. if the cursor is over a nearby interactable world object (e.g. mailbox, treasure chest, or quest object), interacts with (or uses) that object. if the cursor is over a faraway unit or world object and the "Click-to-Move" option is enabled (i.e. the "autointeract" CVar is "1"), attempts to move the player character to the unit/object and interact with it once nearby. if the cursor is over a faraway world object and the "Click-to-Move" option is disabled, fires a UI_ERROR_MESSAGE event indicating the player is too far away to interact with the object. otherwise, does nothing. Used by the TURNORACTION binding (not customizable in the default UI), which is bound to the right mouse button by default. -function TurnOrActionStop() end \ No newline at end of file +function TurnOrActionStop() end diff --git a/api/TurnRightStart.lua b/api/TurnRightStart.lua index 1ea2205..aa93540 100644 --- a/api/TurnRightStart.lua +++ b/api/TurnRightStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Begins turning the player character to the right. "Right" here is relative to the player's facing; i.e. if looking down at the character from above, he or she turns clockwise. Used by the TURNRIGHT binding. -function TurnRightStart() end \ No newline at end of file +function TurnRightStart() end diff --git a/api/TurnRightStop.lua b/api/TurnRightStop.lua index a307f47..de29280 100644 --- a/api/TurnRightStop.lua +++ b/api/TurnRightStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Ends movement initiated by TurnRightStart -function TurnRightStop() end \ No newline at end of file +function TurnRightStop() end diff --git a/api/UninviteUnit.lua b/api/UninviteUnit.lua index 32bfd56..86843ba 100644 --- a/api/UninviteUnit.lua +++ b/api/UninviteUnit.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Removes a character from the player's party or raid. Only works if the player is the party leader, raid leader, or raid assistant. Also used by the Looking For Group tool to vote kick players. This is what the "reason" argument is used for. ---@overload fun(name: string, reason: string): nil -function UninviteUnit(name, reason) end \ No newline at end of file +function UninviteUnit(name, reason) end diff --git a/api/UnitAffectingCombat.lua b/api/UnitAffectingCombat.lua index 7934d39..865371d 100644 --- a/api/UnitAffectingCombat.lua +++ b/api/UnitAffectingCombat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil inCombat +---@param unit string +---@return 1nil inCombat ---Returns whether a unit is currently in combat -function UnitAffectingCombat(unit) end \ No newline at end of file +function UnitAffectingCombat(unit) end diff --git a/api/UnitAlternatePowerCounterInfo.lua b/api/UnitAlternatePowerCounterInfo.lua index f337df2..65325a5 100644 --- a/api/UnitAlternatePowerCounterInfo.lua +++ b/api/UnitAlternatePowerCounterInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitAlternatePowerCounterInfo() end \ No newline at end of file +function UnitAlternatePowerCounterInfo() end diff --git a/api/UnitAlternatePowerInfo.lua b/api/UnitAlternatePowerInfo.lua index 5140856..f10276e 100644 --- a/api/UnitAlternatePowerInfo.lua +++ b/api/UnitAlternatePowerInfo.lua @@ -1,19 +1,19 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return number barType ----@return number minPower ----@return number startInset ----@return number endInset ----@return boolean smooth ----@return boolean hideFromOthers ----@return boolean showOnRaid ----@return boolean opaqueSpark ----@return boolean opaqueFlash ----@return string powerName ----@return string powerTooltip ----@return string costString ----@return number barID +---@param unit string +---@param name string +---@return number barType +---@return number minPower +---@return number startInset +---@return number endInset +---@return boolean smooth +---@return boolean hideFromOthers +---@return boolean showOnRaid +---@return boolean opaqueSpark +---@return boolean opaqueFlash +---@return string powerName +---@return string powerTooltip +---@return string costString +---@return number barID ---Returns information about a unit's alternate power display -function UnitAlternatePowerInfo(unit, name) end \ No newline at end of file +function UnitAlternatePowerInfo(unit, name) end diff --git a/api/UnitAlternatePowerTextureInfo.lua b/api/UnitAlternatePowerTextureInfo.lua index 471ce53..d758fef 100644 --- a/api/UnitAlternatePowerTextureInfo.lua +++ b/api/UnitAlternatePowerTextureInfo.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param textureIndex number ----@return string texture ----@return number r ----@return number g ----@return number b ----@return number a +---@param unit string +---@param textureIndex number +---@return string texture +---@return number r +---@return number g +---@return number b +---@return number a ---Retrieves textures and colors for the parts of the alternate power indicator. Retrieves information on how to render the alternate power indicator. Note that the color can be 1,1,1,1 even if the bar appears to be colored because the color is baked into the texture. -function UnitAlternatePowerTextureInfo(unit, textureIndex) end \ No newline at end of file +function UnitAlternatePowerTextureInfo(unit, textureIndex) end diff --git a/api/UnitArmor.lua b/api/UnitArmor.lua index 6796e80..86e418c 100644 --- a/api/UnitArmor.lua +++ b/api/UnitArmor.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number base ----@return number effectiveArmor ----@return number armor ----@return number posBuff ----@return number negBuff +---@param unit string +---@return number base +---@return number effectiveArmor +---@return number armor +---@return number posBuff +---@return number negBuff ---Returns the player's or pet's armor value -function UnitArmor(unit) end \ No newline at end of file +function UnitArmor(unit) end diff --git a/api/UnitAttackBothHands.lua b/api/UnitAttackBothHands.lua index 524d752..2332fbc 100644 --- a/api/UnitAttackBothHands.lua +++ b/api/UnitAttackBothHands.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number mainHandAttackBase ----@return number mainHandAttackMod ----@return number offHandHandAttackBase ----@return number offHandAttackMod +---@param unit string +---@return number mainHandAttackBase +---@return number mainHandAttackMod +---@return number offHandHandAttackBase +---@return number offHandAttackMod ---Returns information about the player's or pet's weapon skill -function UnitAttackBothHands(unit) end \ No newline at end of file +function UnitAttackBothHands(unit) end diff --git a/api/UnitAttackPower.lua b/api/UnitAttackPower.lua index b69b590..6025df6 100644 --- a/api/UnitAttackPower.lua +++ b/api/UnitAttackPower.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number base ----@return number posBuff ----@return number negBuff +---@param unit string +---@return number base +---@return number posBuff +---@return number negBuff ---Returns the player's or pet's melee attack power -function UnitAttackPower(unit) end \ No newline at end of file +function UnitAttackPower(unit) end diff --git a/api/UnitAttackSpeed.lua b/api/UnitAttackSpeed.lua index 8da8fb3..0374655 100644 --- a/api/UnitAttackSpeed.lua +++ b/api/UnitAttackSpeed.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number speed ----@return number offhandSpeed +---@param unit string +---@return number speed +---@return number offhandSpeed ---Returns information about the unit's melee attack speed -function UnitAttackSpeed(unit) end \ No newline at end of file +function UnitAttackSpeed(unit) end diff --git a/api/UnitAura.lua b/api/UnitAura.lua index 05a35e3..f340fbf 100644 --- a/api/UnitAura.lua +++ b/api/UnitAura.lua @@ -1,38 +1,38 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param index number ----@param name string ----@param rank string ----@param filter RAID ----@param CANCELABLE ----@param HARMFUL ----@param HELPFUL ----@param NOT_CANCELABLE ----@param PLAYER ----@param RAID ----@return string name ----@return string rank ----@return string icon ----@return number count ----@return Poison dispelType ----@return Curse ----@return Disease ----@return Magic ----@return Poison ----@return number duration ----@return number expires ----@return string caster ----@return boolean isStealable ----@return boolean nameplateShowPersonal ----@return number spellID ----@return boolean canApplyAura ----@return boolean isBossDebuff ----@return boolean _ ----@return boolean nameplateShowAll ----@return number timeMod ----@return number value1 ----@return number value2 ----@return number value3 +---@param unit string +---@param index number +---@param name string +---@param rank string +---@param filter RAID +---@param CANCELABLE +---@param HARMFUL +---@param HELPFUL +---@param NOT_CANCELABLE +---@param PLAYER +---@param RAID +---@return string name +---@return string rank +---@return string icon +---@return number count +---@return Poison dispelType +---@return Curse +---@return Disease +---@return Magic +---@return Poison +---@return number duration +---@return number expires +---@return string caster +---@return boolean isStealable +---@return boolean nameplateShowPersonal +---@return number spellID +---@return boolean canApplyAura +---@return boolean isBossDebuff +---@return boolean _ +---@return boolean nameplateShowAll +---@return number timeMod +---@return number value1 +---@return number value2 +---@return number value3 ---Returns information about buffs/debuffs on a unit -function UnitAura(unit, index, name, rank, filter, CANCELABLE, HARMFUL, HELPFUL, NOT_CANCELABLE, PLAYER, RAID) end \ No newline at end of file +function UnitAura(unit, index, name, rank, filter, CANCELABLE, HARMFUL, HELPFUL, NOT_CANCELABLE, PLAYER, RAID) end diff --git a/api/UnitBattlePetLevel.lua b/api/UnitBattlePetLevel.lua index d1cfc34..8912ec9 100644 --- a/api/UnitBattlePetLevel.lua +++ b/api/UnitBattlePetLevel.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitBattlePetLevel() end \ No newline at end of file +function UnitBattlePetLevel() end diff --git a/api/UnitBattlePetSpeciesID.lua b/api/UnitBattlePetSpeciesID.lua index 2a55aa9..ca7e425 100644 --- a/api/UnitBattlePetSpeciesID.lua +++ b/api/UnitBattlePetSpeciesID.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitBattlePetSpeciesID() end \ No newline at end of file +function UnitBattlePetSpeciesID() end diff --git a/api/UnitBattlePetType.lua b/api/UnitBattlePetType.lua index 6179c97..725b0b8 100644 --- a/api/UnitBattlePetType.lua +++ b/api/UnitBattlePetType.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitBattlePetType() end \ No newline at end of file +function UnitBattlePetType() end diff --git a/api/UnitBonusArmor.lua b/api/UnitBonusArmor.lua index d37c7ee..5b79a4d 100644 --- a/api/UnitBonusArmor.lua +++ b/api/UnitBonusArmor.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitBonusArmor() end \ No newline at end of file +function UnitBonusArmor() end diff --git a/api/UnitBuff.lua b/api/UnitBuff.lua index a655f13..37a763b 100644 --- a/api/UnitBuff.lua +++ b/api/UnitBuff.lua @@ -1,36 +1,36 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param index number ----@param name string ----@param rank string ----@param filter RAID ----@param CANCELABLE ----@param NOT_CANCELABLE ----@param PLAYER ----@param RAID ----@return string name ----@return string rank ----@return string icon ----@return number count ----@return Poison dispelType ----@return Curse ----@return Disease ----@return Magic ----@return Poison ----@return number duration ----@return number expires ----@return string caster ----@return boolean isStealable ----@return boolean nameplateShowPersonal ----@return number spellID ----@return boolean canApplyAura ----@return boolean isBossDebuff ----@return boolean _ ----@return boolean nameplateShowAll ----@return number timeMod ----@return number value1 ----@return number value2 ----@return number value3 +---@param unit string +---@param index number +---@param name string +---@param rank string +---@param filter RAID +---@param CANCELABLE +---@param NOT_CANCELABLE +---@param PLAYER +---@param RAID +---@return string name +---@return string rank +---@return string icon +---@return number count +---@return Poison dispelType +---@return Curse +---@return Disease +---@return Magic +---@return Poison +---@return number duration +---@return number expires +---@return string caster +---@return boolean isStealable +---@return boolean nameplateShowPersonal +---@return number spellID +---@return boolean canApplyAura +---@return boolean isBossDebuff +---@return boolean _ +---@return boolean nameplateShowAll +---@return number timeMod +---@return number value1 +---@return number value2 +---@return number value3 ---Returns information about a buff on a unit. This function is an alias for UnitAura() with a built-in HELPFUL filter (which cannot be removed or negated with the HARMFUL filter). -function UnitBuff(unit, index, name, rank, filter, CANCELABLE, NOT_CANCELABLE, PLAYER, RAID) end \ No newline at end of file +function UnitBuff(unit, index, name, rank, filter, CANCELABLE, NOT_CANCELABLE, PLAYER, RAID) end diff --git a/api/UnitCanAssist.lua b/api/UnitCanAssist.lua index 40aa76e..8a6cc19 100644 --- a/api/UnitCanAssist.lua +++ b/api/UnitCanAssist.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 1nil canAssist +---@param unit string +---@param unit string +---@return 1nil canAssist ---Returns whether one unit can assist another -function UnitCanAssist(unit, unit) end \ No newline at end of file +function UnitCanAssist(unit, unit) end diff --git a/api/UnitCanCooperate.lua b/api/UnitCanCooperate.lua index ff6d4f1..a451c26 100644 --- a/api/UnitCanCooperate.lua +++ b/api/UnitCanCooperate.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 1nil canCooperate +---@param unit string +---@param unit string +---@return 1nil canCooperate ---Returns whether two units can cooperate. Two units are considered to be able to cooperate with each other if they are of the same faction and are both players. -function UnitCanCooperate(unit, unit) end \ No newline at end of file +function UnitCanCooperate(unit, unit) end diff --git a/api/UnitCanPetBattle.lua b/api/UnitCanPetBattle.lua index 256d7e0..844b03c 100644 --- a/api/UnitCanPetBattle.lua +++ b/api/UnitCanPetBattle.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitCanPetBattle() end \ No newline at end of file +function UnitCanPetBattle() end diff --git a/api/UnitCastingInfo.lua b/api/UnitCastingInfo.lua index 845e340..9054084 100644 --- a/api/UnitCastingInfo.lua +++ b/api/UnitCastingInfo.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string name ----@return string subText ----@return string text ----@return string texture ----@return number startTime ----@return number endTime ----@return 1nil isTradeSkill ----@return number castID ----@return 1nil notInterruptible +---@param unit string +---@return string name +---@return string subText +---@return string text +---@return string texture +---@return number startTime +---@return number endTime +---@return 1nil isTradeSkill +---@return number castID +---@return 1nil notInterruptible ---Returns information about the spell a unit is currently casting -function UnitCastingInfo(unit) end \ No newline at end of file +function UnitCastingInfo(unit) end diff --git a/api/UnitChannelInfo.lua b/api/UnitChannelInfo.lua index f8c22a5..1345474 100644 --- a/api/UnitChannelInfo.lua +++ b/api/UnitChannelInfo.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string name ----@return string subText ----@return string text ----@return string texture ----@return number startTime ----@return number endTime ----@return 1nil isTradeSkill ----@return boolean notInterruptible +---@param unit string +---@return string name +---@return string subText +---@return string text +---@return string texture +---@return number startTime +---@return number endTime +---@return 1nil isTradeSkill +---@return boolean notInterruptible ---Returns information about the spell a unit is currently channeling -function UnitChannelInfo(unit) end \ No newline at end of file +function UnitChannelInfo(unit) end diff --git a/api/UnitClass.lua b/api/UnitClass.lua index ab605db..d83a873 100644 --- a/api/UnitClass.lua +++ b/api/UnitClass.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string class ----@return string classFileName ----@return number classIndex +---@param unit string +---@return string class +---@return string classFileName +---@return number classIndex ---Returns a unit's class. The second return (classFileName) can be used for locale-independent verification of a unit's class, or to look up class-related data in various global tables: RAID_CLASS_COLORS provides a standard color for each class (as seen in the default who, guild, calendar, and raid UIs) CLASS_ICON_TCOORDS provides coordinates to locate each class' icon within the "Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes" texture For non-player units, the first return (class) will be the unit's name; to always get a localized class name regardless of unit type, use UnitClassBase instead. ---@overload fun(name: string) -function UnitClass(unit) end \ No newline at end of file +function UnitClass(unit) end diff --git a/api/UnitClassBase.lua b/api/UnitClassBase.lua index 2a3ea17..3a872ea 100644 --- a/api/UnitClassBase.lua +++ b/api/UnitClassBase.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return string class ----@return string classFileName +---@param unit string +---@param name string +---@return string class +---@return string classFileName ---Returns a unit's class. The second return (classFileName) can be used for locale-independent verification of a unit's class, or to look up class-related data in various global tables: RAID_CLASS_COLORS provides a standard color for each class (as seen in the default who, guild, calendar, and raid UIs) CLASS_ICON_TCOORDS provides coordinates to locate each class' icon within the "Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes" texture Unlike UnitClass, this function returns the same values for NPCs as for players. -function UnitClassBase(unit, name) end \ No newline at end of file +function UnitClassBase(unit, name) end diff --git a/api/UnitClassification.lua b/api/UnitClassification.lua index e7233cf..c1c2b72 100644 --- a/api/UnitClassification.lua +++ b/api/UnitClassification.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return worldboss classification ----@return elite ----@return minus ----@return normal ----@return rare ----@return rareelite ----@return trivial ----@return worldboss +---@param unit string +---@return worldboss classification +---@return elite +---@return minus +---@return normal +---@return rare +---@return rareelite +---@return trivial +---@return worldboss ---Returns a unit's classification -function UnitClassification(unit) end \ No newline at end of file +function UnitClassification(unit) end diff --git a/api/UnitControllingVehicle.lua b/api/UnitControllingVehicle.lua index 26aa35e..9bf8f77 100644 --- a/api/UnitControllingVehicle.lua +++ b/api/UnitControllingVehicle.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return boolean isControlling +---@param unit string +---@param name string +---@return boolean isControlling ---Returns whether a unit is controlling a vehicle -function UnitControllingVehicle(unit, name) end \ No newline at end of file +function UnitControllingVehicle(unit, name) end diff --git a/api/UnitCreatureFamily.lua b/api/UnitCreatureFamily.lua index 7d9fb31..88879c5 100644 --- a/api/UnitCreatureFamily.lua +++ b/api/UnitCreatureFamily.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string family +---@param unit string +---@return string family ---Returns the creature family of the unit. Applies only to beasts of the kinds that can be taken as Hunter pets (e.g. cats, worms, and ravagers but not zhevras, talbuks and pterrordax), demons of the types that can be summoned by Warlocks (e.g. imps and felguards, but not demons that require enslaving such as infernals and doomguards or world demons such as pit lords and armored voidwalkers) and Death Knight's pets (ghouls). -function UnitCreatureFamily(unit) end \ No newline at end of file +function UnitCreatureFamily(unit) end diff --git a/api/UnitCreatureType.lua b/api/UnitCreatureType.lua index 591aa7a..3e732fc 100644 --- a/api/UnitCreatureType.lua +++ b/api/UnitCreatureType.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string type +---@param unit string +---@return string type ---Returns the creature type of a unit. Note that some creatures have no type (e.g. slimes). -function UnitCreatureType(unit) end \ No newline at end of file +function UnitCreatureType(unit) end diff --git a/api/UnitDamage.lua b/api/UnitDamage.lua index 32eacfa..bfad280 100644 --- a/api/UnitDamage.lua +++ b/api/UnitDamage.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number minDamage ----@return number maxDamage ----@return number minOffHandDamage ----@return number maxOffHandDamage ----@return number physicalBonusPos ----@return number physicalBonusNeg ----@return number percent +---@param unit string +---@return number minDamage +---@return number maxDamage +---@return number minOffHandDamage +---@return number maxOffHandDamage +---@return number physicalBonusPos +---@return number physicalBonusNeg +---@return number percent ---Returns information about the player's or pet's melee attack damage -function UnitDamage(unit) end \ No newline at end of file +function UnitDamage(unit) end diff --git a/api/UnitDebuff.lua b/api/UnitDebuff.lua index 0901670..94bb2cc 100644 --- a/api/UnitDebuff.lua +++ b/api/UnitDebuff.lua @@ -1,36 +1,36 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param index number ----@param name string ----@param rank string ----@param filter RAID ----@param CANCELABLE ----@param NOT_CANCELABLE ----@param PLAYER ----@param RAID ----@return string name ----@return string rank ----@return string icon ----@return number count ----@return Poison dispelType ----@return Curse ----@return Disease ----@return Magic ----@return Poison ----@return number duration ----@return number expires ----@return string caster ----@return boolean isStealable ----@return boolean nameplateShowPersonal ----@return number spellID ----@return boolean canApplyAura ----@return boolean isBossDebuff ----@return boolean _ ----@return boolean nameplateShowAll ----@return number timeMod ----@return number value1 ----@return number value2 ----@return number value3 +---@param unit string +---@param index number +---@param name string +---@param rank string +---@param filter RAID +---@param CANCELABLE +---@param NOT_CANCELABLE +---@param PLAYER +---@param RAID +---@return string name +---@return string rank +---@return string icon +---@return number count +---@return Poison dispelType +---@return Curse +---@return Disease +---@return Magic +---@return Poison +---@return number duration +---@return number expires +---@return string caster +---@return boolean isStealable +---@return boolean nameplateShowPersonal +---@return number spellID +---@return boolean canApplyAura +---@return boolean isBossDebuff +---@return boolean _ +---@return boolean nameplateShowAll +---@return number timeMod +---@return number value1 +---@return number value2 +---@return number value3 ---Returns information about a debuff on a unit. This function is an alias for UnitAura() with a built-in HARMFUL filter (which cannot be removed or negated with the HELPFUL filter). -function UnitDebuff(unit, index, name, rank, filter, CANCELABLE, NOT_CANCELABLE, PLAYER, RAID) end \ No newline at end of file +function UnitDebuff(unit, index, name, rank, filter, CANCELABLE, NOT_CANCELABLE, PLAYER, RAID) end diff --git a/api/UnitDefense.lua b/api/UnitDefense.lua index 48d19b5..960e3b9 100644 --- a/api/UnitDefense.lua +++ b/api/UnitDefense.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number base ----@return number modifier +---@param unit string +---@return number base +---@return number modifier ---Returns the player's or pet's Defense skill -function UnitDefense(unit) end \ No newline at end of file +function UnitDefense(unit) end diff --git a/api/UnitDetailedThreatSituation.lua b/api/UnitDetailedThreatSituation.lua index dbffd8c..15c30c6 100644 --- a/api/UnitDetailedThreatSituation.lua +++ b/api/UnitDetailedThreatSituation.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitid ----@param name string ----@param mobUnit unitid ----@return 1nil isTanking ----@return mobUnit status ----@return 0 ----@return 1 ----@return mobUnit 2 ----@return mobUnit 3 ----@return number scaledPercent ----@return number rawPercent ----@return number threatValue +---@param unit unitid +---@param name string +---@param mobUnit unitid +---@return 1nil isTanking +---@return mobUnit status +---@return 0 +---@return 1 +---@return mobUnit 2 +---@return mobUnit 3 +---@return number scaledPercent +---@return number rawPercent +---@return number threatValue ---Returns detailed information about the threat status of one unit against another. The different values returned by this function reflect the complexity of NPC threat management: Raw threat roughly equates to the amount of damage a unit has caused to the NPC plus the amount of healing the unit has performed in the NPC's presence. (Each quantity that goes into this sum may be modified, however; such as by a paladin's Righteous Fury self-buff, a priest's Silent Resolve talent, or a player whose cloak is enchanted with Subtlety.) Generally, whichever unit has the highest raw threat against an NPC becomes its primary target, and raw threat percentage simplifies this comparison. However, most NPCs are designed to maintain some degree of target focus -- so that they don't rapidly switch targets if, for example, a unit other than the primary target suddenly reaches 101% raw threat. The amount by which a unit must surpass the primary target's threat to become the new primary target varies by distance from the NPC.  Thus, a scaled percentage value is given to provide clarity. The rawPercent value returned from this function can be greater than 100 (indicating that unit has greater threat against mobUnit than mobUnit's primary target, and is thus in danger of becoming the primary target), but the scaledPercent value will always be 100 or lower. Threat information for a pair of units is only returned if the player has threat against the NPC unit in question. (For example, no threat data is provided if the player's pet is attacking an NPC but the player himself has taken no action, even though the pet has threat against the NPC.) -function UnitDetailedThreatSituation(unit, name, mobUnit) end \ No newline at end of file +function UnitDetailedThreatSituation(unit, name, mobUnit) end diff --git a/api/UnitDistanceSquared.lua b/api/UnitDistanceSquared.lua index c18dee0..80efe12 100644 --- a/api/UnitDistanceSquared.lua +++ b/api/UnitDistanceSquared.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number distanceSquared ----@return boolean checkedDistance +---@param unit string +---@return number distanceSquared +---@return boolean checkedDistance ---Returns the squared distance to a unit in the player's group. The distance returned appears to work from anywhere (even across continents and instance boundaries, although the answer is of dubious value). -function UnitDistanceSquared(unit) end \ No newline at end of file +function UnitDistanceSquared(unit) end diff --git a/api/UnitExists.lua b/api/UnitExists.lua index 2101b8d..185d808 100644 --- a/api/UnitExists.lua +++ b/api/UnitExists.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean exists +---@param unit string +---@return boolean exists ---Returns whether a unit exists. A unit "exists" if it can be referenced by the player; e.g. party1 exists if the player is in a party with at least one other member (regardless of whether that member is nearby), target exists if the player has a target, npc exists if the player is currently interacting with an NPC, etc. ---@overload fun(name: string) -function UnitExists(unit, name) end \ No newline at end of file +function UnitExists(unit, name) end diff --git a/api/UnitFactionGroup.lua b/api/UnitFactionGroup.lua index a37c111..6685201 100644 --- a/api/UnitFactionGroup.lua +++ b/api/UnitFactionGroup.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return string factionGroup ----@return string factionName +---@param unit string +---@param name string +---@return string factionGroup +---@return string factionName ---Returns a unit's primary faction allegiance -function UnitFactionGroup(unit, name) end \ No newline at end of file +function UnitFactionGroup(unit, name) end diff --git a/api/UnitFullName.lua b/api/UnitFullName.lua index d5a2f03..b54905b 100644 --- a/api/UnitFullName.lua +++ b/api/UnitFullName.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Will return a units name appended with the realm name without spaces. . UnitFullName(unit) will return a players name appended with the "shortened" realmname; this would be the realm name without spaces. -function UnitFullName() end \ No newline at end of file +function UnitFullName() end diff --git a/api/UnitGUID.lua b/api/UnitGUID.lua index 4cb3914..c059eb2 100644 --- a/api/UnitGUID.lua +++ b/api/UnitGUID.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string guid +---@param unit string +---@return string guid ---Returns a unit's globally unique identifier -function UnitGUID(unit) end \ No newline at end of file +function UnitGUID(unit) end diff --git a/api/UnitGetAvailableRoles.lua b/api/UnitGetAvailableRoles.lua index e5dcdd6..a2eab65 100644 --- a/api/UnitGetAvailableRoles.lua +++ b/api/UnitGetAvailableRoles.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean canBeTank ----@return boolean canBeHealer ----@return boolean canBeDPS +---@param unit string +---@return boolean canBeTank +---@return boolean canBeHealer +---@return boolean canBeDPS ---Get what roles a unit can play in the group or raid. See UnitSetRole("unit", "role") -function UnitGetAvailableRoles(unit) end \ No newline at end of file +function UnitGetAvailableRoles(unit) end diff --git a/api/UnitGetIncomingHeals.lua b/api/UnitGetIncomingHeals.lua index 797dd99..3791596 100644 --- a/api/UnitGetIncomingHeals.lua +++ b/api/UnitGetIncomingHeals.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitGetIncomingHeals() end \ No newline at end of file +function UnitGetIncomingHeals() end diff --git a/api/UnitGetTotalAbsorbs.lua b/api/UnitGetTotalAbsorbs.lua index dd33343..9ef53d4 100644 --- a/api/UnitGetTotalAbsorbs.lua +++ b/api/UnitGetTotalAbsorbs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitGetTotalAbsorbs() end \ No newline at end of file +function UnitGetTotalAbsorbs() end diff --git a/api/UnitGetTotalHealAbsorbs.lua b/api/UnitGetTotalHealAbsorbs.lua index a38d41a..7e40472 100644 --- a/api/UnitGetTotalHealAbsorbs.lua +++ b/api/UnitGetTotalHealAbsorbs.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitGetTotalHealAbsorbs() end \ No newline at end of file +function UnitGetTotalHealAbsorbs() end diff --git a/api/UnitGroupRolesAssigned.lua b/api/UnitGroupRolesAssigned.lua index 5e452c7..2bf19c5 100644 --- a/api/UnitGroupRolesAssigned.lua +++ b/api/UnitGroupRolesAssigned.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return TANK role ----@return DAMAGER ----@return HEALER ----@return NONE ----@return TANK +---@param unit string +---@return TANK role +---@return DAMAGER +---@return HEALER +---@return NONE +---@return TANK ---Returns information about a unit's role in a group -function UnitGroupRolesAssigned(unit) end \ No newline at end of file +function UnitGroupRolesAssigned(unit) end diff --git a/api/UnitHPPerStamina.lua b/api/UnitHPPerStamina.lua index 0d6a57e..c54d734 100644 --- a/api/UnitHPPerStamina.lua +++ b/api/UnitHPPerStamina.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitHPPerStamina() end \ No newline at end of file +function UnitHPPerStamina() end diff --git a/api/UnitHasIncomingResurrection.lua b/api/UnitHasIncomingResurrection.lua index de8f48a..bca0dbf 100644 --- a/api/UnitHasIncomingResurrection.lua +++ b/api/UnitHasIncomingResurrection.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean isBeingRessed +---@param unit string +---@return boolean isBeingRessed ---Check if a unit is being resurrected. You can pass either a unitID ("player", "party1", "target") or a unit name ("Cladhaire", "Vanhoeffen"). -function UnitHasIncomingResurrection(unit) end \ No newline at end of file +function UnitHasIncomingResurrection(unit) end diff --git a/api/UnitHasLFGDeserter.lua b/api/UnitHasLFGDeserter.lua index ad61e0c..c70f781 100644 --- a/api/UnitHasLFGDeserter.lua +++ b/api/UnitHasLFGDeserter.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitHasLFGDeserter() end \ No newline at end of file +function UnitHasLFGDeserter() end diff --git a/api/UnitHasLFGRandomCooldown.lua b/api/UnitHasLFGRandomCooldown.lua index e2a0432..9213782 100644 --- a/api/UnitHasLFGRandomCooldown.lua +++ b/api/UnitHasLFGRandomCooldown.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitHasLFGRandomCooldown() end \ No newline at end of file +function UnitHasLFGRandomCooldown() end diff --git a/api/UnitHasRelicSlot.lua b/api/UnitHasRelicSlot.lua index 436d172..beec89b 100644 --- a/api/UnitHasRelicSlot.lua +++ b/api/UnitHasRelicSlot.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil hasRelic +---@param unit string +---@return 1nil hasRelic ---Returns whether a unit has a relic slot instead of a ranged weapon slot -function UnitHasRelicSlot(unit) end \ No newline at end of file +function UnitHasRelicSlot(unit) end diff --git a/api/UnitHasVehiclePlayerFrameUI.lua b/api/UnitHasVehiclePlayerFrameUI.lua index e9a2a3b..e05efe1 100644 --- a/api/UnitHasVehiclePlayerFrameUI.lua +++ b/api/UnitHasVehiclePlayerFrameUI.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitHasVehiclePlayerFrameUI() end \ No newline at end of file +function UnitHasVehiclePlayerFrameUI() end diff --git a/api/UnitHasVehicleUI.lua b/api/UnitHasVehicleUI.lua index 16897f1..891353f 100644 --- a/api/UnitHasVehicleUI.lua +++ b/api/UnitHasVehicleUI.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return boolean hasVehicle +---@param unit string +---@param name string +---@return boolean hasVehicle ---Returns whether a unit is controlling a vehicle or vehicle weapon. Used in the default UI to show the vehicle's health and power status bars in place of the controlling unit's. Returns false for passengers riding in but not controlling part of a vehicle; to find out whether a unit is riding in a vehicle, use UnitInVehicle. Also note that in some vehicles the player can command a vehicle weapon (e.g. gun turret) without controlling the vehicle itself; to find out whether a unit is controlling a vehicle, use UnitControllingVehicle. -function UnitHasVehicleUI(unit, name) end \ No newline at end of file +function UnitHasVehicleUI(unit, name) end diff --git a/api/UnitHealth.lua b/api/UnitHealth.lua index bc6f699..6abe346 100644 --- a/api/UnitHealth.lua +++ b/api/UnitHealth.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number health +---@param unit string +---@return number health ---Returns a unit's current amount of health ---@overload fun(name: string): number -function UnitHealth(unit, name) end \ No newline at end of file +function UnitHealth(unit, name) end diff --git a/api/UnitHealthMax.lua b/api/UnitHealthMax.lua index 29ff5b9..3ebdb29 100644 --- a/api/UnitHealthMax.lua +++ b/api/UnitHealthMax.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number maxValue +---@param unit string +---@return number maxValue ---Returns a unit's maximum health value ---@overload fun(name: string): number -function UnitHealthMax(unit, name) end \ No newline at end of file +function UnitHealthMax(unit, name) end diff --git a/api/UnitInBattleground.lua b/api/UnitInBattleground.lua index 2d12b9f..1ad781f 100644 --- a/api/UnitInBattleground.lua +++ b/api/UnitInBattleground.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number raidNum +---@param unit string +---@return number raidNum ---Returns whether a unit is in same battleground instance as the player -function UnitInBattleground(unit) end \ No newline at end of file +function UnitInBattleground(unit) end diff --git a/api/UnitInOtherParty.lua b/api/UnitInOtherParty.lua index 5a21a04..6e0679d 100644 --- a/api/UnitInOtherParty.lua +++ b/api/UnitInOtherParty.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitInOtherParty() end \ No newline at end of file +function UnitInOtherParty() end diff --git a/api/UnitInParty.lua b/api/UnitInParty.lua index 3a89083..f3a32ed 100644 --- a/api/UnitInParty.lua +++ b/api/UnitInParty.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---@return number|nil inParty (1 or nil) ---Returns whether a unit is a player unit in the player's party. Always returns 1 for the player unit. Returns nil for the player's or party members' pets. ---@overload fun(name: string): number|nil -function UnitInParty(unit) end \ No newline at end of file +function UnitInParty(unit) end diff --git a/api/UnitInPhase.lua b/api/UnitInPhase.lua index aa66405..483bf73 100644 --- a/api/UnitInPhase.lua +++ b/api/UnitInPhase.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unitID unitID ----@return 1nil inPhase +---@param unitID unitID +---@return 1nil inPhase ---Return information if unit is in this same phase. -function UnitInPhase(unitID) end \ No newline at end of file +function UnitInPhase(unitID) end diff --git a/api/UnitInRaid.lua b/api/UnitInRaid.lua index f0cfe93..8af535f 100644 --- a/api/UnitInRaid.lua +++ b/api/UnitInRaid.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number inRaid +---@param unit string +---@return number inRaid ---Returns whether a unit is in the player's raid -function UnitInRaid(unit) end \ No newline at end of file +function UnitInRaid(unit) end diff --git a/api/UnitInRange.lua b/api/UnitInRange.lua index 7bcc693..314e077 100644 --- a/api/UnitInRange.lua +++ b/api/UnitInRange.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil inRange +---@param unit string +---@param name string +---@return 1nil inRange ---Returns whether a party/raid member is nearby. The range check used by this function isn't directly based on the player's abilities (which may have varying ranges); it's fixed by Blizzard at a distance of around 40 yards (which encompasses many common healing spells and other abilities often used on raid members). Also returns nil for units outside the player's area of view. -function UnitInRange(unit, name) end \ No newline at end of file +function UnitInRange(unit, name) end diff --git a/api/UnitInVehicle.lua b/api/UnitInVehicle.lua index 142b414..e68aad3 100644 --- a/api/UnitInVehicle.lua +++ b/api/UnitInVehicle.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil inVehicle +---@param unit string +---@param name string +---@return 1nil inVehicle ---Returns whether a unit is in a vehicle. A unit can be riding in a vehicle without controlling it: to test whether a unit is controlling a vehicle, use UnitControllingVehicle or UnitHasVehicleUI. Note: multi-passenger mounts appear as vehicles for passengers but not for the owner. -function UnitInVehicle(unit, name) end \ No newline at end of file +function UnitInVehicle(unit, name) end diff --git a/api/UnitInVehicleControlSeat.lua b/api/UnitInVehicleControlSeat.lua index 2079386..734b249 100644 --- a/api/UnitInVehicleControlSeat.lua +++ b/api/UnitInVehicleControlSeat.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean isInControl +---@return boolean isInControl ---Returns whether a unit controls a vehicle -function UnitInVehicleControlSeat() end \ No newline at end of file +function UnitInVehicleControlSeat() end diff --git a/api/UnitInVehicleHidesPetFrame.lua b/api/UnitInVehicleHidesPetFrame.lua index a05e037..c1d6041 100644 --- a/api/UnitInVehicleHidesPetFrame.lua +++ b/api/UnitInVehicleHidesPetFrame.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitInVehicleHidesPetFrame() end \ No newline at end of file +function UnitInVehicleHidesPetFrame() end diff --git a/api/UnitIsAFK.lua b/api/UnitIsAFK.lua index 8aaa4a9..bb47a0f 100644 --- a/api/UnitIsAFK.lua +++ b/api/UnitIsAFK.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil isAFK +---@param unit string +---@param name string +---@return 1nil isAFK ---Returns whether a unit is marked AFK (Away From Keyboard) -function UnitIsAFK(unit, name) end \ No newline at end of file +function UnitIsAFK(unit, name) end diff --git a/api/UnitIsBattlePet.lua b/api/UnitIsBattlePet.lua index 1a877a4..714b1cc 100644 --- a/api/UnitIsBattlePet.lua +++ b/api/UnitIsBattlePet.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsBattlePet() end \ No newline at end of file +function UnitIsBattlePet() end diff --git a/api/UnitIsBattlePetCompanion.lua b/api/UnitIsBattlePetCompanion.lua index 8f05625..ed29256 100644 --- a/api/UnitIsBattlePetCompanion.lua +++ b/api/UnitIsBattlePetCompanion.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsBattlePetCompanion() end \ No newline at end of file +function UnitIsBattlePetCompanion() end diff --git a/api/UnitIsCharmed.lua b/api/UnitIsCharmed.lua index ff7d77a..55f910f 100644 --- a/api/UnitIsCharmed.lua +++ b/api/UnitIsCharmed.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isCharmed +---@param unit string +---@return 1nil isCharmed ---Returns whether a unit is currently charmed. A charmed unit is affected by Mind Control (or a similar effect) and thus hostile to units which are normally his or her allies. -function UnitIsCharmed(unit) end \ No newline at end of file +function UnitIsCharmed(unit) end diff --git a/api/UnitIsConnected.lua b/api/UnitIsConnected.lua index fdded92..4d753ee 100644 --- a/api/UnitIsConnected.lua +++ b/api/UnitIsConnected.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isConnected +---@param unit string +---@return 1nil isConnected ---Returns whether a unit is connected (i.e. not Offline) -function UnitIsConnected(unit) end \ No newline at end of file +function UnitIsConnected(unit) end diff --git a/api/UnitIsControlling.lua b/api/UnitIsControlling.lua index b332cf1..c6b05d6 100644 --- a/api/UnitIsControlling.lua +++ b/api/UnitIsControlling.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isControlling +---@param unit string +---@return 1nil isControlling ---Returns whether a unit is controlling another unit. Applies to Mind Control and similar cases as well as to players piloting vehicles. -function UnitIsControlling(unit) end \ No newline at end of file +function UnitIsControlling(unit) end diff --git a/api/UnitIsCorpse.lua b/api/UnitIsCorpse.lua index de21118..5243733 100644 --- a/api/UnitIsCorpse.lua +++ b/api/UnitIsCorpse.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isCorpse +---@param unit string +---@return 1nil isCorpse ---Returns whether a unit is a corpse -function UnitIsCorpse(unit) end \ No newline at end of file +function UnitIsCorpse(unit) end diff --git a/api/UnitIsDND.lua b/api/UnitIsDND.lua index 387328d..ff951ca 100644 --- a/api/UnitIsDND.lua +++ b/api/UnitIsDND.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil isDND +---@param unit string +---@param name string +---@return 1nil isDND ---Returns whether a unit is marked DND (Do Not Disturb) -function UnitIsDND(unit, name) end \ No newline at end of file +function UnitIsDND(unit, name) end diff --git a/api/UnitIsDead.lua b/api/UnitIsDead.lua index 23513da..a6bd220 100644 --- a/api/UnitIsDead.lua +++ b/api/UnitIsDead.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isDead +---@param unit string +---@return 1nil isDead ---Returns whether a unit is dead. Only returns 1 while the unit is dead and has not yet released his or her spirit. See UnitIsGhost() for after the unit has released. -function UnitIsDead(unit) end \ No newline at end of file +function UnitIsDead(unit) end diff --git a/api/UnitIsDeadOrGhost.lua b/api/UnitIsDeadOrGhost.lua index dc40701..9ed1517 100644 --- a/api/UnitIsDeadOrGhost.lua +++ b/api/UnitIsDeadOrGhost.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isDeadOrGhost +---@param unit string +---@return 1nil isDeadOrGhost ---Returns whether a unit is either dead or a ghost -function UnitIsDeadOrGhost(unit) end \ No newline at end of file +function UnitIsDeadOrGhost(unit) end diff --git a/api/UnitIsEnemy.lua b/api/UnitIsEnemy.lua index bb18a84..a543032 100644 --- a/api/UnitIsEnemy.lua +++ b/api/UnitIsEnemy.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 1nil isEnemy +---@param unit string +---@param unit string +---@return 1nil isEnemy ---Returns whether two units are enemies -function UnitIsEnemy(unit, unit) end \ No newline at end of file +function UnitIsEnemy(unit, unit) end diff --git a/api/UnitIsFeignDeath.lua b/api/UnitIsFeignDeath.lua index 977303b..290b5a0 100644 --- a/api/UnitIsFeignDeath.lua +++ b/api/UnitIsFeignDeath.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isFeign +---@param unit string +---@return 1nil isFeign ---Returns whether a unit is feigning death. Only provides valid data for friendly units. -function UnitIsFeignDeath(unit) end \ No newline at end of file +function UnitIsFeignDeath(unit) end diff --git a/api/UnitIsFriend.lua b/api/UnitIsFriend.lua index 5b25c96..7057ae0 100644 --- a/api/UnitIsFriend.lua +++ b/api/UnitIsFriend.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 1nil isFriends +---@param unit string +---@param unit string +---@return 1nil isFriends ---Returns whether two units are friendly -function UnitIsFriend(unit, unit) end \ No newline at end of file +function UnitIsFriend(unit, unit) end diff --git a/api/UnitIsGhost.lua b/api/UnitIsGhost.lua index 4b1dc3c..ac6dad9 100644 --- a/api/UnitIsGhost.lua +++ b/api/UnitIsGhost.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isGhost +---@param unit string +---@return 1nil isGhost ---Returns whether a unit is currently a ghost -function UnitIsGhost(unit) end \ No newline at end of file +function UnitIsGhost(unit) end diff --git a/api/UnitIsGroupAssistant.lua b/api/UnitIsGroupAssistant.lua index 55a12c7..e1e3769 100644 --- a/api/UnitIsGroupAssistant.lua +++ b/api/UnitIsGroupAssistant.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsGroupAssistant() end \ No newline at end of file +function UnitIsGroupAssistant() end diff --git a/api/UnitIsGroupLeader.lua b/api/UnitIsGroupLeader.lua index 2e4d2b2..b1272c7 100644 --- a/api/UnitIsGroupLeader.lua +++ b/api/UnitIsGroupLeader.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean leader +---@param unit string +---@return boolean leader ---Returns whether a unit is the raid leader. ---@overload fun(name: string) -function UnitIsGroupLeader(unit, name) end \ No newline at end of file +function UnitIsGroupLeader(unit, name) end diff --git a/api/UnitIsInMyGuild.lua b/api/UnitIsInMyGuild.lua index c77e3f3..849311c 100644 --- a/api/UnitIsInMyGuild.lua +++ b/api/UnitIsInMyGuild.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil inGuild +---@param unit string +---@return 1nil inGuild ---Returns whether a unit is in the player's guild -function UnitIsInMyGuild(unit) end \ No newline at end of file +function UnitIsInMyGuild(unit) end diff --git a/api/UnitIsOtherPlayersBattlePet.lua b/api/UnitIsOtherPlayersBattlePet.lua index 33720c1..aad7e56 100644 --- a/api/UnitIsOtherPlayersBattlePet.lua +++ b/api/UnitIsOtherPlayersBattlePet.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsOtherPlayersBattlePet() end \ No newline at end of file +function UnitIsOtherPlayersBattlePet() end diff --git a/api/UnitIsOtherPlayersPet.lua b/api/UnitIsOtherPlayersPet.lua index a8f79cb..6fd322f 100644 --- a/api/UnitIsOtherPlayersPet.lua +++ b/api/UnitIsOtherPlayersPet.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean isPet +---@param unit string +---@return boolean isPet ---Returns whether or not the unit is another player's permanent pet -function UnitIsOtherPlayersPet(unit) end \ No newline at end of file +function UnitIsOtherPlayersPet(unit) end diff --git a/api/UnitIsPVP.lua b/api/UnitIsPVP.lua index 8d40f96..3a7875f 100644 --- a/api/UnitIsPVP.lua +++ b/api/UnitIsPVP.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isPVP +---@param unit string +---@return 1nil isPVP ---Returns whether a unit is flagged for PvP activity -function UnitIsPVP(unit) end \ No newline at end of file +function UnitIsPVP(unit) end diff --git a/api/UnitIsPVPFreeForAll.lua b/api/UnitIsPVPFreeForAll.lua index da03fbd..4cf14d3 100644 --- a/api/UnitIsPVPFreeForAll.lua +++ b/api/UnitIsPVPFreeForAll.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isFreeForAll +---@param unit string +---@return 1nil isFreeForAll ---Returns whether a unit is flagged for free-for-all PvP. Free-for-all PvP allows all players to attack each other regardless of faction; used in certain outdoor areas (such as Gurubashi Arena and "The Maul" outside Dire Maul). -function UnitIsPVPFreeForAll(unit) end \ No newline at end of file +function UnitIsPVPFreeForAll(unit) end diff --git a/api/UnitIsPVPSanctuary.lua b/api/UnitIsPVPSanctuary.lua index 97f2136..9f3d934 100644 --- a/api/UnitIsPVPSanctuary.lua +++ b/api/UnitIsPVPSanctuary.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil state +---@param unit string +---@return 1nil state ---Returns whether a unit is in a Sanctuary area preventing PvP activity -function UnitIsPVPSanctuary(unit) end \ No newline at end of file +function UnitIsPVPSanctuary(unit) end diff --git a/api/UnitIsPlayer.lua b/api/UnitIsPlayer.lua index c998316..b216624 100644 --- a/api/UnitIsPlayer.lua +++ b/api/UnitIsPlayer.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean isPlayer +---@param unit string +---@return boolean isPlayer ---Returns whether a unit is a player unit (not an NPC) -function UnitIsPlayer(unit) end \ No newline at end of file +function UnitIsPlayer(unit) end diff --git a/api/UnitIsPossessed.lua b/api/UnitIsPossessed.lua index 2e2628a..d20c71a 100644 --- a/api/UnitIsPossessed.lua +++ b/api/UnitIsPossessed.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isPossessed +---@param unit string +---@return 1nil isPossessed ---Returns whether a unit is possessed by another -function UnitIsPossessed(unit) end \ No newline at end of file +function UnitIsPossessed(unit) end diff --git a/api/UnitIsQuestBoss.lua b/api/UnitIsQuestBoss.lua index 98f3dfa..da411f6 100644 --- a/api/UnitIsQuestBoss.lua +++ b/api/UnitIsQuestBoss.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsQuestBoss() end \ No newline at end of file +function UnitIsQuestBoss() end diff --git a/api/UnitIsRaidOfficer.lua b/api/UnitIsRaidOfficer.lua index 7b56f77..5af7c72 100644 --- a/api/UnitIsRaidOfficer.lua +++ b/api/UnitIsRaidOfficer.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string +---@param unit string ---@return number|nil leader (1 or nil) ---Returns whether a unit is a raid assistant in the player's raid ---@overload fun(name: string): number|nil -function UnitIsRaidOfficer(unit) end \ No newline at end of file +function UnitIsRaidOfficer(unit) end diff --git a/api/UnitIsSameServer.lua b/api/UnitIsSameServer.lua index fddd257..c8c5fab 100644 --- a/api/UnitIsSameServer.lua +++ b/api/UnitIsSameServer.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 1nil isSame +---@param unit string +---@param unit string +---@return 1nil isSame ---Returns whether two units are from the same server -function UnitIsSameServer(unit, unit) end \ No newline at end of file +function UnitIsSameServer(unit, unit) end diff --git a/api/UnitIsSilenced.lua b/api/UnitIsSilenced.lua index 131a4b3..fd350f0 100644 --- a/api/UnitIsSilenced.lua +++ b/api/UnitIsSilenced.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param channel string ----@return 1nil silenced +---@param name string +---@param channel string +---@return 1nil silenced ---Returns whether a character is silenced on a voice channel -function UnitIsSilenced(name, channel) end \ No newline at end of file +function UnitIsSilenced(name, channel) end diff --git a/api/UnitIsTalking.lua b/api/UnitIsTalking.lua index 8cbe400..ee379f4 100644 --- a/api/UnitIsTalking.lua +++ b/api/UnitIsTalking.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil state +---@param unit string +---@return 1nil state ---Returns whether a unit is currently speaking in voice chat. Despite the "unit" name, this function only accepts player names, not unitIDs. -function UnitIsTalking(unit) end \ No newline at end of file +function UnitIsTalking(unit) end diff --git a/api/UnitIsTapped.lua b/api/UnitIsTapped.lua index a62a7f4..8c6180a 100644 --- a/api/UnitIsTapped.lua +++ b/api/UnitIsTapped.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitId +---@param unit unitId ---Returns whether a unit is tapped. Normally, rewards for killing a unit are available only to the character or group who first damaged the unit; once a character has thus established his claim on the unit, it is considered "tapped". -function UnitIsTapped(unit) end \ No newline at end of file +function UnitIsTapped(unit) end diff --git a/api/UnitIsTappedByAllThreatList.lua b/api/UnitIsTappedByAllThreatList.lua index 0b629d7..16081bb 100644 --- a/api/UnitIsTappedByAllThreatList.lua +++ b/api/UnitIsTappedByAllThreatList.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil allTapped +---@param unit string +---@return 1nil allTapped ---Returns whether a unit allows all players on its threat list to receive kill credit. Used to override the normal "tapping" behavior for certain mobs -- if this function returns 1, the player does not have to be the first to attack the mob (or in the same party/raid as the first player to attack) in order to receive quest or achievement credit for killing it. In the default UI, this function can prevent the graying of a unit's name background in the TargetFrame and FocusFrame even if the unit is otherwise tapped, indicating that kill credit is still available if the player attacks. -function UnitIsTappedByAllThreatList(unit) end \ No newline at end of file +function UnitIsTappedByAllThreatList(unit) end diff --git a/api/UnitIsTappedByPlayer.lua b/api/UnitIsTappedByPlayer.lua index f777733..0bff694 100644 --- a/api/UnitIsTappedByPlayer.lua +++ b/api/UnitIsTappedByPlayer.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isTapped +---@param unit string +---@return 1nil isTapped ---Returns whether a unit is tapped by the player or the player's group. Normally, rewards for killing a unit are available only to the character or group who first damaged the unit; once a character has thus established his claim on the unit, it is considered "tapped". -function UnitIsTappedByPlayer(unit) end \ No newline at end of file +function UnitIsTappedByPlayer(unit) end diff --git a/api/UnitIsTrivial.lua b/api/UnitIsTrivial.lua index 44c604f..baef521 100644 --- a/api/UnitIsTrivial.lua +++ b/api/UnitIsTrivial.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isTrivial +---@param unit string +---@return 1nil isTrivial ---Returns whether a unit is trivial at the player's level. Killing trivial units (whose level is colored gray in the default UI) does not reward honor or experience. -function UnitIsTrivial(unit) end \ No newline at end of file +function UnitIsTrivial(unit) end diff --git a/api/UnitIsUnconscious.lua b/api/UnitIsUnconscious.lua index bb2d125..342da53 100644 --- a/api/UnitIsUnconscious.lua +++ b/api/UnitIsUnconscious.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsUnconscious() end \ No newline at end of file +function UnitIsUnconscious() end diff --git a/api/UnitIsUnit.lua b/api/UnitIsUnit.lua index fb15081..6d77d96 100644 --- a/api/UnitIsUnit.lua +++ b/api/UnitIsUnit.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 1nil isSame +---@param unit string +---@param unit string +---@return 1nil isSame ---Returns whether two unit references are to the same unit. Useful for determining whether a composite unitID (such as raid19target) also refers to a basic unitID; see example. -function UnitIsUnit(unit, unit) end \ No newline at end of file +function UnitIsUnit(unit, unit) end diff --git a/api/UnitIsVisible.lua b/api/UnitIsVisible.lua index ba7272a..f11bf3d 100644 --- a/api/UnitIsVisible.lua +++ b/api/UnitIsVisible.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isVisible +---@param unit string +---@return 1nil isVisible ---Returns whether a unit is in the player's area of interest -function UnitIsVisible(unit) end \ No newline at end of file +function UnitIsVisible(unit) end diff --git a/api/UnitIsWildBattlePet.lua b/api/UnitIsWildBattlePet.lua index 10f3235..57a52f3 100644 --- a/api/UnitIsWildBattlePet.lua +++ b/api/UnitIsWildBattlePet.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitIsWildBattlePet() end \ No newline at end of file +function UnitIsWildBattlePet() end diff --git a/api/UnitLeadsAnyGroup.lua b/api/UnitLeadsAnyGroup.lua index caf8ba5..cfec7ce 100644 --- a/api/UnitLeadsAnyGroup.lua +++ b/api/UnitLeadsAnyGroup.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean uLead +---@param unit string +---@return boolean uLead ---Returns whether a unit is the leader of any group -function UnitLeadsAnyGroup(unit) end \ No newline at end of file +function UnitLeadsAnyGroup(unit) end diff --git a/api/UnitLevel.lua b/api/UnitLevel.lua index d795936..d6cb0ac 100644 --- a/api/UnitLevel.lua +++ b/api/UnitLevel.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number level +---@param unit string +---@return number level ---Returns a unit's level. Returns -1 for boss units and hostile units whose level is ten levels or more above the player's. -function UnitLevel(unit) end \ No newline at end of file +function UnitLevel(unit) end diff --git a/api/UnitMana.lua b/api/UnitMana.lua index d74a236..e3d70ac 100644 --- a/api/UnitMana.lua +++ b/api/UnitMana.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitMana() end \ No newline at end of file +function UnitMana() end diff --git a/api/UnitManaMax.lua b/api/UnitManaMax.lua index cba4514..d0396a9 100644 --- a/api/UnitManaMax.lua +++ b/api/UnitManaMax.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitManaMax() end \ No newline at end of file +function UnitManaMax() end diff --git a/api/UnitName.lua b/api/UnitName.lua index 69a8da4..7a14032 100644 --- a/api/UnitName.lua +++ b/api/UnitName.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string name ----@return string realm +---@param unit string +---@return string name +---@return string realm ---Returns the name of a unit -function UnitName(unit) end \ No newline at end of file +function UnitName(unit) end diff --git a/api/UnitNumPowerBarTimers.lua b/api/UnitNumPowerBarTimers.lua index f2400af..2a04a32 100644 --- a/api/UnitNumPowerBarTimers.lua +++ b/api/UnitNumPowerBarTimers.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitNumPowerBarTimers() end \ No newline at end of file +function UnitNumPowerBarTimers() end diff --git a/api/UnitOnTaxi.lua b/api/UnitOnTaxi.lua index 4266bf4..e2017f9 100644 --- a/api/UnitOnTaxi.lua +++ b/api/UnitOnTaxi.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil onTaxi +---@param unit string +---@return 1nil onTaxi ---Returns whether a unit is currently riding a flight path (taxi). Valid for any unit in the player's area of interest, but generally useful only for player -- taxi flights move quickly, so a taxi-riding unit visible to the player will not remain visible for very long. -function UnitOnTaxi(unit) end \ No newline at end of file +function UnitOnTaxi(unit) end diff --git a/api/UnitPVPName.lua b/api/UnitPVPName.lua index 839ea58..434986b 100644 --- a/api/UnitPVPName.lua +++ b/api/UnitPVPName.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string name +---@param unit string +---@return string name ---Returns the name of a unit including the unit's current title. Titles are no longer specific to PvP; this function returns a unit's name with whichever title he or she is currently displaying (e.g. "Gladiator Spin", "Keydar Jenkins", "Ownsusohard, Champion of the Frozen Wastes", etc). -function UnitPVPName(unit) end \ No newline at end of file +function UnitPVPName(unit) end diff --git a/api/UnitPlayerControlled.lua b/api/UnitPlayerControlled.lua index 8a9551b..9ce6b2b 100644 --- a/api/UnitPlayerControlled.lua +++ b/api/UnitPlayerControlled.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil isPlayer +---@param unit string +---@return 1nil isPlayer ---Returns whether a unit is controlled by a player -function UnitPlayerControlled(unit) end \ No newline at end of file +function UnitPlayerControlled(unit) end diff --git a/api/UnitPlayerOrPetInParty.lua b/api/UnitPlayerOrPetInParty.lua index 596ff82..e83d358 100644 --- a/api/UnitPlayerOrPetInParty.lua +++ b/api/UnitPlayerOrPetInParty.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil inParty +---@param unit string +---@param name string +---@return 1nil inParty ---Returns whether a unit is in the player's party or belongs to a party member. Returns nil for the player and the player's pet. -function UnitPlayerOrPetInParty(unit, name) end \ No newline at end of file +function UnitPlayerOrPetInParty(unit, name) end diff --git a/api/UnitPlayerOrPetInRaid.lua b/api/UnitPlayerOrPetInRaid.lua index 00ea501..52b98ce 100644 --- a/api/UnitPlayerOrPetInRaid.lua +++ b/api/UnitPlayerOrPetInRaid.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 1nil inParty +---@param unit string +---@param name string +---@return 1nil inParty ---Returns whether a unit is in the player's raid or belongs to a raid member -function UnitPlayerOrPetInRaid(unit, name) end \ No newline at end of file +function UnitPlayerOrPetInRaid(unit, name) end diff --git a/api/UnitPosition.lua b/api/UnitPosition.lua index ee149e7..fab0ced 100644 --- a/api/UnitPosition.lua +++ b/api/UnitPosition.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitPosition() end \ No newline at end of file +function UnitPosition() end diff --git a/api/UnitPower.lua b/api/UnitPower.lua index b78aff1..bd6b9e8 100644 --- a/api/UnitPower.lua +++ b/api/UnitPower.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unitID string ----@param powerType number ----@return number power +---@param unitID string +---@param powerType number +---@return number power ---Returns a unit's current level of mana, rage, energy or other power type. Returns zero for non-existent units. -function UnitPower(unitID, powerType) end \ No newline at end of file +function UnitPower(unitID, powerType) end diff --git a/api/UnitPowerBarTimerInfo.lua b/api/UnitPowerBarTimerInfo.lua index ba8d72a..d9a0531 100644 --- a/api/UnitPowerBarTimerInfo.lua +++ b/api/UnitPowerBarTimerInfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitPowerBarTimerInfo() end \ No newline at end of file +function UnitPowerBarTimerInfo() end diff --git a/api/UnitPowerMax.lua b/api/UnitPowerMax.lua index f228255..f65cb16 100644 --- a/api/UnitPowerMax.lua +++ b/api/UnitPowerMax.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unitID string ----@param powerType number ----@return number maxValue +---@param unitID string +---@param powerType number +---@return number maxValue ---Returns a unit's maximum mana, rage, energy or other power type. Returns the units current maximum power, if the unit does not exist then zero is returned. When querying with a powerType, as long as the unit exists you will get the maximum untalented power even if the class does not use the power type. -function UnitPowerMax(unitID, powerType) end \ No newline at end of file +function UnitPowerMax(unitID, powerType) end diff --git a/api/UnitPowerType.lua b/api/UnitPowerType.lua index 6375974..f19e9ee 100644 --- a/api/UnitPowerType.lua +++ b/api/UnitPowerType.lua @@ -1,16 +1,16 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 6 powerType ----@return 0 ----@return 1 ----@return 2 ----@return 3 ----@return 6 ----@return string powerToken ----@return number altR ----@return number altG ----@return number altB +---@param unit string +---@param name string +---@return 6 powerType +---@return 0 +---@return 1 +---@return 2 +---@return 3 +---@return 6 +---@return string powerToken +---@return number altR +---@return number altG +---@return number altB ---Returns the power type (energy, mana, rage) of the given unit. Does not return color values for common power types (mana, rage, energy, focus, and runic power); the canonical colors for these can be found in the PowerBarColor table. Color values may be included for special power types such as those used by vehicles. -function UnitPowerType(unit, name) end \ No newline at end of file +function UnitPowerType(unit, name) end diff --git a/api/UnitRace.lua b/api/UnitRace.lua index 7a7016f..9a7647e 100644 --- a/api/UnitRace.lua +++ b/api/UnitRace.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return string race ----@return string fileName +---@param unit string +---@return string race +---@return string fileName ---Returns the name of a unit's race -function UnitRace(unit) end \ No newline at end of file +function UnitRace(unit) end diff --git a/api/UnitRangedAttack.lua b/api/UnitRangedAttack.lua index 0064f14..a0955f2 100644 --- a/api/UnitRangedAttack.lua +++ b/api/UnitRangedAttack.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number rangedAttackBase ----@return number rangedAttackMod +---@param unit string +---@return number rangedAttackBase +---@return number rangedAttackMod ---Returns information about the player's or pet's ranged weapon skill -function UnitRangedAttack(unit) end \ No newline at end of file +function UnitRangedAttack(unit) end diff --git a/api/UnitRangedAttackPower.lua b/api/UnitRangedAttackPower.lua index e58f318..76697fd 100644 --- a/api/UnitRangedAttackPower.lua +++ b/api/UnitRangedAttackPower.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number base ----@return number posBuff ----@return number negBuff +---@param unit string +---@return number base +---@return number posBuff +---@return number negBuff ---Returns the player's or pet's ranged attack power -function UnitRangedAttackPower(unit) end \ No newline at end of file +function UnitRangedAttackPower(unit) end diff --git a/api/UnitRangedDamage.lua b/api/UnitRangedDamage.lua index e12c0a7..9777b02 100644 --- a/api/UnitRangedDamage.lua +++ b/api/UnitRangedDamage.lua @@ -1,11 +1,11 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number rangedAttackSpeed ----@return number minDamage ----@return number maxDamage ----@return number physicalBonusPos ----@return number physicalBonusNeg ----@return number percent +---@param unit string +---@return number rangedAttackSpeed +---@return number minDamage +---@return number maxDamage +---@return number physicalBonusPos +---@return number physicalBonusNeg +---@return number percent ---Returns information about the player's or pet's ranged attack damage and speed -function UnitRangedDamage(unit) end \ No newline at end of file +function UnitRangedDamage(unit) end diff --git a/api/UnitReaction.lua b/api/UnitReaction.lua index eac9d78..75696d2 100644 --- a/api/UnitReaction.lua +++ b/api/UnitReaction.lua @@ -1,15 +1,15 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param unit string ----@return 8 reaction ----@return 1 ----@return 2 ----@return 3 ----@return 4 ----@return 5 ----@return 6 ----@return 7 ----@return 8 +---@param unit string +---@param unit string +---@return 8 reaction +---@return 1 +---@return 2 +---@return 3 +---@return 4 +---@return 5 +---@return 6 +---@return 7 +---@return 8 ---Returns the reaction of one unit with regards to another as a number. The returned value often (but not always) matches the unit's level of reputation with the second unit's faction, and can be used with the UnitReactionColor global table to return the color used to display a unit's reaction in the default UI. -function UnitReaction(unit, unit) end \ No newline at end of file +function UnitReaction(unit, unit) end diff --git a/api/UnitRealmRelationship.lua b/api/UnitRealmRelationship.lua index 8a83019..0d223a4 100644 --- a/api/UnitRealmRelationship.lua +++ b/api/UnitRealmRelationship.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitRealmRelationship() end \ No newline at end of file +function UnitRealmRelationship() end diff --git a/api/UnitSelectionColor.lua b/api/UnitSelectionColor.lua index 81e06d3..dcf8802 100644 --- a/api/UnitSelectionColor.lua +++ b/api/UnitSelectionColor.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return number red ----@return number green ----@return number blue ----@return number alpha +---@param unit string +---@param name string +---@return number red +---@return number green +---@return number blue +---@return number alpha ---Returns a color indicating hostility and related status of a unit. This color is used in various places in the default UI, such as the background behind a unit's name in the target and focus frames. For NPCs, the color reflects hostility and reputation, ranging from red (hostile) to orange or yellow (unfriendly or neutral) to green (friendly). When the unit is a player, a blue color is used unless the player is active for PvP, in which case the color may be red (he can attack you and you can attack him), yellow (you can attack him but he can't attack you) or green (ally). Color component values are floating point numbers between 0 and 1. -function UnitSelectionColor(unit, name) end \ No newline at end of file +function UnitSelectionColor(unit, name) end diff --git a/api/UnitSetRole.lua b/api/UnitSetRole.lua index 6f1835e..d94fbab 100644 --- a/api/UnitSetRole.lua +++ b/api/UnitSetRole.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param role TANK ----@param DAMAGER ----@param HEALER ----@param NONE ----@param TANK +---@param unit string +---@param role TANK +---@param DAMAGER +---@param HEALER +---@param NONE +---@param TANK ---Sets a unit's role in the group or raid -function UnitSetRole(unit, role, DAMAGER, HEALER, NONE, TANK) end \ No newline at end of file +function UnitSetRole(unit, role, DAMAGER, HEALER, NONE, TANK) end diff --git a/api/UnitSex.lua b/api/UnitSex.lua index 53048f0..17d6546 100644 --- a/api/UnitSex.lua +++ b/api/UnitSex.lua @@ -1,10 +1,10 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return 3 gender ----@return 1 ----@return 2 ----@return 3 +---@param unit string +---@param name string +---@return 3 gender +---@return 1 +---@return 2 +---@return 3 ---Returns the gender of the given unit or player -function UnitSex(unit, name) end \ No newline at end of file +function UnitSex(unit, name) end diff --git a/api/UnitSpellHaste.lua b/api/UnitSpellHaste.lua index 6ada040..b2a0c01 100644 --- a/api/UnitSpellHaste.lua +++ b/api/UnitSpellHaste.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return number haste +---@param unit string +---@param name string +---@return number haste ---Returns the unit's spell haste as a percentage -function UnitSpellHaste(unit, name) end \ No newline at end of file +function UnitSpellHaste(unit, name) end diff --git a/api/UnitStagger.lua b/api/UnitStagger.lua index 4668f73..3f094b2 100644 --- a/api/UnitStagger.lua +++ b/api/UnitStagger.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitStagger() end \ No newline at end of file +function UnitStagger() end diff --git a/api/UnitSwitchToVehicleSeat.lua b/api/UnitSwitchToVehicleSeat.lua index 8e9bdd9..096e899 100644 --- a/api/UnitSwitchToVehicleSeat.lua +++ b/api/UnitSwitchToVehicleSeat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param seat number +---@param unit string +---@param seat number ---Moves the player to another seat within his current vehicle -function UnitSwitchToVehicleSeat(unit, seat) end \ No newline at end of file +function UnitSwitchToVehicleSeat(unit, seat) end diff --git a/api/UnitTargetsVehicleInRaidUI.lua b/api/UnitTargetsVehicleInRaidUI.lua index 7a238c2..5c4e4de 100644 --- a/api/UnitTargetsVehicleInRaidUI.lua +++ b/api/UnitTargetsVehicleInRaidUI.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return boolean targetVehicle +---@param unit string +---@return boolean targetVehicle ---Returns whether attempts to target a unit should target its vehicle. The unit can still be targeted: this flag is used to provide a convenience in the default UI for certain cases (such as the Malygos encounter) such that clicking a unit in the raid UI targets its vehicle (e.g. so players can use their drakes to heal other players' drakes). -function UnitTargetsVehicleInRaidUI(unit) end \ No newline at end of file +function UnitTargetsVehicleInRaidUI(unit) end diff --git a/api/UnitThreatPercentageOfLead.lua b/api/UnitThreatPercentageOfLead.lua index 42bfcba..ae91a95 100644 --- a/api/UnitThreatPercentageOfLead.lua +++ b/api/UnitThreatPercentageOfLead.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnitThreatPercentageOfLead() end \ No newline at end of file +function UnitThreatPercentageOfLead() end diff --git a/api/UnitThreatSituation.lua b/api/UnitThreatSituation.lua index 6766594..6c3d38c 100644 --- a/api/UnitThreatSituation.lua +++ b/api/UnitThreatSituation.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit unitid ----@param name string ----@param mobUnit unitid ----@return mobUnit status ----@return 0 ----@return mobUnit 1 ----@return mobUnit 2 ----@return mobUnit 3 +---@param unit unitid +---@param name string +---@param mobUnit unitid +---@return mobUnit status +---@return 0 +---@return mobUnit 1 +---@return mobUnit 2 +---@return mobUnit 3 ---Returns the general threat status of a unit. See UnitDetailedThreatSituation for details about threat values. Threat information for a pair of units is only returned if the player has threat against the NPC unit in question. (For example, no threat data is provided if the player's pet is attacking an NPC but the player himself has taken no action, even though the pet has threat against the NPC.) -function UnitThreatSituation(unit, name, mobUnit) end \ No newline at end of file +function UnitThreatSituation(unit, name, mobUnit) end diff --git a/api/UnitUsingVehicle.lua b/api/UnitUsingVehicle.lua index a991394..e262ccd 100644 --- a/api/UnitUsingVehicle.lua +++ b/api/UnitUsingVehicle.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return 1nil usingVehicle +---@param unit string +---@return 1nil usingVehicle ---Returns whether a unit is using a vehicle. Unlike similar functions, UnitUsingVehicle() also returns true while the unit is transitioning between seats in a vehicle. -function UnitUsingVehicle(unit) end \ No newline at end of file +function UnitUsingVehicle(unit) end diff --git a/api/UnitVehicleSeatCount.lua b/api/UnitVehicleSeatCount.lua index d69cfea..1c3b2bf 100644 --- a/api/UnitVehicleSeatCount.lua +++ b/api/UnitVehicleSeatCount.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number numSeats +---@param unit string +---@return number numSeats ---Returns the number of seats in a unit's vehicle. Note: returns 0 for multi-passenger mounts even thought multiple seats are available. -function UnitVehicleSeatCount(unit) end \ No newline at end of file +function UnitVehicleSeatCount(unit) end diff --git a/api/UnitVehicleSeatInfo.lua b/api/UnitVehicleSeatInfo.lua index 108a0a9..8d6b475 100644 --- a/api/UnitVehicleSeatInfo.lua +++ b/api/UnitVehicleSeatInfo.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param seat number ----@return Root controlType ----@return Child ----@return None ----@return Root ----@return string occupantName ----@return string occupantRealm ----@return boolean canEject ----@return boolean canSwitchSeats +---@param unit string +---@param seat number +---@return Root controlType +---@return Child +---@return None +---@return Root +---@return string occupantName +---@return string occupantRealm +---@return boolean canEject +---@return boolean canSwitchSeats ---Returns information about seats in a vehicle. Note: multi-passenger mounts appear as vehicles for passengers but not for the owner; seat information applies only to the passenger seats. -function UnitVehicleSeatInfo(unit, seat) end \ No newline at end of file +function UnitVehicleSeatInfo(unit, seat) end diff --git a/api/UnitVehicleSkin.lua b/api/UnitVehicleSkin.lua index 7194812..bbc1b37 100644 --- a/api/UnitVehicleSkin.lua +++ b/api/UnitVehicleSkin.lua @@ -1,9 +1,9 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@param name string ----@return Natural skin ----@return Mechanical ----@return Natural +---@param unit string +---@param name string +---@return Natural skin +---@return Mechanical +---@return Natural ---Returns the style of vehicle UI to display for a unit -function UnitVehicleSkin(unit, name) end \ No newline at end of file +function UnitVehicleSkin(unit, name) end diff --git a/api/UnitXP.lua b/api/UnitXP.lua index 2cf9954..847a18e 100644 --- a/api/UnitXP.lua +++ b/api/UnitXP.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number currXP +---@param unit string +---@return number currXP ---Returns the player's current amount of experience points -function UnitXP(unit) end \ No newline at end of file +function UnitXP(unit) end diff --git a/api/UnitXPMax.lua b/api/UnitXPMax.lua index f3ea200..1eeced9 100644 --- a/api/UnitXPMax.lua +++ b/api/UnitXPMax.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param unit string ----@return number playerMaxXP +---@param unit string +---@return number playerMaxXP ---Return the total amount of experience points required for the player to gain a level -function UnitXPMax(unit) end \ No newline at end of file +function UnitXPMax(unit) end diff --git a/api/UnlearnSpecialization.lua b/api/UnlearnSpecialization.lua index 5b1501a..22fcc06 100644 --- a/api/UnlearnSpecialization.lua +++ b/api/UnlearnSpecialization.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnlearnSpecialization() end \ No newline at end of file +function UnlearnSpecialization() end diff --git a/api/UnlockVoidStorage.lua b/api/UnlockVoidStorage.lua index fa0ca8e..abac172 100644 --- a/api/UnlockVoidStorage.lua +++ b/api/UnlockVoidStorage.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UnlockVoidStorage() end \ No newline at end of file +function UnlockVoidStorage() end diff --git a/api/UpdateAddOnCPUUsage.lua b/api/UpdateAddOnCPUUsage.lua index ecfd94a..a5bcb0d 100644 --- a/api/UpdateAddOnCPUUsage.lua +++ b/api/UpdateAddOnCPUUsage.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Updates addon CPU profiling information. Only has effect if the scriptProfile CVar is set to 1. See GetAddOnCPUUsage() for the updated data. -function UpdateAddOnCPUUsage() end \ No newline at end of file +function UpdateAddOnCPUUsage() end diff --git a/api/UpdateAddOnMemoryUsage.lua b/api/UpdateAddOnMemoryUsage.lua index 90dbe9f..a331679 100644 --- a/api/UpdateAddOnMemoryUsage.lua +++ b/api/UpdateAddOnMemoryUsage.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Updates addon memory usage information. See GetAddOnMemoryUsage() for the updated data. -function UpdateAddOnMemoryUsage() end \ No newline at end of file +function UpdateAddOnMemoryUsage() end diff --git a/api/UpdateGMTicket.lua b/api/UpdateGMTicket.lua index 4999983..fca5bfb 100644 --- a/api/UpdateGMTicket.lua +++ b/api/UpdateGMTicket.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param text string +---@param text string ---Updates the open GM ticket with new text -function UpdateGMTicket(text) end \ No newline at end of file +function UpdateGMTicket(text) end diff --git a/api/UpdateInventoryAlertStatus.lua b/api/UpdateInventoryAlertStatus.lua index 2904406..146343f 100644 --- a/api/UpdateInventoryAlertStatus.lua +++ b/api/UpdateInventoryAlertStatus.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UpdateInventoryAlertStatus() end \ No newline at end of file +function UpdateInventoryAlertStatus() end diff --git a/api/UpdateMapHighlight.lua b/api/UpdateMapHighlight.lua index c3a7c0a..0254801 100644 --- a/api/UpdateMapHighlight.lua +++ b/api/UpdateMapHighlight.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param cursorX number ----@param cursorY number ----@return string name ----@return string fileName ----@return number texCoordX ----@return number texCoordY ----@return number textureX ----@return number textureY ----@return number scrollChildX ----@return number scrollChildY +---@param cursorX number +---@param cursorY number +---@return string name +---@return string fileName +---@return number texCoordX +---@return number texCoordY +---@return number textureX +---@return number textureY +---@return number scrollChildX +---@return number scrollChildY ---Returns information about the texture used for highlighting zones in a continent map on mouseover -function UpdateMapHighlight(cursorX, cursorY) end \ No newline at end of file +function UpdateMapHighlight(cursorX, cursorY) end diff --git a/api/UpdateWarGamesList.lua b/api/UpdateWarGamesList.lua index 1223ec4..c9da67b 100644 --- a/api/UpdateWarGamesList.lua +++ b/api/UpdateWarGamesList.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UpdateWarGamesList() end \ No newline at end of file +function UpdateWarGamesList() end diff --git a/api/UpdateWorldMapArrow.lua b/api/UpdateWorldMapArrow.lua index cf5c7f3..ce90aaf 100644 --- a/api/UpdateWorldMapArrow.lua +++ b/api/UpdateWorldMapArrow.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UpdateWorldMapArrow() end \ No newline at end of file +function UpdateWorldMapArrow() end diff --git a/api/UpgradeItem.lua b/api/UpgradeItem.lua index ddfbb3b..40d326b 100644 --- a/api/UpgradeItem.lua +++ b/api/UpgradeItem.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Accepts an item upgrade, spending the required amount of currency. This function can only be called when at the upgrade merchant. -function UpgradeItem() end \ No newline at end of file +function UpgradeItem() end diff --git a/api/UseAction.lua b/api/UseAction.lua index 6c04b04..19686cf 100644 --- a/api/UseAction.lua +++ b/api/UseAction.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number ----@param target string ----@param button RightButton ----@param Button4 ----@param Button5 ----@param LeftButton ----@param MiddleButton ----@param RightButton +---@param slot number +---@param target string +---@param button RightButton +---@param Button4 +---@param Button5 +---@param LeftButton +---@param MiddleButton +---@param RightButton ---Uses an action -function UseAction(slot, target, button, Button4, Button5, LeftButton, MiddleButton, RightButton) end \ No newline at end of file +function UseAction(slot, target, button, Button4, Button5, LeftButton, MiddleButton, RightButton) end diff --git a/api/UseContainerItem.lua b/api/UseContainerItem.lua index 26ea891..8de6c3c 100644 --- a/api/UseContainerItem.lua +++ b/api/UseContainerItem.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param container number ----@param slot number ----@param target string ----@param reagentBankAccessible boolean +---@param container number +---@param slot number +---@param target string +---@param reagentBankAccessible boolean ---Activate (as with right-clicking) an item in one of the player's bags. Has the same effect as right-clicking an item in the default UI; therefore, results may vary by context. In cases of conflict, conditions listed first override those below: If the bank, guild bank or reagent bank UI is open, moves the item into the bank, guild bank or reagent bank (or if the item is in the bank, guild bank or reagent bank, moves it into the player's inventory). If the trade UI is open, puts the item into the first available trade slot (or if the item is soulbound, into the "will not be traded" slot). If the merchant UI is open and not in repair mode, attempts to sell the item to the merchant. If the Send Mail UI is open, puts the item into the first available slot for message attachments. If an item is readable (e.g. Lament of the Highborne), opens it for reading. If an item is lootable (e.g. Magically Wrapped Gift), opens it for looting If an item can be equipped, attempts to equip the item (placing any currently equipped item of the same type into the container slot used). If an item has a "Use:" effect, activates said effect. Under this condition only, the function is protected and can only be called by the Blizzard UI. If none of the above conditions are true, nothing happens. -function UseContainerItem(container, slot, target, reagentBankAccessible) end \ No newline at end of file +function UseContainerItem(container, slot, target, reagentBankAccessible) end diff --git a/api/UseEquipmentSet.lua b/api/UseEquipmentSet.lua index f1e0467..57a3d95 100644 --- a/api/UseEquipmentSet.lua +++ b/api/UseEquipmentSet.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return boolean equipped +---@param name string +---@return boolean equipped ---Equips the items in an equipment set -function UseEquipmentSet(name) end \ No newline at end of file +function UseEquipmentSet(name) end diff --git a/api/UseHearthstone.lua b/api/UseHearthstone.lua index 723f386..618aff6 100644 --- a/api/UseHearthstone.lua +++ b/api/UseHearthstone.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return boolean state +---@return boolean state ---Attempts to use the player's Hearthstone. Used by the support/help interface to resolve issues where a player is stuck. -function UseHearthstone() end \ No newline at end of file +function UseHearthstone() end diff --git a/api/UseInventoryItem.lua b/api/UseInventoryItem.lua index 7456f31..9f8a1a1 100644 --- a/api/UseInventoryItem.lua +++ b/api/UseInventoryItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param slot number +---@param slot number ---Activate (as with right-clicking) an equipped item. If the inventoryID passed refers to an empty slot or a slot containing an item without a "Use:" action, this function is not protected (i.e. usable only by the Blizzard UI), but also has no effect. -function UseInventoryItem(slot) end \ No newline at end of file +function UseInventoryItem(slot) end diff --git a/api/UseItemByName.lua b/api/UseItemByName.lua index 20c5f9d..85167b7 100644 --- a/api/UseItemByName.lua +++ b/api/UseItemByName.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number ----@param itemName string ----@param itemLink string ----@param target string +---@param itemID number +---@param itemName string +---@param itemLink string +---@param target string ---Uses an arbitrary item (optionally on a specified unit) -function UseItemByName(itemID, itemName, itemLink, target) end \ No newline at end of file +function UseItemByName(itemID, itemName, itemLink, target) end diff --git a/api/UseItemForTransmogrify.lua b/api/UseItemForTransmogrify.lua index ca75c0e..4b8dc19 100644 --- a/api/UseItemForTransmogrify.lua +++ b/api/UseItemForTransmogrify.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UseItemForTransmogrify() end \ No newline at end of file +function UseItemForTransmogrify() end diff --git a/api/UseQuestLogSpecialItem.lua b/api/UseQuestLogSpecialItem.lua index 0469360..254cc9d 100644 --- a/api/UseQuestLogSpecialItem.lua +++ b/api/UseQuestLogSpecialItem.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param questIndex number +---@param questIndex number ---Uses the item associated with a current quest. Available for a number of quests which involve using an item (i.e. "Use the MacGuffin to summon and defeat the boss", "Use this saw to fell 12 trees", etc.) -function UseQuestLogSpecialItem(questIndex) end \ No newline at end of file +function UseQuestLogSpecialItem(questIndex) end diff --git a/api/UseSoulstone.lua b/api/UseSoulstone.lua index a2cef80..4ff5dc6 100644 --- a/api/UseSoulstone.lua +++ b/api/UseSoulstone.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Instantly resurrects the player in place, if possible. Usable if the player is dead (and has not yet released his or her spirit to the graveyard) and has the ability to instantly resurrect (provided by a Warlock's Soulstone or a Shaman's Reincarnation passive ability). -function UseSoulstone() end \ No newline at end of file +function UseSoulstone() end diff --git a/api/UseToy.lua b/api/UseToy.lua index 2634a58..3ccf17b 100644 --- a/api/UseToy.lua +++ b/api/UseToy.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param itemID number +---@param itemID number ---Use a Toy. This API is protected. If you wish to provide interface for users to access a toy, create a SecureActionButton and set the type attribute to "item" and the item attribute to the itemString stub (such as "item:####") -function UseToy(itemID) end \ No newline at end of file +function UseToy(itemID) end diff --git a/api/UseToyByName.lua b/api/UseToyByName.lua index d16fb45..dbccc1c 100644 --- a/api/UseToyByName.lua +++ b/api/UseToyByName.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string +---@param name string ---Activates a toy from the Toy Box -function UseToyByName(name) end \ No newline at end of file +function UseToyByName(name) end diff --git a/api/UseVoidItemForTransmogrify.lua b/api/UseVoidItemForTransmogrify.lua index 21b8dc8..4adfbab 100644 --- a/api/UseVoidItemForTransmogrify.lua +++ b/api/UseVoidItemForTransmogrify.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function UseVoidItemForTransmogrify() end \ No newline at end of file +function UseVoidItemForTransmogrify() end diff --git a/api/ValidateTransmogrifications.lua b/api/ValidateTransmogrifications.lua index 1dde6a2..513bdcf 100644 --- a/api/ValidateTransmogrifications.lua +++ b/api/ValidateTransmogrifications.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function ValidateTransmogrifications() end \ No newline at end of file +function ValidateTransmogrifications() end diff --git a/api/VehicleAimDecrement.lua b/api/VehicleAimDecrement.lua index 0819142..1f81b46 100644 --- a/api/VehicleAimDecrement.lua +++ b/api/VehicleAimDecrement.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Adjusts vehicle aim downward by a specified amount -function VehicleAimDecrement(amount) end \ No newline at end of file +function VehicleAimDecrement(amount) end diff --git a/api/VehicleAimDownStart.lua b/api/VehicleAimDownStart.lua index ab6fa82..baa02e9 100644 --- a/api/VehicleAimDownStart.lua +++ b/api/VehicleAimDownStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Starts adjusting vehicle aim downward -function VehicleAimDownStart() end \ No newline at end of file +function VehicleAimDownStart() end diff --git a/api/VehicleAimDownStop.lua b/api/VehicleAimDownStop.lua index 2dee28f..7c3006b 100644 --- a/api/VehicleAimDownStop.lua +++ b/api/VehicleAimDownStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops adjusting vehicle aim downward -function VehicleAimDownStop() end \ No newline at end of file +function VehicleAimDownStop() end diff --git a/api/VehicleAimGetAngle.lua b/api/VehicleAimGetAngle.lua index b40f760..6ee5347 100644 --- a/api/VehicleAimGetAngle.lua +++ b/api/VehicleAimGetAngle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number angle +---@return number angle ---Returns the aim angle of a vehicle weapon. The returned value is in radians, with positive values indicating upward angle, negative values indicating downward angle, and 0 indicating straight ahead. -function VehicleAimGetAngle() end \ No newline at end of file +function VehicleAimGetAngle() end diff --git a/api/VehicleAimGetNormAngle.lua b/api/VehicleAimGetNormAngle.lua index fb11b34..580b43d 100644 --- a/api/VehicleAimGetNormAngle.lua +++ b/api/VehicleAimGetNormAngle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number angle +---@return number angle ---Returns the aim angle of a vehicle weapon relative to its minimum angle. The returned value is in radians, with 0 indicating the lowest angle allowed for the vehicle weapon and increasing values for upward aim. -function VehicleAimGetNormAngle() end \ No newline at end of file +function VehicleAimGetNormAngle() end diff --git a/api/VehicleAimGetNormPower.lua b/api/VehicleAimGetNormPower.lua index e3a6721..3c14f58 100644 --- a/api/VehicleAimGetNormPower.lua +++ b/api/VehicleAimGetNormPower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function VehicleAimGetNormPower() end \ No newline at end of file +function VehicleAimGetNormPower() end diff --git a/api/VehicleAimIncrement.lua b/api/VehicleAimIncrement.lua index c306b80..f4ff663 100644 --- a/api/VehicleAimIncrement.lua +++ b/api/VehicleAimIncrement.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Adjusts vehicle aim upward by a specified amount -function VehicleAimIncrement(amount) end \ No newline at end of file +function VehicleAimIncrement(amount) end diff --git a/api/VehicleAimRequestAngle.lua b/api/VehicleAimRequestAngle.lua index 88aa3e2..49ce586 100644 --- a/api/VehicleAimRequestAngle.lua +++ b/api/VehicleAimRequestAngle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Attempts to set a vehicle weapon's aim angle to a specific value. Causes aim angle to transition smoothly from the current value to the requested value (or to the closest allowed value to the requested value if it is beyond the vehicle's limits). Aim angle values are in radians, with positive values indicating upward angle, negative values indicating downward angle, and 0 indicating straight ahead. -function VehicleAimRequestAngle(amount) end \ No newline at end of file +function VehicleAimRequestAngle(amount) end diff --git a/api/VehicleAimRequestNormAngle.lua b/api/VehicleAimRequestNormAngle.lua index 21ffc16..299ba46 100644 --- a/api/VehicleAimRequestNormAngle.lua +++ b/api/VehicleAimRequestNormAngle.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Attempts to set a vehicle weapon's aim angle to a specific value relative to its minimum value. Causes aim angle to transition smoothly from the current value to the requested value (or to the closest allowed value to the requested value if it is beyond the vehicle's limits). The returned value is in radians, with 0 indicating the lowest angle allowed for the vehicle weapon and increasing values for upward aim. -function VehicleAimRequestNormAngle(amount) end \ No newline at end of file +function VehicleAimRequestNormAngle(amount) end diff --git a/api/VehicleAimSetNormPower.lua b/api/VehicleAimSetNormPower.lua index 82ef03b..054be27 100644 --- a/api/VehicleAimSetNormPower.lua +++ b/api/VehicleAimSetNormPower.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function VehicleAimSetNormPower() end \ No newline at end of file +function VehicleAimSetNormPower() end diff --git a/api/VehicleAimUpStart.lua b/api/VehicleAimUpStart.lua index 71ca082..8f33033 100644 --- a/api/VehicleAimUpStart.lua +++ b/api/VehicleAimUpStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Starts adjusting vehicle aim upward -function VehicleAimUpStart() end \ No newline at end of file +function VehicleAimUpStart() end diff --git a/api/VehicleAimUpStop.lua b/api/VehicleAimUpStop.lua index b5c6efa..511fe98 100644 --- a/api/VehicleAimUpStop.lua +++ b/api/VehicleAimUpStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops adjusting vehicle aim upward -function VehicleAimUpStop() end \ No newline at end of file +function VehicleAimUpStop() end diff --git a/api/VehicleCameraZoomIn.lua b/api/VehicleCameraZoomIn.lua index b65b364..ee4abc1 100644 --- a/api/VehicleCameraZoomIn.lua +++ b/api/VehicleCameraZoomIn.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Zooms the player's view in while in a vehicle -function VehicleCameraZoomIn() end \ No newline at end of file +function VehicleCameraZoomIn() end diff --git a/api/VehicleCameraZoomOut.lua b/api/VehicleCameraZoomOut.lua index b325b6b..f260b2f 100644 --- a/api/VehicleCameraZoomOut.lua +++ b/api/VehicleCameraZoomOut.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Zooms the player's view out while in a vehicle -function VehicleCameraZoomOut() end \ No newline at end of file +function VehicleCameraZoomOut() end diff --git a/api/VehicleExit.lua b/api/VehicleExit.lua index da7dff9..c92aec4 100644 --- a/api/VehicleExit.lua +++ b/api/VehicleExit.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Removes the player from the current vehicle. Does nothing if the player is not in a vehicle. -function VehicleExit() end \ No newline at end of file +function VehicleExit() end diff --git a/api/VehicleNextSeat.lua b/api/VehicleNextSeat.lua index 0273acb..39554be 100644 --- a/api/VehicleNextSeat.lua +++ b/api/VehicleNextSeat.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Moves the player from his current seat in a vehicle to the next sequentially numbered seat. If the player is in the highest-numbered seat, cycles around to the lowest-numbered seat. -function VehicleNextSeat() end \ No newline at end of file +function VehicleNextSeat() end diff --git a/api/VehiclePrevSeat.lua b/api/VehiclePrevSeat.lua index 3c07891..d4ab2af 100644 --- a/api/VehiclePrevSeat.lua +++ b/api/VehiclePrevSeat.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Moves the player from his current seat in a vehicle to the previous sequentially numbered seat. If the player is in the lowest-numbered seat, cycles around to the highest-numbered seat. -function VehiclePrevSeat() end \ No newline at end of file +function VehiclePrevSeat() end diff --git a/api/ViewGuildRecipes.lua b/api/ViewGuildRecipes.lua index 9ad84fe..5cc5570 100644 --- a/api/ViewGuildRecipes.lua +++ b/api/ViewGuildRecipes.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param professionID number +---@param professionID number ---Opens the guild profession view for a profession. Opens the guild profession view for the specified profession. -function ViewGuildRecipes(professionID) end \ No newline at end of file +function ViewGuildRecipes(professionID) end diff --git a/api/VoiceChat_ActivatePrimaryCaptureCallback.lua b/api/VoiceChat_ActivatePrimaryCaptureCallback.lua index a223bef..9bce34e 100644 --- a/api/VoiceChat_ActivatePrimaryCaptureCallback.lua +++ b/api/VoiceChat_ActivatePrimaryCaptureCallback.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function VoiceChat_ActivatePrimaryCaptureCallback() end \ No newline at end of file +function VoiceChat_ActivatePrimaryCaptureCallback() end diff --git a/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua b/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua index b0511d9..91d56f6 100644 --- a/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua +++ b/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number volume +---@return number volume ---Returns the current volume level of the microphone signal -function VoiceChat_GetCurrentMicrophoneSignalLevel() end \ No newline at end of file +function VoiceChat_GetCurrentMicrophoneSignalLevel() end diff --git a/api/VoiceChat_IsPlayingLoopbackSound.lua b/api/VoiceChat_IsPlayingLoopbackSound.lua index 58c3d75..009f0c7 100644 --- a/api/VoiceChat_IsPlayingLoopbackSound.lua +++ b/api/VoiceChat_IsPlayingLoopbackSound.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param isPlaying number +---@param isPlaying number ---Returns whether the Microphone Test recording is playing -function VoiceChat_IsPlayingLoopbackSound(isPlaying) end \ No newline at end of file +function VoiceChat_IsPlayingLoopbackSound(isPlaying) end diff --git a/api/VoiceChat_IsRecordingLoopbackSound.lua b/api/VoiceChat_IsRecordingLoopbackSound.lua index dfdd242..ab5ca34 100644 --- a/api/VoiceChat_IsRecordingLoopbackSound.lua +++ b/api/VoiceChat_IsRecordingLoopbackSound.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number isRecording +---@return number isRecording ---Returns whether a Microphone Test is recording -function VoiceChat_IsRecordingLoopbackSound() end \ No newline at end of file +function VoiceChat_IsRecordingLoopbackSound() end diff --git a/api/VoiceChat_PlayLoopbackSound.lua b/api/VoiceChat_PlayLoopbackSound.lua index c251982..8d33356 100644 --- a/api/VoiceChat_PlayLoopbackSound.lua +++ b/api/VoiceChat_PlayLoopbackSound.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Plays back the Microphone Test recording -function VoiceChat_PlayLoopbackSound() end \ No newline at end of file +function VoiceChat_PlayLoopbackSound() end diff --git a/api/VoiceChat_RecordLoopbackSound.lua b/api/VoiceChat_RecordLoopbackSound.lua index 3cd0a6c..34b4566 100644 --- a/api/VoiceChat_RecordLoopbackSound.lua +++ b/api/VoiceChat_RecordLoopbackSound.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param seconds number +---@param seconds number ---Begins recording a Microphone Test -function VoiceChat_RecordLoopbackSound(seconds) end \ No newline at end of file +function VoiceChat_RecordLoopbackSound(seconds) end diff --git a/api/VoiceChat_StartCapture.lua b/api/VoiceChat_StartCapture.lua index 2dcfd27..65de1ba 100644 --- a/api/VoiceChat_StartCapture.lua +++ b/api/VoiceChat_StartCapture.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function VoiceChat_StartCapture() end \ No newline at end of file +function VoiceChat_StartCapture() end diff --git a/api/VoiceChat_StopCapture.lua b/api/VoiceChat_StopCapture.lua index d8a5f08..97f4949 100644 --- a/api/VoiceChat_StopCapture.lua +++ b/api/VoiceChat_StopCapture.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function VoiceChat_StopCapture() end \ No newline at end of file +function VoiceChat_StopCapture() end diff --git a/api/VoiceChat_StopPlayingLoopbackSound.lua b/api/VoiceChat_StopPlayingLoopbackSound.lua index 32fc328..74532fe 100644 --- a/api/VoiceChat_StopPlayingLoopbackSound.lua +++ b/api/VoiceChat_StopPlayingLoopbackSound.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops playing the Microphone Test recording -function VoiceChat_StopPlayingLoopbackSound() end \ No newline at end of file +function VoiceChat_StopPlayingLoopbackSound() end diff --git a/api/VoiceChat_StopRecordingLoopbackSound.lua b/api/VoiceChat_StopRecordingLoopbackSound.lua index 1a53e9d..383f4f6 100644 --- a/api/VoiceChat_StopRecordingLoopbackSound.lua +++ b/api/VoiceChat_StopRecordingLoopbackSound.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Stops recording a Microphone Test -function VoiceChat_StopRecordingLoopbackSound() end \ No newline at end of file +function VoiceChat_StopRecordingLoopbackSound() end diff --git a/api/VoiceEnumerateCaptureDevices.lua b/api/VoiceEnumerateCaptureDevices.lua index 0646da1..1b353a5 100644 --- a/api/VoiceEnumerateCaptureDevices.lua +++ b/api/VoiceEnumerateCaptureDevices.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param deviceIndex number ----@return string deviceName +---@param deviceIndex number +---@return string deviceName ---Returns the name of an audio input device for voice chat -function VoiceEnumerateCaptureDevices(deviceIndex) end \ No newline at end of file +function VoiceEnumerateCaptureDevices(deviceIndex) end diff --git a/api/VoiceEnumerateOutputDevices.lua b/api/VoiceEnumerateOutputDevices.lua index dfe4d9f..1da4803 100644 --- a/api/VoiceEnumerateOutputDevices.lua +++ b/api/VoiceEnumerateOutputDevices.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param deviceIndex number ----@return string device +---@param deviceIndex number +---@return string device ---Returns the name of an audio output device for voice chat -function VoiceEnumerateOutputDevices(deviceIndex) end \ No newline at end of file +function VoiceEnumerateOutputDevices(deviceIndex) end diff --git a/api/VoiceGetCurrentCaptureDevice.lua b/api/VoiceGetCurrentCaptureDevice.lua index a2f2333..f32f14a 100644 --- a/api/VoiceGetCurrentCaptureDevice.lua +++ b/api/VoiceGetCurrentCaptureDevice.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the current voice capture device -function VoiceGetCurrentCaptureDevice() end \ No newline at end of file +function VoiceGetCurrentCaptureDevice() end diff --git a/api/VoiceGetCurrentOutputDevice.lua b/api/VoiceGetCurrentOutputDevice.lua index 0f3fbba..8b1d6d3 100644 --- a/api/VoiceGetCurrentOutputDevice.lua +++ b/api/VoiceGetCurrentOutputDevice.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number index +---@return number index ---Returns the index of the current voice output device -function VoiceGetCurrentOutputDevice() end \ No newline at end of file +function VoiceGetCurrentOutputDevice() end diff --git a/api/VoiceIsDisabledByClient.lua b/api/VoiceIsDisabledByClient.lua index ce42f7a..b534667 100644 --- a/api/VoiceIsDisabledByClient.lua +++ b/api/VoiceIsDisabledByClient.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil isDisabled +---@return 1nil isDisabled ---Returns whether the voice chat system cannot be enabled. Voice chat may be disabled if the underlying hardware does not support it or if multiple instances of World of Warcraft are running on the same hardware. -function VoiceIsDisabledByClient() end \ No newline at end of file +function VoiceIsDisabledByClient() end diff --git a/api/VoicePushToTalkStart.lua b/api/VoicePushToTalkStart.lua index cb7592a..36c6334 100644 --- a/api/VoicePushToTalkStart.lua +++ b/api/VoicePushToTalkStart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Used internally to start talking, when push-to-talk is active in voice chat. -function VoicePushToTalkStart() end \ No newline at end of file +function VoicePushToTalkStart() end diff --git a/api/VoicePushToTalkStop.lua b/api/VoicePushToTalkStop.lua index 4a1ffce..fb33b84 100644 --- a/api/VoicePushToTalkStop.lua +++ b/api/VoicePushToTalkStop.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Used internally to stop talking, when push-to-talk is active in voice chat -function VoicePushToTalkStop() end \ No newline at end of file +function VoicePushToTalkStop() end diff --git a/api/VoiceSelectCaptureDevice.lua b/api/VoiceSelectCaptureDevice.lua index c66af04..fb52ee9 100644 --- a/api/VoiceSelectCaptureDevice.lua +++ b/api/VoiceSelectCaptureDevice.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param deviceName string +---@param deviceName string ---Selects an audio input device for voice chat -function VoiceSelectCaptureDevice(deviceName) end \ No newline at end of file +function VoiceSelectCaptureDevice(deviceName) end diff --git a/api/VoiceSelectOutputDevice.lua b/api/VoiceSelectOutputDevice.lua index ae1847f..3da75e9 100644 --- a/api/VoiceSelectOutputDevice.lua +++ b/api/VoiceSelectOutputDevice.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param deviceName string +---@param deviceName string ---Selects an audio output device for voice chat -function VoiceSelectOutputDevice(deviceName) end \ No newline at end of file +function VoiceSelectOutputDevice(deviceName) end diff --git a/api/WarGameRespond.lua b/api/WarGameRespond.lua index 27e31f0..2675d9b 100644 --- a/api/WarGameRespond.lua +++ b/api/WarGameRespond.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function WarGameRespond() end \ No newline at end of file +function WarGameRespond() end diff --git a/api/WithdrawGuildBankMoney.lua b/api/WithdrawGuildBankMoney.lua index c0d8723..1e7221a 100644 --- a/api/WithdrawGuildBankMoney.lua +++ b/api/WithdrawGuildBankMoney.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param amount number +---@param amount number ---Attempts to withdraw money from the guild bank. Causes a PLAYER_MONEY event to fire, indicating the amount withdrawn has been added to the player's total (see GetMoney()). Causes an error or system message if amount exceeds the amount of money in the guild bank or the player's allowed daily withdrawal amount. -function WithdrawGuildBankMoney(amount) end \ No newline at end of file +function WithdrawGuildBankMoney(amount) end diff --git a/api/ZoomOut.lua b/api/ZoomOut.lua index 037c908..3a4977e 100644 --- a/api/ZoomOut.lua +++ b/api/ZoomOut.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Sets the world map to show the area containing its current area. Only used by the default UI in certain circumstances: to "zoom out" from a multi-level map (e.g. Dalaran or a dungeon) to the containing zone/continent. May cause problems when not used in such cases. -function ZoomOut() end \ No newline at end of file +function ZoomOut() end diff --git a/api/acos.lua b/api/acos.lua index 31c040e..f8c54f1 100644 --- a/api/acos.lua +++ b/api/acos.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Alternative to math.acos, using degrees instead of radians -function acos() end \ No newline at end of file +function acos() end diff --git a/api/asin.lua b/api/asin.lua index 8e1d0aa..ca79b6a 100644 --- a/api/asin.lua +++ b/api/asin.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Alternative to math.asin, using degrees instead of radians -function asin() end \ No newline at end of file +function asin() end diff --git a/api/assert.lua b/api/assert.lua index ed04b43..16cc9ce 100644 --- a/api/assert.lua +++ b/api/assert.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param condition value ----@param message string ----@return value value +---@param condition value +---@param message string +---@return value value ---Causes a Lua error if a condition is failed -function assert(condition, message) end \ No newline at end of file +function assert(condition, message) end diff --git a/api/atan.lua b/api/atan.lua index 1700fad..a2ec207 100644 --- a/api/atan.lua +++ b/api/atan.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Alternative to math.atan, using degrees instead of radians -function atan() end \ No newline at end of file +function atan() end diff --git a/api/atan2.lua b/api/atan2.lua index 1741d4e..97ece08 100644 --- a/api/atan2.lua +++ b/api/atan2.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function atan2() end \ No newline at end of file +function atan2() end diff --git a/api/ceil.lua b/api/ceil.lua index c186268..5960a8a 100644 --- a/api/ceil.lua +++ b/api/ceil.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param x number ----@return number ceiling +---@param x number +---@return number ceiling ---Returns the smallest integer larger than or equal to a number. Alias for the standard library function math.ceil. -function ceil(x) end \ No newline at end of file +function ceil(x) end diff --git a/api/collectgarbage.lua b/api/collectgarbage.lua index 203c2a3..80b47c9 100644 --- a/api/collectgarbage.lua +++ b/api/collectgarbage.lua @@ -1,13 +1,13 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param option stop ----@param collect ----@param count ----@param restart ----@param setpause arg ----@param setstepmul arg ----@param step arg ----@param stop ----@param arg +---@param option stop +---@param collect +---@param count +---@param restart +---@param setpause arg +---@param setstepmul arg +---@param step arg +---@param stop +---@param arg ---Interface to the Lua garbage collector -function collectgarbage(option, collect, count, restart, setpause, setstepmul, step, stop, arg) end \ No newline at end of file +function collectgarbage(option, collect, count, restart, setpause, setstepmul, step, stop, arg) end diff --git a/api/cos.lua b/api/cos.lua index 4fb1eda..70f4a78 100644 --- a/api/cos.lua +++ b/api/cos.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Alternative to math.cos, using degrees instead of radians -function cos() end \ No newline at end of file +function cos() end diff --git a/api/date.lua b/api/date.lua index 77c40b9..8f522ea 100644 --- a/api/date.lua +++ b/api/date.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param format string ----@return string or table dateValue +---@param format string +---@return string or table dateValue ---Returns a formatted date/time string for a date (or the current date). Alias to the standard library function os.date. ---@overload fun(format: string, time: number) -function date(format, time) end \ No newline at end of file +function date(format, time) end diff --git a/api/debugbreak.lua b/api/debugbreak.lua index 66ce988..0e34e61 100644 --- a/api/debugbreak.lua +++ b/api/debugbreak.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function debugbreak() end \ No newline at end of file +function debugbreak() end diff --git a/api/debugdump.lua b/api/debugdump.lua index da818cf..2fb1383 100644 --- a/api/debugdump.lua +++ b/api/debugdump.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function debugdump() end \ No newline at end of file +function debugdump() end diff --git a/api/debuginfo.lua b/api/debuginfo.lua index 0e92301..89cbc3f 100644 --- a/api/debuginfo.lua +++ b/api/debuginfo.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function debuginfo() end \ No newline at end of file +function debuginfo() end diff --git a/api/debugload.lua b/api/debugload.lua index 8d4e5c1..f3daa94 100644 --- a/api/debugload.lua +++ b/api/debugload.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function debugload() end \ No newline at end of file +function debugload() end diff --git a/api/debuglocals.lua b/api/debuglocals.lua index 80abe11..1912123 100644 --- a/api/debuglocals.lua +++ b/api/debuglocals.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param stackLevel number ----@return string localsInfo +---@param stackLevel number +---@return string localsInfo ---Returns information about the local variables at a given stack depth -function debuglocals(stackLevel) end \ No newline at end of file +function debuglocals(stackLevel) end diff --git a/api/debugprint.lua b/api/debugprint.lua index 54e814f..5099be4 100644 --- a/api/debugprint.lua +++ b/api/debugprint.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function debugprint() end \ No newline at end of file +function debugprint() end diff --git a/api/debugprofilestart.lua b/api/debugprofilestart.lua index be3d35a..7c61f34 100644 --- a/api/debugprofilestart.lua +++ b/api/debugprofilestart.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Starts/resets the high resolution profiling timer. Subsequent calls to debugprofilestop() will return the current value of the timer. Note that debugprofilestart() is more of a global reset than a "start". It is not necessary to call it, ever. In fact, it is probably a much better idea to simply do 2 calls to stop() and calculate the difference, since calling start() will interrupt timing measurements done by other addons. -function debugprofilestart() end \ No newline at end of file +function debugprofilestart() end diff --git a/api/debugprofilestop.lua b/api/debugprofilestop.lua index e1c09ad..ff02a83 100644 --- a/api/debugprofilestop.lua +++ b/api/debugprofilestop.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number time +---@return number time ---Returns the value of the profiling timer -function debugprofilestop() end \ No newline at end of file +function debugprofilestop() end diff --git a/api/debugstack.lua b/api/debugstack.lua index 1878954..6998ded 100644 --- a/api/debugstack.lua +++ b/api/debugstack.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param start number ----@param countTop number ----@param countBot number ----@return string debugstring +---@param start number +---@param countTop number +---@param countBot number +---@return string debugstring ---Returns information about the current function call stack -function debugstack(start, countTop, countBot) end \ No newline at end of file +function debugstack(start, countTop, countBot) end diff --git a/api/debugtimestamp.lua b/api/debugtimestamp.lua index 9f01736..692fe84 100644 --- a/api/debugtimestamp.lua +++ b/api/debugtimestamp.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function debugtimestamp() end \ No newline at end of file +function debugtimestamp() end diff --git a/api/difftime.lua b/api/difftime.lua index 2150633..eeb565b 100644 --- a/api/difftime.lua +++ b/api/difftime.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param time2 number ----@param time1 number ----@return number seconds +---@param time2 number +---@param time1 number +---@return number seconds ---Returns the number of seconds between two time values. Alias for the standard library function os.difftime. -function difftime(time2, time1) end \ No newline at end of file +function difftime(time2, time1) end diff --git a/api/error.lua b/api/error.lua index 2377a67..7ddcf13 100644 --- a/api/error.lua +++ b/api/error.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param message string ----@param level number +---@param message string +---@param level number ---Causes a Lua error message -function error(message, level) end \ No newline at end of file +function error(message, level) end diff --git a/api/fastrandom.lua b/api/fastrandom.lua index 901f603..64c4c0c 100644 --- a/api/fastrandom.lua +++ b/api/fastrandom.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function fastrandom() end \ No newline at end of file +function fastrandom() end diff --git a/api/floor.lua b/api/floor.lua index 05b53ef..62eaed7 100644 --- a/api/floor.lua +++ b/api/floor.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param x number ----@return number floor +---@param x number +---@return number floor ---Returns the largest integer smaller than or equal to a number. Alias for the standard library function math.floor. -function floor(x) end \ No newline at end of file +function floor(x) end diff --git a/api/forceinsecure.lua b/api/forceinsecure.lua index 4f7d100..8c322f6 100644 --- a/api/forceinsecure.lua +++ b/api/forceinsecure.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Causes the current execution path to continue outside the secure environment. Meaningless when called from outside of the secure environment. -function forceinsecure() end \ No newline at end of file +function forceinsecure() end diff --git a/api/foreach.lua b/api/foreach.lua index 7a460b8..a73c5ef 100644 --- a/api/foreach.lua +++ b/api/foreach.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function foreach() end \ No newline at end of file +function foreach() end diff --git a/api/foreachi.lua b/api/foreachi.lua index 0f1e9e8..813ddc5 100644 --- a/api/foreachi.lua +++ b/api/foreachi.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function foreachi() end \ No newline at end of file +function foreachi() end diff --git a/api/format.lua b/api/format.lua index d6e690b..c3c903b 100644 --- a/api/format.lua +++ b/api/format.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param formatString string ----@param ... list ----@return number formatted +---@param formatString string +---@param ... list +---@return number formatted ---Returns a formatted string containing specified values. Alias for the standard library function string.format. This version, however, includes the positional argument specifiers from Lua 4.0. Lua does not support the ANSI C format specifiers *, l, L, n, p, and h but includes an extra specifier, q, which formats a string in a form suitable to be safely read back by the Lua interpreter: the string is written between double quotes, and all double quotes, newlines, embedded zeros, and backslashes in the string are correctly escaped when written. -function format(formatString, ...) end \ No newline at end of file +function format(formatString, ...) end diff --git a/api/frexp.lua b/api/frexp.lua index 736e659..fe4fe00 100644 --- a/api/frexp.lua +++ b/api/frexp.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param x number ----@return number m ----@return number e +---@param x number +---@return number m +---@return number e ---Returns the normalized fraction and base-2 exponent for a number. Alias for the standard library function math.frexp. -function frexp(x) end \ No newline at end of file +function frexp(x) end diff --git a/api/gcinfo.lua b/api/gcinfo.lua index dcd1afc..d58b362 100644 --- a/api/gcinfo.lua +++ b/api/gcinfo.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number count +---@return number count ---Returns the total Lua memory usage. Deprecated in Lua 5.1; use collectgarbage("count") instead. -function gcinfo() end \ No newline at end of file +function gcinfo() end diff --git a/api/geterrorhandler.lua b/api/geterrorhandler.lua index 85dcfaa..b9a7262 100644 --- a/api/geterrorhandler.lua +++ b/api/geterrorhandler.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return function handler +---@return function handler ---Returns the current error handler function -function geterrorhandler() end \ No newline at end of file +function geterrorhandler() end diff --git a/api/getfenv.lua b/api/getfenv.lua index e79ace5..e2c4f7a 100644 --- a/api/getfenv.lua +++ b/api/getfenv.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param f function ----@param stackLevel number ----@return table env +---@param f function +---@param stackLevel number +---@return table env ---Returns the environment for a function (or the global environment). If the environment has a __environment metatable, that value is returned instead. -function getfenv(f, stackLevel) end \ No newline at end of file +function getfenv(f, stackLevel) end diff --git a/api/getglobal.lua b/api/getglobal.lua index 5fe9f44..a925538 100644 --- a/api/getglobal.lua +++ b/api/getglobal.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@return value value +---@param name string +---@return value value ---Returns the value of a global variable. Often used in the default UI in cases where several similar names are systematically constructed. Examples: In a script attached to a frame template, getglobal(self:GetName().."Icon") can refer to the Texture whose name is defined in XML as $parentIcon. Several sets of localized string tokens follow standard formats: e.g. getglobal("ITEM_QUALITY"..quality.."_DESC) returns the name for the numeric quality. Equivalent to _G.name or _G["name"]. -function getglobal(name) end \ No newline at end of file +function getglobal(name) end diff --git a/api/getmetatable.lua b/api/getmetatable.lua index 4e5e03d..d9a3874 100644 --- a/api/getmetatable.lua +++ b/api/getmetatable.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param object value ----@return value metatable +---@param object value +---@return value metatable ---Returns an object's metatable -function getmetatable(object) end \ No newline at end of file +function getmetatable(object) end diff --git a/api/getn.lua b/api/getn.lua index f9074c7..52f191b 100644 --- a/api/getn.lua +++ b/api/getn.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function getn() end \ No newline at end of file +function getn() end diff --git a/api/getprinthandler.lua b/api/getprinthandler.lua index 31e8bd3..42be6e8 100644 --- a/api/getprinthandler.lua +++ b/api/getprinthandler.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return function printHandler +---@return function printHandler ---Returns the function currently used for print() output.   The print handler is called by the print(...) function, with all arguments passed along. -function getprinthandler() end \ No newline at end of file +function getprinthandler() end diff --git a/api/gmatch.lua b/api/gmatch.lua index 69beef1..7ee2fb6 100644 --- a/api/gmatch.lua +++ b/api/gmatch.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param s string ----@param pattern string ----@return function iterator +---@param s string +---@param pattern string +---@return function iterator ---Returns an iterator function for finding pattern matches in a string. Alias for the standard library function string.gmatch. -function gmatch(s, pattern) end \ No newline at end of file +function gmatch(s, pattern) end diff --git a/api/gsub.lua b/api/gsub.lua index 914c2eb..33ce01e 100644 --- a/api/gsub.lua +++ b/api/gsub.lua @@ -1,12 +1,12 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param s string ----@param pattern string ----@param rep string ----@param repTable table ----@param repFunc function ----@param maxReplaced number ----@return string newString ----@return number numMatched +---@param s string +---@param pattern string +---@param rep string +---@param repTable table +---@param repFunc function +---@param maxReplaced number +---@return string newString +---@return number numMatched ---Returns a string in which occurrences of a pattern are replaced. Alias for the standard library function string.gsub. -function gsub(s, pattern, rep, repTable, repFunc, maxReplaced) end \ No newline at end of file +function gsub(s, pattern, rep, repTable, repFunc, maxReplaced) end diff --git a/api/hooksecurefunc.lua b/api/hooksecurefunc.lua index 60378ac..05d2322 100644 --- a/api/hooksecurefunc.lua +++ b/api/hooksecurefunc.lua @@ -4,4 +4,4 @@ ---@param hookfunc function ---Add a function to be called after execution of a secure function. Allows one to "post-hook" a secure function without tainting the original. The original function will still be called, but the function supplied will be called after the original, with the same arguments. Return values from the supplied function are discarded. Note that there is no API to remove a hook from a function: any hooks applied will remain in place until the UI is reloaded. Only allows hooking of functions named by a global variable; to hook a script handler on a Frame object, see Frame:HookScript(). ---@overload fun(table: table, function: string, hookfunc: function): void -function hooksecurefunc(func, hookfunc) end \ No newline at end of file +function hooksecurefunc(func, hookfunc) end diff --git a/api/ipairs.lua b/api/ipairs.lua index 4606c69..7f3bc78 100644 --- a/api/ipairs.lua +++ b/api/ipairs.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@return function iterator ----@return table t ----@return number index +---@param t table +---@return function iterator +---@return table t +---@return number index ---Returns an iterator function for integer keys in a table. Return values are such that the construction for k,v in ipairs(t) do -- body end will iterate over the pairs 1,t[1], 2,t[2], etc, up to the first integer key absent from the table. -function ipairs(t) end \ No newline at end of file +function ipairs(t) end diff --git a/api/issecure.lua b/api/issecure.lua index 6a6269d..90d7fc0 100644 --- a/api/issecure.lua +++ b/api/issecure.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return 1nil secure +---@return 1nil secure ---Returns whether the current execution path is secure. Meaningless when called from outside of the secure environment: always returns nil in such situations. -function issecure() end \ No newline at end of file +function issecure() end diff --git a/api/issecurevariable.lua b/api/issecurevariable.lua index c64cee9..da30aaa 100644 --- a/api/issecurevariable.lua +++ b/api/issecurevariable.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param table table ----@param variable string ----@return 1nil issecure ----@return string taint +---@param table table +---@param variable string +---@return 1nil issecure +---@return string taint ---Returns whether a variable is secure (and if not, which addon tainted it) -function issecurevariable(table, variable) end \ No newline at end of file +function issecurevariable(table, variable) end diff --git a/api/ldexp.lua b/api/ldexp.lua index 53b7fe8..dd8a0c6 100644 --- a/api/ldexp.lua +++ b/api/ldexp.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param m number ----@param e number ----@return number x +---@param m number +---@param e number +---@return number x ---Returns the number generated by a normalized fraction and base-2 exponent. Alias for the standard library function math.ldexp. -function ldexp(m, e) end \ No newline at end of file +function ldexp(m, e) end diff --git a/api/loadstring.lua b/api/loadstring.lua index 94478b4..308c085 100644 --- a/api/loadstring.lua +++ b/api/loadstring.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param s string ----@param chunkname string ----@return function chunk ----@return string error +---@param s string +---@param chunkname string +---@return function chunk +---@return string error ---Loads and compiles Lua source code -function loadstring(s, chunkname) end \ No newline at end of file +function loadstring(s, chunkname) end diff --git a/api/message.lua b/api/message.lua index 68afe50..a87cedd 100644 --- a/api/message.lua +++ b/api/message.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param text string +---@param text string ---Shows a message box containing the given text -function message(text) end \ No newline at end of file +function message(text) end diff --git a/api/newproxy.lua b/api/newproxy.lua index f6bb64b..ea042c9 100644 --- a/api/newproxy.lua +++ b/api/newproxy.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param boolean boolean ----@param userdata userdata ----@return userdata userdata +---@param boolean boolean +---@param userdata userdata +---@return userdata userdata ---Creates a zero-length userdata with an optional metatable.. newproxy is a experimental, undocumented and unsupported function in the Lua base library. It can be used to create a zero-length userdata, with a optional proxy. This function allows you to bypass the table type restriction on setmetatable, and thus create just a metatable. One of the main benefits from doing this is that you don't have to take the full overhead of creating a dummy table, and it's the only object that honors the metamethod __len. -function newproxy(boolean, userdata) end \ No newline at end of file +function newproxy(boolean, userdata) end diff --git a/api/next.lua b/api/next.lua index e3c9968..e98eb26 100644 --- a/api/next.lua +++ b/api/next.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@param key value ----@return value nextKey ----@return value nextValue +---@param t table +---@param key value +---@return value nextKey +---@return value nextValue ---Returns the next key/value pair in a table -function next(t, key) end \ No newline at end of file +function next(t, key) end diff --git a/api/pairs.lua b/api/pairs.lua index 6fe662d..c09cd2d 100644 --- a/api/pairs.lua +++ b/api/pairs.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@return function iterator ----@return table t ----@return number index +---@param t table +---@return function iterator +---@return table t +---@return number index ---Returns an iterator function for a table. Return values are such that the construction for k,v in pairs(t) -- body end will iterate over all key/value pairs in the table. -function pairs(t) end \ No newline at end of file +function pairs(t) end diff --git a/api/pcall.lua b/api/pcall.lua index 89baef2..7537fa9 100644 --- a/api/pcall.lua +++ b/api/pcall.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param f function ----@param ... list ----@return boolean status ----@return list or string ... +---@param f function +---@param ... list +---@return boolean status +---@return list or string ... ---Executes a function in protected mode. When running a function in protected mode, any errors do not propagate beyond the function (i.e. they do not stop all execution and call the default error handler). -function pcall(f, ...) end \ No newline at end of file +function pcall(f, ...) end diff --git a/api/print.lua b/api/print.lua index a1735ad..fe0f6cb 100644 --- a/api/print.lua +++ b/api/print.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ... list +---@param ... list ---Outputs a list of values (in the main chat window by default). The default print handler prints all values passed to it, separated by spaces, to the default chat frame. Values are passed through tostring(), so only number and string values are output in a literal form: tables, functions and userdata are output as a memory address preceded by their type. This behavior can be customized by using setprinthandler() to designate an alternate function for output. -function print(...) end \ No newline at end of file +function print(...) end diff --git a/api/random.lua b/api/random.lua index 5fbfa8f..0d96e0f 100644 --- a/api/random.lua +++ b/api/random.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param m number ----@param n number ----@return number randomNum +---@param m number +---@param n number +---@return number randomNum ---Generates a pseudo-random number. Alias for the standard library function math.random. -function random(m, n) end \ No newline at end of file +function random(m, n) end diff --git a/api/rawequal.lua b/api/rawequal.lua index d91390d..7faa54e 100644 --- a/api/rawequal.lua +++ b/api/rawequal.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param v1 value ----@param v2 function ----@return boolean isEqual +---@param v1 value +---@param v2 function +---@return boolean isEqual ---Returns whether two values are equal without invoking any metamethods -function rawequal(v1, v2) end \ No newline at end of file +function rawequal(v1, v2) end diff --git a/api/rawget.lua b/api/rawget.lua index 68bead6..0a8d79d 100644 --- a/api/rawget.lua +++ b/api/rawget.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@param key value ----@return value value +---@param t table +---@param key value +---@return value value ---Returns the real value associated with a key in a table without invoking any metamethods -function rawget(t, key) end \ No newline at end of file +function rawget(t, key) end diff --git a/api/rawset.lua b/api/rawset.lua index b21c9bd..7fdc554 100644 --- a/api/rawset.lua +++ b/api/rawset.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@param key value ----@param value value +---@param t table +---@param key value +---@param value value ---Sets the value associated with a key in a table without invoking any metamethods -function rawset(t, key, value) end \ No newline at end of file +function rawset(t, key, value) end diff --git a/api/scrub.lua b/api/scrub.lua index 85c1127..48642ee 100644 --- a/api/scrub.lua +++ b/api/scrub.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ... list ----@return list ... +---@param ... list +---@return list ... ---Replaces non-simple values in a list with nil. All simple values (strings, numbers, and booleans) are passed from the input list to the output list unchanged. Non-simple values (tables, functions, threads, and userdata) are replaced by nil in the output list. -function scrub(...) end \ No newline at end of file +function scrub(...) end diff --git a/api/seterrorhandler.lua b/api/seterrorhandler.lua index c45e9ba..bd7fbf3 100644 --- a/api/seterrorhandler.lua +++ b/api/seterrorhandler.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param errHandler function +---@param errHandler function ---Changes the error handler to a specified function. The error handler is called by Lua's error() function, which in turn is called whenever a Lua error occurs. WoW's default error handler displays the error message, a stack trace and information about the local variables for the function. This dialog will only be shown if the "Show Lua errors" option is enabled in Interface Options. -function seterrorhandler(errHandler) end \ No newline at end of file +function seterrorhandler(errHandler) end diff --git a/api/setfenv.lua b/api/setfenv.lua index 6ff7481..4dc9123 100644 --- a/api/setfenv.lua +++ b/api/setfenv.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param f function ----@param stackLevel number ----@param t table ----@return function f +---@param f function +---@param stackLevel number +---@param t table +---@return function f ---Sets the environment to be used by a function. If the environment has a __environment metatable, this function will error. -function setfenv(f, stackLevel, t) end \ No newline at end of file +function setfenv(f, stackLevel, t) end diff --git a/api/setglobal.lua b/api/setglobal.lua index b400ea8..42158eb 100644 --- a/api/setglobal.lua +++ b/api/setglobal.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param name string ----@param value value +---@param name string +---@param value value ---Sets a global variable to a specified value. Allows setting the value of a global variable in contexts where its name might be overridden by that of a local variable; i.e. setglobal(name, value) is equivalent to _G.name = value or _G["name"] = value. -function setglobal(name, value) end \ No newline at end of file +function setglobal(name, value) end diff --git a/api/setmetatable.lua b/api/setmetatable.lua index 7f5015c..040db6e 100644 --- a/api/setmetatable.lua +++ b/api/setmetatable.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@param metatable table ----@return table t +---@param t table +---@param metatable table +---@return table t ---Sets the metatable for a table -function setmetatable(t, metatable) end \ No newline at end of file +function setmetatable(t, metatable) end diff --git a/api/setprinthandler.lua b/api/setprinthandler.lua index e47d10a..bb67666 100644 --- a/api/setprinthandler.lua +++ b/api/setprinthandler.lua @@ -1,5 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param printHandler function +---@param printHandler function ---Sets a new function to be used for print() output. The print handler is called by the print(...) function, with all arguments passed along. -function setprinthandler(printHandler) end \ No newline at end of file +function setprinthandler(printHandler) end diff --git a/api/sin.lua b/api/sin.lua index 5b40e0f..a719917 100644 --- a/api/sin.lua +++ b/api/sin.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Alternative to math.sin, using degrees instead of radians -function sin() end \ No newline at end of file +function sin() end diff --git a/api/sort.lua b/api/sort.lua index 673d497..4f30927 100644 --- a/api/sort.lua +++ b/api/sort.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param table number ----@param comparator function +---@param table number +---@param comparator function ---Sorts a table. Alias for the standard library function table.sort. -function sort(table, comparator) end \ No newline at end of file +function sort(table, comparator) end diff --git a/api/sqrt.lua b/api/sqrt.lua index e41f27a..97b6c59 100644 --- a/api/sqrt.lua +++ b/api/sqrt.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param x number ----@return number root +---@param x number +---@return number root ---Returns the square root of a number. Alias for the standard library function math.sqrt. -function sqrt(x) end \ No newline at end of file +function sqrt(x) end diff --git a/api/strconcat.lua b/api/strconcat.lua index 31bd08d..23dde14 100644 --- a/api/strconcat.lua +++ b/api/strconcat.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ... string ----@return string result +---@param ... string +---@return string result ---Joins a list of strings (with no separator). Equivalent to strjoin("", ...). If no strings are provided, returns the empty string (""). -function strconcat(...) end \ No newline at end of file +function strconcat(...) end diff --git a/api/strjoin.lua b/api/strjoin.lua index 94aa520..e45db1e 100644 --- a/api/strjoin.lua +++ b/api/strjoin.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sep string ----@param ... list ----@return string text +---@param sep string +---@param ... list +---@return string text ---Joins a list of strings together with a given separator. If given a list of strings not already in a table, this function can be used instead of table.concat for better performance. Also available as string.join (though not provided by the Lua standard library). -function strjoin(sep, ...) end \ No newline at end of file +function strjoin(sep, ...) end diff --git a/api/strsplit.lua b/api/strsplit.lua index 25aeac0..a5d466c 100644 --- a/api/strsplit.lua +++ b/api/strsplit.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param sep string ----@param text string ----@return string ... +---@param sep string +---@param text string +---@return string ... ---Splits a string based on another seperator string. Also available as string.split (though not provided by the Lua standard library). ---@overload fun(sep: string, text: string, limit: number): string ... -function strsplit(sep, text) end \ No newline at end of file +function strsplit(sep, text) end diff --git a/api/strtrim.lua b/api/strtrim.lua index a6db1a3..31b6297 100644 --- a/api/strtrim.lua +++ b/api/strtrim.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param str string ----@return string text +---@param str string +---@return string text ---Trims leading and trailing characters (whitespace by default) from a string. Also available as string.trim (though not provided by the Lua standard library). ---@overload fun(str: string, trimChars: string) -function strtrim(str, trimChars) end \ No newline at end of file +function strtrim(str, trimChars) end diff --git a/api/tContains.lua b/api/tContains.lua index d4a974b..484b401 100644 --- a/api/tContains.lua +++ b/api/tContains.lua @@ -1,7 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global - ---@param table table ---@param value any ---@return number|nil 1 or nil -function tContains(table, value) end \ No newline at end of file +function tContains(table, value) end diff --git a/api/tDelete.lua b/api/tDelete.lua index 34e3fbe..79b87c0 100644 --- a/api/tDelete.lua +++ b/api/tDelete.lua @@ -1,4 +1,3 @@ ---@diagnostic disable: missing-return, lowercase-global - -function tDelete() end \ No newline at end of file +function tDelete() end diff --git a/api/tan.lua b/api/tan.lua index e1a85e2..dbc8e86 100644 --- a/api/tan.lua +++ b/api/tan.lua @@ -1,4 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global ---Alternative to math.tan, using degrees instead of radians -function tan() end \ No newline at end of file +function tan() end diff --git a/api/time.lua b/api/time.lua index f152063..81af282 100644 --- a/api/time.lua +++ b/api/time.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@return number t +---@return number t ---Returns the numeric time value for a described date/time (or the current time). Alias for the standard library function os.time. According to the Lua manual, the returned value may vary across different systems; however, the Lua libraries included with current WoW clients on both Mac and Windows share the same implementation. For higher-precision time measurements not convertible to a date, see GetTime(). ---@overload fun(timeDesc: string): number -function time() end \ No newline at end of file +function time() end diff --git a/api/tonumber.lua b/api/tonumber.lua index 2e234e4..ddcacf0 100644 --- a/api/tonumber.lua +++ b/api/tonumber.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param x value ----@param base number ----@return number numValue +---@param x value +---@param base number +---@return number numValue ---Returns the numeric value of a string -function tonumber(x, base) end \ No newline at end of file +function tonumber(x, base) end diff --git a/api/tostring.lua b/api/tostring.lua index c8d47f9..388b065 100644 --- a/api/tostring.lua +++ b/api/tostring.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param value value ----@return string stringValue +---@param value value +---@return string stringValue ---Returns a string representation of a value -function tostring(value) end \ No newline at end of file +function tostring(value) end diff --git a/api/tostringall.lua b/api/tostringall.lua index ce96d96..d994316 100644 --- a/api/tostringall.lua +++ b/api/tostringall.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param ... list ----@return list ... +---@param ... list +---@return list ... ---Alternative to tostring() for bulk conversion of values. Using tostringall() instead of tostring() when converting a large number of values may result in better performance. -function tostringall(...) end \ No newline at end of file +function tostringall(...) end diff --git a/api/type.lua b/api/type.lua index c9ffe24..4fb273b 100644 --- a/api/type.lua +++ b/api/type.lua @@ -1,14 +1,14 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param v value ----@return userdata typeString ----@return false boolean ----@return function ----@return nil nil ----@return number ----@return string ----@return table ----@return thread ----@return userdata +---@param v value +---@return userdata typeString +---@return false boolean +---@return function +---@return nil nil +---@return number +---@return string +---@return table +---@return thread +---@return userdata ---Returns a string describing the data type of a value -function type(v) end \ No newline at end of file +function type(v) end diff --git a/api/unpack.lua b/api/unpack.lua index c7d426a..8774fe5 100644 --- a/api/unpack.lua +++ b/api/unpack.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param t table ----@param i number ----@param j number ----@return list ... +---@param t table +---@param i number +---@param j number +---@return list ... ---Returns the list of elements in a table. Equivalent to return t[i], t[i+1], ... t[j] for an arbitrary number of elements. -function unpack(t, i, j) end \ No newline at end of file +function unpack(t, i, j) end diff --git a/api/wipe.lua b/api/wipe.lua index 9200e19..f1537d6 100644 --- a/api/wipe.lua +++ b/api/wipe.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param aTable table ----@return table emptyTable +---@param aTable table +---@return table emptyTable ---Removes all entries from a table -function wipe(aTable) end \ No newline at end of file +function wipe(aTable) end diff --git a/api/xpcall.lua b/api/xpcall.lua index 2c51464..9ce655c 100644 --- a/api/xpcall.lua +++ b/api/xpcall.lua @@ -1,8 +1,8 @@ ---@diagnostic disable: missing-return, lowercase-global ----@param f function ----@param err function ----@return boolean status ----@return list or string ... +---@param f function +---@param err function +---@return boolean status +---@return list or string ... ---Executes a function in protected mode with a custom error handler -function xpcall(f, err) end \ No newline at end of file +function xpcall(f, err) end diff --git a/ui/Frame.lua b/ui/Frame.lua index 34c4c95..dcef1f8 100644 --- a/ui/Frame.lua +++ b/ui/Frame.lua @@ -19,7 +19,7 @@ Frame = { ---Sets whether the frame should automatically come to the front when clicked. When a frame with Toplevel behavior enabled is clicked, it automatically changes its frame level such that it is greater than (and therefore drawn "in front of") all other frames in its strata. ---@param self Frame - ---@param enable boolean True to cause the frame to automatically come to the front when clicked; false otherwise + ---@param enable boolean True to cause the frame to automatically come to the front when clicked; false otherwise SetTopLevel = function(self, enable) end, ---Flags the frame for automatic saving and restoration of position and dimensions. The position and size of frames so flagged is automatically saved when the UI is shut down (as when quitting, logging out, or reloading) and restored when the UI next starts up (as when logging in or reloading). If the frame does not have a name (set at creation time) specified, its position will not be saved. As implied by its name, enabling this property is useful for frames which can be moved or resized by the user. @@ -72,5 +72,5 @@ Frame = { ---@param bottomOffset number The amount by which to displace the bottom edge of the test rectangle ---@param rightOffset number The amount by which to displace the right edge of the test rectangle ---@return boolean isOver true if the mouse is over the region; otherwise false - IsMouseOver = function(self, topOffset, leftOffset, bottomOffset, rightOffset) end + IsMouseOver = function(self, topOffset, leftOffset, bottomOffset, rightOffset) end, } diff --git a/ui/UIObject.lua b/ui/UIObject.lua index decd3a3..98f4690 100644 --- a/ui/UIObject.lua +++ b/ui/UIObject.lua @@ -17,5 +17,5 @@ UIObject = { ---@param self UIObject ---@param type string Name of the object's type (e.g. Frame, Button, FontString, etc.) ---@return number|nil 1 if the object belongs to the given type (or a subtype thereof); otherwise nil - IsObjectType = function(self, type) end + IsObjectType = function(self, type) end, }