Move opt-out MB collection to start info

This commit is contained in:
Aireil 2021-01-03 04:13:45 +01:00
parent 64e78a297d
commit ce36bdcccb
4 changed files with 5 additions and 4 deletions

View file

@ -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;
}

View file

@ -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;

View file

@ -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);

View file

@ -13,6 +13,8 @@ namespace Dalamud {
public ClientLanguage Language;
public string GameVersion;
public bool OptOutMbCollection;
}
/// <summary>