-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainFile.cs
More file actions
29 lines (24 loc) · 803 Bytes
/
MainFile.cs
File metadata and controls
29 lines (24 loc) · 803 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
26
27
28
29
using CustomCardTextureLoader.CustomCardTextureLoaderCode;
using Godot;
using HarmonyLib;
using MegaCrit.Sts2.Core.Modding;
namespace CustomCardTextureLoader;
[ModInitializer(nameof(Initialize))]
public partial class MainFile : Node
{
private const string
ModId = "CustomCardTextureLoader";
private static MegaCrit.Sts2.Core.Logging.Logger Logger { get; } =
new(ModId, MegaCrit.Sts2.Core.Logging.LogType.Generic);
public static void Initialize()
{
Harmony harmony = new(ModId);
harmony.PatchAll();
Logger.Info("Initialized");
Logger.Info("Looking for card textures in the following directories:");
foreach (var dir in AtlasManagerPatches.SearchDirectories)
{
Logger.Info(dir);
}
}
}