Apply enforced file scoped namespacing

This commit is contained in:
Archangel
2025-07-31 15:23:32 +02:00
parent aec8420d53
commit cec47fefd2
39 changed files with 2466 additions and 2513 deletions
@@ -2,32 +2,31 @@ using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Eft.Match;
using SPTarkov.Server.Core.Models.Spt.Location;
namespace SPTarkov.Server.Core.Models.Spt.Services
namespace SPTarkov.Server.Core.Models.Spt.Services;
public class ProfileActivityData
{
public class ProfileActivityData
{
public long ClientStartedTimestamp { get; set; }
public long LastActive { get; set; }
public ProfileActivityRaidData? RaidData { get; set; } = null;
public IReadOnlyList<ProfileActiveClientMods> ActiveClientMods { get; set; } = [];
}
public class ProfileActivityRaidData
{
public GetRaidConfigurationRequestData? RaidConfiguration { get; set; } = null;
public RaidChanges? RaidAdjustments { get; set; } = null;
public LocationTransit? LocationTransit { get; set; } = null;
}
public record ProfileActiveClientMods
{
[JsonPropertyName("modName")]
public required string Name { get; init; }
[JsonPropertyName("modGUID")]
public required string GUID { get; init; }
[JsonPropertyName("modVersion")]
public required Version Version { get; init; }
}
public long ClientStartedTimestamp { get; set; }
public long LastActive { get; set; }
public ProfileActivityRaidData? RaidData { get; set; } = null;
public IReadOnlyList<ProfileActiveClientMods> ActiveClientMods { get; set; } = [];
}
public class ProfileActivityRaidData
{
public GetRaidConfigurationRequestData? RaidConfiguration { get; set; } = null;
public RaidChanges? RaidAdjustments { get; set; } = null;
public LocationTransit? LocationTransit { get; set; } = null;
}
public record ProfileActiveClientMods
{
[JsonPropertyName("modName")]
public required string Name { get; init; }
[JsonPropertyName("modGUID")]
public required string GUID { get; init; }
[JsonPropertyName("modVersion")]
public required Version Version { get; init; }
}