diff --git a/Facepunch.Steamworks/SteamServer.cs b/Facepunch.Steamworks/SteamServer.cs index 0ddb8dc..544b43a 100644 --- a/Facepunch.Steamworks/SteamServer.cs +++ b/Facepunch.Steamworks/SteamServer.cs @@ -444,8 +444,16 @@ public static unsafe void HandleIncomingPacket( byte[] data, int size, uint addr { fixed ( byte* ptr = data ) { - Internal.HandleIncomingPacket( (IntPtr)ptr, size, address, port ); + HandleIncomingPacket( (IntPtr)ptr, size, address, port ); } } + + /// + /// We have received a server query on our game port. Pass it to Steam to handle. + /// + public static unsafe void HandleIncomingPacket( IntPtr ptr, int size, uint address, ushort port ) + { + Internal.HandleIncomingPacket( ptr, size, address, port ); + } } } \ No newline at end of file