diff --git a/Facepunch.Steamworks/Generated/Interfaces/ISteamInput.cs b/Facepunch.Steamworks/Generated/Interfaces/ISteamInput.cs index daf8409..b329417 100644 --- a/Facepunch.Steamworks/Generated/Interfaces/ISteamInput.cs +++ b/Facepunch.Steamworks/Generated/Interfaces/ISteamInput.cs @@ -129,13 +129,13 @@ namespace Steamworks #region FunctionMeta [UnmanagedFunctionPointer( CallingConvention.ThisCall )] - private delegate int FGetConnectedControllers( IntPtr self, ref InputHandle_t handlesOut ); + private delegate int FGetConnectedControllers( IntPtr self, [In,Out] InputHandle_t[] handlesOut ); private FGetConnectedControllers _GetConnectedControllers; #endregion - internal int GetConnectedControllers( ref InputHandle_t handlesOut ) + internal int GetConnectedControllers( [In,Out] InputHandle_t[] handlesOut ) { - return _GetConnectedControllers( Self, ref handlesOut ); + return _GetConnectedControllers( Self, handlesOut ); } #region FunctionMeta @@ -206,13 +206,13 @@ namespace Steamworks #region FunctionMeta [UnmanagedFunctionPointer( CallingConvention.ThisCall )] - private delegate int FGetActiveActionSetLayers( IntPtr self, InputHandle_t inputHandle, ref InputActionSetHandle_t handlesOut ); + private delegate int FGetActiveActionSetLayers( IntPtr self, InputHandle_t inputHandle, [In,Out] InputActionSetHandle_t[] handlesOut ); private FGetActiveActionSetLayers _GetActiveActionSetLayers; #endregion - internal int GetActiveActionSetLayers( InputHandle_t inputHandle, ref InputActionSetHandle_t handlesOut ) + internal int GetActiveActionSetLayers( InputHandle_t inputHandle, [In,Out] InputActionSetHandle_t[] handlesOut ) { - return _GetActiveActionSetLayers( Self, inputHandle, ref handlesOut ); + return _GetActiveActionSetLayers( Self, inputHandle, handlesOut ); } #region FunctionMeta diff --git a/Generator/CodeWriter/Types/BaseType.cs b/Generator/CodeWriter/Types/BaseType.cs index 5b89b10..a5e8ba0 100644 --- a/Generator/CodeWriter/Types/BaseType.cs +++ b/Generator/CodeWriter/Types/BaseType.cs @@ -91,6 +91,7 @@ internal class BaseType if ( VarName == "pBasePrices" ) return true; if ( VarName == "pCurrentPrices" ) return true; if ( VarName == "pItemDefIDs" ) return true; + if ( VarName == "handlesOut" ) return true; if ( VarName == "pDetails" && Func == "GetDownloadedLeaderboardEntry" ) return true; if ( VarName == "pData" && NativeType.EndsWith( "*" ) && Func.StartsWith( "GetGlobalStatHistory" ) ) return true; if ( NativeType.EndsWith( "**" ) ) return true;