95 lines
2.1 KiB
Lua
95 lines
2.1 KiB
Lua
local WorldStateInfo =
|
|
{
|
|
Name = "WorldStateInfo",
|
|
Type = "System",
|
|
Namespace = "C_WorldStateInfo",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
},
|
|
|
|
Events =
|
|
{
|
|
{
|
|
Name = "CancelPlayerCountdown",
|
|
Type = "Event",
|
|
LiteralName = "CANCEL_PLAYER_COUNTDOWN",
|
|
SecretInChatMessagingLockdown = true,
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "initiatedBy", Type = "WOWGUID", Nilable = false },
|
|
{ Name = "informChat", Type = "bool", Nilable = false },
|
|
{ Name = "initiatedByName", Type = "string", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "StartPlayerCountdown",
|
|
Type = "Event",
|
|
LiteralName = "START_PLAYER_COUNTDOWN",
|
|
SecretInChatMessagingLockdown = true,
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "initiatedBy", Type = "WOWGUID", Nilable = false },
|
|
{ Name = "timeRemaining", Type = "time_t", Nilable = false },
|
|
{ Name = "totalTime", Type = "time_t", Nilable = false },
|
|
{ Name = "informChat", Type = "bool", Nilable = false },
|
|
{ Name = "initiatedByName", Type = "string", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "StartTimer",
|
|
Type = "Event",
|
|
LiteralName = "START_TIMER",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "timerType", Type = "StartTimerType", Nilable = false },
|
|
{ Name = "timeRemaining", Type = "time_t", Nilable = false },
|
|
{ Name = "totalTime", Type = "time_t", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "StopTimerOfType",
|
|
Type = "Event",
|
|
LiteralName = "STOP_TIMER_OF_TYPE",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "timerType", Type = "StartTimerType", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "WorldStateTimerStart",
|
|
Type = "Event",
|
|
LiteralName = "WORLD_STATE_TIMER_START",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "timerID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "WorldStateTimerStop",
|
|
Type = "Event",
|
|
LiteralName = "WORLD_STATE_TIMER_STOP",
|
|
SynchronousEvent = true,
|
|
Payload =
|
|
{
|
|
{ Name = "timerID", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(WorldStateInfo); |