KF2-YetAnotherScoreboard/YAS/Classes/SteamGroupRankRelations.uc

32 lines
589 B
Ucode
Raw Normal View History

2021-06-08 21:48:03 +00:00
class SteamGroupRankRelations extends Object
dependson(Types)
2021-06-20 05:04:22 +00:00
config(YAS);
2021-06-08 21:48:03 +00:00
2021-06-12 20:11:37 +00:00
`include(Build.uci)
`include(Logger.uci)
2021-06-13 03:17:40 +00:00
var config array<RankRelation> Relation;
2021-06-08 21:48:03 +00:00
2021-07-05 03:02:30 +00:00
public static function InitConfig(int ConfigVersion)
{
local RankRelation ExampleSteamGroup;
`callstack_static("InitConfig");
switch (ConfigVersion)
{
case 0:
// Example steam group
ExampleSteamGroup.ObjectID = "103582791465384046"; // MSK-GS SteamID64
ExampleSteamGroup.RankID = 1;
default.Relation.AddItem(ExampleSteamGroup);
case 2147483647:
StaticSaveConfig();
}
}
2021-06-08 21:48:03 +00:00
DefaultProperties
{
}