mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-25 22:46:45 +00:00
git is confusing
This commit is contained in:
26 files changed
+1083
-32
No files matched your search
@@ -16,6 +16,9 @@ public class ExampleOptions2 : AbstractOptionGroup
|
||||
public ModdedPlayerOption PlayerOption { get; } = new("options.exampleOptions2.ehWhatever");
|
||||
public ModdedToggleOption ToggleOpt1 { get; } = new("options.exampleOptions2.toggleOption1", false);
|
||||
|
||||
public ModdedOptionList<ModdedNumberOption> PlayerNums { get; } = new(5, i =>
|
||||
new($"PlayerNum{i}", 2, 0, 5, 1, Utilities.MiraNumberSuffixes.None));
|
||||
|
||||
public ModdedToggleOption ToggleOpt2 { get; } = new("options.exampleOptions2.toggleOption2", false)
|
||||
{
|
||||
Visible = () => OptionGroupSingleton<ExampleOptions2>.Instance.ToggleOpt1, // implicit cast from ModdedToggleOption to bool
|
||||
|
||||
Reference in new issue
Block a user