mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
SDK 1.52
This commit is contained in:
parent
19dc4f468a
commit
98b149b9b6
32 changed files with 2416 additions and 257 deletions
|
|
@ -618,6 +618,19 @@ void Steam_GameServer::EnableHeartbeats( bool bActive )
|
|||
PRINT_DEBUG("EnableHeartbeats\n");
|
||||
}
|
||||
|
||||
/// Indicate whether you wish to be listed on the master server list
|
||||
/// and/or respond to server browser / LAN discovery packets.
|
||||
/// The server starts with this value set to false. You should set all
|
||||
/// relevant server parameters before enabling advertisement on the server.
|
||||
///
|
||||
/// (This function used to be named EnableHeartbeats, so if you are wondering
|
||||
/// where that function went, it's right here. It does the same thing as before,
|
||||
/// the old name was just confusing.)
|
||||
void Steam_GameServer::SetAdvertiseServerActive( bool bActive )
|
||||
{
|
||||
PRINT_DEBUG("SetAdvertiseServerActive\n");
|
||||
EnableHeartbeats(bActive);
|
||||
}
|
||||
|
||||
// You usually don't need to modify this.
|
||||
// Pass -1 to use the default value for iHeartbeatInterval.
|
||||
|
|
@ -627,6 +640,11 @@ void Steam_GameServer::SetHeartbeatInterval( int iHeartbeatInterval )
|
|||
PRINT_DEBUG("SetHeartbeatInterval\n");
|
||||
}
|
||||
|
||||
void Steam_GameServer::SetMasterServerHeartbeatInterval_DEPRECATED( int iHeartbeatInterval )
|
||||
{
|
||||
PRINT_DEBUG("SetMasterServerHeartbeatInterval_DEPRECATED\n");
|
||||
}
|
||||
|
||||
|
||||
// Force a heartbeat to steam at the next opportunity
|
||||
void Steam_GameServer::ForceHeartbeat()
|
||||
|
|
@ -634,6 +652,11 @@ void Steam_GameServer::ForceHeartbeat()
|
|||
PRINT_DEBUG("ForceHeartbeat\n");
|
||||
}
|
||||
|
||||
void Steam_GameServer::ForceMasterServerHeartbeat_DEPRECATED()
|
||||
{
|
||||
PRINT_DEBUG("ForceMasterServerHeartbeat_DEPRECATED\n");
|
||||
}
|
||||
|
||||
|
||||
// associate this game server with this clan for the purposes of computing player compat
|
||||
STEAM_CALL_RESULT( AssociateWithClanResult_t )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue