Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CooldownViewer =
- {
- Name = "CooldownViewer",
- Type = "System",
- Namespace = "C_CooldownViewer",
- Functions =
- {
- {
- Name = "GetCooldownViewerCategorySet",
- Type = "Function",
- Arguments =
- {
- { Name = "category", Type = "CooldownViewerCategory", Nilable = false },
- },
- Returns =
- {
- { Name = "cooldownIDs", Type = "table", InnerType = "number", Nilable = false },
- },
- },
- {
- Name = "GetCooldownViewerCooldownInfo",
- Type = "Function",
- MayReturnNothing = true,
- Arguments =
- {
- { Name = "cooldownID", Type = "number", Nilable = false },
- },
- Returns =
- {
- { Name = "cooldownInfo", Type = "CooldownViewerCooldown", Nilable = false },
- },
- },
- },
- Events =
- {
- {
- Name = "CooldownViewerTableHotfixed",
- Type = "Event",
- LiteralName = "COOLDOWN_VIEWER_TABLE_HOTFIXED",
- },
- },
- Tables =
- {
- {
- Name = "CooldownViewerCooldown",
- Type = "Structure",
- Fields =
- {
- { Name = "spellID", Type = "number", Nilable = false },
- { Name = "linkedSpellIDs", Type = "table", InnerType = "number", Nilable = false },
- { Name = "selfAura", Type = "bool", Nilable = false },
- { Name = "hasAura", Type = "bool", Nilable = false },
- { Name = "charges", Type = "bool", Nilable = false },
- },
- },
- },
- };
- APIDocumentation:AddDocumentationTable(CooldownViewer);
Advertisement
Add Comment
Please, Sign In to add comment