Skip to content

Commit

Permalink
11.0.7 (57528)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 13, 2024
1 parent 94d3470 commit e0d078d
Show file tree
Hide file tree
Showing 46 changed files with 501 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ local AccountConstants =
{
Name = "AccountTransType",
Type = "Enumeration",
NumValues = 55,
NumValues = 59,
MinValue = 0,
MaxValue = 54,
MaxValue = 58,
Fields =
{
{ Name = "ProxyForwarder", Type = "AccountTransType", EnumValue = 0 },
Expand Down Expand Up @@ -130,6 +130,10 @@ local AccountConstants =
{ Name = "PlayerDataElements", Type = "AccountTransType", EnumValue = 52 },
{ Name = "CharacterDataMerge", Type = "AccountTransType", EnumValue = 53 },
{ Name = "AccountStore", Type = "AccountTransType", EnumValue = 54 },
{ Name = "WarbandGroups", Type = "AccountTransType", EnumValue = 55 },
{ Name = "Mapping", Type = "AccountTransType", EnumValue = 56 },
{ Name = "CharacterItems", Type = "AccountTransType", EnumValue = 57 },
{ Name = "CurrencyTransferLog", Type = "AccountTransType", EnumValue = 58 },
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ GMTicketInfoDocumentation.lua
GameCursorDocumentation.lua
GameEnvironmentManagerDocumentation.lua
GameErrorDocumentation.lua
GameModeManagerDocumentation.lua
GamePadDocumentation.lua
GameRulesDocumentation.lua
GameUIDocumentation.lua
Expand Down Expand Up @@ -364,6 +363,7 @@ GamePadConstDocumentation.lua
GameRulesConstantsDocumentation.lua
GarrisonConstantsDocumentation.lua
GossipConstantsDocumentation.lua
GroupFinderConstantsDocumentation.lua
GuildInfoSharedDocumentation.lua
InputConstantsDocumentation.lua
ItemConstantsDocumentation.lua
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,27 @@ local GameRulesConstants =
{
Name = "GameRuleFlags",
Type = "Enumeration",
NumValues = 2,
NumValues = 3,
MinValue = 0,
MaxValue = 1,
MaxValue = 2,
Fields =
{
{ Name = "None", Type = "GameRuleFlags", EnumValue = 0 },
{ Name = "AllowClient", Type = "GameRuleFlags", EnumValue = 1 },
{ Name = "RequiresDefault", Type = "GameRuleFlags", EnumValue = 2 },
},
},
{
Name = "GameRuleType",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "Int", Type = "GameRuleType", EnumValue = 0 },
{ Name = "Float", Type = "GameRuleType", EnumValue = 1 },
{ Name = "Bool", Type = "GameRuleType", EnumValue = 2 },
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,20 @@ local GarrisonInfo =
{ Name = "followerOnCompletedMission", Type = "bool", Nilable = false },
},
},
{
Name = "IsLandingPageMinimapButtonVisible",
Type = "Function",

Arguments =
{
{ Name = "garrType", Type = "number", Nilable = false },
},

Returns =
{
{ Name = "isLandingPageMinimapButtonVisible", Type = "bool", Nilable = false },
},
},
{
Name = "IsTalentConditionMet",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
local GroupFinderConstants =
{
Tables =
{
},
};

APIDocumentation:AddDocumentationTable(GroupFinderConstants);
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,20 @@ local Minimap =
{ Name = "isFiltered", Type = "bool", Nilable = false },
},
},
{
Name = "IsInsideQuestBlob",
Type = "Function",

Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},

Returns =
{
{ Name = "isInside", Type = "bool", Nilable = false },
},
},
{
Name = "IsRotateMinimapIgnored",
Type = "Function",
Expand Down Expand Up @@ -267,6 +281,16 @@ local Minimap =
Type = "Event",
LiteralName = "MINIMAP_UPDATE_ZOOM",
},
{
Name = "PlayerInsideQuestBlobStateChanged",
Type = "Event",
LiteralName = "PLAYER_INSIDE_QUEST_BLOB_STATE_CHANGED",
Payload =
{
{ Name = "questID", Type = "number", Nilable = false },
{ Name = "isInside", Type = "bool", Nilable = false },
},
},
},

Tables =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ function AccountStoreMixin:OnLoad()
end

function AccountStoreMixin:OnShow()
PlaySound(SOUNDKIT.ACCOUNT_STORE_OPEN);
EventRegistry:TriggerEvent("AccountStore.ShownState", true);
end

function AccountStoreMixin:OnHide()
PlaySound(SOUNDKIT.ACCOUNT_STORE_CLOSE);
EventRegistry:TriggerEvent("AccountStore.ShownState", false);

if self.inFullscreenMode then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</Layers>
</Frame>

<Frame name="AccountStoreFrame" mixin="AccountStoreMixin" frameStrata="HIGH" parent="UIParent" inherits="PortraitFrameTemplate, PingReceiverAttributeTemplate" enableMouse="true" hidden="true">
<Frame name="AccountStoreFrame" mixin="AccountStoreMixin" frameStrata="HIGH" parent="UIParent" inherits="PortraitFrameTemplate, PingReceiverAttributeTemplate" enableMouse="true" hidden="true" toplevel="true">
<Size x="800" y="537" />
<Anchors>
<Anchor point="LEFT" x="50" y="0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ function AccountStoreBaseCardMixin:OnHide()
end

function AccountStoreBaseCardMixin:OnEnter()
if not self.hoverSoundPlayed then
self.hoverSoundPlayed = true;
PlaySound(SOUNDKIT.ACCOUNT_STORE_ITEM_HOVER);
end

