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,72 @@
local FogOfWar =
{
Name = "FogOfWar",
Type = "System",
Namespace = "C_FogOfWar",
Environment = "All",
Functions =
{
{
Name = "GetFogOfWarForMap",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "fogOfWarID", Type = "number", Nilable = true },
},
},
{
Name = "GetFogOfWarInfo",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "fogOfWarID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "fogOfWarInfo", Type = "FogOfWarInfo", Nilable = true },
},
},
},
Events =
{
{
Name = "FogOfWarUpdated",
Type = "Event",
LiteralName = "FOG_OF_WAR_UPDATED",
UniqueEvent = true,
},
},
Tables =
{
{
Name = "FogOfWarInfo",
Type = "Structure",
Fields =
{
{ Name = "fogOfWarID", Type = "number", Nilable = false },
{ Name = "backgroundAtlas", Type = "textureAtlas", Nilable = false },
{ Name = "maskAtlas", Type = "textureAtlas", Nilable = false },
{ Name = "maskScalar", Type = "number", Nilable = false },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(FogOfWar);