Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSBU Rich Presence - Stage Editing #707

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Ryujinx/Utilities/PlayReport/PlayReports.Formatters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ private static FormattedValue SuperSmashBrosUltimate_Mode(SparseMultiValue value
return $"Achievement Unlocked - ID: {anniversary}";
}

if (values.Matched.ContainsKey("is_created"))
{
return "Edited a Custom Stage!";
}

if (values.Matched.ContainsKey("adv_slot"))
{
return
Expand Down
2 changes: 1 addition & 1 deletion src/Ryujinx/Utilities/PlayReport/PlayReports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void Initialize()
[
// Metadata to figure out what PlayReport we have.
"match_mode", "match_submode", "anniversary", "fighter", "reason", "challenge_count",
"adv_slot",
"adv_slot", "is_created",
// List of Fighters
"player_1_fighter", "player_2_fighter", "player_3_fighter", "player_4_fighter",
"player_5_fighter", "player_6_fighter", "player_7_fighter", "player_8_fighter",
Expand Down