From d671e3eaa16bdc331475e44785813a17556bccd3 Mon Sep 17 00:00:00 2001 From: Riley Labrecque Date: Sun, 15 Oct 2017 13:10:59 -0400 Subject: [PATCH] Made the GameServerApps version of GetInstalledDepots return an array Fixes #192 --- Plugins/Steamworks.NET/autogen/isteamgameserverapps.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Steamworks.NET/autogen/isteamgameserverapps.cs b/Plugins/Steamworks.NET/autogen/isteamgameserverapps.cs index 08bdaaf8..3bff951a 100644 --- a/Plugins/Steamworks.NET/autogen/isteamgameserverapps.cs +++ b/Plugins/Steamworks.NET/autogen/isteamgameserverapps.cs @@ -144,9 +144,9 @@ public static bool MarkContentCorrupt(bool bMissingFilesOnly) { /// /// return installed depots in mount order /// - public static uint GetInstalledDepots(AppId_t appID, out DepotId_t pvecDepots, uint cMaxDepots) { + public static uint GetInstalledDepots(AppId_t appID, DepotId_t[] pvecDepots, uint cMaxDepots) { InteropHelp.TestIfAvailableGameServer(); - return NativeMethods.ISteamApps_GetInstalledDepots(CSteamGameServerAPIContext.GetSteamApps(), appID, out pvecDepots, cMaxDepots); + return NativeMethods.ISteamApps_GetInstalledDepots(CSteamGameServerAPIContext.GetSteamApps(), appID, pvecDepots, cMaxDepots); } ///