Added AdvertiseGame to SteamUsers for use in clients.

This commit is contained in:
Jason Thompson 2021-09-30 17:50:45 -05:00
parent 141dbfdaa1
commit 406a41f228

View File

@ -434,6 +434,12 @@ namespace Steamworks
/// </summary>
public static bool IsPhoneRequiringVerification => Internal.BIsPhoneRequiringVerification();
/// <summary>
/// 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.
/// </summary>
public static void AdvertiseGame( SteamId steamId, uint ipServer, ushort portServer ) => Internal.AdvertiseGame( steamId, ipServer, portServer );
/// <summary>
/// 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 };
}
}
}
}