KF2-MSK-GS/MSKGS/Classes/MSKGS_WeeklySurvival.uc

37 lines
801 B
Ucode
Raw Normal View History

2022-08-17 07:53:13 +00:00
class MSKGS_WeeklySurvival extends KFGameInfo_WeeklySurvival;
2022-08-01 11:09:38 +00:00
const GIC = "KFGameContent.KFGameInfo_WeeklySurvival";
2022-08-16 23:07:11 +00:00
var public IMSKGS_GameInfo GI;
var public IMSKGS MSKGS;
var public E_LogLevel LogLevel;
2022-08-01 11:09:38 +00:00
2022-08-16 23:07:11 +00:00
public simulated function ExileServerUsingKickBan()
2022-08-01 11:09:38 +00:00
{
2022-08-16 23:07:11 +00:00
`Log_Trace();
2022-08-01 11:09:38 +00:00
return;
}
public function UpdateGameSettings()
{
2022-08-16 23:07:11 +00:00
`Log_Trace();
if (GI != None)
{
2022-08-17 07:53:13 +00:00
GI.UpdateGameSettings(Self, GIC, MSKGS, bIsCustomGame, !IsUnrankedGame());
2022-08-16 23:07:11 +00:00
}
2022-08-01 11:09:38 +00:00
}
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out array<DamageInfo> DamageHistory, Controller Killer)
{
2022-08-16 23:07:11 +00:00
`Log_Trace();
Super.DistributeMoneyAndXP(MSKGS == None ? MonsterClass : MSKGS.PickProxyZed(MonsterClass), DamageHistory, Killer);
2022-08-01 11:09:38 +00:00
}
defaultproperties
{
2022-08-17 07:53:13 +00:00
2022-08-01 11:09:38 +00:00
}