mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 13:45:37 +03:00
Added SteamAPI_RestartAppIfNecessary to missing
This commit is contained in:
parent
892edf371e
commit
5890fea9e6
@ -686,6 +686,7 @@ internal interface Interface : IDisposable
|
||||
HSteamUser /*(HSteamUser)*/ SteamApi_SteamGameServer_GetHSteamUser();
|
||||
HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamGameServer_GetHSteamPipe();
|
||||
IntPtr /*void **/ SteamApi_SteamInternal_CreateInterface( string /*const char **/ version );
|
||||
bool /*bool*/ SteamApi_SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4103,6 +4103,10 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
||||
{
|
||||
return Native.SteamInternal_CreateInterface(version);
|
||||
}
|
||||
public virtual bool /*bool*/ SteamApi_SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID )
|
||||
{
|
||||
return Native.SteamAPI_RestartAppIfNecessary(unOwnAppID);
|
||||
}
|
||||
|
||||
internal static unsafe class Native
|
||||
{
|
||||
@ -4876,6 +4880,7 @@ internal static unsafe class Native
|
||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser();
|
||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe();
|
||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
|
||||
[DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID );
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -4103,6 +4103,10 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
||||
{
|
||||
return Native.SteamInternal_CreateInterface(version);
|
||||
}
|
||||
public virtual bool /*bool*/ SteamApi_SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID )
|
||||
{
|
||||
return Native.SteamAPI_RestartAppIfNecessary(unOwnAppID);
|
||||
}
|
||||
|
||||
internal static unsafe class Native
|
||||
{
|
||||
@ -4876,6 +4880,7 @@ internal static unsafe class Native
|
||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser();
|
||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe();
|
||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
|
||||
[DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID );
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -4103,6 +4103,10 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
||||
{
|
||||
return Native.SteamInternal_CreateInterface(version);
|
||||
}
|
||||
public virtual bool /*bool*/ SteamApi_SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID )
|
||||
{
|
||||
return Native.SteamAPI_RestartAppIfNecessary(unOwnAppID);
|
||||
}
|
||||
|
||||
internal static unsafe class Native
|
||||
{
|
||||
@ -4876,6 +4880,7 @@ internal static unsafe class Native
|
||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser();
|
||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe();
|
||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
|
||||
[DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID );
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -4069,6 +4069,10 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
||||
{
|
||||
return Native.SteamInternal_CreateInterface(version);
|
||||
}
|
||||
public virtual bool /*bool*/ SteamApi_SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID )
|
||||
{
|
||||
return Native.SteamAPI_RestartAppIfNecessary(unOwnAppID);
|
||||
}
|
||||
|
||||
internal static unsafe class Native
|
||||
{
|
||||
@ -4842,6 +4846,7 @@ internal static unsafe class Native
|
||||
[DllImportAttribute( "steam_api.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser();
|
||||
[DllImportAttribute( "steam_api.dll" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe();
|
||||
[DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
|
||||
[DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID );
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -4069,6 +4069,10 @@ public virtual IntPtr ISteamController_GetGlyphForActionOrigin( ControllerAction
|
||||
{
|
||||
return Native.SteamInternal_CreateInterface(version);
|
||||
}
|
||||
public virtual bool /*bool*/ SteamApi_SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID )
|
||||
{
|
||||
return Native.SteamAPI_RestartAppIfNecessary(unOwnAppID);
|
||||
}
|
||||
|
||||
internal static unsafe class Native
|
||||
{
|
||||
@ -4842,6 +4846,7 @@ internal static unsafe class Native
|
||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser();
|
||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe();
|
||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
|
||||
[DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_RestartAppIfNecessary( uint /*uint32*/ unOwnAppID );
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -73,6 +73,12 @@ public void SteamAPI_RegisterCallResult( IntPtr pCallback /*void **/, SteamAPICa
|
||||
platform.SteamApi_SteamAPI_RegisterCallResult( (IntPtr) pCallback, callback.Value );
|
||||
}
|
||||
|
||||
// bool
|
||||
public bool SteamAPI_RestartAppIfNecessary( uint unOwnAppID /*uint32*/ )
|
||||
{
|
||||
return platform.SteamApi_SteamAPI_RestartAppIfNecessary( unOwnAppID );
|
||||
}
|
||||
|
||||
// void
|
||||
public void SteamAPI_RunCallbacks()
|
||||
{
|
||||
|
@ -210,6 +210,20 @@
|
||||
paramtype: "const char *"
|
||||
}
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
NeedsSelfPointer: false,
|
||||
classname: "SteamApi",
|
||||
methodname: "SteamAPI_RestartAppIfNecessary",
|
||||
returntype: "bool",
|
||||
params:
|
||||
[
|
||||
{
|
||||
paramname: "unOwnAppID",
|
||||
paramtype: "uint32"
|
||||
}
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user