Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions
@@ -44,8 +44,8 @@ namespace Barotrauma.Steam
#region Auth ticket for EOS host
private const string EosHostAuthIdentity = "BarotraumaRemotePlayerAuth";
private static Option<Steamworks.AuthTicketForWebApi> currentEosHostAuthTicket = Option.None;
public static async Task<Option<Steamworks.AuthTicketForWebApi>> GetAuthTicketForEosHostAuth()
private static Option<Steamworks.AuthTicket> currentEosHostAuthTicket = Option.None;
public static async Task<Option<Steamworks.AuthTicket>> GetAuthTicketForEosHostAuth()
{
if (!IsInitialized)
{
@@ -58,7 +58,7 @@ namespace Barotrauma.Steam
}
currentEosHostAuthTicket = Option.None;
var newTicket = await Steamworks.SteamUser.GetAuthTicketForWebApi(identity: EosHostAuthIdentity);
var newTicket = await Steamworks.SteamUser.GetAuthTicketForWebApiAsync(identity: EosHostAuthIdentity);
currentEosHostAuthTicket = newTicket != null
? Option.Some(newTicket)
@@ -71,8 +71,8 @@ namespace Barotrauma.Steam
#region Auth ticket for GameAnalytics consent server
private const string GameAnalyticsConsentIdentity = "BarotraumaGameAnalyticsConsent";
private static Option<Steamworks.AuthTicketForWebApi> currentGameAnalyticsConsentTicket = Option.None;
public static async Task<Option<Steamworks.AuthTicketForWebApi>> GetAuthTicketForGameAnalyticsConsent()
private static Option<Steamworks.AuthTicket> currentGameAnalyticsConsentTicket = Option.None;
public static async Task<Option<Steamworks.AuthTicket>> GetAuthTicketForGameAnalyticsConsent()
{
if (!IsInitialized)
{
@@ -85,7 +85,7 @@ namespace Barotrauma.Steam
}
currentGameAnalyticsConsentTicket = Option.None;
var newTicket = await Steamworks.SteamUser.GetAuthTicketForWebApi(identity: GameAnalyticsConsentIdentity);
var newTicket = await Steamworks.SteamUser.GetAuthTicketForWebApiAsync(identity: GameAnalyticsConsentIdentity);
currentGameAnalyticsConsentTicket = newTicket != null
? Option.Some(newTicket)
@@ -247,6 +247,9 @@ namespace Barotrauma.Steam
//this should be run even if SteamManager is uninitialized
//servers need to be able to notify clients of unlocked talents even if the server isn't connected to Steam
AchievementManager.Update(deltaTime);
#if CLIENT
SteamTimelineManager.Update(deltaTime);
#endif
if (!IsInitialized) { return; }