diff --git a/Facepunch.Steamworks/SteamUser.cs b/Facepunch.Steamworks/SteamUser.cs index e481d84..c9e6016 100644 --- a/Facepunch.Steamworks/SteamUser.cs +++ b/Facepunch.Steamworks/SteamUser.cs @@ -434,6 +434,12 @@ namespace Steamworks /// public static bool IsPhoneRequiringVerification => Internal.BIsPhoneRequiringVerification(); + /// + /// Sets the rich presence data for an unsecured game server that the user is playing on. + /// This allows friends to be able to view the game info and join your game. + /// + public static void AdvertiseGame( SteamId steamId, uint ipServer, ushort portServer ) => Internal.AdvertiseGame( steamId, ipServer, portServer ); + /// /// Requests an application ticket encrypted with the secret "encrypted app ticket key". /// The encryption key can be obtained from the Encrypted App Ticket Key page on the App Admin for your app. @@ -510,4 +516,4 @@ namespace Steamworks return new DurationControl { _inner = response.Value }; } } -} \ No newline at end of file +}