-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAlphabetRando.cs
More file actions
33 lines (25 loc) · 1.29 KB
/
Copy pathAlphabetRando.cs
File metadata and controls
33 lines (25 loc) · 1.29 KB
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
using Modding;
using System.Collections.Generic;
using UnityEngine;
namespace AlphabetRando {
public class AlphabetRando: Mod, IGlobalSettings<GlobalSettings>, ILocalSettings<LocalSettings>, ICustomMenuMod {
new public string GetName() => "AlphabetRando";
public override string GetVersion() => "1.2.0.0";
public static GlobalSettings globalSettings { get; set; } = new();
public void OnLoadGlobal(GlobalSettings s) => globalSettings = s;
public GlobalSettings OnSaveGlobal() => globalSettings;
public static LocalSettings localSettings { get; set; } = new();
public void OnLoadLocal(LocalSettings s) => localSettings = s;
public LocalSettings OnSaveLocal() => localSettings;
internal static AlphabetRando instance;
public AlphabetRando(): base() {
instance = this;
}
public override void Initialize(Dictionary<string, Dictionary<string, GameObject>> preloadedObjects) {
CustomCharacterHandler.LoadFile(false);
RandoInterop.Hook();
}
public MenuScreen GetMenuScreen(MenuScreen modListMenu, ModToggleDelegates? modtoggledelegates) => CustomCharacterHandler.GetMenuScreen(modListMenu, modtoggledelegates);
public bool ToggleButtonInsideMenu { get; }
}
}