-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plugin.cs
30 lines (24 loc) · 825 Bytes
/
Plugin.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
using BepInEx;
using ChallengeChest.Managers.LocalizationManager;
using ChallengeChest.Patch;
namespace ChallengeChest;
[BepInPlugin(ModGuid, ModName, ModVersion)]
[BepInDependency("com.Frogger.NoUselessWarnings", BepInDependency.DependencyFlags.SoftDependency)]
internal class Plugin : BaseUnityPlugin
{
private const string ModName = "ChallengeChest",
ModAuthor = "Frogger",
ModVersion = "0.1.3",
ModGuid = $"com.{ModAuthor}.{ModName}";
public static readonly int VFXHash = "vfx_Place_workbench".GetStableHashCode();
private void Awake()
{
CreateMod(this, ModName, ModAuthor, ModVersion, ModGuid);
Localizer.Load();
Init();
RegisterPrefabs.LoadAll();
bundle.Unload(false);
EventSetup.Init();
EventSpawn.Init();
}
}