mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-26 21:41:19 +03:00
ISteamInput.GetConnectedControllers is an array
This commit is contained in:
parent
77f3e09e98
commit
1ac22e1407
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user