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
+29 -4
View File
@@ -23,9 +23,32 @@ namespace Steamworks
System.Environment.SetEnvironmentVariable( "SteamAppId", appid.ToString() );
System.Environment.SetEnvironmentVariable( "SteamGameId", appid.ToString() );
if ( !SteamAPI.Init() )
var interfaceVersions = Helpers.BuildVersionString(
ISteamApps.Version,
ISteamFriends.Version,
ISteamInput.Version,
ISteamInventory.Version,
ISteamMatchmaking.Version,
ISteamMatchmakingServers.Version,
ISteamMusic.Version,
ISteamNetworking.Version,
ISteamNetworkingSockets.Version,
ISteamNetworkingUtils.Version,
ISteamParentalSettings.Version,
ISteamParties.Version,
ISteamRemoteStorage.Version,
ISteamScreenshots.Version,
ISteamUGC.Version,
ISteamUser.Version,
ISteamUserStats.Version,
ISteamUtils.Version,
ISteamVideo.Version,
ISteamRemotePlay.Version,
ISteamTimeline.Version );
var result = SteamAPI.Init( interfaceVersions, out var error );
if ( result != SteamAPIInitResult.OK )
{
throw new System.Exception( "SteamApi_Init returned false. Steam isn't running, couldn't find Steam, App ID is ureleased, Don't own App ID." );
throw new System.Exception( $"SteamApi_Init failed with {result} - error: {error}" );
}
AppId = appid;
@@ -33,12 +56,12 @@ namespace Steamworks
initialized = true;
//
// Dispatch is responsible for pumping the
// event loop.
// Dispatch is responsible for pumping the event loop.
//
Dispatch.Init();
Dispatch.ClientPipe = SteamAPI.GetHSteamPipe();
// Note: don't forget to add the interface version to SteamAPI.Init above!!!
AddInterface<SteamApps>();
AddInterface<SteamFriends>();
AddInterface<SteamInput>();
@@ -59,6 +82,8 @@ namespace Steamworks
AddInterface<SteamUtils>();
AddInterface<SteamVideo>();
AddInterface<SteamRemotePlay>();
AddInterface<SteamTimeline>();
// Note: don't forget to add the interface version to SteamAPI.Init above!!!
initialized = openInterfaces.Count > 0;