First commit, step 4 completed
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user