Commit 484923d0 authored by TOM_RUS's avatar TOM_RUS

WOW-35167patch9.0.1_Beta

parent ba6cd7d2
......@@ -76,6 +76,10 @@ local AdventureJournal =
Name = "AjRefreshDisplay",
Type = "Event",
LiteralName = "AJ_REFRESH_DISPLAY",
Payload =
{
{ Name = "newAdventureNotice", Type = "bool", Nilable = false },
},
},
{
Name = "AjRewardDataReceived",
......
......@@ -6,6 +6,10 @@ local AnimaDiversionUI =
Functions =
{
{
Name = "CloseUI",
Type = "Function",
},
{
Name = "GetAnimaDiversionNodes",
Type = "Function",
......@@ -15,6 +19,15 @@ local AnimaDiversionUI =
{ Name = "animaNodes", Type = "table", InnerType = "AnimaDiversionNodeInfo", Nilable = false },
},
},
{
Name = "GetOriginPosition",
Type = "Function",
Returns =
{
{ Name = "normalizedPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = true },
},
},
{
Name = "GetReinforceProgress",
Type = "Function",
......
......@@ -66,6 +66,7 @@ ExpansionDocumentation.lua
FogOfWarDocumentation.lua
FriendListDocumentation.lua
GMTicketInfoDocumentation.lua
GamePadDocumentation.lua
GarrisonInfoDocumentation.lua
GlyphInfoDocumentation.lua
GossipInfoDocumentation.lua
......@@ -193,6 +194,7 @@ ItemConstantsDocumentation.lua
ItemLocationSharedDocumentation.lua
ItemSharedDocumentation.lua
LegendaryCraftingTypesDocumentation.lua
LevelConstantsDocumentation.lua
ModelSceneDocumentation.lua
NamePlateDocumentation.lua
PetScalingConstantsDocumentation.lua
......
......@@ -43,6 +43,36 @@ local CommentatorFrame =
{ Name = "teamsAreSwapped", Type = "bool", Nilable = false },
},
},
{
Name = "AssignPlayerToTeam",
Type = "Function",
Arguments =
{
{ Name = "playerName", Type = "string", Nilable = false },
{ Name = "teamName", Type = "string", Nilable = false },
},
},
{
Name = "AssignPlayersToTeam",
Type = "Function",
Arguments =
{
{ Name = "playerName", Type = "table", InnerType = "string", Nilable = false },
{ Name = "teamName", Type = "string", Nilable = false },
},
},
{
Name = "AssignPlayersToTeamInCurrentInstance",
Type = "Function",
Arguments =
{
{ Name = "teamIndex", Type = "number", Nilable = false },
{ Name = "teamName", Type = "string", Nilable = false },
},
},
{
Name = "CanUseCommentatorCheats",
Type = "Function",
......@@ -77,6 +107,54 @@ local CommentatorFrame =
Name = "ExitInstance",
Type = "Function",
},
{
Name = "FindSpectatedUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "playerIndex", Type = "number", Nilable = false },
{ Name = "teamIndex", Type = "number", Nilable = false },
{ Name = "isPet", Type = "bool", Nilable = false },
},
},
{
Name = "FindTeamNameInCurrentInstance",
Type = "Function",
Arguments =
{
{ Name = "teamIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "teamName", Type = "string", Nilable = true },
},
},
{
Name = "FindTeamNameInDirectory",
Type = "Function",
Arguments =
{
{ Name = "playerNames", Type = "table", InnerType = "string", Nilable = false },
},
Returns =
{
{ Name = "teamName", Type = "string", Nilable = true },
},
},
{
Name = "FlushCommentatorHistory",
Type = "Function",
},
{
Name = "FollowPlayer",
Type = "Function",
......@@ -117,7 +195,7 @@ local CommentatorFrame =
Arguments =
{
{ Name = "token", Type = "string", Nilable = false },
{ Name = "unitToken", Type = "string", Nilable = false },
},
Returns =
......@@ -169,6 +247,15 @@ local CommentatorFrame =
{ Name = "zPos", Type = "number", Nilable = false },
},
},
{
Name = "GetCommentatorHistory",
Type = "Function",
Returns =
{
{ Name = "history", Type = "CommentatorHistory", Nilable = false },
},
},
{
Name = "GetCurrentMapID",
Type = "Function",
......@@ -386,6 +473,21 @@ local CommentatorFrame =
{ Name = "numPlayers", Type = "number", Nilable = false },
},
},
{
Name = "GetOrCreateSeries",
Type = "Function",
Arguments =
{
{ Name = "teamName1", Type = "string", Nilable = false },
{ Name = "teamName2", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "data", Type = "CommentatorSeries", Nilable = false },
},
},
{
Name = "GetPlayerAuraInfo",
Type = "Function",
......@@ -404,6 +506,23 @@ local CommentatorFrame =
{ Name = "enable", Type = "bool", Nilable = false },
},
},
{
Name = "GetPlayerAuraInfoByUnit",
Type = "Function",
Arguments =
{
{ Name = "token", Type = "string", Nilable = false },
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "startTime", Type = "number", Nilable = false },
{ Name = "duration", Type = "number", Nilable = false },
{ Name = "enable", Type = "bool", Nilable = false },
},
},
{
Name = "GetPlayerCooldownInfo",
Type = "Function",
......@@ -422,6 +541,23 @@ local CommentatorFrame =
{ Name = "enable", Type = "bool", Nilable = false },
},
},
{
Name = "GetPlayerCooldownInfoByUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "startTime", Type = "number", Nilable = false },
{ Name = "duration", Type = "number", Nilable = false },
{ Name = "enable", Type = "bool", Nilable = false },
},
},
{
Name = "GetPlayerCrowdControlInfo",
Type = "Function",
......@@ -456,7 +592,7 @@ local CommentatorFrame =
},
},
{
Name = "GetPlayerFlagInfo",
Name = "GetPlayerData",
Type = "Function",
Arguments =
......@@ -467,11 +603,11 @@ local CommentatorFrame =
Returns =
{
{ Name = "hasFlag", Type = "bool", Nilable = false },
{ Name = "info", Type = "CommentatorPlayerData", Nilable = true },
},
},
{
Name = "GetPlayerInfo",
Name = "GetPlayerFlagInfo",
Type = "Function",
Arguments =
......@@ -481,17 +617,22 @@ local CommentatorFrame =
},
Returns =
{
{ Name = "hasFlag", Type = "bool", Nilable = false },
},
},
{
Name = "GetPlayerFlagInfoByUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "faction", Type = "number", Nilable = false },
{ Name = "specialization", Type = "number", Nilable = false },
{ Name = "damageDone", Type = "number", Nilable = false },
{ Name = "damageTaken", Type = "number", Nilable = false },
{ Name = "healingDone", Type = "number", Nilable = false },
{ Name = "healingTaken", Type = "number", Nilable = false },
{ Name = "kills", Type = "number", Nilable = false },
{ Name = "deaths", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "hasFlag", Type = "bool", Nilable = false },
},
},
{
......@@ -527,6 +668,24 @@ local CommentatorFrame =
{ Name = "duration", Type = "number", Nilable = false },
},
},
{
Name = "GetPlayerSpellChargesByUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "charges", Type = "number", Nilable = false },
{ Name = "maxCharges", Type = "number", Nilable = false },
{ Name = "startTime", Type = "number", Nilable = false },
{ Name = "duration", Type = "number", Nilable = false },
},
},
{
Name = "GetPositionLerpAmount",
Type = "Function",
......@@ -578,7 +737,7 @@ local CommentatorFrame =
},
},
{
Name = "GetTeamHighlightColor",
Name = "GetTeamColor",
Type = "Function",
Arguments =
......@@ -588,10 +747,21 @@ local CommentatorFrame =
Returns =
{
{ Name = "highlightColorR", Type = "number", Nilable = false },
{ Name = "highlightColorG", Type = "number", Nilable = false },
{ Name = "highlightColorB", Type = "number", Nilable = false },
{ Name = "highlightColorA", Type = "number", Nilable = false },
{ Name = "color", Type = "table", Mixin = "ColorMixin", Nilable = false },
},
},
{
Name = "GetTeamColorByUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "color", Type = "table", Mixin = "ColorMixin", Nilable = false },
},
},
{
......@@ -633,6 +803,35 @@ local CommentatorFrame =
{ Name = "spells", Type = "table", InnerType = "number", Nilable = true },
},
},
{
Name = "GetTrackedSpellsByUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
{ Name = "category", Type = "TrackedSpellCategory", Nilable = false },
},
Returns =
{
{ Name = "spells", Type = "table", InnerType = "number", Nilable = true },
},
},
{
Name = "GetUnitData",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "data", Type = "CommentatorUnitData", Nilable = false },
},
},
{
Name = "GetWargameInfo",
Type = "Function",
......@@ -728,6 +927,22 @@ local CommentatorFrame =
{ Name = "isTracked", Type = "bool", Nilable = false },
},
},
{
Name = "IsTrackedSpellByUnit",
Type = "Function",
Arguments =
{
{ Name = "unitToken", Type = "string", Nilable = false },
{ Name = "spellID", Type = "number", Nilable = false },
{ Name = "category", Type = "TrackedSpellCategory", Nilable = false },
},
Returns =
{
{ Name = "isTracked", Type = "bool", Nilable = false },
},
},
{
Name = "IsUsingSmartCamera",
Type = "Function",
......@@ -775,6 +990,20 @@ local CommentatorFrame =
Name = "ResetFoVTarget",
Type = "Function",
},
{
Name = "ResetSeriesScores",
Type = "Function",
Arguments =
{
{ Name = "teamName1", Type = "string", Nilable = false },
{ Name = "teamName2", Type = "string", Nilable = false },
},
},
{
Name = "ResetSettings",
Type = "Function",
},
{
Name = "ResetTrackedAuras",
Type = "Function",
......@@ -796,7 +1025,7 @@ local CommentatorFrame =
Arguments =
{
{ Name = "token", Type = "string", Nilable = false },
{ Name = "unitToken", Type = "string", Nilable = false },
{ Name = "weight", Type = "number", Nilable = false },
},
},
......@@ -864,6 +1093,15 @@ local CommentatorFrame =
{ Name = "enableCheats", Type = "bool", Nilable = false },
},
},
{
Name = "SetCommentatorHistory",
Type = "Function",
Arguments =
{
{ Name = "history", Type = "CommentatorHistory", Nilable = false },
},
},
{
Name = "SetDistanceBeforeForcedHorizontalConvergence",
Type = "Function",
......@@ -1031,6 +1269,30 @@ local CommentatorFrame =
{ Name = "spellIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "SetSeriesScore",
Type = "Function",
Arguments =
{
{ Name = "teamName1", Type = "string", Nilable = false },
{ Name = "teamName2", Type = "string", Nilable = false },
{ Name = "scoringTeamName", Type = "string", Nilable = false },
{ Name = "score", Type = "number", Nilable = false },
},
},
{
Name = "SetSeriesScores",
Type = "Function",
Arguments =
{
{ Name = "teamName1", Type = "string", Nilable = false },
{ Name = "teamName2", Type = "string", Nilable = false },
{ Name = "score1", Type = "number", Nilable = false },
{ Name = "score2", Type = "number", Nilable = false },
},
},
{
Name = "SetSmartCameraLocked",
Type = "Function",
......@@ -1140,6 +1402,11 @@ local CommentatorFrame =
Type = "Event",
LiteralName = "COMMENTATOR_ENTER_WORLD",
},
{
Name = "CommentatorHistoryFlushed",
Type = "Event",
LiteralName = "COMMENTATOR_HISTORY_FLUSHED",
},
{
Name = "CommentatorImmediateFovUpdate",
Type = "Event",
......@@ -1169,6 +1436,29 @@ local CommentatorFrame =
Type = "Event",
LiteralName = "COMMENTATOR_PLAYER_UPDATE",
},
{
Name = "CommentatorResetSettings",
Type = "Event",
LiteralName = "COMMENTATOR_RESET_SETTINGS",
},
{
Name = "CommentatorTeamNameUpdate",
Type = "Event",
LiteralName = "COMMENTATOR_TEAM_NAME_UPDATE",
Payload =
{
{ Name = "teamName", Type = "string", Nilable = false },
},
},
{
Name = "CommentatorTeamsSwapped",
Type = "Event",
LiteralName = "COMMENTATOR_TEAMS_SWAPPED",
Payload =
{
{ Name = "swapped", Type = "bool", Nilable = false },
},
},
},
Tables =
......@@ -1187,6 +1477,83 @@ local CommentatorFrame =
{ Name = "Count", Type = "TrackedSpellCategory", EnumValue = 3 },
},
},
{
Name = "CommentatorHistory",
Type = "Structure",
Fields =
{
{ Name = "series", Type = "table", InnerType = "CommentatorSeries", Nilable = false },
{ Name = "teamDirectory", Type = "table", InnerType = "CommentatorTeamDirectoryEntry", Nilable = false },
{ Name = "overrideNameDirectory", Type = "table", InnerType = "CommentatorOverrideNameEntry", Nilable = false },
},
},
{
Name = "CommentatorOverrideNameEntry",
Type = "Structure",
Fields =
{
{ Name = "originalName", Type = "string", Nilable = false },
{ Name = "newName", Type = "string", Nilable = false },
},
},