mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-29 17:36:44 +00:00
You can now access the *entire* play report data in any given value formatter. The input types have been restructured and, notably, not every instance of Value has an ApplicationMetadata on it. It's now on the container type that also contains the matched values and the entire play report.
41 lines
1.6 KiB
C#
41 lines
1.6 KiB
C#
namespace Ryujinx.Ava.Utilities.PlayReport
|
|
{
|
|
/// <summary>
|
|
/// The delegate type that powers single value formatters.<br/>
|
|
/// Takes in the result value from the Play Report, and outputs:
|
|
/// <br/>
|
|
/// a formatted string,
|
|
/// <br/>
|
|
/// a signal that nothing was available to handle it,
|
|
/// <br/>
|
|
/// OR a signal to reset the value that the caller is using the <see cref="Analyzer"/> for.
|
|
/// </summary>
|
|
public delegate FormattedValue ValueFormatter(SingleValue value);
|
|
|
|
/// <summary>
|
|
/// The delegate type that powers multiple value formatters.<br/>
|
|
/// Takes in the result values from the Play Report, and outputs:
|
|
/// <br/>
|
|
/// a formatted string,
|
|
/// <br/>
|
|
/// a signal that nothing was available to handle it,
|
|
/// <br/>
|
|
/// OR a signal to reset the value that the caller is using the <see cref="Analyzer"/> for.
|
|
/// </summary>
|
|
public delegate FormattedValue MultiValueFormatter(MultiValue value);
|
|
|
|
/// <summary>
|
|
/// The delegate type that powers multiple value formatters.
|
|
/// The dictionary passed to this delegate is sparsely populated;
|
|
/// that is, not every key specified in the Play Report needs to match for this to be used.<br/>
|
|
/// Takes in the result values from the Play Report, and outputs:
|
|
/// <br/>
|
|
/// a formatted string,
|
|
/// <br/>
|
|
/// a signal that nothing was available to handle it,
|
|
/// <br/>
|
|
/// OR a signal to reset the value that the caller is using the <see cref="Analyzer"/> for.
|
|
/// </summary>
|
|
public delegate FormattedValue SparseMultiValueFormatter(SparseMultiValue value);
|
|
}
|