mirror of
https://github.com/rlabrecque/SteamworksSDK.git
synced 2026-10-10 17:36:39 +08:00
v1.56
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user