mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
15 lines
625 B
C#
15 lines
625 B
C#
using MiraAPI.GameOptions;
|
|
using MiraAPI.GameOptions.Attributes;
|
|
|
|
namespace MiraAPI.Example
|
|
{
|
|
public class ExampleOptions : IModdedOptionGroup
|
|
{
|
|
public string GroupName => "General Group";
|
|
[ModdedToggleOption("Use Thing")] public bool useThing { get; set; } = true;
|
|
[ModdedToggleOption("Use another thing")] public bool useAnotherThing { get; set; } = false;
|
|
[ModdedNumberOption("Sussy level", min: 0, max: 10)] public float sussyLevel { get; set; } = 4f;
|
|
[ModdedStringOption("Sus choices", ["hello", "hello 2", "hello 3"])] public int susChoices { get; set; } = 0;
|
|
}
|
|
}
|