mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Use APIMod for mod serialization
This commit is contained in:
@ -53,5 +53,13 @@ namespace osu.Game.Online.API
|
||||
}
|
||||
|
||||
public bool Equals(IMod other) => Acronym == other?.Acronym;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (Settings.Count > 0)
|
||||
return $"{Acronym} ({string.Join(',', Settings.Select(kvp => $"{kvp.Key}:{kvp.Value}"))})";
|
||||
|
||||
return $"{Acronym}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user