Format documentation comments for C_LootHistory and C_ToyBox for consistency
This commit is contained in:
@@ -4,27 +4,27 @@
|
||||
---
|
||||
--- @class C_LootHistory
|
||||
C_LootHistory = {
|
||||
--- @return table
|
||||
--- Returns all encounter information.
|
||||
GetAllEncounterInfos = function() end,
|
||||
--- @return table
|
||||
--- Returns all encounter information.
|
||||
GetAllEncounterInfos = function() end,
|
||||
|
||||
--- @param encounterID number
|
||||
--- @return table
|
||||
--- Returns information for a specific encounter.
|
||||
GetInfoForEncounter = function(encounterID) end,
|
||||
--- @param encounterID number
|
||||
--- @return table
|
||||
--- Returns information for a specific encounter.
|
||||
GetInfoForEncounter = function(encounterID) end,
|
||||
|
||||
--- @return number
|
||||
--- Returns the loot history time.
|
||||
GetLootHistoryTime = function() end,
|
||||
--- @return number
|
||||
--- Returns the loot history time.
|
||||
GetLootHistoryTime = function() end,
|
||||
|
||||
--- @param encounterID number
|
||||
--- @return table
|
||||
--- Returns sorted drops for a specific encounter.
|
||||
GetSortedDropsForEncounter = function(encounterID) end,
|
||||
--- @param encounterID number
|
||||
--- @return table
|
||||
--- Returns sorted drops for a specific encounter.
|
||||
GetSortedDropsForEncounter = function(encounterID) end,
|
||||
|
||||
--- @param encounterID number
|
||||
--- @param lootListID number
|
||||
--- @return table
|
||||
--- Returns sorted information for a specific drop.
|
||||
GetSortedInfoForDrop = function(encounterID, lootListID) end,
|
||||
--- @param encounterID number
|
||||
--- @param lootListID number
|
||||
--- @return table
|
||||
--- Returns sorted information for a specific drop.
|
||||
GetSortedInfoForDrop = function(encounterID, lootListID) end,
|
||||
}
|
||||
|
206
C_ToyBox.lua
206
C_ToyBox.lua
@@ -4,132 +4,132 @@
|
||||
---
|
||||
--- @class C_ToyBox
|
||||
C_ToyBox = {
|
||||
--- @return nil
|
||||
--- Forces a refilter of toys.
|
||||
ForceToyRefilter = function() end,
|
||||
--- @return nil
|
||||
--- Forces a refilter of toys.
|
||||
ForceToyRefilter = function() end,
|
||||
|
||||
--- @return boolean
|
||||
--- Returns whether collected toys are shown.
|
||||
GetCollectedShown = function() end,
|
||||
--- @return boolean
|
||||
--- Returns whether collected toys are shown.
|
||||
GetCollectedShown = function() end,
|
||||
|
||||
--- @param itemID number
|
||||
--- @return boolean isFavorite
|
||||
--- Returns whether a toy is marked as favorite.
|
||||
GetIsFavorite = function(itemID) end,
|
||||
--- @param itemID number
|
||||
--- @return boolean isFavorite
|
||||
--- Returns whether a toy is marked as favorite.
|
||||
GetIsFavorite = function(itemID) end,
|
||||
|
||||
--- @return number
|
||||
--- Returns the number of filtered toys.
|
||||
GetNumFilteredToys = function() end,
|
||||
--- @return number
|
||||
--- Returns the number of filtered toys.
|
||||
GetNumFilteredToys = function() end,
|
||||
|
||||
--- @return number
|
||||
--- Returns the number of learned displayed toys.
|
||||
GetNumLearnedDisplayedToys = function() end,
|
||||
--- @return number
|
||||
--- Returns the number of learned displayed toys.
|
||||
GetNumLearnedDisplayedToys = function() end,
|
||||
|
||||
--- @return number
|
||||
--- Returns the total number of displayed toys.
|
||||
GetNumTotalDisplayedToys = function() end,
|
||||
--- @return number
|
||||
--- Returns the total number of displayed toys.
|
||||
GetNumTotalDisplayedToys = function() end,
|
||||
|
||||
--- @return number numToys
|
||||
--- Returns the total number of toys.
|
||||
GetNumToys = function() end,
|
||||
--- @return number numToys
|
||||
--- Returns the total number of toys.
|
||||
GetNumToys = function() end,
|
||||
|
||||
--- @param index number
|
||||
--- @return number itemID
|
||||
--- Returns the toy ID from the specified index.
|
||||
GetToyFromIndex = function(index) end,
|
||||
--- @param index number
|
||||
--- @return number itemID
|
||||
--- Returns the toy ID from the specified index.
|
||||
GetToyFromIndex = function(index) end,
|
||||
|
||||
--- @param itemID number
|
||||
--- @return number itemID
|
||||
--- @return string toyName
|
||||
--- @return string icon
|
||||
--- @return boolean isFavorite
|
||||
--- @return boolean hasFanfare
|
||||
--- @return number itemQuality
|
||||
--- Returns information about a toy.
|
||||
GetToyInfo = function(itemID) end,
|
||||
--- @param itemID number
|
||||
--- @return number itemID
|
||||
--- @return string toyName
|
||||
--- @return string icon
|
||||
--- @return boolean isFavorite
|
||||
--- @return boolean hasFanfare
|
||||
--- @return number itemQuality
|
||||
--- Returns information about a toy.
|
||||
GetToyInfo = function(itemID) end,
|
||||
|
||||
--- @param itemID number
|
||||
--- @return string itemLink
|
||||
--- Returns the item link for a toy.
|
||||
GetToyLink = function(itemID) end,
|
||||
--- @param itemID number
|
||||
--- @return string itemLink
|
||||
--- Returns the item link for a toy.
|
||||
GetToyLink = function(itemID) end,
|
||||
|
||||
--- @return boolean
|
||||
--- Returns whether uncollected toys are shown.
|
||||
GetUncollectedShown = function() end,
|
||||
--- @return boolean
|
||||
--- Returns whether uncollected toys are shown.
|
||||
GetUncollectedShown = function() end,
|
||||
|
||||
--- @return boolean
|
||||
--- Returns whether unusable toys are shown.
|
||||
GetUnusableShown = function() end,
|
||||
--- @return boolean
|
||||
--- Returns whether unusable toys are shown.
|
||||
GetUnusableShown = function() end,
|
||||
|
||||
--- @return boolean
|
||||
--- Returns whether there are any favorites.
|
||||
HasFavorites = function() end,
|
||||
--- @return boolean
|
||||
--- Returns whether there are any favorites.
|
||||
HasFavorites = function() end,
|
||||
|
||||
--- @param expansionIndex number
|
||||
--- @return boolean
|
||||
--- Returns whether the specified expansion type filter is checked.
|
||||
IsExpansionTypeFilterChecked = function(expansionIndex) end,
|
||||
--- @param expansionIndex number
|
||||
--- @return boolean
|
||||
--- Returns whether the specified expansion type filter is checked.
|
||||
IsExpansionTypeFilterChecked = function(expansionIndex) end,
|
||||
|
||||
--- @param sourceIndex number
|
||||
--- @return boolean
|
||||
--- Returns whether the specified source type filter is checked.
|
||||
IsSourceTypeFilterChecked = function(sourceIndex) end,
|
||||
--- @param sourceIndex number
|
||||
--- @return boolean
|
||||
--- Returns whether the specified source type filter is checked.
|
||||
IsSourceTypeFilterChecked = function(sourceIndex) end,
|
||||
|
||||
--- @param itemID number
|
||||
--- @return boolean
|
||||
--- Returns whether a toy is usable.
|
||||
IsToyUsable = function(itemID) end,
|
||||
--- @param itemID number
|
||||
--- @return boolean
|
||||
--- Returns whether a toy is usable.
|
||||
IsToyUsable = function(itemID) end,
|
||||
|
||||
--- @param itemID number
|
||||
--- @return nil
|
||||
--- Picks up a toy box item.
|
||||
PickupToyBoxItem = function(itemID) end,
|
||||
--- @param itemID number
|
||||
--- @return nil
|
||||
--- Picks up a toy box item.
|
||||
PickupToyBoxItem = function(itemID) end,
|
||||
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets all expansion type filters.
|
||||
SetAllExpansionTypeFilters = function(checked) end,
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets all expansion type filters.
|
||||
SetAllExpansionTypeFilters = function(checked) end,
|
||||
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets all source type filters.
|
||||
SetAllSourceTypeFilters = function(checked) end,
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets all source type filters.
|
||||
SetAllSourceTypeFilters = function(checked) end,
|
||||
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets whether collected toys are shown.
|
||||
SetCollectedShown = function(checked) end,
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets whether collected toys are shown.
|
||||
SetCollectedShown = function(checked) end,
|
||||
|
||||
--- @param expansionIndex number
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets the specified expansion type filter.
|
||||
SetExpansionTypeFilter = function(expansionIndex, checked) end,
|
||||
--- @param expansionIndex number
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets the specified expansion type filter.
|
||||
SetExpansionTypeFilter = function(expansionIndex, checked) end,
|
||||
|
||||
--- @param searchString string
|
||||
--- @return nil
|
||||
SetFilterString = function(searchString) end,
|
||||
--- Sets the filter string for searching toys.
|
||||
--- @param searchString string
|
||||
--- @return nil
|
||||
SetFilterString = function(searchString) end,
|
||||
--- Sets the filter string for searching toys.
|
||||
|
||||
--- @param itemID number
|
||||
--- @param value boolean
|
||||
--- @return nil
|
||||
--- Sets a toy as favorite or not.
|
||||
SetIsFavorite = function(itemID, value) end,
|
||||
--- @param itemID number
|
||||
--- @param value boolean
|
||||
--- @return nil
|
||||
--- Sets a toy as favorite or not.
|
||||
SetIsFavorite = function(itemID, value) end,
|
||||
|
||||
--- @param sourceIndex number
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets the specified source type filter.
|
||||
SetSourceTypeFilter = function(sourceIndex, checked) end,
|
||||
--- @param sourceIndex number
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets the specified source type filter.
|
||||
SetSourceTypeFilter = function(sourceIndex, checked) end,
|
||||
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets whether uncollected toys are shown.
|
||||
SetUncollectedShown = function(checked) end,
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets whether uncollected toys are shown.
|
||||
SetUncollectedShown = function(checked) end,
|
||||
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets whether unusable toys are shown.
|
||||
SetUnusableShown = function(checked) end,
|
||||
--- @param checked boolean
|
||||
--- @return nil
|
||||
--- Sets whether unusable toys are shown.
|
||||
SetUnusableShown = function(checked) end,
|
||||
}
|
||||
|
Reference in New Issue
Block a user