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