mu3-mods/SortByInternalDifficulty/MU3.DB/patch_MusicSort2IDEnum.cs

16 lines
422 B
C#

using MonoMod;
namespace MU3.DB;
[MonoModPatch("global::MU3.DB.MusicSort2IDEnum")]
public static class patch_MusicSort2IDEnum {
private static MusicSort2TableRecord[] records;
public static extern bool orig_loadFromFile(string filename);
public static bool loadFromFile(string filename) {
var rv = orig_loadFromFile(filename);
records[4].Name = "譜面定数";
return rv;
}
}