mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 07:38:06 +03:00
Regions in SteamNetworkingSockets
This commit is contained in:
parent
82fe950bbf
commit
45471330d4
@ -28,6 +28,8 @@ namespace Steamworks
|
||||
}
|
||||
}
|
||||
|
||||
#region SocketInterface
|
||||
|
||||
static Dictionary<uint, SocketInterface> SocketInterfaces;
|
||||
|
||||
internal static SocketInterface GetSocketInterface( uint id )
|
||||
@ -48,8 +50,9 @@ namespace Steamworks
|
||||
Console.WriteLine( $"Installing Socket For {id}" );
|
||||
SocketInterfaces[id] = iface;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region ConnectionInterface
|
||||
static Dictionary<uint, ConnectionInterface> ConnectionInterfaces;
|
||||
|
||||
|
||||
@ -69,6 +72,7 @@ namespace Steamworks
|
||||
if ( id == 0 ) throw new System.ArgumentException( "Invalid Connection" );
|
||||
ConnectionInterfaces[id] = iface;
|
||||
}
|
||||
#endregion
|
||||
|
||||
internal static void Shutdown()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user