mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: fix defaults for Universalis
This commit is contained in:
parent
3496bd5fa3
commit
040a96e36b
3 changed files with 7 additions and 5 deletions
|
|
@ -298,7 +298,7 @@ namespace Dalamud.Configuration.Internal
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether or not market board data should be uploaded.
|
/// Gets or sets a value indicating whether or not market board data should be uploaded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool DoMbCollect { get; set; } = false;
|
public bool IsMbCollect { get; set; } = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load a configuration from the provided path.
|
/// Load a configuration from the provided path.
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ namespace Dalamud.Game.Network.Internal
|
||||||
|
|
||||||
if (direction == NetworkMessageDirection.ZoneUp)
|
if (direction == NetworkMessageDirection.ZoneUp)
|
||||||
{
|
{
|
||||||
if (configuration.DoMbCollect)
|
if (configuration.IsMbCollect)
|
||||||
{
|
{
|
||||||
if (opCode == dataManager.ClientOpCodes["MarketBoardPurchaseHandler"])
|
if (opCode == dataManager.ClientOpCodes["MarketBoardPurchaseHandler"])
|
||||||
{
|
{
|
||||||
|
|
@ -73,7 +73,7 @@ namespace Dalamud.Game.Network.Internal
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (configuration.DoMbCollect)
|
if (configuration.IsMbCollect)
|
||||||
{
|
{
|
||||||
if (opCode == dataManager.ServerOpCodes["MarketBoardItemRequestStart"])
|
if (opCode == dataManager.ServerOpCodes["MarketBoardItemRequestStart"])
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
|
|
||||||
this.doCfTaskBarFlash = configuration.DutyFinderTaskbarFlash;
|
this.doCfTaskBarFlash = configuration.DutyFinderTaskbarFlash;
|
||||||
this.doCfChatMessage = configuration.DutyFinderChatMessage;
|
this.doCfChatMessage = configuration.DutyFinderChatMessage;
|
||||||
this.doMbCollect = configuration.DoMbCollect;
|
this.doMbCollect = configuration.IsMbCollect;
|
||||||
|
|
||||||
this.globalUiScale = configuration.GlobalUiScale;
|
this.globalUiScale = configuration.GlobalUiScale;
|
||||||
this.fontGamma = configuration.FontGamma;
|
this.fontGamma = configuration.FontGamma;
|
||||||
|
|
@ -284,6 +284,8 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
ImGui.Checkbox(Loc.Localize("DalamudSettingsDisableRmtFiltering", "Disable RMT Filtering"), ref this.disableRmtFiltering);
|
ImGui.Checkbox(Loc.Localize("DalamudSettingsDisableRmtFiltering", "Disable RMT Filtering"), ref this.disableRmtFiltering);
|
||||||
ImGui.TextColored(ImGuiColors.DalamudGrey, Loc.Localize("DalamudSettingsDisableRmtFilteringMsgHint", "Disable dalamud's built-in RMT ad filtering."));
|
ImGui.TextColored(ImGuiColors.DalamudGrey, Loc.Localize("DalamudSettingsDisableRmtFilteringMsgHint", "Disable dalamud's built-in RMT ad filtering."));
|
||||||
|
|
||||||
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
|
|
||||||
ImGui.Checkbox(Loc.Localize("DalamudSettingDoMbCollect", "Anonymously upload market board data"), ref this.doMbCollect);
|
ImGui.Checkbox(Loc.Localize("DalamudSettingDoMbCollect", "Anonymously upload market board data"), ref this.doMbCollect);
|
||||||
ImGui.TextColored(ImGuiColors.DalamudGrey, Loc.Localize("DalamudSettingDoMbCollectHint", "Anonymously provide data about in-game economics to Universalis when browsing the market board. This data can't be tied to you in any way and everyone benefits!"));
|
ImGui.TextColored(ImGuiColors.DalamudGrey, Loc.Localize("DalamudSettingDoMbCollectHint", "Anonymously provide data about in-game economics to Universalis when browsing the market board. This data can't be tied to you in any way and everyone benefits!"));
|
||||||
}
|
}
|
||||||
|
|
@ -854,7 +856,7 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
|
|
||||||
configuration.DutyFinderTaskbarFlash = this.doCfTaskBarFlash;
|
configuration.DutyFinderTaskbarFlash = this.doCfTaskBarFlash;
|
||||||
configuration.DutyFinderChatMessage = this.doCfChatMessage;
|
configuration.DutyFinderChatMessage = this.doCfChatMessage;
|
||||||
configuration.DoMbCollect = this.doMbCollect;
|
configuration.IsMbCollect = this.doMbCollect;
|
||||||
|
|
||||||
configuration.GlobalUiScale = this.globalUiScale;
|
configuration.GlobalUiScale = this.globalUiScale;
|
||||||
configuration.ToggleUiHide = this.doToggleUiHide;
|
configuration.ToggleUiHide = this.doToggleUiHide;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue