2021-06-07 02:04:40 +00:00
|
|
|
class ThresholdsPing extends Object
|
|
|
|
dependson(Types)
|
|
|
|
config(ScoreboardExt);
|
|
|
|
|
2021-06-09 00:58:31 +00:00
|
|
|
var config int Low;
|
|
|
|
var config int High;
|
|
|
|
|
|
|
|
public static function SCESettingsPing DefaultSettings()
|
|
|
|
{
|
|
|
|
local SCESettingsPing Settings;
|
|
|
|
return Settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function SCESettingsPing Settings()
|
|
|
|
{
|
|
|
|
local SCESettingsPing Settings;
|
|
|
|
|
|
|
|
Settings.Low = default.Low;
|
|
|
|
Settings.High = default.High;
|
|
|
|
|
|
|
|
return Settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function WriteSettings(SCESettingsPing Settings)
|
|
|
|
{
|
|
|
|
default.Low = Settings.Low;
|
|
|
|
default.High = Settings.High;
|
|
|
|
|
|
|
|
StaticSaveConfig();
|
|
|
|
}
|
2021-06-07 02:04:40 +00:00
|
|
|
|
|
|
|
DefaultProperties
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|