From 26a29300966c10a75f300cc9e5344ec21396728b Mon Sep 17 00:00:00 2001 From: Ryan Cloherty Date: Mon, 6 Sep 2021 13:24:06 -0400 Subject: [PATCH] Move GameMode into a new enums namespace (#68) --- titanfall2-rp/GameDetailsProvider.cs | 1 + titanfall2-rp/Titanfall2API.cs | 1 + titanfall2-rp/{ => enums}/GameMode.cs | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) rename titanfall2-rp/{ => enums}/GameMode.cs (99%) diff --git a/titanfall2-rp/GameDetailsProvider.cs b/titanfall2-rp/GameDetailsProvider.cs index f8e020c..d6922e6 100644 --- a/titanfall2-rp/GameDetailsProvider.cs +++ b/titanfall2-rp/GameDetailsProvider.cs @@ -3,6 +3,7 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using DiscordRPC; +using titanfall2_rp.enums; namespace titanfall2_rp { diff --git a/titanfall2-rp/Titanfall2API.cs b/titanfall2-rp/Titanfall2API.cs index 41bd203..6d0f7bb 100644 --- a/titanfall2-rp/Titanfall2API.cs +++ b/titanfall2-rp/Titanfall2API.cs @@ -2,6 +2,7 @@ using System.Text; using System.Text.RegularExpressions; using Process.NET; +using titanfall2_rp.enums; using static titanfall2_rp.ProcessApi; namespace titanfall2_rp diff --git a/titanfall2-rp/GameMode.cs b/titanfall2-rp/enums/GameMode.cs similarity index 99% rename from titanfall2-rp/GameMode.cs rename to titanfall2-rp/enums/GameMode.cs index 8302b6f..cea939f 100644 --- a/titanfall2-rp/GameMode.cs +++ b/titanfall2-rp/enums/GameMode.cs @@ -1,6 +1,7 @@ using System; using System.Diagnostics.CodeAnalysis; -namespace titanfall2_rp + +namespace titanfall2_rp.enums { /// /// Per englishclient_frontend.bsp.pak000_dir.vpk/scripts/vscripts/sh_consts.gnut