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,95 @@
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);