mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#include "cbase.h"
|
|
#include "gameinterface.h"
|
|
#include "mapentities.h"
|
|
#include "hl2mp_gameinterface.h"
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
#include "tier0/memdbgon.h"
|
|
|
|
// -------------------------------------------------------------------------------------------- //
|
|
// Mod-specific CServerGameClients implementation.
|
|
// -------------------------------------------------------------------------------------------- //
|
|
|
|
void CServerGameClients::GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers ) const
|
|
{
|
|
minplayers = defaultMaxPlayers = 2;
|
|
maxplayers = 16;
|
|
}
|
|
|
|
// -------------------------------------------------------------------------------------------- //
|
|
// Mod-specific CServerGameDLL implementation.
|
|
// -------------------------------------------------------------------------------------------- //
|
|
|
|
void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities )
|
|
{
|
|
}
|
|
|