This commit is contained in:
Riley Labrecque
2023-06-03 16:30:39 -07:00
parent 1263fbb403
commit 009fa4e3c7
43 changed files with 379 additions and 198 deletions
+3 -1
View File
@@ -59,7 +59,9 @@ void CP2PAuthPlayer::StartAuthPlayer()
// Create a ticket if we haven't yet
if ( m_cubTicketIGaveThisUser == 0 )
{
m_hAuthTicketIGaveThisUser = SteamUser()->GetAuthSessionTicket( m_rgubTicketIGaveThisUser, sizeof( m_rgubTicketIGaveThisUser ), &m_cubTicketIGaveThisUser );
SteamNetworkingIdentity snid;
snid.SetSteamID( m_steamID );
m_hAuthTicketIGaveThisUser = SteamUser()->GetAuthSessionTicket( m_rgubTicketIGaveThisUser, sizeof( m_rgubTicketIGaveThisUser ), &m_cubTicketIGaveThisUser, &snid );
}
// Send the ticket to the server. It will relay to the client