mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
optimise code + add new example option
This commit is contained in:
6 files changed
+37
-15
No files matched your search
@@ -45,6 +45,9 @@ public class ExampleOptions : AbstractOptionGroup
|
||||
public List<ValueState> ValueStates { get; set; } =
|
||||
[ValueState.Primary, ValueState.Secondary, ValueState.None, ValueState.None, ValueState.None];
|
||||
|
||||
[ModdedPlayerOption("options.exampleOptions1.players")]
|
||||
public NetworkedPlayerInfo PlayerSelected { get; set; }
|
||||
|
||||
public bool ToggleOpt1Visibility()
|
||||
{
|
||||
return true;
|
||||
|
||||
@@ -48,6 +48,7 @@ Eliminate every other faction.</string>
|
||||
<string name="options.exampleOptions1.numberOpt">Number Opt</string>
|
||||
<string name="options.exampleOptions1.bestApi">Best API</string>
|
||||
<string name="options.exampleOptions1.worstApi">Worst API</string>
|
||||
<string name="options.exampleOptions1.players">Choose A Player</string>
|
||||
<string name="options.exampleOptions2">Example Options 2</string>
|
||||
<string name="options.exampleOptions2.youMustChoseAPlayer">YOU MUST CHOSE A PLAYER</string>
|
||||
<string name="options.exampleOptions2.ehWhatever">Eh whatever</string>
|
||||
|
||||
Reference in new issue
Block a user