From 5d944374b291e45c94460d7b29b5df0cd6a63079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Straubmeier?= Date: Wed, 24 Nov 2021 10:19:26 +0100 Subject: [PATCH] RequestFakeIP / GetFakeIP comment fixes --- Facepunch.Steamworks/SteamNetworkingSockets.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Facepunch.Steamworks/SteamNetworkingSockets.cs b/Facepunch.Steamworks/SteamNetworkingSockets.cs index f59afee..790b8ff 100644 --- a/Facepunch.Steamworks/SteamNetworkingSockets.cs +++ b/Facepunch.Steamworks/SteamNetworkingSockets.cs @@ -272,7 +272,12 @@ namespace Steamworks } /// - /// Return info about the FakeIP and port that we have been assigned, if any. + /// Begin asynchronous process of allocating a fake IPv4 address that other + /// peers can use to contact us via P2P. IP addresses returned by this + /// function are globally unique for a given appid. + /// + /// For gameservers, you *must* call this after initializing the SDK but before + /// beginning login. Steam needs to know in advance that FakeIP will be used. /// public static bool RequestFakeIP( int numFakePorts = 1 ) { @@ -280,9 +285,8 @@ namespace Steamworks } /// - /// Begin asynchronous process of allocating a fake IPv4 address that other - /// peers can use to contact us via P2P. IP addresses returned by this - /// function are globally unique for a given appid. + /// Return info about the FakeIP and port that we have been assigned, if any. + /// /// public static Result GetFakeIP( int fakePortIndex, out NetAddress address ) {