mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 03:34:52 +01:00
ISteamNetworkingSocketsSerialized004
This commit is contained in:
parent
a22ca27c26
commit
f6a2c0e5ef
4 changed files with 32 additions and 3 deletions
|
|
@ -471,8 +471,10 @@ void *Steam_Client::GetISteamGenericInterface( HSteamUser hSteamUser, HSteamPipe
|
|||
return (void *)(ISteamNetworkingSocketsSerialized002 *)steam_networking_sockets_serialized_temp;
|
||||
} else if (strcmp(pchVersion, "SteamNetworkingSocketsSerialized003") == 0) {
|
||||
return (void *)(ISteamNetworkingSocketsSerialized003 *)steam_networking_sockets_serialized_temp;
|
||||
} else if (strcmp(pchVersion, "SteamNetworkingSocketsSerialized004") == 0) {
|
||||
return (void *)(ISteamNetworkingSocketsSerialized004 *)steam_networking_sockets_serialized_temp;
|
||||
} else {
|
||||
return (void *)(ISteamNetworkingSocketsSerialized003 *)steam_networking_sockets_serialized_temp;
|
||||
return (void *)(ISteamNetworkingSocketsSerialized004 *)steam_networking_sockets_serialized_temp;
|
||||
}
|
||||
} else if (strstr(pchVersion, "SteamNetworkingSockets") == pchVersion) {
|
||||
Steam_Networking_Sockets *steam_networking_sockets_temp;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
class Steam_Networking_Sockets_Serialized :
|
||||
public ISteamNetworkingSocketsSerialized002,
|
||||
public ISteamNetworkingSocketsSerialized003
|
||||
public ISteamNetworkingSocketsSerialized003,
|
||||
public ISteamNetworkingSocketsSerialized004
|
||||
{
|
||||
class Settings *settings;
|
||||
class Networking *network;
|
||||
|
|
@ -116,6 +117,17 @@ void PostConnectionStateMsg( const void *pMsg, uint32 cbMsg )
|
|||
PRINT_DEBUG("Steam_Networking_Sockets_Serialized::PostConnectionStateMsg\n");
|
||||
}
|
||||
|
||||
bool GetSTUNServer(int dont_know, char *buf, unsigned int len)
|
||||
{
|
||||
PRINT_DEBUG("Steam_Networking_Sockets_Serialized::GetSTUNServer %i %p %u\n", dont_know, buf, len);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool BAllowDirectConnectToPeer(SteamNetworkingIdentity const &identity)
|
||||
{
|
||||
PRINT_DEBUG("Steam_Networking_Sockets_Serialized::BAllowDirectConnectToPeer\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
void RunCallbacks()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue