Add C_Trophy module with functions for managing trophy operations
This commit is contained in:
45
C_Trophy.lua
Normal file
45
C_Trophy.lua
Normal file
@@ -0,0 +1,45 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
--- C_Trophy is a namespace for functions related to trophy management.
|
||||
---
|
||||
--- @class C_Trophy
|
||||
C_Trophy = {
|
||||
--- @param trophyID number
|
||||
--- @return nil
|
||||
--- Changes the appearance of a trophy to the specified trophy ID.
|
||||
MonumentChangeAppearanceToTrophyID = function(trophyID) end,
|
||||
|
||||
--- @return nil
|
||||
--- Closes the monument UI.
|
||||
MonumentCloseMonumentUI = function() end,
|
||||
|
||||
--- @return number
|
||||
--- Returns the count of trophies.
|
||||
MonumentGetCount = function() end,
|
||||
|
||||
--- @return number
|
||||
--- Returns the selected trophy ID.
|
||||
MonumentGetSelectedTrophyID = function() end,
|
||||
|
||||
--- @param index number
|
||||
--- @return table
|
||||
--- Returns information about a trophy by its index.
|
||||
MonumentGetTrophyInfoByIndex = function(index) end,
|
||||
|
||||
--- @return nil
|
||||
--- Loads the list of trophies.
|
||||
MonumentLoadList = function() end,
|
||||
|
||||
--- @return nil
|
||||
--- Loads the selected trophy ID.
|
||||
MonumentLoadSelectedTrophyID = function() end,
|
||||
|
||||
--- @return nil
|
||||
--- Reverts the appearance of the trophy to the saved state.
|
||||
MonumentRevertAppearanceToSaved = function() end,
|
||||
|
||||
--- @param trophyID number
|
||||
--- @return nil
|
||||
--- Saves the selection of a trophy.
|
||||
MonumentSaveSelection = function(trophyID) end,
|
||||
}
|
Reference in New Issue
Block a user