1
0
KF2-Dev-Scripts/KFGame/Classes/KFOnlineGameSettings.uc
2020-12-13 18:01:13 +03:00

75 lines
2.1 KiB
Ucode

//=============================================================================
// KFOnlineGameSettings
//=============================================================================
// Base settings for KF2 online games
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Joshua Rowan 8/22/2013
//=============================================================================
/**
* Holds the base configuration settings for match
*/
class KFOnlineGameSettings extends OnlineGameSettings
native;
/** The number of waves in the match */
var databinding int NumWaves;
/** The current of wave in the match */
var databinding int CurrentWave;
/** Is playing, or in ready-up */
var databinding bool bInProgress;
/** The number of Zeds in the current wave */
var databinding int ZedCount;
/** The max number of Zeds in the current Wave */
var databinding int MaxZedCount;
/** The number of waves in the match */
var databinding string MapName;
/** The number of waves in the match */
var databinding int Difficulty;
/** The game mode, versus, survival, etc. */
var databinding int Mode;
/** Have mutators been applied to this server? **/
var databinding bool bMutators;
//This duplicates bAntiCheatProtected, use that instead
//var databinding bool bVACSecure;
//This means the same as bUsesStats in the base class, use that instead
//var databinding bool bRanked;
/** This means the the server is using settings that take it out of normal and
sets it to "custom"
*/
var databinding bool bCustom;
//var databinding bool bUsedForTakeover;
var databinding bool bAvailableForTakeover;
/** A playercount that doesn't include spectators */
var databinding int NumSpectators;
defaultproperties
{
GfxID=INDEX_NONE
Mode=0
Difficulty=0
MapName="KF-BurningParis"
CurrentWave=1
NumWaves=6
NumPublicConnections=`KF_MAX_PLAYERS
ZedCount=10
MaxZedCount=100
bIsLanMatch=false
// bUsedForTakeover=false
}