2021-06-08 21:21:28 +00:00
|
|
|
class SystemAdminRank extends Object
|
2021-05-31 01:46:53 +00:00
|
|
|
dependson(Types)
|
|
|
|
config(ScoreboardExt);
|
|
|
|
|
|
|
|
var config string Rank;
|
2021-06-08 23:22:35 +00:00
|
|
|
var config ColorRGBA TextColor;
|
2021-05-31 01:46:53 +00:00
|
|
|
var config Fields ApplyColorToFields;
|
2021-06-07 02:04:40 +00:00
|
|
|
|
2021-06-09 00:58:31 +00:00
|
|
|
public static function SCESettingsAdmin DefaultSettings()
|
|
|
|
{
|
|
|
|
local SCESettingsAdmin Settings;
|
|
|
|
return Settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function SCESettingsAdmin Settings()
|
|
|
|
{
|
|
|
|
local SCESettingsAdmin Settings;
|
|
|
|
|
|
|
|
Settings.Rank = default.Rank;
|
|
|
|
Settings.TextColor = default.TextColor;
|
|
|
|
Settings.ApplyColorToFields = default.ApplyColorToFields;
|
|
|
|
|
|
|
|
return Settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function WriteSettings(SCESettingsAdmin Settings)
|
|
|
|
{
|
|
|
|
default.Rank = Settings.Rank;
|
|
|
|
default.TextColor = Settings.TextColor;
|
|
|
|
default.ApplyColorToFields = Settings.ApplyColorToFields;
|
|
|
|
|
|
|
|
StaticSaveConfig();
|
|
|
|
}
|
|
|
|
|
2021-06-07 02:04:40 +00:00
|
|
|
DefaultProperties
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|