Whitespace formatting, move Integrations folder

This commit is contained in:
pizzaboxer 2023-03-08 21:25:40 +00:00
parent 92c420d888
commit cc22ee1591
4 changed files with 44 additions and 41 deletions

View File

@ -14,9 +14,9 @@ using Microsoft.Win32;
using Bloxstrap.Dialogs; using Bloxstrap.Dialogs;
using Bloxstrap.Helpers; using Bloxstrap.Helpers;
using Bloxstrap.Helpers.Integrations;
using Bloxstrap.Helpers.RSMM; using Bloxstrap.Helpers.RSMM;
using Bloxstrap.Models; using Bloxstrap.Models;
using Bloxstrap.Integrations;
namespace Bloxstrap namespace Bloxstrap
{ {

View File

@ -6,12 +6,13 @@ using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Bloxstrap.Helpers;
using Bloxstrap.Models; using Bloxstrap.Models;
using DiscordRPC; using DiscordRPC;
namespace Bloxstrap.Helpers.Integrations namespace Bloxstrap.Integrations
{ {
class DiscordRichPresence : IDisposable class DiscordRichPresence : IDisposable
{ {
@ -75,7 +76,7 @@ namespace Bloxstrap.Helpers.Integrations
return; return;
_activityInGame = false; _activityInGame = false;
_activityPlaceId = Int64.Parse(match.Groups[2].Value); _activityPlaceId = long.Parse(match.Groups[2].Value);
_activityJobId = match.Groups[1].Value; _activityJobId = match.Groups[1].Value;
_activityMachineAddress = match.Groups[3].Value; _activityMachineAddress = match.Groups[3].Value;
@ -160,7 +161,7 @@ namespace Bloxstrap.Helpers.Integrations
{ {
string? log = await sr.ReadLineAsync(); string? log = await sr.ReadLineAsync();
if (String.IsNullOrEmpty(log)) if (string.IsNullOrEmpty(log))
logUpdatedEvent.WaitOne(1000); logUpdatedEvent.WaitOne(1000);
else else
await ExamineLogEntry(log); await ExamineLogEntry(log);

View File

@ -3,10 +3,11 @@ using System.Diagnostics;
using System.IO; using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Threading.Tasks; using System.Threading.Tasks;
using Bloxstrap.Helpers;
using Bloxstrap.Models; using Bloxstrap.Models;
namespace Bloxstrap.Helpers.Integrations namespace Bloxstrap.Integrations
{ {
internal class RbxFpsUnlocker internal class RbxFpsUnlocker
{ {

View File

@ -7,13 +7,14 @@ using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Bloxstrap.Helpers;
using Bloxstrap.Models; using Bloxstrap.Models;
using IniParser; using IniParser;
using IniParser.Model; using IniParser.Model;
namespace Bloxstrap.Helpers.Integrations namespace Bloxstrap.Integrations
{ {
internal class ReShade internal class ReShade
{ {
@ -378,7 +379,7 @@ namespace Bloxstrap.Helpers.Integrations
string injectorLocation = Path.Combine(Directories.Modifications, "dxgi.dll"); string injectorLocation = Path.Combine(Directories.Modifications, "dxgi.dll");
if (!App.Settings.Prop.UseReShadeExtraviPresets && !String.IsNullOrEmpty(App.State.Prop.ExtraviReShadePresetsVersion)) if (!App.Settings.Prop.UseReShadeExtraviPresets && !string.IsNullOrEmpty(App.State.Prop.ExtraviReShadePresetsVersion))
{ {
if (Utilities.GetProcessCount("RobloxPlayerBeta") > 0) if (Utilities.GetProcessCount("RobloxPlayerBeta") > 0)
return; return;
@ -398,7 +399,7 @@ namespace Bloxstrap.Helpers.Integrations
// we should already be uninstalled // we should already be uninstalled
// we want to ensure this is done one-time only as this could possibly interfere with other rendering hooks using dxgi.dll // we want to ensure this is done one-time only as this could possibly interfere with other rendering hooks using dxgi.dll
if (String.IsNullOrEmpty(App.State.Prop.ReShadeConfigVersion)) if (string.IsNullOrEmpty(App.State.Prop.ReShadeConfigVersion))
return; return;
App.Logger.WriteLine("[ReShade::CheckModifications] Uninstalling ReShade..."); App.Logger.WriteLine("[ReShade::CheckModifications] Uninstalling ReShade...");