Send InvalidOrUnloadableProfile to launcher
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user