r2mods/ilspy_dump/ror2_csproj/RoR2.ConVar/StringConVar.cs

22 lines
391 B
C#

namespace RoR2.ConVar;
public class StringConVar : BaseConVar
{
public string value { get; protected set; }
public StringConVar(string name, ConVarFlags flags, string defaultValue, string helpText)
: base(name, flags, defaultValue, helpText)
{
}
public override void SetString(string newValue)
{
value = newValue;
}
public override string GetString()
{
return value;
}
}