mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Move opt-out MB collection to start info
This commit is contained in:
parent
64e78a297d
commit
ce36bdcccb
4 changed files with 5 additions and 4 deletions
|
|
@ -180,7 +180,8 @@ namespace Dalamud.Injector {
|
|||
$"PluginDirectory: {startInfo.PluginDirectory}\n" +
|
||||
$"DefaultPluginDirectory: {startInfo.DefaultPluginDirectory}\n" +
|
||||
$"Language: {startInfo.Language}\n" +
|
||||
$"GameVersion: {startInfo.GameVersion}");
|
||||
$"GameVersion: {startInfo.GameVersion}\n" +
|
||||
$"OptOutMbCollection: {startInfo.OptOutMbCollection}");
|
||||
|
||||
return startInfo;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ namespace Dalamud
|
|||
[Serializable]
|
||||
internal class DalamudConfiguration
|
||||
{
|
||||
public bool OptOutMbCollection { get; set; } = false;
|
||||
|
||||
public List<string> BadWords { get; set; }
|
||||
|
||||
public bool DutyFinderTaskbarFlash { get; set; } = true;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ namespace Dalamud {
|
|||
|
||||
this.WinSock2 = new WinSockHandlers();
|
||||
|
||||
NetworkHandlers = new NetworkHandlers(this, this.Configuration.OptOutMbCollection);
|
||||
NetworkHandlers = new NetworkHandlers(this, info.OptOutMbCollection);
|
||||
|
||||
this.ClientState = new ClientState(this, info, this.SigScanner);
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ namespace Dalamud {
|
|||
public ClientLanguage Language;
|
||||
|
||||
public string GameVersion;
|
||||
|
||||
public bool OptOutMbCollection;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue