misc: chore: [ci skip] Play Report Analyzer: Added Multi Value formatters

This commit is contained in:
Evan Husted
2025-02-05 19:42:36 -06:00
parent c638a7daf8
commit e55629a908
3 changed files with 70 additions and 3 deletions

View File

@@ -14,7 +14,8 @@ namespace Ryujinx.Ava.Utilities.PlayReport
)
.AddSpec(
"0100f2c0115b6000",
spec => spec.AddValueFormatter("PlayerPosY", TearsOfTheKingdom_CurrentField))
spec => spec
.AddValueFormatter("PlayerPosY", TearsOfTheKingdom_CurrentField))
.AddSpec(
"0100000000010000",
spec =>
@@ -40,6 +41,11 @@ namespace Ryujinx.Ava.Utilities.PlayReport
.AddValueFormatter("team_circle", PokemonSVUnionCircle)
);
private static FormattedValue Botw(Value[] values)
{
return $"{values[0].BoxedValue}, {values[1].BoxedValue}";
}
private static FormattedValue BreathOfTheWild_MasterMode(Value value)
=> value.BoxedValue is 1 ? "Playing Master Mode" : FormattedValue.ForceReset;