mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:45:09 +08:00
Improve xmldoc of state
param
This commit is contained in:
parent
efe6bb25b1
commit
2976f225e0
@ -697,7 +697,10 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
/// the <see cref="ScoreProcessor"/> of the <see cref="JudgementResult"/>.
|
/// the <see cref="ScoreProcessor"/> of the <see cref="JudgementResult"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="application">The callback that applies changes to the <see cref="JudgementResult"/>. Using a `static` delegate is recommended to avoid allocation overhead.</param>
|
/// <param name="application">The callback that applies changes to the <see cref="JudgementResult"/>. Using a `static` delegate is recommended to avoid allocation overhead.</param>
|
||||||
/// <param name="state">The state.</param>
|
/// <param name="state">
|
||||||
|
/// Use this parameter to pass any data that <paramref name="application"/> requires
|
||||||
|
/// to apply a result, so that it can remain a `static` delegate and thus not allocate.
|
||||||
|
/// </param>
|
||||||
protected void ApplyResult<T>(Action<JudgementResult, T> application, T state)
|
protected void ApplyResult<T>(Action<JudgementResult, T> application, T state)
|
||||||
{
|
{
|
||||||
if (Result.HasResult)
|
if (Result.HasResult)
|
||||||
|
Loading…
Reference in New Issue
Block a user