forked from bigkahuna443/SkinModHelper
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSpeedrunTool.cs
More file actions
25 lines (20 loc) · 785 Bytes
/
Copy pathSpeedrunTool.cs
File metadata and controls
25 lines (20 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Runtime.CompilerServices;
using AsmResolver.PE.File;
using MonoMod.ModInterop;
using Monocle;
using System.Collections.Generic;
namespace Celeste.Mod.SkinModHelper.Imports {
[ModImportName("SpeedrunTool.SaveLoad")]
public static class SaveLoadExports {
public static void LoadContent(bool firstLoad) {
if (!firstLoad) {
return;
}
RegisterStaticTypes?.Invoke(typeof(SkinsSystem), new string[] { nameof(SkinsSystem.SpriteDataCache) });
}
//public static Action<Func<object, object>> AddCustomDeepCloneProcessor;
public static Func<Type, string[], object> RegisterStaticTypes;
//public static Func<object, object> DeepClone;
}
}