Send InvalidOrUnloadableProfile to launcher

This commit is contained in:
Archangel
2025-09-18 19:56:26 +02:00
parent 10566f2fc4
commit 5fc7761b4c
2 changed files with 5 additions and 0 deletions
@@ -68,6 +68,7 @@ public class ProfileController(
MaxLevel = maxLvl,
Edition = profile.ProfileInfo?.Edition ?? string.Empty,
ProfileId = profile.ProfileInfo?.ProfileId ?? string.Empty,
InvalidOrUnloadableProfile = profile.ProfileInfo?.InvalidOrUnloadableProfile,
SptData = profileHelper.GetDefaultSptDataObject(),
};
}
@@ -85,6 +86,7 @@ public class ProfileController(
MaxLevel = maxLvl,
Edition = profile.ProfileInfo?.Edition ?? string.Empty,
ProfileId = profile.ProfileInfo?.ProfileId ?? string.Empty,
InvalidOrUnloadableProfile = profile.ProfileInfo?.InvalidOrUnloadableProfile,
SptData = profile.SptData,
};
}
@@ -34,6 +34,9 @@ public record MiniProfile
[JsonPropertyName("profileId")]
public string? ProfileId { get; set; }
[JsonPropertyName("invalidOrUnloadableProfile")]
public bool? InvalidOrUnloadableProfile { get; set; }
[JsonPropertyName("sptData")]
public Profile.Spt? SptData { get; set; }