|
@@ -176,7 +176,7 @@ public static class Constants
|
|
|
CustomFaceDict[category].Add(fullPath);
|
|
|
CustomFaceDict[category].Sort(WindowsLogicalComparer.StrCmpLogicalW);
|
|
|
|
|
|
- CustomFaceChange?.Invoke(null, new PresetChangeEventArgs(fullPath, category));
|
|
|
+ CustomFaceChange?.Invoke(null, new(fullPath, category));
|
|
|
}
|
|
|
|
|
|
public static void AddPose(byte[] anmBinary, string filename, string directory)
|
|
@@ -232,7 +232,7 @@ public static class Constants
|
|
|
CustomPoseDict[category].Add(fullPath);
|
|
|
CustomPoseDict[category].Sort(WindowsLogicalComparer.StrCmpLogicalW);
|
|
|
|
|
|
- CustomPoseChange?.Invoke(null, new PresetChangeEventArgs(fullPath, category));
|
|
|
+ CustomPoseChange?.Invoke(null, new(fullPath, category));
|
|
|
}
|
|
|
|
|
|
public static void AddHand(byte[] handBinary, bool right, string filename, string directory)
|
|
@@ -298,7 +298,7 @@ public static class Constants
|
|
|
CustomHandDict[category].Add(fullPath);
|
|
|
CustomHandDict[category].Sort(WindowsLogicalComparer.StrCmpLogicalW);
|
|
|
|
|
|
- CustomHandChange?.Invoke(null, new PresetChangeEventArgs(fullPath, category));
|
|
|
+ CustomHandChange?.Invoke(null, new(fullPath, category));
|
|
|
}
|
|
|
|
|
|
public static void InitializeSceneDirectories()
|
|
@@ -946,7 +946,7 @@ public static class Constants
|
|
|
if (menuDataBase.GetBoDelOnly() || menuFileName.EndsWith("_del.menu"))
|
|
|
continue;
|
|
|
|
|
|
- MpnAttachPropList.Add(new MpnAttachProp(itemMpn, menuFileName));
|
|
|
+ MpnAttachPropList.Add(new(itemMpn, menuFileName));
|
|
|
}
|
|
|
}
|
|
|
|