Guest User

Untitled

a guest
Feb 13th, 2025
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. local CooldownViewer =
  2. {
  3. Name = "CooldownViewer",
  4. Type = "System",
  5. Namespace = "C_CooldownViewer",
  6.  
  7. Functions =
  8. {
  9. {
  10. Name = "GetCooldownViewerCategorySet",
  11. Type = "Function",
  12.  
  13. Arguments =
  14. {
  15. { Name = "category", Type = "CooldownViewerCategory", Nilable = false },
  16. },
  17.  
  18. Returns =
  19. {
  20. { Name = "cooldownIDs", Type = "table", InnerType = "number", Nilable = false },
  21. },
  22. },
  23. {
  24. Name = "GetCooldownViewerCooldownInfo",
  25. Type = "Function",
  26. MayReturnNothing = true,
  27.  
  28. Arguments =
  29. {
  30. { Name = "cooldownID", Type = "number", Nilable = false },
  31. },
  32.  
  33. Returns =
  34. {
  35. { Name = "cooldownInfo", Type = "CooldownViewerCooldown", Nilable = false },
  36. },
  37. },
  38. },
  39.  
  40. Events =
  41. {
  42. {
  43. Name = "CooldownViewerTableHotfixed",
  44. Type = "Event",
  45. LiteralName = "COOLDOWN_VIEWER_TABLE_HOTFIXED",
  46. },
  47. },
  48.  
  49. Tables =
  50. {
  51. {
  52. Name = "CooldownViewerCooldown",
  53. Type = "Structure",
  54. Fields =
  55. {
  56. { Name = "spellID", Type = "number", Nilable = false },
  57. { Name = "linkedSpellIDs", Type = "table", InnerType = "number", Nilable = false },
  58. { Name = "selfAura", Type = "bool", Nilable = false },
  59. { Name = "hasAura", Type = "bool", Nilable = false },
  60. { Name = "charges", Type = "bool", Nilable = false },
  61. },
  62. },
  63. },
  64. };
  65.  
  66. APIDocumentation:AddDocumentationTable(CooldownViewer);
Advertisement
Add Comment
Please, Sign In to add comment