local itemInfo = self.itemInfo;
local description = itemInfo.description;
if not description then
Expand All @@ -79,6 +84,10 @@ function AccountStoreBaseCardMixin:OnEnter()
end

function AccountStoreBaseCardMixin:OnLeave()
if not self:IsMouseOver() and not self.ModelScene:IsMouseOver() then
self.hoverSoundPlayed = false;
end

GetAppropriateTooltip():Hide();
end

Expand Down Expand Up @@ -147,6 +156,8 @@ function AccountStoreBaseCardMixin:SetItemID(itemID)
end

function AccountStoreBaseCardMixin:SelectCard()
PlaySound(SOUNDKIT.ACCOUNT_STORE_ITEM_SELECT);

local itemInfo = self.itemInfo;
local isRefundable = itemInfo.status == Enum.AccountStoreItemStatus.Refundable;
local confirmationFormat = isRefundable and ACCOUNT_STORE_REFUND_CONFIRMATION_FORMAT or PLUNDERSTORE_PURCHASE_CONFIRMATION_FORMAT;
Expand All @@ -156,6 +167,7 @@ function AccountStoreBaseCardMixin:SelectCard()
StaticPopup_Hide("GENERIC_CONFIRMATION");

StaticPopup_ShowGenericConfirmation(confirmation, function ()
PlaySound(SOUNDKIT.ACCOUNT_STORE_ITEM_PURCHASE);
if isRefundable then
C_AccountStore.RefundItem(itemInfo.id);
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ function AccountStoreItemDisplayMixin:OnLoad()
self.categoryTypeToItemRack = {};
self.currentPage = 1;

self.Footer.PrevPageButton:SetScript("OnClick", function() self:SetPage(self.currentPage - 1); end);
self.Footer.NextPageButton:SetScript("OnClick", function() self:SetPage(self.currentPage + 1); end);
self.Footer.PrevPageButton:SetScript("OnClick", function()
PlaySound(SOUNDKIT.ACCOUNT_STORE_PAGE_NAVIGATION);
self:SetPage(self.currentPage - 1);
end);

self.Footer.NextPageButton:SetScript("OnClick", function()
PlaySound(SOUNDKIT.ACCOUNT_STORE_PAGE_NAVIGATION);
self:SetPage(self.currentPage + 1);
end);

self.Footer.CurrencyAvailable:SetScript("OnEnter", function(onEnterSelf)
local tooltip = GetAppropriateTooltip();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MICRO_BUTTONS = {
"TalentMicroButton",
"AchievementMicroButton",
"QuestLogMicroButton",
"SocialsMicroButton",
"GuildMicroButton",
"EJMicroButton",
"CollectionsMicroButton",
Expand Down Expand Up @@ -63,6 +64,10 @@ function UpdateMicroButtons()
QuestLogMicroButton:SetButtonState("NORMAL");
end

SocialsMicroButton:UpdateMicroButton();

GuildMicroButton:UpdateMicroButton();

if ( EncounterJournal and EncounterJournal:IsShown() ) then
EJMicroButton:SetButtonState("PUSHED", 1);
else
Expand Down Expand Up @@ -129,8 +134,6 @@ function UpdateMicroButtons()
AchievementMicroButton:Disable();
end
end

GuildMicroButton:UpdateMicroButton();
end

function AchievementMicroButton_OnLoad()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,25 @@
</OnClick>
</Scripts>
</Button>
<Button name="GuildMicroButton" inherits="MainMenuBarMicroButton" mixin="GuildMicroButtonMixin">
<Button name="SocialsMicroButton" inherits="MainMenuBarMicroButton" mixin="SocialsMicroButtonMixin">
<!-- Note: SocialMicroButton and GuildMicroButton occupy the same space. Only one will be visible at a time. -->
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="QuestLogMicroButton" relativePoint="BOTTOMRIGHT" x="-3" y="0"/>
</Anchors>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEvent method="OnEvent"/>
<OnShow function="MicroButton_KioskModeDisable" inherit="append"/>
<OnClick method="OnClick" inherit="append"/>
</Scripts>
</Button>
<Button name="GuildMicroButton" inherits="MainMenuBarMicroButton" mixin="GuildMicroButtonMixin" hidden="true">
<!-- Note: SocialMicroButton and GuildMicroButton occupy the same space. Only one will be visible at a time. -->
<KeyValues>
<KeyValue key="commandName" value="TOGGLEGUILDTAB" type="string"/>
</KeyValues>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="QuestLogMicroButton" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-3" y="0"/>
</Offset>
</Anchor>
<Anchor point="CENTER" relativeTo="SocialsMicroButton" relativePoint="CENTER"/>
</Anchors>
<Frames>
<Frame parentKey="NotificationOverlay" frameLevel="100" setAllPoints="true" hidden="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ if C_GameModeManager.GetCurrentGameMode() == Enum.GameMode.Plunderstorm then
end

function ActionBarActionButtonDerivedMixin:SetSwappableState(swappable)
if not WOWLABS_ACTIONBUTTON_MAP[self.action] then
return;
end

self:SetNormalAtlas(swappable and "plunderstorm-actionbar-slot-border-swappable" or "plunderstorm-actionbar-slot-border");
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,7 @@ function LFDMicroButtonMixin:UpdateMicroButton()
else
self:Enable();
self:SetNormal();
EventRegistry:TriggerEvent("PlunderstormQueueTutorial.Update");
end
end
end
Expand Down
Loading

0 comments on commit e0d078d

Please sign in to comment.