mirror of
https://github.com/ApeMV/AmongUsRevamped.git
synced 2026-10-19 15:51:59 +00:00
22 lines
571 B
C#
22 lines
571 B
C#
// https://github.com/Yumenopai/TownOfHost_Y/blob/main/Modules/OptionItem/TextOptionItem.cs
|
|
namespace AmongUsRevamped
|
|
{
|
|
public class TextOptionItem : OptionItem
|
|
{
|
|
public FloatValueRule Rule;
|
|
|
|
public TextOptionItem(int id, string name, TabGroup tab)
|
|
: base(id, name, 0, tab, true)
|
|
{
|
|
IsText = true;
|
|
}
|
|
public static TextOptionItem Create(
|
|
int id, string name, TabGroup tab
|
|
)
|
|
{
|
|
return new TextOptionItem(
|
|
id, name, tab
|
|
);
|
|
}
|
|
}
|
|
} |