iw5-mod/src/steam/interfaces/game_server.cpp

102 lines
2.0 KiB
C++
Raw Normal View History

2018-12-22 18:46:16 +01:00
#include <std_include.hpp>
2018-12-25 00:32:21 +01:00
#include "steam/steam.hpp"
2018-12-22 18:46:16 +01:00
namespace steam
{
void game_server::LogOn()
{
}
void game_server::LogOff()
{
}
bool game_server::LoggedOn()
{
return true;
}
bool game_server::Secure()
{
return false;
}
steam_id game_server::GetSteamID()
{
return steam_id();
}
2018-12-26 16:59:03 +01:00
bool game_server::SendUserConnectAndAuthenticate(unsigned int unIPClient, const void* pvAuthBlob,
unsigned int cubAuthBlobSize, steam_id* pSteamIDUser)
2018-12-22 18:46:16 +01:00
{
return true;
}
steam_id game_server::CreateUnauthenticatedUserConnection()
{
return steam_id();
}
void game_server::SendUserDisconnect(steam_id steamIDUser)
{
}
2018-12-26 16:59:03 +01:00
bool game_server::UpdateUserData(steam_id steamIDUser, const char* pchPlayerName, unsigned int uScore)
2018-12-22 18:46:16 +01:00
{
return true;
}
2018-12-26 16:59:03 +01:00
bool game_server::SetServerType(unsigned int unServerFlags, unsigned int unGameIP, unsigned short unGamePort,
unsigned short unSpectatorPort, unsigned short usQueryPort, const char* pchGameDir,
const char* pchVersion, bool bLANMode)
2018-12-22 18:46:16 +01:00
{
return true;
}
2018-12-26 16:59:03 +01:00
void game_server::UpdateServerStatus(int cPlayers, int cPlayersMax, int cBotPlayers, const char* pchServerName,
const char* pSpectatorServerName, const char* pchMapName)
2018-12-22 18:46:16 +01:00
{
}
void game_server::UpdateSpectatorPort(unsigned short unSpectatorPort)
{
}
2018-12-26 16:59:03 +01:00
void game_server::SetGameType(const char* pchGameType)
2018-12-22 18:46:16 +01:00
{
}
2018-12-26 16:59:03 +01:00
bool game_server::GetUserAchievementStatus(steam_id steamID, const char* pchAchievementName)
2018-12-22 18:46:16 +01:00
{
return false;
}
void game_server::GetGameplayStats()
{
}
unsigned __int64 game_server::GetServerReputation()
{
return 0;
}
bool game_server::RequestUserGroupStatus(steam_id steamIDUser, steam_id steamIDGroup)
{
return false;
}
unsigned int game_server::GetPublicIP()
{
return 0;
}
2018-12-26 16:59:03 +01:00
void game_server::SetGameData(const char* pchGameData)
2018-12-22 18:46:16 +01:00
{
}
int game_server::UserHasLicenseForApp(steam_id steamID, unsigned int appID)
{
return 0;
}
}