diff --git a/DragonFruit.Six.API/Data/Deserializers/StatsDeserializer.cs b/DragonFruit.Six.API/Data/Deserializers/GeneralStatsDeserializer.cs
similarity index 96%
rename from DragonFruit.Six.API/Data/Deserializers/StatsDeserializer.cs
rename to DragonFruit.Six.API/Data/Deserializers/GeneralStatsDeserializer.cs
index a11458ac..34b1c4cf 100644
--- a/DragonFruit.Six.API/Data/Deserializers/StatsDeserializer.cs
+++ b/DragonFruit.Six.API/Data/Deserializers/GeneralStatsDeserializer.cs
@@ -9,9 +9,9 @@
namespace DragonFruit.Six.API.Data.Deserializers
{
- public static class StatsDeserializer
+ public static class GeneralStatsDeserializer
{
- public static Stats DeserializeStatsFor(this JObject jObject, string guid)
+ public static GeneralStats DeserializeGeneralStatsFor(this JObject jObject, string guid)
{
// try to get the user but if there is nothing return null
var json = jObject[Misc.Results]?[guid] as JObject;
@@ -19,7 +19,7 @@ public static Stats DeserializeStatsFor(this JObject jObject, string guid)
if (json == null)
return null;
- var result = new Stats
+ var result = new GeneralStats
{
Guid = guid,
diff --git a/DragonFruit.Six.API/Data/Extensions/StatsExtentions.cs b/DragonFruit.Six.API/Data/Extensions/StatsExtentions.cs
index a55e777a..d4ef702d 100644
--- a/DragonFruit.Six.API/Data/Extensions/StatsExtentions.cs
+++ b/DragonFruit.Six.API/Data/Extensions/StatsExtentions.cs
@@ -13,15 +13,15 @@ namespace DragonFruit.Six.API.Data.Extensions
public static class StatsExtentions
{
///
- /// Get the (non-seasonal) for an
+ /// Get the (non-seasonal) for an
///
- public static Stats GetStats(this T client, AccountInfo account, CancellationToken token = default) where T : Dragon6Client
+ public static GeneralStats GetStats(this T client, AccountInfo account, CancellationToken token = default) where T : Dragon6Client
=> GetStats(client, new[] { account }, token).First();
///
- /// Get the (non-seasonal) for an array of s
+ /// Get the (non-seasonal) for an array of s
///
- public static IEnumerable GetStats(this T client, IEnumerable accounts, CancellationToken token = default) where T : Dragon6Client
+ public static IEnumerable GetStats(this T client, IEnumerable accounts, CancellationToken token = default) where T : Dragon6Client
{
var filteredGroups = accounts.GroupBy(x => x.Platform);
@@ -32,7 +32,7 @@ public static IEnumerable GetStats(this T client, IEnumerable
/// Profile Id
diff --git a/DragonFruit.Six.API/Data/Requests/Base/StatsRequestBase.cs b/DragonFruit.Six.API/Data/Requests/Base/BasicStatsRequest.cs
similarity index 75%
rename from DragonFruit.Six.API/Data/Requests/Base/StatsRequestBase.cs
rename to DragonFruit.Six.API/Data/Requests/Base/BasicStatsRequest.cs
index 923feb41..74da0e17 100644
--- a/DragonFruit.Six.API/Data/Requests/Base/StatsRequestBase.cs
+++ b/DragonFruit.Six.API/Data/Requests/Base/BasicStatsRequest.cs
@@ -10,22 +10,22 @@ namespace DragonFruit.Six.API.Data.Requests.Base
///
/// Base for requesting general stats from the main endpoint
///
- public class StatsRequestBase : PlatformSpecificRequest
+ public class BasicStatsRequest : PlatformSpecificRequest
{
public override string Path => Platform.StatsEndpoint();
///
- /// Initialises a for a single
+ /// Initialises a for a single
///
- public StatsRequestBase(AccountInfo account)
+ public BasicStatsRequest(AccountInfo account)
: base(new[] { account })
{
}
///
- /// Initialises a for an array of s
+ /// Initialises a for an array of s
///
- public StatsRequestBase(IEnumerable accounts)
+ public BasicStatsRequest(IEnumerable accounts)
: base(accounts)
{
}
diff --git a/DragonFruit.Six.API/Data/Requests/OperatorStatsRequest.cs b/DragonFruit.Six.API/Data/Requests/OperatorStatsRequest.cs
index 4f38b39a..7f123bbd 100644
--- a/DragonFruit.Six.API/Data/Requests/OperatorStatsRequest.cs
+++ b/DragonFruit.Six.API/Data/Requests/OperatorStatsRequest.cs
@@ -8,7 +8,7 @@
namespace DragonFruit.Six.API.Data.Requests
{
- public sealed class OperatorStatsRequest : StatsRequestBase
+ public sealed class OperatorStatsRequest : BasicStatsRequest
{
public OperatorStatsRequest(AccountInfo account, IEnumerable operators)
: this(new[] { account }, operators)
diff --git a/DragonFruit.Six.API/Data/Requests/StatsRequest.cs b/DragonFruit.Six.API/Data/Requests/StatsRequest.cs
index 75c8cbd8..5a4dce6b 100644
--- a/DragonFruit.Six.API/Data/Requests/StatsRequest.cs
+++ b/DragonFruit.Six.API/Data/Requests/StatsRequest.cs
@@ -7,7 +7,7 @@
namespace DragonFruit.Six.API.Data.Requests
{
- public sealed class StatsRequest : StatsRequestBase
+ public sealed class StatsRequest : BasicStatsRequest
{
///
/// Initialises a request for all the stats in for the provided
diff --git a/DragonFruit.Six.API/Data/Requests/WeaponStatsRequest.cs b/DragonFruit.Six.API/Data/Requests/WeaponStatsRequest.cs
index c69e10b1..df5bb1f0 100644
--- a/DragonFruit.Six.API/Data/Requests/WeaponStatsRequest.cs
+++ b/DragonFruit.Six.API/Data/Requests/WeaponStatsRequest.cs
@@ -7,7 +7,7 @@
namespace DragonFruit.Six.API.Data.Requests
{
- public sealed class WeaponStatsRequest : StatsRequestBase
+ public sealed class WeaponStatsRequest : BasicStatsRequest
{
public WeaponStatsRequest(AccountInfo account)
: base(account)