mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
Add xmldoc for new ResetFromReplayFrame
method
This commit is contained in:
parent
0641264a11
commit
0f83f77d2b
@ -108,6 +108,14 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
JudgedHits = 0;
|
JudgedHits = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Reset all statistics based on header information contained within a replay frame.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// If the provided replay frame does not have any header information, this will be a noop.
|
||||||
|
/// </remarks>
|
||||||
|
/// <param name="ruleset">The ruleset to be used for retrieving statistics.</param>
|
||||||
|
/// <param name="frame">The replay frame to read header statistics from.</param>
|
||||||
public virtual void ResetFromReplayFrame(Ruleset ruleset, ReplayFrame frame)
|
public virtual void ResetFromReplayFrame(Ruleset ruleset, ReplayFrame frame)
|
||||||
{
|
{
|
||||||
if (frame.Header == null)
|
if (frame.Header == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user