mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
18 lines
609 B
C#
18 lines
609 B
C#
using MiraAPI.GameOptions;
|
|
using MiraAPI.GameOptions.Attributes;
|
|
|
|
namespace MiraAPI.Example.Options.Modifiers;
|
|
|
|
public class GeneralModifierOptions : AbstractOptionGroup
|
|
{
|
|
public override string GroupName => "options.generalModifier";
|
|
public override uint GroupPriority => 0;
|
|
public override MenuCategory ParentMenu => MenuCategory.Modifiers;
|
|
|
|
[ModdedToggleOption("options.generalModifier.someBooleanOption")]
|
|
public bool SomeBooleanOption { get; set; } = true;
|
|
|
|
[ModdedNumberOption("options.generalModifier.numberOption", 0, 10)]
|
|
public float NumberOption { get; set; } = 5;
|
|
}
|