-
Notifications
You must be signed in to change notification settings - Fork 3
/
Settings.cs
34 lines (32 loc) · 1012 Bytes
/
Settings.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
using Modding;
using System;
namespace BrothersOfBattle
{
[Serializable]
public class LocalSettings
{
private bool _altStatue = false;
public bool AltStatue
{
get => _altStatue;
set => _altStatue = value;
}
private BossStatue.Completion _statueStateBrothers = new();
public BossStatue.Completion StatueStateBrothers
{
get => _statueStateBrothers;
set => _statueStateBrothers = value;
}
}
public sealed partial class globalsettings : IGlobalSettings<GlobalSettings>
{
public static GlobalSettings GlobalSettings { get; private set; } = new();
public void OnLoadGlobal(GlobalSettings s) => GlobalSettings = s;
public GlobalSettings OnSaveGlobal() => GlobalSettings;
}
public sealed class GlobalSettings
{
public static bool healthshare = false;
public static bool sly = false;
}
}