1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-08-05 23:25:53 +02:00
gbe_fork/sdk/steam/isteamgameserver001.h
2025-07-25 14:05:46 +03:00

19 lines
786 B
C++

#ifndef ISTEAMGAMESERVER001_H
#define ISTEAMGAMESERVER001_H
#ifdef STEAM_WIN32
#pragma once
#endif
// this interface version is not found in public SDK archives, it is based on reversing old Linux binaries
class ISteamGameServer001
{
public:
virtual bool GSSendUserConnect( CSteamID steamID, uint32 unIPPublic, uint32 unk ) = 0;
virtual bool GSSendUserDisconnect( CSteamID steamID ) = 0;
virtual bool GSSendUserStatusResponse( CSteamID steamID, int nSecondsConnected, int nSecondsSinceLast ) = 0;
virtual bool Obsolete_GSSetStatus( int32 nAppIdServed, uint32 unServerFlags, int cPlayers, int cPlayersMax, int cBotPlayers, int unGamePort, const char *pchServerName, const char *pchGameDir, const char *pchMapName, const char *pchVersion ) = 0;
};
#endif // ISTEAMGAMESERVER001_H