Apply enforced file scoped namespacing
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user