111 lines
2.4 KiB
Lua
111 lines
2.4 KiB
Lua
local PartyPoseUI =
|
|
{
|
|
Name = "PartyPose",
|
|
Type = "System",
|
|
Namespace = "C_PartyPose",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "ExtraAction",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "partyPoseID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetPartyPoseInfoByID",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "mapID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "info", Type = "PartyPoseInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetPartyPoseInfoByMapID",
|
|
Type = "Function",
|
|
MayReturnNothing = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "mapID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "info", Type = "PartyPoseInfo", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "HasExtraAction",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "partyPoseID", Type = "number", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "hasExtraAction", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
{
|
|
Name = "ShowPartyPoseUI",
|
|
Type = "Event",
|
|
LiteralName = "SHOW_PARTY_POSE_UI",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "mapID", Type = "number", Nilable = false },
|
|
{ Name = "won", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
{
|
|
Name = "PartyPoseInfo",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "partyPoseID", Type = "number", Nilable = false },
|
|
{ Name = "mapID", Type = "number", Nilable = false },
|
|
{ Name = "widgetSetID", Type = "number", Nilable = true },
|
|
{ Name = "victoryModelSceneID", Type = "number", Nilable = false },
|
|
{ Name = "defeatModelSceneID", Type = "number", Nilable = false },
|
|
{ Name = "victorySoundKitID", Type = "number", Nilable = false },
|
|
{ Name = "defeatSoundKitID", Type = "number", Nilable = false },
|
|
{ Name = "uiTextureKit", Type = "textureKit", Nilable = true },
|
|
{ Name = "titleText", Type = "string", Nilable = true },
|
|
{ Name = "extraButtonText", Type = "string", Nilable = true },
|
|
{ Name = "flags", Type = "PartyPoseFlags", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(PartyPoseUI); |