forked from gamrguy/FavGirl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
FavGirlMod.cs
36 lines (30 loc) · 958 Bytes
/
FavGirlMod.cs
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
33
34
35
36
using MelonLoader;
namespace FavGirl
{
// ASSEMBLY PREFS
internal static class MelonBuildInfo
{
public const string Name = "FavGirl";
public const string Description =
"Adds the ability to 'favorite' a girl and/or elfin to lock in their visuals.";
public const string Author = "RobotLucca & AshtonMemer";
public const string Company = null;
public const string Version = "2.4.3";
public const string DownloadLink = null;
}
// MELONLOADER CLASS
public class FavGirlMelon : MelonMod
{
public static FavGirlMelon instance { get; private set; }
public override void OnInitializeMelon() // Runs after Game Initialization.
{
instance = this;
FavSave.Load();
}
public override void OnApplicationQuit()
{
base.OnApplicationQuit();
MelonPreferences.Save();
}
}
}