mirror of
https://github.com/rlabrecque/SteamworksSDK.git
synced 2026-10-10 09:33:04 +08:00
v1.57
This commit is contained in:
@@ -1226,7 +1226,12 @@ void CSpaceWarClient::OnGameStateChanged( EClientGameState eGameStateNew )
|
||||
pchSteamRichPresenceDisplay = SetInGameRichPresence();
|
||||
bDisplayScoreInRichPresence = true;
|
||||
}
|
||||
else if ( m_eGameState == k_EClientRemotePlay )
|
||||
else if ( m_eGameState == k_EClientRemotePlayInvite )
|
||||
{
|
||||
SteamRemotePlay()->BSendRemotePlayTogetherInvite( CSteamID() );
|
||||
SetGameState( k_EClientGameMenu );
|
||||
}
|
||||
else if ( m_eGameState == k_EClientRemotePlaySessions )
|
||||
{
|
||||
// we've switched to the remote play menu
|
||||
m_pRemotePlayList->Show();
|
||||
@@ -1641,7 +1646,7 @@ void CSpaceWarClient::RunFrame()
|
||||
SetGameState( k_EClientGameMenu );
|
||||
break;
|
||||
|
||||
case k_EClientRemotePlay:
|
||||
case k_EClientRemotePlaySessions:
|
||||
m_pStarField->Render();
|
||||
m_pRemotePlayList->RunFrame();
|
||||
|
||||
@@ -2597,6 +2602,18 @@ void CSpaceWarClient::OnWorkshopItemInstalled( ItemInstalled_t *pParam )
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Remote Play Together guest invite was created
|
||||
//-----------------------------------------------------------------------------
|
||||
void CSpaceWarClient::OnSteamRemotePlayTogetherGuestInvite( SteamRemotePlayTogetherGuestInvite_t *pParam )
|
||||
{
|
||||
char rgch[ 1024 ];
|
||||
sprintf_safe( rgch, "Remote Play Together guest invite URL: %s\n",
|
||||
pParam->m_szConnectURL );
|
||||
OutputDebugString( rgch );
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: duration control / anti indulgence callback notification for Steam China
|
||||
// (this can run from an API call, or from an asynchronous callback. see OnDurationControlCallResult)
|
||||
|
||||
Reference in New Issue
Block a user