From 45471330d4f6863ad926a07b91420ababb5a6cd0 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Tue, 7 May 2019 17:41:36 +0100 Subject: [PATCH] Regions in SteamNetworkingSockets --- Facepunch.Steamworks/SteamNetworkingSockets.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/SteamNetworkingSockets.cs b/Facepunch.Steamworks/SteamNetworkingSockets.cs index cf9e344..2b9d9a3 100644 --- a/Facepunch.Steamworks/SteamNetworkingSockets.cs +++ b/Facepunch.Steamworks/SteamNetworkingSockets.cs @@ -28,6 +28,8 @@ namespace Steamworks } } + #region SocketInterface + static Dictionary 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 ConnectionInterfaces; @@ -69,6 +72,7 @@ namespace Steamworks if ( id == 0 ) throw new System.ArgumentException( "Invalid Connection" ); ConnectionInterfaces[id] = iface; } + #endregion internal static void Shutdown() {