KF2-MSK-GS/MSKGS/Classes/MSKGS_Survival.uc
2022-09-13 05:10:25 +03:00

37 lines
838 B
Ucode

class MSKGS_Survival extends KFGameInfo_Survival;
const GIC = "KFGameContent.KFGameInfo_Survival";
var public IMSKGS_GameInfo GI;
var public IMSKGS MSKGS;
var public E_LogLevel LogLevel;
public simulated function ExileServerUsingKickBan()
{
`Log_Trace();
return;
}
public function UpdateGameSettings()
{
`Log_Trace();
if (GI != None)
{
GI.UpdateGameSettings(Self, GIC, MSKGS, bIsCustomGame, !IsUnrankedGame());
}
}
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out Array<DamageInfo> DamageHistory, Controller Killer)
{
`Log_Trace();
Super.DistributeMoneyAndXP(MSKGS == None ? MonsterClass : MSKGS.PickProxyZed(MonsterClass), DamageHistory, Killer);
}
defaultproperties
{
KFGFxManagerClass = class'MSKGS_GFxMoviePlayer_Manager'
}