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
+14 -4
View File
@@ -83,14 +83,24 @@ namespace Steamworks
//
// Get other interfaces
//
if ( !SteamInternal.GameServer_Init( ipaddress, 0, init.GamePort, init.QueryPort, (int)init.Mode, init.VersionString ) )
var interfaceVersions = Helpers.BuildVersionString(
ISteamGameServer.Version,
ISteamUtils.Version,
ISteamNetworking.Version,
ISteamGameServerStats.Version,
ISteamInventory.Version,
ISteamUGC.Version,
ISteamApps.Version,
ISteamNetworkingUtils.Version,
ISteamNetworkingSockets.Version );
var result = SteamInternal.GameServer_Init( ipaddress, init.GamePort, init.QueryPort, (int)init.Mode, init.VersionString, interfaceVersions, out var error );
if ( result != SteamAPIInitResult.OK )
{
throw new System.Exception( $"InitGameServer returned false ({ipaddress},{0},{init.GamePort},{init.QueryPort},{init.Mode},\"{init.VersionString}\")" );
throw new System.Exception( $"InitGameServer({ipaddress},{init.GamePort},{init.QueryPort},{init.Mode},\"{init.VersionString}\") returned false - error: {error}" );
}
//
// Dispatch is responsible for pumping the
// event loop.
// Dispatch is responsible for pumping the event loop.
//
Dispatch.Init();
Dispatch.ServerPipe = SteamGameServer.GetHSteamPipe();