-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMod.cs
More file actions
32 lines (29 loc) · 929 Bytes
/
Mod.cs
File metadata and controls
32 lines (29 loc) · 929 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
30
31
32
using HarmonyLib;
using System;
using System.Collections;
using UnityEngine;
using CommonModNS;
namespace ExampleModNS
{
public class ExampleMod : Mod
{
public static ExampleMod instance;
public static void Log(string msg) => instance.Logger.Log(msg);
public static void LogError(string msg) => instance.Logger.LogError(msg);
private void Awake()
{
instance = this;
//WorldManagerPatches.LoadSaveRound += WM_OnLoad;
//WorldManagerPatches.GetSaveRound += WM_OnSave;
//WorldManagerPatches.StartNewRound += WM_OnNewGame;
//WorldManagerPatches.Play += WM_OnPlay;
//WorldManagerPatches.Update += WM_OnUpdate;
//WorldManagerPatches.ApplyPatches(Harmony);
//Harmony.PatchAll();
}
public override void Ready()
{
Logger.Log("Ready!");
}
}
}