First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,84 @@
local LootJournal =
{
Name = "LootJournal",
Type = "System",
Namespace = "C_LootJournal",
Environment = "All",
Functions =
{
{
Name = "GetItemSetItems",
Type = "Function",
MayReturnNothing = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "setID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "items", Type = "table", InnerType = "LootJournalItemInfo", Nilable = false },
},
},
{
Name = "GetItemSets",
Type = "Function",
MayReturnNothing = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "classID", Type = "number", Nilable = true },
{ Name = "specID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "itemSets", Type = "table", InnerType = "LootJournalItemSetInfo", Nilable = false },
},
},
},
Events =
{
{
Name = "LootJournalItemUpdate",
Type = "Event",
LiteralName = "LOOT_JOURNAL_ITEM_UPDATE",
UniqueEvent = true,
},
},
Tables =
{
{
Name = "LootJournalItemInfo",
Type = "Structure",
Fields =
{
{ Name = "itemID", Type = "number", Nilable = false },
{ Name = "icon", Type = "fileID", Nilable = false },
{ Name = "invType", Type = "luaIndex", Nilable = false },
},
},
{
Name = "LootJournalItemSetInfo",
Type = "Structure",
Fields =
{
{ Name = "setID", Type = "number", Nilable = false },
{ Name = "itemLevel", Type = "number", Nilable = false },
{ Name = "name", Type = "cstring", Nilable = false },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(LootJournal);