-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathItemsAPI.cs
More file actions
29 lines (25 loc) · 758 Bytes
/
Copy pathItemsAPI.cs
File metadata and controls
29 lines (25 loc) · 758 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 MelonLoader;
[assembly: MelonInfo(typeof(ItemsAPI.ItemsAPI), "ItemsAPI", "0.2.0", "Shlygly", null)]
[assembly: MelonGame("ReLUGames", "MIMESIS")]
[assembly: MelonColor(255, 0, 128, 0)]
#pragma warning disable CS1591
namespace ItemsAPI
{
public class ItemsAPI : MelonMod
{
public static ItemsAPI Instance { get; private set; }
public override void OnInitializeMelon()
{
Instance = this;
LoggerInstance.Msg("API Ready to use !");
}
public static void Log(object msg)
{
if (msg is Exception)
Instance.LoggerInstance.Error(msg);
else
Instance.LoggerInstance.Msg(msg);
}
}
}
#pragma warning restore CS1591