Reword xmldoc

This commit is contained in:
Bartłomiej Dach 2023-05-04 18:33:49 +02:00
parent 88e77ad390
commit 1f1342b099
No known key found for this signature in database

View File

@ -167,10 +167,13 @@ namespace osu.Game.Rulesets.Mods
} }
/// <summary> /// <summary>
/// When converting mods from one ruleset to the other, this method makes sure /// This method copies the values of all settings from <paramref name="source"/> that share the same names with this mod instance.
/// to also copy the values of all settings sharing same <see cref="MemberInfo.Name"/> between the two instances. /// The most frequent use of this is when switching rulesets, in order to preserve values of common settings during the switch.
/// </summary> /// </summary>
/// <remarks>Copied values are unchanged, even if they have different clamping ranges.</remarks> /// <remarks>
/// The values are copied directly, without adjusting for possibly different allowed ranges of values.
/// If the value of a setting is not valid for this instance due to not falling inside of the allowed range, it will be clamped accordingly.
/// </remarks>
/// <param name="source">The mod to extract settings from.</param> /// <param name="source">The mod to extract settings from.</param>
public void CopyCommonSettingsFrom(Mod source) public void CopyCommonSettingsFrom(Mod source)
{ {