diff --git a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs index aaa6453..f13e9eb 100644 --- a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs +++ b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs @@ -29,424 +29,424 @@ public virtual void Dispose() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateSteamPipe(_ptr); + return Native.SteamAPI_ISteamClient_CreateSteamPipe(_ptr); } public virtual bool /*bool*/ ISteamClient_BReleaseSteamPipe( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BReleaseSteamPipe(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_BReleaseSteamPipe(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_ConnectToGlobalUser( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.ConnectToGlobalUser(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_ConnectToGlobalUser(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_CreateLocalUser( out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateLocalUser(_ptr, out phSteamPipe, eAccountType); + return Native.SteamAPI_ISteamClient_CreateLocalUser(_ptr, out phSteamPipe, eAccountType); } public virtual void /*void*/ ISteamClient_ReleaseUser( int hSteamPipe, int hUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.ReleaseUser(_ptr, hSteamPipe, hUser); + Native.SteamAPI_ISteamClient_ReleaseUser(_ptr, hSteamPipe, hUser); } public virtual IntPtr /*class ISteamUser **/ ISteamClient_GetISteamUser( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServer **/ ISteamClient_GetISteamGameServer( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual void /*void*/ ISteamClient_SetLocalIPBinding( uint /*uint32*/ unIP, ushort /*uint16*/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetLocalIPBinding(_ptr, unIP, usPort); + Native.SteamAPI_ISteamClient_SetLocalIPBinding(_ptr, unIP, usPort); } public virtual IntPtr /*class ISteamFriends **/ ISteamClient_GetISteamFriends( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUtils **/ ISteamClient_GetISteamUtils( int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUtils(_ptr, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUtils(_ptr, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmaking **/ ISteamClient_GetISteamMatchmaking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmakingServers **/ ISteamClient_GetISteamMatchmakingServers( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*void **/ ISteamClient_GetISteamGenericInterface( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUserStats **/ ISteamClient_GetISteamUserStats( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServerStats **/ ISteamClient_GetISteamGameServerStats( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamApps **/ ISteamClient_GetISteamApps( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamNetworking **/ ISteamClient_GetISteamNetworking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamRemoteStorage **/ ISteamClient_GetISteamRemoteStorage( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamScreenshots **/ ISteamClient_GetISteamScreenshots( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual uint /*uint32*/ ISteamClient_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamClient_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamClient_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamClient_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamClient_BShutdownIfAllPipesClosed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BShutdownIfAllPipesClosed(_ptr); + return Native.SteamAPI_ISteamClient_BShutdownIfAllPipesClosed(_ptr); } public virtual IntPtr /*class ISteamHTTP **/ ISteamClient_GetISteamHTTP( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUnifiedMessages **/ ISteamClient_GetISteamUnifiedMessages( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamController **/ ISteamClient_GetISteamController( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUGC **/ ISteamClient_GetISteamUGC( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamAppList **/ ISteamClient_GetISteamAppList( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusic **/ ISteamClient_GetISteamMusic( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusicRemote **/ ISteamClient_GetISteamMusicRemote( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamHTMLSurface **/ ISteamClient_GetISteamHTMLSurface( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamInventory **/ ISteamClient_GetISteamInventory( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamVideo **/ ISteamClient_GetISteamVideo( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual HSteamUser /*(HSteamUser)*/ ISteamUser_GetHSteamUser() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetHSteamUser(_ptr); + return Native.SteamAPI_ISteamUser_GetHSteamUser(_ptr); } public virtual bool /*bool*/ ISteamUser_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamUser_BLoggedOn(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamUser_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetSteamID(_ptr); + return Native.SteamAPI_ISteamUser_GetSteamID(_ptr); } public virtual int /*int*/ ISteamUser_InitiateGameConnection( IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + return Native.SteamAPI_ISteamUser_InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); } public virtual void /*void*/ ISteamUser_TerminateGameConnection( uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TerminateGameConnection(_ptr, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_TerminateGameConnection(_ptr, unIPServer, usPortServer); } public virtual void /*void*/ ISteamUser_TrackAppUsageEvent( ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); + Native.SteamAPI_ISteamUser_TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); } public virtual bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetUserDataFolder(_ptr, pchBuffer, cubBuffer); + return Native.SteamAPI_ISteamUser_GetUserDataFolder(_ptr, pchBuffer, cubBuffer); } public virtual void /*void*/ ISteamUser_StartVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StartVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StartVoiceRecording(_ptr); } public virtual void /*void*/ ISteamUser_StopVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StopVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); + return Native.SteamAPI_ISteamUser_DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); } public virtual uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoiceOptimalSampleRate(_ptr); + return Native.SteamAPI_ISteamUser_GetVoiceOptimalSampleRate(_ptr); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamUser_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamUser_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamUser_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamUser_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamUser_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamUser_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamUser_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamUser_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamUser_BIsBehindNAT() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsBehindNAT(_ptr); + return Native.SteamAPI_ISteamUser_BIsBehindNAT(_ptr); } public virtual void /*void*/ ISteamUser_AdvertiseGame( ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestEncryptedAppTicket( IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); + return Native.SteamAPI_ISteamUser_RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); } public virtual bool /*bool*/ ISteamUser_GetEncryptedAppTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual int /*int*/ ISteamUser_GetGameBadgeLevel( int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetGameBadgeLevel(_ptr, nSeries, bFoil); + return Native.SteamAPI_ISteamUser_GetGameBadgeLevel(_ptr, nSeries, bFoil); } public virtual int /*int*/ ISteamUser_GetPlayerSteamLevel() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetPlayerSteamLevel(_ptr); + return Native.SteamAPI_ISteamUser_GetPlayerSteamLevel(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestStoreAuthURL( string /*const char **/ pchRedirectURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestStoreAuthURL(_ptr, pchRedirectURL); + return Native.SteamAPI_ISteamUser_RequestStoreAuthURL(_ptr, pchRedirectURL); } public virtual bool /*bool*/ ISteamUser_BIsPhoneVerified() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneVerified(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneVerified(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsTwoFactorEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsTwoFactorEnabled(_ptr); + return Native.SteamAPI_ISteamUser_BIsTwoFactorEnabled(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneIdentifying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneIdentifying(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneIdentifying(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneRequiringVerification() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneRequiringVerification(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneRequiringVerification(_ptr); } public virtual IntPtr ISteamFriends_GetPersonaName() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaName(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaName(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_SetPersonaName( string /*const char **/ pchPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetPersonaName(_ptr, pchPersonaName); + return Native.SteamAPI_ISteamFriends_SetPersonaName(_ptr, pchPersonaName); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetPersonaState() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaState(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaState(_ptr); } public virtual int /*int*/ ISteamFriends_GetFriendCount( int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCount(_ptr, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendCount(_ptr, iFriendFlags); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendByIndex( int /*int*/ iFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendByIndex(_ptr, iFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendByIndex(_ptr, iFriend, iFriendFlags); } public virtual FriendRelationship /*EFriendRelationship*/ ISteamFriends_GetFriendRelationship( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRelationship(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRelationship(_ptr, steamIDFriend); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetFriendPersonaState( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaState(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaState(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendPersonaName( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaName(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaName(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_GetFriendGamePlayed( ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); var pFriendGameInfo_ps = new FriendGameInfo_t.PackSmall(); - var ret = Native.ISteamFriends.GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo_ps); + var ret = Native.SteamAPI_ISteamFriends_GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo_ps); pFriendGameInfo = pFriendGameInfo_ps; return ret; } @@ -454,1050 +454,1050 @@ public virtual IntPtr ISteamFriends_GetFriendPersonaNameHistory( ulong steamIDFr { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); } public virtual int /*int*/ ISteamFriends_GetFriendSteamLevel( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendSteamLevel(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendSteamLevel(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetPlayerNickname( ulong steamIDPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPlayerNickname(_ptr, steamIDPlayer); + return Native.SteamAPI_ISteamFriends_GetPlayerNickname(_ptr, steamIDPlayer); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupCount(_ptr); } public virtual FriendsGroupID_t /*(FriendsGroupID_t)*/ ISteamFriends_GetFriendsGroupIDByIndex( int /*int*/ iFG ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupIDByIndex(_ptr, iFG); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex(_ptr, iFG); } public virtual IntPtr ISteamFriends_GetFriendsGroupName( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupName(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupName(_ptr, friendsGroupID); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupMembersCount( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupMembersCount(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersCount(_ptr, friendsGroupID); } public virtual void /*void*/ ISteamFriends_GetFriendsGroupMembersList( short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); + Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); } public virtual bool /*bool*/ ISteamFriends_HasFriend( ulong steamIDFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.HasFriend(_ptr, steamIDFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_HasFriend(_ptr, steamIDFriend, iFriendFlags); } public virtual int /*int*/ ISteamFriends_GetClanCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetClanCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanByIndex( int /*int*/ iClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanByIndex(_ptr, iClan); + return Native.SteamAPI_ISteamFriends_GetClanByIndex(_ptr, iClan); } public virtual IntPtr ISteamFriends_GetClanName( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanName(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanName(_ptr, steamIDClan); } public virtual IntPtr ISteamFriends_GetClanTag( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanTag(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanTag(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_GetClanActivityCounts( ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); + return Native.SteamAPI_ISteamFriends_GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_DownloadClanActivityCounts( IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); + return Native.SteamAPI_ISteamFriends_DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); } public virtual int /*int*/ ISteamFriends_GetFriendCountFromSource( ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCountFromSource(_ptr, steamIDSource); + return Native.SteamAPI_ISteamFriends_GetFriendCountFromSource(_ptr, steamIDSource); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendFromSourceByIndex( ulong steamIDSource, int /*int*/ iFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); + return Native.SteamAPI_ISteamFriends_GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); } public virtual bool /*bool*/ ISteamFriends_IsUserInSource( ulong steamIDUser, ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsUserInSource(_ptr, steamIDUser, steamIDSource); + return Native.SteamAPI_ISteamFriends_IsUserInSource(_ptr, steamIDUser, steamIDSource); } public virtual void /*void*/ ISteamFriends_SetInGameVoiceSpeaking( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); + Native.SteamAPI_ISteamFriends_SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlay( string /*const char **/ pchDialog ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlay(_ptr, pchDialog); + Native.SteamAPI_ISteamFriends_ActivateGameOverlay(_ptr, pchDialog); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToUser( string /*const char **/ pchDialog, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToUser(_ptr, pchDialog, steamID); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToUser(_ptr, pchDialog, steamID); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToWebPage( string /*const char **/ pchURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToWebPage(_ptr, pchURL); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage(_ptr, pchURL); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToStore( uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToStore(_ptr, nAppID, eFlag); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToStore(_ptr, nAppID, eFlag); } public virtual void /*void*/ ISteamFriends_SetPlayedWith( ulong steamIDUserPlayedWith ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetPlayedWith(_ptr, steamIDUserPlayedWith); + Native.SteamAPI_ISteamFriends_SetPlayedWith(_ptr, steamIDUserPlayedWith); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayInviteDialog( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); } public virtual int /*int*/ ISteamFriends_GetSmallFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetSmallFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetSmallFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetMediumFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetMediumFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetMediumFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetLargeFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetLargeFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetLargeFriendAvatar(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_RequestUserInformation( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); + return Native.SteamAPI_ISteamFriends_RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_RequestClanOfficerList( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestClanOfficerList(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_RequestClanOfficerList(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOwner( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOwner(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOwner(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanOfficerCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOfficerCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOfficerByIndex( ulong steamIDClan, int /*int*/ iOfficer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); + return Native.SteamAPI_ISteamFriends_GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); } public virtual uint /*uint32*/ ISteamFriends_GetUserRestrictions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetUserRestrictions(_ptr); + return Native.SteamAPI_ISteamFriends_GetUserRestrictions(_ptr); } public virtual bool /*bool*/ ISteamFriends_SetRichPresence( string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetRichPresence(_ptr, pchKey, pchValue); + return Native.SteamAPI_ISteamFriends_SetRichPresence(_ptr, pchKey, pchValue); } public virtual void /*void*/ ISteamFriends_ClearRichPresence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ClearRichPresence(_ptr); + Native.SteamAPI_ISteamFriends_ClearRichPresence(_ptr); } public virtual IntPtr ISteamFriends_GetFriendRichPresence( ulong steamIDFriend, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresence(_ptr, steamIDFriend, pchKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresence(_ptr, steamIDFriend, pchKey); } public virtual int /*int*/ ISteamFriends_GetFriendRichPresenceKeyCount( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendRichPresenceKeyByIndex( ulong steamIDFriend, int /*int*/ iKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); } public virtual void /*void*/ ISteamFriends_RequestFriendRichPresence( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.RequestFriendRichPresence(_ptr, steamIDFriend); + Native.SteamAPI_ISteamFriends_RequestFriendRichPresence(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_InviteUserToGame( ulong steamIDFriend, string /*const char **/ pchConnectString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.InviteUserToGame(_ptr, steamIDFriend, pchConnectString); + return Native.SteamAPI_ISteamFriends_InviteUserToGame(_ptr, steamIDFriend, pchConnectString); } public virtual int /*int*/ ISteamFriends_GetCoplayFriendCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriendCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetCoplayFriendCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetCoplayFriend( int /*int*/ iCoplayFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriend(_ptr, iCoplayFriend); + return Native.SteamAPI_ISteamFriends_GetCoplayFriend(_ptr, iCoplayFriend); } public virtual int /*int*/ ISteamFriends_GetFriendCoplayTime( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayTime(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayTime(_ptr, steamIDFriend); } public virtual AppId_t /*(AppId_t)*/ ISteamFriends_GetFriendCoplayGame( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayGame(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayGame(_ptr, steamIDFriend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_JoinClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.JoinClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_JoinClanChatRoom(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_LeaveClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.LeaveClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_LeaveClanChatRoom(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanChatMemberCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMemberCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanChatMemberCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetChatMemberByIndex( ulong steamIDClan, int /*int*/ iUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetChatMemberByIndex(_ptr, steamIDClan, iUser); + return Native.SteamAPI_ISteamFriends_GetChatMemberByIndex(_ptr, steamIDClan, iUser); } public virtual bool /*bool*/ ISteamFriends_SendClanChatMessage( ulong steamIDClanChat, string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SendClanChatMessage(_ptr, steamIDClanChat, pchText); + return Native.SteamAPI_ISteamFriends_SendClanChatMessage(_ptr, steamIDClanChat, pchText); } public virtual int /*int*/ ISteamFriends_GetClanChatMessage( ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); + return Native.SteamAPI_ISteamFriends_GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); } public virtual bool /*bool*/ ISteamFriends_IsClanChatAdmin( ulong steamIDClanChat, ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); + return Native.SteamAPI_ISteamFriends_IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); } public virtual bool /*bool*/ ISteamFriends_IsClanChatWindowOpenInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_OpenClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.OpenClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_OpenClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_CloseClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.CloseClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_CloseClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_SetListenForFriendsMessages( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetListenForFriendsMessages(_ptr, bInterceptEnabled); + return Native.SteamAPI_ISteamFriends_SetListenForFriendsMessages(_ptr, bInterceptEnabled); } public virtual bool /*bool*/ ISteamFriends_ReplyToFriendMessage( ulong steamIDFriend, string /*const char **/ pchMsgToSend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); + return Native.SteamAPI_ISteamFriends_ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); } public virtual int /*int*/ ISteamFriends_GetFriendMessage( ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamFriends_GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_GetFollowerCount( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFollowerCount(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_GetFollowerCount(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_IsFollowing( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsFollowing(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_IsFollowing(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_EnumerateFollowingList( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.EnumerateFollowingList(_ptr, unStartIndex); + return Native.SteamAPI_ISteamFriends_EnumerateFollowingList(_ptr, unStartIndex); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceAppActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceAppActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceAppActive(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceComputerActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceComputerActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceComputerActive(_ptr); } public virtual Universe /*EUniverse*/ ISteamUtils_GetConnectedUniverse() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetConnectedUniverse(_ptr); + return Native.SteamAPI_ISteamUtils_GetConnectedUniverse(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetServerRealTime() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetServerRealTime(_ptr); + return Native.SteamAPI_ISteamUtils_GetServerRealTime(_ptr); } public virtual IntPtr ISteamUtils_GetIPCountry() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCountry(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCountry(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetImageSize( int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); + return Native.SteamAPI_ISteamUtils_GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); } public virtual bool /*bool*/ ISteamUtils_GetImageRGBA( int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); + return Native.SteamAPI_ISteamUtils_GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); } public virtual bool /*bool*/ ISteamUtils_GetCSERIPPort( out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCSERIPPort(_ptr, out unIP, out usPort); + return Native.SteamAPI_ISteamUtils_GetCSERIPPort(_ptr, out unIP, out usPort); } public virtual byte /*uint8*/ ISteamUtils_GetCurrentBatteryPower() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCurrentBatteryPower(_ptr); + return Native.SteamAPI_ISteamUtils_GetCurrentBatteryPower(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetAppID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAppID(_ptr); + return Native.SteamAPI_ISteamUtils_GetAppID(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationPosition( NotificationPosition /*ENotificationPosition*/ eNotificationPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationPosition(_ptr, eNotificationPosition); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationPosition(_ptr, eNotificationPosition); } public virtual bool /*bool*/ ISteamUtils_IsAPICallCompleted( ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); + return Native.SteamAPI_ISteamUtils_IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); } public virtual SteamAPICallFailure /*ESteamAPICallFailure*/ ISteamUtils_GetAPICallFailureReason( ulong hSteamAPICall ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallFailureReason(_ptr, hSteamAPICall); + return Native.SteamAPI_ISteamUtils_GetAPICallFailureReason(_ptr, hSteamAPICall); } public virtual bool /*bool*/ ISteamUtils_GetAPICallResult( ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); + return Native.SteamAPI_ISteamUtils_GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); } public virtual uint /*uint32*/ ISteamUtils_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamUtils_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamUtils_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamUtils_IsOverlayEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsOverlayEnabled(_ptr); + return Native.SteamAPI_ISteamUtils_IsOverlayEnabled(_ptr); } public virtual bool /*bool*/ ISteamUtils_BOverlayNeedsPresent() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.BOverlayNeedsPresent(_ptr); + return Native.SteamAPI_ISteamUtils_BOverlayNeedsPresent(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUtils_CheckFileSignature( string /*const char **/ szFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.CheckFileSignature(_ptr, szFileName); + return Native.SteamAPI_ISteamUtils_CheckFileSignature(_ptr, szFileName); } public virtual bool /*bool*/ ISteamUtils_ShowGamepadTextInput( GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + return Native.SteamAPI_ISteamUtils_ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); } public virtual uint /*uint32*/ ISteamUtils_GetEnteredGamepadTextLength() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextLength(_ptr); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextLength(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetEnteredGamepadTextInput( System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextInput(_ptr, pchText, cchText); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(_ptr, pchText, cchText); } public virtual IntPtr ISteamUtils_GetSteamUILanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSteamUILanguage(_ptr); + return Native.SteamAPI_ISteamUtils_GetSteamUILanguage(_ptr); } public virtual bool /*bool*/ ISteamUtils_IsSteamRunningInVR() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamRunningInVR(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamRunningInVR(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); } public virtual bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamInBigPictureMode(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamInBigPictureMode(_ptr); } public virtual void /*void*/ ISteamUtils_StartVRDashboard() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.StartVRDashboard(_ptr); + Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr); } public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGameCount(_ptr); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(_ptr); } public virtual bool /*bool*/ ISteamMatchmaking_GetFavoriteGame( int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); } public virtual int /*int*/ ISteamMatchmaking_AddFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); } public virtual bool /*bool*/ ISteamMatchmaking_RemoveFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); + return Native.SteamAPI_ISteamMatchmaking_RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_RequestLobbyList() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyList(_ptr); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyList(_ptr); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListStringFilter( string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNumericalFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNearValueFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( int /*int*/ nSlotsAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListDistanceFilter( LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListResultCountFilter( int /*int*/ cMaxResults ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyByIndex( int /*int*/ iLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyByIndex(_ptr, iLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyByIndex(_ptr, iLobby); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_CreateLobby( LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.CreateLobby(_ptr, eLobbyType, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_CreateLobby(_ptr, eLobbyType, cMaxMembers); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_JoinLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.JoinLobby(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_JoinLobby(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_LeaveLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.LeaveLobby(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_LeaveLobby(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_InviteUserToLobby( ulong steamIDLobby, ulong steamIDInvitee ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); + return Native.SteamAPI_ISteamMatchmaking_InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); } public virtual int /*int*/ ISteamMatchmaking_GetNumLobbyMembers( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetNumLobbyMembers(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetNumLobbyMembers(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyMemberByIndex( ulong steamIDLobby, int /*int*/ iMember ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); } public virtual IntPtr ISteamMatchmaking_GetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyData(_ptr, steamIDLobby, pchKey); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyDataCount( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataCount(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataCount(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyDataByIndex( ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); } public virtual bool /*bool*/ ISteamMatchmaking_DeleteLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.DeleteLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_DeleteLobbyData(_ptr, steamIDLobby, pchKey); } public virtual IntPtr ISteamMatchmaking_GetLobbyMemberData( ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyMemberData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); + Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual bool /*bool*/ ISteamMatchmaking_SendLobbyChatMsg( ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); + return Native.SteamAPI_ISteamMatchmaking_SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyChatEntry( ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); } public virtual bool /*bool*/ ISteamMatchmaking_RequestLobbyData( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyData(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyData(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyGameServer( ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + Native.SteamAPI_ISteamMatchmaking_SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyGameServer( ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyMemberLimit( ulong steamIDLobby, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyMemberLimit( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberLimit(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyType( ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyType(_ptr, steamIDLobby, eLobbyType); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyType(_ptr, steamIDLobby, eLobbyType); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyJoinable( ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyOwner( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyOwner(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyOwner(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyOwner( ulong steamIDLobby, ulong steamIDNewOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); } public virtual bool /*bool*/ ISteamMatchmaking_SetLinkedLobby( ulong steamIDLobby, ulong steamIDLobbyDependent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); + return Native.SteamAPI_ISteamMatchmaking_SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestInternetServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestLANServerList( uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestLANServerList(_ptr, iApp, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestLANServerList(_ptr, iApp, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFriendsServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFavoritesServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestHistoryServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestSpectatorServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_ReleaseRequest( IntPtr hServerListRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.ReleaseRequest(_ptr, hServerListRequest); + Native.SteamAPI_ISteamMatchmakingServers_ReleaseRequest(_ptr, hServerListRequest); } public virtual IntPtr /*class gameserveritem_t **/ ISteamMatchmakingServers_GetServerDetails( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerDetails(_ptr, hRequest, iServer); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerDetails(_ptr, hRequest, iServer); } public virtual void /*void*/ ISteamMatchmakingServers_CancelQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_CancelQuery(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_RefreshQuery(_ptr, hRequest); } public virtual bool /*bool*/ ISteamMatchmakingServers_IsRefreshing( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.IsRefreshing(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_IsRefreshing(_ptr, hRequest); } public virtual int /*int*/ ISteamMatchmakingServers_GetServerCount( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerCount(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerCount(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshServer( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshServer(_ptr, hRequest, iServer); + Native.SteamAPI_ISteamMatchmakingServers_RefreshServer(_ptr, hRequest, iServer); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PingServer( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PingServer(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PingServer(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PlayerDetails( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_ServerRules( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.ServerRules(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_ServerRules(_ptr, unIP, usPort, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_CancelServerQuery( int hServerQuery ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelServerQuery(_ptr, hServerQuery); + Native.SteamAPI_ISteamMatchmakingServers_CancelServerQuery(_ptr, hServerQuery); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWrite( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWrite(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWrite(_ptr, pchFile, pvData, cubData); } public virtual int /*int32*/ ISteamRemoteStorage_FileRead( string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileRead(_ptr, pchFile, pvData, cubDataToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileRead(_ptr, pchFile, pvData, cubDataToRead); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileWriteAsync( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteAsync(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteAsync(_ptr, pchFile, pvData, cubData); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileReadAsync( string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsync(_ptr, pchFile, nOffset, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsync(_ptr, pchFile, nOffset, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileReadAsyncComplete( ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileForget( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileForget(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileForget(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileDelete( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileDelete(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileDelete(_ptr, pchFile); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileShare( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileShare(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileShare(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_SetSyncPlatforms( string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); + return Native.SteamAPI_ISteamRemoteStorage_SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); } public virtual UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ ISteamRemoteStorage_FileWriteStreamOpen( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamOpen(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamWriteChunk( ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamClose( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamClose(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamClose(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamCancel( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamCancel(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileExists( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileExists(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileExists(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FilePersisted( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FilePersisted(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FilePersisted(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileSize( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileSize(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileSize(_ptr, pchFile); } public virtual long /*int64*/ ISteamRemoteStorage_GetFileTimestamp( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileTimestamp(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileTimestamp(_ptr, pchFile); } public virtual RemoteStoragePlatform /*ERemoteStoragePlatform*/ ISteamRemoteStorage_GetSyncPlatforms( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetSyncPlatforms(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetSyncPlatforms(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetFileCount(_ptr); } public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_GetQuota( IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetQuota(_ptr, pnTotalBytes, puAvailableBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetQuota(_ptr, pnTotalBytes, puAvailableBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForAccount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForAccount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount(_ptr); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForApp() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForApp(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp(_ptr); } public virtual void /*void*/ ISteamRemoteStorage_SetCloudEnabledForApp( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - Native.ISteamRemoteStorage.SetCloudEnabledForApp(_ptr, bEnabled); + Native.SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp(_ptr, bEnabled); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownload( ulong hContent, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownload(_ptr, hContent, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownload(_ptr, hContent, unPriority); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDownloadProgress( ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDetails( ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); } public virtual int /*int32*/ ISteamRemoteStorage_UGCRead( ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); + return Native.SteamAPI_ISteamRemoteStorage_UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); } public virtual int /*int32*/ ISteamRemoteStorage_GetCachedUGCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCCount(_ptr); } public virtual UGCHandle_t /*(UGCHandle_t)*/ ISteamRemoteStorage_GetCachedUGCHandle( int /*int32*/ iCachedContent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCHandle(_ptr, iCachedContent); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle(_ptr, iCachedContent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishWorkshopFile( string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps, eWorkshopFileType); + var ret = Native.SteamAPI_ISteamRemoteStorage_PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps, eWorkshopFileType); pTags = pTags_ps; return ret; } @@ -1505,44 +1505,44 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileFile( ulong updateHandle, string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileFile(_ptr, updateHandle, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile(_ptr, updateHandle, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFilePreviewFile( ulong updateHandle, string /*const char **/ pchPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTitle( ulong updateHandle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileDescription( ulong updateHandle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileVisibility( ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTags( ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.UpdatePublishedFileTags(_ptr, updateHandle, ref pTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags(_ptr, updateHandle, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -1550,67 +1550,67 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CommitPublishedFileUpdate(_ptr, updateHandle); + return Native.SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate(_ptr, updateHandle); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedFileDetails( ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_DeletePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.DeletePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_DeletePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserPublishedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserPublishedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_SubscribePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSubscribedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSubscribedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UnsubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UnsubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( ulong updateHandle, string /*const char **/ pchChangeDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UpdateUserPublishedItemVote( ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); + return Native.SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetUserPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ) { @@ -1618,7 +1618,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, var pRequiredTags_ps = new SteamParamStringArray_t.PackSmall(); var pExcludedTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags_ps, ref pExcludedTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags_ps, ref pExcludedTags_ps); pRequiredTags = pRequiredTags_ps; pExcludedTags = pExcludedTags_ps; return ret; @@ -1628,7 +1628,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -1636,13 +1636,13 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); + return Native.SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ) { @@ -1650,7 +1650,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, var pTags_ps = new SteamParamStringArray_t.PackSmall(); var pUserTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags_ps, ref pUserTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags_ps, ref pUserTags_ps); pTags = pTags_ps; pUserTags = pUserTags_ps; return ret; @@ -1659,195 +1659,195 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); } public virtual bool /*bool*/ ISteamUserStats_RequestCurrentStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestCurrentStats(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestCurrentStats(_ptr); } public virtual bool /*bool*/ ISteamUserStats_GetStat( string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetStat0( string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat0(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat0(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_SetStat( string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat(_ptr, pchName, nData); + return Native.SteamAPI_ISteamUserStats_SetStat(_ptr, pchName, nData); } public virtual bool /*bool*/ ISteamUserStats_SetStat0( string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat0(_ptr, pchName, fData); + return Native.SteamAPI_ISteamUserStats_SetStat0(_ptr, pchName, fData); } public virtual bool /*bool*/ ISteamUserStats_UpdateAvgRateStat( string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamUserStats_UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamUserStats_GetAchievement( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievement(_ptr, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetAchievement(_ptr, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_SetAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_SetAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_ClearAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ClearAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_ClearAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAndUnlockTime( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_StoreStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.StoreStats(_ptr); + return Native.SteamAPI_ISteamUserStats_StoreStats(_ptr); } public virtual int /*int*/ ISteamUserStats_GetAchievementIcon( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementIcon(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_GetAchievementIcon(_ptr, pchName); } public virtual IntPtr ISteamUserStats_GetAchievementDisplayAttribute( string /*const char **/ pchName, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementDisplayAttribute(_ptr, pchName, pchKey); + return Native.SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute(_ptr, pchName, pchKey); } public virtual bool /*bool*/ ISteamUserStats_IndicateAchievementProgress( string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); + return Native.SteamAPI_ISteamUserStats_IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); } public virtual uint /*uint32*/ ISteamUserStats_GetNumAchievements() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumAchievements(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumAchievements(_ptr); } public virtual IntPtr ISteamUserStats_GetAchievementName( uint /*uint32*/ iAchievement ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementName(_ptr, iAchievement); + return Native.SteamAPI_ISteamUserStats_GetAchievementName(_ptr, iAchievement); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamUserStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievementAndUnlockTime( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_ResetAllStats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ResetAllStats(_ptr, bAchievementsToo); + return Native.SteamAPI_ISteamUserStats_ResetAllStats(_ptr, bAchievementsToo); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindOrCreateLeaderboard( string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + return Native.SteamAPI_ISteamUserStats_FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindLeaderboard( string /*const char **/ pchLeaderboardName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindLeaderboard(_ptr, pchLeaderboardName); + return Native.SteamAPI_ISteamUserStats_FindLeaderboard(_ptr, pchLeaderboardName); } public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardName(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardName(_ptr, hSteamLeaderboard); } public virtual int /*int*/ ISteamUserStats_GetLeaderboardEntryCount( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); } public virtual LeaderboardSortMethod /*ELeaderboardSortMethod*/ ISteamUserStats_GetLeaderboardSortMethod( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); } public virtual LeaderboardDisplayType /*ELeaderboardDisplayType*/ ISteamUserStats_GetLeaderboardDisplayType( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntries( ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntriesForUsers( ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); } public virtual bool /*bool*/ ISteamUserStats_GetDownloadedLeaderboardEntry( ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); var pLeaderboardEntry_ps = new LeaderboardEntry_t.PackSmall(); - var ret = Native.ISteamUserStats.GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry_ps, pDetails, cDetailsMax); + var ret = Native.SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry_ps, pDetails, cDetailsMax); pLeaderboardEntry = pLeaderboardEntry_ps; return ret; } @@ -1855,274 +1855,274 @@ public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboar { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + return Native.SteamAPI_ISteamUserStats_UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_AttachLeaderboardUGC( ulong hSteamLeaderboard, ulong hUGC ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); + return Native.SteamAPI_ISteamUserStats_AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_GetNumberOfCurrentPlayers() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumberOfCurrentPlayers(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalAchievementPercentages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalAchievementPercentages(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages(_ptr); } public virtual int /*int*/ ISteamUserStats_GetMostAchievedAchievementInfo( System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual int /*int*/ ISteamUserStats_GetNextMostAchievedAchievementInfo( int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAchievedPercent( string /*const char **/ pchName, out float /*float **/ pflPercent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); + return Native.SteamAPI_ISteamUserStats_GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalStats( int /*int*/ nHistoryDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalStats(_ptr, nHistoryDays); + return Native.SteamAPI_ISteamUserStats_RequestGlobalStats(_ptr, nHistoryDays); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat( string /*const char **/ pchStatName, out long /*int64 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat(_ptr, pchStatName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat0( string /*const char **/ pchStatName, out double /*double **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat0(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat0(_ptr, pchStatName, out pData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory( string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory0( string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); } public virtual bool /*bool*/ ISteamApps_BIsSubscribed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribed(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribed(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsLowViolence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsLowViolence(_ptr); + return Native.SteamAPI_ISteamApps_BIsLowViolence(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsCybercafe() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsCybercafe(_ptr); + return Native.SteamAPI_ISteamApps_BIsCybercafe(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsVACBanned() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsVACBanned(_ptr); + return Native.SteamAPI_ISteamApps_BIsVACBanned(_ptr); } public virtual IntPtr ISteamApps_GetCurrentGameLanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentGameLanguage(_ptr); + return Native.SteamAPI_ISteamApps_GetCurrentGameLanguage(_ptr); } public virtual IntPtr ISteamApps_GetAvailableGameLanguages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAvailableGameLanguages(_ptr); + return Native.SteamAPI_ISteamApps_GetAvailableGameLanguages(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedApp( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedApp(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsSubscribedApp(_ptr, appID); } public virtual bool /*bool*/ ISteamApps_BIsDlcInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsDlcInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsDlcInstalled(_ptr, appID); } public virtual uint /*uint32*/ ISteamApps_GetEarliestPurchaseUnixTime( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetEarliestPurchaseUnixTime(_ptr, nAppID); + return Native.SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedFromFreeWeekend() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedFromFreeWeekend(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend(_ptr); } public virtual int /*int*/ ISteamApps_GetDLCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDLCCount(_ptr); + return Native.SteamAPI_ISteamApps_GetDLCCount(_ptr); } public virtual bool /*bool*/ ISteamApps_BGetDLCDataByIndex( int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); } public virtual void /*void*/ ISteamApps_InstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.InstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_InstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_UninstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.UninstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_UninstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_RequestAppProofOfPurchaseKey( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAppProofOfPurchaseKey(_ptr, nAppID); + Native.SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_GetCurrentBetaName( System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); } public virtual bool /*bool*/ ISteamApps_MarkContentCorrupt( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.MarkContentCorrupt(_ptr, bMissingFilesOnly); + return Native.SteamAPI_ISteamApps_MarkContentCorrupt(_ptr, bMissingFilesOnly); } public virtual uint /*uint32*/ ISteamApps_GetInstalledDepots( uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); + return Native.SteamAPI_ISteamApps_GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); } public virtual uint /*uint32*/ ISteamApps_GetAppInstallDir( uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); + return Native.SteamAPI_ISteamApps_GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); } public virtual bool /*bool*/ ISteamApps_BIsAppInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsAppInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsAppInstalled(_ptr, appID); } public virtual CSteamID /*(class CSteamID)*/ ISteamApps_GetAppOwner() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppOwner(_ptr); + return Native.SteamAPI_ISteamApps_GetAppOwner(_ptr); } public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetLaunchQueryParam(_ptr, pchKey); + return Native.SteamAPI_ISteamApps_GetLaunchQueryParam(_ptr, pchKey); } public virtual bool /*bool*/ ISteamApps_GetDlcDownloadProgress( uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamApps_GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); } public virtual int /*int*/ ISteamApps_GetAppBuildId() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppBuildId(_ptr); + return Native.SteamAPI_ISteamApps_GetAppBuildId(_ptr); } public virtual void /*void*/ ISteamApps_RequestAllProofOfPurchaseKeys() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAllProofOfPurchaseKeys(_ptr); + Native.SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamApps_GetFileDetails( string /*const char **/ pszFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetFileDetails(_ptr, pszFileName); + return Native.SteamAPI_ISteamApps_GetFileDetails(_ptr, pszFileName); } public virtual bool /*bool*/ ISteamNetworking_SendP2PPacket( ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + return Native.SteamAPI_ISteamNetworking_SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); } public virtual bool /*bool*/ ISteamNetworking_IsP2PPacketAvailable( out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); + return Native.SteamAPI_ISteamNetworking_IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); } public virtual bool /*bool*/ ISteamNetworking_ReadP2PPacket( IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_AcceptP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AcceptP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_CloseP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PChannelWithUser( ulong steamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_GetP2PSessionState( ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); var pConnectionState_ps = new P2PSessionState_t.PackSmall(); - var ret = Native.ISteamNetworking.GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState_ps); + var ret = Native.SteamAPI_ISteamNetworking_GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState_ps); pConnectionState = pConnectionState_ps; return ret; } @@ -2130,741 +2130,741 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AllowP2PPacketRelay(_ptr, bAllow); + return Native.SteamAPI_ISteamNetworking_AllowP2PPacketRelay(_ptr, bAllow); } public virtual SNetListenSocket_t /*(SNetListenSocket_t)*/ ISteamNetworking_CreateListenSocket( int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateP2PConnectionSocket( ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateConnectionSocket( uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); + return Native.SteamAPI_ISteamNetworking_CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); } public virtual bool /*bool*/ ISteamNetworking_DestroySocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_DestroyListenSocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_SendDataOnSocket( uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); + return Native.SteamAPI_ISteamNetworking_SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailableOnSocket( uint hSocket, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_RetrieveDataFromSocket( uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailable( uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_RetrieveData( uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_GetSocketInfo( uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); + return Native.SteamAPI_ISteamNetworking_GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); } public virtual bool /*bool*/ ISteamNetworking_GetListenSocketInfo( uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); + return Native.SteamAPI_ISteamNetworking_GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); } public virtual SNetSocketConnectionType /*ESNetSocketConnectionType*/ ISteamNetworking_GetSocketConnectionType( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketConnectionType(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetSocketConnectionType(_ptr, hSocket); } public virtual int /*int*/ ISteamNetworking_GetMaxPacketSize( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetMaxPacketSize(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetMaxPacketSize(_ptr, hSocket); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_WriteScreenshot( IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddScreenshotToLibrary( string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); } public virtual void /*void*/ ISteamScreenshots_TriggerScreenshot() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.TriggerScreenshot(_ptr); + Native.SteamAPI_ISteamScreenshots_TriggerScreenshot(_ptr); } public virtual void /*void*/ ISteamScreenshots_HookScreenshots( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.HookScreenshots(_ptr, bHook); + Native.SteamAPI_ISteamScreenshots_HookScreenshots(_ptr, bHook); } public virtual bool /*bool*/ ISteamScreenshots_SetLocation( uint hScreenshot, string /*const char **/ pchLocation ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.SetLocation(_ptr, hScreenshot, pchLocation); + return Native.SteamAPI_ISteamScreenshots_SetLocation(_ptr, hScreenshot, pchLocation); } public virtual bool /*bool*/ ISteamScreenshots_TagUser( uint hScreenshot, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagUser(_ptr, hScreenshot, steamID); + return Native.SteamAPI_ISteamScreenshots_TagUser(_ptr, hScreenshot, steamID); } public virtual bool /*bool*/ ISteamScreenshots_TagPublishedFile( uint hScreenshot, ulong unPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); + return Native.SteamAPI_ISteamScreenshots_TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); } public virtual bool /*bool*/ ISteamScreenshots_IsScreenshotsHooked() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.IsScreenshotsHooked(_ptr); + return Native.SteamAPI_ISteamScreenshots_IsScreenshotsHooked(_ptr); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddVRScreenshotToLibrary( VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); + return Native.SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); } public virtual bool /*bool*/ ISteamMusic_BIsEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsEnabled(_ptr); + return Native.SteamAPI_ISteamMusic_BIsEnabled(_ptr); } public virtual bool /*bool*/ ISteamMusic_BIsPlaying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsPlaying(_ptr); + return Native.SteamAPI_ISteamMusic_BIsPlaying(_ptr); } public virtual AudioPlayback_Status /*AudioPlayback_Status*/ ISteamMusic_GetPlaybackStatus() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetPlaybackStatus(_ptr); + return Native.SteamAPI_ISteamMusic_GetPlaybackStatus(_ptr); } public virtual void /*void*/ ISteamMusic_Play() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Play(_ptr); + Native.SteamAPI_ISteamMusic_Play(_ptr); } public virtual void /*void*/ ISteamMusic_Pause() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Pause(_ptr); + Native.SteamAPI_ISteamMusic_Pause(_ptr); } public virtual void /*void*/ ISteamMusic_PlayPrevious() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayPrevious(_ptr); + Native.SteamAPI_ISteamMusic_PlayPrevious(_ptr); } public virtual void /*void*/ ISteamMusic_PlayNext() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayNext(_ptr); + Native.SteamAPI_ISteamMusic_PlayNext(_ptr); } public virtual void /*void*/ ISteamMusic_SetVolume( float /*float*/ flVolume ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.SetVolume(_ptr, flVolume); + Native.SteamAPI_ISteamMusic_SetVolume(_ptr, flVolume); } public virtual float /*float*/ ISteamMusic_GetVolume() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetVolume(_ptr); + return Native.SteamAPI_ISteamMusic_GetVolume(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_RegisterSteamMusicRemote( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.RegisterSteamMusicRemote(_ptr, pchName); + return Native.SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote(_ptr, pchName); } public virtual bool /*bool*/ ISteamMusicRemote_DeregisterSteamMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.DeregisterSteamMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BIsCurrentMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BIsCurrentMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BActivationSuccess( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BActivationSuccess(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_BActivationSuccess(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_SetDisplayName( string /*const char **/ pchDisplayName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetDisplayName(_ptr, pchDisplayName); + return Native.SteamAPI_ISteamMusicRemote_SetDisplayName(_ptr, pchDisplayName); } public virtual bool /*bool*/ ISteamMusicRemote_SetPNGIcon_64x64( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayPrevious( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayPrevious(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayPrevious(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayNext( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayNext(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayNext(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableQueue( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableQueue(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableQueue(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlaylists( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlaylists(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlaylists(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdatePlaybackStatus( AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdatePlaybackStatus(_ptr, nStatus); + return Native.SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus(_ptr, nStatus); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateVolume( float /*float*/ flValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateVolume(_ptr, flValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateVolume(_ptr, flValue); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryIsAvailable( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryIsAvailable(_ptr, bAvailable); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable(_ptr, bAvailable); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryText( string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryText(_ptr, pchText); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText(_ptr, pchText); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( int /*int*/ nValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds(_ptr, nValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds(_ptr, nValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_QueueWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetQueueEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetQueueEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetQueueEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetQueueEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetQueueEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetQueueEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentQueueEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentQueueEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_QueueDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetPlaylistEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetPlaylistEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetPlaylistEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetPlaylistEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentPlaylistEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentPlaylistEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistDidChange(_ptr); } public virtual HTTPRequestHandle /*(HTTPRequestHandle)*/ ISteamHTTP_CreateHTTPRequest( HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); + return Native.SteamAPI_ISteamHTTP_CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestContextValue( uint hRequest, ulong /*uint64*/ ulContextValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( uint hRequest, uint /*uint32*/ unTimeoutSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestGetOrPostParameter( uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequest( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequest(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequest(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequestAndStreamResponse( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_DeferHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.DeferHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_DeferHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_PrioritizeHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.PrioritizeHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_PrioritizeHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderSize( uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodySize( uint hRequest, out uint /*uint32 **/ unBodySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodyData( uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPStreamingResponseBodyData( uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_ReleaseHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_ReleaseHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPDownloadProgressPct( uint hRequest, out float /*float **/ pflPercentOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRawPostBody( uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); } public virtual HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ ISteamHTTP_CreateCookieContainer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateCookieContainer(_ptr, bAllowResponsesToModify); + return Native.SteamAPI_ISteamHTTP_CreateCookieContainer(_ptr, bAllowResponsesToModify); } public virtual bool /*bool*/ ISteamHTTP_ReleaseCookieContainer( uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseCookieContainer(_ptr, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_ReleaseCookieContainer(_ptr, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetCookie( uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); + return Native.SteamAPI_ISteamHTTP_SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestCookieContainer( uint hRequest, uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestUserAgentInfo( uint hRequest, string /*const char **/ pchUserAgentInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( uint hRequest, uint /*uint32*/ unMilliseconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); } public virtual ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); + return Native.SteamAPI_ISteamUnifiedMessages_SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); } public virtual bool /*bool*/ ISteamUnifiedMessages_ReleaseMethod( ulong hHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.ReleaseMethod(_ptr, hHandle); + return Native.SteamAPI_ISteamUnifiedMessages_ReleaseMethod(_ptr, hHandle); } public virtual bool /*bool*/ ISteamUnifiedMessages_SendNotification( string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); + return Native.SteamAPI_ISteamUnifiedMessages_SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); } public virtual bool /*bool*/ ISteamController_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Init(_ptr); + return Native.SteamAPI_ISteamController_Init(_ptr); } public virtual bool /*bool*/ ISteamController_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Shutdown(_ptr); + return Native.SteamAPI_ISteamController_Shutdown(_ptr); } public virtual void /*void*/ ISteamController_RunFrame() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.RunFrame(_ptr); + Native.SteamAPI_ISteamController_RunFrame(_ptr); } public virtual int /*int*/ ISteamController_GetConnectedControllers( IntPtr /*ControllerHandle_t **/ handlesOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetConnectedControllers(_ptr, handlesOut); + return Native.SteamAPI_ISteamController_GetConnectedControllers(_ptr, handlesOut); } public virtual bool /*bool*/ ISteamController_ShowBindingPanel( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowBindingPanel(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_ShowBindingPanel(_ptr, controllerHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetActionSetHandle( string /*const char **/ pszActionSetName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetActionSetHandle(_ptr, pszActionSetName); + return Native.SteamAPI_ISteamController_GetActionSetHandle(_ptr, pszActionSetName); } public virtual void /*void*/ ISteamController_ActivateActionSet( ulong controllerHandle, ulong actionSetHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.ActivateActionSet(_ptr, controllerHandle, actionSetHandle); + Native.SteamAPI_ISteamController_ActivateActionSet(_ptr, controllerHandle, actionSetHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetCurrentActionSet( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetCurrentActionSet(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetCurrentActionSet(_ptr, controllerHandle); } public virtual ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ ISteamController_GetDigitalActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetDigitalActionHandle(_ptr, pszActionName); } public virtual ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ ISteamController_GetDigitalActionData( ulong controllerHandle, ulong digitalActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); + return Native.SteamAPI_ISteamController_GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); } public virtual int /*int*/ ISteamController_GetDigitalActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); } public virtual ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ ISteamController_GetAnalogActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetAnalogActionHandle(_ptr, pszActionName); } public virtual ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ ISteamController_GetAnalogActionData( ulong controllerHandle, ulong analogActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); + return Native.SteamAPI_ISteamController_GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); } public virtual int /*int*/ ISteamController_GetAnalogActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); } public virtual void /*void*/ ISteamController_StopAnalogActionMomentum( ulong controllerHandle, ulong eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.StopAnalogActionMomentum(_ptr, controllerHandle, eAction); + Native.SteamAPI_ISteamController_StopAnalogActionMomentum(_ptr, controllerHandle, eAction); } public virtual void /*void*/ ISteamController_TriggerHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); + Native.SteamAPI_ISteamController_TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); } public virtual void /*void*/ ISteamController_TriggerRepeatedHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + Native.SteamAPI_ISteamController_TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); } public virtual int /*int*/ ISteamController_GetGamepadIndexForController( ulong ulControllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetGamepadIndexForController(_ptr, ulControllerHandle); + return Native.SteamAPI_ISteamController_GetGamepadIndexForController(_ptr, ulControllerHandle); } public virtual ControllerHandle_t /*(ControllerHandle_t)*/ ISteamController_GetControllerForGamepadIndex( int /*int*/ nIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetControllerForGamepadIndex(_ptr, nIndex); + return Native.SteamAPI_ISteamController_GetControllerForGamepadIndex(_ptr, nIndex); } public virtual ControllerMotionData_t /*struct ControllerMotionData_t*/ ISteamController_GetMotionData( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetMotionData(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetMotionData(_ptr, controllerHandle); } public virtual bool /*bool*/ ISteamController_ShowDigitalActionOrigins( ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); } public virtual bool /*bool*/ ISteamController_ShowAnalogActionOrigins( ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUserUGCRequest( uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryAllUGCRequest( UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SendQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SendQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_SendQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCResult( ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); var pDetails_ps = new SteamUGCDetails_t.PackSmall(); - var ret = Native.ISteamUGC.GetQueryUGCResult(_ptr, handle, index, ref pDetails_ps); + var ret = Native.SteamAPI_ISteamUGC_GetQueryUGCResult(_ptr, handle, index, ref pDetails_ps); pDetails = pDetails_ps; return ret; } @@ -2872,206 +2872,206 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCMetadata( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCChildren( ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCStatistic( ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); + return Native.SteamAPI_ISteamUGC_GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumAdditionalPreviews( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCAdditionalPreview( ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); + return Native.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumKeyValueTags( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumKeyValueTags(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCKeyValueTag( ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); } public virtual bool /*bool*/ ISteamUGC_ReleaseQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.ReleaseQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_AddRequiredTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddRequiredTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_AddExcludedTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddExcludedTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddExcludedTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_SetReturnOnlyIDs( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); + return Native.SteamAPI_ISteamUGC_SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); } public virtual bool /*bool*/ ISteamUGC_SetReturnKeyValueTags( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); + return Native.SteamAPI_ISteamUGC_SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); } public virtual bool /*bool*/ ISteamUGC_SetReturnLongDescription( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnLongDescription(_ptr, handle, bReturnLongDescription); + return Native.SteamAPI_ISteamUGC_SetReturnLongDescription(_ptr, handle, bReturnLongDescription); } public virtual bool /*bool*/ ISteamUGC_SetReturnMetadata( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnMetadata(_ptr, handle, bReturnMetadata); + return Native.SteamAPI_ISteamUGC_SetReturnMetadata(_ptr, handle, bReturnMetadata); } public virtual bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnChildren(_ptr, handle, bReturnChildren); + return Native.SteamAPI_ISteamUGC_SetReturnChildren(_ptr, handle, bReturnChildren); } public virtual bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); + return Native.SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); } public virtual bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); + return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); } public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); } public virtual bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); + return Native.SteamAPI_ISteamUGC_SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); } public virtual bool /*bool*/ ISteamUGC_SetMatchAnyTag( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetMatchAnyTag(_ptr, handle, bMatchAnyTag); + return Native.SteamAPI_ISteamUGC_SetMatchAnyTag(_ptr, handle, bMatchAnyTag); } public virtual bool /*bool*/ ISteamUGC_SetSearchText( ulong handle, string /*const char **/ pSearchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetSearchText(_ptr, handle, pSearchText); + return Native.SteamAPI_ISteamUGC_SetSearchText(_ptr, handle, pSearchText); } public virtual bool /*bool*/ ISteamUGC_SetRankedByTrendDays( ulong handle, uint /*uint32*/ unDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetRankedByTrendDays(_ptr, handle, unDays); + return Native.SteamAPI_ISteamUGC_SetRankedByTrendDays(_ptr, handle, unDays); } public virtual bool /*bool*/ ISteamUGC_AddRequiredKeyValueTag( ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); + return Native.SteamAPI_ISteamUGC_AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RequestUGCDetails( ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_CreateItem( uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateItem(_ptr, nConsumerAppId, eFileType); + return Native.SteamAPI_ISteamUGC_CreateItem(_ptr, nConsumerAppId, eFileType); } public virtual UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ ISteamUGC_StartItemUpdate( uint nConsumerAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_SetItemTitle( ulong handle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTitle(_ptr, handle, pchTitle); + return Native.SteamAPI_ISteamUGC_SetItemTitle(_ptr, handle, pchTitle); } public virtual bool /*bool*/ ISteamUGC_SetItemDescription( ulong handle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemDescription(_ptr, handle, pchDescription); + return Native.SteamAPI_ISteamUGC_SetItemDescription(_ptr, handle, pchDescription); } public virtual bool /*bool*/ ISteamUGC_SetItemUpdateLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemUpdateLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetItemUpdateLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetItemMetadata( ulong handle, string /*const char **/ pchMetaData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemMetadata(_ptr, handle, pchMetaData); + return Native.SteamAPI_ISteamUGC_SetItemMetadata(_ptr, handle, pchMetaData); } public virtual bool /*bool*/ ISteamUGC_SetItemVisibility( ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemVisibility(_ptr, handle, eVisibility); + return Native.SteamAPI_ISteamUGC_SetItemVisibility(_ptr, handle, eVisibility); } public virtual bool /*bool*/ ISteamUGC_SetItemTags( ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamUGC.SetItemTags(_ptr, updateHandle, ref pTags_ps); + var ret = Native.SteamAPI_ISteamUGC_SetItemTags(_ptr, updateHandle, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -3079,2353 +3079,1694 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemContent(_ptr, handle, pszContentFolder); + return Native.SteamAPI_ISteamUGC_SetItemContent(_ptr, handle, pszContentFolder); } public virtual bool /*bool*/ ISteamUGC_SetItemPreview( ulong handle, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemPreview(_ptr, handle, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_SetItemPreview(_ptr, handle, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_RemoveItemKeyValueTags( ulong handle, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemKeyValueTags(_ptr, handle, pchKey); + return Native.SteamAPI_ISteamUGC_RemoveItemKeyValueTags(_ptr, handle, pchKey); } public virtual bool /*bool*/ ISteamUGC_AddItemKeyValueTag( ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); + return Native.SteamAPI_ISteamUGC_AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewFile( ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); + return Native.SteamAPI_ISteamUGC_AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewVideo( ulong handle, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewVideo(_ptr, handle, pszVideoID); + return Native.SteamAPI_ISteamUGC_AddItemPreviewVideo(_ptr, handle, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewFile( ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewVideo( ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_RemoveItemPreview( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemPreview(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_RemoveItemPreview(_ptr, handle, index); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubmitItemUpdate( ulong handle, string /*const char **/ pchChangeNote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubmitItemUpdate(_ptr, handle, pchChangeNote); + return Native.SteamAPI_ISteamUGC_SubmitItemUpdate(_ptr, handle, pchChangeNote); } public virtual ItemUpdateStatus /*EItemUpdateStatus*/ ISteamUGC_GetItemUpdateProgress( ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SetUserItemVote( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); + return Native.SteamAPI_ISteamUGC_SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_GetUserItemVote( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetUserItemVote(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetUserItemVote(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddItemToFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemToFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_AddItemToFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveItemFromFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_SubscribeItem(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_UnsubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UnsubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_UnsubscribeItem(_ptr, nPublishedFileID); } public virtual uint /*uint32*/ ISteamUGC_GetNumSubscribedItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetNumSubscribedItems(_ptr); + return Native.SteamAPI_ISteamUGC_GetNumSubscribedItems(_ptr); } public virtual uint /*uint32*/ ISteamUGC_GetSubscribedItems( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); } public virtual uint /*uint32*/ ISteamUGC_GetItemState( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemState(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetItemState(_ptr, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_GetItemInstallInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); + return Native.SteamAPI_ISteamUGC_GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); } public virtual bool /*bool*/ ISteamUGC_GetItemDownloadInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); } public virtual bool /*bool*/ ISteamUGC_DownloadItem( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.DownloadItem(_ptr, nPublishedFileID, bHighPriority); + return Native.SteamAPI_ISteamUGC_DownloadItem(_ptr, nPublishedFileID, bHighPriority); } public virtual bool /*bool*/ ISteamUGC_BInitWorkshopForGameServer( uint unWorkshopDepotID, string /*const char **/ pszFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); + return Native.SteamAPI_ISteamUGC_BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); } public virtual void /*void*/ ISteamUGC_SuspendDownloads( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - Native.ISteamUGC.SuspendDownloads(_ptr, bSuspend); + Native.SteamAPI_ISteamUGC_SuspendDownloads(_ptr, bSuspend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTrackingForAllItems(_ptr); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetNumInstalledApps(_ptr); + return Native.SteamAPI_ISteamAppList_GetNumInstalledApps(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetInstalledApps( IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); + return Native.SteamAPI_ISteamAppList_GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); } public virtual int /*int*/ ISteamAppList_GetAppName( uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppName(_ptr, nAppID, pchName, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppName(_ptr, nAppID, pchName, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppInstallDir( uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppBuildId( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppBuildId(_ptr, nAppID); + return Native.SteamAPI_ISteamAppList_GetAppBuildId(_ptr, nAppID); } public virtual void /*void*/ ISteamHTMLSurface_DestructISteamHTMLSurface() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.DestructISteamHTMLSurface(_ptr); + Native.SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Init(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Init(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Shutdown(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Shutdown(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamHTMLSurface_CreateBrowser( string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.CreateBrowser(_ptr, pchUserAgent, pchUserCSS); + return Native.SteamAPI_ISteamHTMLSurface_CreateBrowser(_ptr, pchUserAgent, pchUserCSS); } public virtual void /*void*/ ISteamHTMLSurface_RemoveBrowser( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.RemoveBrowser(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_RemoveBrowser(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_LoadURL( uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); + Native.SteamAPI_ISteamHTMLSurface_LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); } public virtual void /*void*/ ISteamHTMLSurface_SetSize( uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetSize(_ptr, unBrowserHandle, unWidth, unHeight); + Native.SteamAPI_ISteamHTMLSurface_SetSize(_ptr, unBrowserHandle, unWidth, unHeight); } public virtual void /*void*/ ISteamHTMLSurface_StopLoad( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopLoad(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopLoad(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Reload( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Reload(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_Reload(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoBack( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoBack(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoBack(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoForward( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoForward(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoForward(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_AddHeader( uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); + Native.SteamAPI_ISteamHTMLSurface_AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); } public virtual void /*void*/ ISteamHTMLSurface_ExecuteJavascript( uint unBrowserHandle, string /*const char **/ pchScript ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ExecuteJavascript(_ptr, unBrowserHandle, pchScript); + Native.SteamAPI_ISteamHTMLSurface_ExecuteJavascript(_ptr, unBrowserHandle, pchScript); } public virtual void /*void*/ ISteamHTMLSurface_MouseUp( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseUp(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseUp(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDown( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDown(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDown(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDoubleClick( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseMove( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseMove(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_MouseMove(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_MouseWheel( uint unBrowserHandle, int /*int32*/ nDelta ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseWheel(_ptr, unBrowserHandle, nDelta); + Native.SteamAPI_ISteamHTMLSurface_MouseWheel(_ptr, unBrowserHandle, nDelta); } public virtual void /*void*/ ISteamHTMLSurface_KeyDown( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyUp( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyChar( uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_SetHorizontalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetVerticalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetKeyFocus( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); + Native.SteamAPI_ISteamHTMLSurface_SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); } public virtual void /*void*/ ISteamHTMLSurface_ViewSource( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ViewSource(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_ViewSource(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_CopyToClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.CopyToClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_CopyToClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_PasteFromClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.PasteFromClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_PasteFromClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Find( uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + Native.SteamAPI_ISteamHTMLSurface_Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); } public virtual void /*void*/ ISteamHTMLSurface_StopFind( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopFind(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopFind(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GetLinkAtPosition( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GetLinkAtPosition(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_GetLinkAtPosition(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_SetCookie( string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + Native.SteamAPI_ISteamHTMLSurface_SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); } public virtual void /*void*/ ISteamHTMLSurface_SetPageScaleFactor( uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); + Native.SteamAPI_ISteamHTMLSurface_SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); } public virtual void /*void*/ ISteamHTMLSurface_SetBackgroundMode( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); + Native.SteamAPI_ISteamHTMLSurface_SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); } public virtual void /*void*/ ISteamHTMLSurface_AllowStartRequest( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AllowStartRequest(_ptr, unBrowserHandle, bAllowed); + Native.SteamAPI_ISteamHTMLSurface_AllowStartRequest(_ptr, unBrowserHandle, bAllowed); } public virtual void /*void*/ ISteamHTMLSurface_JSDialogResponse( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.JSDialogResponse(_ptr, unBrowserHandle, bResult); + Native.SteamAPI_ISteamHTMLSurface_JSDialogResponse(_ptr, unBrowserHandle, bResult); } public virtual Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultStatus(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultStatus(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); + return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); } public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultTimestamp(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultTimestamp(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.CheckResultSteamID(_ptr, resultHandle, steamIDExpected); + return Native.SteamAPI_ISteamInventory_CheckResultSteamID(_ptr, resultHandle, steamIDExpected); } public virtual void /*void*/ ISteamInventory_DestroyResult( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.DestroyResult(_ptr, resultHandle); + Native.SteamAPI_ISteamInventory_DestroyResult(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetAllItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetAllItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GetAllItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_GetItemsByID( ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); + return Native.SteamAPI_ISteamInventory_GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); } public virtual bool /*bool*/ ISteamInventory_SerializeResult( int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); + return Native.SteamAPI_ISteamInventory_SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); } public virtual bool /*bool*/ ISteamInventory_DeserializeResult( ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + return Native.SteamAPI_ISteamInventory_DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); } public virtual bool /*bool*/ ISteamInventory_GenerateItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); + return Native.SteamAPI_ISteamInventory_GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_GrantPromoItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GrantPromoItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GrantPromoItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_AddPromoItem( ref int pResultHandle, int itemDef ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItem(_ptr, ref pResultHandle, itemDef); + return Native.SteamAPI_ISteamInventory_AddPromoItem(_ptr, ref pResultHandle, itemDef); } public virtual bool /*bool*/ ISteamInventory_AddPromoItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); + return Native.SteamAPI_ISteamInventory_AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_ConsumeItem( ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); + return Native.SteamAPI_ISteamInventory_ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); } public virtual bool /*bool*/ ISteamInventory_ExchangeItems( ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + return Native.SteamAPI_ISteamInventory_ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); } public virtual bool /*bool*/ ISteamInventory_TransferItemQuantity( ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); + return Native.SteamAPI_ISteamInventory_TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); } public virtual void /*void*/ ISteamInventory_SendItemDropHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.SendItemDropHeartbeat(_ptr); + Native.SteamAPI_ISteamInventory_SendItemDropHeartbeat(_ptr); } public virtual bool /*bool*/ ISteamInventory_TriggerItemDrop( ref int pResultHandle, int dropListDefinition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); + return Native.SteamAPI_ISteamInventory_TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); } public virtual bool /*bool*/ ISteamInventory_TradeItems( ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); + return Native.SteamAPI_ISteamInventory_TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); } public virtual bool /*bool*/ ISteamInventory_LoadItemDefinitions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.LoadItemDefinitions(_ptr); + return Native.SteamAPI_ISteamInventory_LoadItemDefinitions(_ptr); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionIDs( IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionProperty( int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); } public virtual void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - Native.ISteamVideo.GetVideoURL(_ptr, unVideoAppID); + Native.SteamAPI_ISteamVideo_GetVideoURL(_ptr, unVideoAppID); } public virtual bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - return Native.ISteamVideo.IsBroadcasting(_ptr, pnNumViewers); + return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers); } public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + return Native.SteamAPI_ISteamGameServer_InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); } public virtual void /*void*/ ISteamGameServer_SetProduct( string /*const char **/ pszProduct ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetProduct(_ptr, pszProduct); + Native.SteamAPI_ISteamGameServer_SetProduct(_ptr, pszProduct); } public virtual void /*void*/ ISteamGameServer_SetGameDescription( string /*const char **/ pszGameDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameDescription(_ptr, pszGameDescription); + Native.SteamAPI_ISteamGameServer_SetGameDescription(_ptr, pszGameDescription); } public virtual void /*void*/ ISteamGameServer_SetModDir( string /*const char **/ pszModDir ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetModDir(_ptr, pszModDir); + Native.SteamAPI_ISteamGameServer_SetModDir(_ptr, pszModDir); } public virtual void /*void*/ ISteamGameServer_SetDedicatedServer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetDedicatedServer(_ptr, bDedicated); + Native.SteamAPI_ISteamGameServer_SetDedicatedServer(_ptr, bDedicated); } public virtual void /*void*/ ISteamGameServer_LogOn( string /*const char **/ pszToken ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOn(_ptr, pszToken); + Native.SteamAPI_ISteamGameServer_LogOn(_ptr, pszToken); } public virtual void /*void*/ ISteamGameServer_LogOnAnonymous() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOnAnonymous(_ptr); + Native.SteamAPI_ISteamGameServer_LogOnAnonymous(_ptr); } public virtual void /*void*/ ISteamGameServer_LogOff() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOff(_ptr); + Native.SteamAPI_ISteamGameServer_LogOff(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamGameServer_BLoggedOn(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BSecure() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BSecure(_ptr); + return Native.SteamAPI_ISteamGameServer_BSecure(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetSteamID(_ptr); + return Native.SteamAPI_ISteamGameServer_GetSteamID(_ptr); } public virtual bool /*bool*/ ISteamGameServer_WasRestartRequested() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.WasRestartRequested(_ptr); + return Native.SteamAPI_ISteamGameServer_WasRestartRequested(_ptr); } public virtual void /*void*/ ISteamGameServer_SetMaxPlayerCount( int /*int*/ cPlayersMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMaxPlayerCount(_ptr, cPlayersMax); + Native.SteamAPI_ISteamGameServer_SetMaxPlayerCount(_ptr, cPlayersMax); } public virtual void /*void*/ ISteamGameServer_SetBotPlayerCount( int /*int*/ cBotplayers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetBotPlayerCount(_ptr, cBotplayers); + Native.SteamAPI_ISteamGameServer_SetBotPlayerCount(_ptr, cBotplayers); } public virtual void /*void*/ ISteamGameServer_SetServerName( string /*const char **/ pszServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetServerName(_ptr, pszServerName); + Native.SteamAPI_ISteamGameServer_SetServerName(_ptr, pszServerName); } public virtual void /*void*/ ISteamGameServer_SetMapName( string /*const char **/ pszMapName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMapName(_ptr, pszMapName); + Native.SteamAPI_ISteamGameServer_SetMapName(_ptr, pszMapName); } public virtual void /*void*/ ISteamGameServer_SetPasswordProtected( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetPasswordProtected(_ptr, bPasswordProtected); + Native.SteamAPI_ISteamGameServer_SetPasswordProtected(_ptr, bPasswordProtected); } public virtual void /*void*/ ISteamGameServer_SetSpectatorPort( ushort /*uint16*/ unSpectatorPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorPort(_ptr, unSpectatorPort); + Native.SteamAPI_ISteamGameServer_SetSpectatorPort(_ptr, unSpectatorPort); } public virtual void /*void*/ ISteamGameServer_SetSpectatorServerName( string /*const char **/ pszSpectatorServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorServerName(_ptr, pszSpectatorServerName); + Native.SteamAPI_ISteamGameServer_SetSpectatorServerName(_ptr, pszSpectatorServerName); } public virtual void /*void*/ ISteamGameServer_ClearAllKeyValues() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ClearAllKeyValues(_ptr); + Native.SteamAPI_ISteamGameServer_ClearAllKeyValues(_ptr); } public virtual void /*void*/ ISteamGameServer_SetKeyValue( string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetKeyValue(_ptr, pKey, pValue); + Native.SteamAPI_ISteamGameServer_SetKeyValue(_ptr, pKey, pValue); } public virtual void /*void*/ ISteamGameServer_SetGameTags( string /*const char **/ pchGameTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameTags(_ptr, pchGameTags); + Native.SteamAPI_ISteamGameServer_SetGameTags(_ptr, pchGameTags); } public virtual void /*void*/ ISteamGameServer_SetGameData( string /*const char **/ pchGameData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameData(_ptr, pchGameData); + Native.SteamAPI_ISteamGameServer_SetGameData(_ptr, pchGameData); } public virtual void /*void*/ ISteamGameServer_SetRegion( string /*const char **/ pszRegion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetRegion(_ptr, pszRegion); + Native.SteamAPI_ISteamGameServer_SetRegion(_ptr, pszRegion); } public virtual bool /*bool*/ ISteamGameServer_SendUserConnectAndAuthenticate( uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); + return Native.SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_CreateUnauthenticatedUserConnection() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.CreateUnauthenticatedUserConnection(_ptr); + return Native.SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection(_ptr); } public virtual void /*void*/ ISteamGameServer_SendUserDisconnect( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SendUserDisconnect(_ptr, steamIDUser); + Native.SteamAPI_ISteamGameServer_SendUserDisconnect(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServer_BUpdateUserData( ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); + return Native.SteamAPI_ISteamGameServer_BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamGameServer_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamGameServer_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamGameServer_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamGameServer_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamGameServer_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamGameServer_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamGameServer_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamGameServer_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamGameServer_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamGameServer_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamGameServer_RequestUserGroupStatus( ulong steamIDUser, ulong steamIDGroup ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); + return Native.SteamAPI_ISteamGameServer_RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); } public virtual void /*void*/ ISteamGameServer_GetGameplayStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.GetGameplayStats(_ptr); + Native.SteamAPI_ISteamGameServer_GetGameplayStats(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_GetServerReputation() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetServerReputation(_ptr); + return Native.SteamAPI_ISteamGameServer_GetServerReputation(_ptr); } public virtual uint /*uint32*/ ISteamGameServer_GetPublicIP() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetPublicIP(_ptr); + return Native.SteamAPI_ISteamGameServer_GetPublicIP(_ptr); } public virtual bool /*bool*/ ISteamGameServer_HandleIncomingPacket( IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); + return Native.SteamAPI_ISteamGameServer_HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); } public virtual int /*int*/ ISteamGameServer_GetNextOutgoingPacket( IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); + return Native.SteamAPI_ISteamGameServer_GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); } public virtual void /*void*/ ISteamGameServer_EnableHeartbeats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EnableHeartbeats(_ptr, bActive); + Native.SteamAPI_ISteamGameServer_EnableHeartbeats(_ptr, bActive); } public virtual void /*void*/ ISteamGameServer_SetHeartbeatInterval( int /*int*/ iHeartbeatInterval ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetHeartbeatInterval(_ptr, iHeartbeatInterval); + Native.SteamAPI_ISteamGameServer_SetHeartbeatInterval(_ptr, iHeartbeatInterval); } public virtual void /*void*/ ISteamGameServer_ForceHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ForceHeartbeat(_ptr); + Native.SteamAPI_ISteamGameServer_ForceHeartbeat(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_AssociateWithClan( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.AssociateWithClan(_ptr, steamIDClan); + return Native.SteamAPI_ISteamGameServer_AssociateWithClan(_ptr, steamIDClan); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_ComputeNewPlayerCompatibility( ulong steamIDNewPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); + return Native.SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamGameServerStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat( ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat(_ptr, steamIDUser, pchName, nData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat(_ptr, steamIDUser, pchName, nData); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat0( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat0(_ptr, steamIDUser, pchName, fData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat0(_ptr, steamIDUser, pchName, fData); } public virtual bool /*bool*/ ISteamGameServerStats_UpdateUserAvgRateStat( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_SetUserAchievement(_ptr, steamIDUser, pchName); } public virtual bool /*bool*/ ISteamGameServerStats_ClearUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.ClearUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_ClearUserAchievement(_ptr, steamIDUser, pchName); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_StoreUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.StoreUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_StoreUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ SteamApi_SteamAPI_Init() { - return Native.SteamApi.SteamAPI_Init(); + return Native.SteamAPI_Init(); } public virtual void /*void*/ SteamApi_SteamAPI_RunCallbacks() { - Native.SteamApi.SteamAPI_RunCallbacks(); + Native.SteamAPI_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamGameServer_RunCallbacks() { - Native.SteamApi.SteamGameServer_RunCallbacks(); + Native.SteamGameServer_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ) { - Native.SteamApi.SteamAPI_RegisterCallback(pCallback, callback); + Native.SteamAPI_RegisterCallback(pCallback, callback); } public virtual void /*void*/ SteamApi_SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ) { - Native.SteamApi.SteamAPI_UnregisterCallback(pCallback); + Native.SteamAPI_UnregisterCallback(pCallback); } public virtual bool /*bool*/ SteamApi_SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ) { - return Native.SteamApi.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); + return Native.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); } public virtual void /*void*/ SteamApi_SteamAPI_Shutdown() { - Native.SteamApi.SteamAPI_Shutdown(); + Native.SteamAPI_Shutdown(); } public virtual void /*void*/ SteamApi_SteamGameServer_Shutdown() { - Native.SteamApi.SteamGameServer_Shutdown(); + Native.SteamGameServer_Shutdown(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamAPI_GetHSteamUser() { - return Native.SteamApi.SteamAPI_GetHSteamUser(); + return Native.SteamAPI_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamAPI_GetHSteamPipe() { - return Native.SteamApi.SteamAPI_GetHSteamPipe(); + return Native.SteamAPI_GetHSteamPipe(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamGameServer_GetHSteamUser() { - return Native.SteamApi.SteamGameServer_GetHSteamUser(); + return Native.SteamGameServer_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamGameServer_GetHSteamPipe() { - return Native.SteamApi.SteamGameServer_GetHSteamPipe(); + return Native.SteamGameServer_GetHSteamPipe(); } public virtual IntPtr /*void **/ SteamApi_SteamInternal_CreateInterface( string /*const char **/ version ) { - return Native.SteamApi.SteamInternal_CreateInterface(version); + return Native.SteamInternal_CreateInterface(version); } internal static unsafe class Native { - internal static unsafe class ISteamClient - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ CreateSteamPipe( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] - internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] - internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] - internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] - internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] - internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] - internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] - internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] - internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] - internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] - internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] - internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] - internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] - internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] - internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] - internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] - internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] - internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] - internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] - internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] - internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] - internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] - internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] - internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] - internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] - internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] - internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] - internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - } + // + // ISteamClient + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_ISteamClient_CreateSteamPipe( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamClient_ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamUser **/ SteamAPI_ISteamClient_GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamGameServer **/ SteamAPI_ISteamClient_GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamFriends **/ SteamAPI_ISteamClient_GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamUtils **/ SteamAPI_ISteamClient_GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamMatchmaking **/ SteamAPI_ISteamClient_GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ SteamAPI_ISteamClient_GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*void **/ SteamAPI_ISteamClient_GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamUserStats **/ SteamAPI_ISteamClient_GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamGameServerStats **/ SteamAPI_ISteamClient_GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamApps **/ SteamAPI_ISteamClient_GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamNetworking **/ SteamAPI_ISteamClient_GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ SteamAPI_ISteamClient_GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamScreenshots **/ SteamAPI_ISteamClient_GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamClient_GetIPCCallCount( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BShutdownIfAllPipesClosed( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamHTTP **/ SteamAPI_ISteamClient_GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ SteamAPI_ISteamClient_GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamController **/ SteamAPI_ISteamClient_GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamUGC **/ SteamAPI_ISteamClient_GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamAppList **/ SteamAPI_ISteamClient_GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamMusic **/ SteamAPI_ISteamClient_GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamMusicRemote **/ SteamAPI_ISteamClient_GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ SteamAPI_ISteamClient_GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamInventory **/ SteamAPI_ISteamClient_GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class ISteamVideo **/ SteamAPI_ISteamClient_GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - internal static unsafe class ISteamUser - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ GetHSteamUser( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] - internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] - internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] - internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] - internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] - internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] - internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] - internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] - internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] - internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] - internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] - internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] - internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] - internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] - internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneIdentifying" )] - internal static extern bool /*bool*/ BIsPhoneIdentifying( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneRequiringVerification" )] - internal static extern bool /*bool*/ BIsPhoneRequiringVerification( IntPtr ISteamUser ); - } + // + // ISteamUser + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamUser_GetHSteamUser( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BLoggedOn( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamUser_GetSteamID( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUser_InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamUser_BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_EndAuthSession( IntPtr ISteamUser, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamUser_UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsBehindNAT( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetPlayerSteamLevel( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneVerified( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsTwoFactorEnabled( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneIdentifying( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneRequiringVerification( IntPtr ISteamUser ); - internal static unsafe class ISteamFriends - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] - internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] - internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] - internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] - internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] - internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t.PackSmall /*struct FriendGameInfo_t **/ pFriendGameInfo ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] - internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] - internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] - internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] - internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] - internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] - internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] - internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] - internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] - internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] - internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] - internal static extern IntPtr GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] - internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] - internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] - internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] - internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] - internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] - internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] - internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] - internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] - internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] - internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] - internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] - internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] - internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] - internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] - internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] - internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] - internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] - internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] - internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] - internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] - internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] - internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] - internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] - internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] - internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] - internal static extern CSteamID /*(class CSteamID)*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] - internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] - internal static extern AppId_t /*(AppId_t)*/ GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] - internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] - internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] - internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] - internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] - internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] - internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] - internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] - internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] - internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] - internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] - internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ IsFollowing( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - } + // + // ISteamFriends + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPersonaName( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetPersonaState( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern FriendRelationship /*EFriendRelationship*/ SteamAPI_ISteamFriends_GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t.PackSmall /*struct FriendGameInfo_t **/ pFriendGameInfo ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamFriends_GetUserRestrictions( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ClearRichPresence( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetCoplayFriendCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern AppId_t /*(AppId_t)*/ SteamAPI_ISteamFriends_GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_IsFollowing( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - internal static unsafe class ISteamUtils - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] - internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] - internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] - internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] - internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] - internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] - internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] - internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] - internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] - internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] - internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] - internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] - internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] - internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] - internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] - internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] - internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] - internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] - internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] - internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] - internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] - internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] - internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils ); - } + // + // ISteamUtils + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceAppActive( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceComputerActive( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern Universe /*EUniverse*/ SteamAPI_ISteamUtils_GetConnectedUniverse( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetServerRealTime( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetIPCountry( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern byte /*uint8*/ SteamAPI_ISteamUtils_GetCurrentBatteryPower( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetAppID( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ SteamAPI_ISteamUtils_GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetIPCCallCount( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsOverlayEnabled( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_BOverlayNeedsPresent( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUtils_CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextLength( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamRunningInVR( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils ); - internal static unsafe class ISteamMatchmaking - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] - internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] - internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] - internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] - internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestLobbyList( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] - internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] - internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] - internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] - internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] - internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] - internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] - internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] - internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] - internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] - internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] - internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] - internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] - internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] - internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] - internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] - internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] - internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] - internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] - internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] - internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] - internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] - internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] - internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] - internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] - internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] - internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - } + // + // ISteamMatchmaking + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetFavoriteGameCount( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_RequestLobbyList( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - internal static unsafe class ISteamMatchmakingServers - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] - internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] - internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] - internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] - internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] - internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] - internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] - internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] - internal static extern HServerQuery /*(HServerQuery)*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] - internal static extern HServerQuery /*(HServerQuery)*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] - internal static extern HServerQuery /*(HServerQuery)*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] - internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - } + // + // ISteamMatchmakingServers + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr /*class gameserveritem_t **/ SteamAPI_ISteamMatchmakingServers_GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmakingServers_IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmakingServers_GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - internal static unsafe class ISteamRemoteStorage - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] - internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] - internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] - internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] - internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] - internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] - internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] - internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] - internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] - internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] - internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] - internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] - internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] - internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] - internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] - internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] - internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] - internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] - internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] - internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] - internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] - internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] - internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] - internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] - internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] - internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] - internal static extern UGCHandle_t /*(UGCHandle_t)*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] - internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] - internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] - internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] - internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] - internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] - internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pExcludedTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pUserTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - } + // + // ISteamRemoteStorage + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern long /*int64*/ SteamAPI_ISteamRemoteStorage_GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ SteamAPI_ISteamRemoteStorage_GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamRemoteStorage_GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UGCHandle_t /*(UGCHandle_t)*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pExcludedTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pUserTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - internal static unsafe class ISteamUserStats - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] - internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] - internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] - internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] - internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] - internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] - internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] - internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] - internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] - internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] - internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] - internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] - internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] - internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] - internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] - internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] - internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] - internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] - internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] - internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] - internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] - internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t.PackSmall /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] - internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] - internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] - internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] - internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] - internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - } + // + // ISteamUserStats + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_RequestCurrentStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_StoreStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUserStats_GetNumAchievements( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ SteamAPI_ISteamUserStats_GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ SteamAPI_ISteamUserStats_GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t.PackSmall /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - internal static unsafe class ISteamApps - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] - internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] - internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] - internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] - internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] - internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] - internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] - internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] - internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] - internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] - internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] - internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] - internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] - internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] - internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] - internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] - internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] - internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] - internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] - internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] - internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetAppOwner( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] - internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] - internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] - internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - } + // + // ISteamApps + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribed( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsLowViolence( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsCybercafe( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsVACBanned( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamApps_GetCurrentGameLanguage( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamApps_GetAvailableGameLanguages( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedApp( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsDlcInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetDLCCount( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_InstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_UninstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsAppInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamApps_GetAppOwner( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern IntPtr SteamAPI_ISteamApps_GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetAppBuildId( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamApps_GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - internal static unsafe class ISteamNetworking - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] - internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] - internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] - internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] - internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] - internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] - internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] - internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t.PackSmall /*struct P2PSessionState_t **/ pConnectionState ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] - internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] - internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] - internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] - internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] - internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] - internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] - internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] - internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] - internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] - internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] - internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] - internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] - internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - } + // + // ISteamNetworking + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t.PackSmall /*struct P2PSessionState_t **/ pConnectionState ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ SteamAPI_ISteamNetworking_CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ SteamAPI_ISteamNetworking_GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamNetworking_GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - internal static unsafe class ISteamScreenshots - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] - internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] - internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] - internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] - internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] - internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_IsScreenshotsHooked" )] - internal static extern bool /*bool*/ IsScreenshotsHooked( IntPtr ISteamScreenshots ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - } + // + // ISteamScreenshots + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_TriggerScreenshot( IntPtr ISteamScreenshots ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_IsScreenshotsHooked( IntPtr ISteamScreenshots ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - internal static unsafe class ISteamMusic - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] - internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] - internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] - internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_Play" )] - internal static extern void /*void*/ Play( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] - internal static extern void /*void*/ Pause( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] - internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] - internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] - internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] - internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic ); - } + // + // ISteamMusic + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsEnabled( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsPlaying( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ SteamAPI_ISteamMusic_GetPlaybackStatus( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Play( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Pause( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayPrevious( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayNext( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern float /*float*/ SteamAPI_ISteamMusic_GetVolume( IntPtr ISteamMusic ); - internal static unsafe class ISteamMusicRemote - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] - internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] - internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] - internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] - internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] - internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] - internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] - internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] - internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] - internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] - internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] - internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] - internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] - internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] - internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] - internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] - internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] - internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] - internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] - internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] - internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] - internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] - internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] - internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] - internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] - internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] - internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] - internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] - internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] - internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] - internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] - internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] - internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote ); - } + // + // ISteamMusicRemote + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetQueueEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetPlaylistEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistDidChange( IntPtr ISteamMusicRemote ); - internal static unsafe class ISteamHTTP - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] - internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] - internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] - internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] - internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] - internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] - internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] - internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] - internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] - internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] - internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] - internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] - internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] - internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] - internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] - internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] - internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] - internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] - internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] - internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] - internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] - internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - } + // + // ISteamHTTP + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ SteamAPI_ISteamHTTP_CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ SteamAPI_ISteamHTTP_CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - internal static unsafe class ISteamUnifiedMessages - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] - internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] - internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] - internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] - internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] - internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - } + // + // ISteamUnifiedMessages + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SteamAPI_ISteamUnifiedMessages_SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - internal static unsafe class ISteamController - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] - internal static extern void /*void*/ RunFrame( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] - internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] - internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] - internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] - internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] - internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] - internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] - internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] - internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] - internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] - internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] - internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] - internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetGamepadIndexForController" )] - internal static extern int /*int*/ GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetControllerForGamepadIndex" )] - internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetMotionData" )] - internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ GetMotionData( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_ShowDigitalActionOrigins" )] - internal static extern bool /*bool*/ ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_ShowAnalogActionOrigins" )] - internal static extern bool /*bool*/ ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - } + // + // ISteamController + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Init( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Shutdown( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_RunFrame( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ SteamAPI_ISteamController_GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ SteamAPI_ISteamController_GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ SteamAPI_ISteamController_GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ SteamAPI_ISteamController_GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ SteamAPI_ISteamController_GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ SteamAPI_ISteamController_GetMotionData( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - internal static unsafe class ISteamUGC - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] - internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t.PackSmall /*struct SteamUGCDetails_t **/ pDetails ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] - internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] - internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] - internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] - internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] - internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] - internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] - internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] - internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] - internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] - internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] - internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnOnlyIDs" )] - internal static extern bool /*bool*/ SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] - internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] - internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] - internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] - internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] - internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] - internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] - internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] - internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] - internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] - internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] - internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] - internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] - internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] - internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] - internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] - internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] - internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] - internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] - internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] - internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*const struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] - internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] - internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] - internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] - internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] - internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] - internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] - internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] - internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] - internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] - internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] - internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] - internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] - internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] - internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] - internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] - internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] - internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] - internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_StartPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - } + // + // ISteamUGC + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t.PackSmall /*struct SteamUGCDetails_t **/ pDetails ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ SteamAPI_ISteamUGC_StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*const struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ SteamAPI_ISteamUGC_GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetNumSubscribedItems( IntPtr ISteamUGC ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamUGC_SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - internal static unsafe class ISteamAppList - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] - internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] - internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] - internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] - internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - } + // + // ISteamAppList + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetNumInstalledApps( IntPtr ISteamAppList ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - internal static unsafe class ISteamHTMLSurface - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] - internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] - internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] - internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] - internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] - internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] - internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] - internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] - internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] - internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] - internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] - internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] - internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] - internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] - internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] - internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] - internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] - internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] - internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] - internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] - internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] - internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] - internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] - internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] - internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] - internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] - internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] - internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] - internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] - internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] - internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] - internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] - internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - } + // + // ISteamHTMLSurface + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Init( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Shutdown( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamHTMLSurface_CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - internal static unsafe class ISteamInventory - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] - internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] - internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] - internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] - internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] - internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] - internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] - internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] - internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] - internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] - internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] - internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] - internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] - internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] - internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] - internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] - internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] - internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] - internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] - internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] - internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] - internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] - internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - } + // + // ISteamInventory + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_SendItemDropHeartbeat( IntPtr ISteamInventory ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_LoadItemDefinitions( IntPtr ISteamInventory ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - internal static unsafe class ISteamVideo - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] - internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] - internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - } + // + // ISteamVideo + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - internal static unsafe class ISteamGameServer - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] - internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] - internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] - internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] - internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] - internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] - internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] - internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] - internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] - internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] - internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] - internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] - internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] - internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] - internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] - internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] - internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] - internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] - internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] - internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] - internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] - internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] - internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] - internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] - internal static extern CSteamID /*(class CSteamID)*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] - internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] - internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] - internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] - internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetServerReputation( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] - internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] - internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] - internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] - internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] - internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] - internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - } + // + // ISteamGameServer + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOnAnonymous( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOff( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BLoggedOn( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BSecure( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_GetSteamID( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_WasRestartRequested( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ClearAllKeyValues( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamGameServer_GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamGameServer_BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamGameServer_UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_GetGameplayStats( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_GetServerReputation( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamGameServer_GetPublicIP( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern int /*int*/ SteamAPI_ISteamGameServer_GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ForceHeartbeat( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - internal static unsafe class ISteamGameServerStats - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] - internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] - internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] - internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] - internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] - internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - } + // + // ISteamGameServerStats + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - internal static unsafe class SteamApi - { - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_Init" )] - internal static extern bool /*bool*/ SteamAPI_Init(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_RunCallbacks" )] - internal static extern void /*void*/ SteamAPI_RunCallbacks(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_RunCallbacks" )] - internal static extern void /*void*/ SteamGameServer_RunCallbacks(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_RegisterCallback" )] - internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_UnregisterCallback" )] - internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamInternal_GameServer_Init" )] - internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_Shutdown" )] - internal static extern void /*void*/ SteamAPI_Shutdown(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_Shutdown" )] - internal static extern void /*void*/ SteamGameServer_Shutdown(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe(); - [DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamInternal_CreateInterface" )] - internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version ); - } + // + // SteamApi + // + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamAPI_Init(); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_RunCallbacks(); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks(); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamAPI_Shutdown(); + [DllImportAttribute( "libsteam_api.so" )] internal static extern void /*void*/ SteamGameServer_Shutdown(); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); + [DllImportAttribute( "libsteam_api.so" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); + [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 ); } } diff --git a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux64.cs b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux64.cs index 2008226..5946dd9 100644 --- a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux64.cs +++ b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux64.cs @@ -29,424 +29,424 @@ public virtual void Dispose() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateSteamPipe(_ptr); + return Native.SteamAPI_ISteamClient_CreateSteamPipe(_ptr); } public virtual bool /*bool*/ ISteamClient_BReleaseSteamPipe( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BReleaseSteamPipe(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_BReleaseSteamPipe(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_ConnectToGlobalUser( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.ConnectToGlobalUser(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_ConnectToGlobalUser(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_CreateLocalUser( out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateLocalUser(_ptr, out phSteamPipe, eAccountType); + return Native.SteamAPI_ISteamClient_CreateLocalUser(_ptr, out phSteamPipe, eAccountType); } public virtual void /*void*/ ISteamClient_ReleaseUser( int hSteamPipe, int hUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.ReleaseUser(_ptr, hSteamPipe, hUser); + Native.SteamAPI_ISteamClient_ReleaseUser(_ptr, hSteamPipe, hUser); } public virtual IntPtr /*class ISteamUser **/ ISteamClient_GetISteamUser( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServer **/ ISteamClient_GetISteamGameServer( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual void /*void*/ ISteamClient_SetLocalIPBinding( uint /*uint32*/ unIP, ushort /*uint16*/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetLocalIPBinding(_ptr, unIP, usPort); + Native.SteamAPI_ISteamClient_SetLocalIPBinding(_ptr, unIP, usPort); } public virtual IntPtr /*class ISteamFriends **/ ISteamClient_GetISteamFriends( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUtils **/ ISteamClient_GetISteamUtils( int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUtils(_ptr, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUtils(_ptr, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmaking **/ ISteamClient_GetISteamMatchmaking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmakingServers **/ ISteamClient_GetISteamMatchmakingServers( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*void **/ ISteamClient_GetISteamGenericInterface( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUserStats **/ ISteamClient_GetISteamUserStats( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServerStats **/ ISteamClient_GetISteamGameServerStats( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamApps **/ ISteamClient_GetISteamApps( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamNetworking **/ ISteamClient_GetISteamNetworking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamRemoteStorage **/ ISteamClient_GetISteamRemoteStorage( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamScreenshots **/ ISteamClient_GetISteamScreenshots( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual uint /*uint32*/ ISteamClient_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamClient_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamClient_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamClient_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamClient_BShutdownIfAllPipesClosed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BShutdownIfAllPipesClosed(_ptr); + return Native.SteamAPI_ISteamClient_BShutdownIfAllPipesClosed(_ptr); } public virtual IntPtr /*class ISteamHTTP **/ ISteamClient_GetISteamHTTP( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUnifiedMessages **/ ISteamClient_GetISteamUnifiedMessages( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamController **/ ISteamClient_GetISteamController( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUGC **/ ISteamClient_GetISteamUGC( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamAppList **/ ISteamClient_GetISteamAppList( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusic **/ ISteamClient_GetISteamMusic( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusicRemote **/ ISteamClient_GetISteamMusicRemote( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamHTMLSurface **/ ISteamClient_GetISteamHTMLSurface( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamInventory **/ ISteamClient_GetISteamInventory( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamVideo **/ ISteamClient_GetISteamVideo( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual HSteamUser /*(HSteamUser)*/ ISteamUser_GetHSteamUser() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetHSteamUser(_ptr); + return Native.SteamAPI_ISteamUser_GetHSteamUser(_ptr); } public virtual bool /*bool*/ ISteamUser_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamUser_BLoggedOn(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamUser_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetSteamID(_ptr); + return Native.SteamAPI_ISteamUser_GetSteamID(_ptr); } public virtual int /*int*/ ISteamUser_InitiateGameConnection( IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + return Native.SteamAPI_ISteamUser_InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); } public virtual void /*void*/ ISteamUser_TerminateGameConnection( uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TerminateGameConnection(_ptr, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_TerminateGameConnection(_ptr, unIPServer, usPortServer); } public virtual void /*void*/ ISteamUser_TrackAppUsageEvent( ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); + Native.SteamAPI_ISteamUser_TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); } public virtual bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetUserDataFolder(_ptr, pchBuffer, cubBuffer); + return Native.SteamAPI_ISteamUser_GetUserDataFolder(_ptr, pchBuffer, cubBuffer); } public virtual void /*void*/ ISteamUser_StartVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StartVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StartVoiceRecording(_ptr); } public virtual void /*void*/ ISteamUser_StopVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StopVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); + return Native.SteamAPI_ISteamUser_DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); } public virtual uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoiceOptimalSampleRate(_ptr); + return Native.SteamAPI_ISteamUser_GetVoiceOptimalSampleRate(_ptr); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamUser_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamUser_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamUser_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamUser_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamUser_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamUser_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamUser_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamUser_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamUser_BIsBehindNAT() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsBehindNAT(_ptr); + return Native.SteamAPI_ISteamUser_BIsBehindNAT(_ptr); } public virtual void /*void*/ ISteamUser_AdvertiseGame( ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestEncryptedAppTicket( IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); + return Native.SteamAPI_ISteamUser_RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); } public virtual bool /*bool*/ ISteamUser_GetEncryptedAppTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual int /*int*/ ISteamUser_GetGameBadgeLevel( int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetGameBadgeLevel(_ptr, nSeries, bFoil); + return Native.SteamAPI_ISteamUser_GetGameBadgeLevel(_ptr, nSeries, bFoil); } public virtual int /*int*/ ISteamUser_GetPlayerSteamLevel() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetPlayerSteamLevel(_ptr); + return Native.SteamAPI_ISteamUser_GetPlayerSteamLevel(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestStoreAuthURL( string /*const char **/ pchRedirectURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestStoreAuthURL(_ptr, pchRedirectURL); + return Native.SteamAPI_ISteamUser_RequestStoreAuthURL(_ptr, pchRedirectURL); } public virtual bool /*bool*/ ISteamUser_BIsPhoneVerified() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneVerified(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneVerified(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsTwoFactorEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsTwoFactorEnabled(_ptr); + return Native.SteamAPI_ISteamUser_BIsTwoFactorEnabled(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneIdentifying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneIdentifying(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneIdentifying(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneRequiringVerification() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneRequiringVerification(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneRequiringVerification(_ptr); } public virtual IntPtr ISteamFriends_GetPersonaName() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaName(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaName(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_SetPersonaName( string /*const char **/ pchPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetPersonaName(_ptr, pchPersonaName); + return Native.SteamAPI_ISteamFriends_SetPersonaName(_ptr, pchPersonaName); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetPersonaState() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaState(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaState(_ptr); } public virtual int /*int*/ ISteamFriends_GetFriendCount( int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCount(_ptr, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendCount(_ptr, iFriendFlags); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendByIndex( int /*int*/ iFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendByIndex(_ptr, iFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendByIndex(_ptr, iFriend, iFriendFlags); } public virtual FriendRelationship /*EFriendRelationship*/ ISteamFriends_GetFriendRelationship( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRelationship(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRelationship(_ptr, steamIDFriend); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetFriendPersonaState( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaState(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaState(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendPersonaName( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaName(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaName(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_GetFriendGamePlayed( ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); var pFriendGameInfo_ps = new FriendGameInfo_t.PackSmall(); - var ret = Native.ISteamFriends.GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo_ps); + var ret = Native.SteamAPI_ISteamFriends_GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo_ps); pFriendGameInfo = pFriendGameInfo_ps; return ret; } @@ -454,1050 +454,1050 @@ public virtual IntPtr ISteamFriends_GetFriendPersonaNameHistory( ulong steamIDFr { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); } public virtual int /*int*/ ISteamFriends_GetFriendSteamLevel( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendSteamLevel(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendSteamLevel(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetPlayerNickname( ulong steamIDPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPlayerNickname(_ptr, steamIDPlayer); + return Native.SteamAPI_ISteamFriends_GetPlayerNickname(_ptr, steamIDPlayer); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupCount(_ptr); } public virtual FriendsGroupID_t /*(FriendsGroupID_t)*/ ISteamFriends_GetFriendsGroupIDByIndex( int /*int*/ iFG ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupIDByIndex(_ptr, iFG); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex(_ptr, iFG); } public virtual IntPtr ISteamFriends_GetFriendsGroupName( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupName(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupName(_ptr, friendsGroupID); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupMembersCount( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupMembersCount(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersCount(_ptr, friendsGroupID); } public virtual void /*void*/ ISteamFriends_GetFriendsGroupMembersList( short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); + Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); } public virtual bool /*bool*/ ISteamFriends_HasFriend( ulong steamIDFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.HasFriend(_ptr, steamIDFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_HasFriend(_ptr, steamIDFriend, iFriendFlags); } public virtual int /*int*/ ISteamFriends_GetClanCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetClanCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanByIndex( int /*int*/ iClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanByIndex(_ptr, iClan); + return Native.SteamAPI_ISteamFriends_GetClanByIndex(_ptr, iClan); } public virtual IntPtr ISteamFriends_GetClanName( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanName(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanName(_ptr, steamIDClan); } public virtual IntPtr ISteamFriends_GetClanTag( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanTag(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanTag(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_GetClanActivityCounts( ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); + return Native.SteamAPI_ISteamFriends_GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_DownloadClanActivityCounts( IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); + return Native.SteamAPI_ISteamFriends_DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); } public virtual int /*int*/ ISteamFriends_GetFriendCountFromSource( ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCountFromSource(_ptr, steamIDSource); + return Native.SteamAPI_ISteamFriends_GetFriendCountFromSource(_ptr, steamIDSource); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendFromSourceByIndex( ulong steamIDSource, int /*int*/ iFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); + return Native.SteamAPI_ISteamFriends_GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); } public virtual bool /*bool*/ ISteamFriends_IsUserInSource( ulong steamIDUser, ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsUserInSource(_ptr, steamIDUser, steamIDSource); + return Native.SteamAPI_ISteamFriends_IsUserInSource(_ptr, steamIDUser, steamIDSource); } public virtual void /*void*/ ISteamFriends_SetInGameVoiceSpeaking( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); + Native.SteamAPI_ISteamFriends_SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlay( string /*const char **/ pchDialog ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlay(_ptr, pchDialog); + Native.SteamAPI_ISteamFriends_ActivateGameOverlay(_ptr, pchDialog); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToUser( string /*const char **/ pchDialog, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToUser(_ptr, pchDialog, steamID); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToUser(_ptr, pchDialog, steamID); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToWebPage( string /*const char **/ pchURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToWebPage(_ptr, pchURL); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage(_ptr, pchURL); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToStore( uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToStore(_ptr, nAppID, eFlag); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToStore(_ptr, nAppID, eFlag); } public virtual void /*void*/ ISteamFriends_SetPlayedWith( ulong steamIDUserPlayedWith ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetPlayedWith(_ptr, steamIDUserPlayedWith); + Native.SteamAPI_ISteamFriends_SetPlayedWith(_ptr, steamIDUserPlayedWith); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayInviteDialog( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); } public virtual int /*int*/ ISteamFriends_GetSmallFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetSmallFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetSmallFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetMediumFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetMediumFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetMediumFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetLargeFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetLargeFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetLargeFriendAvatar(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_RequestUserInformation( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); + return Native.SteamAPI_ISteamFriends_RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_RequestClanOfficerList( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestClanOfficerList(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_RequestClanOfficerList(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOwner( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOwner(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOwner(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanOfficerCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOfficerCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOfficerByIndex( ulong steamIDClan, int /*int*/ iOfficer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); + return Native.SteamAPI_ISteamFriends_GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); } public virtual uint /*uint32*/ ISteamFriends_GetUserRestrictions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetUserRestrictions(_ptr); + return Native.SteamAPI_ISteamFriends_GetUserRestrictions(_ptr); } public virtual bool /*bool*/ ISteamFriends_SetRichPresence( string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetRichPresence(_ptr, pchKey, pchValue); + return Native.SteamAPI_ISteamFriends_SetRichPresence(_ptr, pchKey, pchValue); } public virtual void /*void*/ ISteamFriends_ClearRichPresence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ClearRichPresence(_ptr); + Native.SteamAPI_ISteamFriends_ClearRichPresence(_ptr); } public virtual IntPtr ISteamFriends_GetFriendRichPresence( ulong steamIDFriend, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresence(_ptr, steamIDFriend, pchKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresence(_ptr, steamIDFriend, pchKey); } public virtual int /*int*/ ISteamFriends_GetFriendRichPresenceKeyCount( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendRichPresenceKeyByIndex( ulong steamIDFriend, int /*int*/ iKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); } public virtual void /*void*/ ISteamFriends_RequestFriendRichPresence( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.RequestFriendRichPresence(_ptr, steamIDFriend); + Native.SteamAPI_ISteamFriends_RequestFriendRichPresence(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_InviteUserToGame( ulong steamIDFriend, string /*const char **/ pchConnectString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.InviteUserToGame(_ptr, steamIDFriend, pchConnectString); + return Native.SteamAPI_ISteamFriends_InviteUserToGame(_ptr, steamIDFriend, pchConnectString); } public virtual int /*int*/ ISteamFriends_GetCoplayFriendCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriendCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetCoplayFriendCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetCoplayFriend( int /*int*/ iCoplayFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriend(_ptr, iCoplayFriend); + return Native.SteamAPI_ISteamFriends_GetCoplayFriend(_ptr, iCoplayFriend); } public virtual int /*int*/ ISteamFriends_GetFriendCoplayTime( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayTime(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayTime(_ptr, steamIDFriend); } public virtual AppId_t /*(AppId_t)*/ ISteamFriends_GetFriendCoplayGame( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayGame(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayGame(_ptr, steamIDFriend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_JoinClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.JoinClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_JoinClanChatRoom(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_LeaveClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.LeaveClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_LeaveClanChatRoom(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanChatMemberCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMemberCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanChatMemberCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetChatMemberByIndex( ulong steamIDClan, int /*int*/ iUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetChatMemberByIndex(_ptr, steamIDClan, iUser); + return Native.SteamAPI_ISteamFriends_GetChatMemberByIndex(_ptr, steamIDClan, iUser); } public virtual bool /*bool*/ ISteamFriends_SendClanChatMessage( ulong steamIDClanChat, string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SendClanChatMessage(_ptr, steamIDClanChat, pchText); + return Native.SteamAPI_ISteamFriends_SendClanChatMessage(_ptr, steamIDClanChat, pchText); } public virtual int /*int*/ ISteamFriends_GetClanChatMessage( ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); + return Native.SteamAPI_ISteamFriends_GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); } public virtual bool /*bool*/ ISteamFriends_IsClanChatAdmin( ulong steamIDClanChat, ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); + return Native.SteamAPI_ISteamFriends_IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); } public virtual bool /*bool*/ ISteamFriends_IsClanChatWindowOpenInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_OpenClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.OpenClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_OpenClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_CloseClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.CloseClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_CloseClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_SetListenForFriendsMessages( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetListenForFriendsMessages(_ptr, bInterceptEnabled); + return Native.SteamAPI_ISteamFriends_SetListenForFriendsMessages(_ptr, bInterceptEnabled); } public virtual bool /*bool*/ ISteamFriends_ReplyToFriendMessage( ulong steamIDFriend, string /*const char **/ pchMsgToSend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); + return Native.SteamAPI_ISteamFriends_ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); } public virtual int /*int*/ ISteamFriends_GetFriendMessage( ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamFriends_GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_GetFollowerCount( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFollowerCount(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_GetFollowerCount(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_IsFollowing( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsFollowing(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_IsFollowing(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_EnumerateFollowingList( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.EnumerateFollowingList(_ptr, unStartIndex); + return Native.SteamAPI_ISteamFriends_EnumerateFollowingList(_ptr, unStartIndex); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceAppActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceAppActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceAppActive(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceComputerActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceComputerActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceComputerActive(_ptr); } public virtual Universe /*EUniverse*/ ISteamUtils_GetConnectedUniverse() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetConnectedUniverse(_ptr); + return Native.SteamAPI_ISteamUtils_GetConnectedUniverse(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetServerRealTime() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetServerRealTime(_ptr); + return Native.SteamAPI_ISteamUtils_GetServerRealTime(_ptr); } public virtual IntPtr ISteamUtils_GetIPCountry() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCountry(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCountry(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetImageSize( int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); + return Native.SteamAPI_ISteamUtils_GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); } public virtual bool /*bool*/ ISteamUtils_GetImageRGBA( int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); + return Native.SteamAPI_ISteamUtils_GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); } public virtual bool /*bool*/ ISteamUtils_GetCSERIPPort( out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCSERIPPort(_ptr, out unIP, out usPort); + return Native.SteamAPI_ISteamUtils_GetCSERIPPort(_ptr, out unIP, out usPort); } public virtual byte /*uint8*/ ISteamUtils_GetCurrentBatteryPower() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCurrentBatteryPower(_ptr); + return Native.SteamAPI_ISteamUtils_GetCurrentBatteryPower(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetAppID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAppID(_ptr); + return Native.SteamAPI_ISteamUtils_GetAppID(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationPosition( NotificationPosition /*ENotificationPosition*/ eNotificationPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationPosition(_ptr, eNotificationPosition); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationPosition(_ptr, eNotificationPosition); } public virtual bool /*bool*/ ISteamUtils_IsAPICallCompleted( ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); + return Native.SteamAPI_ISteamUtils_IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); } public virtual SteamAPICallFailure /*ESteamAPICallFailure*/ ISteamUtils_GetAPICallFailureReason( ulong hSteamAPICall ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallFailureReason(_ptr, hSteamAPICall); + return Native.SteamAPI_ISteamUtils_GetAPICallFailureReason(_ptr, hSteamAPICall); } public virtual bool /*bool*/ ISteamUtils_GetAPICallResult( ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); + return Native.SteamAPI_ISteamUtils_GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); } public virtual uint /*uint32*/ ISteamUtils_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamUtils_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamUtils_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamUtils_IsOverlayEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsOverlayEnabled(_ptr); + return Native.SteamAPI_ISteamUtils_IsOverlayEnabled(_ptr); } public virtual bool /*bool*/ ISteamUtils_BOverlayNeedsPresent() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.BOverlayNeedsPresent(_ptr); + return Native.SteamAPI_ISteamUtils_BOverlayNeedsPresent(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUtils_CheckFileSignature( string /*const char **/ szFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.CheckFileSignature(_ptr, szFileName); + return Native.SteamAPI_ISteamUtils_CheckFileSignature(_ptr, szFileName); } public virtual bool /*bool*/ ISteamUtils_ShowGamepadTextInput( GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + return Native.SteamAPI_ISteamUtils_ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); } public virtual uint /*uint32*/ ISteamUtils_GetEnteredGamepadTextLength() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextLength(_ptr); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextLength(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetEnteredGamepadTextInput( System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextInput(_ptr, pchText, cchText); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(_ptr, pchText, cchText); } public virtual IntPtr ISteamUtils_GetSteamUILanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSteamUILanguage(_ptr); + return Native.SteamAPI_ISteamUtils_GetSteamUILanguage(_ptr); } public virtual bool /*bool*/ ISteamUtils_IsSteamRunningInVR() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamRunningInVR(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamRunningInVR(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); } public virtual bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamInBigPictureMode(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamInBigPictureMode(_ptr); } public virtual void /*void*/ ISteamUtils_StartVRDashboard() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.StartVRDashboard(_ptr); + Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr); } public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGameCount(_ptr); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(_ptr); } public virtual bool /*bool*/ ISteamMatchmaking_GetFavoriteGame( int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); } public virtual int /*int*/ ISteamMatchmaking_AddFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); } public virtual bool /*bool*/ ISteamMatchmaking_RemoveFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); + return Native.SteamAPI_ISteamMatchmaking_RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_RequestLobbyList() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyList(_ptr); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyList(_ptr); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListStringFilter( string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNumericalFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNearValueFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( int /*int*/ nSlotsAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListDistanceFilter( LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListResultCountFilter( int /*int*/ cMaxResults ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyByIndex( int /*int*/ iLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyByIndex(_ptr, iLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyByIndex(_ptr, iLobby); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_CreateLobby( LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.CreateLobby(_ptr, eLobbyType, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_CreateLobby(_ptr, eLobbyType, cMaxMembers); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_JoinLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.JoinLobby(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_JoinLobby(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_LeaveLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.LeaveLobby(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_LeaveLobby(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_InviteUserToLobby( ulong steamIDLobby, ulong steamIDInvitee ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); + return Native.SteamAPI_ISteamMatchmaking_InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); } public virtual int /*int*/ ISteamMatchmaking_GetNumLobbyMembers( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetNumLobbyMembers(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetNumLobbyMembers(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyMemberByIndex( ulong steamIDLobby, int /*int*/ iMember ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); } public virtual IntPtr ISteamMatchmaking_GetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyData(_ptr, steamIDLobby, pchKey); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyDataCount( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataCount(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataCount(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyDataByIndex( ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); } public virtual bool /*bool*/ ISteamMatchmaking_DeleteLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.DeleteLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_DeleteLobbyData(_ptr, steamIDLobby, pchKey); } public virtual IntPtr ISteamMatchmaking_GetLobbyMemberData( ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyMemberData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); + Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual bool /*bool*/ ISteamMatchmaking_SendLobbyChatMsg( ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); + return Native.SteamAPI_ISteamMatchmaking_SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyChatEntry( ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); } public virtual bool /*bool*/ ISteamMatchmaking_RequestLobbyData( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyData(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyData(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyGameServer( ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + Native.SteamAPI_ISteamMatchmaking_SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyGameServer( ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyMemberLimit( ulong steamIDLobby, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyMemberLimit( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberLimit(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyType( ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyType(_ptr, steamIDLobby, eLobbyType); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyType(_ptr, steamIDLobby, eLobbyType); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyJoinable( ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyOwner( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyOwner(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyOwner(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyOwner( ulong steamIDLobby, ulong steamIDNewOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); } public virtual bool /*bool*/ ISteamMatchmaking_SetLinkedLobby( ulong steamIDLobby, ulong steamIDLobbyDependent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); + return Native.SteamAPI_ISteamMatchmaking_SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestInternetServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestLANServerList( uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestLANServerList(_ptr, iApp, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestLANServerList(_ptr, iApp, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFriendsServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFavoritesServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestHistoryServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestSpectatorServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_ReleaseRequest( IntPtr hServerListRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.ReleaseRequest(_ptr, hServerListRequest); + Native.SteamAPI_ISteamMatchmakingServers_ReleaseRequest(_ptr, hServerListRequest); } public virtual IntPtr /*class gameserveritem_t **/ ISteamMatchmakingServers_GetServerDetails( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerDetails(_ptr, hRequest, iServer); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerDetails(_ptr, hRequest, iServer); } public virtual void /*void*/ ISteamMatchmakingServers_CancelQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_CancelQuery(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_RefreshQuery(_ptr, hRequest); } public virtual bool /*bool*/ ISteamMatchmakingServers_IsRefreshing( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.IsRefreshing(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_IsRefreshing(_ptr, hRequest); } public virtual int /*int*/ ISteamMatchmakingServers_GetServerCount( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerCount(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerCount(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshServer( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshServer(_ptr, hRequest, iServer); + Native.SteamAPI_ISteamMatchmakingServers_RefreshServer(_ptr, hRequest, iServer); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PingServer( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PingServer(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PingServer(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PlayerDetails( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_ServerRules( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.ServerRules(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_ServerRules(_ptr, unIP, usPort, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_CancelServerQuery( int hServerQuery ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelServerQuery(_ptr, hServerQuery); + Native.SteamAPI_ISteamMatchmakingServers_CancelServerQuery(_ptr, hServerQuery); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWrite( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWrite(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWrite(_ptr, pchFile, pvData, cubData); } public virtual int /*int32*/ ISteamRemoteStorage_FileRead( string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileRead(_ptr, pchFile, pvData, cubDataToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileRead(_ptr, pchFile, pvData, cubDataToRead); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileWriteAsync( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteAsync(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteAsync(_ptr, pchFile, pvData, cubData); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileReadAsync( string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsync(_ptr, pchFile, nOffset, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsync(_ptr, pchFile, nOffset, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileReadAsyncComplete( ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileForget( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileForget(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileForget(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileDelete( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileDelete(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileDelete(_ptr, pchFile); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileShare( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileShare(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileShare(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_SetSyncPlatforms( string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); + return Native.SteamAPI_ISteamRemoteStorage_SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); } public virtual UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ ISteamRemoteStorage_FileWriteStreamOpen( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamOpen(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamWriteChunk( ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamClose( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamClose(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamClose(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamCancel( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamCancel(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileExists( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileExists(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileExists(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FilePersisted( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FilePersisted(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FilePersisted(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileSize( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileSize(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileSize(_ptr, pchFile); } public virtual long /*int64*/ ISteamRemoteStorage_GetFileTimestamp( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileTimestamp(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileTimestamp(_ptr, pchFile); } public virtual RemoteStoragePlatform /*ERemoteStoragePlatform*/ ISteamRemoteStorage_GetSyncPlatforms( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetSyncPlatforms(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetSyncPlatforms(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetFileCount(_ptr); } public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_GetQuota( IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetQuota(_ptr, pnTotalBytes, puAvailableBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetQuota(_ptr, pnTotalBytes, puAvailableBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForAccount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForAccount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount(_ptr); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForApp() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForApp(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp(_ptr); } public virtual void /*void*/ ISteamRemoteStorage_SetCloudEnabledForApp( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - Native.ISteamRemoteStorage.SetCloudEnabledForApp(_ptr, bEnabled); + Native.SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp(_ptr, bEnabled); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownload( ulong hContent, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownload(_ptr, hContent, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownload(_ptr, hContent, unPriority); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDownloadProgress( ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDetails( ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); } public virtual int /*int32*/ ISteamRemoteStorage_UGCRead( ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); + return Native.SteamAPI_ISteamRemoteStorage_UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); } public virtual int /*int32*/ ISteamRemoteStorage_GetCachedUGCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCCount(_ptr); } public virtual UGCHandle_t /*(UGCHandle_t)*/ ISteamRemoteStorage_GetCachedUGCHandle( int /*int32*/ iCachedContent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCHandle(_ptr, iCachedContent); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle(_ptr, iCachedContent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishWorkshopFile( string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps, eWorkshopFileType); + var ret = Native.SteamAPI_ISteamRemoteStorage_PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps, eWorkshopFileType); pTags = pTags_ps; return ret; } @@ -1505,44 +1505,44 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileFile( ulong updateHandle, string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileFile(_ptr, updateHandle, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile(_ptr, updateHandle, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFilePreviewFile( ulong updateHandle, string /*const char **/ pchPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTitle( ulong updateHandle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileDescription( ulong updateHandle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileVisibility( ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTags( ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.UpdatePublishedFileTags(_ptr, updateHandle, ref pTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags(_ptr, updateHandle, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -1550,67 +1550,67 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CommitPublishedFileUpdate(_ptr, updateHandle); + return Native.SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate(_ptr, updateHandle); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedFileDetails( ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_DeletePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.DeletePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_DeletePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserPublishedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserPublishedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_SubscribePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSubscribedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSubscribedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UnsubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UnsubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( ulong updateHandle, string /*const char **/ pchChangeDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UpdateUserPublishedItemVote( ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); + return Native.SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetUserPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ) { @@ -1618,7 +1618,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, var pRequiredTags_ps = new SteamParamStringArray_t.PackSmall(); var pExcludedTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags_ps, ref pExcludedTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags_ps, ref pExcludedTags_ps); pRequiredTags = pRequiredTags_ps; pExcludedTags = pExcludedTags_ps; return ret; @@ -1628,7 +1628,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -1636,13 +1636,13 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); + return Native.SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ) { @@ -1650,7 +1650,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, var pTags_ps = new SteamParamStringArray_t.PackSmall(); var pUserTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags_ps, ref pUserTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags_ps, ref pUserTags_ps); pTags = pTags_ps; pUserTags = pUserTags_ps; return ret; @@ -1659,195 +1659,195 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); } public virtual bool /*bool*/ ISteamUserStats_RequestCurrentStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestCurrentStats(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestCurrentStats(_ptr); } public virtual bool /*bool*/ ISteamUserStats_GetStat( string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetStat0( string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat0(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat0(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_SetStat( string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat(_ptr, pchName, nData); + return Native.SteamAPI_ISteamUserStats_SetStat(_ptr, pchName, nData); } public virtual bool /*bool*/ ISteamUserStats_SetStat0( string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat0(_ptr, pchName, fData); + return Native.SteamAPI_ISteamUserStats_SetStat0(_ptr, pchName, fData); } public virtual bool /*bool*/ ISteamUserStats_UpdateAvgRateStat( string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamUserStats_UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamUserStats_GetAchievement( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievement(_ptr, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetAchievement(_ptr, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_SetAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_SetAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_ClearAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ClearAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_ClearAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAndUnlockTime( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_StoreStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.StoreStats(_ptr); + return Native.SteamAPI_ISteamUserStats_StoreStats(_ptr); } public virtual int /*int*/ ISteamUserStats_GetAchievementIcon( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementIcon(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_GetAchievementIcon(_ptr, pchName); } public virtual IntPtr ISteamUserStats_GetAchievementDisplayAttribute( string /*const char **/ pchName, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementDisplayAttribute(_ptr, pchName, pchKey); + return Native.SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute(_ptr, pchName, pchKey); } public virtual bool /*bool*/ ISteamUserStats_IndicateAchievementProgress( string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); + return Native.SteamAPI_ISteamUserStats_IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); } public virtual uint /*uint32*/ ISteamUserStats_GetNumAchievements() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumAchievements(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumAchievements(_ptr); } public virtual IntPtr ISteamUserStats_GetAchievementName( uint /*uint32*/ iAchievement ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementName(_ptr, iAchievement); + return Native.SteamAPI_ISteamUserStats_GetAchievementName(_ptr, iAchievement); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamUserStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievementAndUnlockTime( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_ResetAllStats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ResetAllStats(_ptr, bAchievementsToo); + return Native.SteamAPI_ISteamUserStats_ResetAllStats(_ptr, bAchievementsToo); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindOrCreateLeaderboard( string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + return Native.SteamAPI_ISteamUserStats_FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindLeaderboard( string /*const char **/ pchLeaderboardName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindLeaderboard(_ptr, pchLeaderboardName); + return Native.SteamAPI_ISteamUserStats_FindLeaderboard(_ptr, pchLeaderboardName); } public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardName(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardName(_ptr, hSteamLeaderboard); } public virtual int /*int*/ ISteamUserStats_GetLeaderboardEntryCount( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); } public virtual LeaderboardSortMethod /*ELeaderboardSortMethod*/ ISteamUserStats_GetLeaderboardSortMethod( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); } public virtual LeaderboardDisplayType /*ELeaderboardDisplayType*/ ISteamUserStats_GetLeaderboardDisplayType( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntries( ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntriesForUsers( ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); } public virtual bool /*bool*/ ISteamUserStats_GetDownloadedLeaderboardEntry( ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); var pLeaderboardEntry_ps = new LeaderboardEntry_t.PackSmall(); - var ret = Native.ISteamUserStats.GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry_ps, pDetails, cDetailsMax); + var ret = Native.SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry_ps, pDetails, cDetailsMax); pLeaderboardEntry = pLeaderboardEntry_ps; return ret; } @@ -1855,274 +1855,274 @@ public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboar { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + return Native.SteamAPI_ISteamUserStats_UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_AttachLeaderboardUGC( ulong hSteamLeaderboard, ulong hUGC ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); + return Native.SteamAPI_ISteamUserStats_AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_GetNumberOfCurrentPlayers() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumberOfCurrentPlayers(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalAchievementPercentages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalAchievementPercentages(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages(_ptr); } public virtual int /*int*/ ISteamUserStats_GetMostAchievedAchievementInfo( System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual int /*int*/ ISteamUserStats_GetNextMostAchievedAchievementInfo( int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAchievedPercent( string /*const char **/ pchName, out float /*float **/ pflPercent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); + return Native.SteamAPI_ISteamUserStats_GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalStats( int /*int*/ nHistoryDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalStats(_ptr, nHistoryDays); + return Native.SteamAPI_ISteamUserStats_RequestGlobalStats(_ptr, nHistoryDays); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat( string /*const char **/ pchStatName, out long /*int64 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat(_ptr, pchStatName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat0( string /*const char **/ pchStatName, out double /*double **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat0(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat0(_ptr, pchStatName, out pData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory( string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory0( string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); } public virtual bool /*bool*/ ISteamApps_BIsSubscribed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribed(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribed(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsLowViolence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsLowViolence(_ptr); + return Native.SteamAPI_ISteamApps_BIsLowViolence(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsCybercafe() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsCybercafe(_ptr); + return Native.SteamAPI_ISteamApps_BIsCybercafe(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsVACBanned() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsVACBanned(_ptr); + return Native.SteamAPI_ISteamApps_BIsVACBanned(_ptr); } public virtual IntPtr ISteamApps_GetCurrentGameLanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentGameLanguage(_ptr); + return Native.SteamAPI_ISteamApps_GetCurrentGameLanguage(_ptr); } public virtual IntPtr ISteamApps_GetAvailableGameLanguages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAvailableGameLanguages(_ptr); + return Native.SteamAPI_ISteamApps_GetAvailableGameLanguages(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedApp( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedApp(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsSubscribedApp(_ptr, appID); } public virtual bool /*bool*/ ISteamApps_BIsDlcInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsDlcInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsDlcInstalled(_ptr, appID); } public virtual uint /*uint32*/ ISteamApps_GetEarliestPurchaseUnixTime( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetEarliestPurchaseUnixTime(_ptr, nAppID); + return Native.SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedFromFreeWeekend() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedFromFreeWeekend(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend(_ptr); } public virtual int /*int*/ ISteamApps_GetDLCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDLCCount(_ptr); + return Native.SteamAPI_ISteamApps_GetDLCCount(_ptr); } public virtual bool /*bool*/ ISteamApps_BGetDLCDataByIndex( int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); } public virtual void /*void*/ ISteamApps_InstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.InstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_InstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_UninstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.UninstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_UninstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_RequestAppProofOfPurchaseKey( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAppProofOfPurchaseKey(_ptr, nAppID); + Native.SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_GetCurrentBetaName( System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); } public virtual bool /*bool*/ ISteamApps_MarkContentCorrupt( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.MarkContentCorrupt(_ptr, bMissingFilesOnly); + return Native.SteamAPI_ISteamApps_MarkContentCorrupt(_ptr, bMissingFilesOnly); } public virtual uint /*uint32*/ ISteamApps_GetInstalledDepots( uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); + return Native.SteamAPI_ISteamApps_GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); } public virtual uint /*uint32*/ ISteamApps_GetAppInstallDir( uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); + return Native.SteamAPI_ISteamApps_GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); } public virtual bool /*bool*/ ISteamApps_BIsAppInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsAppInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsAppInstalled(_ptr, appID); } public virtual CSteamID /*(class CSteamID)*/ ISteamApps_GetAppOwner() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppOwner(_ptr); + return Native.SteamAPI_ISteamApps_GetAppOwner(_ptr); } public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetLaunchQueryParam(_ptr, pchKey); + return Native.SteamAPI_ISteamApps_GetLaunchQueryParam(_ptr, pchKey); } public virtual bool /*bool*/ ISteamApps_GetDlcDownloadProgress( uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamApps_GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); } public virtual int /*int*/ ISteamApps_GetAppBuildId() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppBuildId(_ptr); + return Native.SteamAPI_ISteamApps_GetAppBuildId(_ptr); } public virtual void /*void*/ ISteamApps_RequestAllProofOfPurchaseKeys() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAllProofOfPurchaseKeys(_ptr); + Native.SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamApps_GetFileDetails( string /*const char **/ pszFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetFileDetails(_ptr, pszFileName); + return Native.SteamAPI_ISteamApps_GetFileDetails(_ptr, pszFileName); } public virtual bool /*bool*/ ISteamNetworking_SendP2PPacket( ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + return Native.SteamAPI_ISteamNetworking_SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); } public virtual bool /*bool*/ ISteamNetworking_IsP2PPacketAvailable( out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); + return Native.SteamAPI_ISteamNetworking_IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); } public virtual bool /*bool*/ ISteamNetworking_ReadP2PPacket( IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_AcceptP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AcceptP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_CloseP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PChannelWithUser( ulong steamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_GetP2PSessionState( ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); var pConnectionState_ps = new P2PSessionState_t.PackSmall(); - var ret = Native.ISteamNetworking.GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState_ps); + var ret = Native.SteamAPI_ISteamNetworking_GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState_ps); pConnectionState = pConnectionState_ps; return ret; } @@ -2130,741 +2130,741 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AllowP2PPacketRelay(_ptr, bAllow); + return Native.SteamAPI_ISteamNetworking_AllowP2PPacketRelay(_ptr, bAllow); } public virtual SNetListenSocket_t /*(SNetListenSocket_t)*/ ISteamNetworking_CreateListenSocket( int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateP2PConnectionSocket( ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateConnectionSocket( uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); + return Native.SteamAPI_ISteamNetworking_CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); } public virtual bool /*bool*/ ISteamNetworking_DestroySocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_DestroyListenSocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_SendDataOnSocket( uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); + return Native.SteamAPI_ISteamNetworking_SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailableOnSocket( uint hSocket, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_RetrieveDataFromSocket( uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailable( uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_RetrieveData( uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_GetSocketInfo( uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); + return Native.SteamAPI_ISteamNetworking_GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); } public virtual bool /*bool*/ ISteamNetworking_GetListenSocketInfo( uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); + return Native.SteamAPI_ISteamNetworking_GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); } public virtual SNetSocketConnectionType /*ESNetSocketConnectionType*/ ISteamNetworking_GetSocketConnectionType( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketConnectionType(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetSocketConnectionType(_ptr, hSocket); } public virtual int /*int*/ ISteamNetworking_GetMaxPacketSize( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetMaxPacketSize(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetMaxPacketSize(_ptr, hSocket); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_WriteScreenshot( IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddScreenshotToLibrary( string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); } public virtual void /*void*/ ISteamScreenshots_TriggerScreenshot() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.TriggerScreenshot(_ptr); + Native.SteamAPI_ISteamScreenshots_TriggerScreenshot(_ptr); } public virtual void /*void*/ ISteamScreenshots_HookScreenshots( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.HookScreenshots(_ptr, bHook); + Native.SteamAPI_ISteamScreenshots_HookScreenshots(_ptr, bHook); } public virtual bool /*bool*/ ISteamScreenshots_SetLocation( uint hScreenshot, string /*const char **/ pchLocation ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.SetLocation(_ptr, hScreenshot, pchLocation); + return Native.SteamAPI_ISteamScreenshots_SetLocation(_ptr, hScreenshot, pchLocation); } public virtual bool /*bool*/ ISteamScreenshots_TagUser( uint hScreenshot, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagUser(_ptr, hScreenshot, steamID); + return Native.SteamAPI_ISteamScreenshots_TagUser(_ptr, hScreenshot, steamID); } public virtual bool /*bool*/ ISteamScreenshots_TagPublishedFile( uint hScreenshot, ulong unPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); + return Native.SteamAPI_ISteamScreenshots_TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); } public virtual bool /*bool*/ ISteamScreenshots_IsScreenshotsHooked() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.IsScreenshotsHooked(_ptr); + return Native.SteamAPI_ISteamScreenshots_IsScreenshotsHooked(_ptr); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddVRScreenshotToLibrary( VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); + return Native.SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); } public virtual bool /*bool*/ ISteamMusic_BIsEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsEnabled(_ptr); + return Native.SteamAPI_ISteamMusic_BIsEnabled(_ptr); } public virtual bool /*bool*/ ISteamMusic_BIsPlaying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsPlaying(_ptr); + return Native.SteamAPI_ISteamMusic_BIsPlaying(_ptr); } public virtual AudioPlayback_Status /*AudioPlayback_Status*/ ISteamMusic_GetPlaybackStatus() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetPlaybackStatus(_ptr); + return Native.SteamAPI_ISteamMusic_GetPlaybackStatus(_ptr); } public virtual void /*void*/ ISteamMusic_Play() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Play(_ptr); + Native.SteamAPI_ISteamMusic_Play(_ptr); } public virtual void /*void*/ ISteamMusic_Pause() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Pause(_ptr); + Native.SteamAPI_ISteamMusic_Pause(_ptr); } public virtual void /*void*/ ISteamMusic_PlayPrevious() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayPrevious(_ptr); + Native.SteamAPI_ISteamMusic_PlayPrevious(_ptr); } public virtual void /*void*/ ISteamMusic_PlayNext() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayNext(_ptr); + Native.SteamAPI_ISteamMusic_PlayNext(_ptr); } public virtual void /*void*/ ISteamMusic_SetVolume( float /*float*/ flVolume ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.SetVolume(_ptr, flVolume); + Native.SteamAPI_ISteamMusic_SetVolume(_ptr, flVolume); } public virtual float /*float*/ ISteamMusic_GetVolume() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetVolume(_ptr); + return Native.SteamAPI_ISteamMusic_GetVolume(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_RegisterSteamMusicRemote( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.RegisterSteamMusicRemote(_ptr, pchName); + return Native.SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote(_ptr, pchName); } public virtual bool /*bool*/ ISteamMusicRemote_DeregisterSteamMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.DeregisterSteamMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BIsCurrentMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BIsCurrentMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BActivationSuccess( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BActivationSuccess(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_BActivationSuccess(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_SetDisplayName( string /*const char **/ pchDisplayName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetDisplayName(_ptr, pchDisplayName); + return Native.SteamAPI_ISteamMusicRemote_SetDisplayName(_ptr, pchDisplayName); } public virtual bool /*bool*/ ISteamMusicRemote_SetPNGIcon_64x64( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayPrevious( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayPrevious(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayPrevious(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayNext( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayNext(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayNext(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableQueue( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableQueue(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableQueue(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlaylists( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlaylists(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlaylists(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdatePlaybackStatus( AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdatePlaybackStatus(_ptr, nStatus); + return Native.SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus(_ptr, nStatus); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateVolume( float /*float*/ flValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateVolume(_ptr, flValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateVolume(_ptr, flValue); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryIsAvailable( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryIsAvailable(_ptr, bAvailable); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable(_ptr, bAvailable); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryText( string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryText(_ptr, pchText); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText(_ptr, pchText); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( int /*int*/ nValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds(_ptr, nValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds(_ptr, nValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_QueueWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetQueueEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetQueueEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetQueueEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetQueueEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetQueueEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetQueueEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentQueueEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentQueueEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_QueueDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetPlaylistEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetPlaylistEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetPlaylistEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetPlaylistEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentPlaylistEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentPlaylistEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistDidChange(_ptr); } public virtual HTTPRequestHandle /*(HTTPRequestHandle)*/ ISteamHTTP_CreateHTTPRequest( HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); + return Native.SteamAPI_ISteamHTTP_CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestContextValue( uint hRequest, ulong /*uint64*/ ulContextValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( uint hRequest, uint /*uint32*/ unTimeoutSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestGetOrPostParameter( uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequest( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequest(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequest(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequestAndStreamResponse( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_DeferHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.DeferHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_DeferHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_PrioritizeHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.PrioritizeHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_PrioritizeHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderSize( uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodySize( uint hRequest, out uint /*uint32 **/ unBodySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodyData( uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPStreamingResponseBodyData( uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_ReleaseHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_ReleaseHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPDownloadProgressPct( uint hRequest, out float /*float **/ pflPercentOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRawPostBody( uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); } public virtual HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ ISteamHTTP_CreateCookieContainer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateCookieContainer(_ptr, bAllowResponsesToModify); + return Native.SteamAPI_ISteamHTTP_CreateCookieContainer(_ptr, bAllowResponsesToModify); } public virtual bool /*bool*/ ISteamHTTP_ReleaseCookieContainer( uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseCookieContainer(_ptr, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_ReleaseCookieContainer(_ptr, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetCookie( uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); + return Native.SteamAPI_ISteamHTTP_SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestCookieContainer( uint hRequest, uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestUserAgentInfo( uint hRequest, string /*const char **/ pchUserAgentInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( uint hRequest, uint /*uint32*/ unMilliseconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); } public virtual ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); + return Native.SteamAPI_ISteamUnifiedMessages_SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); } public virtual bool /*bool*/ ISteamUnifiedMessages_ReleaseMethod( ulong hHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.ReleaseMethod(_ptr, hHandle); + return Native.SteamAPI_ISteamUnifiedMessages_ReleaseMethod(_ptr, hHandle); } public virtual bool /*bool*/ ISteamUnifiedMessages_SendNotification( string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); + return Native.SteamAPI_ISteamUnifiedMessages_SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); } public virtual bool /*bool*/ ISteamController_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Init(_ptr); + return Native.SteamAPI_ISteamController_Init(_ptr); } public virtual bool /*bool*/ ISteamController_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Shutdown(_ptr); + return Native.SteamAPI_ISteamController_Shutdown(_ptr); } public virtual void /*void*/ ISteamController_RunFrame() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.RunFrame(_ptr); + Native.SteamAPI_ISteamController_RunFrame(_ptr); } public virtual int /*int*/ ISteamController_GetConnectedControllers( IntPtr /*ControllerHandle_t **/ handlesOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetConnectedControllers(_ptr, handlesOut); + return Native.SteamAPI_ISteamController_GetConnectedControllers(_ptr, handlesOut); } public virtual bool /*bool*/ ISteamController_ShowBindingPanel( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowBindingPanel(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_ShowBindingPanel(_ptr, controllerHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetActionSetHandle( string /*const char **/ pszActionSetName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetActionSetHandle(_ptr, pszActionSetName); + return Native.SteamAPI_ISteamController_GetActionSetHandle(_ptr, pszActionSetName); } public virtual void /*void*/ ISteamController_ActivateActionSet( ulong controllerHandle, ulong actionSetHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.ActivateActionSet(_ptr, controllerHandle, actionSetHandle); + Native.SteamAPI_ISteamController_ActivateActionSet(_ptr, controllerHandle, actionSetHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetCurrentActionSet( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetCurrentActionSet(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetCurrentActionSet(_ptr, controllerHandle); } public virtual ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ ISteamController_GetDigitalActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetDigitalActionHandle(_ptr, pszActionName); } public virtual ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ ISteamController_GetDigitalActionData( ulong controllerHandle, ulong digitalActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); + return Native.SteamAPI_ISteamController_GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); } public virtual int /*int*/ ISteamController_GetDigitalActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); } public virtual ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ ISteamController_GetAnalogActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetAnalogActionHandle(_ptr, pszActionName); } public virtual ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ ISteamController_GetAnalogActionData( ulong controllerHandle, ulong analogActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); + return Native.SteamAPI_ISteamController_GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); } public virtual int /*int*/ ISteamController_GetAnalogActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); } public virtual void /*void*/ ISteamController_StopAnalogActionMomentum( ulong controllerHandle, ulong eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.StopAnalogActionMomentum(_ptr, controllerHandle, eAction); + Native.SteamAPI_ISteamController_StopAnalogActionMomentum(_ptr, controllerHandle, eAction); } public virtual void /*void*/ ISteamController_TriggerHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); + Native.SteamAPI_ISteamController_TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); } public virtual void /*void*/ ISteamController_TriggerRepeatedHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + Native.SteamAPI_ISteamController_TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); } public virtual int /*int*/ ISteamController_GetGamepadIndexForController( ulong ulControllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetGamepadIndexForController(_ptr, ulControllerHandle); + return Native.SteamAPI_ISteamController_GetGamepadIndexForController(_ptr, ulControllerHandle); } public virtual ControllerHandle_t /*(ControllerHandle_t)*/ ISteamController_GetControllerForGamepadIndex( int /*int*/ nIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetControllerForGamepadIndex(_ptr, nIndex); + return Native.SteamAPI_ISteamController_GetControllerForGamepadIndex(_ptr, nIndex); } public virtual ControllerMotionData_t /*struct ControllerMotionData_t*/ ISteamController_GetMotionData( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetMotionData(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetMotionData(_ptr, controllerHandle); } public virtual bool /*bool*/ ISteamController_ShowDigitalActionOrigins( ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); } public virtual bool /*bool*/ ISteamController_ShowAnalogActionOrigins( ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUserUGCRequest( uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryAllUGCRequest( UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SendQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SendQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_SendQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCResult( ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); var pDetails_ps = new SteamUGCDetails_t.PackSmall(); - var ret = Native.ISteamUGC.GetQueryUGCResult(_ptr, handle, index, ref pDetails_ps); + var ret = Native.SteamAPI_ISteamUGC_GetQueryUGCResult(_ptr, handle, index, ref pDetails_ps); pDetails = pDetails_ps; return ret; } @@ -2872,206 +2872,206 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCMetadata( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCChildren( ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCStatistic( ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); + return Native.SteamAPI_ISteamUGC_GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumAdditionalPreviews( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCAdditionalPreview( ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); + return Native.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumKeyValueTags( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumKeyValueTags(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCKeyValueTag( ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); } public virtual bool /*bool*/ ISteamUGC_ReleaseQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.ReleaseQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_AddRequiredTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddRequiredTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_AddExcludedTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddExcludedTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddExcludedTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_SetReturnOnlyIDs( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); + return Native.SteamAPI_ISteamUGC_SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); } public virtual bool /*bool*/ ISteamUGC_SetReturnKeyValueTags( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); + return Native.SteamAPI_ISteamUGC_SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); } public virtual bool /*bool*/ ISteamUGC_SetReturnLongDescription( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnLongDescription(_ptr, handle, bReturnLongDescription); + return Native.SteamAPI_ISteamUGC_SetReturnLongDescription(_ptr, handle, bReturnLongDescription); } public virtual bool /*bool*/ ISteamUGC_SetReturnMetadata( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnMetadata(_ptr, handle, bReturnMetadata); + return Native.SteamAPI_ISteamUGC_SetReturnMetadata(_ptr, handle, bReturnMetadata); } public virtual bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnChildren(_ptr, handle, bReturnChildren); + return Native.SteamAPI_ISteamUGC_SetReturnChildren(_ptr, handle, bReturnChildren); } public virtual bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); + return Native.SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); } public virtual bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); + return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); } public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); } public virtual bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); + return Native.SteamAPI_ISteamUGC_SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); } public virtual bool /*bool*/ ISteamUGC_SetMatchAnyTag( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetMatchAnyTag(_ptr, handle, bMatchAnyTag); + return Native.SteamAPI_ISteamUGC_SetMatchAnyTag(_ptr, handle, bMatchAnyTag); } public virtual bool /*bool*/ ISteamUGC_SetSearchText( ulong handle, string /*const char **/ pSearchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetSearchText(_ptr, handle, pSearchText); + return Native.SteamAPI_ISteamUGC_SetSearchText(_ptr, handle, pSearchText); } public virtual bool /*bool*/ ISteamUGC_SetRankedByTrendDays( ulong handle, uint /*uint32*/ unDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetRankedByTrendDays(_ptr, handle, unDays); + return Native.SteamAPI_ISteamUGC_SetRankedByTrendDays(_ptr, handle, unDays); } public virtual bool /*bool*/ ISteamUGC_AddRequiredKeyValueTag( ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); + return Native.SteamAPI_ISteamUGC_AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RequestUGCDetails( ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_CreateItem( uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateItem(_ptr, nConsumerAppId, eFileType); + return Native.SteamAPI_ISteamUGC_CreateItem(_ptr, nConsumerAppId, eFileType); } public virtual UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ ISteamUGC_StartItemUpdate( uint nConsumerAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_SetItemTitle( ulong handle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTitle(_ptr, handle, pchTitle); + return Native.SteamAPI_ISteamUGC_SetItemTitle(_ptr, handle, pchTitle); } public virtual bool /*bool*/ ISteamUGC_SetItemDescription( ulong handle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemDescription(_ptr, handle, pchDescription); + return Native.SteamAPI_ISteamUGC_SetItemDescription(_ptr, handle, pchDescription); } public virtual bool /*bool*/ ISteamUGC_SetItemUpdateLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemUpdateLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetItemUpdateLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetItemMetadata( ulong handle, string /*const char **/ pchMetaData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemMetadata(_ptr, handle, pchMetaData); + return Native.SteamAPI_ISteamUGC_SetItemMetadata(_ptr, handle, pchMetaData); } public virtual bool /*bool*/ ISteamUGC_SetItemVisibility( ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemVisibility(_ptr, handle, eVisibility); + return Native.SteamAPI_ISteamUGC_SetItemVisibility(_ptr, handle, eVisibility); } public virtual bool /*bool*/ ISteamUGC_SetItemTags( ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamUGC.SetItemTags(_ptr, updateHandle, ref pTags_ps); + var ret = Native.SteamAPI_ISteamUGC_SetItemTags(_ptr, updateHandle, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -3079,2353 +3079,1694 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemContent(_ptr, handle, pszContentFolder); + return Native.SteamAPI_ISteamUGC_SetItemContent(_ptr, handle, pszContentFolder); } public virtual bool /*bool*/ ISteamUGC_SetItemPreview( ulong handle, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemPreview(_ptr, handle, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_SetItemPreview(_ptr, handle, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_RemoveItemKeyValueTags( ulong handle, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemKeyValueTags(_ptr, handle, pchKey); + return Native.SteamAPI_ISteamUGC_RemoveItemKeyValueTags(_ptr, handle, pchKey); } public virtual bool /*bool*/ ISteamUGC_AddItemKeyValueTag( ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); + return Native.SteamAPI_ISteamUGC_AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewFile( ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); + return Native.SteamAPI_ISteamUGC_AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewVideo( ulong handle, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewVideo(_ptr, handle, pszVideoID); + return Native.SteamAPI_ISteamUGC_AddItemPreviewVideo(_ptr, handle, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewFile( ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewVideo( ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_RemoveItemPreview( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemPreview(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_RemoveItemPreview(_ptr, handle, index); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubmitItemUpdate( ulong handle, string /*const char **/ pchChangeNote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubmitItemUpdate(_ptr, handle, pchChangeNote); + return Native.SteamAPI_ISteamUGC_SubmitItemUpdate(_ptr, handle, pchChangeNote); } public virtual ItemUpdateStatus /*EItemUpdateStatus*/ ISteamUGC_GetItemUpdateProgress( ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SetUserItemVote( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); + return Native.SteamAPI_ISteamUGC_SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_GetUserItemVote( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetUserItemVote(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetUserItemVote(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddItemToFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemToFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_AddItemToFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveItemFromFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_SubscribeItem(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_UnsubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UnsubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_UnsubscribeItem(_ptr, nPublishedFileID); } public virtual uint /*uint32*/ ISteamUGC_GetNumSubscribedItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetNumSubscribedItems(_ptr); + return Native.SteamAPI_ISteamUGC_GetNumSubscribedItems(_ptr); } public virtual uint /*uint32*/ ISteamUGC_GetSubscribedItems( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); } public virtual uint /*uint32*/ ISteamUGC_GetItemState( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemState(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetItemState(_ptr, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_GetItemInstallInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); + return Native.SteamAPI_ISteamUGC_GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); } public virtual bool /*bool*/ ISteamUGC_GetItemDownloadInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); } public virtual bool /*bool*/ ISteamUGC_DownloadItem( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.DownloadItem(_ptr, nPublishedFileID, bHighPriority); + return Native.SteamAPI_ISteamUGC_DownloadItem(_ptr, nPublishedFileID, bHighPriority); } public virtual bool /*bool*/ ISteamUGC_BInitWorkshopForGameServer( uint unWorkshopDepotID, string /*const char **/ pszFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); + return Native.SteamAPI_ISteamUGC_BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); } public virtual void /*void*/ ISteamUGC_SuspendDownloads( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - Native.ISteamUGC.SuspendDownloads(_ptr, bSuspend); + Native.SteamAPI_ISteamUGC_SuspendDownloads(_ptr, bSuspend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTrackingForAllItems(_ptr); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetNumInstalledApps(_ptr); + return Native.SteamAPI_ISteamAppList_GetNumInstalledApps(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetInstalledApps( IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); + return Native.SteamAPI_ISteamAppList_GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); } public virtual int /*int*/ ISteamAppList_GetAppName( uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppName(_ptr, nAppID, pchName, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppName(_ptr, nAppID, pchName, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppInstallDir( uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppBuildId( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppBuildId(_ptr, nAppID); + return Native.SteamAPI_ISteamAppList_GetAppBuildId(_ptr, nAppID); } public virtual void /*void*/ ISteamHTMLSurface_DestructISteamHTMLSurface() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.DestructISteamHTMLSurface(_ptr); + Native.SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Init(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Init(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Shutdown(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Shutdown(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamHTMLSurface_CreateBrowser( string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.CreateBrowser(_ptr, pchUserAgent, pchUserCSS); + return Native.SteamAPI_ISteamHTMLSurface_CreateBrowser(_ptr, pchUserAgent, pchUserCSS); } public virtual void /*void*/ ISteamHTMLSurface_RemoveBrowser( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.RemoveBrowser(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_RemoveBrowser(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_LoadURL( uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); + Native.SteamAPI_ISteamHTMLSurface_LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); } public virtual void /*void*/ ISteamHTMLSurface_SetSize( uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetSize(_ptr, unBrowserHandle, unWidth, unHeight); + Native.SteamAPI_ISteamHTMLSurface_SetSize(_ptr, unBrowserHandle, unWidth, unHeight); } public virtual void /*void*/ ISteamHTMLSurface_StopLoad( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopLoad(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopLoad(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Reload( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Reload(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_Reload(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoBack( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoBack(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoBack(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoForward( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoForward(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoForward(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_AddHeader( uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); + Native.SteamAPI_ISteamHTMLSurface_AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); } public virtual void /*void*/ ISteamHTMLSurface_ExecuteJavascript( uint unBrowserHandle, string /*const char **/ pchScript ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ExecuteJavascript(_ptr, unBrowserHandle, pchScript); + Native.SteamAPI_ISteamHTMLSurface_ExecuteJavascript(_ptr, unBrowserHandle, pchScript); } public virtual void /*void*/ ISteamHTMLSurface_MouseUp( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseUp(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseUp(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDown( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDown(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDown(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDoubleClick( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseMove( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseMove(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_MouseMove(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_MouseWheel( uint unBrowserHandle, int /*int32*/ nDelta ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseWheel(_ptr, unBrowserHandle, nDelta); + Native.SteamAPI_ISteamHTMLSurface_MouseWheel(_ptr, unBrowserHandle, nDelta); } public virtual void /*void*/ ISteamHTMLSurface_KeyDown( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyUp( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyChar( uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_SetHorizontalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetVerticalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetKeyFocus( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); + Native.SteamAPI_ISteamHTMLSurface_SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); } public virtual void /*void*/ ISteamHTMLSurface_ViewSource( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ViewSource(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_ViewSource(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_CopyToClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.CopyToClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_CopyToClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_PasteFromClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.PasteFromClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_PasteFromClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Find( uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + Native.SteamAPI_ISteamHTMLSurface_Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); } public virtual void /*void*/ ISteamHTMLSurface_StopFind( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopFind(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopFind(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GetLinkAtPosition( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GetLinkAtPosition(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_GetLinkAtPosition(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_SetCookie( string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + Native.SteamAPI_ISteamHTMLSurface_SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); } public virtual void /*void*/ ISteamHTMLSurface_SetPageScaleFactor( uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); + Native.SteamAPI_ISteamHTMLSurface_SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); } public virtual void /*void*/ ISteamHTMLSurface_SetBackgroundMode( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); + Native.SteamAPI_ISteamHTMLSurface_SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); } public virtual void /*void*/ ISteamHTMLSurface_AllowStartRequest( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AllowStartRequest(_ptr, unBrowserHandle, bAllowed); + Native.SteamAPI_ISteamHTMLSurface_AllowStartRequest(_ptr, unBrowserHandle, bAllowed); } public virtual void /*void*/ ISteamHTMLSurface_JSDialogResponse( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.JSDialogResponse(_ptr, unBrowserHandle, bResult); + Native.SteamAPI_ISteamHTMLSurface_JSDialogResponse(_ptr, unBrowserHandle, bResult); } public virtual Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultStatus(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultStatus(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); + return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); } public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultTimestamp(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultTimestamp(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.CheckResultSteamID(_ptr, resultHandle, steamIDExpected); + return Native.SteamAPI_ISteamInventory_CheckResultSteamID(_ptr, resultHandle, steamIDExpected); } public virtual void /*void*/ ISteamInventory_DestroyResult( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.DestroyResult(_ptr, resultHandle); + Native.SteamAPI_ISteamInventory_DestroyResult(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetAllItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetAllItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GetAllItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_GetItemsByID( ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); + return Native.SteamAPI_ISteamInventory_GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); } public virtual bool /*bool*/ ISteamInventory_SerializeResult( int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); + return Native.SteamAPI_ISteamInventory_SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); } public virtual bool /*bool*/ ISteamInventory_DeserializeResult( ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + return Native.SteamAPI_ISteamInventory_DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); } public virtual bool /*bool*/ ISteamInventory_GenerateItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); + return Native.SteamAPI_ISteamInventory_GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_GrantPromoItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GrantPromoItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GrantPromoItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_AddPromoItem( ref int pResultHandle, int itemDef ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItem(_ptr, ref pResultHandle, itemDef); + return Native.SteamAPI_ISteamInventory_AddPromoItem(_ptr, ref pResultHandle, itemDef); } public virtual bool /*bool*/ ISteamInventory_AddPromoItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); + return Native.SteamAPI_ISteamInventory_AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_ConsumeItem( ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); + return Native.SteamAPI_ISteamInventory_ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); } public virtual bool /*bool*/ ISteamInventory_ExchangeItems( ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + return Native.SteamAPI_ISteamInventory_ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); } public virtual bool /*bool*/ ISteamInventory_TransferItemQuantity( ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); + return Native.SteamAPI_ISteamInventory_TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); } public virtual void /*void*/ ISteamInventory_SendItemDropHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.SendItemDropHeartbeat(_ptr); + Native.SteamAPI_ISteamInventory_SendItemDropHeartbeat(_ptr); } public virtual bool /*bool*/ ISteamInventory_TriggerItemDrop( ref int pResultHandle, int dropListDefinition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); + return Native.SteamAPI_ISteamInventory_TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); } public virtual bool /*bool*/ ISteamInventory_TradeItems( ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); + return Native.SteamAPI_ISteamInventory_TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); } public virtual bool /*bool*/ ISteamInventory_LoadItemDefinitions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.LoadItemDefinitions(_ptr); + return Native.SteamAPI_ISteamInventory_LoadItemDefinitions(_ptr); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionIDs( IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionProperty( int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); } public virtual void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - Native.ISteamVideo.GetVideoURL(_ptr, unVideoAppID); + Native.SteamAPI_ISteamVideo_GetVideoURL(_ptr, unVideoAppID); } public virtual bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - return Native.ISteamVideo.IsBroadcasting(_ptr, pnNumViewers); + return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers); } public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + return Native.SteamAPI_ISteamGameServer_InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); } public virtual void /*void*/ ISteamGameServer_SetProduct( string /*const char **/ pszProduct ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetProduct(_ptr, pszProduct); + Native.SteamAPI_ISteamGameServer_SetProduct(_ptr, pszProduct); } public virtual void /*void*/ ISteamGameServer_SetGameDescription( string /*const char **/ pszGameDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameDescription(_ptr, pszGameDescription); + Native.SteamAPI_ISteamGameServer_SetGameDescription(_ptr, pszGameDescription); } public virtual void /*void*/ ISteamGameServer_SetModDir( string /*const char **/ pszModDir ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetModDir(_ptr, pszModDir); + Native.SteamAPI_ISteamGameServer_SetModDir(_ptr, pszModDir); } public virtual void /*void*/ ISteamGameServer_SetDedicatedServer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetDedicatedServer(_ptr, bDedicated); + Native.SteamAPI_ISteamGameServer_SetDedicatedServer(_ptr, bDedicated); } public virtual void /*void*/ ISteamGameServer_LogOn( string /*const char **/ pszToken ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOn(_ptr, pszToken); + Native.SteamAPI_ISteamGameServer_LogOn(_ptr, pszToken); } public virtual void /*void*/ ISteamGameServer_LogOnAnonymous() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOnAnonymous(_ptr); + Native.SteamAPI_ISteamGameServer_LogOnAnonymous(_ptr); } public virtual void /*void*/ ISteamGameServer_LogOff() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOff(_ptr); + Native.SteamAPI_ISteamGameServer_LogOff(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamGameServer_BLoggedOn(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BSecure() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BSecure(_ptr); + return Native.SteamAPI_ISteamGameServer_BSecure(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetSteamID(_ptr); + return Native.SteamAPI_ISteamGameServer_GetSteamID(_ptr); } public virtual bool /*bool*/ ISteamGameServer_WasRestartRequested() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.WasRestartRequested(_ptr); + return Native.SteamAPI_ISteamGameServer_WasRestartRequested(_ptr); } public virtual void /*void*/ ISteamGameServer_SetMaxPlayerCount( int /*int*/ cPlayersMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMaxPlayerCount(_ptr, cPlayersMax); + Native.SteamAPI_ISteamGameServer_SetMaxPlayerCount(_ptr, cPlayersMax); } public virtual void /*void*/ ISteamGameServer_SetBotPlayerCount( int /*int*/ cBotplayers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetBotPlayerCount(_ptr, cBotplayers); + Native.SteamAPI_ISteamGameServer_SetBotPlayerCount(_ptr, cBotplayers); } public virtual void /*void*/ ISteamGameServer_SetServerName( string /*const char **/ pszServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetServerName(_ptr, pszServerName); + Native.SteamAPI_ISteamGameServer_SetServerName(_ptr, pszServerName); } public virtual void /*void*/ ISteamGameServer_SetMapName( string /*const char **/ pszMapName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMapName(_ptr, pszMapName); + Native.SteamAPI_ISteamGameServer_SetMapName(_ptr, pszMapName); } public virtual void /*void*/ ISteamGameServer_SetPasswordProtected( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetPasswordProtected(_ptr, bPasswordProtected); + Native.SteamAPI_ISteamGameServer_SetPasswordProtected(_ptr, bPasswordProtected); } public virtual void /*void*/ ISteamGameServer_SetSpectatorPort( ushort /*uint16*/ unSpectatorPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorPort(_ptr, unSpectatorPort); + Native.SteamAPI_ISteamGameServer_SetSpectatorPort(_ptr, unSpectatorPort); } public virtual void /*void*/ ISteamGameServer_SetSpectatorServerName( string /*const char **/ pszSpectatorServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorServerName(_ptr, pszSpectatorServerName); + Native.SteamAPI_ISteamGameServer_SetSpectatorServerName(_ptr, pszSpectatorServerName); } public virtual void /*void*/ ISteamGameServer_ClearAllKeyValues() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ClearAllKeyValues(_ptr); + Native.SteamAPI_ISteamGameServer_ClearAllKeyValues(_ptr); } public virtual void /*void*/ ISteamGameServer_SetKeyValue( string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetKeyValue(_ptr, pKey, pValue); + Native.SteamAPI_ISteamGameServer_SetKeyValue(_ptr, pKey, pValue); } public virtual void /*void*/ ISteamGameServer_SetGameTags( string /*const char **/ pchGameTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameTags(_ptr, pchGameTags); + Native.SteamAPI_ISteamGameServer_SetGameTags(_ptr, pchGameTags); } public virtual void /*void*/ ISteamGameServer_SetGameData( string /*const char **/ pchGameData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameData(_ptr, pchGameData); + Native.SteamAPI_ISteamGameServer_SetGameData(_ptr, pchGameData); } public virtual void /*void*/ ISteamGameServer_SetRegion( string /*const char **/ pszRegion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetRegion(_ptr, pszRegion); + Native.SteamAPI_ISteamGameServer_SetRegion(_ptr, pszRegion); } public virtual bool /*bool*/ ISteamGameServer_SendUserConnectAndAuthenticate( uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); + return Native.SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_CreateUnauthenticatedUserConnection() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.CreateUnauthenticatedUserConnection(_ptr); + return Native.SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection(_ptr); } public virtual void /*void*/ ISteamGameServer_SendUserDisconnect( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SendUserDisconnect(_ptr, steamIDUser); + Native.SteamAPI_ISteamGameServer_SendUserDisconnect(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServer_BUpdateUserData( ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); + return Native.SteamAPI_ISteamGameServer_BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamGameServer_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamGameServer_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamGameServer_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamGameServer_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamGameServer_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamGameServer_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamGameServer_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamGameServer_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamGameServer_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamGameServer_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamGameServer_RequestUserGroupStatus( ulong steamIDUser, ulong steamIDGroup ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); + return Native.SteamAPI_ISteamGameServer_RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); } public virtual void /*void*/ ISteamGameServer_GetGameplayStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.GetGameplayStats(_ptr); + Native.SteamAPI_ISteamGameServer_GetGameplayStats(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_GetServerReputation() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetServerReputation(_ptr); + return Native.SteamAPI_ISteamGameServer_GetServerReputation(_ptr); } public virtual uint /*uint32*/ ISteamGameServer_GetPublicIP() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetPublicIP(_ptr); + return Native.SteamAPI_ISteamGameServer_GetPublicIP(_ptr); } public virtual bool /*bool*/ ISteamGameServer_HandleIncomingPacket( IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); + return Native.SteamAPI_ISteamGameServer_HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); } public virtual int /*int*/ ISteamGameServer_GetNextOutgoingPacket( IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); + return Native.SteamAPI_ISteamGameServer_GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); } public virtual void /*void*/ ISteamGameServer_EnableHeartbeats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EnableHeartbeats(_ptr, bActive); + Native.SteamAPI_ISteamGameServer_EnableHeartbeats(_ptr, bActive); } public virtual void /*void*/ ISteamGameServer_SetHeartbeatInterval( int /*int*/ iHeartbeatInterval ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetHeartbeatInterval(_ptr, iHeartbeatInterval); + Native.SteamAPI_ISteamGameServer_SetHeartbeatInterval(_ptr, iHeartbeatInterval); } public virtual void /*void*/ ISteamGameServer_ForceHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ForceHeartbeat(_ptr); + Native.SteamAPI_ISteamGameServer_ForceHeartbeat(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_AssociateWithClan( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.AssociateWithClan(_ptr, steamIDClan); + return Native.SteamAPI_ISteamGameServer_AssociateWithClan(_ptr, steamIDClan); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_ComputeNewPlayerCompatibility( ulong steamIDNewPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); + return Native.SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamGameServerStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat( ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat(_ptr, steamIDUser, pchName, nData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat(_ptr, steamIDUser, pchName, nData); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat0( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat0(_ptr, steamIDUser, pchName, fData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat0(_ptr, steamIDUser, pchName, fData); } public virtual bool /*bool*/ ISteamGameServerStats_UpdateUserAvgRateStat( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_SetUserAchievement(_ptr, steamIDUser, pchName); } public virtual bool /*bool*/ ISteamGameServerStats_ClearUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.ClearUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_ClearUserAchievement(_ptr, steamIDUser, pchName); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_StoreUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.StoreUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_StoreUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ SteamApi_SteamAPI_Init() { - return Native.SteamApi.SteamAPI_Init(); + return Native.SteamAPI_Init(); } public virtual void /*void*/ SteamApi_SteamAPI_RunCallbacks() { - Native.SteamApi.SteamAPI_RunCallbacks(); + Native.SteamAPI_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamGameServer_RunCallbacks() { - Native.SteamApi.SteamGameServer_RunCallbacks(); + Native.SteamGameServer_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ) { - Native.SteamApi.SteamAPI_RegisterCallback(pCallback, callback); + Native.SteamAPI_RegisterCallback(pCallback, callback); } public virtual void /*void*/ SteamApi_SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ) { - Native.SteamApi.SteamAPI_UnregisterCallback(pCallback); + Native.SteamAPI_UnregisterCallback(pCallback); } public virtual bool /*bool*/ SteamApi_SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ) { - return Native.SteamApi.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); + return Native.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); } public virtual void /*void*/ SteamApi_SteamAPI_Shutdown() { - Native.SteamApi.SteamAPI_Shutdown(); + Native.SteamAPI_Shutdown(); } public virtual void /*void*/ SteamApi_SteamGameServer_Shutdown() { - Native.SteamApi.SteamGameServer_Shutdown(); + Native.SteamGameServer_Shutdown(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamAPI_GetHSteamUser() { - return Native.SteamApi.SteamAPI_GetHSteamUser(); + return Native.SteamAPI_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamAPI_GetHSteamPipe() { - return Native.SteamApi.SteamAPI_GetHSteamPipe(); + return Native.SteamAPI_GetHSteamPipe(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamGameServer_GetHSteamUser() { - return Native.SteamApi.SteamGameServer_GetHSteamUser(); + return Native.SteamGameServer_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamGameServer_GetHSteamPipe() { - return Native.SteamApi.SteamGameServer_GetHSteamPipe(); + return Native.SteamGameServer_GetHSteamPipe(); } public virtual IntPtr /*void **/ SteamApi_SteamInternal_CreateInterface( string /*const char **/ version ) { - return Native.SteamApi.SteamInternal_CreateInterface(version); + return Native.SteamInternal_CreateInterface(version); } internal static unsafe class Native { - internal static unsafe class ISteamClient - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ CreateSteamPipe( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] - internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] - internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] - internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] - internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] - internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] - internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] - internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] - internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] - internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] - internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] - internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] - internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] - internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] - internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] - internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] - internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] - internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] - internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] - internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] - internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] - internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] - internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] - internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] - internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] - internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] - internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] - internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - } + // + // ISteamClient + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_ISteamClient_CreateSteamPipe( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamClient_ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamUser **/ SteamAPI_ISteamClient_GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamGameServer **/ SteamAPI_ISteamClient_GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamFriends **/ SteamAPI_ISteamClient_GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamUtils **/ SteamAPI_ISteamClient_GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamMatchmaking **/ SteamAPI_ISteamClient_GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ SteamAPI_ISteamClient_GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*void **/ SteamAPI_ISteamClient_GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamUserStats **/ SteamAPI_ISteamClient_GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamGameServerStats **/ SteamAPI_ISteamClient_GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamApps **/ SteamAPI_ISteamClient_GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamNetworking **/ SteamAPI_ISteamClient_GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ SteamAPI_ISteamClient_GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamScreenshots **/ SteamAPI_ISteamClient_GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamClient_GetIPCCallCount( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BShutdownIfAllPipesClosed( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamHTTP **/ SteamAPI_ISteamClient_GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ SteamAPI_ISteamClient_GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamController **/ SteamAPI_ISteamClient_GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamUGC **/ SteamAPI_ISteamClient_GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamAppList **/ SteamAPI_ISteamClient_GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamMusic **/ SteamAPI_ISteamClient_GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamMusicRemote **/ SteamAPI_ISteamClient_GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ SteamAPI_ISteamClient_GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamInventory **/ SteamAPI_ISteamClient_GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class ISteamVideo **/ SteamAPI_ISteamClient_GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - internal static unsafe class ISteamUser - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ GetHSteamUser( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] - internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] - internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] - internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] - internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] - internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] - internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] - internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] - internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] - internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] - internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] - internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] - internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] - internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] - internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneIdentifying" )] - internal static extern bool /*bool*/ BIsPhoneIdentifying( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneRequiringVerification" )] - internal static extern bool /*bool*/ BIsPhoneRequiringVerification( IntPtr ISteamUser ); - } + // + // ISteamUser + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamUser_GetHSteamUser( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BLoggedOn( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamUser_GetSteamID( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUser_InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamUser_BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_EndAuthSession( IntPtr ISteamUser, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamUser_UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsBehindNAT( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUser_AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetPlayerSteamLevel( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneVerified( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsTwoFactorEnabled( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneIdentifying( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneRequiringVerification( IntPtr ISteamUser ); - internal static unsafe class ISteamFriends - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] - internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] - internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] - internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] - internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] - internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t.PackSmall /*struct FriendGameInfo_t **/ pFriendGameInfo ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] - internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] - internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] - internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] - internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] - internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] - internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] - internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] - internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] - internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] - internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] - internal static extern IntPtr GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] - internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] - internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] - internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] - internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] - internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] - internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] - internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] - internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] - internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] - internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] - internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] - internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] - internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] - internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] - internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] - internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] - internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] - internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] - internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] - internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] - internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] - internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] - internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] - internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] - internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] - internal static extern CSteamID /*(class CSteamID)*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] - internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] - internal static extern AppId_t /*(AppId_t)*/ GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] - internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] - internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] - internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] - internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] - internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] - internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] - internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] - internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] - internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] - internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] - internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ IsFollowing( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - } + // + // ISteamFriends + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPersonaName( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetPersonaState( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern FriendRelationship /*EFriendRelationship*/ SteamAPI_ISteamFriends_GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t.PackSmall /*struct FriendGameInfo_t **/ pFriendGameInfo ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamFriends_GetUserRestrictions( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ClearRichPresence( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetCoplayFriendCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern AppId_t /*(AppId_t)*/ SteamAPI_ISteamFriends_GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_IsFollowing( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - internal static unsafe class ISteamUtils - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] - internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] - internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] - internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] - internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] - internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] - internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] - internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] - internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] - internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] - internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] - internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] - internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] - internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] - internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] - internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] - internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] - internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] - internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] - internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] - internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] - internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] - internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils ); - } + // + // ISteamUtils + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceAppActive( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceComputerActive( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern Universe /*EUniverse*/ SteamAPI_ISteamUtils_GetConnectedUniverse( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetServerRealTime( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetIPCountry( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern byte /*uint8*/ SteamAPI_ISteamUtils_GetCurrentBatteryPower( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetAppID( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ SteamAPI_ISteamUtils_GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetIPCCallCount( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsOverlayEnabled( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_BOverlayNeedsPresent( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUtils_CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextLength( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamRunningInVR( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils ); - internal static unsafe class ISteamMatchmaking - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] - internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] - internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] - internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] - internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestLobbyList( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] - internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] - internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] - internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] - internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] - internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] - internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] - internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] - internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] - internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] - internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] - internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] - internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] - internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] - internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] - internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] - internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] - internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] - internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] - internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] - internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] - internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] - internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] - internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] - internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] - internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] - internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - } + // + // ISteamMatchmaking + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetFavoriteGameCount( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_RequestLobbyList( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - internal static unsafe class ISteamMatchmakingServers - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] - internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] - internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] - internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] - internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] - internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] - internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] - internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] - internal static extern HServerQuery /*(HServerQuery)*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] - internal static extern HServerQuery /*(HServerQuery)*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] - internal static extern HServerQuery /*(HServerQuery)*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] - internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - } + // + // ISteamMatchmakingServers + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr /*class gameserveritem_t **/ SteamAPI_ISteamMatchmakingServers_GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmakingServers_IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmakingServers_GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - internal static unsafe class ISteamRemoteStorage - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] - internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] - internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] - internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] - internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] - internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] - internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] - internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] - internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] - internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] - internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] - internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] - internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] - internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] - internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] - internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] - internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] - internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] - internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] - internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] - internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] - internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] - internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] - internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] - internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] - internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] - internal static extern UGCHandle_t /*(UGCHandle_t)*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] - internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] - internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] - internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] - internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] - internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] - internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pExcludedTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pUserTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - } + // + // ISteamRemoteStorage + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern long /*int64*/ SteamAPI_ISteamRemoteStorage_GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ SteamAPI_ISteamRemoteStorage_GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamRemoteStorage_GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UGCHandle_t /*(UGCHandle_t)*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pExcludedTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pUserTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - internal static unsafe class ISteamUserStats - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] - internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] - internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] - internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] - internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] - internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] - internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] - internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] - internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] - internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] - internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] - internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] - internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] - internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] - internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] - internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] - internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] - internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] - internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] - internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] - internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] - internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t.PackSmall /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] - internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] - internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] - internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] - internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] - internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - } + // + // ISteamUserStats + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_RequestCurrentStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_StoreStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUserStats_GetNumAchievements( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ SteamAPI_ISteamUserStats_GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ SteamAPI_ISteamUserStats_GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t.PackSmall /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - internal static unsafe class ISteamApps - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] - internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] - internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] - internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] - internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] - internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] - internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] - internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] - internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] - internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] - internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] - internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] - internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] - internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] - internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] - internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] - internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] - internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] - internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] - internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] - internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetAppOwner( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] - internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] - internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] - internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamApps_GetFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - } + // + // ISteamApps + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribed( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsLowViolence( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsCybercafe( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsVACBanned( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamApps_GetCurrentGameLanguage( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamApps_GetAvailableGameLanguages( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedApp( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsDlcInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetDLCCount( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_InstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_UninstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsAppInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamApps_GetAppOwner( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern IntPtr SteamAPI_ISteamApps_GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetAppBuildId( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamApps_GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - internal static unsafe class ISteamNetworking - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] - internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] - internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] - internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] - internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] - internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] - internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] - internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t.PackSmall /*struct P2PSessionState_t **/ pConnectionState ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] - internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] - internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] - internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] - internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] - internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] - internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] - internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] - internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] - internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] - internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] - internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] - internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] - internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - } + // + // ISteamNetworking + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t.PackSmall /*struct P2PSessionState_t **/ pConnectionState ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ SteamAPI_ISteamNetworking_CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ SteamAPI_ISteamNetworking_GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamNetworking_GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - internal static unsafe class ISteamScreenshots - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] - internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] - internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] - internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] - internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] - internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_IsScreenshotsHooked" )] - internal static extern bool /*bool*/ IsScreenshotsHooked( IntPtr ISteamScreenshots ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - } + // + // ISteamScreenshots + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_TriggerScreenshot( IntPtr ISteamScreenshots ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_IsScreenshotsHooked( IntPtr ISteamScreenshots ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - internal static unsafe class ISteamMusic - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] - internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] - internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] - internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_Play" )] - internal static extern void /*void*/ Play( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] - internal static extern void /*void*/ Pause( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] - internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] - internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] - internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] - internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic ); - } + // + // ISteamMusic + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsEnabled( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsPlaying( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ SteamAPI_ISteamMusic_GetPlaybackStatus( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Play( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Pause( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayPrevious( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayNext( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern float /*float*/ SteamAPI_ISteamMusic_GetVolume( IntPtr ISteamMusic ); - internal static unsafe class ISteamMusicRemote - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] - internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] - internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] - internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] - internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] - internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] - internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] - internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] - internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] - internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] - internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] - internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] - internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] - internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] - internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] - internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] - internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] - internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] - internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] - internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] - internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] - internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] - internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] - internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] - internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] - internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] - internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] - internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] - internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] - internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] - internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] - internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] - internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote ); - } + // + // ISteamMusicRemote + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetQueueEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetPlaylistEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistDidChange( IntPtr ISteamMusicRemote ); - internal static unsafe class ISteamHTTP - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] - internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] - internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] - internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] - internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] - internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] - internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] - internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] - internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] - internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] - internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] - internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] - internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] - internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] - internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] - internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] - internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] - internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] - internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] - internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] - internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] - internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - } + // + // ISteamHTTP + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ SteamAPI_ISteamHTTP_CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ SteamAPI_ISteamHTTP_CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - internal static unsafe class ISteamUnifiedMessages - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] - internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] - internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] - internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] - internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] - internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - } + // + // ISteamUnifiedMessages + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SteamAPI_ISteamUnifiedMessages_SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - internal static unsafe class ISteamController - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] - internal static extern void /*void*/ RunFrame( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] - internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] - internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] - internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] - internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] - internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] - internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] - internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] - internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] - internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] - internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] - internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] - internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetGamepadIndexForController" )] - internal static extern int /*int*/ GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetControllerForGamepadIndex" )] - internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_GetMotionData" )] - internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ GetMotionData( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_ShowDigitalActionOrigins" )] - internal static extern bool /*bool*/ ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamController_ShowAnalogActionOrigins" )] - internal static extern bool /*bool*/ ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - } + // + // ISteamController + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Init( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Shutdown( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_RunFrame( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ SteamAPI_ISteamController_GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ SteamAPI_ISteamController_GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ SteamAPI_ISteamController_GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ SteamAPI_ISteamController_GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ SteamAPI_ISteamController_GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ SteamAPI_ISteamController_GetMotionData( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - internal static unsafe class ISteamUGC - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] - internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t.PackSmall /*struct SteamUGCDetails_t **/ pDetails ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] - internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] - internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] - internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] - internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] - internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] - internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] - internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] - internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] - internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] - internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] - internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnOnlyIDs" )] - internal static extern bool /*bool*/ SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] - internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] - internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] - internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] - internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] - internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] - internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] - internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] - internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] - internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] - internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] - internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] - internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] - internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] - internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] - internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] - internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] - internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] - internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] - internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] - internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*const struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] - internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] - internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] - internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] - internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] - internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] - internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] - internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] - internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] - internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] - internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] - internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] - internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] - internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] - internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] - internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] - internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] - internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] - internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_StartPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - } + // + // ISteamUGC + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t.PackSmall /*struct SteamUGCDetails_t **/ pDetails ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ SteamAPI_ISteamUGC_StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*const struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ SteamAPI_ISteamUGC_GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetNumSubscribedItems( IntPtr ISteamUGC ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamUGC_SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - internal static unsafe class ISteamAppList - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] - internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] - internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] - internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] - internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - } + // + // ISteamAppList + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetNumInstalledApps( IntPtr ISteamAppList ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - internal static unsafe class ISteamHTMLSurface - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] - internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] - internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] - internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] - internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] - internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] - internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] - internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] - internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] - internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] - internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] - internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] - internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] - internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] - internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] - internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] - internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] - internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] - internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] - internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] - internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] - internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] - internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] - internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] - internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] - internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] - internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] - internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] - internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] - internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] - internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] - internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] - internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - } + // + // ISteamHTMLSurface + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Init( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Shutdown( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamHTMLSurface_CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - internal static unsafe class ISteamInventory - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] - internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] - internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] - internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] - internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] - internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] - internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] - internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] - internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] - internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] - internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] - internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] - internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] - internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] - internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] - internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] - internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] - internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] - internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] - internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] - internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] - internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] - internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - } + // + // ISteamInventory + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_SendItemDropHeartbeat( IntPtr ISteamInventory ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_LoadItemDefinitions( IntPtr ISteamInventory ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - internal static unsafe class ISteamVideo - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] - internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] - internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - } + // + // ISteamVideo + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - internal static unsafe class ISteamGameServer - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] - internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] - internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] - internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] - internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] - internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] - internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] - internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] - internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] - internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] - internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] - internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] - internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] - internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] - internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] - internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] - internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] - internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] - internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] - internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] - internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] - internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] - internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] - internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] - internal static extern CSteamID /*(class CSteamID)*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] - internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] - internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] - internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] - internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetServerReputation( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] - internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] - internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] - internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] - internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] - internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] - internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - } + // + // ISteamGameServer + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOnAnonymous( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOff( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BLoggedOn( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BSecure( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_GetSteamID( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_WasRestartRequested( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ClearAllKeyValues( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamGameServer_GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamGameServer_BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamGameServer_UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_GetGameplayStats( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_GetServerReputation( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern uint /*uint32*/ SteamAPI_ISteamGameServer_GetPublicIP( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern int /*int*/ SteamAPI_ISteamGameServer_GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ForceHeartbeat( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - internal static unsafe class ISteamGameServerStats - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] - internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] - internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] - internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] - internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] - internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - } + // + // ISteamGameServerStats + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - internal static unsafe class SteamApi - { - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_Init" )] - internal static extern bool /*bool*/ SteamAPI_Init(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_RunCallbacks" )] - internal static extern void /*void*/ SteamAPI_RunCallbacks(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamGameServer_RunCallbacks" )] - internal static extern void /*void*/ SteamGameServer_RunCallbacks(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_RegisterCallback" )] - internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_UnregisterCallback" )] - internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamInternal_GameServer_Init" )] - internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_Shutdown" )] - internal static extern void /*void*/ SteamAPI_Shutdown(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamGameServer_Shutdown" )] - internal static extern void /*void*/ SteamGameServer_Shutdown(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamAPI_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamGameServer_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamGameServer_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe(); - [DllImportAttribute( "libsteam_api64.so", EntryPoint = "SteamInternal_CreateInterface" )] - internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version ); - } + // + // SteamApi + // + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamAPI_Init(); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_RunCallbacks(); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks(); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamAPI_Shutdown(); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern void /*void*/ SteamGameServer_Shutdown(); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); + [DllImportAttribute( "libsteam_api64.so" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); + [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 ); } } diff --git a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Mac.cs b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Mac.cs index 430ea87..0468e74 100644 --- a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Mac.cs +++ b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Mac.cs @@ -29,424 +29,424 @@ public virtual void Dispose() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateSteamPipe(_ptr); + return Native.SteamAPI_ISteamClient_CreateSteamPipe(_ptr); } public virtual bool /*bool*/ ISteamClient_BReleaseSteamPipe( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BReleaseSteamPipe(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_BReleaseSteamPipe(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_ConnectToGlobalUser( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.ConnectToGlobalUser(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_ConnectToGlobalUser(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_CreateLocalUser( out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateLocalUser(_ptr, out phSteamPipe, eAccountType); + return Native.SteamAPI_ISteamClient_CreateLocalUser(_ptr, out phSteamPipe, eAccountType); } public virtual void /*void*/ ISteamClient_ReleaseUser( int hSteamPipe, int hUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.ReleaseUser(_ptr, hSteamPipe, hUser); + Native.SteamAPI_ISteamClient_ReleaseUser(_ptr, hSteamPipe, hUser); } public virtual IntPtr /*class ISteamUser **/ ISteamClient_GetISteamUser( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServer **/ ISteamClient_GetISteamGameServer( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual void /*void*/ ISteamClient_SetLocalIPBinding( uint /*uint32*/ unIP, ushort /*uint16*/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetLocalIPBinding(_ptr, unIP, usPort); + Native.SteamAPI_ISteamClient_SetLocalIPBinding(_ptr, unIP, usPort); } public virtual IntPtr /*class ISteamFriends **/ ISteamClient_GetISteamFriends( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUtils **/ ISteamClient_GetISteamUtils( int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUtils(_ptr, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUtils(_ptr, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmaking **/ ISteamClient_GetISteamMatchmaking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmakingServers **/ ISteamClient_GetISteamMatchmakingServers( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*void **/ ISteamClient_GetISteamGenericInterface( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUserStats **/ ISteamClient_GetISteamUserStats( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServerStats **/ ISteamClient_GetISteamGameServerStats( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamApps **/ ISteamClient_GetISteamApps( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamNetworking **/ ISteamClient_GetISteamNetworking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamRemoteStorage **/ ISteamClient_GetISteamRemoteStorage( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamScreenshots **/ ISteamClient_GetISteamScreenshots( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual uint /*uint32*/ ISteamClient_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamClient_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamClient_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamClient_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamClient_BShutdownIfAllPipesClosed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BShutdownIfAllPipesClosed(_ptr); + return Native.SteamAPI_ISteamClient_BShutdownIfAllPipesClosed(_ptr); } public virtual IntPtr /*class ISteamHTTP **/ ISteamClient_GetISteamHTTP( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUnifiedMessages **/ ISteamClient_GetISteamUnifiedMessages( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamController **/ ISteamClient_GetISteamController( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUGC **/ ISteamClient_GetISteamUGC( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamAppList **/ ISteamClient_GetISteamAppList( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusic **/ ISteamClient_GetISteamMusic( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusicRemote **/ ISteamClient_GetISteamMusicRemote( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamHTMLSurface **/ ISteamClient_GetISteamHTMLSurface( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamInventory **/ ISteamClient_GetISteamInventory( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamVideo **/ ISteamClient_GetISteamVideo( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual HSteamUser /*(HSteamUser)*/ ISteamUser_GetHSteamUser() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetHSteamUser(_ptr); + return Native.SteamAPI_ISteamUser_GetHSteamUser(_ptr); } public virtual bool /*bool*/ ISteamUser_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamUser_BLoggedOn(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamUser_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetSteamID(_ptr); + return Native.SteamAPI_ISteamUser_GetSteamID(_ptr); } public virtual int /*int*/ ISteamUser_InitiateGameConnection( IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + return Native.SteamAPI_ISteamUser_InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); } public virtual void /*void*/ ISteamUser_TerminateGameConnection( uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TerminateGameConnection(_ptr, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_TerminateGameConnection(_ptr, unIPServer, usPortServer); } public virtual void /*void*/ ISteamUser_TrackAppUsageEvent( ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); + Native.SteamAPI_ISteamUser_TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); } public virtual bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetUserDataFolder(_ptr, pchBuffer, cubBuffer); + return Native.SteamAPI_ISteamUser_GetUserDataFolder(_ptr, pchBuffer, cubBuffer); } public virtual void /*void*/ ISteamUser_StartVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StartVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StartVoiceRecording(_ptr); } public virtual void /*void*/ ISteamUser_StopVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StopVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); + return Native.SteamAPI_ISteamUser_DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); } public virtual uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoiceOptimalSampleRate(_ptr); + return Native.SteamAPI_ISteamUser_GetVoiceOptimalSampleRate(_ptr); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamUser_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamUser_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamUser_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamUser_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamUser_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamUser_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamUser_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamUser_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamUser_BIsBehindNAT() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsBehindNAT(_ptr); + return Native.SteamAPI_ISteamUser_BIsBehindNAT(_ptr); } public virtual void /*void*/ ISteamUser_AdvertiseGame( ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestEncryptedAppTicket( IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); + return Native.SteamAPI_ISteamUser_RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); } public virtual bool /*bool*/ ISteamUser_GetEncryptedAppTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual int /*int*/ ISteamUser_GetGameBadgeLevel( int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetGameBadgeLevel(_ptr, nSeries, bFoil); + return Native.SteamAPI_ISteamUser_GetGameBadgeLevel(_ptr, nSeries, bFoil); } public virtual int /*int*/ ISteamUser_GetPlayerSteamLevel() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetPlayerSteamLevel(_ptr); + return Native.SteamAPI_ISteamUser_GetPlayerSteamLevel(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestStoreAuthURL( string /*const char **/ pchRedirectURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestStoreAuthURL(_ptr, pchRedirectURL); + return Native.SteamAPI_ISteamUser_RequestStoreAuthURL(_ptr, pchRedirectURL); } public virtual bool /*bool*/ ISteamUser_BIsPhoneVerified() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneVerified(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneVerified(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsTwoFactorEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsTwoFactorEnabled(_ptr); + return Native.SteamAPI_ISteamUser_BIsTwoFactorEnabled(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneIdentifying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneIdentifying(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneIdentifying(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneRequiringVerification() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneRequiringVerification(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneRequiringVerification(_ptr); } public virtual IntPtr ISteamFriends_GetPersonaName() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaName(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaName(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_SetPersonaName( string /*const char **/ pchPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetPersonaName(_ptr, pchPersonaName); + return Native.SteamAPI_ISteamFriends_SetPersonaName(_ptr, pchPersonaName); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetPersonaState() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaState(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaState(_ptr); } public virtual int /*int*/ ISteamFriends_GetFriendCount( int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCount(_ptr, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendCount(_ptr, iFriendFlags); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendByIndex( int /*int*/ iFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendByIndex(_ptr, iFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendByIndex(_ptr, iFriend, iFriendFlags); } public virtual FriendRelationship /*EFriendRelationship*/ ISteamFriends_GetFriendRelationship( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRelationship(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRelationship(_ptr, steamIDFriend); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetFriendPersonaState( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaState(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaState(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendPersonaName( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaName(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaName(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_GetFriendGamePlayed( ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); var pFriendGameInfo_ps = new FriendGameInfo_t.PackSmall(); - var ret = Native.ISteamFriends.GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo_ps); + var ret = Native.SteamAPI_ISteamFriends_GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo_ps); pFriendGameInfo = pFriendGameInfo_ps; return ret; } @@ -454,1050 +454,1050 @@ public virtual IntPtr ISteamFriends_GetFriendPersonaNameHistory( ulong steamIDFr { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); } public virtual int /*int*/ ISteamFriends_GetFriendSteamLevel( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendSteamLevel(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendSteamLevel(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetPlayerNickname( ulong steamIDPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPlayerNickname(_ptr, steamIDPlayer); + return Native.SteamAPI_ISteamFriends_GetPlayerNickname(_ptr, steamIDPlayer); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupCount(_ptr); } public virtual FriendsGroupID_t /*(FriendsGroupID_t)*/ ISteamFriends_GetFriendsGroupIDByIndex( int /*int*/ iFG ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupIDByIndex(_ptr, iFG); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex(_ptr, iFG); } public virtual IntPtr ISteamFriends_GetFriendsGroupName( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupName(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupName(_ptr, friendsGroupID); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupMembersCount( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupMembersCount(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersCount(_ptr, friendsGroupID); } public virtual void /*void*/ ISteamFriends_GetFriendsGroupMembersList( short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); + Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); } public virtual bool /*bool*/ ISteamFriends_HasFriend( ulong steamIDFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.HasFriend(_ptr, steamIDFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_HasFriend(_ptr, steamIDFriend, iFriendFlags); } public virtual int /*int*/ ISteamFriends_GetClanCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetClanCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanByIndex( int /*int*/ iClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanByIndex(_ptr, iClan); + return Native.SteamAPI_ISteamFriends_GetClanByIndex(_ptr, iClan); } public virtual IntPtr ISteamFriends_GetClanName( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanName(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanName(_ptr, steamIDClan); } public virtual IntPtr ISteamFriends_GetClanTag( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanTag(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanTag(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_GetClanActivityCounts( ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); + return Native.SteamAPI_ISteamFriends_GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_DownloadClanActivityCounts( IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); + return Native.SteamAPI_ISteamFriends_DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); } public virtual int /*int*/ ISteamFriends_GetFriendCountFromSource( ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCountFromSource(_ptr, steamIDSource); + return Native.SteamAPI_ISteamFriends_GetFriendCountFromSource(_ptr, steamIDSource); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendFromSourceByIndex( ulong steamIDSource, int /*int*/ iFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); + return Native.SteamAPI_ISteamFriends_GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); } public virtual bool /*bool*/ ISteamFriends_IsUserInSource( ulong steamIDUser, ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsUserInSource(_ptr, steamIDUser, steamIDSource); + return Native.SteamAPI_ISteamFriends_IsUserInSource(_ptr, steamIDUser, steamIDSource); } public virtual void /*void*/ ISteamFriends_SetInGameVoiceSpeaking( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); + Native.SteamAPI_ISteamFriends_SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlay( string /*const char **/ pchDialog ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlay(_ptr, pchDialog); + Native.SteamAPI_ISteamFriends_ActivateGameOverlay(_ptr, pchDialog); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToUser( string /*const char **/ pchDialog, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToUser(_ptr, pchDialog, steamID); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToUser(_ptr, pchDialog, steamID); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToWebPage( string /*const char **/ pchURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToWebPage(_ptr, pchURL); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage(_ptr, pchURL); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToStore( uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToStore(_ptr, nAppID, eFlag); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToStore(_ptr, nAppID, eFlag); } public virtual void /*void*/ ISteamFriends_SetPlayedWith( ulong steamIDUserPlayedWith ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetPlayedWith(_ptr, steamIDUserPlayedWith); + Native.SteamAPI_ISteamFriends_SetPlayedWith(_ptr, steamIDUserPlayedWith); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayInviteDialog( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); } public virtual int /*int*/ ISteamFriends_GetSmallFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetSmallFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetSmallFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetMediumFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetMediumFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetMediumFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetLargeFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetLargeFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetLargeFriendAvatar(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_RequestUserInformation( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); + return Native.SteamAPI_ISteamFriends_RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_RequestClanOfficerList( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestClanOfficerList(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_RequestClanOfficerList(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOwner( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOwner(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOwner(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanOfficerCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOfficerCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOfficerByIndex( ulong steamIDClan, int /*int*/ iOfficer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); + return Native.SteamAPI_ISteamFriends_GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); } public virtual uint /*uint32*/ ISteamFriends_GetUserRestrictions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetUserRestrictions(_ptr); + return Native.SteamAPI_ISteamFriends_GetUserRestrictions(_ptr); } public virtual bool /*bool*/ ISteamFriends_SetRichPresence( string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetRichPresence(_ptr, pchKey, pchValue); + return Native.SteamAPI_ISteamFriends_SetRichPresence(_ptr, pchKey, pchValue); } public virtual void /*void*/ ISteamFriends_ClearRichPresence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ClearRichPresence(_ptr); + Native.SteamAPI_ISteamFriends_ClearRichPresence(_ptr); } public virtual IntPtr ISteamFriends_GetFriendRichPresence( ulong steamIDFriend, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresence(_ptr, steamIDFriend, pchKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresence(_ptr, steamIDFriend, pchKey); } public virtual int /*int*/ ISteamFriends_GetFriendRichPresenceKeyCount( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendRichPresenceKeyByIndex( ulong steamIDFriend, int /*int*/ iKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); } public virtual void /*void*/ ISteamFriends_RequestFriendRichPresence( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.RequestFriendRichPresence(_ptr, steamIDFriend); + Native.SteamAPI_ISteamFriends_RequestFriendRichPresence(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_InviteUserToGame( ulong steamIDFriend, string /*const char **/ pchConnectString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.InviteUserToGame(_ptr, steamIDFriend, pchConnectString); + return Native.SteamAPI_ISteamFriends_InviteUserToGame(_ptr, steamIDFriend, pchConnectString); } public virtual int /*int*/ ISteamFriends_GetCoplayFriendCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriendCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetCoplayFriendCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetCoplayFriend( int /*int*/ iCoplayFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriend(_ptr, iCoplayFriend); + return Native.SteamAPI_ISteamFriends_GetCoplayFriend(_ptr, iCoplayFriend); } public virtual int /*int*/ ISteamFriends_GetFriendCoplayTime( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayTime(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayTime(_ptr, steamIDFriend); } public virtual AppId_t /*(AppId_t)*/ ISteamFriends_GetFriendCoplayGame( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayGame(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayGame(_ptr, steamIDFriend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_JoinClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.JoinClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_JoinClanChatRoom(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_LeaveClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.LeaveClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_LeaveClanChatRoom(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanChatMemberCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMemberCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanChatMemberCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetChatMemberByIndex( ulong steamIDClan, int /*int*/ iUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetChatMemberByIndex(_ptr, steamIDClan, iUser); + return Native.SteamAPI_ISteamFriends_GetChatMemberByIndex(_ptr, steamIDClan, iUser); } public virtual bool /*bool*/ ISteamFriends_SendClanChatMessage( ulong steamIDClanChat, string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SendClanChatMessage(_ptr, steamIDClanChat, pchText); + return Native.SteamAPI_ISteamFriends_SendClanChatMessage(_ptr, steamIDClanChat, pchText); } public virtual int /*int*/ ISteamFriends_GetClanChatMessage( ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); + return Native.SteamAPI_ISteamFriends_GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); } public virtual bool /*bool*/ ISteamFriends_IsClanChatAdmin( ulong steamIDClanChat, ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); + return Native.SteamAPI_ISteamFriends_IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); } public virtual bool /*bool*/ ISteamFriends_IsClanChatWindowOpenInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_OpenClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.OpenClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_OpenClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_CloseClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.CloseClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_CloseClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_SetListenForFriendsMessages( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetListenForFriendsMessages(_ptr, bInterceptEnabled); + return Native.SteamAPI_ISteamFriends_SetListenForFriendsMessages(_ptr, bInterceptEnabled); } public virtual bool /*bool*/ ISteamFriends_ReplyToFriendMessage( ulong steamIDFriend, string /*const char **/ pchMsgToSend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); + return Native.SteamAPI_ISteamFriends_ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); } public virtual int /*int*/ ISteamFriends_GetFriendMessage( ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamFriends_GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_GetFollowerCount( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFollowerCount(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_GetFollowerCount(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_IsFollowing( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsFollowing(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_IsFollowing(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_EnumerateFollowingList( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.EnumerateFollowingList(_ptr, unStartIndex); + return Native.SteamAPI_ISteamFriends_EnumerateFollowingList(_ptr, unStartIndex); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceAppActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceAppActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceAppActive(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceComputerActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceComputerActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceComputerActive(_ptr); } public virtual Universe /*EUniverse*/ ISteamUtils_GetConnectedUniverse() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetConnectedUniverse(_ptr); + return Native.SteamAPI_ISteamUtils_GetConnectedUniverse(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetServerRealTime() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetServerRealTime(_ptr); + return Native.SteamAPI_ISteamUtils_GetServerRealTime(_ptr); } public virtual IntPtr ISteamUtils_GetIPCountry() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCountry(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCountry(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetImageSize( int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); + return Native.SteamAPI_ISteamUtils_GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); } public virtual bool /*bool*/ ISteamUtils_GetImageRGBA( int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); + return Native.SteamAPI_ISteamUtils_GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); } public virtual bool /*bool*/ ISteamUtils_GetCSERIPPort( out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCSERIPPort(_ptr, out unIP, out usPort); + return Native.SteamAPI_ISteamUtils_GetCSERIPPort(_ptr, out unIP, out usPort); } public virtual byte /*uint8*/ ISteamUtils_GetCurrentBatteryPower() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCurrentBatteryPower(_ptr); + return Native.SteamAPI_ISteamUtils_GetCurrentBatteryPower(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetAppID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAppID(_ptr); + return Native.SteamAPI_ISteamUtils_GetAppID(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationPosition( NotificationPosition /*ENotificationPosition*/ eNotificationPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationPosition(_ptr, eNotificationPosition); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationPosition(_ptr, eNotificationPosition); } public virtual bool /*bool*/ ISteamUtils_IsAPICallCompleted( ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); + return Native.SteamAPI_ISteamUtils_IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); } public virtual SteamAPICallFailure /*ESteamAPICallFailure*/ ISteamUtils_GetAPICallFailureReason( ulong hSteamAPICall ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallFailureReason(_ptr, hSteamAPICall); + return Native.SteamAPI_ISteamUtils_GetAPICallFailureReason(_ptr, hSteamAPICall); } public virtual bool /*bool*/ ISteamUtils_GetAPICallResult( ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); + return Native.SteamAPI_ISteamUtils_GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); } public virtual uint /*uint32*/ ISteamUtils_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamUtils_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamUtils_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamUtils_IsOverlayEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsOverlayEnabled(_ptr); + return Native.SteamAPI_ISteamUtils_IsOverlayEnabled(_ptr); } public virtual bool /*bool*/ ISteamUtils_BOverlayNeedsPresent() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.BOverlayNeedsPresent(_ptr); + return Native.SteamAPI_ISteamUtils_BOverlayNeedsPresent(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUtils_CheckFileSignature( string /*const char **/ szFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.CheckFileSignature(_ptr, szFileName); + return Native.SteamAPI_ISteamUtils_CheckFileSignature(_ptr, szFileName); } public virtual bool /*bool*/ ISteamUtils_ShowGamepadTextInput( GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + return Native.SteamAPI_ISteamUtils_ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); } public virtual uint /*uint32*/ ISteamUtils_GetEnteredGamepadTextLength() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextLength(_ptr); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextLength(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetEnteredGamepadTextInput( System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextInput(_ptr, pchText, cchText); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(_ptr, pchText, cchText); } public virtual IntPtr ISteamUtils_GetSteamUILanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSteamUILanguage(_ptr); + return Native.SteamAPI_ISteamUtils_GetSteamUILanguage(_ptr); } public virtual bool /*bool*/ ISteamUtils_IsSteamRunningInVR() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamRunningInVR(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamRunningInVR(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); } public virtual bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamInBigPictureMode(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamInBigPictureMode(_ptr); } public virtual void /*void*/ ISteamUtils_StartVRDashboard() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.StartVRDashboard(_ptr); + Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr); } public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGameCount(_ptr); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(_ptr); } public virtual bool /*bool*/ ISteamMatchmaking_GetFavoriteGame( int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); } public virtual int /*int*/ ISteamMatchmaking_AddFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); } public virtual bool /*bool*/ ISteamMatchmaking_RemoveFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); + return Native.SteamAPI_ISteamMatchmaking_RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_RequestLobbyList() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyList(_ptr); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyList(_ptr); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListStringFilter( string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNumericalFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNearValueFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( int /*int*/ nSlotsAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListDistanceFilter( LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListResultCountFilter( int /*int*/ cMaxResults ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyByIndex( int /*int*/ iLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyByIndex(_ptr, iLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyByIndex(_ptr, iLobby); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_CreateLobby( LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.CreateLobby(_ptr, eLobbyType, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_CreateLobby(_ptr, eLobbyType, cMaxMembers); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_JoinLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.JoinLobby(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_JoinLobby(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_LeaveLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.LeaveLobby(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_LeaveLobby(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_InviteUserToLobby( ulong steamIDLobby, ulong steamIDInvitee ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); + return Native.SteamAPI_ISteamMatchmaking_InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); } public virtual int /*int*/ ISteamMatchmaking_GetNumLobbyMembers( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetNumLobbyMembers(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetNumLobbyMembers(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyMemberByIndex( ulong steamIDLobby, int /*int*/ iMember ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); } public virtual IntPtr ISteamMatchmaking_GetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyData(_ptr, steamIDLobby, pchKey); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyDataCount( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataCount(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataCount(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyDataByIndex( ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); } public virtual bool /*bool*/ ISteamMatchmaking_DeleteLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.DeleteLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_DeleteLobbyData(_ptr, steamIDLobby, pchKey); } public virtual IntPtr ISteamMatchmaking_GetLobbyMemberData( ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyMemberData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); + Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual bool /*bool*/ ISteamMatchmaking_SendLobbyChatMsg( ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); + return Native.SteamAPI_ISteamMatchmaking_SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyChatEntry( ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); } public virtual bool /*bool*/ ISteamMatchmaking_RequestLobbyData( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyData(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyData(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyGameServer( ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + Native.SteamAPI_ISteamMatchmaking_SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyGameServer( ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyMemberLimit( ulong steamIDLobby, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyMemberLimit( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberLimit(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyType( ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyType(_ptr, steamIDLobby, eLobbyType); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyType(_ptr, steamIDLobby, eLobbyType); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyJoinable( ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyOwner( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyOwner(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyOwner(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyOwner( ulong steamIDLobby, ulong steamIDNewOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); } public virtual bool /*bool*/ ISteamMatchmaking_SetLinkedLobby( ulong steamIDLobby, ulong steamIDLobbyDependent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); + return Native.SteamAPI_ISteamMatchmaking_SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestInternetServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestLANServerList( uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestLANServerList(_ptr, iApp, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestLANServerList(_ptr, iApp, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFriendsServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFavoritesServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestHistoryServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestSpectatorServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_ReleaseRequest( IntPtr hServerListRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.ReleaseRequest(_ptr, hServerListRequest); + Native.SteamAPI_ISteamMatchmakingServers_ReleaseRequest(_ptr, hServerListRequest); } public virtual IntPtr /*class gameserveritem_t **/ ISteamMatchmakingServers_GetServerDetails( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerDetails(_ptr, hRequest, iServer); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerDetails(_ptr, hRequest, iServer); } public virtual void /*void*/ ISteamMatchmakingServers_CancelQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_CancelQuery(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_RefreshQuery(_ptr, hRequest); } public virtual bool /*bool*/ ISteamMatchmakingServers_IsRefreshing( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.IsRefreshing(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_IsRefreshing(_ptr, hRequest); } public virtual int /*int*/ ISteamMatchmakingServers_GetServerCount( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerCount(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerCount(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshServer( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshServer(_ptr, hRequest, iServer); + Native.SteamAPI_ISteamMatchmakingServers_RefreshServer(_ptr, hRequest, iServer); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PingServer( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PingServer(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PingServer(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PlayerDetails( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_ServerRules( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.ServerRules(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_ServerRules(_ptr, unIP, usPort, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_CancelServerQuery( int hServerQuery ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelServerQuery(_ptr, hServerQuery); + Native.SteamAPI_ISteamMatchmakingServers_CancelServerQuery(_ptr, hServerQuery); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWrite( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWrite(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWrite(_ptr, pchFile, pvData, cubData); } public virtual int /*int32*/ ISteamRemoteStorage_FileRead( string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileRead(_ptr, pchFile, pvData, cubDataToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileRead(_ptr, pchFile, pvData, cubDataToRead); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileWriteAsync( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteAsync(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteAsync(_ptr, pchFile, pvData, cubData); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileReadAsync( string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsync(_ptr, pchFile, nOffset, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsync(_ptr, pchFile, nOffset, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileReadAsyncComplete( ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileForget( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileForget(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileForget(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileDelete( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileDelete(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileDelete(_ptr, pchFile); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileShare( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileShare(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileShare(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_SetSyncPlatforms( string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); + return Native.SteamAPI_ISteamRemoteStorage_SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); } public virtual UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ ISteamRemoteStorage_FileWriteStreamOpen( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamOpen(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamWriteChunk( ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamClose( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamClose(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamClose(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamCancel( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamCancel(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileExists( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileExists(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileExists(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FilePersisted( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FilePersisted(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FilePersisted(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileSize( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileSize(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileSize(_ptr, pchFile); } public virtual long /*int64*/ ISteamRemoteStorage_GetFileTimestamp( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileTimestamp(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileTimestamp(_ptr, pchFile); } public virtual RemoteStoragePlatform /*ERemoteStoragePlatform*/ ISteamRemoteStorage_GetSyncPlatforms( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetSyncPlatforms(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetSyncPlatforms(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetFileCount(_ptr); } public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_GetQuota( IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetQuota(_ptr, pnTotalBytes, puAvailableBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetQuota(_ptr, pnTotalBytes, puAvailableBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForAccount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForAccount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount(_ptr); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForApp() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForApp(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp(_ptr); } public virtual void /*void*/ ISteamRemoteStorage_SetCloudEnabledForApp( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - Native.ISteamRemoteStorage.SetCloudEnabledForApp(_ptr, bEnabled); + Native.SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp(_ptr, bEnabled); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownload( ulong hContent, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownload(_ptr, hContent, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownload(_ptr, hContent, unPriority); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDownloadProgress( ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDetails( ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); } public virtual int /*int32*/ ISteamRemoteStorage_UGCRead( ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); + return Native.SteamAPI_ISteamRemoteStorage_UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); } public virtual int /*int32*/ ISteamRemoteStorage_GetCachedUGCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCCount(_ptr); } public virtual UGCHandle_t /*(UGCHandle_t)*/ ISteamRemoteStorage_GetCachedUGCHandle( int /*int32*/ iCachedContent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCHandle(_ptr, iCachedContent); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle(_ptr, iCachedContent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishWorkshopFile( string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps, eWorkshopFileType); + var ret = Native.SteamAPI_ISteamRemoteStorage_PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps, eWorkshopFileType); pTags = pTags_ps; return ret; } @@ -1505,44 +1505,44 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileFile( ulong updateHandle, string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileFile(_ptr, updateHandle, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile(_ptr, updateHandle, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFilePreviewFile( ulong updateHandle, string /*const char **/ pchPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTitle( ulong updateHandle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileDescription( ulong updateHandle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileVisibility( ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTags( ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.UpdatePublishedFileTags(_ptr, updateHandle, ref pTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags(_ptr, updateHandle, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -1550,67 +1550,67 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CommitPublishedFileUpdate(_ptr, updateHandle); + return Native.SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate(_ptr, updateHandle); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedFileDetails( ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_DeletePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.DeletePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_DeletePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserPublishedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserPublishedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_SubscribePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSubscribedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSubscribedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UnsubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UnsubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( ulong updateHandle, string /*const char **/ pchChangeDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UpdateUserPublishedItemVote( ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); + return Native.SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetUserPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ) { @@ -1618,7 +1618,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, var pRequiredTags_ps = new SteamParamStringArray_t.PackSmall(); var pExcludedTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags_ps, ref pExcludedTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags_ps, ref pExcludedTags_ps); pRequiredTags = pRequiredTags_ps; pExcludedTags = pExcludedTags_ps; return ret; @@ -1628,7 +1628,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -1636,13 +1636,13 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); + return Native.SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ) { @@ -1650,7 +1650,7 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, var pTags_ps = new SteamParamStringArray_t.PackSmall(); var pUserTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags_ps, ref pUserTags_ps); + var ret = Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags_ps, ref pUserTags_ps); pTags = pTags_ps; pUserTags = pUserTags_ps; return ret; @@ -1659,195 +1659,195 @@ public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); } public virtual bool /*bool*/ ISteamUserStats_RequestCurrentStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestCurrentStats(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestCurrentStats(_ptr); } public virtual bool /*bool*/ ISteamUserStats_GetStat( string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetStat0( string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat0(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat0(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_SetStat( string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat(_ptr, pchName, nData); + return Native.SteamAPI_ISteamUserStats_SetStat(_ptr, pchName, nData); } public virtual bool /*bool*/ ISteamUserStats_SetStat0( string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat0(_ptr, pchName, fData); + return Native.SteamAPI_ISteamUserStats_SetStat0(_ptr, pchName, fData); } public virtual bool /*bool*/ ISteamUserStats_UpdateAvgRateStat( string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamUserStats_UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamUserStats_GetAchievement( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievement(_ptr, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetAchievement(_ptr, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_SetAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_SetAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_ClearAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ClearAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_ClearAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAndUnlockTime( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_StoreStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.StoreStats(_ptr); + return Native.SteamAPI_ISteamUserStats_StoreStats(_ptr); } public virtual int /*int*/ ISteamUserStats_GetAchievementIcon( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementIcon(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_GetAchievementIcon(_ptr, pchName); } public virtual IntPtr ISteamUserStats_GetAchievementDisplayAttribute( string /*const char **/ pchName, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementDisplayAttribute(_ptr, pchName, pchKey); + return Native.SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute(_ptr, pchName, pchKey); } public virtual bool /*bool*/ ISteamUserStats_IndicateAchievementProgress( string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); + return Native.SteamAPI_ISteamUserStats_IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); } public virtual uint /*uint32*/ ISteamUserStats_GetNumAchievements() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumAchievements(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumAchievements(_ptr); } public virtual IntPtr ISteamUserStats_GetAchievementName( uint /*uint32*/ iAchievement ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementName(_ptr, iAchievement); + return Native.SteamAPI_ISteamUserStats_GetAchievementName(_ptr, iAchievement); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamUserStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievementAndUnlockTime( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_ResetAllStats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ResetAllStats(_ptr, bAchievementsToo); + return Native.SteamAPI_ISteamUserStats_ResetAllStats(_ptr, bAchievementsToo); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindOrCreateLeaderboard( string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + return Native.SteamAPI_ISteamUserStats_FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindLeaderboard( string /*const char **/ pchLeaderboardName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindLeaderboard(_ptr, pchLeaderboardName); + return Native.SteamAPI_ISteamUserStats_FindLeaderboard(_ptr, pchLeaderboardName); } public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardName(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardName(_ptr, hSteamLeaderboard); } public virtual int /*int*/ ISteamUserStats_GetLeaderboardEntryCount( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); } public virtual LeaderboardSortMethod /*ELeaderboardSortMethod*/ ISteamUserStats_GetLeaderboardSortMethod( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); } public virtual LeaderboardDisplayType /*ELeaderboardDisplayType*/ ISteamUserStats_GetLeaderboardDisplayType( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntries( ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntriesForUsers( ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); } public virtual bool /*bool*/ ISteamUserStats_GetDownloadedLeaderboardEntry( ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); var pLeaderboardEntry_ps = new LeaderboardEntry_t.PackSmall(); - var ret = Native.ISteamUserStats.GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry_ps, pDetails, cDetailsMax); + var ret = Native.SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry_ps, pDetails, cDetailsMax); pLeaderboardEntry = pLeaderboardEntry_ps; return ret; } @@ -1855,274 +1855,274 @@ public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboar { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + return Native.SteamAPI_ISteamUserStats_UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_AttachLeaderboardUGC( ulong hSteamLeaderboard, ulong hUGC ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); + return Native.SteamAPI_ISteamUserStats_AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_GetNumberOfCurrentPlayers() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumberOfCurrentPlayers(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalAchievementPercentages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalAchievementPercentages(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages(_ptr); } public virtual int /*int*/ ISteamUserStats_GetMostAchievedAchievementInfo( System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual int /*int*/ ISteamUserStats_GetNextMostAchievedAchievementInfo( int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAchievedPercent( string /*const char **/ pchName, out float /*float **/ pflPercent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); + return Native.SteamAPI_ISteamUserStats_GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalStats( int /*int*/ nHistoryDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalStats(_ptr, nHistoryDays); + return Native.SteamAPI_ISteamUserStats_RequestGlobalStats(_ptr, nHistoryDays); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat( string /*const char **/ pchStatName, out long /*int64 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat(_ptr, pchStatName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat0( string /*const char **/ pchStatName, out double /*double **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat0(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat0(_ptr, pchStatName, out pData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory( string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory0( string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); } public virtual bool /*bool*/ ISteamApps_BIsSubscribed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribed(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribed(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsLowViolence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsLowViolence(_ptr); + return Native.SteamAPI_ISteamApps_BIsLowViolence(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsCybercafe() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsCybercafe(_ptr); + return Native.SteamAPI_ISteamApps_BIsCybercafe(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsVACBanned() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsVACBanned(_ptr); + return Native.SteamAPI_ISteamApps_BIsVACBanned(_ptr); } public virtual IntPtr ISteamApps_GetCurrentGameLanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentGameLanguage(_ptr); + return Native.SteamAPI_ISteamApps_GetCurrentGameLanguage(_ptr); } public virtual IntPtr ISteamApps_GetAvailableGameLanguages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAvailableGameLanguages(_ptr); + return Native.SteamAPI_ISteamApps_GetAvailableGameLanguages(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedApp( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedApp(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsSubscribedApp(_ptr, appID); } public virtual bool /*bool*/ ISteamApps_BIsDlcInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsDlcInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsDlcInstalled(_ptr, appID); } public virtual uint /*uint32*/ ISteamApps_GetEarliestPurchaseUnixTime( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetEarliestPurchaseUnixTime(_ptr, nAppID); + return Native.SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedFromFreeWeekend() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedFromFreeWeekend(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend(_ptr); } public virtual int /*int*/ ISteamApps_GetDLCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDLCCount(_ptr); + return Native.SteamAPI_ISteamApps_GetDLCCount(_ptr); } public virtual bool /*bool*/ ISteamApps_BGetDLCDataByIndex( int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); } public virtual void /*void*/ ISteamApps_InstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.InstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_InstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_UninstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.UninstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_UninstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_RequestAppProofOfPurchaseKey( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAppProofOfPurchaseKey(_ptr, nAppID); + Native.SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_GetCurrentBetaName( System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); } public virtual bool /*bool*/ ISteamApps_MarkContentCorrupt( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.MarkContentCorrupt(_ptr, bMissingFilesOnly); + return Native.SteamAPI_ISteamApps_MarkContentCorrupt(_ptr, bMissingFilesOnly); } public virtual uint /*uint32*/ ISteamApps_GetInstalledDepots( uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); + return Native.SteamAPI_ISteamApps_GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); } public virtual uint /*uint32*/ ISteamApps_GetAppInstallDir( uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); + return Native.SteamAPI_ISteamApps_GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); } public virtual bool /*bool*/ ISteamApps_BIsAppInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsAppInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsAppInstalled(_ptr, appID); } public virtual CSteamID /*(class CSteamID)*/ ISteamApps_GetAppOwner() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppOwner(_ptr); + return Native.SteamAPI_ISteamApps_GetAppOwner(_ptr); } public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetLaunchQueryParam(_ptr, pchKey); + return Native.SteamAPI_ISteamApps_GetLaunchQueryParam(_ptr, pchKey); } public virtual bool /*bool*/ ISteamApps_GetDlcDownloadProgress( uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamApps_GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); } public virtual int /*int*/ ISteamApps_GetAppBuildId() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppBuildId(_ptr); + return Native.SteamAPI_ISteamApps_GetAppBuildId(_ptr); } public virtual void /*void*/ ISteamApps_RequestAllProofOfPurchaseKeys() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAllProofOfPurchaseKeys(_ptr); + Native.SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamApps_GetFileDetails( string /*const char **/ pszFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetFileDetails(_ptr, pszFileName); + return Native.SteamAPI_ISteamApps_GetFileDetails(_ptr, pszFileName); } public virtual bool /*bool*/ ISteamNetworking_SendP2PPacket( ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + return Native.SteamAPI_ISteamNetworking_SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); } public virtual bool /*bool*/ ISteamNetworking_IsP2PPacketAvailable( out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); + return Native.SteamAPI_ISteamNetworking_IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); } public virtual bool /*bool*/ ISteamNetworking_ReadP2PPacket( IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_AcceptP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AcceptP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_CloseP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PChannelWithUser( ulong steamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_GetP2PSessionState( ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); var pConnectionState_ps = new P2PSessionState_t.PackSmall(); - var ret = Native.ISteamNetworking.GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState_ps); + var ret = Native.SteamAPI_ISteamNetworking_GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState_ps); pConnectionState = pConnectionState_ps; return ret; } @@ -2130,741 +2130,741 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AllowP2PPacketRelay(_ptr, bAllow); + return Native.SteamAPI_ISteamNetworking_AllowP2PPacketRelay(_ptr, bAllow); } public virtual SNetListenSocket_t /*(SNetListenSocket_t)*/ ISteamNetworking_CreateListenSocket( int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateP2PConnectionSocket( ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateConnectionSocket( uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); + return Native.SteamAPI_ISteamNetworking_CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); } public virtual bool /*bool*/ ISteamNetworking_DestroySocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_DestroyListenSocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_SendDataOnSocket( uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); + return Native.SteamAPI_ISteamNetworking_SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailableOnSocket( uint hSocket, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_RetrieveDataFromSocket( uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailable( uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_RetrieveData( uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_GetSocketInfo( uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); + return Native.SteamAPI_ISteamNetworking_GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); } public virtual bool /*bool*/ ISteamNetworking_GetListenSocketInfo( uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); + return Native.SteamAPI_ISteamNetworking_GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); } public virtual SNetSocketConnectionType /*ESNetSocketConnectionType*/ ISteamNetworking_GetSocketConnectionType( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketConnectionType(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetSocketConnectionType(_ptr, hSocket); } public virtual int /*int*/ ISteamNetworking_GetMaxPacketSize( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetMaxPacketSize(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetMaxPacketSize(_ptr, hSocket); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_WriteScreenshot( IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddScreenshotToLibrary( string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); } public virtual void /*void*/ ISteamScreenshots_TriggerScreenshot() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.TriggerScreenshot(_ptr); + Native.SteamAPI_ISteamScreenshots_TriggerScreenshot(_ptr); } public virtual void /*void*/ ISteamScreenshots_HookScreenshots( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.HookScreenshots(_ptr, bHook); + Native.SteamAPI_ISteamScreenshots_HookScreenshots(_ptr, bHook); } public virtual bool /*bool*/ ISteamScreenshots_SetLocation( uint hScreenshot, string /*const char **/ pchLocation ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.SetLocation(_ptr, hScreenshot, pchLocation); + return Native.SteamAPI_ISteamScreenshots_SetLocation(_ptr, hScreenshot, pchLocation); } public virtual bool /*bool*/ ISteamScreenshots_TagUser( uint hScreenshot, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagUser(_ptr, hScreenshot, steamID); + return Native.SteamAPI_ISteamScreenshots_TagUser(_ptr, hScreenshot, steamID); } public virtual bool /*bool*/ ISteamScreenshots_TagPublishedFile( uint hScreenshot, ulong unPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); + return Native.SteamAPI_ISteamScreenshots_TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); } public virtual bool /*bool*/ ISteamScreenshots_IsScreenshotsHooked() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.IsScreenshotsHooked(_ptr); + return Native.SteamAPI_ISteamScreenshots_IsScreenshotsHooked(_ptr); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddVRScreenshotToLibrary( VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); + return Native.SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); } public virtual bool /*bool*/ ISteamMusic_BIsEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsEnabled(_ptr); + return Native.SteamAPI_ISteamMusic_BIsEnabled(_ptr); } public virtual bool /*bool*/ ISteamMusic_BIsPlaying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsPlaying(_ptr); + return Native.SteamAPI_ISteamMusic_BIsPlaying(_ptr); } public virtual AudioPlayback_Status /*AudioPlayback_Status*/ ISteamMusic_GetPlaybackStatus() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetPlaybackStatus(_ptr); + return Native.SteamAPI_ISteamMusic_GetPlaybackStatus(_ptr); } public virtual void /*void*/ ISteamMusic_Play() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Play(_ptr); + Native.SteamAPI_ISteamMusic_Play(_ptr); } public virtual void /*void*/ ISteamMusic_Pause() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Pause(_ptr); + Native.SteamAPI_ISteamMusic_Pause(_ptr); } public virtual void /*void*/ ISteamMusic_PlayPrevious() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayPrevious(_ptr); + Native.SteamAPI_ISteamMusic_PlayPrevious(_ptr); } public virtual void /*void*/ ISteamMusic_PlayNext() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayNext(_ptr); + Native.SteamAPI_ISteamMusic_PlayNext(_ptr); } public virtual void /*void*/ ISteamMusic_SetVolume( float /*float*/ flVolume ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.SetVolume(_ptr, flVolume); + Native.SteamAPI_ISteamMusic_SetVolume(_ptr, flVolume); } public virtual float /*float*/ ISteamMusic_GetVolume() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetVolume(_ptr); + return Native.SteamAPI_ISteamMusic_GetVolume(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_RegisterSteamMusicRemote( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.RegisterSteamMusicRemote(_ptr, pchName); + return Native.SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote(_ptr, pchName); } public virtual bool /*bool*/ ISteamMusicRemote_DeregisterSteamMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.DeregisterSteamMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BIsCurrentMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BIsCurrentMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BActivationSuccess( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BActivationSuccess(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_BActivationSuccess(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_SetDisplayName( string /*const char **/ pchDisplayName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetDisplayName(_ptr, pchDisplayName); + return Native.SteamAPI_ISteamMusicRemote_SetDisplayName(_ptr, pchDisplayName); } public virtual bool /*bool*/ ISteamMusicRemote_SetPNGIcon_64x64( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayPrevious( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayPrevious(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayPrevious(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayNext( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayNext(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayNext(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableQueue( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableQueue(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableQueue(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlaylists( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlaylists(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlaylists(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdatePlaybackStatus( AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdatePlaybackStatus(_ptr, nStatus); + return Native.SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus(_ptr, nStatus); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateVolume( float /*float*/ flValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateVolume(_ptr, flValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateVolume(_ptr, flValue); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryIsAvailable( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryIsAvailable(_ptr, bAvailable); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable(_ptr, bAvailable); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryText( string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryText(_ptr, pchText); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText(_ptr, pchText); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( int /*int*/ nValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds(_ptr, nValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds(_ptr, nValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_QueueWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetQueueEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetQueueEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetQueueEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetQueueEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetQueueEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetQueueEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentQueueEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentQueueEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_QueueDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetPlaylistEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetPlaylistEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetPlaylistEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetPlaylistEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentPlaylistEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentPlaylistEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistDidChange(_ptr); } public virtual HTTPRequestHandle /*(HTTPRequestHandle)*/ ISteamHTTP_CreateHTTPRequest( HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); + return Native.SteamAPI_ISteamHTTP_CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestContextValue( uint hRequest, ulong /*uint64*/ ulContextValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( uint hRequest, uint /*uint32*/ unTimeoutSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestGetOrPostParameter( uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequest( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequest(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequest(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequestAndStreamResponse( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_DeferHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.DeferHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_DeferHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_PrioritizeHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.PrioritizeHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_PrioritizeHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderSize( uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodySize( uint hRequest, out uint /*uint32 **/ unBodySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodyData( uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPStreamingResponseBodyData( uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_ReleaseHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_ReleaseHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPDownloadProgressPct( uint hRequest, out float /*float **/ pflPercentOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRawPostBody( uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); } public virtual HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ ISteamHTTP_CreateCookieContainer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateCookieContainer(_ptr, bAllowResponsesToModify); + return Native.SteamAPI_ISteamHTTP_CreateCookieContainer(_ptr, bAllowResponsesToModify); } public virtual bool /*bool*/ ISteamHTTP_ReleaseCookieContainer( uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseCookieContainer(_ptr, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_ReleaseCookieContainer(_ptr, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetCookie( uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); + return Native.SteamAPI_ISteamHTTP_SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestCookieContainer( uint hRequest, uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestUserAgentInfo( uint hRequest, string /*const char **/ pchUserAgentInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( uint hRequest, uint /*uint32*/ unMilliseconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); } public virtual ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); + return Native.SteamAPI_ISteamUnifiedMessages_SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); } public virtual bool /*bool*/ ISteamUnifiedMessages_ReleaseMethod( ulong hHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.ReleaseMethod(_ptr, hHandle); + return Native.SteamAPI_ISteamUnifiedMessages_ReleaseMethod(_ptr, hHandle); } public virtual bool /*bool*/ ISteamUnifiedMessages_SendNotification( string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); + return Native.SteamAPI_ISteamUnifiedMessages_SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); } public virtual bool /*bool*/ ISteamController_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Init(_ptr); + return Native.SteamAPI_ISteamController_Init(_ptr); } public virtual bool /*bool*/ ISteamController_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Shutdown(_ptr); + return Native.SteamAPI_ISteamController_Shutdown(_ptr); } public virtual void /*void*/ ISteamController_RunFrame() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.RunFrame(_ptr); + Native.SteamAPI_ISteamController_RunFrame(_ptr); } public virtual int /*int*/ ISteamController_GetConnectedControllers( IntPtr /*ControllerHandle_t **/ handlesOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetConnectedControllers(_ptr, handlesOut); + return Native.SteamAPI_ISteamController_GetConnectedControllers(_ptr, handlesOut); } public virtual bool /*bool*/ ISteamController_ShowBindingPanel( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowBindingPanel(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_ShowBindingPanel(_ptr, controllerHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetActionSetHandle( string /*const char **/ pszActionSetName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetActionSetHandle(_ptr, pszActionSetName); + return Native.SteamAPI_ISteamController_GetActionSetHandle(_ptr, pszActionSetName); } public virtual void /*void*/ ISteamController_ActivateActionSet( ulong controllerHandle, ulong actionSetHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.ActivateActionSet(_ptr, controllerHandle, actionSetHandle); + Native.SteamAPI_ISteamController_ActivateActionSet(_ptr, controllerHandle, actionSetHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetCurrentActionSet( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetCurrentActionSet(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetCurrentActionSet(_ptr, controllerHandle); } public virtual ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ ISteamController_GetDigitalActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetDigitalActionHandle(_ptr, pszActionName); } public virtual ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ ISteamController_GetDigitalActionData( ulong controllerHandle, ulong digitalActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); + return Native.SteamAPI_ISteamController_GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); } public virtual int /*int*/ ISteamController_GetDigitalActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); } public virtual ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ ISteamController_GetAnalogActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetAnalogActionHandle(_ptr, pszActionName); } public virtual ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ ISteamController_GetAnalogActionData( ulong controllerHandle, ulong analogActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); + return Native.SteamAPI_ISteamController_GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); } public virtual int /*int*/ ISteamController_GetAnalogActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); } public virtual void /*void*/ ISteamController_StopAnalogActionMomentum( ulong controllerHandle, ulong eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.StopAnalogActionMomentum(_ptr, controllerHandle, eAction); + Native.SteamAPI_ISteamController_StopAnalogActionMomentum(_ptr, controllerHandle, eAction); } public virtual void /*void*/ ISteamController_TriggerHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); + Native.SteamAPI_ISteamController_TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); } public virtual void /*void*/ ISteamController_TriggerRepeatedHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + Native.SteamAPI_ISteamController_TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); } public virtual int /*int*/ ISteamController_GetGamepadIndexForController( ulong ulControllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetGamepadIndexForController(_ptr, ulControllerHandle); + return Native.SteamAPI_ISteamController_GetGamepadIndexForController(_ptr, ulControllerHandle); } public virtual ControllerHandle_t /*(ControllerHandle_t)*/ ISteamController_GetControllerForGamepadIndex( int /*int*/ nIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetControllerForGamepadIndex(_ptr, nIndex); + return Native.SteamAPI_ISteamController_GetControllerForGamepadIndex(_ptr, nIndex); } public virtual ControllerMotionData_t /*struct ControllerMotionData_t*/ ISteamController_GetMotionData( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetMotionData(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetMotionData(_ptr, controllerHandle); } public virtual bool /*bool*/ ISteamController_ShowDigitalActionOrigins( ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); } public virtual bool /*bool*/ ISteamController_ShowAnalogActionOrigins( ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUserUGCRequest( uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryAllUGCRequest( UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SendQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SendQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_SendQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCResult( ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); var pDetails_ps = new SteamUGCDetails_t.PackSmall(); - var ret = Native.ISteamUGC.GetQueryUGCResult(_ptr, handle, index, ref pDetails_ps); + var ret = Native.SteamAPI_ISteamUGC_GetQueryUGCResult(_ptr, handle, index, ref pDetails_ps); pDetails = pDetails_ps; return ret; } @@ -2872,206 +2872,206 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCMetadata( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCChildren( ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCStatistic( ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); + return Native.SteamAPI_ISteamUGC_GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumAdditionalPreviews( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCAdditionalPreview( ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); + return Native.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumKeyValueTags( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumKeyValueTags(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCKeyValueTag( ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); } public virtual bool /*bool*/ ISteamUGC_ReleaseQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.ReleaseQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_AddRequiredTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddRequiredTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_AddExcludedTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddExcludedTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddExcludedTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_SetReturnOnlyIDs( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); + return Native.SteamAPI_ISteamUGC_SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); } public virtual bool /*bool*/ ISteamUGC_SetReturnKeyValueTags( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); + return Native.SteamAPI_ISteamUGC_SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); } public virtual bool /*bool*/ ISteamUGC_SetReturnLongDescription( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnLongDescription(_ptr, handle, bReturnLongDescription); + return Native.SteamAPI_ISteamUGC_SetReturnLongDescription(_ptr, handle, bReturnLongDescription); } public virtual bool /*bool*/ ISteamUGC_SetReturnMetadata( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnMetadata(_ptr, handle, bReturnMetadata); + return Native.SteamAPI_ISteamUGC_SetReturnMetadata(_ptr, handle, bReturnMetadata); } public virtual bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnChildren(_ptr, handle, bReturnChildren); + return Native.SteamAPI_ISteamUGC_SetReturnChildren(_ptr, handle, bReturnChildren); } public virtual bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); + return Native.SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); } public virtual bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); + return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); } public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); } public virtual bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); + return Native.SteamAPI_ISteamUGC_SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); } public virtual bool /*bool*/ ISteamUGC_SetMatchAnyTag( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetMatchAnyTag(_ptr, handle, bMatchAnyTag); + return Native.SteamAPI_ISteamUGC_SetMatchAnyTag(_ptr, handle, bMatchAnyTag); } public virtual bool /*bool*/ ISteamUGC_SetSearchText( ulong handle, string /*const char **/ pSearchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetSearchText(_ptr, handle, pSearchText); + return Native.SteamAPI_ISteamUGC_SetSearchText(_ptr, handle, pSearchText); } public virtual bool /*bool*/ ISteamUGC_SetRankedByTrendDays( ulong handle, uint /*uint32*/ unDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetRankedByTrendDays(_ptr, handle, unDays); + return Native.SteamAPI_ISteamUGC_SetRankedByTrendDays(_ptr, handle, unDays); } public virtual bool /*bool*/ ISteamUGC_AddRequiredKeyValueTag( ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); + return Native.SteamAPI_ISteamUGC_AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RequestUGCDetails( ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_CreateItem( uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateItem(_ptr, nConsumerAppId, eFileType); + return Native.SteamAPI_ISteamUGC_CreateItem(_ptr, nConsumerAppId, eFileType); } public virtual UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ ISteamUGC_StartItemUpdate( uint nConsumerAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_SetItemTitle( ulong handle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTitle(_ptr, handle, pchTitle); + return Native.SteamAPI_ISteamUGC_SetItemTitle(_ptr, handle, pchTitle); } public virtual bool /*bool*/ ISteamUGC_SetItemDescription( ulong handle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemDescription(_ptr, handle, pchDescription); + return Native.SteamAPI_ISteamUGC_SetItemDescription(_ptr, handle, pchDescription); } public virtual bool /*bool*/ ISteamUGC_SetItemUpdateLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemUpdateLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetItemUpdateLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetItemMetadata( ulong handle, string /*const char **/ pchMetaData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemMetadata(_ptr, handle, pchMetaData); + return Native.SteamAPI_ISteamUGC_SetItemMetadata(_ptr, handle, pchMetaData); } public virtual bool /*bool*/ ISteamUGC_SetItemVisibility( ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemVisibility(_ptr, handle, eVisibility); + return Native.SteamAPI_ISteamUGC_SetItemVisibility(_ptr, handle, eVisibility); } public virtual bool /*bool*/ ISteamUGC_SetItemTags( ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); var pTags_ps = new SteamParamStringArray_t.PackSmall(); - var ret = Native.ISteamUGC.SetItemTags(_ptr, updateHandle, ref pTags_ps); + var ret = Native.SteamAPI_ISteamUGC_SetItemTags(_ptr, updateHandle, ref pTags_ps); pTags = pTags_ps; return ret; } @@ -3079,2353 +3079,1694 @@ public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pc { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemContent(_ptr, handle, pszContentFolder); + return Native.SteamAPI_ISteamUGC_SetItemContent(_ptr, handle, pszContentFolder); } public virtual bool /*bool*/ ISteamUGC_SetItemPreview( ulong handle, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemPreview(_ptr, handle, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_SetItemPreview(_ptr, handle, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_RemoveItemKeyValueTags( ulong handle, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemKeyValueTags(_ptr, handle, pchKey); + return Native.SteamAPI_ISteamUGC_RemoveItemKeyValueTags(_ptr, handle, pchKey); } public virtual bool /*bool*/ ISteamUGC_AddItemKeyValueTag( ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); + return Native.SteamAPI_ISteamUGC_AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewFile( ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); + return Native.SteamAPI_ISteamUGC_AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewVideo( ulong handle, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewVideo(_ptr, handle, pszVideoID); + return Native.SteamAPI_ISteamUGC_AddItemPreviewVideo(_ptr, handle, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewFile( ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewVideo( ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_RemoveItemPreview( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemPreview(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_RemoveItemPreview(_ptr, handle, index); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubmitItemUpdate( ulong handle, string /*const char **/ pchChangeNote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubmitItemUpdate(_ptr, handle, pchChangeNote); + return Native.SteamAPI_ISteamUGC_SubmitItemUpdate(_ptr, handle, pchChangeNote); } public virtual ItemUpdateStatus /*EItemUpdateStatus*/ ISteamUGC_GetItemUpdateProgress( ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SetUserItemVote( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); + return Native.SteamAPI_ISteamUGC_SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_GetUserItemVote( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetUserItemVote(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetUserItemVote(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddItemToFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemToFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_AddItemToFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveItemFromFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_SubscribeItem(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_UnsubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UnsubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_UnsubscribeItem(_ptr, nPublishedFileID); } public virtual uint /*uint32*/ ISteamUGC_GetNumSubscribedItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetNumSubscribedItems(_ptr); + return Native.SteamAPI_ISteamUGC_GetNumSubscribedItems(_ptr); } public virtual uint /*uint32*/ ISteamUGC_GetSubscribedItems( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); } public virtual uint /*uint32*/ ISteamUGC_GetItemState( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemState(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetItemState(_ptr, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_GetItemInstallInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); + return Native.SteamAPI_ISteamUGC_GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); } public virtual bool /*bool*/ ISteamUGC_GetItemDownloadInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); } public virtual bool /*bool*/ ISteamUGC_DownloadItem( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.DownloadItem(_ptr, nPublishedFileID, bHighPriority); + return Native.SteamAPI_ISteamUGC_DownloadItem(_ptr, nPublishedFileID, bHighPriority); } public virtual bool /*bool*/ ISteamUGC_BInitWorkshopForGameServer( uint unWorkshopDepotID, string /*const char **/ pszFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); + return Native.SteamAPI_ISteamUGC_BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); } public virtual void /*void*/ ISteamUGC_SuspendDownloads( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - Native.ISteamUGC.SuspendDownloads(_ptr, bSuspend); + Native.SteamAPI_ISteamUGC_SuspendDownloads(_ptr, bSuspend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTrackingForAllItems(_ptr); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetNumInstalledApps(_ptr); + return Native.SteamAPI_ISteamAppList_GetNumInstalledApps(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetInstalledApps( IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); + return Native.SteamAPI_ISteamAppList_GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); } public virtual int /*int*/ ISteamAppList_GetAppName( uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppName(_ptr, nAppID, pchName, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppName(_ptr, nAppID, pchName, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppInstallDir( uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppBuildId( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppBuildId(_ptr, nAppID); + return Native.SteamAPI_ISteamAppList_GetAppBuildId(_ptr, nAppID); } public virtual void /*void*/ ISteamHTMLSurface_DestructISteamHTMLSurface() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.DestructISteamHTMLSurface(_ptr); + Native.SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Init(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Init(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Shutdown(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Shutdown(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamHTMLSurface_CreateBrowser( string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.CreateBrowser(_ptr, pchUserAgent, pchUserCSS); + return Native.SteamAPI_ISteamHTMLSurface_CreateBrowser(_ptr, pchUserAgent, pchUserCSS); } public virtual void /*void*/ ISteamHTMLSurface_RemoveBrowser( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.RemoveBrowser(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_RemoveBrowser(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_LoadURL( uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); + Native.SteamAPI_ISteamHTMLSurface_LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); } public virtual void /*void*/ ISteamHTMLSurface_SetSize( uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetSize(_ptr, unBrowserHandle, unWidth, unHeight); + Native.SteamAPI_ISteamHTMLSurface_SetSize(_ptr, unBrowserHandle, unWidth, unHeight); } public virtual void /*void*/ ISteamHTMLSurface_StopLoad( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopLoad(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopLoad(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Reload( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Reload(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_Reload(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoBack( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoBack(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoBack(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoForward( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoForward(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoForward(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_AddHeader( uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); + Native.SteamAPI_ISteamHTMLSurface_AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); } public virtual void /*void*/ ISteamHTMLSurface_ExecuteJavascript( uint unBrowserHandle, string /*const char **/ pchScript ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ExecuteJavascript(_ptr, unBrowserHandle, pchScript); + Native.SteamAPI_ISteamHTMLSurface_ExecuteJavascript(_ptr, unBrowserHandle, pchScript); } public virtual void /*void*/ ISteamHTMLSurface_MouseUp( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseUp(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseUp(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDown( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDown(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDown(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDoubleClick( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseMove( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseMove(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_MouseMove(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_MouseWheel( uint unBrowserHandle, int /*int32*/ nDelta ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseWheel(_ptr, unBrowserHandle, nDelta); + Native.SteamAPI_ISteamHTMLSurface_MouseWheel(_ptr, unBrowserHandle, nDelta); } public virtual void /*void*/ ISteamHTMLSurface_KeyDown( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyUp( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyChar( uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_SetHorizontalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetVerticalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetKeyFocus( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); + Native.SteamAPI_ISteamHTMLSurface_SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); } public virtual void /*void*/ ISteamHTMLSurface_ViewSource( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ViewSource(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_ViewSource(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_CopyToClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.CopyToClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_CopyToClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_PasteFromClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.PasteFromClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_PasteFromClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Find( uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + Native.SteamAPI_ISteamHTMLSurface_Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); } public virtual void /*void*/ ISteamHTMLSurface_StopFind( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopFind(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopFind(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GetLinkAtPosition( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GetLinkAtPosition(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_GetLinkAtPosition(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_SetCookie( string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + Native.SteamAPI_ISteamHTMLSurface_SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); } public virtual void /*void*/ ISteamHTMLSurface_SetPageScaleFactor( uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); + Native.SteamAPI_ISteamHTMLSurface_SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); } public virtual void /*void*/ ISteamHTMLSurface_SetBackgroundMode( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); + Native.SteamAPI_ISteamHTMLSurface_SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); } public virtual void /*void*/ ISteamHTMLSurface_AllowStartRequest( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AllowStartRequest(_ptr, unBrowserHandle, bAllowed); + Native.SteamAPI_ISteamHTMLSurface_AllowStartRequest(_ptr, unBrowserHandle, bAllowed); } public virtual void /*void*/ ISteamHTMLSurface_JSDialogResponse( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.JSDialogResponse(_ptr, unBrowserHandle, bResult); + Native.SteamAPI_ISteamHTMLSurface_JSDialogResponse(_ptr, unBrowserHandle, bResult); } public virtual Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultStatus(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultStatus(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); + return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); } public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultTimestamp(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultTimestamp(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.CheckResultSteamID(_ptr, resultHandle, steamIDExpected); + return Native.SteamAPI_ISteamInventory_CheckResultSteamID(_ptr, resultHandle, steamIDExpected); } public virtual void /*void*/ ISteamInventory_DestroyResult( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.DestroyResult(_ptr, resultHandle); + Native.SteamAPI_ISteamInventory_DestroyResult(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetAllItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetAllItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GetAllItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_GetItemsByID( ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); + return Native.SteamAPI_ISteamInventory_GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); } public virtual bool /*bool*/ ISteamInventory_SerializeResult( int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); + return Native.SteamAPI_ISteamInventory_SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); } public virtual bool /*bool*/ ISteamInventory_DeserializeResult( ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + return Native.SteamAPI_ISteamInventory_DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); } public virtual bool /*bool*/ ISteamInventory_GenerateItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); + return Native.SteamAPI_ISteamInventory_GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_GrantPromoItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GrantPromoItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GrantPromoItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_AddPromoItem( ref int pResultHandle, int itemDef ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItem(_ptr, ref pResultHandle, itemDef); + return Native.SteamAPI_ISteamInventory_AddPromoItem(_ptr, ref pResultHandle, itemDef); } public virtual bool /*bool*/ ISteamInventory_AddPromoItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); + return Native.SteamAPI_ISteamInventory_AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_ConsumeItem( ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); + return Native.SteamAPI_ISteamInventory_ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); } public virtual bool /*bool*/ ISteamInventory_ExchangeItems( ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + return Native.SteamAPI_ISteamInventory_ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); } public virtual bool /*bool*/ ISteamInventory_TransferItemQuantity( ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); + return Native.SteamAPI_ISteamInventory_TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); } public virtual void /*void*/ ISteamInventory_SendItemDropHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.SendItemDropHeartbeat(_ptr); + Native.SteamAPI_ISteamInventory_SendItemDropHeartbeat(_ptr); } public virtual bool /*bool*/ ISteamInventory_TriggerItemDrop( ref int pResultHandle, int dropListDefinition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); + return Native.SteamAPI_ISteamInventory_TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); } public virtual bool /*bool*/ ISteamInventory_TradeItems( ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); + return Native.SteamAPI_ISteamInventory_TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); } public virtual bool /*bool*/ ISteamInventory_LoadItemDefinitions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.LoadItemDefinitions(_ptr); + return Native.SteamAPI_ISteamInventory_LoadItemDefinitions(_ptr); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionIDs( IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionProperty( int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); } public virtual void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - Native.ISteamVideo.GetVideoURL(_ptr, unVideoAppID); + Native.SteamAPI_ISteamVideo_GetVideoURL(_ptr, unVideoAppID); } public virtual bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - return Native.ISteamVideo.IsBroadcasting(_ptr, pnNumViewers); + return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers); } public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + return Native.SteamAPI_ISteamGameServer_InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); } public virtual void /*void*/ ISteamGameServer_SetProduct( string /*const char **/ pszProduct ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetProduct(_ptr, pszProduct); + Native.SteamAPI_ISteamGameServer_SetProduct(_ptr, pszProduct); } public virtual void /*void*/ ISteamGameServer_SetGameDescription( string /*const char **/ pszGameDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameDescription(_ptr, pszGameDescription); + Native.SteamAPI_ISteamGameServer_SetGameDescription(_ptr, pszGameDescription); } public virtual void /*void*/ ISteamGameServer_SetModDir( string /*const char **/ pszModDir ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetModDir(_ptr, pszModDir); + Native.SteamAPI_ISteamGameServer_SetModDir(_ptr, pszModDir); } public virtual void /*void*/ ISteamGameServer_SetDedicatedServer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetDedicatedServer(_ptr, bDedicated); + Native.SteamAPI_ISteamGameServer_SetDedicatedServer(_ptr, bDedicated); } public virtual void /*void*/ ISteamGameServer_LogOn( string /*const char **/ pszToken ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOn(_ptr, pszToken); + Native.SteamAPI_ISteamGameServer_LogOn(_ptr, pszToken); } public virtual void /*void*/ ISteamGameServer_LogOnAnonymous() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOnAnonymous(_ptr); + Native.SteamAPI_ISteamGameServer_LogOnAnonymous(_ptr); } public virtual void /*void*/ ISteamGameServer_LogOff() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOff(_ptr); + Native.SteamAPI_ISteamGameServer_LogOff(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamGameServer_BLoggedOn(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BSecure() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BSecure(_ptr); + return Native.SteamAPI_ISteamGameServer_BSecure(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetSteamID(_ptr); + return Native.SteamAPI_ISteamGameServer_GetSteamID(_ptr); } public virtual bool /*bool*/ ISteamGameServer_WasRestartRequested() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.WasRestartRequested(_ptr); + return Native.SteamAPI_ISteamGameServer_WasRestartRequested(_ptr); } public virtual void /*void*/ ISteamGameServer_SetMaxPlayerCount( int /*int*/ cPlayersMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMaxPlayerCount(_ptr, cPlayersMax); + Native.SteamAPI_ISteamGameServer_SetMaxPlayerCount(_ptr, cPlayersMax); } public virtual void /*void*/ ISteamGameServer_SetBotPlayerCount( int /*int*/ cBotplayers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetBotPlayerCount(_ptr, cBotplayers); + Native.SteamAPI_ISteamGameServer_SetBotPlayerCount(_ptr, cBotplayers); } public virtual void /*void*/ ISteamGameServer_SetServerName( string /*const char **/ pszServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetServerName(_ptr, pszServerName); + Native.SteamAPI_ISteamGameServer_SetServerName(_ptr, pszServerName); } public virtual void /*void*/ ISteamGameServer_SetMapName( string /*const char **/ pszMapName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMapName(_ptr, pszMapName); + Native.SteamAPI_ISteamGameServer_SetMapName(_ptr, pszMapName); } public virtual void /*void*/ ISteamGameServer_SetPasswordProtected( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetPasswordProtected(_ptr, bPasswordProtected); + Native.SteamAPI_ISteamGameServer_SetPasswordProtected(_ptr, bPasswordProtected); } public virtual void /*void*/ ISteamGameServer_SetSpectatorPort( ushort /*uint16*/ unSpectatorPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorPort(_ptr, unSpectatorPort); + Native.SteamAPI_ISteamGameServer_SetSpectatorPort(_ptr, unSpectatorPort); } public virtual void /*void*/ ISteamGameServer_SetSpectatorServerName( string /*const char **/ pszSpectatorServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorServerName(_ptr, pszSpectatorServerName); + Native.SteamAPI_ISteamGameServer_SetSpectatorServerName(_ptr, pszSpectatorServerName); } public virtual void /*void*/ ISteamGameServer_ClearAllKeyValues() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ClearAllKeyValues(_ptr); + Native.SteamAPI_ISteamGameServer_ClearAllKeyValues(_ptr); } public virtual void /*void*/ ISteamGameServer_SetKeyValue( string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetKeyValue(_ptr, pKey, pValue); + Native.SteamAPI_ISteamGameServer_SetKeyValue(_ptr, pKey, pValue); } public virtual void /*void*/ ISteamGameServer_SetGameTags( string /*const char **/ pchGameTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameTags(_ptr, pchGameTags); + Native.SteamAPI_ISteamGameServer_SetGameTags(_ptr, pchGameTags); } public virtual void /*void*/ ISteamGameServer_SetGameData( string /*const char **/ pchGameData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameData(_ptr, pchGameData); + Native.SteamAPI_ISteamGameServer_SetGameData(_ptr, pchGameData); } public virtual void /*void*/ ISteamGameServer_SetRegion( string /*const char **/ pszRegion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetRegion(_ptr, pszRegion); + Native.SteamAPI_ISteamGameServer_SetRegion(_ptr, pszRegion); } public virtual bool /*bool*/ ISteamGameServer_SendUserConnectAndAuthenticate( uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); + return Native.SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_CreateUnauthenticatedUserConnection() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.CreateUnauthenticatedUserConnection(_ptr); + return Native.SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection(_ptr); } public virtual void /*void*/ ISteamGameServer_SendUserDisconnect( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SendUserDisconnect(_ptr, steamIDUser); + Native.SteamAPI_ISteamGameServer_SendUserDisconnect(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServer_BUpdateUserData( ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); + return Native.SteamAPI_ISteamGameServer_BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamGameServer_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamGameServer_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamGameServer_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamGameServer_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamGameServer_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamGameServer_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamGameServer_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamGameServer_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamGameServer_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamGameServer_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamGameServer_RequestUserGroupStatus( ulong steamIDUser, ulong steamIDGroup ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); + return Native.SteamAPI_ISteamGameServer_RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); } public virtual void /*void*/ ISteamGameServer_GetGameplayStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.GetGameplayStats(_ptr); + Native.SteamAPI_ISteamGameServer_GetGameplayStats(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_GetServerReputation() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetServerReputation(_ptr); + return Native.SteamAPI_ISteamGameServer_GetServerReputation(_ptr); } public virtual uint /*uint32*/ ISteamGameServer_GetPublicIP() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetPublicIP(_ptr); + return Native.SteamAPI_ISteamGameServer_GetPublicIP(_ptr); } public virtual bool /*bool*/ ISteamGameServer_HandleIncomingPacket( IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); + return Native.SteamAPI_ISteamGameServer_HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); } public virtual int /*int*/ ISteamGameServer_GetNextOutgoingPacket( IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); + return Native.SteamAPI_ISteamGameServer_GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); } public virtual void /*void*/ ISteamGameServer_EnableHeartbeats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EnableHeartbeats(_ptr, bActive); + Native.SteamAPI_ISteamGameServer_EnableHeartbeats(_ptr, bActive); } public virtual void /*void*/ ISteamGameServer_SetHeartbeatInterval( int /*int*/ iHeartbeatInterval ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetHeartbeatInterval(_ptr, iHeartbeatInterval); + Native.SteamAPI_ISteamGameServer_SetHeartbeatInterval(_ptr, iHeartbeatInterval); } public virtual void /*void*/ ISteamGameServer_ForceHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ForceHeartbeat(_ptr); + Native.SteamAPI_ISteamGameServer_ForceHeartbeat(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_AssociateWithClan( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.AssociateWithClan(_ptr, steamIDClan); + return Native.SteamAPI_ISteamGameServer_AssociateWithClan(_ptr, steamIDClan); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_ComputeNewPlayerCompatibility( ulong steamIDNewPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); + return Native.SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamGameServerStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat( ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat(_ptr, steamIDUser, pchName, nData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat(_ptr, steamIDUser, pchName, nData); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat0( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat0(_ptr, steamIDUser, pchName, fData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat0(_ptr, steamIDUser, pchName, fData); } public virtual bool /*bool*/ ISteamGameServerStats_UpdateUserAvgRateStat( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_SetUserAchievement(_ptr, steamIDUser, pchName); } public virtual bool /*bool*/ ISteamGameServerStats_ClearUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.ClearUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_ClearUserAchievement(_ptr, steamIDUser, pchName); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_StoreUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.StoreUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_StoreUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ SteamApi_SteamAPI_Init() { - return Native.SteamApi.SteamAPI_Init(); + return Native.SteamAPI_Init(); } public virtual void /*void*/ SteamApi_SteamAPI_RunCallbacks() { - Native.SteamApi.SteamAPI_RunCallbacks(); + Native.SteamAPI_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamGameServer_RunCallbacks() { - Native.SteamApi.SteamGameServer_RunCallbacks(); + Native.SteamGameServer_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ) { - Native.SteamApi.SteamAPI_RegisterCallback(pCallback, callback); + Native.SteamAPI_RegisterCallback(pCallback, callback); } public virtual void /*void*/ SteamApi_SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ) { - Native.SteamApi.SteamAPI_UnregisterCallback(pCallback); + Native.SteamAPI_UnregisterCallback(pCallback); } public virtual bool /*bool*/ SteamApi_SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ) { - return Native.SteamApi.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); + return Native.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); } public virtual void /*void*/ SteamApi_SteamAPI_Shutdown() { - Native.SteamApi.SteamAPI_Shutdown(); + Native.SteamAPI_Shutdown(); } public virtual void /*void*/ SteamApi_SteamGameServer_Shutdown() { - Native.SteamApi.SteamGameServer_Shutdown(); + Native.SteamGameServer_Shutdown(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamAPI_GetHSteamUser() { - return Native.SteamApi.SteamAPI_GetHSteamUser(); + return Native.SteamAPI_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamAPI_GetHSteamPipe() { - return Native.SteamApi.SteamAPI_GetHSteamPipe(); + return Native.SteamAPI_GetHSteamPipe(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamGameServer_GetHSteamUser() { - return Native.SteamApi.SteamGameServer_GetHSteamUser(); + return Native.SteamGameServer_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamGameServer_GetHSteamPipe() { - return Native.SteamApi.SteamGameServer_GetHSteamPipe(); + return Native.SteamGameServer_GetHSteamPipe(); } public virtual IntPtr /*void **/ SteamApi_SteamInternal_CreateInterface( string /*const char **/ version ) { - return Native.SteamApi.SteamInternal_CreateInterface(version); + return Native.SteamInternal_CreateInterface(version); } internal static unsafe class Native { - internal static unsafe class ISteamClient - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ CreateSteamPipe( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] - internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] - internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] - internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] - internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] - internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] - internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] - internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] - internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] - internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] - internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] - internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] - internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] - internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] - internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] - internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] - internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] - internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] - internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] - internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] - internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] - internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] - internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] - internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] - internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] - internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] - internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] - internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - } + // + // ISteamClient + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_ISteamClient_CreateSteamPipe( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamClient_ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamUser **/ SteamAPI_ISteamClient_GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamGameServer **/ SteamAPI_ISteamClient_GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamFriends **/ SteamAPI_ISteamClient_GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamUtils **/ SteamAPI_ISteamClient_GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamMatchmaking **/ SteamAPI_ISteamClient_GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ SteamAPI_ISteamClient_GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*void **/ SteamAPI_ISteamClient_GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamUserStats **/ SteamAPI_ISteamClient_GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamGameServerStats **/ SteamAPI_ISteamClient_GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamApps **/ SteamAPI_ISteamClient_GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamNetworking **/ SteamAPI_ISteamClient_GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ SteamAPI_ISteamClient_GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamScreenshots **/ SteamAPI_ISteamClient_GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamClient_GetIPCCallCount( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BShutdownIfAllPipesClosed( IntPtr ISteamClient ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamHTTP **/ SteamAPI_ISteamClient_GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ SteamAPI_ISteamClient_GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamController **/ SteamAPI_ISteamClient_GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamUGC **/ SteamAPI_ISteamClient_GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamAppList **/ SteamAPI_ISteamClient_GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamMusic **/ SteamAPI_ISteamClient_GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamMusicRemote **/ SteamAPI_ISteamClient_GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ SteamAPI_ISteamClient_GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamInventory **/ SteamAPI_ISteamClient_GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class ISteamVideo **/ SteamAPI_ISteamClient_GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - internal static unsafe class ISteamUser - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ GetHSteamUser( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] - internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] - internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] - internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] - internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] - internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] - internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] - internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] - internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] - internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] - internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] - internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] - internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] - internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] - internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneIdentifying" )] - internal static extern bool /*bool*/ BIsPhoneIdentifying( IntPtr ISteamUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneRequiringVerification" )] - internal static extern bool /*bool*/ BIsPhoneRequiringVerification( IntPtr ISteamUser ); - } + // + // ISteamUser + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamUser_GetHSteamUser( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BLoggedOn( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamUser_GetSteamID( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUser_InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamUser_BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_EndAuthSession( IntPtr ISteamUser, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamUser_UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsBehindNAT( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUser_AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetPlayerSteamLevel( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneVerified( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsTwoFactorEnabled( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneIdentifying( IntPtr ISteamUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneRequiringVerification( IntPtr ISteamUser ); - internal static unsafe class ISteamFriends - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] - internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] - internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] - internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] - internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] - internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t.PackSmall /*struct FriendGameInfo_t **/ pFriendGameInfo ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] - internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] - internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] - internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] - internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] - internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] - internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] - internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] - internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] - internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] - internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] - internal static extern IntPtr GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] - internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] - internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] - internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] - internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] - internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] - internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] - internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] - internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] - internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] - internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] - internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] - internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] - internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] - internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] - internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] - internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] - internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] - internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] - internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] - internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] - internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] - internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] - internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] - internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] - internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] - internal static extern CSteamID /*(class CSteamID)*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] - internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] - internal static extern AppId_t /*(AppId_t)*/ GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] - internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] - internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] - internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] - internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] - internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] - internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] - internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] - internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] - internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] - internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] - internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ IsFollowing( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - } + // + // ISteamFriends + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPersonaName( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetPersonaState( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern FriendRelationship /*EFriendRelationship*/ SteamAPI_ISteamFriends_GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t.PackSmall /*struct FriendGameInfo_t **/ pFriendGameInfo ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamFriends_GetUserRestrictions( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ClearRichPresence( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetCoplayFriendCount( IntPtr ISteamFriends ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern AppId_t /*(AppId_t)*/ SteamAPI_ISteamFriends_GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_IsFollowing( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - internal static unsafe class ISteamUtils - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] - internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] - internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] - internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] - internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] - internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] - internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] - internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] - internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] - internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] - internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] - internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] - internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] - internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] - internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] - internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] - internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] - internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] - internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] - internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] - internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] - internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] - internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils ); - } + // + // ISteamUtils + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceAppActive( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceComputerActive( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern Universe /*EUniverse*/ SteamAPI_ISteamUtils_GetConnectedUniverse( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetServerRealTime( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetIPCountry( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern byte /*uint8*/ SteamAPI_ISteamUtils_GetCurrentBatteryPower( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetAppID( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ SteamAPI_ISteamUtils_GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetIPCCallCount( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsOverlayEnabled( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_BOverlayNeedsPresent( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUtils_CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextLength( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamRunningInVR( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils ); - internal static unsafe class ISteamMatchmaking - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] - internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] - internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] - internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] - internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestLobbyList( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] - internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] - internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] - internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] - internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] - internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] - internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] - internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] - internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] - internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] - internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] - internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] - internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] - internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] - internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] - internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] - internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] - internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] - internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] - internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] - internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] - internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] - internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] - internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] - internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] - internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] - internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - } + // + // ISteamMatchmaking + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetFavoriteGameCount( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_RequestLobbyList( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - internal static unsafe class ISteamMatchmakingServers - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] - internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] - internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] - internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] - internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] - internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] - internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] - internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] - internal static extern HServerQuery /*(HServerQuery)*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] - internal static extern HServerQuery /*(HServerQuery)*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] - internal static extern HServerQuery /*(HServerQuery)*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] - internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - } + // + // ISteamMatchmakingServers + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr /*class gameserveritem_t **/ SteamAPI_ISteamMatchmakingServers_GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmakingServers_IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmakingServers_GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - internal static unsafe class ISteamRemoteStorage - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] - internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] - internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] - internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] - internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] - internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] - internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] - internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] - internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] - internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] - internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] - internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] - internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] - internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] - internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] - internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] - internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] - internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] - internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] - internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] - internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] - internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] - internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] - internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] - internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] - internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] - internal static extern UGCHandle_t /*(UGCHandle_t)*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] - internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] - internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] - internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] - internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] - internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] - internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pExcludedTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pUserTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - } + // + // ISteamRemoteStorage + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern long /*int64*/ SteamAPI_ISteamRemoteStorage_GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ SteamAPI_ISteamRemoteStorage_GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamRemoteStorage_GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UGCHandle_t /*(UGCHandle_t)*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pExcludedTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t.PackSmall /*struct SteamParamStringArray_t **/ pUserTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - internal static unsafe class ISteamUserStats - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] - internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] - internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] - internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] - internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] - internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] - internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] - internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] - internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] - internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] - internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] - internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] - internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] - internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] - internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] - internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] - internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] - internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] - internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] - internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] - internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] - internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t.PackSmall /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] - internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] - internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] - internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] - internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] - internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - } + // + // ISteamUserStats + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_RequestCurrentStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_StoreStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUserStats_GetNumAchievements( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ SteamAPI_ISteamUserStats_GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ SteamAPI_ISteamUserStats_GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t.PackSmall /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - internal static unsafe class ISteamApps - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] - internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] - internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] - internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] - internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] - internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] - internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] - internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] - internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] - internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] - internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] - internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] - internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] - internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] - internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] - internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] - internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] - internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] - internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] - internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] - internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetAppOwner( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] - internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] - internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] - internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamApps_GetFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - } + // + // ISteamApps + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribed( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsLowViolence( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsCybercafe( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsVACBanned( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamApps_GetCurrentGameLanguage( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamApps_GetAvailableGameLanguages( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedApp( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsDlcInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetDLCCount( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamApps_InstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamApps_UninstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsAppInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamApps_GetAppOwner( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern IntPtr SteamAPI_ISteamApps_GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetAppBuildId( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamApps_GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - internal static unsafe class ISteamNetworking - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] - internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] - internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] - internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] - internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] - internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] - internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] - internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t.PackSmall /*struct P2PSessionState_t **/ pConnectionState ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] - internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] - internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] - internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] - internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] - internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] - internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] - internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] - internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] - internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] - internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] - internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] - internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] - internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - } + // + // ISteamNetworking + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t.PackSmall /*struct P2PSessionState_t **/ pConnectionState ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ SteamAPI_ISteamNetworking_CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ SteamAPI_ISteamNetworking_GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamNetworking_GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - internal static unsafe class ISteamScreenshots - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] - internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] - internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] - internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] - internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] - internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_IsScreenshotsHooked" )] - internal static extern bool /*bool*/ IsScreenshotsHooked( IntPtr ISteamScreenshots ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - } + // + // ISteamScreenshots + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_TriggerScreenshot( IntPtr ISteamScreenshots ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_IsScreenshotsHooked( IntPtr ISteamScreenshots ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - internal static unsafe class ISteamMusic - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] - internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] - internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] - internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_Play" )] - internal static extern void /*void*/ Play( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] - internal static extern void /*void*/ Pause( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] - internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] - internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] - internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] - internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic ); - } + // + // ISteamMusic + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsEnabled( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsPlaying( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ SteamAPI_ISteamMusic_GetPlaybackStatus( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Play( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Pause( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayPrevious( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayNext( IntPtr ISteamMusic ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern float /*float*/ SteamAPI_ISteamMusic_GetVolume( IntPtr ISteamMusic ); - internal static unsafe class ISteamMusicRemote - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] - internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] - internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] - internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] - internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] - internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] - internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] - internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] - internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] - internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] - internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] - internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] - internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] - internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] - internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] - internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] - internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] - internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] - internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] - internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] - internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] - internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] - internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] - internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] - internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] - internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] - internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] - internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] - internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] - internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] - internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] - internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] - internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote ); - } + // + // ISteamMusicRemote + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetQueueEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetPlaylistEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistDidChange( IntPtr ISteamMusicRemote ); - internal static unsafe class ISteamHTTP - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] - internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] - internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] - internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] - internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] - internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] - internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] - internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] - internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] - internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] - internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] - internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] - internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] - internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] - internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] - internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] - internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] - internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] - internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] - internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] - internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] - internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - } + // + // ISteamHTTP + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ SteamAPI_ISteamHTTP_CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ SteamAPI_ISteamHTTP_CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - internal static unsafe class ISteamUnifiedMessages - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] - internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] - internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] - internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] - internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] - internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - } + // + // ISteamUnifiedMessages + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SteamAPI_ISteamUnifiedMessages_SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - internal static unsafe class ISteamController - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] - internal static extern void /*void*/ RunFrame( IntPtr ISteamController ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] - internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] - internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] - internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] - internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] - internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] - internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] - internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] - internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] - internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] - internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] - internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] - internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetGamepadIndexForController" )] - internal static extern int /*int*/ GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetControllerForGamepadIndex" )] - internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_GetMotionData" )] - internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ GetMotionData( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_ShowDigitalActionOrigins" )] - internal static extern bool /*bool*/ ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamController_ShowAnalogActionOrigins" )] - internal static extern bool /*bool*/ ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - } + // + // ISteamController + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Init( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Shutdown( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamController_RunFrame( IntPtr ISteamController ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamController_ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ SteamAPI_ISteamController_GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ SteamAPI_ISteamController_GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ SteamAPI_ISteamController_GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ SteamAPI_ISteamController_GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamController_StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ SteamAPI_ISteamController_GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ SteamAPI_ISteamController_GetMotionData( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - internal static unsafe class ISteamUGC - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] - internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t.PackSmall /*struct SteamUGCDetails_t **/ pDetails ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] - internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] - internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] - internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] - internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] - internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] - internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] - internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] - internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] - internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] - internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] - internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnOnlyIDs" )] - internal static extern bool /*bool*/ SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] - internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] - internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] - internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] - internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] - internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] - internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] - internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] - internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] - internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] - internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] - internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] - internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] - internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] - internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] - internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] - internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] - internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] - internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] - internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] - internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*const struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] - internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] - internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] - internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] - internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] - internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] - internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] - internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] - internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] - internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] - internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] - internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] - internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] - internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] - internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] - internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] - internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] - internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] - internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_StartPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - } + // + // ISteamUGC + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t.PackSmall /*struct SteamUGCDetails_t **/ pDetails ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ SteamAPI_ISteamUGC_StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t.PackSmall /*const struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ SteamAPI_ISteamUGC_GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetNumSubscribedItems( IntPtr ISteamUGC ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamUGC_SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - internal static unsafe class ISteamAppList - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] - internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] - internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] - internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] - internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - } + // + // ISteamAppList + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetNumInstalledApps( IntPtr ISteamAppList ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - internal static unsafe class ISteamHTMLSurface - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] - internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] - internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] - internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] - internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] - internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] - internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] - internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] - internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] - internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] - internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] - internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] - internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] - internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] - internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] - internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] - internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] - internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] - internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] - internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] - internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] - internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] - internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] - internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] - internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] - internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] - internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] - internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] - internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] - internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] - internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] - internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] - internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - } + // + // ISteamHTMLSurface + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Init( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Shutdown( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamHTMLSurface_CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - internal static unsafe class ISteamInventory - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] - internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] - internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] - internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] - internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] - internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] - internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] - internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] - internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] - internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] - internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] - internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] - internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] - internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] - internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] - internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] - internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] - internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] - internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] - internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] - internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] - internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] - internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - } + // + // ISteamInventory + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_SendItemDropHeartbeat( IntPtr ISteamInventory ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_LoadItemDefinitions( IntPtr ISteamInventory ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - internal static unsafe class ISteamVideo - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] - internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] - internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - } + // + // ISteamVideo + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - internal static unsafe class ISteamGameServer - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] - internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] - internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] - internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] - internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] - internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] - internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] - internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] - internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] - internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] - internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] - internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] - internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] - internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] - internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] - internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] - internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] - internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] - internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] - internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] - internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] - internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] - internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] - internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] - internal static extern CSteamID /*(class CSteamID)*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] - internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] - internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] - internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] - internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetServerReputation( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] - internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] - internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] - internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] - internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] - internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] - internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - } + // + // ISteamGameServer + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOnAnonymous( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOff( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BLoggedOn( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BSecure( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_GetSteamID( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_WasRestartRequested( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ClearAllKeyValues( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamGameServer_GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamGameServer_BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamGameServer_UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_GetGameplayStats( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_GetServerReputation( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern uint /*uint32*/ SteamAPI_ISteamGameServer_GetPublicIP( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern int /*int*/ SteamAPI_ISteamGameServer_GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ForceHeartbeat( IntPtr ISteamGameServer ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - internal static unsafe class ISteamGameServerStats - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] - internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] - internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] - internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] - internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] - internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - } + // + // ISteamGameServerStats + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - internal static unsafe class SteamApi - { - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_Init" )] - internal static extern bool /*bool*/ SteamAPI_Init(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_RunCallbacks" )] - internal static extern void /*void*/ SteamAPI_RunCallbacks(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamGameServer_RunCallbacks" )] - internal static extern void /*void*/ SteamGameServer_RunCallbacks(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_RegisterCallback" )] - internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_UnregisterCallback" )] - internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamInternal_GameServer_Init" )] - internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_Shutdown" )] - internal static extern void /*void*/ SteamAPI_Shutdown(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamGameServer_Shutdown" )] - internal static extern void /*void*/ SteamGameServer_Shutdown(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamAPI_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamGameServer_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamGameServer_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe(); - [DllImportAttribute( "libsteam_api.dylib", EntryPoint = "SteamInternal_CreateInterface" )] - internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version ); - } + // + // SteamApi + // + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamAPI_Init(); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_RunCallbacks(); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks(); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamAPI_Shutdown(); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern void /*void*/ SteamGameServer_Shutdown(); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); + [DllImportAttribute( "libsteam_api.dylib" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); + [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 ); } } diff --git a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win32.cs b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win32.cs index 49fd296..9b7af25 100644 --- a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win32.cs +++ b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win32.cs @@ -29,5369 +29,4710 @@ public virtual void Dispose() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateSteamPipe(_ptr); + return Native.SteamAPI_ISteamClient_CreateSteamPipe(_ptr); } public virtual bool /*bool*/ ISteamClient_BReleaseSteamPipe( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BReleaseSteamPipe(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_BReleaseSteamPipe(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_ConnectToGlobalUser( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.ConnectToGlobalUser(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_ConnectToGlobalUser(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_CreateLocalUser( out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateLocalUser(_ptr, out phSteamPipe, eAccountType); + return Native.SteamAPI_ISteamClient_CreateLocalUser(_ptr, out phSteamPipe, eAccountType); } public virtual void /*void*/ ISteamClient_ReleaseUser( int hSteamPipe, int hUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.ReleaseUser(_ptr, hSteamPipe, hUser); + Native.SteamAPI_ISteamClient_ReleaseUser(_ptr, hSteamPipe, hUser); } public virtual IntPtr /*class ISteamUser **/ ISteamClient_GetISteamUser( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServer **/ ISteamClient_GetISteamGameServer( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual void /*void*/ ISteamClient_SetLocalIPBinding( uint /*uint32*/ unIP, ushort /*uint16*/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetLocalIPBinding(_ptr, unIP, usPort); + Native.SteamAPI_ISteamClient_SetLocalIPBinding(_ptr, unIP, usPort); } public virtual IntPtr /*class ISteamFriends **/ ISteamClient_GetISteamFriends( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUtils **/ ISteamClient_GetISteamUtils( int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUtils(_ptr, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUtils(_ptr, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmaking **/ ISteamClient_GetISteamMatchmaking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmakingServers **/ ISteamClient_GetISteamMatchmakingServers( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*void **/ ISteamClient_GetISteamGenericInterface( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUserStats **/ ISteamClient_GetISteamUserStats( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServerStats **/ ISteamClient_GetISteamGameServerStats( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamApps **/ ISteamClient_GetISteamApps( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamNetworking **/ ISteamClient_GetISteamNetworking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamRemoteStorage **/ ISteamClient_GetISteamRemoteStorage( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamScreenshots **/ ISteamClient_GetISteamScreenshots( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual uint /*uint32*/ ISteamClient_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamClient_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamClient_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamClient_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamClient_BShutdownIfAllPipesClosed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BShutdownIfAllPipesClosed(_ptr); + return Native.SteamAPI_ISteamClient_BShutdownIfAllPipesClosed(_ptr); } public virtual IntPtr /*class ISteamHTTP **/ ISteamClient_GetISteamHTTP( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUnifiedMessages **/ ISteamClient_GetISteamUnifiedMessages( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamController **/ ISteamClient_GetISteamController( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUGC **/ ISteamClient_GetISteamUGC( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamAppList **/ ISteamClient_GetISteamAppList( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusic **/ ISteamClient_GetISteamMusic( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusicRemote **/ ISteamClient_GetISteamMusicRemote( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamHTMLSurface **/ ISteamClient_GetISteamHTMLSurface( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamInventory **/ ISteamClient_GetISteamInventory( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamVideo **/ ISteamClient_GetISteamVideo( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual HSteamUser /*(HSteamUser)*/ ISteamUser_GetHSteamUser() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetHSteamUser(_ptr); + return Native.SteamAPI_ISteamUser_GetHSteamUser(_ptr); } public virtual bool /*bool*/ ISteamUser_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamUser_BLoggedOn(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamUser_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetSteamID(_ptr); + return Native.SteamAPI_ISteamUser_GetSteamID(_ptr); } public virtual int /*int*/ ISteamUser_InitiateGameConnection( IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + return Native.SteamAPI_ISteamUser_InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); } public virtual void /*void*/ ISteamUser_TerminateGameConnection( uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TerminateGameConnection(_ptr, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_TerminateGameConnection(_ptr, unIPServer, usPortServer); } public virtual void /*void*/ ISteamUser_TrackAppUsageEvent( ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); + Native.SteamAPI_ISteamUser_TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); } public virtual bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetUserDataFolder(_ptr, pchBuffer, cubBuffer); + return Native.SteamAPI_ISteamUser_GetUserDataFolder(_ptr, pchBuffer, cubBuffer); } public virtual void /*void*/ ISteamUser_StartVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StartVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StartVoiceRecording(_ptr); } public virtual void /*void*/ ISteamUser_StopVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StopVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); + return Native.SteamAPI_ISteamUser_DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); } public virtual uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoiceOptimalSampleRate(_ptr); + return Native.SteamAPI_ISteamUser_GetVoiceOptimalSampleRate(_ptr); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamUser_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamUser_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamUser_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamUser_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamUser_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamUser_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamUser_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamUser_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamUser_BIsBehindNAT() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsBehindNAT(_ptr); + return Native.SteamAPI_ISteamUser_BIsBehindNAT(_ptr); } public virtual void /*void*/ ISteamUser_AdvertiseGame( ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestEncryptedAppTicket( IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); + return Native.SteamAPI_ISteamUser_RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); } public virtual bool /*bool*/ ISteamUser_GetEncryptedAppTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual int /*int*/ ISteamUser_GetGameBadgeLevel( int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetGameBadgeLevel(_ptr, nSeries, bFoil); + return Native.SteamAPI_ISteamUser_GetGameBadgeLevel(_ptr, nSeries, bFoil); } public virtual int /*int*/ ISteamUser_GetPlayerSteamLevel() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetPlayerSteamLevel(_ptr); + return Native.SteamAPI_ISteamUser_GetPlayerSteamLevel(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestStoreAuthURL( string /*const char **/ pchRedirectURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestStoreAuthURL(_ptr, pchRedirectURL); + return Native.SteamAPI_ISteamUser_RequestStoreAuthURL(_ptr, pchRedirectURL); } public virtual bool /*bool*/ ISteamUser_BIsPhoneVerified() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneVerified(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneVerified(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsTwoFactorEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsTwoFactorEnabled(_ptr); + return Native.SteamAPI_ISteamUser_BIsTwoFactorEnabled(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneIdentifying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneIdentifying(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneIdentifying(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneRequiringVerification() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneRequiringVerification(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneRequiringVerification(_ptr); } public virtual IntPtr ISteamFriends_GetPersonaName() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaName(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaName(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_SetPersonaName( string /*const char **/ pchPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetPersonaName(_ptr, pchPersonaName); + return Native.SteamAPI_ISteamFriends_SetPersonaName(_ptr, pchPersonaName); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetPersonaState() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaState(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaState(_ptr); } public virtual int /*int*/ ISteamFriends_GetFriendCount( int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCount(_ptr, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendCount(_ptr, iFriendFlags); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendByIndex( int /*int*/ iFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendByIndex(_ptr, iFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendByIndex(_ptr, iFriend, iFriendFlags); } public virtual FriendRelationship /*EFriendRelationship*/ ISteamFriends_GetFriendRelationship( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRelationship(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRelationship(_ptr, steamIDFriend); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetFriendPersonaState( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaState(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaState(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendPersonaName( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaName(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaName(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_GetFriendGamePlayed( ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo); + return Native.SteamAPI_ISteamFriends_GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo); } public virtual IntPtr ISteamFriends_GetFriendPersonaNameHistory( ulong steamIDFriend, int /*int*/ iPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); } public virtual int /*int*/ ISteamFriends_GetFriendSteamLevel( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendSteamLevel(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendSteamLevel(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetPlayerNickname( ulong steamIDPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPlayerNickname(_ptr, steamIDPlayer); + return Native.SteamAPI_ISteamFriends_GetPlayerNickname(_ptr, steamIDPlayer); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupCount(_ptr); } public virtual FriendsGroupID_t /*(FriendsGroupID_t)*/ ISteamFriends_GetFriendsGroupIDByIndex( int /*int*/ iFG ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupIDByIndex(_ptr, iFG); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex(_ptr, iFG); } public virtual IntPtr ISteamFriends_GetFriendsGroupName( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupName(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupName(_ptr, friendsGroupID); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupMembersCount( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupMembersCount(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersCount(_ptr, friendsGroupID); } public virtual void /*void*/ ISteamFriends_GetFriendsGroupMembersList( short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); + Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); } public virtual bool /*bool*/ ISteamFriends_HasFriend( ulong steamIDFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.HasFriend(_ptr, steamIDFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_HasFriend(_ptr, steamIDFriend, iFriendFlags); } public virtual int /*int*/ ISteamFriends_GetClanCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetClanCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanByIndex( int /*int*/ iClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanByIndex(_ptr, iClan); + return Native.SteamAPI_ISteamFriends_GetClanByIndex(_ptr, iClan); } public virtual IntPtr ISteamFriends_GetClanName( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanName(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanName(_ptr, steamIDClan); } public virtual IntPtr ISteamFriends_GetClanTag( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanTag(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanTag(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_GetClanActivityCounts( ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); + return Native.SteamAPI_ISteamFriends_GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_DownloadClanActivityCounts( IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); + return Native.SteamAPI_ISteamFriends_DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); } public virtual int /*int*/ ISteamFriends_GetFriendCountFromSource( ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCountFromSource(_ptr, steamIDSource); + return Native.SteamAPI_ISteamFriends_GetFriendCountFromSource(_ptr, steamIDSource); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendFromSourceByIndex( ulong steamIDSource, int /*int*/ iFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); + return Native.SteamAPI_ISteamFriends_GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); } public virtual bool /*bool*/ ISteamFriends_IsUserInSource( ulong steamIDUser, ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsUserInSource(_ptr, steamIDUser, steamIDSource); + return Native.SteamAPI_ISteamFriends_IsUserInSource(_ptr, steamIDUser, steamIDSource); } public virtual void /*void*/ ISteamFriends_SetInGameVoiceSpeaking( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); + Native.SteamAPI_ISteamFriends_SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlay( string /*const char **/ pchDialog ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlay(_ptr, pchDialog); + Native.SteamAPI_ISteamFriends_ActivateGameOverlay(_ptr, pchDialog); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToUser( string /*const char **/ pchDialog, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToUser(_ptr, pchDialog, steamID); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToUser(_ptr, pchDialog, steamID); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToWebPage( string /*const char **/ pchURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToWebPage(_ptr, pchURL); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage(_ptr, pchURL); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToStore( uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToStore(_ptr, nAppID, eFlag); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToStore(_ptr, nAppID, eFlag); } public virtual void /*void*/ ISteamFriends_SetPlayedWith( ulong steamIDUserPlayedWith ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetPlayedWith(_ptr, steamIDUserPlayedWith); + Native.SteamAPI_ISteamFriends_SetPlayedWith(_ptr, steamIDUserPlayedWith); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayInviteDialog( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); } public virtual int /*int*/ ISteamFriends_GetSmallFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetSmallFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetSmallFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetMediumFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetMediumFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetMediumFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetLargeFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetLargeFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetLargeFriendAvatar(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_RequestUserInformation( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); + return Native.SteamAPI_ISteamFriends_RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_RequestClanOfficerList( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestClanOfficerList(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_RequestClanOfficerList(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOwner( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOwner(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOwner(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanOfficerCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOfficerCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOfficerByIndex( ulong steamIDClan, int /*int*/ iOfficer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); + return Native.SteamAPI_ISteamFriends_GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); } public virtual uint /*uint32*/ ISteamFriends_GetUserRestrictions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetUserRestrictions(_ptr); + return Native.SteamAPI_ISteamFriends_GetUserRestrictions(_ptr); } public virtual bool /*bool*/ ISteamFriends_SetRichPresence( string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetRichPresence(_ptr, pchKey, pchValue); + return Native.SteamAPI_ISteamFriends_SetRichPresence(_ptr, pchKey, pchValue); } public virtual void /*void*/ ISteamFriends_ClearRichPresence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ClearRichPresence(_ptr); + Native.SteamAPI_ISteamFriends_ClearRichPresence(_ptr); } public virtual IntPtr ISteamFriends_GetFriendRichPresence( ulong steamIDFriend, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresence(_ptr, steamIDFriend, pchKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresence(_ptr, steamIDFriend, pchKey); } public virtual int /*int*/ ISteamFriends_GetFriendRichPresenceKeyCount( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendRichPresenceKeyByIndex( ulong steamIDFriend, int /*int*/ iKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); } public virtual void /*void*/ ISteamFriends_RequestFriendRichPresence( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.RequestFriendRichPresence(_ptr, steamIDFriend); + Native.SteamAPI_ISteamFriends_RequestFriendRichPresence(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_InviteUserToGame( ulong steamIDFriend, string /*const char **/ pchConnectString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.InviteUserToGame(_ptr, steamIDFriend, pchConnectString); + return Native.SteamAPI_ISteamFriends_InviteUserToGame(_ptr, steamIDFriend, pchConnectString); } public virtual int /*int*/ ISteamFriends_GetCoplayFriendCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriendCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetCoplayFriendCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetCoplayFriend( int /*int*/ iCoplayFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriend(_ptr, iCoplayFriend); + return Native.SteamAPI_ISteamFriends_GetCoplayFriend(_ptr, iCoplayFriend); } public virtual int /*int*/ ISteamFriends_GetFriendCoplayTime( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayTime(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayTime(_ptr, steamIDFriend); } public virtual AppId_t /*(AppId_t)*/ ISteamFriends_GetFriendCoplayGame( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayGame(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayGame(_ptr, steamIDFriend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_JoinClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.JoinClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_JoinClanChatRoom(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_LeaveClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.LeaveClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_LeaveClanChatRoom(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanChatMemberCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMemberCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanChatMemberCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetChatMemberByIndex( ulong steamIDClan, int /*int*/ iUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetChatMemberByIndex(_ptr, steamIDClan, iUser); + return Native.SteamAPI_ISteamFriends_GetChatMemberByIndex(_ptr, steamIDClan, iUser); } public virtual bool /*bool*/ ISteamFriends_SendClanChatMessage( ulong steamIDClanChat, string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SendClanChatMessage(_ptr, steamIDClanChat, pchText); + return Native.SteamAPI_ISteamFriends_SendClanChatMessage(_ptr, steamIDClanChat, pchText); } public virtual int /*int*/ ISteamFriends_GetClanChatMessage( ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); + return Native.SteamAPI_ISteamFriends_GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); } public virtual bool /*bool*/ ISteamFriends_IsClanChatAdmin( ulong steamIDClanChat, ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); + return Native.SteamAPI_ISteamFriends_IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); } public virtual bool /*bool*/ ISteamFriends_IsClanChatWindowOpenInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_OpenClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.OpenClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_OpenClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_CloseClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.CloseClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_CloseClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_SetListenForFriendsMessages( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetListenForFriendsMessages(_ptr, bInterceptEnabled); + return Native.SteamAPI_ISteamFriends_SetListenForFriendsMessages(_ptr, bInterceptEnabled); } public virtual bool /*bool*/ ISteamFriends_ReplyToFriendMessage( ulong steamIDFriend, string /*const char **/ pchMsgToSend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); + return Native.SteamAPI_ISteamFriends_ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); } public virtual int /*int*/ ISteamFriends_GetFriendMessage( ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamFriends_GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_GetFollowerCount( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFollowerCount(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_GetFollowerCount(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_IsFollowing( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsFollowing(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_IsFollowing(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_EnumerateFollowingList( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.EnumerateFollowingList(_ptr, unStartIndex); + return Native.SteamAPI_ISteamFriends_EnumerateFollowingList(_ptr, unStartIndex); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceAppActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceAppActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceAppActive(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceComputerActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceComputerActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceComputerActive(_ptr); } public virtual Universe /*EUniverse*/ ISteamUtils_GetConnectedUniverse() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetConnectedUniverse(_ptr); + return Native.SteamAPI_ISteamUtils_GetConnectedUniverse(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetServerRealTime() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetServerRealTime(_ptr); + return Native.SteamAPI_ISteamUtils_GetServerRealTime(_ptr); } public virtual IntPtr ISteamUtils_GetIPCountry() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCountry(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCountry(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetImageSize( int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); + return Native.SteamAPI_ISteamUtils_GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); } public virtual bool /*bool*/ ISteamUtils_GetImageRGBA( int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); + return Native.SteamAPI_ISteamUtils_GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); } public virtual bool /*bool*/ ISteamUtils_GetCSERIPPort( out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCSERIPPort(_ptr, out unIP, out usPort); + return Native.SteamAPI_ISteamUtils_GetCSERIPPort(_ptr, out unIP, out usPort); } public virtual byte /*uint8*/ ISteamUtils_GetCurrentBatteryPower() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCurrentBatteryPower(_ptr); + return Native.SteamAPI_ISteamUtils_GetCurrentBatteryPower(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetAppID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAppID(_ptr); + return Native.SteamAPI_ISteamUtils_GetAppID(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationPosition( NotificationPosition /*ENotificationPosition*/ eNotificationPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationPosition(_ptr, eNotificationPosition); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationPosition(_ptr, eNotificationPosition); } public virtual bool /*bool*/ ISteamUtils_IsAPICallCompleted( ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); + return Native.SteamAPI_ISteamUtils_IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); } public virtual SteamAPICallFailure /*ESteamAPICallFailure*/ ISteamUtils_GetAPICallFailureReason( ulong hSteamAPICall ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallFailureReason(_ptr, hSteamAPICall); + return Native.SteamAPI_ISteamUtils_GetAPICallFailureReason(_ptr, hSteamAPICall); } public virtual bool /*bool*/ ISteamUtils_GetAPICallResult( ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); + return Native.SteamAPI_ISteamUtils_GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); } public virtual uint /*uint32*/ ISteamUtils_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamUtils_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamUtils_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamUtils_IsOverlayEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsOverlayEnabled(_ptr); + return Native.SteamAPI_ISteamUtils_IsOverlayEnabled(_ptr); } public virtual bool /*bool*/ ISteamUtils_BOverlayNeedsPresent() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.BOverlayNeedsPresent(_ptr); + return Native.SteamAPI_ISteamUtils_BOverlayNeedsPresent(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUtils_CheckFileSignature( string /*const char **/ szFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.CheckFileSignature(_ptr, szFileName); + return Native.SteamAPI_ISteamUtils_CheckFileSignature(_ptr, szFileName); } public virtual bool /*bool*/ ISteamUtils_ShowGamepadTextInput( GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + return Native.SteamAPI_ISteamUtils_ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); } public virtual uint /*uint32*/ ISteamUtils_GetEnteredGamepadTextLength() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextLength(_ptr); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextLength(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetEnteredGamepadTextInput( System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextInput(_ptr, pchText, cchText); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(_ptr, pchText, cchText); } public virtual IntPtr ISteamUtils_GetSteamUILanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSteamUILanguage(_ptr); + return Native.SteamAPI_ISteamUtils_GetSteamUILanguage(_ptr); } public virtual bool /*bool*/ ISteamUtils_IsSteamRunningInVR() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamRunningInVR(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamRunningInVR(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); } public virtual bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamInBigPictureMode(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamInBigPictureMode(_ptr); } public virtual void /*void*/ ISteamUtils_StartVRDashboard() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.StartVRDashboard(_ptr); + Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr); } public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGameCount(_ptr); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(_ptr); } public virtual bool /*bool*/ ISteamMatchmaking_GetFavoriteGame( int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); } public virtual int /*int*/ ISteamMatchmaking_AddFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); } public virtual bool /*bool*/ ISteamMatchmaking_RemoveFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); + return Native.SteamAPI_ISteamMatchmaking_RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_RequestLobbyList() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyList(_ptr); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyList(_ptr); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListStringFilter( string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNumericalFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNearValueFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( int /*int*/ nSlotsAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListDistanceFilter( LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListResultCountFilter( int /*int*/ cMaxResults ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyByIndex( int /*int*/ iLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyByIndex(_ptr, iLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyByIndex(_ptr, iLobby); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_CreateLobby( LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.CreateLobby(_ptr, eLobbyType, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_CreateLobby(_ptr, eLobbyType, cMaxMembers); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_JoinLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.JoinLobby(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_JoinLobby(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_LeaveLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.LeaveLobby(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_LeaveLobby(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_InviteUserToLobby( ulong steamIDLobby, ulong steamIDInvitee ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); + return Native.SteamAPI_ISteamMatchmaking_InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); } public virtual int /*int*/ ISteamMatchmaking_GetNumLobbyMembers( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetNumLobbyMembers(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetNumLobbyMembers(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyMemberByIndex( ulong steamIDLobby, int /*int*/ iMember ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); } public virtual IntPtr ISteamMatchmaking_GetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyData(_ptr, steamIDLobby, pchKey); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyDataCount( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataCount(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataCount(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyDataByIndex( ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); } public virtual bool /*bool*/ ISteamMatchmaking_DeleteLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.DeleteLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_DeleteLobbyData(_ptr, steamIDLobby, pchKey); } public virtual IntPtr ISteamMatchmaking_GetLobbyMemberData( ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyMemberData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); + Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual bool /*bool*/ ISteamMatchmaking_SendLobbyChatMsg( ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); + return Native.SteamAPI_ISteamMatchmaking_SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyChatEntry( ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); } public virtual bool /*bool*/ ISteamMatchmaking_RequestLobbyData( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyData(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyData(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyGameServer( ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + Native.SteamAPI_ISteamMatchmaking_SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyGameServer( ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyMemberLimit( ulong steamIDLobby, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyMemberLimit( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberLimit(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyType( ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyType(_ptr, steamIDLobby, eLobbyType); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyType(_ptr, steamIDLobby, eLobbyType); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyJoinable( ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyOwner( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyOwner(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyOwner(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyOwner( ulong steamIDLobby, ulong steamIDNewOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); } public virtual bool /*bool*/ ISteamMatchmaking_SetLinkedLobby( ulong steamIDLobby, ulong steamIDLobbyDependent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); + return Native.SteamAPI_ISteamMatchmaking_SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestInternetServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestLANServerList( uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestLANServerList(_ptr, iApp, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestLANServerList(_ptr, iApp, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFriendsServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFavoritesServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestHistoryServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestSpectatorServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_ReleaseRequest( IntPtr hServerListRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.ReleaseRequest(_ptr, hServerListRequest); + Native.SteamAPI_ISteamMatchmakingServers_ReleaseRequest(_ptr, hServerListRequest); } public virtual IntPtr /*class gameserveritem_t **/ ISteamMatchmakingServers_GetServerDetails( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerDetails(_ptr, hRequest, iServer); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerDetails(_ptr, hRequest, iServer); } public virtual void /*void*/ ISteamMatchmakingServers_CancelQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_CancelQuery(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_RefreshQuery(_ptr, hRequest); } public virtual bool /*bool*/ ISteamMatchmakingServers_IsRefreshing( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.IsRefreshing(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_IsRefreshing(_ptr, hRequest); } public virtual int /*int*/ ISteamMatchmakingServers_GetServerCount( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerCount(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerCount(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshServer( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshServer(_ptr, hRequest, iServer); + Native.SteamAPI_ISteamMatchmakingServers_RefreshServer(_ptr, hRequest, iServer); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PingServer( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PingServer(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PingServer(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PlayerDetails( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_ServerRules( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.ServerRules(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_ServerRules(_ptr, unIP, usPort, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_CancelServerQuery( int hServerQuery ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelServerQuery(_ptr, hServerQuery); + Native.SteamAPI_ISteamMatchmakingServers_CancelServerQuery(_ptr, hServerQuery); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWrite( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWrite(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWrite(_ptr, pchFile, pvData, cubData); } public virtual int /*int32*/ ISteamRemoteStorage_FileRead( string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileRead(_ptr, pchFile, pvData, cubDataToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileRead(_ptr, pchFile, pvData, cubDataToRead); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileWriteAsync( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteAsync(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteAsync(_ptr, pchFile, pvData, cubData); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileReadAsync( string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsync(_ptr, pchFile, nOffset, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsync(_ptr, pchFile, nOffset, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileReadAsyncComplete( ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileForget( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileForget(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileForget(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileDelete( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileDelete(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileDelete(_ptr, pchFile); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileShare( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileShare(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileShare(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_SetSyncPlatforms( string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); + return Native.SteamAPI_ISteamRemoteStorage_SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); } public virtual UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ ISteamRemoteStorage_FileWriteStreamOpen( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamOpen(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamWriteChunk( ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamClose( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamClose(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamClose(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamCancel( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamCancel(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileExists( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileExists(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileExists(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FilePersisted( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FilePersisted(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FilePersisted(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileSize( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileSize(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileSize(_ptr, pchFile); } public virtual long /*int64*/ ISteamRemoteStorage_GetFileTimestamp( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileTimestamp(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileTimestamp(_ptr, pchFile); } public virtual RemoteStoragePlatform /*ERemoteStoragePlatform*/ ISteamRemoteStorage_GetSyncPlatforms( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetSyncPlatforms(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetSyncPlatforms(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetFileCount(_ptr); } public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_GetQuota( IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetQuota(_ptr, pnTotalBytes, puAvailableBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetQuota(_ptr, pnTotalBytes, puAvailableBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForAccount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForAccount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount(_ptr); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForApp() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForApp(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp(_ptr); } public virtual void /*void*/ ISteamRemoteStorage_SetCloudEnabledForApp( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - Native.ISteamRemoteStorage.SetCloudEnabledForApp(_ptr, bEnabled); + Native.SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp(_ptr, bEnabled); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownload( ulong hContent, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownload(_ptr, hContent, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownload(_ptr, hContent, unPriority); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDownloadProgress( ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDetails( ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); } public virtual int /*int32*/ ISteamRemoteStorage_UGCRead( ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); + return Native.SteamAPI_ISteamRemoteStorage_UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); } public virtual int /*int32*/ ISteamRemoteStorage_GetCachedUGCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCCount(_ptr); } public virtual UGCHandle_t /*(UGCHandle_t)*/ ISteamRemoteStorage_GetCachedUGCHandle( int /*int32*/ iCachedContent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCHandle(_ptr, iCachedContent); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle(_ptr, iCachedContent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishWorkshopFile( string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags, eWorkshopFileType); + return Native.SteamAPI_ISteamRemoteStorage_PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags, eWorkshopFileType); } public virtual PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ ISteamRemoteStorage_CreatePublishedFileUpdateRequest( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileFile( ulong updateHandle, string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileFile(_ptr, updateHandle, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile(_ptr, updateHandle, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFilePreviewFile( ulong updateHandle, string /*const char **/ pchPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTitle( ulong updateHandle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileDescription( ulong updateHandle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileVisibility( ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTags( ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTags(_ptr, updateHandle, ref pTags); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags(_ptr, updateHandle, ref pTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_CommitPublishedFileUpdate( ulong updateHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CommitPublishedFileUpdate(_ptr, updateHandle); + return Native.SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate(_ptr, updateHandle); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedFileDetails( ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_DeletePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.DeletePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_DeletePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserPublishedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserPublishedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_SubscribePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSubscribedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSubscribedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UnsubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UnsubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( ulong updateHandle, string /*const char **/ pchChangeDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UpdateUserPublishedItemVote( ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); + return Native.SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetUserPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags, ref pExcludedTags); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags, ref pExcludedTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishVideo( WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags); + return Native.SteamAPI_ISteamRemoteStorage_PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SetUserPublishedFileAction( ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); + return Native.SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags, ref pUserTags); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags, ref pUserTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownloadToLocation( ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); } public virtual bool /*bool*/ ISteamUserStats_RequestCurrentStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestCurrentStats(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestCurrentStats(_ptr); } public virtual bool /*bool*/ ISteamUserStats_GetStat( string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetStat0( string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat0(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat0(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_SetStat( string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat(_ptr, pchName, nData); + return Native.SteamAPI_ISteamUserStats_SetStat(_ptr, pchName, nData); } public virtual bool /*bool*/ ISteamUserStats_SetStat0( string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat0(_ptr, pchName, fData); + return Native.SteamAPI_ISteamUserStats_SetStat0(_ptr, pchName, fData); } public virtual bool /*bool*/ ISteamUserStats_UpdateAvgRateStat( string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamUserStats_UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamUserStats_GetAchievement( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievement(_ptr, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetAchievement(_ptr, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_SetAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_SetAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_ClearAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ClearAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_ClearAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAndUnlockTime( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_StoreStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.StoreStats(_ptr); + return Native.SteamAPI_ISteamUserStats_StoreStats(_ptr); } public virtual int /*int*/ ISteamUserStats_GetAchievementIcon( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementIcon(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_GetAchievementIcon(_ptr, pchName); } public virtual IntPtr ISteamUserStats_GetAchievementDisplayAttribute( string /*const char **/ pchName, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementDisplayAttribute(_ptr, pchName, pchKey); + return Native.SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute(_ptr, pchName, pchKey); } public virtual bool /*bool*/ ISteamUserStats_IndicateAchievementProgress( string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); + return Native.SteamAPI_ISteamUserStats_IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); } public virtual uint /*uint32*/ ISteamUserStats_GetNumAchievements() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumAchievements(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumAchievements(_ptr); } public virtual IntPtr ISteamUserStats_GetAchievementName( uint /*uint32*/ iAchievement ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementName(_ptr, iAchievement); + return Native.SteamAPI_ISteamUserStats_GetAchievementName(_ptr, iAchievement); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamUserStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievementAndUnlockTime( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_ResetAllStats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ResetAllStats(_ptr, bAchievementsToo); + return Native.SteamAPI_ISteamUserStats_ResetAllStats(_ptr, bAchievementsToo); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindOrCreateLeaderboard( string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + return Native.SteamAPI_ISteamUserStats_FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindLeaderboard( string /*const char **/ pchLeaderboardName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindLeaderboard(_ptr, pchLeaderboardName); + return Native.SteamAPI_ISteamUserStats_FindLeaderboard(_ptr, pchLeaderboardName); } public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardName(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardName(_ptr, hSteamLeaderboard); } public virtual int /*int*/ ISteamUserStats_GetLeaderboardEntryCount( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); } public virtual LeaderboardSortMethod /*ELeaderboardSortMethod*/ ISteamUserStats_GetLeaderboardSortMethod( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); } public virtual LeaderboardDisplayType /*ELeaderboardDisplayType*/ ISteamUserStats_GetLeaderboardDisplayType( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntries( ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntriesForUsers( ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); } public virtual bool /*bool*/ ISteamUserStats_GetDownloadedLeaderboardEntry( ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry, pDetails, cDetailsMax); + return Native.SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry, pDetails, cDetailsMax); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_UploadLeaderboardScore( ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + return Native.SteamAPI_ISteamUserStats_UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_AttachLeaderboardUGC( ulong hSteamLeaderboard, ulong hUGC ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); + return Native.SteamAPI_ISteamUserStats_AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_GetNumberOfCurrentPlayers() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumberOfCurrentPlayers(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalAchievementPercentages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalAchievementPercentages(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages(_ptr); } public virtual int /*int*/ ISteamUserStats_GetMostAchievedAchievementInfo( System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual int /*int*/ ISteamUserStats_GetNextMostAchievedAchievementInfo( int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAchievedPercent( string /*const char **/ pchName, out float /*float **/ pflPercent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); + return Native.SteamAPI_ISteamUserStats_GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalStats( int /*int*/ nHistoryDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalStats(_ptr, nHistoryDays); + return Native.SteamAPI_ISteamUserStats_RequestGlobalStats(_ptr, nHistoryDays); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat( string /*const char **/ pchStatName, out long /*int64 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat(_ptr, pchStatName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat0( string /*const char **/ pchStatName, out double /*double **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat0(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat0(_ptr, pchStatName, out pData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory( string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory0( string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); } public virtual bool /*bool*/ ISteamApps_BIsSubscribed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribed(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribed(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsLowViolence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsLowViolence(_ptr); + return Native.SteamAPI_ISteamApps_BIsLowViolence(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsCybercafe() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsCybercafe(_ptr); + return Native.SteamAPI_ISteamApps_BIsCybercafe(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsVACBanned() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsVACBanned(_ptr); + return Native.SteamAPI_ISteamApps_BIsVACBanned(_ptr); } public virtual IntPtr ISteamApps_GetCurrentGameLanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentGameLanguage(_ptr); + return Native.SteamAPI_ISteamApps_GetCurrentGameLanguage(_ptr); } public virtual IntPtr ISteamApps_GetAvailableGameLanguages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAvailableGameLanguages(_ptr); + return Native.SteamAPI_ISteamApps_GetAvailableGameLanguages(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedApp( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedApp(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsSubscribedApp(_ptr, appID); } public virtual bool /*bool*/ ISteamApps_BIsDlcInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsDlcInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsDlcInstalled(_ptr, appID); } public virtual uint /*uint32*/ ISteamApps_GetEarliestPurchaseUnixTime( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetEarliestPurchaseUnixTime(_ptr, nAppID); + return Native.SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedFromFreeWeekend() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedFromFreeWeekend(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend(_ptr); } public virtual int /*int*/ ISteamApps_GetDLCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDLCCount(_ptr); + return Native.SteamAPI_ISteamApps_GetDLCCount(_ptr); } public virtual bool /*bool*/ ISteamApps_BGetDLCDataByIndex( int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); } public virtual void /*void*/ ISteamApps_InstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.InstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_InstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_UninstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.UninstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_UninstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_RequestAppProofOfPurchaseKey( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAppProofOfPurchaseKey(_ptr, nAppID); + Native.SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_GetCurrentBetaName( System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); } public virtual bool /*bool*/ ISteamApps_MarkContentCorrupt( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.MarkContentCorrupt(_ptr, bMissingFilesOnly); + return Native.SteamAPI_ISteamApps_MarkContentCorrupt(_ptr, bMissingFilesOnly); } public virtual uint /*uint32*/ ISteamApps_GetInstalledDepots( uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); + return Native.SteamAPI_ISteamApps_GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); } public virtual uint /*uint32*/ ISteamApps_GetAppInstallDir( uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); + return Native.SteamAPI_ISteamApps_GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); } public virtual bool /*bool*/ ISteamApps_BIsAppInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsAppInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsAppInstalled(_ptr, appID); } public virtual CSteamID /*(class CSteamID)*/ ISteamApps_GetAppOwner() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppOwner(_ptr); + return Native.SteamAPI_ISteamApps_GetAppOwner(_ptr); } public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetLaunchQueryParam(_ptr, pchKey); + return Native.SteamAPI_ISteamApps_GetLaunchQueryParam(_ptr, pchKey); } public virtual bool /*bool*/ ISteamApps_GetDlcDownloadProgress( uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamApps_GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); } public virtual int /*int*/ ISteamApps_GetAppBuildId() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppBuildId(_ptr); + return Native.SteamAPI_ISteamApps_GetAppBuildId(_ptr); } public virtual void /*void*/ ISteamApps_RequestAllProofOfPurchaseKeys() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAllProofOfPurchaseKeys(_ptr); + Native.SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamApps_GetFileDetails( string /*const char **/ pszFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetFileDetails(_ptr, pszFileName); + return Native.SteamAPI_ISteamApps_GetFileDetails(_ptr, pszFileName); } public virtual bool /*bool*/ ISteamNetworking_SendP2PPacket( ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + return Native.SteamAPI_ISteamNetworking_SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); } public virtual bool /*bool*/ ISteamNetworking_IsP2PPacketAvailable( out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); + return Native.SteamAPI_ISteamNetworking_IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); } public virtual bool /*bool*/ ISteamNetworking_ReadP2PPacket( IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_AcceptP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AcceptP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_CloseP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PChannelWithUser( ulong steamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_GetP2PSessionState( ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState); + return Native.SteamAPI_ISteamNetworking_GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState); } public virtual bool /*bool*/ ISteamNetworking_AllowP2PPacketRelay( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AllowP2PPacketRelay(_ptr, bAllow); + return Native.SteamAPI_ISteamNetworking_AllowP2PPacketRelay(_ptr, bAllow); } public virtual SNetListenSocket_t /*(SNetListenSocket_t)*/ ISteamNetworking_CreateListenSocket( int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateP2PConnectionSocket( ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateConnectionSocket( uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); + return Native.SteamAPI_ISteamNetworking_CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); } public virtual bool /*bool*/ ISteamNetworking_DestroySocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_DestroyListenSocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_SendDataOnSocket( uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); + return Native.SteamAPI_ISteamNetworking_SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailableOnSocket( uint hSocket, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_RetrieveDataFromSocket( uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailable( uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_RetrieveData( uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_GetSocketInfo( uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); + return Native.SteamAPI_ISteamNetworking_GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); } public virtual bool /*bool*/ ISteamNetworking_GetListenSocketInfo( uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); + return Native.SteamAPI_ISteamNetworking_GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); } public virtual SNetSocketConnectionType /*ESNetSocketConnectionType*/ ISteamNetworking_GetSocketConnectionType( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketConnectionType(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetSocketConnectionType(_ptr, hSocket); } public virtual int /*int*/ ISteamNetworking_GetMaxPacketSize( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetMaxPacketSize(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetMaxPacketSize(_ptr, hSocket); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_WriteScreenshot( IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddScreenshotToLibrary( string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); } public virtual void /*void*/ ISteamScreenshots_TriggerScreenshot() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.TriggerScreenshot(_ptr); + Native.SteamAPI_ISteamScreenshots_TriggerScreenshot(_ptr); } public virtual void /*void*/ ISteamScreenshots_HookScreenshots( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.HookScreenshots(_ptr, bHook); + Native.SteamAPI_ISteamScreenshots_HookScreenshots(_ptr, bHook); } public virtual bool /*bool*/ ISteamScreenshots_SetLocation( uint hScreenshot, string /*const char **/ pchLocation ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.SetLocation(_ptr, hScreenshot, pchLocation); + return Native.SteamAPI_ISteamScreenshots_SetLocation(_ptr, hScreenshot, pchLocation); } public virtual bool /*bool*/ ISteamScreenshots_TagUser( uint hScreenshot, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagUser(_ptr, hScreenshot, steamID); + return Native.SteamAPI_ISteamScreenshots_TagUser(_ptr, hScreenshot, steamID); } public virtual bool /*bool*/ ISteamScreenshots_TagPublishedFile( uint hScreenshot, ulong unPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); + return Native.SteamAPI_ISteamScreenshots_TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); } public virtual bool /*bool*/ ISteamScreenshots_IsScreenshotsHooked() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.IsScreenshotsHooked(_ptr); + return Native.SteamAPI_ISteamScreenshots_IsScreenshotsHooked(_ptr); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddVRScreenshotToLibrary( VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); + return Native.SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); } public virtual bool /*bool*/ ISteamMusic_BIsEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsEnabled(_ptr); + return Native.SteamAPI_ISteamMusic_BIsEnabled(_ptr); } public virtual bool /*bool*/ ISteamMusic_BIsPlaying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsPlaying(_ptr); + return Native.SteamAPI_ISteamMusic_BIsPlaying(_ptr); } public virtual AudioPlayback_Status /*AudioPlayback_Status*/ ISteamMusic_GetPlaybackStatus() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetPlaybackStatus(_ptr); + return Native.SteamAPI_ISteamMusic_GetPlaybackStatus(_ptr); } public virtual void /*void*/ ISteamMusic_Play() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Play(_ptr); + Native.SteamAPI_ISteamMusic_Play(_ptr); } public virtual void /*void*/ ISteamMusic_Pause() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Pause(_ptr); + Native.SteamAPI_ISteamMusic_Pause(_ptr); } public virtual void /*void*/ ISteamMusic_PlayPrevious() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayPrevious(_ptr); + Native.SteamAPI_ISteamMusic_PlayPrevious(_ptr); } public virtual void /*void*/ ISteamMusic_PlayNext() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayNext(_ptr); + Native.SteamAPI_ISteamMusic_PlayNext(_ptr); } public virtual void /*void*/ ISteamMusic_SetVolume( float /*float*/ flVolume ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.SetVolume(_ptr, flVolume); + Native.SteamAPI_ISteamMusic_SetVolume(_ptr, flVolume); } public virtual float /*float*/ ISteamMusic_GetVolume() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetVolume(_ptr); + return Native.SteamAPI_ISteamMusic_GetVolume(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_RegisterSteamMusicRemote( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.RegisterSteamMusicRemote(_ptr, pchName); + return Native.SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote(_ptr, pchName); } public virtual bool /*bool*/ ISteamMusicRemote_DeregisterSteamMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.DeregisterSteamMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BIsCurrentMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BIsCurrentMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BActivationSuccess( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BActivationSuccess(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_BActivationSuccess(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_SetDisplayName( string /*const char **/ pchDisplayName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetDisplayName(_ptr, pchDisplayName); + return Native.SteamAPI_ISteamMusicRemote_SetDisplayName(_ptr, pchDisplayName); } public virtual bool /*bool*/ ISteamMusicRemote_SetPNGIcon_64x64( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayPrevious( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayPrevious(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayPrevious(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayNext( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayNext(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayNext(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableQueue( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableQueue(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableQueue(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlaylists( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlaylists(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlaylists(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdatePlaybackStatus( AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdatePlaybackStatus(_ptr, nStatus); + return Native.SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus(_ptr, nStatus); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateVolume( float /*float*/ flValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateVolume(_ptr, flValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateVolume(_ptr, flValue); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryIsAvailable( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryIsAvailable(_ptr, bAvailable); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable(_ptr, bAvailable); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryText( string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryText(_ptr, pchText); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText(_ptr, pchText); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( int /*int*/ nValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds(_ptr, nValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds(_ptr, nValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_QueueWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetQueueEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetQueueEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetQueueEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetQueueEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetQueueEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetQueueEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentQueueEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentQueueEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_QueueDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetPlaylistEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetPlaylistEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetPlaylistEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetPlaylistEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentPlaylistEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentPlaylistEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistDidChange(_ptr); } public virtual HTTPRequestHandle /*(HTTPRequestHandle)*/ ISteamHTTP_CreateHTTPRequest( HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); + return Native.SteamAPI_ISteamHTTP_CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestContextValue( uint hRequest, ulong /*uint64*/ ulContextValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( uint hRequest, uint /*uint32*/ unTimeoutSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestGetOrPostParameter( uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequest( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequest(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequest(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequestAndStreamResponse( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_DeferHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.DeferHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_DeferHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_PrioritizeHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.PrioritizeHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_PrioritizeHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderSize( uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodySize( uint hRequest, out uint /*uint32 **/ unBodySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodyData( uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPStreamingResponseBodyData( uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_ReleaseHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_ReleaseHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPDownloadProgressPct( uint hRequest, out float /*float **/ pflPercentOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRawPostBody( uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); } public virtual HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ ISteamHTTP_CreateCookieContainer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateCookieContainer(_ptr, bAllowResponsesToModify); + return Native.SteamAPI_ISteamHTTP_CreateCookieContainer(_ptr, bAllowResponsesToModify); } public virtual bool /*bool*/ ISteamHTTP_ReleaseCookieContainer( uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseCookieContainer(_ptr, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_ReleaseCookieContainer(_ptr, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetCookie( uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); + return Native.SteamAPI_ISteamHTTP_SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestCookieContainer( uint hRequest, uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestUserAgentInfo( uint hRequest, string /*const char **/ pchUserAgentInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( uint hRequest, uint /*uint32*/ unMilliseconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); } public virtual ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); + return Native.SteamAPI_ISteamUnifiedMessages_SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); } public virtual bool /*bool*/ ISteamUnifiedMessages_ReleaseMethod( ulong hHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.ReleaseMethod(_ptr, hHandle); + return Native.SteamAPI_ISteamUnifiedMessages_ReleaseMethod(_ptr, hHandle); } public virtual bool /*bool*/ ISteamUnifiedMessages_SendNotification( string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); + return Native.SteamAPI_ISteamUnifiedMessages_SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); } public virtual bool /*bool*/ ISteamController_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Init(_ptr); + return Native.SteamAPI_ISteamController_Init(_ptr); } public virtual bool /*bool*/ ISteamController_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Shutdown(_ptr); + return Native.SteamAPI_ISteamController_Shutdown(_ptr); } public virtual void /*void*/ ISteamController_RunFrame() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.RunFrame(_ptr); + Native.SteamAPI_ISteamController_RunFrame(_ptr); } public virtual int /*int*/ ISteamController_GetConnectedControllers( IntPtr /*ControllerHandle_t **/ handlesOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetConnectedControllers(_ptr, handlesOut); + return Native.SteamAPI_ISteamController_GetConnectedControllers(_ptr, handlesOut); } public virtual bool /*bool*/ ISteamController_ShowBindingPanel( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowBindingPanel(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_ShowBindingPanel(_ptr, controllerHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetActionSetHandle( string /*const char **/ pszActionSetName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetActionSetHandle(_ptr, pszActionSetName); + return Native.SteamAPI_ISteamController_GetActionSetHandle(_ptr, pszActionSetName); } public virtual void /*void*/ ISteamController_ActivateActionSet( ulong controllerHandle, ulong actionSetHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.ActivateActionSet(_ptr, controllerHandle, actionSetHandle); + Native.SteamAPI_ISteamController_ActivateActionSet(_ptr, controllerHandle, actionSetHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetCurrentActionSet( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetCurrentActionSet(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetCurrentActionSet(_ptr, controllerHandle); } public virtual ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ ISteamController_GetDigitalActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetDigitalActionHandle(_ptr, pszActionName); } public virtual ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ ISteamController_GetDigitalActionData( ulong controllerHandle, ulong digitalActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); + return Native.SteamAPI_ISteamController_GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); } public virtual int /*int*/ ISteamController_GetDigitalActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); } public virtual ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ ISteamController_GetAnalogActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetAnalogActionHandle(_ptr, pszActionName); } public virtual ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ ISteamController_GetAnalogActionData( ulong controllerHandle, ulong analogActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); + return Native.SteamAPI_ISteamController_GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); } public virtual int /*int*/ ISteamController_GetAnalogActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); } public virtual void /*void*/ ISteamController_StopAnalogActionMomentum( ulong controllerHandle, ulong eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.StopAnalogActionMomentum(_ptr, controllerHandle, eAction); + Native.SteamAPI_ISteamController_StopAnalogActionMomentum(_ptr, controllerHandle, eAction); } public virtual void /*void*/ ISteamController_TriggerHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); + Native.SteamAPI_ISteamController_TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); } public virtual void /*void*/ ISteamController_TriggerRepeatedHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + Native.SteamAPI_ISteamController_TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); } public virtual int /*int*/ ISteamController_GetGamepadIndexForController( ulong ulControllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetGamepadIndexForController(_ptr, ulControllerHandle); + return Native.SteamAPI_ISteamController_GetGamepadIndexForController(_ptr, ulControllerHandle); } public virtual ControllerHandle_t /*(ControllerHandle_t)*/ ISteamController_GetControllerForGamepadIndex( int /*int*/ nIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetControllerForGamepadIndex(_ptr, nIndex); + return Native.SteamAPI_ISteamController_GetControllerForGamepadIndex(_ptr, nIndex); } public virtual ControllerMotionData_t /*struct ControllerMotionData_t*/ ISteamController_GetMotionData( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetMotionData(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetMotionData(_ptr, controllerHandle); } public virtual bool /*bool*/ ISteamController_ShowDigitalActionOrigins( ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); } public virtual bool /*bool*/ ISteamController_ShowAnalogActionOrigins( ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUserUGCRequest( uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryAllUGCRequest( UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SendQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SendQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_SendQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCResult( ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCResult(_ptr, handle, index, ref pDetails); + return Native.SteamAPI_ISteamUGC_GetQueryUGCResult(_ptr, handle, index, ref pDetails); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCPreviewURL( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCMetadata( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCChildren( ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCStatistic( ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); + return Native.SteamAPI_ISteamUGC_GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumAdditionalPreviews( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCAdditionalPreview( ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); + return Native.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumKeyValueTags( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumKeyValueTags(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCKeyValueTag( ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); } public virtual bool /*bool*/ ISteamUGC_ReleaseQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.ReleaseQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_AddRequiredTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddRequiredTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_AddExcludedTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddExcludedTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddExcludedTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_SetReturnOnlyIDs( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); + return Native.SteamAPI_ISteamUGC_SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); } public virtual bool /*bool*/ ISteamUGC_SetReturnKeyValueTags( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); + return Native.SteamAPI_ISteamUGC_SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); } public virtual bool /*bool*/ ISteamUGC_SetReturnLongDescription( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnLongDescription(_ptr, handle, bReturnLongDescription); + return Native.SteamAPI_ISteamUGC_SetReturnLongDescription(_ptr, handle, bReturnLongDescription); } public virtual bool /*bool*/ ISteamUGC_SetReturnMetadata( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnMetadata(_ptr, handle, bReturnMetadata); + return Native.SteamAPI_ISteamUGC_SetReturnMetadata(_ptr, handle, bReturnMetadata); } public virtual bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnChildren(_ptr, handle, bReturnChildren); + return Native.SteamAPI_ISteamUGC_SetReturnChildren(_ptr, handle, bReturnChildren); } public virtual bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); + return Native.SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); } public virtual bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); + return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); } public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); } public virtual bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); + return Native.SteamAPI_ISteamUGC_SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); } public virtual bool /*bool*/ ISteamUGC_SetMatchAnyTag( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetMatchAnyTag(_ptr, handle, bMatchAnyTag); + return Native.SteamAPI_ISteamUGC_SetMatchAnyTag(_ptr, handle, bMatchAnyTag); } public virtual bool /*bool*/ ISteamUGC_SetSearchText( ulong handle, string /*const char **/ pSearchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetSearchText(_ptr, handle, pSearchText); + return Native.SteamAPI_ISteamUGC_SetSearchText(_ptr, handle, pSearchText); } public virtual bool /*bool*/ ISteamUGC_SetRankedByTrendDays( ulong handle, uint /*uint32*/ unDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetRankedByTrendDays(_ptr, handle, unDays); + return Native.SteamAPI_ISteamUGC_SetRankedByTrendDays(_ptr, handle, unDays); } public virtual bool /*bool*/ ISteamUGC_AddRequiredKeyValueTag( ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); + return Native.SteamAPI_ISteamUGC_AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RequestUGCDetails( ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_CreateItem( uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateItem(_ptr, nConsumerAppId, eFileType); + return Native.SteamAPI_ISteamUGC_CreateItem(_ptr, nConsumerAppId, eFileType); } public virtual UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ ISteamUGC_StartItemUpdate( uint nConsumerAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_SetItemTitle( ulong handle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTitle(_ptr, handle, pchTitle); + return Native.SteamAPI_ISteamUGC_SetItemTitle(_ptr, handle, pchTitle); } public virtual bool /*bool*/ ISteamUGC_SetItemDescription( ulong handle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemDescription(_ptr, handle, pchDescription); + return Native.SteamAPI_ISteamUGC_SetItemDescription(_ptr, handle, pchDescription); } public virtual bool /*bool*/ ISteamUGC_SetItemUpdateLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemUpdateLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetItemUpdateLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetItemMetadata( ulong handle, string /*const char **/ pchMetaData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemMetadata(_ptr, handle, pchMetaData); + return Native.SteamAPI_ISteamUGC_SetItemMetadata(_ptr, handle, pchMetaData); } public virtual bool /*bool*/ ISteamUGC_SetItemVisibility( ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemVisibility(_ptr, handle, eVisibility); + return Native.SteamAPI_ISteamUGC_SetItemVisibility(_ptr, handle, eVisibility); } public virtual bool /*bool*/ ISteamUGC_SetItemTags( ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTags(_ptr, updateHandle, ref pTags); + return Native.SteamAPI_ISteamUGC_SetItemTags(_ptr, updateHandle, ref pTags); } public virtual bool /*bool*/ ISteamUGC_SetItemContent( ulong handle, string /*const char **/ pszContentFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemContent(_ptr, handle, pszContentFolder); + return Native.SteamAPI_ISteamUGC_SetItemContent(_ptr, handle, pszContentFolder); } public virtual bool /*bool*/ ISteamUGC_SetItemPreview( ulong handle, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemPreview(_ptr, handle, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_SetItemPreview(_ptr, handle, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_RemoveItemKeyValueTags( ulong handle, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemKeyValueTags(_ptr, handle, pchKey); + return Native.SteamAPI_ISteamUGC_RemoveItemKeyValueTags(_ptr, handle, pchKey); } public virtual bool /*bool*/ ISteamUGC_AddItemKeyValueTag( ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); + return Native.SteamAPI_ISteamUGC_AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewFile( ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); + return Native.SteamAPI_ISteamUGC_AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewVideo( ulong handle, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewVideo(_ptr, handle, pszVideoID); + return Native.SteamAPI_ISteamUGC_AddItemPreviewVideo(_ptr, handle, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewFile( ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewVideo( ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_RemoveItemPreview( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemPreview(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_RemoveItemPreview(_ptr, handle, index); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubmitItemUpdate( ulong handle, string /*const char **/ pchChangeNote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubmitItemUpdate(_ptr, handle, pchChangeNote); + return Native.SteamAPI_ISteamUGC_SubmitItemUpdate(_ptr, handle, pchChangeNote); } public virtual ItemUpdateStatus /*EItemUpdateStatus*/ ISteamUGC_GetItemUpdateProgress( ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SetUserItemVote( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); + return Native.SteamAPI_ISteamUGC_SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_GetUserItemVote( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetUserItemVote(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetUserItemVote(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddItemToFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemToFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_AddItemToFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveItemFromFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_SubscribeItem(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_UnsubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UnsubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_UnsubscribeItem(_ptr, nPublishedFileID); } public virtual uint /*uint32*/ ISteamUGC_GetNumSubscribedItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetNumSubscribedItems(_ptr); + return Native.SteamAPI_ISteamUGC_GetNumSubscribedItems(_ptr); } public virtual uint /*uint32*/ ISteamUGC_GetSubscribedItems( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); } public virtual uint /*uint32*/ ISteamUGC_GetItemState( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemState(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetItemState(_ptr, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_GetItemInstallInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); + return Native.SteamAPI_ISteamUGC_GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); } public virtual bool /*bool*/ ISteamUGC_GetItemDownloadInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); } public virtual bool /*bool*/ ISteamUGC_DownloadItem( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.DownloadItem(_ptr, nPublishedFileID, bHighPriority); + return Native.SteamAPI_ISteamUGC_DownloadItem(_ptr, nPublishedFileID, bHighPriority); } public virtual bool /*bool*/ ISteamUGC_BInitWorkshopForGameServer( uint unWorkshopDepotID, string /*const char **/ pszFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); + return Native.SteamAPI_ISteamUGC_BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); } public virtual void /*void*/ ISteamUGC_SuspendDownloads( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - Native.ISteamUGC.SuspendDownloads(_ptr, bSuspend); + Native.SteamAPI_ISteamUGC_SuspendDownloads(_ptr, bSuspend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTrackingForAllItems(_ptr); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetNumInstalledApps(_ptr); + return Native.SteamAPI_ISteamAppList_GetNumInstalledApps(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetInstalledApps( IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); + return Native.SteamAPI_ISteamAppList_GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); } public virtual int /*int*/ ISteamAppList_GetAppName( uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppName(_ptr, nAppID, pchName, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppName(_ptr, nAppID, pchName, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppInstallDir( uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppBuildId( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppBuildId(_ptr, nAppID); + return Native.SteamAPI_ISteamAppList_GetAppBuildId(_ptr, nAppID); } public virtual void /*void*/ ISteamHTMLSurface_DestructISteamHTMLSurface() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.DestructISteamHTMLSurface(_ptr); + Native.SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Init(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Init(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Shutdown(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Shutdown(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamHTMLSurface_CreateBrowser( string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.CreateBrowser(_ptr, pchUserAgent, pchUserCSS); + return Native.SteamAPI_ISteamHTMLSurface_CreateBrowser(_ptr, pchUserAgent, pchUserCSS); } public virtual void /*void*/ ISteamHTMLSurface_RemoveBrowser( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.RemoveBrowser(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_RemoveBrowser(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_LoadURL( uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); + Native.SteamAPI_ISteamHTMLSurface_LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); } public virtual void /*void*/ ISteamHTMLSurface_SetSize( uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetSize(_ptr, unBrowserHandle, unWidth, unHeight); + Native.SteamAPI_ISteamHTMLSurface_SetSize(_ptr, unBrowserHandle, unWidth, unHeight); } public virtual void /*void*/ ISteamHTMLSurface_StopLoad( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopLoad(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopLoad(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Reload( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Reload(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_Reload(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoBack( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoBack(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoBack(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoForward( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoForward(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoForward(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_AddHeader( uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); + Native.SteamAPI_ISteamHTMLSurface_AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); } public virtual void /*void*/ ISteamHTMLSurface_ExecuteJavascript( uint unBrowserHandle, string /*const char **/ pchScript ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ExecuteJavascript(_ptr, unBrowserHandle, pchScript); + Native.SteamAPI_ISteamHTMLSurface_ExecuteJavascript(_ptr, unBrowserHandle, pchScript); } public virtual void /*void*/ ISteamHTMLSurface_MouseUp( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseUp(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseUp(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDown( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDown(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDown(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDoubleClick( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseMove( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseMove(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_MouseMove(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_MouseWheel( uint unBrowserHandle, int /*int32*/ nDelta ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseWheel(_ptr, unBrowserHandle, nDelta); + Native.SteamAPI_ISteamHTMLSurface_MouseWheel(_ptr, unBrowserHandle, nDelta); } public virtual void /*void*/ ISteamHTMLSurface_KeyDown( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyUp( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyChar( uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_SetHorizontalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetVerticalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetKeyFocus( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); + Native.SteamAPI_ISteamHTMLSurface_SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); } public virtual void /*void*/ ISteamHTMLSurface_ViewSource( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ViewSource(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_ViewSource(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_CopyToClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.CopyToClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_CopyToClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_PasteFromClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.PasteFromClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_PasteFromClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Find( uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + Native.SteamAPI_ISteamHTMLSurface_Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); } public virtual void /*void*/ ISteamHTMLSurface_StopFind( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopFind(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopFind(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GetLinkAtPosition( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GetLinkAtPosition(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_GetLinkAtPosition(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_SetCookie( string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + Native.SteamAPI_ISteamHTMLSurface_SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); } public virtual void /*void*/ ISteamHTMLSurface_SetPageScaleFactor( uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); + Native.SteamAPI_ISteamHTMLSurface_SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); } public virtual void /*void*/ ISteamHTMLSurface_SetBackgroundMode( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); + Native.SteamAPI_ISteamHTMLSurface_SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); } public virtual void /*void*/ ISteamHTMLSurface_AllowStartRequest( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AllowStartRequest(_ptr, unBrowserHandle, bAllowed); + Native.SteamAPI_ISteamHTMLSurface_AllowStartRequest(_ptr, unBrowserHandle, bAllowed); } public virtual void /*void*/ ISteamHTMLSurface_JSDialogResponse( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.JSDialogResponse(_ptr, unBrowserHandle, bResult); + Native.SteamAPI_ISteamHTMLSurface_JSDialogResponse(_ptr, unBrowserHandle, bResult); } public virtual Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultStatus(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultStatus(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); + return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); } public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultTimestamp(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultTimestamp(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.CheckResultSteamID(_ptr, resultHandle, steamIDExpected); + return Native.SteamAPI_ISteamInventory_CheckResultSteamID(_ptr, resultHandle, steamIDExpected); } public virtual void /*void*/ ISteamInventory_DestroyResult( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.DestroyResult(_ptr, resultHandle); + Native.SteamAPI_ISteamInventory_DestroyResult(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetAllItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetAllItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GetAllItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_GetItemsByID( ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); + return Native.SteamAPI_ISteamInventory_GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); } public virtual bool /*bool*/ ISteamInventory_SerializeResult( int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); + return Native.SteamAPI_ISteamInventory_SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); } public virtual bool /*bool*/ ISteamInventory_DeserializeResult( ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + return Native.SteamAPI_ISteamInventory_DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); } public virtual bool /*bool*/ ISteamInventory_GenerateItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); + return Native.SteamAPI_ISteamInventory_GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_GrantPromoItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GrantPromoItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GrantPromoItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_AddPromoItem( ref int pResultHandle, int itemDef ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItem(_ptr, ref pResultHandle, itemDef); + return Native.SteamAPI_ISteamInventory_AddPromoItem(_ptr, ref pResultHandle, itemDef); } public virtual bool /*bool*/ ISteamInventory_AddPromoItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); + return Native.SteamAPI_ISteamInventory_AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_ConsumeItem( ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); + return Native.SteamAPI_ISteamInventory_ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); } public virtual bool /*bool*/ ISteamInventory_ExchangeItems( ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + return Native.SteamAPI_ISteamInventory_ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); } public virtual bool /*bool*/ ISteamInventory_TransferItemQuantity( ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); + return Native.SteamAPI_ISteamInventory_TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); } public virtual void /*void*/ ISteamInventory_SendItemDropHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.SendItemDropHeartbeat(_ptr); + Native.SteamAPI_ISteamInventory_SendItemDropHeartbeat(_ptr); } public virtual bool /*bool*/ ISteamInventory_TriggerItemDrop( ref int pResultHandle, int dropListDefinition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); + return Native.SteamAPI_ISteamInventory_TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); } public virtual bool /*bool*/ ISteamInventory_TradeItems( ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); + return Native.SteamAPI_ISteamInventory_TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); } public virtual bool /*bool*/ ISteamInventory_LoadItemDefinitions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.LoadItemDefinitions(_ptr); + return Native.SteamAPI_ISteamInventory_LoadItemDefinitions(_ptr); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionIDs( IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionProperty( int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); } public virtual void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - Native.ISteamVideo.GetVideoURL(_ptr, unVideoAppID); + Native.SteamAPI_ISteamVideo_GetVideoURL(_ptr, unVideoAppID); } public virtual bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - return Native.ISteamVideo.IsBroadcasting(_ptr, pnNumViewers); + return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers); } public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + return Native.SteamAPI_ISteamGameServer_InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); } public virtual void /*void*/ ISteamGameServer_SetProduct( string /*const char **/ pszProduct ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetProduct(_ptr, pszProduct); + Native.SteamAPI_ISteamGameServer_SetProduct(_ptr, pszProduct); } public virtual void /*void*/ ISteamGameServer_SetGameDescription( string /*const char **/ pszGameDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameDescription(_ptr, pszGameDescription); + Native.SteamAPI_ISteamGameServer_SetGameDescription(_ptr, pszGameDescription); } public virtual void /*void*/ ISteamGameServer_SetModDir( string /*const char **/ pszModDir ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetModDir(_ptr, pszModDir); + Native.SteamAPI_ISteamGameServer_SetModDir(_ptr, pszModDir); } public virtual void /*void*/ ISteamGameServer_SetDedicatedServer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetDedicatedServer(_ptr, bDedicated); + Native.SteamAPI_ISteamGameServer_SetDedicatedServer(_ptr, bDedicated); } public virtual void /*void*/ ISteamGameServer_LogOn( string /*const char **/ pszToken ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOn(_ptr, pszToken); + Native.SteamAPI_ISteamGameServer_LogOn(_ptr, pszToken); } public virtual void /*void*/ ISteamGameServer_LogOnAnonymous() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOnAnonymous(_ptr); + Native.SteamAPI_ISteamGameServer_LogOnAnonymous(_ptr); } public virtual void /*void*/ ISteamGameServer_LogOff() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOff(_ptr); + Native.SteamAPI_ISteamGameServer_LogOff(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamGameServer_BLoggedOn(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BSecure() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BSecure(_ptr); + return Native.SteamAPI_ISteamGameServer_BSecure(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetSteamID(_ptr); + return Native.SteamAPI_ISteamGameServer_GetSteamID(_ptr); } public virtual bool /*bool*/ ISteamGameServer_WasRestartRequested() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.WasRestartRequested(_ptr); + return Native.SteamAPI_ISteamGameServer_WasRestartRequested(_ptr); } public virtual void /*void*/ ISteamGameServer_SetMaxPlayerCount( int /*int*/ cPlayersMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMaxPlayerCount(_ptr, cPlayersMax); + Native.SteamAPI_ISteamGameServer_SetMaxPlayerCount(_ptr, cPlayersMax); } public virtual void /*void*/ ISteamGameServer_SetBotPlayerCount( int /*int*/ cBotplayers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetBotPlayerCount(_ptr, cBotplayers); + Native.SteamAPI_ISteamGameServer_SetBotPlayerCount(_ptr, cBotplayers); } public virtual void /*void*/ ISteamGameServer_SetServerName( string /*const char **/ pszServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetServerName(_ptr, pszServerName); + Native.SteamAPI_ISteamGameServer_SetServerName(_ptr, pszServerName); } public virtual void /*void*/ ISteamGameServer_SetMapName( string /*const char **/ pszMapName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMapName(_ptr, pszMapName); + Native.SteamAPI_ISteamGameServer_SetMapName(_ptr, pszMapName); } public virtual void /*void*/ ISteamGameServer_SetPasswordProtected( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetPasswordProtected(_ptr, bPasswordProtected); + Native.SteamAPI_ISteamGameServer_SetPasswordProtected(_ptr, bPasswordProtected); } public virtual void /*void*/ ISteamGameServer_SetSpectatorPort( ushort /*uint16*/ unSpectatorPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorPort(_ptr, unSpectatorPort); + Native.SteamAPI_ISteamGameServer_SetSpectatorPort(_ptr, unSpectatorPort); } public virtual void /*void*/ ISteamGameServer_SetSpectatorServerName( string /*const char **/ pszSpectatorServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorServerName(_ptr, pszSpectatorServerName); + Native.SteamAPI_ISteamGameServer_SetSpectatorServerName(_ptr, pszSpectatorServerName); } public virtual void /*void*/ ISteamGameServer_ClearAllKeyValues() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ClearAllKeyValues(_ptr); + Native.SteamAPI_ISteamGameServer_ClearAllKeyValues(_ptr); } public virtual void /*void*/ ISteamGameServer_SetKeyValue( string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetKeyValue(_ptr, pKey, pValue); + Native.SteamAPI_ISteamGameServer_SetKeyValue(_ptr, pKey, pValue); } public virtual void /*void*/ ISteamGameServer_SetGameTags( string /*const char **/ pchGameTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameTags(_ptr, pchGameTags); + Native.SteamAPI_ISteamGameServer_SetGameTags(_ptr, pchGameTags); } public virtual void /*void*/ ISteamGameServer_SetGameData( string /*const char **/ pchGameData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameData(_ptr, pchGameData); + Native.SteamAPI_ISteamGameServer_SetGameData(_ptr, pchGameData); } public virtual void /*void*/ ISteamGameServer_SetRegion( string /*const char **/ pszRegion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetRegion(_ptr, pszRegion); + Native.SteamAPI_ISteamGameServer_SetRegion(_ptr, pszRegion); } public virtual bool /*bool*/ ISteamGameServer_SendUserConnectAndAuthenticate( uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); + return Native.SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_CreateUnauthenticatedUserConnection() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.CreateUnauthenticatedUserConnection(_ptr); + return Native.SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection(_ptr); } public virtual void /*void*/ ISteamGameServer_SendUserDisconnect( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SendUserDisconnect(_ptr, steamIDUser); + Native.SteamAPI_ISteamGameServer_SendUserDisconnect(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServer_BUpdateUserData( ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); + return Native.SteamAPI_ISteamGameServer_BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamGameServer_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamGameServer_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamGameServer_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamGameServer_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamGameServer_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamGameServer_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamGameServer_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamGameServer_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamGameServer_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamGameServer_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamGameServer_RequestUserGroupStatus( ulong steamIDUser, ulong steamIDGroup ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); + return Native.SteamAPI_ISteamGameServer_RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); } public virtual void /*void*/ ISteamGameServer_GetGameplayStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.GetGameplayStats(_ptr); + Native.SteamAPI_ISteamGameServer_GetGameplayStats(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_GetServerReputation() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetServerReputation(_ptr); + return Native.SteamAPI_ISteamGameServer_GetServerReputation(_ptr); } public virtual uint /*uint32*/ ISteamGameServer_GetPublicIP() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetPublicIP(_ptr); + return Native.SteamAPI_ISteamGameServer_GetPublicIP(_ptr); } public virtual bool /*bool*/ ISteamGameServer_HandleIncomingPacket( IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); + return Native.SteamAPI_ISteamGameServer_HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); } public virtual int /*int*/ ISteamGameServer_GetNextOutgoingPacket( IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); + return Native.SteamAPI_ISteamGameServer_GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); } public virtual void /*void*/ ISteamGameServer_EnableHeartbeats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EnableHeartbeats(_ptr, bActive); + Native.SteamAPI_ISteamGameServer_EnableHeartbeats(_ptr, bActive); } public virtual void /*void*/ ISteamGameServer_SetHeartbeatInterval( int /*int*/ iHeartbeatInterval ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetHeartbeatInterval(_ptr, iHeartbeatInterval); + Native.SteamAPI_ISteamGameServer_SetHeartbeatInterval(_ptr, iHeartbeatInterval); } public virtual void /*void*/ ISteamGameServer_ForceHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ForceHeartbeat(_ptr); + Native.SteamAPI_ISteamGameServer_ForceHeartbeat(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_AssociateWithClan( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.AssociateWithClan(_ptr, steamIDClan); + return Native.SteamAPI_ISteamGameServer_AssociateWithClan(_ptr, steamIDClan); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_ComputeNewPlayerCompatibility( ulong steamIDNewPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); + return Native.SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamGameServerStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat( ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat(_ptr, steamIDUser, pchName, nData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat(_ptr, steamIDUser, pchName, nData); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat0( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat0(_ptr, steamIDUser, pchName, fData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat0(_ptr, steamIDUser, pchName, fData); } public virtual bool /*bool*/ ISteamGameServerStats_UpdateUserAvgRateStat( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_SetUserAchievement(_ptr, steamIDUser, pchName); } public virtual bool /*bool*/ ISteamGameServerStats_ClearUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.ClearUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_ClearUserAchievement(_ptr, steamIDUser, pchName); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_StoreUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.StoreUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_StoreUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ SteamApi_SteamAPI_Init() { - return Native.SteamApi.SteamAPI_Init(); + return Native.SteamAPI_Init(); } public virtual void /*void*/ SteamApi_SteamAPI_RunCallbacks() { - Native.SteamApi.SteamAPI_RunCallbacks(); + Native.SteamAPI_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamGameServer_RunCallbacks() { - Native.SteamApi.SteamGameServer_RunCallbacks(); + Native.SteamGameServer_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ) { - Native.SteamApi.SteamAPI_RegisterCallback(pCallback, callback); + Native.SteamAPI_RegisterCallback(pCallback, callback); } public virtual void /*void*/ SteamApi_SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ) { - Native.SteamApi.SteamAPI_UnregisterCallback(pCallback); + Native.SteamAPI_UnregisterCallback(pCallback); } public virtual bool /*bool*/ SteamApi_SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ) { - return Native.SteamApi.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); + return Native.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); } public virtual void /*void*/ SteamApi_SteamAPI_Shutdown() { - Native.SteamApi.SteamAPI_Shutdown(); + Native.SteamAPI_Shutdown(); } public virtual void /*void*/ SteamApi_SteamGameServer_Shutdown() { - Native.SteamApi.SteamGameServer_Shutdown(); + Native.SteamGameServer_Shutdown(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamAPI_GetHSteamUser() { - return Native.SteamApi.SteamAPI_GetHSteamUser(); + return Native.SteamAPI_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamAPI_GetHSteamPipe() { - return Native.SteamApi.SteamAPI_GetHSteamPipe(); + return Native.SteamAPI_GetHSteamPipe(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamGameServer_GetHSteamUser() { - return Native.SteamApi.SteamGameServer_GetHSteamUser(); + return Native.SteamGameServer_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamGameServer_GetHSteamPipe() { - return Native.SteamApi.SteamGameServer_GetHSteamPipe(); + return Native.SteamGameServer_GetHSteamPipe(); } public virtual IntPtr /*void **/ SteamApi_SteamInternal_CreateInterface( string /*const char **/ version ) { - return Native.SteamApi.SteamInternal_CreateInterface(version); + return Native.SteamInternal_CreateInterface(version); } internal static unsafe class Native { - internal static unsafe class ISteamClient - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ CreateSteamPipe( IntPtr ISteamClient ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] - internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] - internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] - internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] - internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] - internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] - internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] - internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] - internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] - internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] - internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] - internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] - internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] - internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] - internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] - internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] - internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] - internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] - internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] - internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] - internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] - internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] - internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] - internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] - internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] - internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] - internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] - internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - } + // + // ISteamClient + // + [DllImportAttribute( "steam_api.dll" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_ISteamClient_CreateSteamPipe( IntPtr ISteamClient ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamClient_ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamUser **/ SteamAPI_ISteamClient_GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamGameServer **/ SteamAPI_ISteamClient_GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamFriends **/ SteamAPI_ISteamClient_GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamUtils **/ SteamAPI_ISteamClient_GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamMatchmaking **/ SteamAPI_ISteamClient_GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ SteamAPI_ISteamClient_GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*void **/ SteamAPI_ISteamClient_GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamUserStats **/ SteamAPI_ISteamClient_GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamGameServerStats **/ SteamAPI_ISteamClient_GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamApps **/ SteamAPI_ISteamClient_GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamNetworking **/ SteamAPI_ISteamClient_GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ SteamAPI_ISteamClient_GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamScreenshots **/ SteamAPI_ISteamClient_GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamClient_GetIPCCallCount( IntPtr ISteamClient ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BShutdownIfAllPipesClosed( IntPtr ISteamClient ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamHTTP **/ SteamAPI_ISteamClient_GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ SteamAPI_ISteamClient_GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamController **/ SteamAPI_ISteamClient_GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamUGC **/ SteamAPI_ISteamClient_GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamAppList **/ SteamAPI_ISteamClient_GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamMusic **/ SteamAPI_ISteamClient_GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamMusicRemote **/ SteamAPI_ISteamClient_GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ SteamAPI_ISteamClient_GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamInventory **/ SteamAPI_ISteamClient_GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class ISteamVideo **/ SteamAPI_ISteamClient_GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - internal static unsafe class ISteamUser - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ GetHSteamUser( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] - internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] - internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] - internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] - internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] - internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] - internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] - internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] - internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] - internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] - internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] - internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] - internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] - internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] - internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneIdentifying" )] - internal static extern bool /*bool*/ BIsPhoneIdentifying( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneRequiringVerification" )] - internal static extern bool /*bool*/ BIsPhoneRequiringVerification( IntPtr ISteamUser ); - } + // + // ISteamUser + // + [DllImportAttribute( "steam_api.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamUser_GetHSteamUser( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BLoggedOn( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamUser_GetSteamID( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUser_InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "steam_api.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamUser_BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_EndAuthSession( IntPtr ISteamUser, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamUser_UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsBehindNAT( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetPlayerSteamLevel( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneVerified( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsTwoFactorEnabled( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneIdentifying( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneRequiringVerification( IntPtr ISteamUser ); - internal static unsafe class ISteamFriends - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] - internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] - internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] - internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] - internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] - internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] - internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] - internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] - internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] - internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] - internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] - internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] - internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] - internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] - internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] - internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] - internal static extern IntPtr GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] - internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] - internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] - internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] - internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] - internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] - internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] - internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] - internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] - internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] - internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] - internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] - internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] - internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] - internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] - internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] - internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] - internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] - internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] - internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] - internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] - internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] - internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] - internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] - internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] - internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] - internal static extern CSteamID /*(class CSteamID)*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] - internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] - internal static extern AppId_t /*(AppId_t)*/ GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] - internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] - internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] - internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] - internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] - internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] - internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] - internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] - internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] - internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] - internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] - internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ IsFollowing( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - } + // + // ISteamFriends + // + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPersonaName( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetPersonaState( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern FriendRelationship /*EFriendRelationship*/ SteamAPI_ISteamFriends_GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupCount( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanCount( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamFriends_GetUserRestrictions( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ClearRichPresence( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetCoplayFriendCount( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern AppId_t /*(AppId_t)*/ SteamAPI_ISteamFriends_GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_IsFollowing( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - internal static unsafe class ISteamUtils - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] - internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] - internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] - internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] - internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] - internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] - internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] - internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] - internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] - internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] - internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] - internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] - internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] - internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] - internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] - internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] - internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] - internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] - internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] - internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] - internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] - internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] - internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils ); - } + // + // ISteamUtils + // + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceAppActive( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceComputerActive( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern Universe /*EUniverse*/ SteamAPI_ISteamUtils_GetConnectedUniverse( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetServerRealTime( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetIPCountry( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); + [DllImportAttribute( "steam_api.dll" )] internal static extern byte /*uint8*/ SteamAPI_ISteamUtils_GetCurrentBatteryPower( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetAppID( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ SteamAPI_ISteamUtils_GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetIPCCallCount( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsOverlayEnabled( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_BOverlayNeedsPresent( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUtils_CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextLength( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamRunningInVR( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils ); - internal static unsafe class ISteamMatchmaking - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] - internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] - internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] - internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] - internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestLobbyList( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] - internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] - internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] - internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] - internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] - internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] - internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] - internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] - internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] - internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] - internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] - internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] - internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] - internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] - internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] - internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] - internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] - internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] - internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] - internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] - internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] - internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] - internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] - internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] - internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] - internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] - internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - } + // + // ISteamMatchmaking + // + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetFavoriteGameCount( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_RequestLobbyList( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - internal static unsafe class ISteamMatchmakingServers - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] - internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] - internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] - internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] - internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] - internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] - internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] - internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] - internal static extern HServerQuery /*(HServerQuery)*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] - internal static extern HServerQuery /*(HServerQuery)*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] - internal static extern HServerQuery /*(HServerQuery)*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] - internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - } + // + // ISteamMatchmakingServers + // + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr /*class gameserveritem_t **/ SteamAPI_ISteamMatchmakingServers_GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmakingServers_IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmakingServers_GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - internal static unsafe class ISteamRemoteStorage - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] - internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] - internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] - internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] - internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] - internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] - internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] - internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] - internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] - internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] - internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] - internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] - internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] - internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] - internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] - internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] - internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] - internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] - internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] - internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] - internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] - internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] - internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] - internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] - internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] - internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] - internal static extern UGCHandle_t /*(UGCHandle_t)*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] - internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] - internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] - internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] - internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] - internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] - internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - } + // + // ISteamRemoteStorage + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern long /*int64*/ SteamAPI_ISteamRemoteStorage_GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ SteamAPI_ISteamRemoteStorage_GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamRemoteStorage_GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UGCHandle_t /*(UGCHandle_t)*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - internal static unsafe class ISteamUserStats - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] - internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] - internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] - internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] - internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] - internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] - internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] - internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] - internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] - internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] - internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] - internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] - internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] - internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] - internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] - internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] - internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] - internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] - internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] - internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] - internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] - internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] - internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] - internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] - internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] - internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] - internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - } + // + // ISteamUserStats + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_RequestCurrentStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_StoreStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUserStats_GetNumAchievements( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api.dll" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ SteamAPI_ISteamUserStats_GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api.dll" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ SteamAPI_ISteamUserStats_GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - internal static unsafe class ISteamApps - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] - internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] - internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] - internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] - internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] - internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] - internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] - internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] - internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] - internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] - internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] - internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] - internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] - internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] - internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] - internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] - internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] - internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] - internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] - internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] - internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetAppOwner( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] - internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] - internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] - internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - } + // + // ISteamApps + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribed( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsLowViolence( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsCybercafe( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsVACBanned( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamApps_GetCurrentGameLanguage( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamApps_GetAvailableGameLanguages( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedApp( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsDlcInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetDLCCount( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_InstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_UninstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsAppInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamApps_GetAppOwner( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern IntPtr SteamAPI_ISteamApps_GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetAppBuildId( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamApps_GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - internal static unsafe class ISteamNetworking - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] - internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] - internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] - internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] - internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] - internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] - internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] - internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] - internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] - internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] - internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] - internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] - internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] - internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] - internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] - internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] - internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] - internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] - internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] - internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] - internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - } + // + // ISteamNetworking + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ SteamAPI_ISteamNetworking_CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ SteamAPI_ISteamNetworking_GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamNetworking_GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - internal static unsafe class ISteamScreenshots - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] - internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] - internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] - internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] - internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] - internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_IsScreenshotsHooked" )] - internal static extern bool /*bool*/ IsScreenshotsHooked( IntPtr ISteamScreenshots ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - } + // + // ISteamScreenshots + // + [DllImportAttribute( "steam_api.dll" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_TriggerScreenshot( IntPtr ISteamScreenshots ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_IsScreenshotsHooked( IntPtr ISteamScreenshots ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - internal static unsafe class ISteamMusic - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] - internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] - internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] - internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_Play" )] - internal static extern void /*void*/ Play( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] - internal static extern void /*void*/ Pause( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] - internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] - internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] - internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] - internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic ); - } + // + // ISteamMusic + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsEnabled( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsPlaying( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ SteamAPI_ISteamMusic_GetPlaybackStatus( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Play( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Pause( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayPrevious( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayNext( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); + [DllImportAttribute( "steam_api.dll" )] internal static extern float /*float*/ SteamAPI_ISteamMusic_GetVolume( IntPtr ISteamMusic ); - internal static unsafe class ISteamMusicRemote - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] - internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] - internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] - internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] - internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] - internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] - internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] - internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] - internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] - internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] - internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] - internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] - internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] - internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] - internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] - internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] - internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] - internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] - internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] - internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] - internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] - internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] - internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] - internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] - internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] - internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] - internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] - internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] - internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] - internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] - internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] - internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] - internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote ); - } + // + // ISteamMusicRemote + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetQueueEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetPlaylistEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistDidChange( IntPtr ISteamMusicRemote ); - internal static unsafe class ISteamHTTP - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] - internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] - internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] - internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] - internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] - internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] - internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] - internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] - internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] - internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] - internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] - internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] - internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] - internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] - internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] - internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] - internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] - internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] - internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] - internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] - internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] - internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - } + // + // ISteamHTTP + // + [DllImportAttribute( "steam_api.dll" )] internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ SteamAPI_ISteamHTTP_CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ SteamAPI_ISteamHTTP_CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - internal static unsafe class ISteamUnifiedMessages - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] - internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] - internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] - internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] - internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] - internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - } + // + // ISteamUnifiedMessages + // + [DllImportAttribute( "steam_api.dll" )] internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SteamAPI_ISteamUnifiedMessages_SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - internal static unsafe class ISteamController - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamController ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] - internal static extern void /*void*/ RunFrame( IntPtr ISteamController ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] - internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] - internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] - internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] - internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] - internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] - internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] - internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] - internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] - internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] - internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] - internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] - internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetGamepadIndexForController" )] - internal static extern int /*int*/ GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetControllerForGamepadIndex" )] - internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetMotionData" )] - internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ GetMotionData( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_ShowDigitalActionOrigins" )] - internal static extern bool /*bool*/ ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_ShowAnalogActionOrigins" )] - internal static extern bool /*bool*/ ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - } + // + // ISteamController + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Init( IntPtr ISteamController ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Shutdown( IntPtr ISteamController ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_RunFrame( IntPtr ISteamController ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ SteamAPI_ISteamController_GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ SteamAPI_ISteamController_GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ SteamAPI_ISteamController_GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ SteamAPI_ISteamController_GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ SteamAPI_ISteamController_GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ SteamAPI_ISteamController_GetMotionData( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - internal static unsafe class ISteamUGC - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] - internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] - internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] - internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] - internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] - internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] - internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] - internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] - internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] - internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] - internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] - internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] - internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnOnlyIDs" )] - internal static extern bool /*bool*/ SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] - internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] - internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] - internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] - internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] - internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] - internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] - internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] - internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] - internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] - internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] - internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] - internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] - internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] - internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] - internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] - internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] - internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] - internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] - internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] - internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] - internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] - internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] - internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] - internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] - internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] - internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] - internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] - internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] - internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] - internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] - internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] - internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] - internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] - internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] - internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] - internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] - internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] - internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_StartPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - } + // + // ISteamUGC + // + [DllImportAttribute( "steam_api.dll" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ SteamAPI_ISteamUGC_StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); + [DllImportAttribute( "steam_api.dll" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ SteamAPI_ISteamUGC_GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetNumSubscribedItems( IntPtr ISteamUGC ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUGC_SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - internal static unsafe class ISteamAppList - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] - internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] - internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] - internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] - internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - } + // + // ISteamAppList + // + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetNumInstalledApps( IntPtr ISteamAppList ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - internal static unsafe class ISteamHTMLSurface - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] - internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] - internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] - internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] - internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] - internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] - internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] - internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] - internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] - internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] - internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] - internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] - internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] - internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] - internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] - internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] - internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] - internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] - internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] - internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] - internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] - internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] - internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] - internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] - internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] - internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] - internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] - internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] - internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] - internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] - internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] - internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] - internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - } + // + // ISteamHTMLSurface + // + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Init( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Shutdown( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamHTMLSurface_CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - internal static unsafe class ISteamInventory - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] - internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] - internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] - internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] - internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] - internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] - internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] - internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] - internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] - internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] - internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] - internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] - internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] - internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] - internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] - internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] - internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] - internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] - internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] - internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] - internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] - internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] - internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - } + // + // ISteamInventory + // + [DllImportAttribute( "steam_api.dll" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_SendItemDropHeartbeat( IntPtr ISteamInventory ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_LoadItemDefinitions( IntPtr ISteamInventory ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - internal static unsafe class ISteamVideo - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] - internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] - internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - } + // + // ISteamVideo + // + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - internal static unsafe class ISteamGameServer - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] - internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] - internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] - internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] - internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] - internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] - internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] - internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] - internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] - internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] - internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] - internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] - internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] - internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] - internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] - internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] - internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] - internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] - internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] - internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] - internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] - internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] - internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] - internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] - internal static extern CSteamID /*(class CSteamID)*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] - internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] - internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] - internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] - internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetServerReputation( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] - internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] - internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] - internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] - internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] - internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] - internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - } + // + // ISteamGameServer + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOnAnonymous( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOff( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BLoggedOn( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BSecure( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_GetSteamID( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_WasRestartRequested( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ClearAllKeyValues( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); + [DllImportAttribute( "steam_api.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamGameServer_GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamGameServer_BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); + [DllImportAttribute( "steam_api.dll" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamGameServer_UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_GetGameplayStats( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_GetServerReputation( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamGameServer_GetPublicIP( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); + [DllImportAttribute( "steam_api.dll" )] internal static extern int /*int*/ SteamAPI_ISteamGameServer_GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ForceHeartbeat( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - internal static unsafe class ISteamGameServerStats - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] - internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] - internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] - internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] - internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] - internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - } + // + // ISteamGameServerStats + // + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - internal static unsafe class SteamApi - { - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_Init" )] - internal static extern bool /*bool*/ SteamAPI_Init(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_RunCallbacks" )] - internal static extern void /*void*/ SteamAPI_RunCallbacks(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_RunCallbacks" )] - internal static extern void /*void*/ SteamGameServer_RunCallbacks(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_RegisterCallback" )] - internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_UnregisterCallback" )] - internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamInternal_GameServer_Init" )] - internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_Shutdown" )] - internal static extern void /*void*/ SteamAPI_Shutdown(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_Shutdown" )] - internal static extern void /*void*/ SteamGameServer_Shutdown(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe(); - [DllImportAttribute( "steam_api.dll", EntryPoint = "SteamInternal_CreateInterface" )] - internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version ); - } + // + // SteamApi + // + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamAPI_Init(); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_RunCallbacks(); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks(); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); + [DllImportAttribute( "steam_api.dll" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamAPI_Shutdown(); + [DllImportAttribute( "steam_api.dll" )] internal static extern void /*void*/ SteamGameServer_Shutdown(); + [DllImportAttribute( "steam_api.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); + [DllImportAttribute( "steam_api.dll" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); + [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 ); } } diff --git a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win64.cs b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win64.cs index 94dba21..2e20eff 100644 --- a/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win64.cs +++ b/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Win64.cs @@ -29,5369 +29,4710 @@ public virtual void Dispose() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateSteamPipe(_ptr); + return Native.SteamAPI_ISteamClient_CreateSteamPipe(_ptr); } public virtual bool /*bool*/ ISteamClient_BReleaseSteamPipe( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BReleaseSteamPipe(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_BReleaseSteamPipe(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_ConnectToGlobalUser( int hSteamPipe ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.ConnectToGlobalUser(_ptr, hSteamPipe); + return Native.SteamAPI_ISteamClient_ConnectToGlobalUser(_ptr, hSteamPipe); } public virtual HSteamUser /*(HSteamUser)*/ ISteamClient_CreateLocalUser( out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.CreateLocalUser(_ptr, out phSteamPipe, eAccountType); + return Native.SteamAPI_ISteamClient_CreateLocalUser(_ptr, out phSteamPipe, eAccountType); } public virtual void /*void*/ ISteamClient_ReleaseUser( int hSteamPipe, int hUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.ReleaseUser(_ptr, hSteamPipe, hUser); + Native.SteamAPI_ISteamClient_ReleaseUser(_ptr, hSteamPipe, hUser); } public virtual IntPtr /*class ISteamUser **/ ISteamClient_GetISteamUser( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUser(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServer **/ ISteamClient_GetISteamGameServer( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServer(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual void /*void*/ ISteamClient_SetLocalIPBinding( uint /*uint32*/ unIP, ushort /*uint16*/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetLocalIPBinding(_ptr, unIP, usPort); + Native.SteamAPI_ISteamClient_SetLocalIPBinding(_ptr, unIP, usPort); } public virtual IntPtr /*class ISteamFriends **/ ISteamClient_GetISteamFriends( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamFriends(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUtils **/ ISteamClient_GetISteamUtils( int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUtils(_ptr, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUtils(_ptr, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmaking **/ ISteamClient_GetISteamMatchmaking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmaking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMatchmakingServers **/ ISteamClient_GetISteamMatchmakingServers( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMatchmakingServers(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*void **/ ISteamClient_GetISteamGenericInterface( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGenericInterface(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUserStats **/ ISteamClient_GetISteamUserStats( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUserStats(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamGameServerStats **/ ISteamClient_GetISteamGameServerStats( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamGameServerStats(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamApps **/ ISteamClient_GetISteamApps( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamApps(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamNetworking **/ ISteamClient_GetISteamNetworking( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamNetworking(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamRemoteStorage **/ ISteamClient_GetISteamRemoteStorage( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamRemoteStorage(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamScreenshots **/ ISteamClient_GetISteamScreenshots( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamScreenshots(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual uint /*uint32*/ ISteamClient_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamClient_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamClient_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - Native.ISteamClient.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamClient_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamClient_BShutdownIfAllPipesClosed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.BShutdownIfAllPipesClosed(_ptr); + return Native.SteamAPI_ISteamClient_BShutdownIfAllPipesClosed(_ptr); } public virtual IntPtr /*class ISteamHTTP **/ ISteamClient_GetISteamHTTP( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTTP(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUnifiedMessages **/ ISteamClient_GetISteamUnifiedMessages( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUnifiedMessages(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamController **/ ISteamClient_GetISteamController( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamController(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamUGC **/ ISteamClient_GetISteamUGC( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamUGC(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamAppList **/ ISteamClient_GetISteamAppList( int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamAppList(_ptr, hSteamUser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusic **/ ISteamClient_GetISteamMusic( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusic(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamMusicRemote **/ ISteamClient_GetISteamMusicRemote( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamMusicRemote(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamHTMLSurface **/ ISteamClient_GetISteamHTMLSurface( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamHTMLSurface(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamInventory **/ ISteamClient_GetISteamInventory( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamInventory(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual IntPtr /*class ISteamVideo **/ ISteamClient_GetISteamVideo( int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamClient _ptr is null!" ); - return Native.ISteamClient.GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); + return Native.SteamAPI_ISteamClient_GetISteamVideo(_ptr, hSteamuser, hSteamPipe, pchVersion); } public virtual HSteamUser /*(HSteamUser)*/ ISteamUser_GetHSteamUser() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetHSteamUser(_ptr); + return Native.SteamAPI_ISteamUser_GetHSteamUser(_ptr); } public virtual bool /*bool*/ ISteamUser_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamUser_BLoggedOn(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamUser_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetSteamID(_ptr); + return Native.SteamAPI_ISteamUser_GetSteamID(_ptr); } public virtual int /*int*/ ISteamUser_InitiateGameConnection( IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + return Native.SteamAPI_ISteamUser_InitiateGameConnection(_ptr, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); } public virtual void /*void*/ ISteamUser_TerminateGameConnection( uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TerminateGameConnection(_ptr, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_TerminateGameConnection(_ptr, unIPServer, usPortServer); } public virtual void /*void*/ ISteamUser_TrackAppUsageEvent( ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); + Native.SteamAPI_ISteamUser_TrackAppUsageEvent(_ptr, gameID, eAppUsageEvent, pchExtraInfo); } public virtual bool /*bool*/ ISteamUser_GetUserDataFolder( System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetUserDataFolder(_ptr, pchBuffer, cubBuffer); + return Native.SteamAPI_ISteamUser_GetUserDataFolder(_ptr, pchBuffer, cubBuffer); } public virtual void /*void*/ ISteamUser_StartVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StartVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StartVoiceRecording(_ptr); } public virtual void /*void*/ ISteamUser_StopVoiceRecording() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.StopVoiceRecording(_ptr); + Native.SteamAPI_ISteamUser_StopVoiceRecording(_ptr); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetAvailableVoice( out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetAvailableVoice(_ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_GetVoice( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); + return Native.SteamAPI_ISteamUser_GetVoice(_ptr, bWantCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); } public virtual VoiceResult /*EVoiceResult*/ ISteamUser_DecompressVoice( IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); + return Native.SteamAPI_ISteamUser_DecompressVoice(_ptr, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate); } public virtual uint /*uint32*/ ISteamUser_GetVoiceOptimalSampleRate() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetVoiceOptimalSampleRate(_ptr); + return Native.SteamAPI_ISteamUser_GetVoiceOptimalSampleRate(_ptr); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamUser_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamUser_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamUser_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamUser_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamUser_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamUser_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamUser_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamUser_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamUser_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamUser_BIsBehindNAT() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsBehindNAT(_ptr); + return Native.SteamAPI_ISteamUser_BIsBehindNAT(_ptr); } public virtual void /*void*/ ISteamUser_AdvertiseGame( ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - Native.ISteamUser.AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); + Native.SteamAPI_ISteamUser_AdvertiseGame(_ptr, steamIDGameServer, unIPServer, usPortServer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestEncryptedAppTicket( IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); + return Native.SteamAPI_ISteamUser_RequestEncryptedAppTicket(_ptr, pDataToInclude, cbDataToInclude); } public virtual bool /*bool*/ ISteamUser_GetEncryptedAppTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamUser_GetEncryptedAppTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual int /*int*/ ISteamUser_GetGameBadgeLevel( int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetGameBadgeLevel(_ptr, nSeries, bFoil); + return Native.SteamAPI_ISteamUser_GetGameBadgeLevel(_ptr, nSeries, bFoil); } public virtual int /*int*/ ISteamUser_GetPlayerSteamLevel() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.GetPlayerSteamLevel(_ptr); + return Native.SteamAPI_ISteamUser_GetPlayerSteamLevel(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUser_RequestStoreAuthURL( string /*const char **/ pchRedirectURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.RequestStoreAuthURL(_ptr, pchRedirectURL); + return Native.SteamAPI_ISteamUser_RequestStoreAuthURL(_ptr, pchRedirectURL); } public virtual bool /*bool*/ ISteamUser_BIsPhoneVerified() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneVerified(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneVerified(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsTwoFactorEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsTwoFactorEnabled(_ptr); + return Native.SteamAPI_ISteamUser_BIsTwoFactorEnabled(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneIdentifying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneIdentifying(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneIdentifying(_ptr); } public virtual bool /*bool*/ ISteamUser_BIsPhoneRequiringVerification() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUser _ptr is null!" ); - return Native.ISteamUser.BIsPhoneRequiringVerification(_ptr); + return Native.SteamAPI_ISteamUser_BIsPhoneRequiringVerification(_ptr); } public virtual IntPtr ISteamFriends_GetPersonaName() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaName(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaName(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_SetPersonaName( string /*const char **/ pchPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetPersonaName(_ptr, pchPersonaName); + return Native.SteamAPI_ISteamFriends_SetPersonaName(_ptr, pchPersonaName); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetPersonaState() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPersonaState(_ptr); + return Native.SteamAPI_ISteamFriends_GetPersonaState(_ptr); } public virtual int /*int*/ ISteamFriends_GetFriendCount( int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCount(_ptr, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendCount(_ptr, iFriendFlags); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendByIndex( int /*int*/ iFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendByIndex(_ptr, iFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_GetFriendByIndex(_ptr, iFriend, iFriendFlags); } public virtual FriendRelationship /*EFriendRelationship*/ ISteamFriends_GetFriendRelationship( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRelationship(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRelationship(_ptr, steamIDFriend); } public virtual PersonaState /*EPersonaState*/ ISteamFriends_GetFriendPersonaState( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaState(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaState(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendPersonaName( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaName(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaName(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_GetFriendGamePlayed( ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo); + return Native.SteamAPI_ISteamFriends_GetFriendGamePlayed(_ptr, steamIDFriend, ref pFriendGameInfo); } public virtual IntPtr ISteamFriends_GetFriendPersonaNameHistory( ulong steamIDFriend, int /*int*/ iPersonaName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); + return Native.SteamAPI_ISteamFriends_GetFriendPersonaNameHistory(_ptr, steamIDFriend, iPersonaName); } public virtual int /*int*/ ISteamFriends_GetFriendSteamLevel( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendSteamLevel(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendSteamLevel(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetPlayerNickname( ulong steamIDPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetPlayerNickname(_ptr, steamIDPlayer); + return Native.SteamAPI_ISteamFriends_GetPlayerNickname(_ptr, steamIDPlayer); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupCount(_ptr); } public virtual FriendsGroupID_t /*(FriendsGroupID_t)*/ ISteamFriends_GetFriendsGroupIDByIndex( int /*int*/ iFG ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupIDByIndex(_ptr, iFG); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex(_ptr, iFG); } public virtual IntPtr ISteamFriends_GetFriendsGroupName( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupName(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupName(_ptr, friendsGroupID); } public virtual int /*int*/ ISteamFriends_GetFriendsGroupMembersCount( short friendsGroupID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendsGroupMembersCount(_ptr, friendsGroupID); + return Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersCount(_ptr, friendsGroupID); } public virtual void /*void*/ ISteamFriends_GetFriendsGroupMembersList( short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); + Native.SteamAPI_ISteamFriends_GetFriendsGroupMembersList(_ptr, friendsGroupID, pOutSteamIDMembers, nMembersCount); } public virtual bool /*bool*/ ISteamFriends_HasFriend( ulong steamIDFriend, int /*int*/ iFriendFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.HasFriend(_ptr, steamIDFriend, iFriendFlags); + return Native.SteamAPI_ISteamFriends_HasFriend(_ptr, steamIDFriend, iFriendFlags); } public virtual int /*int*/ ISteamFriends_GetClanCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetClanCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanByIndex( int /*int*/ iClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanByIndex(_ptr, iClan); + return Native.SteamAPI_ISteamFriends_GetClanByIndex(_ptr, iClan); } public virtual IntPtr ISteamFriends_GetClanName( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanName(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanName(_ptr, steamIDClan); } public virtual IntPtr ISteamFriends_GetClanTag( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanTag(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanTag(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_GetClanActivityCounts( ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); + return Native.SteamAPI_ISteamFriends_GetClanActivityCounts(_ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_DownloadClanActivityCounts( IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); + return Native.SteamAPI_ISteamFriends_DownloadClanActivityCounts(_ptr, psteamIDClans, cClansToRequest); } public virtual int /*int*/ ISteamFriends_GetFriendCountFromSource( ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCountFromSource(_ptr, steamIDSource); + return Native.SteamAPI_ISteamFriends_GetFriendCountFromSource(_ptr, steamIDSource); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetFriendFromSourceByIndex( ulong steamIDSource, int /*int*/ iFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); + return Native.SteamAPI_ISteamFriends_GetFriendFromSourceByIndex(_ptr, steamIDSource, iFriend); } public virtual bool /*bool*/ ISteamFriends_IsUserInSource( ulong steamIDUser, ulong steamIDSource ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsUserInSource(_ptr, steamIDUser, steamIDSource); + return Native.SteamAPI_ISteamFriends_IsUserInSource(_ptr, steamIDUser, steamIDSource); } public virtual void /*void*/ ISteamFriends_SetInGameVoiceSpeaking( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); + Native.SteamAPI_ISteamFriends_SetInGameVoiceSpeaking(_ptr, steamIDUser, bSpeaking); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlay( string /*const char **/ pchDialog ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlay(_ptr, pchDialog); + Native.SteamAPI_ISteamFriends_ActivateGameOverlay(_ptr, pchDialog); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToUser( string /*const char **/ pchDialog, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToUser(_ptr, pchDialog, steamID); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToUser(_ptr, pchDialog, steamID); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToWebPage( string /*const char **/ pchURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToWebPage(_ptr, pchURL); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage(_ptr, pchURL); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayToStore( uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayToStore(_ptr, nAppID, eFlag); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayToStore(_ptr, nAppID, eFlag); } public virtual void /*void*/ ISteamFriends_SetPlayedWith( ulong steamIDUserPlayedWith ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.SetPlayedWith(_ptr, steamIDUserPlayedWith); + Native.SteamAPI_ISteamFriends_SetPlayedWith(_ptr, steamIDUserPlayedWith); } public virtual void /*void*/ ISteamFriends_ActivateGameOverlayInviteDialog( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); + Native.SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog(_ptr, steamIDLobby); } public virtual int /*int*/ ISteamFriends_GetSmallFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetSmallFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetSmallFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetMediumFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetMediumFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetMediumFriendAvatar(_ptr, steamIDFriend); } public virtual int /*int*/ ISteamFriends_GetLargeFriendAvatar( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetLargeFriendAvatar(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetLargeFriendAvatar(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_RequestUserInformation( ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); + return Native.SteamAPI_ISteamFriends_RequestUserInformation(_ptr, steamIDUser, bRequireNameOnly); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_RequestClanOfficerList( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.RequestClanOfficerList(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_RequestClanOfficerList(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOwner( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOwner(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOwner(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanOfficerCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanOfficerCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetClanOfficerByIndex( ulong steamIDClan, int /*int*/ iOfficer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); + return Native.SteamAPI_ISteamFriends_GetClanOfficerByIndex(_ptr, steamIDClan, iOfficer); } public virtual uint /*uint32*/ ISteamFriends_GetUserRestrictions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetUserRestrictions(_ptr); + return Native.SteamAPI_ISteamFriends_GetUserRestrictions(_ptr); } public virtual bool /*bool*/ ISteamFriends_SetRichPresence( string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetRichPresence(_ptr, pchKey, pchValue); + return Native.SteamAPI_ISteamFriends_SetRichPresence(_ptr, pchKey, pchValue); } public virtual void /*void*/ ISteamFriends_ClearRichPresence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.ClearRichPresence(_ptr); + Native.SteamAPI_ISteamFriends_ClearRichPresence(_ptr); } public virtual IntPtr ISteamFriends_GetFriendRichPresence( ulong steamIDFriend, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresence(_ptr, steamIDFriend, pchKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresence(_ptr, steamIDFriend, pchKey); } public virtual int /*int*/ ISteamFriends_GetFriendRichPresenceKeyCount( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount(_ptr, steamIDFriend); } public virtual IntPtr ISteamFriends_GetFriendRichPresenceKeyByIndex( ulong steamIDFriend, int /*int*/ iKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); + return Native.SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex(_ptr, steamIDFriend, iKey); } public virtual void /*void*/ ISteamFriends_RequestFriendRichPresence( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - Native.ISteamFriends.RequestFriendRichPresence(_ptr, steamIDFriend); + Native.SteamAPI_ISteamFriends_RequestFriendRichPresence(_ptr, steamIDFriend); } public virtual bool /*bool*/ ISteamFriends_InviteUserToGame( ulong steamIDFriend, string /*const char **/ pchConnectString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.InviteUserToGame(_ptr, steamIDFriend, pchConnectString); + return Native.SteamAPI_ISteamFriends_InviteUserToGame(_ptr, steamIDFriend, pchConnectString); } public virtual int /*int*/ ISteamFriends_GetCoplayFriendCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriendCount(_ptr); + return Native.SteamAPI_ISteamFriends_GetCoplayFriendCount(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetCoplayFriend( int /*int*/ iCoplayFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetCoplayFriend(_ptr, iCoplayFriend); + return Native.SteamAPI_ISteamFriends_GetCoplayFriend(_ptr, iCoplayFriend); } public virtual int /*int*/ ISteamFriends_GetFriendCoplayTime( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayTime(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayTime(_ptr, steamIDFriend); } public virtual AppId_t /*(AppId_t)*/ ISteamFriends_GetFriendCoplayGame( ulong steamIDFriend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendCoplayGame(_ptr, steamIDFriend); + return Native.SteamAPI_ISteamFriends_GetFriendCoplayGame(_ptr, steamIDFriend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_JoinClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.JoinClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_JoinClanChatRoom(_ptr, steamIDClan); } public virtual bool /*bool*/ ISteamFriends_LeaveClanChatRoom( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.LeaveClanChatRoom(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_LeaveClanChatRoom(_ptr, steamIDClan); } public virtual int /*int*/ ISteamFriends_GetClanChatMemberCount( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMemberCount(_ptr, steamIDClan); + return Native.SteamAPI_ISteamFriends_GetClanChatMemberCount(_ptr, steamIDClan); } public virtual CSteamID /*(class CSteamID)*/ ISteamFriends_GetChatMemberByIndex( ulong steamIDClan, int /*int*/ iUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetChatMemberByIndex(_ptr, steamIDClan, iUser); + return Native.SteamAPI_ISteamFriends_GetChatMemberByIndex(_ptr, steamIDClan, iUser); } public virtual bool /*bool*/ ISteamFriends_SendClanChatMessage( ulong steamIDClanChat, string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SendClanChatMessage(_ptr, steamIDClanChat, pchText); + return Native.SteamAPI_ISteamFriends_SendClanChatMessage(_ptr, steamIDClanChat, pchText); } public virtual int /*int*/ ISteamFriends_GetClanChatMessage( ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); + return Native.SteamAPI_ISteamFriends_GetClanChatMessage(_ptr, steamIDClanChat, iMessage, prgchText, cchTextMax, out peChatEntryType, out psteamidChatter); } public virtual bool /*bool*/ ISteamFriends_IsClanChatAdmin( ulong steamIDClanChat, ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); + return Native.SteamAPI_ISteamFriends_IsClanChatAdmin(_ptr, steamIDClanChat, steamIDUser); } public virtual bool /*bool*/ ISteamFriends_IsClanChatWindowOpenInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_OpenClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.OpenClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_OpenClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_CloseClanChatWindowInSteam( ulong steamIDClanChat ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.CloseClanChatWindowInSteam(_ptr, steamIDClanChat); + return Native.SteamAPI_ISteamFriends_CloseClanChatWindowInSteam(_ptr, steamIDClanChat); } public virtual bool /*bool*/ ISteamFriends_SetListenForFriendsMessages( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.SetListenForFriendsMessages(_ptr, bInterceptEnabled); + return Native.SteamAPI_ISteamFriends_SetListenForFriendsMessages(_ptr, bInterceptEnabled); } public virtual bool /*bool*/ ISteamFriends_ReplyToFriendMessage( ulong steamIDFriend, string /*const char **/ pchMsgToSend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); + return Native.SteamAPI_ISteamFriends_ReplyToFriendMessage(_ptr, steamIDFriend, pchMsgToSend); } public virtual int /*int*/ ISteamFriends_GetFriendMessage( ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamFriends_GetFriendMessage(_ptr, steamIDFriend, iMessageID, pvData, cubData, out peChatEntryType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_GetFollowerCount( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.GetFollowerCount(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_GetFollowerCount(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_IsFollowing( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.IsFollowing(_ptr, steamID); + return Native.SteamAPI_ISteamFriends_IsFollowing(_ptr, steamID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamFriends_EnumerateFollowingList( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamFriends _ptr is null!" ); - return Native.ISteamFriends.EnumerateFollowingList(_ptr, unStartIndex); + return Native.SteamAPI_ISteamFriends_EnumerateFollowingList(_ptr, unStartIndex); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceAppActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceAppActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceAppActive(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetSecondsSinceComputerActive() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSecondsSinceComputerActive(_ptr); + return Native.SteamAPI_ISteamUtils_GetSecondsSinceComputerActive(_ptr); } public virtual Universe /*EUniverse*/ ISteamUtils_GetConnectedUniverse() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetConnectedUniverse(_ptr); + return Native.SteamAPI_ISteamUtils_GetConnectedUniverse(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetServerRealTime() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetServerRealTime(_ptr); + return Native.SteamAPI_ISteamUtils_GetServerRealTime(_ptr); } public virtual IntPtr ISteamUtils_GetIPCountry() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCountry(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCountry(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetImageSize( int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); + return Native.SteamAPI_ISteamUtils_GetImageSize(_ptr, iImage, out pnWidth, out pnHeight); } public virtual bool /*bool*/ ISteamUtils_GetImageRGBA( int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); + return Native.SteamAPI_ISteamUtils_GetImageRGBA(_ptr, iImage, pubDest, nDestBufferSize); } public virtual bool /*bool*/ ISteamUtils_GetCSERIPPort( out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCSERIPPort(_ptr, out unIP, out usPort); + return Native.SteamAPI_ISteamUtils_GetCSERIPPort(_ptr, out unIP, out usPort); } public virtual byte /*uint8*/ ISteamUtils_GetCurrentBatteryPower() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetCurrentBatteryPower(_ptr); + return Native.SteamAPI_ISteamUtils_GetCurrentBatteryPower(_ptr); } public virtual uint /*uint32*/ ISteamUtils_GetAppID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAppID(_ptr); + return Native.SteamAPI_ISteamUtils_GetAppID(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationPosition( NotificationPosition /*ENotificationPosition*/ eNotificationPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationPosition(_ptr, eNotificationPosition); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationPosition(_ptr, eNotificationPosition); } public virtual bool /*bool*/ ISteamUtils_IsAPICallCompleted( ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); + return Native.SteamAPI_ISteamUtils_IsAPICallCompleted(_ptr, hSteamAPICall, ref pbFailed); } public virtual SteamAPICallFailure /*ESteamAPICallFailure*/ ISteamUtils_GetAPICallFailureReason( ulong hSteamAPICall ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallFailureReason(_ptr, hSteamAPICall); + return Native.SteamAPI_ISteamUtils_GetAPICallFailureReason(_ptr, hSteamAPICall); } public virtual bool /*bool*/ ISteamUtils_GetAPICallResult( ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); + return Native.SteamAPI_ISteamUtils_GetAPICallResult(_ptr, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, ref pbFailed); } public virtual uint /*uint32*/ ISteamUtils_GetIPCCallCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetIPCCallCount(_ptr); + return Native.SteamAPI_ISteamUtils_GetIPCCallCount(_ptr); } public virtual void /*void*/ ISteamUtils_SetWarningMessageHook( IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetWarningMessageHook(_ptr, pFunction); + Native.SteamAPI_ISteamUtils_SetWarningMessageHook(_ptr, pFunction); } public virtual bool /*bool*/ ISteamUtils_IsOverlayEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsOverlayEnabled(_ptr); + return Native.SteamAPI_ISteamUtils_IsOverlayEnabled(_ptr); } public virtual bool /*bool*/ ISteamUtils_BOverlayNeedsPresent() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.BOverlayNeedsPresent(_ptr); + return Native.SteamAPI_ISteamUtils_BOverlayNeedsPresent(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUtils_CheckFileSignature( string /*const char **/ szFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.CheckFileSignature(_ptr, szFileName); + return Native.SteamAPI_ISteamUtils_CheckFileSignature(_ptr, szFileName); } public virtual bool /*bool*/ ISteamUtils_ShowGamepadTextInput( GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + return Native.SteamAPI_ISteamUtils_ShowGamepadTextInput(_ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); } public virtual uint /*uint32*/ ISteamUtils_GetEnteredGamepadTextLength() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextLength(_ptr); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextLength(_ptr); } public virtual bool /*bool*/ ISteamUtils_GetEnteredGamepadTextInput( System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetEnteredGamepadTextInput(_ptr, pchText, cchText); + return Native.SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(_ptr, pchText, cchText); } public virtual IntPtr ISteamUtils_GetSteamUILanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.GetSteamUILanguage(_ptr); + return Native.SteamAPI_ISteamUtils_GetSteamUILanguage(_ptr); } public virtual bool /*bool*/ ISteamUtils_IsSteamRunningInVR() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamRunningInVR(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamRunningInVR(_ptr); } public virtual void /*void*/ ISteamUtils_SetOverlayNotificationInset( int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); + Native.SteamAPI_ISteamUtils_SetOverlayNotificationInset(_ptr, nHorizontalInset, nVerticalInset); } public virtual bool /*bool*/ ISteamUtils_IsSteamInBigPictureMode() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - return Native.ISteamUtils.IsSteamInBigPictureMode(_ptr); + return Native.SteamAPI_ISteamUtils_IsSteamInBigPictureMode(_ptr); } public virtual void /*void*/ ISteamUtils_StartVRDashboard() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUtils _ptr is null!" ); - Native.ISteamUtils.StartVRDashboard(_ptr); + Native.SteamAPI_ISteamUtils_StartVRDashboard(_ptr); } public virtual int /*int*/ ISteamMatchmaking_GetFavoriteGameCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGameCount(_ptr); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(_ptr); } public virtual bool /*bool*/ ISteamMatchmaking_GetFavoriteGame( int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_GetFavoriteGame(_ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, punFlags, out pRTime32LastPlayedOnServer); } public virtual int /*int*/ ISteamMatchmaking_AddFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + return Native.SteamAPI_ISteamMatchmaking_AddFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); } public virtual bool /*bool*/ ISteamMatchmaking_RemoveFavoriteGame( uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); + return Native.SteamAPI_ISteamMatchmaking_RemoveFavoriteGame(_ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_RequestLobbyList() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyList(_ptr); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyList(_ptr); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListStringFilter( string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter(_ptr, pchKeyToMatch, pchValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNumericalFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter(_ptr, pchKeyToMatch, nValueToMatch, eComparisonType); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListNearValueFilter( string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter(_ptr, pchKeyToMatch, nValueToBeCloseTo); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( int /*int*/ nSlotsAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable(_ptr, nSlotsAvailable); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListDistanceFilter( LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter(_ptr, eLobbyDistanceFilter); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListResultCountFilter( int /*int*/ cMaxResults ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter(_ptr, cMaxResults); } public virtual void /*void*/ ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyByIndex( int /*int*/ iLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyByIndex(_ptr, iLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyByIndex(_ptr, iLobby); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_CreateLobby( LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.CreateLobby(_ptr, eLobbyType, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_CreateLobby(_ptr, eLobbyType, cMaxMembers); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamMatchmaking_JoinLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.JoinLobby(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_JoinLobby(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_LeaveLobby( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.LeaveLobby(_ptr, steamIDLobby); + Native.SteamAPI_ISteamMatchmaking_LeaveLobby(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_InviteUserToLobby( ulong steamIDLobby, ulong steamIDInvitee ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); + return Native.SteamAPI_ISteamMatchmaking_InviteUserToLobby(_ptr, steamIDLobby, steamIDInvitee); } public virtual int /*int*/ ISteamMatchmaking_GetNumLobbyMembers( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetNumLobbyMembers(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetNumLobbyMembers(_ptr, steamIDLobby); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyMemberByIndex( ulong steamIDLobby, int /*int*/ iMember ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex(_ptr, steamIDLobby, iMember); } public virtual IntPtr ISteamMatchmaking_GetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyData(_ptr, steamIDLobby, pchKey); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyDataCount( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataCount(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataCount(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyDataByIndex( ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex(_ptr, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); } public virtual bool /*bool*/ ISteamMatchmaking_DeleteLobbyData( ulong steamIDLobby, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.DeleteLobbyData(_ptr, steamIDLobby, pchKey); + return Native.SteamAPI_ISteamMatchmaking_DeleteLobbyData(_ptr, steamIDLobby, pchKey); } public virtual IntPtr ISteamMatchmaking_GetLobbyMemberData( ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberData(_ptr, steamIDLobby, steamIDUser, pchKey); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyMemberData( ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); + Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberData(_ptr, steamIDLobby, pchKey, pchValue); } public virtual bool /*bool*/ ISteamMatchmaking_SendLobbyChatMsg( ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); + return Native.SteamAPI_ISteamMatchmaking_SendLobbyChatMsg(_ptr, steamIDLobby, pvMsgBody, cubMsgBody); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyChatEntry( ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyChatEntry(_ptr, steamIDLobby, iChatID, out pSteamIDUser, pvData, cubData, out peChatEntryType); } public virtual bool /*bool*/ ISteamMatchmaking_RequestLobbyData( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.RequestLobbyData(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_RequestLobbyData(_ptr, steamIDLobby); } public virtual void /*void*/ ISteamMatchmaking_SetLobbyGameServer( ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - Native.ISteamMatchmaking.SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + Native.SteamAPI_ISteamMatchmaking_SetLobbyGameServer(_ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_GetLobbyGameServer( ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyGameServer(_ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyMemberLimit( ulong steamIDLobby, int /*int*/ cMaxMembers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit(_ptr, steamIDLobby, cMaxMembers); } public virtual int /*int*/ ISteamMatchmaking_GetLobbyMemberLimit( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyMemberLimit(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyType( ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyType(_ptr, steamIDLobby, eLobbyType); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyType(_ptr, steamIDLobby, eLobbyType); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyJoinable( ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyJoinable(_ptr, steamIDLobby, bLobbyJoinable); } public virtual CSteamID /*(class CSteamID)*/ ISteamMatchmaking_GetLobbyOwner( ulong steamIDLobby ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.GetLobbyOwner(_ptr, steamIDLobby); + return Native.SteamAPI_ISteamMatchmaking_GetLobbyOwner(_ptr, steamIDLobby); } public virtual bool /*bool*/ ISteamMatchmaking_SetLobbyOwner( ulong steamIDLobby, ulong steamIDNewOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); + return Native.SteamAPI_ISteamMatchmaking_SetLobbyOwner(_ptr, steamIDLobby, steamIDNewOwner); } public virtual bool /*bool*/ ISteamMatchmaking_SetLinkedLobby( ulong steamIDLobby, ulong steamIDLobbyDependent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmaking _ptr is null!" ); - return Native.ISteamMatchmaking.SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); + return Native.SteamAPI_ISteamMatchmaking_SetLinkedLobby(_ptr, steamIDLobby, steamIDLobbyDependent); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestInternetServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestInternetServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestLANServerList( uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestLANServerList(_ptr, iApp, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestLANServerList(_ptr, iApp, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFriendsServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestFavoritesServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestHistoryServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual HServerListRequest /*(HServerListRequest)*/ ISteamMatchmakingServers_RequestSpectatorServerList( uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList(_ptr, iApp, ppchFilters, nFilters, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_ReleaseRequest( IntPtr hServerListRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.ReleaseRequest(_ptr, hServerListRequest); + Native.SteamAPI_ISteamMatchmakingServers_ReleaseRequest(_ptr, hServerListRequest); } public virtual IntPtr /*class gameserveritem_t **/ ISteamMatchmakingServers_GetServerDetails( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerDetails(_ptr, hRequest, iServer); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerDetails(_ptr, hRequest, iServer); } public virtual void /*void*/ ISteamMatchmakingServers_CancelQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_CancelQuery(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshQuery( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshQuery(_ptr, hRequest); + Native.SteamAPI_ISteamMatchmakingServers_RefreshQuery(_ptr, hRequest); } public virtual bool /*bool*/ ISteamMatchmakingServers_IsRefreshing( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.IsRefreshing(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_IsRefreshing(_ptr, hRequest); } public virtual int /*int*/ ISteamMatchmakingServers_GetServerCount( IntPtr hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.GetServerCount(_ptr, hRequest); + return Native.SteamAPI_ISteamMatchmakingServers_GetServerCount(_ptr, hRequest); } public virtual void /*void*/ ISteamMatchmakingServers_RefreshServer( IntPtr hRequest, int /*int*/ iServer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.RefreshServer(_ptr, hRequest, iServer); + Native.SteamAPI_ISteamMatchmakingServers_RefreshServer(_ptr, hRequest, iServer); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PingServer( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PingServer(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PingServer(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_PlayerDetails( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_PlayerDetails(_ptr, unIP, usPort, pRequestServersResponse); } public virtual HServerQuery /*(HServerQuery)*/ ISteamMatchmakingServers_ServerRules( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - return Native.ISteamMatchmakingServers.ServerRules(_ptr, unIP, usPort, pRequestServersResponse); + return Native.SteamAPI_ISteamMatchmakingServers_ServerRules(_ptr, unIP, usPort, pRequestServersResponse); } public virtual void /*void*/ ISteamMatchmakingServers_CancelServerQuery( int hServerQuery ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMatchmakingServers _ptr is null!" ); - Native.ISteamMatchmakingServers.CancelServerQuery(_ptr, hServerQuery); + Native.SteamAPI_ISteamMatchmakingServers_CancelServerQuery(_ptr, hServerQuery); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWrite( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWrite(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWrite(_ptr, pchFile, pvData, cubData); } public virtual int /*int32*/ ISteamRemoteStorage_FileRead( string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileRead(_ptr, pchFile, pvData, cubDataToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileRead(_ptr, pchFile, pvData, cubDataToRead); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileWriteAsync( string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteAsync(_ptr, pchFile, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteAsync(_ptr, pchFile, pvData, cubData); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileReadAsync( string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsync(_ptr, pchFile, nOffset, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsync(_ptr, pchFile, nOffset, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileReadAsyncComplete( ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); + return Native.SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete(_ptr, hReadCall, pvBuffer, cubToRead); } public virtual bool /*bool*/ ISteamRemoteStorage_FileForget( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileForget(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileForget(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileDelete( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileDelete(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileDelete(_ptr, pchFile); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_FileShare( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileShare(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileShare(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_SetSyncPlatforms( string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); + return Native.SteamAPI_ISteamRemoteStorage_SetSyncPlatforms(_ptr, pchFile, eRemoteStoragePlatform); } public virtual UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ ISteamRemoteStorage_FileWriteStreamOpen( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamOpen(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamWriteChunk( ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk(_ptr, writeHandle, pvData, cubData); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamClose( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamClose(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamClose(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileWriteStreamCancel( ulong writeHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileWriteStreamCancel(_ptr, writeHandle); + return Native.SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel(_ptr, writeHandle); } public virtual bool /*bool*/ ISteamRemoteStorage_FileExists( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FileExists(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FileExists(_ptr, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_FilePersisted( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.FilePersisted(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_FilePersisted(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileSize( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileSize(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileSize(_ptr, pchFile); } public virtual long /*int64*/ ISteamRemoteStorage_GetFileTimestamp( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileTimestamp(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetFileTimestamp(_ptr, pchFile); } public virtual RemoteStoragePlatform /*ERemoteStoragePlatform*/ ISteamRemoteStorage_GetSyncPlatforms( string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetSyncPlatforms(_ptr, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_GetSyncPlatforms(_ptr, pchFile); } public virtual int /*int32*/ ISteamRemoteStorage_GetFileCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetFileCount(_ptr); } public virtual IntPtr ISteamRemoteStorage_GetFileNameAndSize( int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetFileNameAndSize(_ptr, iFile, pnFileSizeInBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_GetQuota( IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetQuota(_ptr, pnTotalBytes, puAvailableBytes); + return Native.SteamAPI_ISteamRemoteStorage_GetQuota(_ptr, pnTotalBytes, puAvailableBytes); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForAccount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForAccount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount(_ptr); } public virtual bool /*bool*/ ISteamRemoteStorage_IsCloudEnabledForApp() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.IsCloudEnabledForApp(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp(_ptr); } public virtual void /*void*/ ISteamRemoteStorage_SetCloudEnabledForApp( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - Native.ISteamRemoteStorage.SetCloudEnabledForApp(_ptr, bEnabled); + Native.SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp(_ptr, bEnabled); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownload( ulong hContent, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownload(_ptr, hContent, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownload(_ptr, hContent, unPriority); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDownloadProgress( ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress(_ptr, hContent, out pnBytesDownloaded, out pnBytesExpected); } public virtual bool /*bool*/ ISteamRemoteStorage_GetUGCDetails( ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); + return Native.SteamAPI_ISteamRemoteStorage_GetUGCDetails(_ptr, hContent, ref pnAppID, ppchName, pnFileSizeInBytes, out pSteamIDOwner); } public virtual int /*int32*/ ISteamRemoteStorage_UGCRead( ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); + return Native.SteamAPI_ISteamRemoteStorage_UGCRead(_ptr, hContent, pvData, cubDataToRead, cOffset, eAction); } public virtual int /*int32*/ ISteamRemoteStorage_GetCachedUGCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCCount(_ptr); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCCount(_ptr); } public virtual UGCHandle_t /*(UGCHandle_t)*/ ISteamRemoteStorage_GetCachedUGCHandle( int /*int32*/ iCachedContent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetCachedUGCHandle(_ptr, iCachedContent); + return Native.SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle(_ptr, iCachedContent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishWorkshopFile( string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags, eWorkshopFileType); + return Native.SteamAPI_ISteamRemoteStorage_PublishWorkshopFile(_ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags, eWorkshopFileType); } public virtual PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ ISteamRemoteStorage_CreatePublishedFileUpdateRequest( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileFile( ulong updateHandle, string /*const char **/ pchFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileFile(_ptr, updateHandle, pchFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile(_ptr, updateHandle, pchFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFilePreviewFile( ulong updateHandle, string /*const char **/ pchPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile(_ptr, updateHandle, pchPreviewFile); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTitle( ulong updateHandle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle(_ptr, updateHandle, pchTitle); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileDescription( ulong updateHandle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription(_ptr, updateHandle, pchDescription); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileVisibility( ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility(_ptr, updateHandle, eVisibility); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileTags( ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileTags(_ptr, updateHandle, ref pTags); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags(_ptr, updateHandle, ref pTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_CommitPublishedFileUpdate( ulong updateHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.CommitPublishedFileUpdate(_ptr, updateHandle); + return Native.SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate(_ptr, updateHandle); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedFileDetails( ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails(_ptr, unPublishedFileId, unMaxSecondsOld); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_DeletePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.DeletePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_DeletePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserPublishedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserPublishedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_SubscribePublishedFile(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSubscribedFiles( uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSubscribedFiles(_ptr, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles(_ptr, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UnsubscribePublishedFile( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UnsubscribePublishedFile(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile(_ptr, unPublishedFileId); } public virtual bool /*bool*/ ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( ulong updateHandle, string /*const char **/ pchChangeDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); + return Native.SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription(_ptr, updateHandle, pchChangeDescription); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UpdateUserPublishedItemVote( ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); + return Native.SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote(_ptr, unPublishedFileId, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_GetUserPublishedItemVoteDetails( ulong unPublishedFileId ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); + return Native.SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails(_ptr, unPublishedFileId); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags, ref pExcludedTags); + return Native.SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles(_ptr, steamId, unStartIndex, ref pRequiredTags, ref pExcludedTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_PublishVideo( WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags); + return Native.SteamAPI_ISteamRemoteStorage_PublishVideo(_ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, ref pTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_SetUserPublishedFileAction( ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); + return Native.SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction(_ptr, unPublishedFileId, eAction); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction(_ptr, eAction, unStartIndex); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags, ref pUserTags); + return Native.SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles(_ptr, eEnumerationType, unStartIndex, unCount, unDays, ref pTags, ref pUserTags); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamRemoteStorage_UGCDownloadToLocation( ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamRemoteStorage _ptr is null!" ); - return Native.ISteamRemoteStorage.UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); + return Native.SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation(_ptr, hContent, pchLocation, unPriority); } public virtual bool /*bool*/ ISteamUserStats_RequestCurrentStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestCurrentStats(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestCurrentStats(_ptr); } public virtual bool /*bool*/ ISteamUserStats_GetStat( string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetStat0( string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetStat0(_ptr, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetStat0(_ptr, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_SetStat( string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat(_ptr, pchName, nData); + return Native.SteamAPI_ISteamUserStats_SetStat(_ptr, pchName, nData); } public virtual bool /*bool*/ ISteamUserStats_SetStat0( string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetStat0(_ptr, pchName, fData); + return Native.SteamAPI_ISteamUserStats_SetStat0(_ptr, pchName, fData); } public virtual bool /*bool*/ ISteamUserStats_UpdateAvgRateStat( string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamUserStats_UpdateAvgRateStat(_ptr, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamUserStats_GetAchievement( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievement(_ptr, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetAchievement(_ptr, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_SetAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.SetAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_SetAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_ClearAchievement( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ClearAchievement(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_ClearAchievement(_ptr, pchName); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAndUnlockTime( string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime(_ptr, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_StoreStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.StoreStats(_ptr); + return Native.SteamAPI_ISteamUserStats_StoreStats(_ptr); } public virtual int /*int*/ ISteamUserStats_GetAchievementIcon( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementIcon(_ptr, pchName); + return Native.SteamAPI_ISteamUserStats_GetAchievementIcon(_ptr, pchName); } public virtual IntPtr ISteamUserStats_GetAchievementDisplayAttribute( string /*const char **/ pchName, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementDisplayAttribute(_ptr, pchName, pchKey); + return Native.SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute(_ptr, pchName, pchKey); } public virtual bool /*bool*/ ISteamUserStats_IndicateAchievementProgress( string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); + return Native.SteamAPI_ISteamUserStats_IndicateAchievementProgress(_ptr, pchName, nCurProgress, nMaxProgress); } public virtual uint /*uint32*/ ISteamUserStats_GetNumAchievements() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumAchievements(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumAchievements(_ptr); } public virtual IntPtr ISteamUserStats_GetAchievementName( uint /*uint32*/ iAchievement ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementName(_ptr, iAchievement); + return Native.SteamAPI_ISteamUserStats_GetAchievementName(_ptr, iAchievement); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamUserStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamUserStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetUserAchievementAndUnlockTime( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); + return Native.SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime(_ptr, steamIDUser, pchName, ref pbAchieved, out punUnlockTime); } public virtual bool /*bool*/ ISteamUserStats_ResetAllStats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.ResetAllStats(_ptr, bAchievementsToo); + return Native.SteamAPI_ISteamUserStats_ResetAllStats(_ptr, bAchievementsToo); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindOrCreateLeaderboard( string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + return Native.SteamAPI_ISteamUserStats_FindOrCreateLeaderboard(_ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_FindLeaderboard( string /*const char **/ pchLeaderboardName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.FindLeaderboard(_ptr, pchLeaderboardName); + return Native.SteamAPI_ISteamUserStats_FindLeaderboard(_ptr, pchLeaderboardName); } public virtual IntPtr ISteamUserStats_GetLeaderboardName( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardName(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardName(_ptr, hSteamLeaderboard); } public virtual int /*int*/ ISteamUserStats_GetLeaderboardEntryCount( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardEntryCount(_ptr, hSteamLeaderboard); } public virtual LeaderboardSortMethod /*ELeaderboardSortMethod*/ ISteamUserStats_GetLeaderboardSortMethod( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardSortMethod(_ptr, hSteamLeaderboard); } public virtual LeaderboardDisplayType /*ELeaderboardDisplayType*/ ISteamUserStats_GetLeaderboardDisplayType( ulong hSteamLeaderboard ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); + return Native.SteamAPI_ISteamUserStats_GetLeaderboardDisplayType(_ptr, hSteamLeaderboard); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntries( ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntries(_ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_DownloadLeaderboardEntriesForUsers( ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); + return Native.SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers(_ptr, hSteamLeaderboard, prgUsers, cUsers); } public virtual bool /*bool*/ ISteamUserStats_GetDownloadedLeaderboardEntry( ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry, pDetails, cDetailsMax); + return Native.SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry(_ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry, pDetails, cDetailsMax); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_UploadLeaderboardScore( ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + return Native.SteamAPI_ISteamUserStats_UploadLeaderboardScore(_ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_AttachLeaderboardUGC( ulong hSteamLeaderboard, ulong hUGC ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); + return Native.SteamAPI_ISteamUserStats_AttachLeaderboardUGC(_ptr, hSteamLeaderboard, hUGC); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_GetNumberOfCurrentPlayers() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNumberOfCurrentPlayers(_ptr); + return Native.SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalAchievementPercentages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalAchievementPercentages(_ptr); + return Native.SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages(_ptr); } public virtual int /*int*/ ISteamUserStats_GetMostAchievedAchievementInfo( System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo(_ptr, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual int /*int*/ ISteamUserStats_GetNextMostAchievedAchievementInfo( int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); + return Native.SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo(_ptr, iIteratorPrevious, pchName, unNameBufLen, out pflPercent, ref pbAchieved); } public virtual bool /*bool*/ ISteamUserStats_GetAchievementAchievedPercent( string /*const char **/ pchName, out float /*float **/ pflPercent ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); + return Native.SteamAPI_ISteamUserStats_GetAchievementAchievedPercent(_ptr, pchName, out pflPercent); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUserStats_RequestGlobalStats( int /*int*/ nHistoryDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.RequestGlobalStats(_ptr, nHistoryDays); + return Native.SteamAPI_ISteamUserStats_RequestGlobalStats(_ptr, nHistoryDays); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat( string /*const char **/ pchStatName, out long /*int64 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat(_ptr, pchStatName, out pData); } public virtual bool /*bool*/ ISteamUserStats_GetGlobalStat0( string /*const char **/ pchStatName, out double /*double **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStat0(_ptr, pchStatName, out pData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStat0(_ptr, pchStatName, out pData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory( string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory(_ptr, pchStatName, out pData, cubData); } public virtual int /*int32*/ ISteamUserStats_GetGlobalStatHistory0( string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUserStats _ptr is null!" ); - return Native.ISteamUserStats.GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); + return Native.SteamAPI_ISteamUserStats_GetGlobalStatHistory0(_ptr, pchStatName, out pData, cubData); } public virtual bool /*bool*/ ISteamApps_BIsSubscribed() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribed(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribed(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsLowViolence() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsLowViolence(_ptr); + return Native.SteamAPI_ISteamApps_BIsLowViolence(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsCybercafe() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsCybercafe(_ptr); + return Native.SteamAPI_ISteamApps_BIsCybercafe(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsVACBanned() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsVACBanned(_ptr); + return Native.SteamAPI_ISteamApps_BIsVACBanned(_ptr); } public virtual IntPtr ISteamApps_GetCurrentGameLanguage() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentGameLanguage(_ptr); + return Native.SteamAPI_ISteamApps_GetCurrentGameLanguage(_ptr); } public virtual IntPtr ISteamApps_GetAvailableGameLanguages() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAvailableGameLanguages(_ptr); + return Native.SteamAPI_ISteamApps_GetAvailableGameLanguages(_ptr); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedApp( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedApp(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsSubscribedApp(_ptr, appID); } public virtual bool /*bool*/ ISteamApps_BIsDlcInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsDlcInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsDlcInstalled(_ptr, appID); } public virtual uint /*uint32*/ ISteamApps_GetEarliestPurchaseUnixTime( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetEarliestPurchaseUnixTime(_ptr, nAppID); + return Native.SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_BIsSubscribedFromFreeWeekend() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsSubscribedFromFreeWeekend(_ptr); + return Native.SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend(_ptr); } public virtual int /*int*/ ISteamApps_GetDLCCount() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDLCCount(_ptr); + return Native.SteamAPI_ISteamApps_GetDLCCount(_ptr); } public virtual bool /*bool*/ ISteamApps_BGetDLCDataByIndex( int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_BGetDLCDataByIndex(_ptr, iDLC, ref pAppID, ref pbAvailable, pchName, cchNameBufferSize); } public virtual void /*void*/ ISteamApps_InstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.InstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_InstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_UninstallDLC( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.UninstallDLC(_ptr, nAppID); + Native.SteamAPI_ISteamApps_UninstallDLC(_ptr, nAppID); } public virtual void /*void*/ ISteamApps_RequestAppProofOfPurchaseKey( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAppProofOfPurchaseKey(_ptr, nAppID); + Native.SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey(_ptr, nAppID); } public virtual bool /*bool*/ ISteamApps_GetCurrentBetaName( System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); + return Native.SteamAPI_ISteamApps_GetCurrentBetaName(_ptr, pchName, cchNameBufferSize); } public virtual bool /*bool*/ ISteamApps_MarkContentCorrupt( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.MarkContentCorrupt(_ptr, bMissingFilesOnly); + return Native.SteamAPI_ISteamApps_MarkContentCorrupt(_ptr, bMissingFilesOnly); } public virtual uint /*uint32*/ ISteamApps_GetInstalledDepots( uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); + return Native.SteamAPI_ISteamApps_GetInstalledDepots(_ptr, appID, pvecDepots, cMaxDepots); } public virtual uint /*uint32*/ ISteamApps_GetAppInstallDir( uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); + return Native.SteamAPI_ISteamApps_GetAppInstallDir(_ptr, appID, pchFolder, cchFolderBufferSize); } public virtual bool /*bool*/ ISteamApps_BIsAppInstalled( uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.BIsAppInstalled(_ptr, appID); + return Native.SteamAPI_ISteamApps_BIsAppInstalled(_ptr, appID); } public virtual CSteamID /*(class CSteamID)*/ ISteamApps_GetAppOwner() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppOwner(_ptr); + return Native.SteamAPI_ISteamApps_GetAppOwner(_ptr); } public virtual IntPtr ISteamApps_GetLaunchQueryParam( string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetLaunchQueryParam(_ptr, pchKey); + return Native.SteamAPI_ISteamApps_GetLaunchQueryParam(_ptr, pchKey); } public virtual bool /*bool*/ ISteamApps_GetDlcDownloadProgress( uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamApps_GetDlcDownloadProgress(_ptr, nAppID, out punBytesDownloaded, out punBytesTotal); } public virtual int /*int*/ ISteamApps_GetAppBuildId() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetAppBuildId(_ptr); + return Native.SteamAPI_ISteamApps_GetAppBuildId(_ptr); } public virtual void /*void*/ ISteamApps_RequestAllProofOfPurchaseKeys() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - Native.ISteamApps.RequestAllProofOfPurchaseKeys(_ptr); + Native.SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamApps_GetFileDetails( string /*const char **/ pszFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamApps _ptr is null!" ); - return Native.ISteamApps.GetFileDetails(_ptr, pszFileName); + return Native.SteamAPI_ISteamApps_GetFileDetails(_ptr, pszFileName); } public virtual bool /*bool*/ ISteamNetworking_SendP2PPacket( ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + return Native.SteamAPI_ISteamNetworking_SendP2PPacket(_ptr, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); } public virtual bool /*bool*/ ISteamNetworking_IsP2PPacketAvailable( out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); + return Native.SteamAPI_ISteamNetworking_IsP2PPacketAvailable(_ptr, out pcubMsgSize, nChannel); } public virtual bool /*bool*/ ISteamNetworking_ReadP2PPacket( IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_ReadP2PPacket(_ptr, pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_AcceptP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AcceptP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PSessionWithUser( ulong steamIDRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PSessionWithUser(_ptr, steamIDRemote); + return Native.SteamAPI_ISteamNetworking_CloseP2PSessionWithUser(_ptr, steamIDRemote); } public virtual bool /*bool*/ ISteamNetworking_CloseP2PChannelWithUser( ulong steamIDRemote, int /*int*/ nChannel ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); + return Native.SteamAPI_ISteamNetworking_CloseP2PChannelWithUser(_ptr, steamIDRemote, nChannel); } public virtual bool /*bool*/ ISteamNetworking_GetP2PSessionState( ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState); + return Native.SteamAPI_ISteamNetworking_GetP2PSessionState(_ptr, steamIDRemote, ref pConnectionState); } public virtual bool /*bool*/ ISteamNetworking_AllowP2PPacketRelay( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.AllowP2PPacketRelay(_ptr, bAllow); + return Native.SteamAPI_ISteamNetworking_AllowP2PPacketRelay(_ptr, bAllow); } public virtual SNetListenSocket_t /*(SNetListenSocket_t)*/ ISteamNetworking_CreateListenSocket( int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateListenSocket(_ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateP2PConnectionSocket( ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + return Native.SteamAPI_ISteamNetworking_CreateP2PConnectionSocket(_ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); } public virtual SNetSocket_t /*(SNetSocket_t)*/ ISteamNetworking_CreateConnectionSocket( uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); + return Native.SteamAPI_ISteamNetworking_CreateConnectionSocket(_ptr, nIP, nPort, nTimeoutSec); } public virtual bool /*bool*/ ISteamNetworking_DestroySocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroySocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_DestroyListenSocket( uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); + return Native.SteamAPI_ISteamNetworking_DestroyListenSocket(_ptr, hSocket, bNotifyRemoteEnd); } public virtual bool /*bool*/ ISteamNetworking_SendDataOnSocket( uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); + return Native.SteamAPI_ISteamNetworking_SendDataOnSocket(_ptr, hSocket, pubData, cubData, bReliable); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailableOnSocket( uint hSocket, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_IsDataAvailableOnSocket(_ptr, hSocket, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_RetrieveDataFromSocket( uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); + return Native.SteamAPI_ISteamNetworking_RetrieveDataFromSocket(_ptr, hSocket, pubDest, cubDest, out pcubMsgSize); } public virtual bool /*bool*/ ISteamNetworking_IsDataAvailable( uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_IsDataAvailable(_ptr, hListenSocket, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_RetrieveData( uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); + return Native.SteamAPI_ISteamNetworking_RetrieveData(_ptr, hListenSocket, pubDest, cubDest, out pcubMsgSize, ref phSocket); } public virtual bool /*bool*/ ISteamNetworking_GetSocketInfo( uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); + return Native.SteamAPI_ISteamNetworking_GetSocketInfo(_ptr, hSocket, out pSteamIDRemote, peSocketStatus, out punIPRemote, out punPortRemote); } public virtual bool /*bool*/ ISteamNetworking_GetListenSocketInfo( uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); + return Native.SteamAPI_ISteamNetworking_GetListenSocketInfo(_ptr, hListenSocket, out pnIP, out pnPort); } public virtual SNetSocketConnectionType /*ESNetSocketConnectionType*/ ISteamNetworking_GetSocketConnectionType( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetSocketConnectionType(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetSocketConnectionType(_ptr, hSocket); } public virtual int /*int*/ ISteamNetworking_GetMaxPacketSize( uint hSocket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamNetworking _ptr is null!" ); - return Native.ISteamNetworking.GetMaxPacketSize(_ptr, hSocket); + return Native.SteamAPI_ISteamNetworking_GetMaxPacketSize(_ptr, hSocket); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_WriteScreenshot( IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_WriteScreenshot(_ptr, pubRGB, cubRGB, nWidth, nHeight); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddScreenshotToLibrary( string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); + return Native.SteamAPI_ISteamScreenshots_AddScreenshotToLibrary(_ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight); } public virtual void /*void*/ ISteamScreenshots_TriggerScreenshot() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.TriggerScreenshot(_ptr); + Native.SteamAPI_ISteamScreenshots_TriggerScreenshot(_ptr); } public virtual void /*void*/ ISteamScreenshots_HookScreenshots( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - Native.ISteamScreenshots.HookScreenshots(_ptr, bHook); + Native.SteamAPI_ISteamScreenshots_HookScreenshots(_ptr, bHook); } public virtual bool /*bool*/ ISteamScreenshots_SetLocation( uint hScreenshot, string /*const char **/ pchLocation ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.SetLocation(_ptr, hScreenshot, pchLocation); + return Native.SteamAPI_ISteamScreenshots_SetLocation(_ptr, hScreenshot, pchLocation); } public virtual bool /*bool*/ ISteamScreenshots_TagUser( uint hScreenshot, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagUser(_ptr, hScreenshot, steamID); + return Native.SteamAPI_ISteamScreenshots_TagUser(_ptr, hScreenshot, steamID); } public virtual bool /*bool*/ ISteamScreenshots_TagPublishedFile( uint hScreenshot, ulong unPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); + return Native.SteamAPI_ISteamScreenshots_TagPublishedFile(_ptr, hScreenshot, unPublishedFileID); } public virtual bool /*bool*/ ISteamScreenshots_IsScreenshotsHooked() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.IsScreenshotsHooked(_ptr); + return Native.SteamAPI_ISteamScreenshots_IsScreenshotsHooked(_ptr); } public virtual ScreenshotHandle /*(ScreenshotHandle)*/ ISteamScreenshots_AddVRScreenshotToLibrary( VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamScreenshots _ptr is null!" ); - return Native.ISteamScreenshots.AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); + return Native.SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary(_ptr, eType, pchFilename, pchVRFilename); } public virtual bool /*bool*/ ISteamMusic_BIsEnabled() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsEnabled(_ptr); + return Native.SteamAPI_ISteamMusic_BIsEnabled(_ptr); } public virtual bool /*bool*/ ISteamMusic_BIsPlaying() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.BIsPlaying(_ptr); + return Native.SteamAPI_ISteamMusic_BIsPlaying(_ptr); } public virtual AudioPlayback_Status /*AudioPlayback_Status*/ ISteamMusic_GetPlaybackStatus() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetPlaybackStatus(_ptr); + return Native.SteamAPI_ISteamMusic_GetPlaybackStatus(_ptr); } public virtual void /*void*/ ISteamMusic_Play() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Play(_ptr); + Native.SteamAPI_ISteamMusic_Play(_ptr); } public virtual void /*void*/ ISteamMusic_Pause() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.Pause(_ptr); + Native.SteamAPI_ISteamMusic_Pause(_ptr); } public virtual void /*void*/ ISteamMusic_PlayPrevious() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayPrevious(_ptr); + Native.SteamAPI_ISteamMusic_PlayPrevious(_ptr); } public virtual void /*void*/ ISteamMusic_PlayNext() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.PlayNext(_ptr); + Native.SteamAPI_ISteamMusic_PlayNext(_ptr); } public virtual void /*void*/ ISteamMusic_SetVolume( float /*float*/ flVolume ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - Native.ISteamMusic.SetVolume(_ptr, flVolume); + Native.SteamAPI_ISteamMusic_SetVolume(_ptr, flVolume); } public virtual float /*float*/ ISteamMusic_GetVolume() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusic _ptr is null!" ); - return Native.ISteamMusic.GetVolume(_ptr); + return Native.SteamAPI_ISteamMusic_GetVolume(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_RegisterSteamMusicRemote( string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.RegisterSteamMusicRemote(_ptr, pchName); + return Native.SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote(_ptr, pchName); } public virtual bool /*bool*/ ISteamMusicRemote_DeregisterSteamMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.DeregisterSteamMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BIsCurrentMusicRemote() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BIsCurrentMusicRemote(_ptr); + return Native.SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_BActivationSuccess( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.BActivationSuccess(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_BActivationSuccess(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_SetDisplayName( string /*const char **/ pchDisplayName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetDisplayName(_ptr, pchDisplayName); + return Native.SteamAPI_ISteamMusicRemote_SetDisplayName(_ptr, pchDisplayName); } public virtual bool /*bool*/ ISteamMusicRemote_SetPNGIcon_64x64( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayPrevious( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayPrevious(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayPrevious(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlayNext( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlayNext(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlayNext(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnableQueue( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnableQueue(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnableQueue(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_EnablePlaylists( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.EnablePlaylists(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_EnablePlaylists(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdatePlaybackStatus( AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdatePlaybackStatus(_ptr, nStatus); + return Native.SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus(_ptr, nStatus); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateShuffled( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateShuffled(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateShuffled(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateLooped( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateLooped(_ptr, bValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateLooped(_ptr, bValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateVolume( float /*float*/ flValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateVolume(_ptr, flValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateVolume(_ptr, flValue); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryIsAvailable( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryIsAvailable(_ptr, bAvailable); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable(_ptr, bAvailable); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryText( string /*const char **/ pchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryText(_ptr, pchText); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText(_ptr, pchText); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( int /*int*/ nValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds(_ptr, nValue); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds(_ptr, nValue); } public virtual bool /*bool*/ ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); + return Native.SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt(_ptr, pvBuffer, cbBufferLength); } public virtual bool /*bool*/ ISteamMusicRemote_CurrentEntryDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.CurrentEntryDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_CurrentEntryDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_QueueWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetQueueEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetQueueEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetQueueEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetQueueEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetQueueEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetQueueEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentQueueEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentQueueEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_QueueDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.QueueDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_QueueDidChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistWillChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistWillChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistWillChange(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_ResetPlaylistEntries() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.ResetPlaylistEntries(_ptr); + return Native.SteamAPI_ISteamMusicRemote_ResetPlaylistEntries(_ptr); } public virtual bool /*bool*/ ISteamMusicRemote_SetPlaylistEntry( int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); + return Native.SteamAPI_ISteamMusicRemote_SetPlaylistEntry(_ptr, nID, nPosition, pchEntryText); } public virtual bool /*bool*/ ISteamMusicRemote_SetCurrentPlaylistEntry( int /*int*/ nID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.SetCurrentPlaylistEntry(_ptr, nID); + return Native.SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry(_ptr, nID); } public virtual bool /*bool*/ ISteamMusicRemote_PlaylistDidChange() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamMusicRemote _ptr is null!" ); - return Native.ISteamMusicRemote.PlaylistDidChange(_ptr); + return Native.SteamAPI_ISteamMusicRemote_PlaylistDidChange(_ptr); } public virtual HTTPRequestHandle /*(HTTPRequestHandle)*/ ISteamHTTP_CreateHTTPRequest( HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); + return Native.SteamAPI_ISteamHTTP_CreateHTTPRequest(_ptr, eHTTPRequestMethod, pchAbsoluteURL); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestContextValue( uint hRequest, ulong /*uint64*/ ulContextValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestContextValue(_ptr, hRequest, ulContextValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( uint hRequest, uint /*uint32*/ unTimeoutSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout(_ptr, hRequest, unTimeoutSeconds); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue(_ptr, hRequest, pchHeaderName, pchHeaderValue); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestGetOrPostParameter( uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter(_ptr, hRequest, pchParamName, pchParamValue); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequest( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequest(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequest(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_SendHTTPRequestAndStreamResponse( uint hRequest, ref ulong pCallHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); + return Native.SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse(_ptr, hRequest, ref pCallHandle); } public virtual bool /*bool*/ ISteamHTTP_DeferHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.DeferHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_DeferHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_PrioritizeHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.PrioritizeHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_PrioritizeHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderSize( uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize(_ptr, hRequest, pchHeaderName, out unResponseHeaderSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseHeaderValue( uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue(_ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodySize( uint hRequest, out uint /*uint32 **/ unBodySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodySize(_ptr, hRequest, out unBodySize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPResponseBodyData( uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPResponseBodyData(_ptr, hRequest, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPStreamingResponseBodyData( uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); + return Native.SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData(_ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize); } public virtual bool /*bool*/ ISteamHTTP_ReleaseHTTPRequest( uint hRequest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseHTTPRequest(_ptr, hRequest); + return Native.SteamAPI_ISteamHTTP_ReleaseHTTPRequest(_ptr, hRequest); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPDownloadProgressPct( uint hRequest, out float /*float **/ pflPercentOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct(_ptr, hRequest, out pflPercentOut); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRawPostBody( uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody(_ptr, hRequest, pchContentType, out pubBody, unBodyLen); } public virtual HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ ISteamHTTP_CreateCookieContainer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.CreateCookieContainer(_ptr, bAllowResponsesToModify); + return Native.SteamAPI_ISteamHTTP_CreateCookieContainer(_ptr, bAllowResponsesToModify); } public virtual bool /*bool*/ ISteamHTTP_ReleaseCookieContainer( uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.ReleaseCookieContainer(_ptr, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_ReleaseCookieContainer(_ptr, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetCookie( uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); + return Native.SteamAPI_ISteamHTTP_SetCookie(_ptr, hCookieContainer, pchHost, pchUrl, pchCookie); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestCookieContainer( uint hRequest, uint hCookieContainer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer(_ptr, hRequest, hCookieContainer); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestUserAgentInfo( uint hRequest, string /*const char **/ pchUserAgentInfo ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo(_ptr, hRequest, pchUserAgentInfo); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate(_ptr, hRequest, bRequireVerifiedCertificate); } public virtual bool /*bool*/ ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( uint hRequest, uint /*uint32*/ unMilliseconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); + return Native.SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS(_ptr, hRequest, unMilliseconds); } public virtual bool /*bool*/ ISteamHTTP_GetHTTPRequestWasTimedOut( uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTTP _ptr is null!" ); - return Native.ISteamHTTP.GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); + return Native.SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut(_ptr, hRequest, ref pbWasTimedOut); } public virtual ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ ISteamUnifiedMessages_SendMethod( string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); + return Native.SteamAPI_ISteamUnifiedMessages_SendMethod(_ptr, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseInfo( ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo(_ptr, hHandle, out punResponseSize, out peResult); } public virtual bool /*bool*/ ISteamUnifiedMessages_GetMethodResponseData( ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); + return Native.SteamAPI_ISteamUnifiedMessages_GetMethodResponseData(_ptr, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); } public virtual bool /*bool*/ ISteamUnifiedMessages_ReleaseMethod( ulong hHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.ReleaseMethod(_ptr, hHandle); + return Native.SteamAPI_ISteamUnifiedMessages_ReleaseMethod(_ptr, hHandle); } public virtual bool /*bool*/ ISteamUnifiedMessages_SendNotification( string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUnifiedMessages _ptr is null!" ); - return Native.ISteamUnifiedMessages.SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); + return Native.SteamAPI_ISteamUnifiedMessages_SendNotification(_ptr, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); } public virtual bool /*bool*/ ISteamController_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Init(_ptr); + return Native.SteamAPI_ISteamController_Init(_ptr); } public virtual bool /*bool*/ ISteamController_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.Shutdown(_ptr); + return Native.SteamAPI_ISteamController_Shutdown(_ptr); } public virtual void /*void*/ ISteamController_RunFrame() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.RunFrame(_ptr); + Native.SteamAPI_ISteamController_RunFrame(_ptr); } public virtual int /*int*/ ISteamController_GetConnectedControllers( IntPtr /*ControllerHandle_t **/ handlesOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetConnectedControllers(_ptr, handlesOut); + return Native.SteamAPI_ISteamController_GetConnectedControllers(_ptr, handlesOut); } public virtual bool /*bool*/ ISteamController_ShowBindingPanel( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowBindingPanel(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_ShowBindingPanel(_ptr, controllerHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetActionSetHandle( string /*const char **/ pszActionSetName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetActionSetHandle(_ptr, pszActionSetName); + return Native.SteamAPI_ISteamController_GetActionSetHandle(_ptr, pszActionSetName); } public virtual void /*void*/ ISteamController_ActivateActionSet( ulong controllerHandle, ulong actionSetHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.ActivateActionSet(_ptr, controllerHandle, actionSetHandle); + Native.SteamAPI_ISteamController_ActivateActionSet(_ptr, controllerHandle, actionSetHandle); } public virtual ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ ISteamController_GetCurrentActionSet( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetCurrentActionSet(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetCurrentActionSet(_ptr, controllerHandle); } public virtual ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ ISteamController_GetDigitalActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetDigitalActionHandle(_ptr, pszActionName); } public virtual ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ ISteamController_GetDigitalActionData( ulong controllerHandle, ulong digitalActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); + return Native.SteamAPI_ISteamController_GetDigitalActionData(_ptr, controllerHandle, digitalActionHandle); } public virtual int /*int*/ ISteamController_GetDigitalActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetDigitalActionOrigins(_ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut); } public virtual ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ ISteamController_GetAnalogActionHandle( string /*const char **/ pszActionName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionHandle(_ptr, pszActionName); + return Native.SteamAPI_ISteamController_GetAnalogActionHandle(_ptr, pszActionName); } public virtual ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ ISteamController_GetAnalogActionData( ulong controllerHandle, ulong analogActionHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); + return Native.SteamAPI_ISteamController_GetAnalogActionData(_ptr, controllerHandle, analogActionHandle); } public virtual int /*int*/ ISteamController_GetAnalogActionOrigins( ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); + return Native.SteamAPI_ISteamController_GetAnalogActionOrigins(_ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut); } public virtual void /*void*/ ISteamController_StopAnalogActionMomentum( ulong controllerHandle, ulong eAction ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.StopAnalogActionMomentum(_ptr, controllerHandle, eAction); + Native.SteamAPI_ISteamController_StopAnalogActionMomentum(_ptr, controllerHandle, eAction); } public virtual void /*void*/ ISteamController_TriggerHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); + Native.SteamAPI_ISteamController_TriggerHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec); } public virtual void /*void*/ ISteamController_TriggerRepeatedHapticPulse( ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - Native.ISteamController.TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + Native.SteamAPI_ISteamController_TriggerRepeatedHapticPulse(_ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); } public virtual int /*int*/ ISteamController_GetGamepadIndexForController( ulong ulControllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetGamepadIndexForController(_ptr, ulControllerHandle); + return Native.SteamAPI_ISteamController_GetGamepadIndexForController(_ptr, ulControllerHandle); } public virtual ControllerHandle_t /*(ControllerHandle_t)*/ ISteamController_GetControllerForGamepadIndex( int /*int*/ nIndex ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetControllerForGamepadIndex(_ptr, nIndex); + return Native.SteamAPI_ISteamController_GetControllerForGamepadIndex(_ptr, nIndex); } public virtual ControllerMotionData_t /*struct ControllerMotionData_t*/ ISteamController_GetMotionData( ulong controllerHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.GetMotionData(_ptr, controllerHandle); + return Native.SteamAPI_ISteamController_GetMotionData(_ptr, controllerHandle); } public virtual bool /*bool*/ ISteamController_ShowDigitalActionOrigins( ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowDigitalActionOrigins(_ptr, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); } public virtual bool /*bool*/ ISteamController_ShowAnalogActionOrigins( ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamController _ptr is null!" ); - return Native.ISteamController.ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + return Native.SteamAPI_ISteamController_ShowAnalogActionOrigins(_ptr, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUserUGCRequest( uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(_ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryAllUGCRequest( UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + return Native.SteamAPI_ISteamUGC_CreateQueryAllUGCRequest(_ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); } public virtual UGCQueryHandle_t /*(UGCQueryHandle_t)*/ ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SendQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SendQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_SendQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCResult( ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCResult(_ptr, handle, index, ref pDetails); + return Native.SteamAPI_ISteamUGC_GetQueryUGCResult(_ptr, handle, index, ref pDetails); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCPreviewURL( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCPreviewURL(_ptr, handle, index, pchURL, cchURLSize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCMetadata( ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCMetadata(_ptr, handle, index, pchMetadata, cchMetadatasize); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCChildren( ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetQueryUGCChildren(_ptr, handle, index, pvecPublishedFileID, cMaxEntries); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCStatistic( ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); + return Native.SteamAPI_ISteamUGC_GetQueryUGCStatistic(_ptr, handle, index, eStatType, out pStatValue); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumAdditionalPreviews( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCAdditionalPreview( ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); + return Native.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(_ptr, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, out pPreviewType); } public virtual uint /*uint32*/ ISteamUGC_GetQueryUGCNumKeyValueTags( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCNumKeyValueTags(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(_ptr, handle, index); } public virtual bool /*bool*/ ISteamUGC_GetQueryUGCKeyValueTag( ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + return Native.SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(_ptr, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); } public virtual bool /*bool*/ ISteamUGC_ReleaseQueryUGCRequest( ulong handle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.ReleaseQueryUGCRequest(_ptr, handle); + return Native.SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(_ptr, handle); } public virtual bool /*bool*/ ISteamUGC_AddRequiredTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddRequiredTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_AddExcludedTag( ulong handle, string /*const char **/ pTagName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddExcludedTag(_ptr, handle, pTagName); + return Native.SteamAPI_ISteamUGC_AddExcludedTag(_ptr, handle, pTagName); } public virtual bool /*bool*/ ISteamUGC_SetReturnOnlyIDs( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); + return Native.SteamAPI_ISteamUGC_SetReturnOnlyIDs(_ptr, handle, bReturnOnlyIDs); } public virtual bool /*bool*/ ISteamUGC_SetReturnKeyValueTags( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); + return Native.SteamAPI_ISteamUGC_SetReturnKeyValueTags(_ptr, handle, bReturnKeyValueTags); } public virtual bool /*bool*/ ISteamUGC_SetReturnLongDescription( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnLongDescription(_ptr, handle, bReturnLongDescription); + return Native.SteamAPI_ISteamUGC_SetReturnLongDescription(_ptr, handle, bReturnLongDescription); } public virtual bool /*bool*/ ISteamUGC_SetReturnMetadata( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnMetadata(_ptr, handle, bReturnMetadata); + return Native.SteamAPI_ISteamUGC_SetReturnMetadata(_ptr, handle, bReturnMetadata); } public virtual bool /*bool*/ ISteamUGC_SetReturnChildren( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnChildren(_ptr, handle, bReturnChildren); + return Native.SteamAPI_ISteamUGC_SetReturnChildren(_ptr, handle, bReturnChildren); } public virtual bool /*bool*/ ISteamUGC_SetReturnAdditionalPreviews( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); + return Native.SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(_ptr, handle, bReturnAdditionalPreviews); } public virtual bool /*bool*/ ISteamUGC_SetReturnTotalOnly( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); + return Native.SteamAPI_ISteamUGC_SetReturnTotalOnly(_ptr, handle, bReturnTotalOnly); } public virtual bool /*bool*/ ISteamUGC_SetLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetAllowCachedResponse( ulong handle, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_SetAllowCachedResponse(_ptr, handle, unMaxAgeSeconds); } public virtual bool /*bool*/ ISteamUGC_SetCloudFileNameFilter( ulong handle, string /*const char **/ pMatchCloudFileName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); + return Native.SteamAPI_ISteamUGC_SetCloudFileNameFilter(_ptr, handle, pMatchCloudFileName); } public virtual bool /*bool*/ ISteamUGC_SetMatchAnyTag( ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetMatchAnyTag(_ptr, handle, bMatchAnyTag); + return Native.SteamAPI_ISteamUGC_SetMatchAnyTag(_ptr, handle, bMatchAnyTag); } public virtual bool /*bool*/ ISteamUGC_SetSearchText( ulong handle, string /*const char **/ pSearchText ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetSearchText(_ptr, handle, pSearchText); + return Native.SteamAPI_ISteamUGC_SetSearchText(_ptr, handle, pSearchText); } public virtual bool /*bool*/ ISteamUGC_SetRankedByTrendDays( ulong handle, uint /*uint32*/ unDays ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetRankedByTrendDays(_ptr, handle, unDays); + return Native.SteamAPI_ISteamUGC_SetRankedByTrendDays(_ptr, handle, unDays); } public virtual bool /*bool*/ ISteamUGC_AddRequiredKeyValueTag( ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); + return Native.SteamAPI_ISteamUGC_AddRequiredKeyValueTag(_ptr, handle, pKey, pValue); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RequestUGCDetails( ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); + return Native.SteamAPI_ISteamUGC_RequestUGCDetails(_ptr, nPublishedFileID, unMaxAgeSeconds); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_CreateItem( uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.CreateItem(_ptr, nConsumerAppId, eFileType); + return Native.SteamAPI_ISteamUGC_CreateItem(_ptr, nConsumerAppId, eFileType); } public virtual UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ ISteamUGC_StartItemUpdate( uint nConsumerAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_StartItemUpdate(_ptr, nConsumerAppId, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_SetItemTitle( ulong handle, string /*const char **/ pchTitle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTitle(_ptr, handle, pchTitle); + return Native.SteamAPI_ISteamUGC_SetItemTitle(_ptr, handle, pchTitle); } public virtual bool /*bool*/ ISteamUGC_SetItemDescription( ulong handle, string /*const char **/ pchDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemDescription(_ptr, handle, pchDescription); + return Native.SteamAPI_ISteamUGC_SetItemDescription(_ptr, handle, pchDescription); } public virtual bool /*bool*/ ISteamUGC_SetItemUpdateLanguage( ulong handle, string /*const char **/ pchLanguage ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemUpdateLanguage(_ptr, handle, pchLanguage); + return Native.SteamAPI_ISteamUGC_SetItemUpdateLanguage(_ptr, handle, pchLanguage); } public virtual bool /*bool*/ ISteamUGC_SetItemMetadata( ulong handle, string /*const char **/ pchMetaData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemMetadata(_ptr, handle, pchMetaData); + return Native.SteamAPI_ISteamUGC_SetItemMetadata(_ptr, handle, pchMetaData); } public virtual bool /*bool*/ ISteamUGC_SetItemVisibility( ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemVisibility(_ptr, handle, eVisibility); + return Native.SteamAPI_ISteamUGC_SetItemVisibility(_ptr, handle, eVisibility); } public virtual bool /*bool*/ ISteamUGC_SetItemTags( ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemTags(_ptr, updateHandle, ref pTags); + return Native.SteamAPI_ISteamUGC_SetItemTags(_ptr, updateHandle, ref pTags); } public virtual bool /*bool*/ ISteamUGC_SetItemContent( ulong handle, string /*const char **/ pszContentFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemContent(_ptr, handle, pszContentFolder); + return Native.SteamAPI_ISteamUGC_SetItemContent(_ptr, handle, pszContentFolder); } public virtual bool /*bool*/ ISteamUGC_SetItemPreview( ulong handle, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetItemPreview(_ptr, handle, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_SetItemPreview(_ptr, handle, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_RemoveItemKeyValueTags( ulong handle, string /*const char **/ pchKey ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemKeyValueTags(_ptr, handle, pchKey); + return Native.SteamAPI_ISteamUGC_RemoveItemKeyValueTags(_ptr, handle, pchKey); } public virtual bool /*bool*/ ISteamUGC_AddItemKeyValueTag( ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); + return Native.SteamAPI_ISteamUGC_AddItemKeyValueTag(_ptr, handle, pchKey, pchValue); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewFile( ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); + return Native.SteamAPI_ISteamUGC_AddItemPreviewFile(_ptr, handle, pszPreviewFile, type); } public virtual bool /*bool*/ ISteamUGC_AddItemPreviewVideo( ulong handle, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemPreviewVideo(_ptr, handle, pszVideoID); + return Native.SteamAPI_ISteamUGC_AddItemPreviewVideo(_ptr, handle, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewFile( ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewFile(_ptr, handle, index, pszPreviewFile); } public virtual bool /*bool*/ ISteamUGC_UpdateItemPreviewVideo( ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); + return Native.SteamAPI_ISteamUGC_UpdateItemPreviewVideo(_ptr, handle, index, pszVideoID); } public virtual bool /*bool*/ ISteamUGC_RemoveItemPreview( ulong handle, uint /*uint32*/ index ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemPreview(_ptr, handle, index); + return Native.SteamAPI_ISteamUGC_RemoveItemPreview(_ptr, handle, index); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubmitItemUpdate( ulong handle, string /*const char **/ pchChangeNote ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubmitItemUpdate(_ptr, handle, pchChangeNote); + return Native.SteamAPI_ISteamUGC_SubmitItemUpdate(_ptr, handle, pchChangeNote); } public virtual ItemUpdateStatus /*EItemUpdateStatus*/ ISteamUGC_GetItemUpdateProgress( ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemUpdateProgress(_ptr, handle, out punBytesProcessed, out punBytesTotal); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SetUserItemVote( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); + return Native.SteamAPI_ISteamUGC_SetUserItemVote(_ptr, nPublishedFileID, bVoteUp); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_GetUserItemVote( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetUserItemVote(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetUserItemVote(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_AddItemToFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.AddItemToFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_AddItemToFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_RemoveItemFromFavorites( uint nAppId, ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_RemoveItemFromFavorites(_ptr, nAppId, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_SubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.SubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_SubscribeItem(_ptr, nPublishedFileID); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_UnsubscribeItem( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.UnsubscribeItem(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_UnsubscribeItem(_ptr, nPublishedFileID); } public virtual uint /*uint32*/ ISteamUGC_GetNumSubscribedItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetNumSubscribedItems(_ptr); + return Native.SteamAPI_ISteamUGC_GetNumSubscribedItems(_ptr); } public virtual uint /*uint32*/ ISteamUGC_GetSubscribedItems( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); + return Native.SteamAPI_ISteamUGC_GetSubscribedItems(_ptr, pvecPublishedFileID, cMaxEntries); } public virtual uint /*uint32*/ ISteamUGC_GetItemState( ulong nPublishedFileID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemState(_ptr, nPublishedFileID); + return Native.SteamAPI_ISteamUGC_GetItemState(_ptr, nPublishedFileID); } public virtual bool /*bool*/ ISteamUGC_GetItemInstallInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); + return Native.SteamAPI_ISteamUGC_GetItemInstallInfo(_ptr, nPublishedFileID, out punSizeOnDisk, pchFolder, cchFolderSize, out punTimeStamp); } public virtual bool /*bool*/ ISteamUGC_GetItemDownloadInfo( ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); + return Native.SteamAPI_ISteamUGC_GetItemDownloadInfo(_ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal); } public virtual bool /*bool*/ ISteamUGC_DownloadItem( ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.DownloadItem(_ptr, nPublishedFileID, bHighPriority); + return Native.SteamAPI_ISteamUGC_DownloadItem(_ptr, nPublishedFileID, bHighPriority); } public virtual bool /*bool*/ ISteamUGC_BInitWorkshopForGameServer( uint unWorkshopDepotID, string /*const char **/ pszFolder ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); + return Native.SteamAPI_ISteamUGC_BInitWorkshopForGameServer(_ptr, unWorkshopDepotID, pszFolder); } public virtual void /*void*/ ISteamUGC_SuspendDownloads( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - Native.ISteamUGC.SuspendDownloads(_ptr, bSuspend); + Native.SteamAPI_ISteamUGC_SuspendDownloads(_ptr, bSuspend); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StartPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StartPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTracking( IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTracking(_ptr, pvecPublishedFileID, unNumPublishedFileIDs); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamUGC_StopPlaytimeTrackingForAllItems() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamUGC _ptr is null!" ); - return Native.ISteamUGC.StopPlaytimeTrackingForAllItems(_ptr); + return Native.SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetNumInstalledApps() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetNumInstalledApps(_ptr); + return Native.SteamAPI_ISteamAppList_GetNumInstalledApps(_ptr); } public virtual uint /*uint32*/ ISteamAppList_GetInstalledApps( IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); + return Native.SteamAPI_ISteamAppList_GetInstalledApps(_ptr, pvecAppID, unMaxAppIDs); } public virtual int /*int*/ ISteamAppList_GetAppName( uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppName(_ptr, nAppID, pchName, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppName(_ptr, nAppID, pchName, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppInstallDir( uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); + return Native.SteamAPI_ISteamAppList_GetAppInstallDir(_ptr, nAppID, pchDirectory, cchNameMax); } public virtual int /*int*/ ISteamAppList_GetAppBuildId( uint nAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamAppList _ptr is null!" ); - return Native.ISteamAppList.GetAppBuildId(_ptr, nAppID); + return Native.SteamAPI_ISteamAppList_GetAppBuildId(_ptr, nAppID); } public virtual void /*void*/ ISteamHTMLSurface_DestructISteamHTMLSurface() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.DestructISteamHTMLSurface(_ptr); + Native.SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Init() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Init(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Init(_ptr); } public virtual bool /*bool*/ ISteamHTMLSurface_Shutdown() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.Shutdown(_ptr); + return Native.SteamAPI_ISteamHTMLSurface_Shutdown(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamHTMLSurface_CreateBrowser( string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - return Native.ISteamHTMLSurface.CreateBrowser(_ptr, pchUserAgent, pchUserCSS); + return Native.SteamAPI_ISteamHTMLSurface_CreateBrowser(_ptr, pchUserAgent, pchUserCSS); } public virtual void /*void*/ ISteamHTMLSurface_RemoveBrowser( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.RemoveBrowser(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_RemoveBrowser(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_LoadURL( uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); + Native.SteamAPI_ISteamHTMLSurface_LoadURL(_ptr, unBrowserHandle, pchURL, pchPostData); } public virtual void /*void*/ ISteamHTMLSurface_SetSize( uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetSize(_ptr, unBrowserHandle, unWidth, unHeight); + Native.SteamAPI_ISteamHTMLSurface_SetSize(_ptr, unBrowserHandle, unWidth, unHeight); } public virtual void /*void*/ ISteamHTMLSurface_StopLoad( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopLoad(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopLoad(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Reload( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Reload(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_Reload(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoBack( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoBack(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoBack(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GoForward( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GoForward(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_GoForward(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_AddHeader( uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); + Native.SteamAPI_ISteamHTMLSurface_AddHeader(_ptr, unBrowserHandle, pchKey, pchValue); } public virtual void /*void*/ ISteamHTMLSurface_ExecuteJavascript( uint unBrowserHandle, string /*const char **/ pchScript ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ExecuteJavascript(_ptr, unBrowserHandle, pchScript); + Native.SteamAPI_ISteamHTMLSurface_ExecuteJavascript(_ptr, unBrowserHandle, pchScript); } public virtual void /*void*/ ISteamHTMLSurface_MouseUp( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseUp(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseUp(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDown( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDown(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDown(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseDoubleClick( uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); + Native.SteamAPI_ISteamHTMLSurface_MouseDoubleClick(_ptr, unBrowserHandle, eMouseButton); } public virtual void /*void*/ ISteamHTMLSurface_MouseMove( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseMove(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_MouseMove(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_MouseWheel( uint unBrowserHandle, int /*int32*/ nDelta ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.MouseWheel(_ptr, unBrowserHandle, nDelta); + Native.SteamAPI_ISteamHTMLSurface_MouseWheel(_ptr, unBrowserHandle, nDelta); } public virtual void /*void*/ ISteamHTMLSurface_KeyDown( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyDown(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyUp( uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyUp(_ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_KeyChar( uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + Native.SteamAPI_ISteamHTMLSurface_KeyChar(_ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); } public virtual void /*void*/ ISteamHTMLSurface_SetHorizontalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetHorizontalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetVerticalScroll( uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); + Native.SteamAPI_ISteamHTMLSurface_SetVerticalScroll(_ptr, unBrowserHandle, nAbsolutePixelScroll); } public virtual void /*void*/ ISteamHTMLSurface_SetKeyFocus( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); + Native.SteamAPI_ISteamHTMLSurface_SetKeyFocus(_ptr, unBrowserHandle, bHasKeyFocus); } public virtual void /*void*/ ISteamHTMLSurface_ViewSource( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.ViewSource(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_ViewSource(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_CopyToClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.CopyToClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_CopyToClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_PasteFromClipboard( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.PasteFromClipboard(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_PasteFromClipboard(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_Find( uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + Native.SteamAPI_ISteamHTMLSurface_Find(_ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); } public virtual void /*void*/ ISteamHTMLSurface_StopFind( uint unBrowserHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.StopFind(_ptr, unBrowserHandle); + Native.SteamAPI_ISteamHTMLSurface_StopFind(_ptr, unBrowserHandle); } public virtual void /*void*/ ISteamHTMLSurface_GetLinkAtPosition( uint unBrowserHandle, int /*int*/ x, int /*int*/ y ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.GetLinkAtPosition(_ptr, unBrowserHandle, x, y); + Native.SteamAPI_ISteamHTMLSurface_GetLinkAtPosition(_ptr, unBrowserHandle, x, y); } public virtual void /*void*/ ISteamHTMLSurface_SetCookie( string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + Native.SteamAPI_ISteamHTMLSurface_SetCookie(_ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); } public virtual void /*void*/ ISteamHTMLSurface_SetPageScaleFactor( uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); + Native.SteamAPI_ISteamHTMLSurface_SetPageScaleFactor(_ptr, unBrowserHandle, flZoom, nPointX, nPointY); } public virtual void /*void*/ ISteamHTMLSurface_SetBackgroundMode( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); + Native.SteamAPI_ISteamHTMLSurface_SetBackgroundMode(_ptr, unBrowserHandle, bBackgroundMode); } public virtual void /*void*/ ISteamHTMLSurface_AllowStartRequest( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.AllowStartRequest(_ptr, unBrowserHandle, bAllowed); + Native.SteamAPI_ISteamHTMLSurface_AllowStartRequest(_ptr, unBrowserHandle, bAllowed); } public virtual void /*void*/ ISteamHTMLSurface_JSDialogResponse( uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamHTMLSurface _ptr is null!" ); - Native.ISteamHTMLSurface.JSDialogResponse(_ptr, unBrowserHandle, bResult); + Native.SteamAPI_ISteamHTMLSurface_JSDialogResponse(_ptr, unBrowserHandle, bResult); } public virtual Result /*EResult*/ ISteamInventory_GetResultStatus( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultStatus(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultStatus(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetResultItems( int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); + return Native.SteamAPI_ISteamInventory_GetResultItems(_ptr, resultHandle, pOutItemsArray, out punOutItemsArraySize); } public virtual uint /*uint32*/ ISteamInventory_GetResultTimestamp( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetResultTimestamp(_ptr, resultHandle); + return Native.SteamAPI_ISteamInventory_GetResultTimestamp(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_CheckResultSteamID( int resultHandle, ulong steamIDExpected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.CheckResultSteamID(_ptr, resultHandle, steamIDExpected); + return Native.SteamAPI_ISteamInventory_CheckResultSteamID(_ptr, resultHandle, steamIDExpected); } public virtual void /*void*/ ISteamInventory_DestroyResult( int resultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.DestroyResult(_ptr, resultHandle); + Native.SteamAPI_ISteamInventory_DestroyResult(_ptr, resultHandle); } public virtual bool /*bool*/ ISteamInventory_GetAllItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetAllItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GetAllItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_GetItemsByID( ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); + return Native.SteamAPI_ISteamInventory_GetItemsByID(_ptr, ref pResultHandle, pInstanceIDs, unCountInstanceIDs); } public virtual bool /*bool*/ ISteamInventory_SerializeResult( int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); + return Native.SteamAPI_ISteamInventory_SerializeResult(_ptr, resultHandle, pOutBuffer, out punOutBufferSize); } public virtual bool /*bool*/ ISteamInventory_DeserializeResult( ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + return Native.SteamAPI_ISteamInventory_DeserializeResult(_ptr, ref pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); } public virtual bool /*bool*/ ISteamInventory_GenerateItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); + return Native.SteamAPI_ISteamInventory_GenerateItems(_ptr, ref pResultHandle, pArrayItemDefs, out punArrayQuantity, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_GrantPromoItems( ref int pResultHandle ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GrantPromoItems(_ptr, ref pResultHandle); + return Native.SteamAPI_ISteamInventory_GrantPromoItems(_ptr, ref pResultHandle); } public virtual bool /*bool*/ ISteamInventory_AddPromoItem( ref int pResultHandle, int itemDef ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItem(_ptr, ref pResultHandle, itemDef); + return Native.SteamAPI_ISteamInventory_AddPromoItem(_ptr, ref pResultHandle, itemDef); } public virtual bool /*bool*/ ISteamInventory_AddPromoItems( ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); + return Native.SteamAPI_ISteamInventory_AddPromoItems(_ptr, ref pResultHandle, pArrayItemDefs, unArrayLength); } public virtual bool /*bool*/ ISteamInventory_ConsumeItem( ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); + return Native.SteamAPI_ISteamInventory_ConsumeItem(_ptr, ref pResultHandle, itemConsume, unQuantity); } public virtual bool /*bool*/ ISteamInventory_ExchangeItems( ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + return Native.SteamAPI_ISteamInventory_ExchangeItems(_ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); } public virtual bool /*bool*/ ISteamInventory_TransferItemQuantity( ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); + return Native.SteamAPI_ISteamInventory_TransferItemQuantity(_ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest); } public virtual void /*void*/ ISteamInventory_SendItemDropHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - Native.ISteamInventory.SendItemDropHeartbeat(_ptr); + Native.SteamAPI_ISteamInventory_SendItemDropHeartbeat(_ptr); } public virtual bool /*bool*/ ISteamInventory_TriggerItemDrop( ref int pResultHandle, int dropListDefinition ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); + return Native.SteamAPI_ISteamInventory_TriggerItemDrop(_ptr, ref pResultHandle, dropListDefinition); } public virtual bool /*bool*/ ISteamInventory_TradeItems( ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); + return Native.SteamAPI_ISteamInventory_TradeItems(_ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength); } public virtual bool /*bool*/ ISteamInventory_LoadItemDefinitions() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.LoadItemDefinitions(_ptr); + return Native.SteamAPI_ISteamInventory_LoadItemDefinitions(_ptr); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionIDs( IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionIDs(_ptr, pItemDefIDs, out punItemDefIDsArraySize); } public virtual bool /*bool*/ ISteamInventory_GetItemDefinitionProperty( int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamInventory _ptr is null!" ); - return Native.ISteamInventory.GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); + return Native.SteamAPI_ISteamInventory_GetItemDefinitionProperty(_ptr, iDefinition, pchPropertyName, pchValueBuffer, out punValueBufferSizeOut); } public virtual void /*void*/ ISteamVideo_GetVideoURL( uint unVideoAppID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - Native.ISteamVideo.GetVideoURL(_ptr, unVideoAppID); + Native.SteamAPI_ISteamVideo_GetVideoURL(_ptr, unVideoAppID); } public virtual bool /*bool*/ ISteamVideo_IsBroadcasting( IntPtr /*int **/ pnNumViewers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamVideo _ptr is null!" ); - return Native.ISteamVideo.IsBroadcasting(_ptr, pnNumViewers); + return Native.SteamAPI_ISteamVideo_IsBroadcasting(_ptr, pnNumViewers); } public virtual bool /*bool*/ ISteamGameServer_InitGameServer( uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + return Native.SteamAPI_ISteamGameServer_InitGameServer(_ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); } public virtual void /*void*/ ISteamGameServer_SetProduct( string /*const char **/ pszProduct ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetProduct(_ptr, pszProduct); + Native.SteamAPI_ISteamGameServer_SetProduct(_ptr, pszProduct); } public virtual void /*void*/ ISteamGameServer_SetGameDescription( string /*const char **/ pszGameDescription ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameDescription(_ptr, pszGameDescription); + Native.SteamAPI_ISteamGameServer_SetGameDescription(_ptr, pszGameDescription); } public virtual void /*void*/ ISteamGameServer_SetModDir( string /*const char **/ pszModDir ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetModDir(_ptr, pszModDir); + Native.SteamAPI_ISteamGameServer_SetModDir(_ptr, pszModDir); } public virtual void /*void*/ ISteamGameServer_SetDedicatedServer( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetDedicatedServer(_ptr, bDedicated); + Native.SteamAPI_ISteamGameServer_SetDedicatedServer(_ptr, bDedicated); } public virtual void /*void*/ ISteamGameServer_LogOn( string /*const char **/ pszToken ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOn(_ptr, pszToken); + Native.SteamAPI_ISteamGameServer_LogOn(_ptr, pszToken); } public virtual void /*void*/ ISteamGameServer_LogOnAnonymous() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOnAnonymous(_ptr); + Native.SteamAPI_ISteamGameServer_LogOnAnonymous(_ptr); } public virtual void /*void*/ ISteamGameServer_LogOff() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.LogOff(_ptr); + Native.SteamAPI_ISteamGameServer_LogOff(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BLoggedOn() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BLoggedOn(_ptr); + return Native.SteamAPI_ISteamGameServer_BLoggedOn(_ptr); } public virtual bool /*bool*/ ISteamGameServer_BSecure() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BSecure(_ptr); + return Native.SteamAPI_ISteamGameServer_BSecure(_ptr); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_GetSteamID() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetSteamID(_ptr); + return Native.SteamAPI_ISteamGameServer_GetSteamID(_ptr); } public virtual bool /*bool*/ ISteamGameServer_WasRestartRequested() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.WasRestartRequested(_ptr); + return Native.SteamAPI_ISteamGameServer_WasRestartRequested(_ptr); } public virtual void /*void*/ ISteamGameServer_SetMaxPlayerCount( int /*int*/ cPlayersMax ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMaxPlayerCount(_ptr, cPlayersMax); + Native.SteamAPI_ISteamGameServer_SetMaxPlayerCount(_ptr, cPlayersMax); } public virtual void /*void*/ ISteamGameServer_SetBotPlayerCount( int /*int*/ cBotplayers ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetBotPlayerCount(_ptr, cBotplayers); + Native.SteamAPI_ISteamGameServer_SetBotPlayerCount(_ptr, cBotplayers); } public virtual void /*void*/ ISteamGameServer_SetServerName( string /*const char **/ pszServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetServerName(_ptr, pszServerName); + Native.SteamAPI_ISteamGameServer_SetServerName(_ptr, pszServerName); } public virtual void /*void*/ ISteamGameServer_SetMapName( string /*const char **/ pszMapName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetMapName(_ptr, pszMapName); + Native.SteamAPI_ISteamGameServer_SetMapName(_ptr, pszMapName); } public virtual void /*void*/ ISteamGameServer_SetPasswordProtected( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetPasswordProtected(_ptr, bPasswordProtected); + Native.SteamAPI_ISteamGameServer_SetPasswordProtected(_ptr, bPasswordProtected); } public virtual void /*void*/ ISteamGameServer_SetSpectatorPort( ushort /*uint16*/ unSpectatorPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorPort(_ptr, unSpectatorPort); + Native.SteamAPI_ISteamGameServer_SetSpectatorPort(_ptr, unSpectatorPort); } public virtual void /*void*/ ISteamGameServer_SetSpectatorServerName( string /*const char **/ pszSpectatorServerName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetSpectatorServerName(_ptr, pszSpectatorServerName); + Native.SteamAPI_ISteamGameServer_SetSpectatorServerName(_ptr, pszSpectatorServerName); } public virtual void /*void*/ ISteamGameServer_ClearAllKeyValues() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ClearAllKeyValues(_ptr); + Native.SteamAPI_ISteamGameServer_ClearAllKeyValues(_ptr); } public virtual void /*void*/ ISteamGameServer_SetKeyValue( string /*const char **/ pKey, string /*const char **/ pValue ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetKeyValue(_ptr, pKey, pValue); + Native.SteamAPI_ISteamGameServer_SetKeyValue(_ptr, pKey, pValue); } public virtual void /*void*/ ISteamGameServer_SetGameTags( string /*const char **/ pchGameTags ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameTags(_ptr, pchGameTags); + Native.SteamAPI_ISteamGameServer_SetGameTags(_ptr, pchGameTags); } public virtual void /*void*/ ISteamGameServer_SetGameData( string /*const char **/ pchGameData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetGameData(_ptr, pchGameData); + Native.SteamAPI_ISteamGameServer_SetGameData(_ptr, pchGameData); } public virtual void /*void*/ ISteamGameServer_SetRegion( string /*const char **/ pszRegion ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetRegion(_ptr, pszRegion); + Native.SteamAPI_ISteamGameServer_SetRegion(_ptr, pszRegion); } public virtual bool /*bool*/ ISteamGameServer_SendUserConnectAndAuthenticate( uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); + return Native.SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate(_ptr, unIPClient, pvAuthBlob, cubAuthBlobSize, out pSteamIDUser); } public virtual CSteamID /*(class CSteamID)*/ ISteamGameServer_CreateUnauthenticatedUserConnection() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.CreateUnauthenticatedUserConnection(_ptr); + return Native.SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection(_ptr); } public virtual void /*void*/ ISteamGameServer_SendUserDisconnect( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SendUserDisconnect(_ptr, steamIDUser); + Native.SteamAPI_ISteamGameServer_SendUserDisconnect(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServer_BUpdateUserData( ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); + return Native.SteamAPI_ISteamGameServer_BUpdateUserData(_ptr, steamIDUser, pchPlayerName, uScore); } public virtual HAuthTicket /*(HAuthTicket)*/ ISteamGameServer_GetAuthSessionTicket( IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); + return Native.SteamAPI_ISteamGameServer_GetAuthSessionTicket(_ptr, pTicket, cbMaxTicket, out pcbTicket); } public virtual BeginAuthSessionResult /*EBeginAuthSessionResult*/ ISteamGameServer_BeginAuthSession( IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); + return Native.SteamAPI_ISteamGameServer_BeginAuthSession(_ptr, pAuthTicket, cbAuthTicket, steamID); } public virtual void /*void*/ ISteamGameServer_EndAuthSession( ulong steamID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EndAuthSession(_ptr, steamID); + Native.SteamAPI_ISteamGameServer_EndAuthSession(_ptr, steamID); } public virtual void /*void*/ ISteamGameServer_CancelAuthTicket( uint hAuthTicket ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.CancelAuthTicket(_ptr, hAuthTicket); + Native.SteamAPI_ISteamGameServer_CancelAuthTicket(_ptr, hAuthTicket); } public virtual UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ ISteamGameServer_UserHasLicenseForApp( ulong steamID, uint appID ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.UserHasLicenseForApp(_ptr, steamID, appID); + return Native.SteamAPI_ISteamGameServer_UserHasLicenseForApp(_ptr, steamID, appID); } public virtual bool /*bool*/ ISteamGameServer_RequestUserGroupStatus( ulong steamIDUser, ulong steamIDGroup ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); + return Native.SteamAPI_ISteamGameServer_RequestUserGroupStatus(_ptr, steamIDUser, steamIDGroup); } public virtual void /*void*/ ISteamGameServer_GetGameplayStats() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.GetGameplayStats(_ptr); + Native.SteamAPI_ISteamGameServer_GetGameplayStats(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_GetServerReputation() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetServerReputation(_ptr); + return Native.SteamAPI_ISteamGameServer_GetServerReputation(_ptr); } public virtual uint /*uint32*/ ISteamGameServer_GetPublicIP() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetPublicIP(_ptr); + return Native.SteamAPI_ISteamGameServer_GetPublicIP(_ptr); } public virtual bool /*bool*/ ISteamGameServer_HandleIncomingPacket( IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); + return Native.SteamAPI_ISteamGameServer_HandleIncomingPacket(_ptr, pData, cbData, srcIP, srcPort); } public virtual int /*int*/ ISteamGameServer_GetNextOutgoingPacket( IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); + return Native.SteamAPI_ISteamGameServer_GetNextOutgoingPacket(_ptr, pOut, cbMaxOut, out pNetAdr, out pPort); } public virtual void /*void*/ ISteamGameServer_EnableHeartbeats( [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.EnableHeartbeats(_ptr, bActive); + Native.SteamAPI_ISteamGameServer_EnableHeartbeats(_ptr, bActive); } public virtual void /*void*/ ISteamGameServer_SetHeartbeatInterval( int /*int*/ iHeartbeatInterval ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.SetHeartbeatInterval(_ptr, iHeartbeatInterval); + Native.SteamAPI_ISteamGameServer_SetHeartbeatInterval(_ptr, iHeartbeatInterval); } public virtual void /*void*/ ISteamGameServer_ForceHeartbeat() { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - Native.ISteamGameServer.ForceHeartbeat(_ptr); + Native.SteamAPI_ISteamGameServer_ForceHeartbeat(_ptr); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_AssociateWithClan( ulong steamIDClan ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.AssociateWithClan(_ptr, steamIDClan); + return Native.SteamAPI_ISteamGameServer_AssociateWithClan(_ptr, steamIDClan); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServer_ComputeNewPlayerCompatibility( ulong steamIDNewPlayer ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServer _ptr is null!" ); - return Native.ISteamGameServer.ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); + return Native.SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility(_ptr, steamIDNewPlayer); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_RequestUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.RequestUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_RequestUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat( ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserStat0( ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserStat0(_ptr, steamIDUser, pchName, out pData); + return Native.SteamAPI_ISteamGameServerStats_GetUserStat0(_ptr, steamIDUser, pchName, out pData); } public virtual bool /*bool*/ ISteamGameServerStats_GetUserAchievement( ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); + return Native.SteamAPI_ISteamGameServerStats_GetUserAchievement(_ptr, steamIDUser, pchName, ref pbAchieved); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat( ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat(_ptr, steamIDUser, pchName, nData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat(_ptr, steamIDUser, pchName, nData); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserStat0( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserStat0(_ptr, steamIDUser, pchName, fData); + return Native.SteamAPI_ISteamGameServerStats_SetUserStat0(_ptr, steamIDUser, pchName, fData); } public virtual bool /*bool*/ ISteamGameServerStats_UpdateUserAvgRateStat( ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); + return Native.SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat(_ptr, steamIDUser, pchName, flCountThisSession, dSessionLength); } public virtual bool /*bool*/ ISteamGameServerStats_SetUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.SetUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_SetUserAchievement(_ptr, steamIDUser, pchName); } public virtual bool /*bool*/ ISteamGameServerStats_ClearUserAchievement( ulong steamIDUser, string /*const char **/ pchName ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.ClearUserAchievement(_ptr, steamIDUser, pchName); + return Native.SteamAPI_ISteamGameServerStats_ClearUserAchievement(_ptr, steamIDUser, pchName); } public virtual SteamAPICall_t /*(SteamAPICall_t)*/ ISteamGameServerStats_StoreUserStats( ulong steamIDUser ) { if ( _ptr == IntPtr.Zero ) throw new System.Exception( "ISteamGameServerStats _ptr is null!" ); - return Native.ISteamGameServerStats.StoreUserStats(_ptr, steamIDUser); + return Native.SteamAPI_ISteamGameServerStats_StoreUserStats(_ptr, steamIDUser); } public virtual bool /*bool*/ SteamApi_SteamAPI_Init() { - return Native.SteamApi.SteamAPI_Init(); + return Native.SteamAPI_Init(); } public virtual void /*void*/ SteamApi_SteamAPI_RunCallbacks() { - Native.SteamApi.SteamAPI_RunCallbacks(); + Native.SteamAPI_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamGameServer_RunCallbacks() { - Native.SteamApi.SteamGameServer_RunCallbacks(); + Native.SteamGameServer_RunCallbacks(); } public virtual void /*void*/ SteamApi_SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ) { - Native.SteamApi.SteamAPI_RegisterCallback(pCallback, callback); + Native.SteamAPI_RegisterCallback(pCallback, callback); } public virtual void /*void*/ SteamApi_SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ) { - Native.SteamApi.SteamAPI_UnregisterCallback(pCallback); + Native.SteamAPI_UnregisterCallback(pCallback); } public virtual bool /*bool*/ SteamApi_SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ) { - return Native.SteamApi.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); + return Native.SteamInternal_GameServer_Init(unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString); } public virtual void /*void*/ SteamApi_SteamAPI_Shutdown() { - Native.SteamApi.SteamAPI_Shutdown(); + Native.SteamAPI_Shutdown(); } public virtual void /*void*/ SteamApi_SteamGameServer_Shutdown() { - Native.SteamApi.SteamGameServer_Shutdown(); + Native.SteamGameServer_Shutdown(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamAPI_GetHSteamUser() { - return Native.SteamApi.SteamAPI_GetHSteamUser(); + return Native.SteamAPI_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamAPI_GetHSteamPipe() { - return Native.SteamApi.SteamAPI_GetHSteamPipe(); + return Native.SteamAPI_GetHSteamPipe(); } public virtual HSteamUser /*(HSteamUser)*/ SteamApi_SteamGameServer_GetHSteamUser() { - return Native.SteamApi.SteamGameServer_GetHSteamUser(); + return Native.SteamGameServer_GetHSteamUser(); } public virtual HSteamPipe /*(HSteamPipe)*/ SteamApi_SteamGameServer_GetHSteamPipe() { - return Native.SteamApi.SteamGameServer_GetHSteamPipe(); + return Native.SteamGameServer_GetHSteamPipe(); } public virtual IntPtr /*void **/ SteamApi_SteamInternal_CreateInterface( string /*const char **/ version ) { - return Native.SteamApi.SteamInternal_CreateInterface(version); + return Native.SteamInternal_CreateInterface(version); } internal static unsafe class Native { - internal static unsafe class ISteamClient - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ CreateSteamPipe( IntPtr ISteamClient ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] - internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] - internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] - internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] - internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] - internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] - internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] - internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] - internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] - internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] - internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] - internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] - internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] - internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] - internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] - internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] - internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] - internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] - internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] - internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] - internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] - internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] - internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] - internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] - internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] - internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] - internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] - internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - } + // + // ISteamClient + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_ISteamClient_CreateSteamPipe( IntPtr ISteamClient ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BReleaseSteamPipe( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_ConnectToGlobalUser( IntPtr ISteamClient, int hSteamPipe ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamClient_CreateLocalUser( IntPtr ISteamClient, out int phSteamPipe, AccountType /*EAccountType*/ eAccountType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamClient_ReleaseUser( IntPtr ISteamClient, int hSteamPipe, int hUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamUser **/ SteamAPI_ISteamClient_GetISteamUser( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamGameServer **/ SteamAPI_ISteamClient_GetISteamGameServer( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP, ushort /*uint16*/ usPort ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamFriends **/ SteamAPI_ISteamClient_GetISteamFriends( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamUtils **/ SteamAPI_ISteamClient_GetISteamUtils( IntPtr ISteamClient, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamMatchmaking **/ SteamAPI_ISteamClient_GetISteamMatchmaking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ SteamAPI_ISteamClient_GetISteamMatchmakingServers( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*void **/ SteamAPI_ISteamClient_GetISteamGenericInterface( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamUserStats **/ SteamAPI_ISteamClient_GetISteamUserStats( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamGameServerStats **/ SteamAPI_ISteamClient_GetISteamGameServerStats( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamApps **/ SteamAPI_ISteamClient_GetISteamApps( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamNetworking **/ SteamAPI_ISteamClient_GetISteamNetworking( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ SteamAPI_ISteamClient_GetISteamRemoteStorage( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamScreenshots **/ SteamAPI_ISteamClient_GetISteamScreenshots( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamClient_GetIPCCallCount( IntPtr ISteamClient ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamClient_SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamClient_BShutdownIfAllPipesClosed( IntPtr ISteamClient ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamHTTP **/ SteamAPI_ISteamClient_GetISteamHTTP( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ SteamAPI_ISteamClient_GetISteamUnifiedMessages( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamController **/ SteamAPI_ISteamClient_GetISteamController( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamUGC **/ SteamAPI_ISteamClient_GetISteamUGC( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamAppList **/ SteamAPI_ISteamClient_GetISteamAppList( IntPtr ISteamClient, int hSteamUser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamMusic **/ SteamAPI_ISteamClient_GetISteamMusic( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamMusicRemote **/ SteamAPI_ISteamClient_GetISteamMusicRemote( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ SteamAPI_ISteamClient_GetISteamHTMLSurface( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamInventory **/ SteamAPI_ISteamClient_GetISteamInventory( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class ISteamVideo **/ SteamAPI_ISteamClient_GetISteamVideo( IntPtr ISteamClient, int hSteamuser, int hSteamPipe, string /*const char **/ pchVersion ); - internal static unsafe class ISteamUser - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ GetHSteamUser( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] - internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] - internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] - internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] - internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] - internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] - internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] - internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] - internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] - internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] - internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] - internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] - internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] - internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] - internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] - internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneIdentifying" )] - internal static extern bool /*bool*/ BIsPhoneIdentifying( IntPtr ISteamUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneRequiringVerification" )] - internal static extern bool /*bool*/ BIsPhoneRequiringVerification( IntPtr ISteamUser ); - } + // + // ISteamUser + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_ISteamUser_GetHSteamUser( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BLoggedOn( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamUser_GetSteamID( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUser_InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob, int /*int*/ cbMaxAuthBlob, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_TrackAppUsageEvent( IntPtr ISteamUser, ulong gameID, int /*int*/ eAppUsageEvent, string /*const char **/ pchExtraInfo ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetUserDataFolder( IntPtr ISteamUser, System.Text.StringBuilder /*char **/ pchBuffer, int /*int*/ cubBuffer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StartVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_StopVoiceRecording( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_GetVoice( IntPtr ISteamUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bWantUncompressed, IntPtr /*void **/ pUncompressedDestBuffer, uint /*uint32*/ cbUncompressedDestBufferSize, out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern VoiceResult /*EVoiceResult*/ SteamAPI_ISteamUser_DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed, uint /*uint32*/ cbCompressed, IntPtr /*void **/ pDestBuffer, uint /*uint32*/ cbDestBufferSize, out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamUser_GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamUser_BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_EndAuthSession( IntPtr ISteamUser, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_CancelAuthTicket( IntPtr ISteamUser, uint hAuthTicket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamUser_UserHasLicenseForApp( IntPtr ISteamUser, ulong steamID, uint appID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsBehindNAT( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUser_AdvertiseGame( IntPtr ISteamUser, ulong steamIDGameServer, uint /*uint32*/ unIPServer, ushort /*uint16*/ usPortServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude, int /*int*/ cbDataToInclude ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bFoil ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUser_GetPlayerSteamLevel( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUser_RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneVerified( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsTwoFactorEnabled( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneIdentifying( IntPtr ISteamUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUser_BIsPhoneRequiringVerification( IntPtr ISteamUser ); - internal static unsafe class ISteamFriends - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] - internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] - internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] - internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] - internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] - internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] - internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] - internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] - internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] - internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] - internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] - internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] - internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] - internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] - internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] - internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] - internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] - internal static extern IntPtr GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] - internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] - internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] - internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] - internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] - internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] - internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] - internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] - internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] - internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] - internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] - internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] - internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] - internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] - internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] - internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] - internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] - internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] - internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] - internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] - internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] - internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] - internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] - internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] - internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] - internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] - internal static extern CSteamID /*(class CSteamID)*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] - internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] - internal static extern AppId_t /*(AppId_t)*/ GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] - internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] - internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] - internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] - internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] - internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] - internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] - internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] - internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] - internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] - internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] - internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ IsFollowing( IntPtr ISteamFriends, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - } + // + // ISteamFriends + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPersonaName( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetPersonaState( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern FriendRelationship /*EFriendRelationship*/ SteamAPI_ISteamFriends_GetFriendRelationship( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern PersonaState /*EPersonaState*/ SteamAPI_ISteamFriends_GetFriendPersonaState( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaName( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetFriendGamePlayed( IntPtr ISteamFriends, ulong steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendPersonaNameHistory( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iPersonaName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendSteamLevel( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetPlayerNickname( IntPtr ISteamFriends, ulong steamIDPlayer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupCount( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern FriendsGroupID_t /*(FriendsGroupID_t)*/ SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendsGroupName( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersCount( IntPtr ISteamFriends, short friendsGroupID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_GetFriendsGroupMembersList( IntPtr ISteamFriends, short friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_HasFriend( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iFriendFlags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanCount( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanName( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetClanTag( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_GetClanActivityCounts( IntPtr ISteamFriends, ulong steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCountFromSource( IntPtr ISteamFriends, ulong steamIDSource ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetFriendFromSourceByIndex( IntPtr ISteamFriends, ulong steamIDSource, int /*int*/ iFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsUserInSource( IntPtr ISteamFriends, ulong steamIDUser, ulong steamIDSource ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetInGameVoiceSpeaking( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSpeaking ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayToStore( IntPtr ISteamFriends, uint nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_SetPlayedWith( IntPtr ISteamFriends, ulong steamIDUserPlayedWith ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetSmallFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetMediumFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetLargeFriendAvatar( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_RequestUserInformation( IntPtr ISteamFriends, ulong steamIDUser, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireNameOnly ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_RequestClanOfficerList( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOwner( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanOfficerCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetClanOfficerByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iOfficer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamFriends_GetUserRestrictions( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_ClearRichPresence( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamFriends_RequestFriendRichPresence( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_InviteUserToGame( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchConnectString ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetCoplayFriendCount( IntPtr ISteamFriends ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendCoplayTime( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern AppId_t /*(AppId_t)*/ SteamAPI_ISteamFriends_GetFriendCoplayGame( IntPtr ISteamFriends, ulong steamIDFriend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_JoinClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_LeaveClanChatRoom( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMemberCount( IntPtr ISteamFriends, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamFriends_GetChatMemberByIndex( IntPtr ISteamFriends, ulong steamIDClan, int /*int*/ iUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SendClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, string /*const char **/ pchText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetClanChatMessage( IntPtr ISteamFriends, ulong steamIDClanChat, int /*int*/ iMessage, IntPtr /*void **/ prgchText, int /*int*/ cchTextMax, out ChatEntryType /*EChatEntryType **/ peChatEntryType, out ulong psteamidChatter ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatAdmin( IntPtr ISteamFriends, ulong steamIDClanChat, ulong steamIDUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_OpenClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_CloseClanChatWindowInSteam( IntPtr ISteamFriends, ulong steamIDClanChat ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_SetListenForFriendsMessages( IntPtr ISteamFriends, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bInterceptEnabled ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamFriends_ReplyToFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, string /*const char **/ pchMsgToSend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamFriends_GetFriendMessage( IntPtr ISteamFriends, ulong steamIDFriend, int /*int*/ iMessageID, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_GetFollowerCount( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_IsFollowing( IntPtr ISteamFriends, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamFriends_EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex ); - internal static unsafe class ISteamUtils - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] - internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] - internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] - internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] - internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] - internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] - internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] - internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] - internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] - internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] - internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] - internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] - internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] - internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] - internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] - internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] - internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] - internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] - internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] - internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] - internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] - internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] - internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] - internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] - internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] - internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils ); - } + // + // ISteamUtils + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceAppActive( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetSecondsSinceComputerActive( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern Universe /*EUniverse*/ SteamAPI_ISteamUtils_GetConnectedUniverse( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetServerRealTime( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetIPCountry( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage, out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage, IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern byte /*uint8*/ SteamAPI_ISteamUtils_GetCurrentBatteryPower( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetAppID( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsAPICallCompleted( IntPtr ISteamUtils, ulong hSteamAPICall, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ SteamAPI_ISteamUtils_GetAPICallFailureReason( IntPtr ISteamUtils, ulong hSteamAPICall ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetAPICallResult( IntPtr ISteamUtils, ulong hSteamAPICall, IntPtr /*void **/ pCallback, int /*int*/ cubCallback, int /*int*/ iCallbackExpected, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbFailed ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetIPCCallCount( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsOverlayEnabled( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_BOverlayNeedsPresent( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUtils_CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode, GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode, string /*const char **/ pchDescription, uint /*uint32*/ unCharMax, string /*const char **/ pchExistingText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextLength( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_GetEnteredGamepadTextInput( IntPtr ISteamUtils, System.Text.StringBuilder /*char **/ pchText, uint /*uint32*/ cchText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamRunningInVR( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset, int /*int*/ nVerticalInset ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUtils_IsSteamInBigPictureMode( IntPtr ISteamUtils ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUtils_StartVRDashboard( IntPtr ISteamUtils ); - internal static unsafe class ISteamMatchmaking - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] - internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] - internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] - internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] - internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestLobbyList( IntPtr ISteamMatchmaking ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] - internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] - internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] - internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] - internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] - internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] - internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] - internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] - internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] - internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] - internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] - internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] - internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] - internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] - internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] - internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] - internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] - internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] - internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] - internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] - internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] - internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] - internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] - internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] - internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] - internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] - internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] - internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - } + // + // ISteamMatchmaking + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetFavoriteGameCount( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame, ref uint pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_AddFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags, uint /*uint32*/ rTime32LastPlayedOnServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RemoveFavoriteGame( IntPtr ISteamMatchmaking, uint nAppID, uint /*uint32*/ nIP, ushort /*uint16*/ nConnPort, ushort /*uint16*/ nQueryPort, uint /*uint32*/ unFlags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_RequestLobbyList( IntPtr ISteamMatchmaking ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, string /*const char **/ pchValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToMatch, LobbyComparison /*ELobbyComparison*/ eComparisonType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch, int /*int*/ nValueToBeCloseTo ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType, int /*int*/ cMaxMembers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamMatchmaking_JoinLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_LeaveLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_InviteUserToLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDInvitee ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetNumLobbyMembers( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iMember ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyDataCount( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iLobbyData, System.Text.StringBuilder /*char **/ pchKey, int /*int*/ cchKeyBufferSize, System.Text.StringBuilder /*char **/ pchValue, int /*int*/ cchValueBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_DeleteLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamMatchmaking_GetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDUser, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberData( IntPtr ISteamMatchmaking, ulong steamIDLobby, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SendLobbyChatMsg( IntPtr ISteamMatchmaking, ulong steamIDLobby, IntPtr /*const void **/ pvMsgBody, int /*int*/ cubMsgBody ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyChatEntry( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ iChatID, out ulong pSteamIDUser, IntPtr /*void **/ pvData, int /*int*/ cubData, out ChatEntryType /*EChatEntryType **/ peChatEntryType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_RequestLobbyData( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmaking_SetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, uint /*uint32*/ unGameServerIP, ushort /*uint16*/ unGameServerPort, ulong steamIDGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_GetLobbyGameServer( IntPtr ISteamMatchmaking, ulong steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out ulong psteamIDGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby, int /*int*/ cMaxMembers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyType( IntPtr ISteamMatchmaking, ulong steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyJoinable( IntPtr ISteamMatchmaking, ulong steamIDLobby, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bLobbyJoinable ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamMatchmaking_GetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLobbyOwner( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDNewOwner ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmaking_SetLinkedLobby( IntPtr ISteamMatchmaking, ulong steamIDLobby, ulong steamIDLobbyDependent ); - internal static unsafe class ISteamMatchmakingServers - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] - internal static extern HServerListRequest /*(HServerListRequest)*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] - internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] - internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] - internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] - internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] - internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] - internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] - internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] - internal static extern HServerQuery /*(HServerQuery)*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] - internal static extern HServerQuery /*(HServerQuery)*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] - internal static extern HServerQuery /*(HServerQuery)*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] - internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - } + // + // ISteamMatchmakingServers + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestInternetServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestLANServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerListRequest /*(HServerListRequest)*/ SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, uint iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_ReleaseRequest( IntPtr ISteamMatchmakingServers, IntPtr hServerListRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr /*class gameserveritem_t **/ SteamAPI_ISteamMatchmakingServers_GetServerDetails( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshQuery( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMatchmakingServers_IsRefreshing( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamMatchmakingServers_GetServerCount( IntPtr ISteamMatchmakingServers, IntPtr hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_RefreshServer( IntPtr ISteamMatchmakingServers, IntPtr hRequest, int /*int*/ iServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HServerQuery /*(HServerQuery)*/ SteamAPI_ISteamMatchmakingServers_ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP, ushort /*uint16*/ usPort, IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMatchmakingServers_CancelServerQuery( IntPtr ISteamMatchmakingServers, int hServerQuery ); - internal static unsafe class ISteamRemoteStorage - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] - internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] - internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] - internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] - internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] - internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] - internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] - internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] - internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] - internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] - internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] - internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] - internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] - internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] - internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] - internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] - internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] - internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] - internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] - internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] - internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] - internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] - internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] - internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] - internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] - internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] - internal static extern UGCHandle_t /*(UGCHandle_t)*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] - internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] - internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] - internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] - internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] - internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] - internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] - internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - } + // + // ISteamRemoteStorage + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, IntPtr /*const void **/ pvData, uint /*uint32*/ cubData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, uint /*uint32*/ nOffset, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete( IntPtr ISteamRemoteStorage, ulong hReadCall, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cubToRead ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UGCFileWriteStreamHandle_t /*(UGCFileWriteStreamHandle_t)*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, ulong writeHandle, IntPtr /*const void **/ pvData, int /*int32*/ cubData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamClose( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel( IntPtr ISteamRemoteStorage, ulong writeHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern long /*int64*/ SteamAPI_ISteamRemoteStorage_GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ SteamAPI_ISteamRemoteStorage_GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetFileCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamRemoteStorage_GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile, IntPtr /*int32 **/ pnFileSizeInBytes ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*uint64 **/ pnTotalBytes, IntPtr /*uint64 **/ puAvailableBytes ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bEnabled ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownload( IntPtr ISteamRemoteStorage, ulong hContent, uint /*uint32*/ unPriority ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, ulong hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_GetUGCDetails( IntPtr ISteamRemoteStorage, ulong hContent, ref uint pnAppID, System.Text.StringBuilder /*char ***/ ppchName, IntPtr /*int32 **/ pnFileSizeInBytes, out ulong pSteamIDOwner ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_UGCRead( IntPtr ISteamRemoteStorage, ulong hContent, IntPtr /*void **/ pvData, int /*int32*/ cubDataToRead, uint /*uint32*/ cOffset, UGCReadAction /*EUGCReadAction*/ eAction ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCCount( IntPtr ISteamRemoteStorage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UGCHandle_t /*(UGCHandle_t)*/ SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern PublishedFileUpdateHandle_t /*(PublishedFileUpdateHandle_t)*/ SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchPreviewFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchTitle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchDescription ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, ulong updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, ulong updateHandle, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, ulong updateHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, uint /*uint32*/ unMaxSecondsOld ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_DeletePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, ulong updateHandle, string /*const char **/ pchChangeDescription ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, ulong unPublishedFileId ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, ulong steamId, uint /*uint32*/ unStartIndex, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pRequiredTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pExcludedTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider, string /*const char **/ pchVideoAccount, string /*const char **/ pchVideoIdentifier, string /*const char **/ pchPreviewFile, uint nConsumerAppId, string /*const char **/ pchTitle, string /*const char **/ pchDescription, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, ulong unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction, uint /*uint32*/ unStartIndex ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType, uint /*uint32*/ unStartIndex, uint /*uint32*/ unCount, uint /*uint32*/ unDays, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pTags, ref SteamParamStringArray_t /*struct SteamParamStringArray_t **/ pUserTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation( IntPtr ISteamRemoteStorage, ulong hContent, string /*const char **/ pchLocation, uint /*uint32*/ unPriority ); - internal static unsafe class ISteamUserStats - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] - internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] - internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] - internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] - internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] - internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] - internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] - internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] - internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] - internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] - internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] - internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] - internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] - internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] - internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] - internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] - internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] - internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] - internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] - internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] - internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] - internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] - internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] - internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] - internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] - internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] - internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] - internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] - internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - } + // + // ISteamUserStats + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_RequestCurrentStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_StoreStats( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName, uint /*uint32*/ nCurProgress, uint /*uint32*/ nMaxProgress ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUserStats_GetNumAchievements( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestUserStats( IntPtr ISteamUserStats, ulong steamIDUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserStat0( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievement( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_ResetAllStats( IntPtr ISteamUserStats, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAchievementsToo ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName, LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod, LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamUserStats_GetLeaderboardName( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetLeaderboardEntryCount( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ SteamAPI_ISteamUserStats_GetLeaderboardSortMethod( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ SteamAPI_ISteamUserStats_GetLeaderboardDisplayType( IntPtr ISteamUserStats, ulong hSteamLeaderboard ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntries( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest, int /*int*/ nRangeStart, int /*int*/ nRangeEnd ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, ulong hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, ulong hSteamLeaderboardEntries, int /*int*/ index, ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_UploadLeaderboardScore( IntPtr ISteamUserStats, ulong hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod, int /*int32*/ nScore, IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_AttachLeaderboardUGC( IntPtr ISteamUserStats, ulong hSteamLeaderboard, ulong hUGC ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages( IntPtr ISteamUserStats ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious, System.Text.StringBuilder /*char **/ pchName, uint /*uint32*/ unNameBufLen, out float /*float **/ pflPercent, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName, out float /*float **/ pflPercent ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUserStats_RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUserStats_GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out long /*int64 **/ pData, uint /*uint32*/ cubData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int32*/ SteamAPI_ISteamUserStats_GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName, out double /*double **/ pData, uint /*uint32*/ cubData ); - internal static unsafe class ISteamApps - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] - internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] - internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] - internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] - internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] - internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] - internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] - internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] - internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] - internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] - internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] - internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] - internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] - internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] - internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] - internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] - internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] - internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] - internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] - internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] - internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, uint appID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] - internal static extern CSteamID /*(class CSteamID)*/ GetAppOwner( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] - internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] - internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] - internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetFileDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - } + // + // ISteamApps + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribed( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsLowViolence( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsCybercafe( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsVACBanned( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamApps_GetCurrentGameLanguage( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamApps_GetAvailableGameLanguages( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedApp( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsDlcInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetDLCCount( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC, ref uint pAppID, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAvailable, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_InstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_UninstallDLC( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey( IntPtr ISteamApps, uint nAppID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetCurrentBetaName( IntPtr ISteamApps, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_MarkContentCorrupt( IntPtr ISteamApps, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMissingFilesOnly ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetInstalledDepots( IntPtr ISteamApps, uint appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamApps_GetAppInstallDir( IntPtr ISteamApps, uint appID, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_BIsAppInstalled( IntPtr ISteamApps, uint appID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamApps_GetAppOwner( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern IntPtr SteamAPI_ISteamApps_GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamApps_GetDlcDownloadProgress( IntPtr ISteamApps, uint nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamApps_GetAppBuildId( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys( IntPtr ISteamApps ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamApps_GetFileDetails( IntPtr ISteamApps, string /*const char **/ pszFileName ); - internal static unsafe class ISteamNetworking - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] - internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] - internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] - internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] - internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] - internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] - internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] - internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] - internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] - internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] - internal static extern SNetSocket_t /*(SNetSocket_t)*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] - internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] - internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] - internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] - internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] - internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] - internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] - internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] - internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] - internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] - internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] - internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - } + // + // ISteamNetworking + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendP2PPacket( IntPtr ISteamNetworking, ulong steamIDRemote, IntPtr /*const void **/ pubData, uint /*uint32*/ cubData, P2PSend /*EP2PSend*/ eP2PSendType, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, out ulong psteamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PSessionWithUser( IntPtr ISteamNetworking, ulong steamIDRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_CloseP2PChannelWithUser( IntPtr ISteamNetworking, ulong steamIDRemote, int /*int*/ nChannel ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetP2PSessionState( IntPtr ISteamNetworking, ulong steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_AllowP2PPacketRelay( IntPtr ISteamNetworking, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllow ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SNetListenSocket_t /*(SNetListenSocket_t)*/ SteamAPI_ISteamNetworking_CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateP2PConnectionSocket( IntPtr ISteamNetworking, ulong steamIDTarget, int /*int*/ nVirtualPort, int /*int*/ nTimeoutSec, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowUseOfPacketRelay ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SNetSocket_t /*(SNetSocket_t)*/ SteamAPI_ISteamNetworking_CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP, ushort /*uint16*/ nPort, int /*int*/ nTimeoutSec ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroySocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_DestroyListenSocket( IntPtr ISteamNetworking, uint hSocket, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bNotifyRemoteEnd ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_SendDataOnSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubData, uint /*uint32*/ cubData, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReliable ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailableOnSocket( IntPtr ISteamNetworking, uint hSocket, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveDataFromSocket( IntPtr ISteamNetworking, uint hSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_IsDataAvailable( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_RetrieveData( IntPtr ISteamNetworking, uint hListenSocket, IntPtr /*void **/ pubDest, uint /*uint32*/ cubDest, out uint /*uint32 **/ pcubMsgSize, ref uint phSocket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetSocketInfo( IntPtr ISteamNetworking, uint hSocket, out ulong pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamNetworking_GetListenSocketInfo( IntPtr ISteamNetworking, uint hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ SteamAPI_ISteamNetworking_GetSocketConnectionType( IntPtr ISteamNetworking, uint hSocket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamNetworking_GetMaxPacketSize( IntPtr ISteamNetworking, uint hSocket ); - internal static unsafe class ISteamScreenshots - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] - internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] - internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] - internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] - internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] - internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_IsScreenshotsHooked" )] - internal static extern bool /*bool*/ IsScreenshotsHooked( IntPtr ISteamScreenshots ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary" )] - internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - } + // + // ISteamScreenshots + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB, uint /*uint32*/ cubRGB, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename, string /*const char **/ pchThumbnailFilename, int /*int*/ nWidth, int /*int*/ nHeight ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_TriggerScreenshot( IntPtr ISteamScreenshots ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamScreenshots_HookScreenshots( IntPtr ISteamScreenshots, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHook ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_SetLocation( IntPtr ISteamScreenshots, uint hScreenshot, string /*const char **/ pchLocation ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagUser( IntPtr ISteamScreenshots, uint hScreenshot, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_TagPublishedFile( IntPtr ISteamScreenshots, uint hScreenshot, ulong unPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamScreenshots_IsScreenshotsHooked( IntPtr ISteamScreenshots ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ScreenshotHandle /*(ScreenshotHandle)*/ SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary( IntPtr ISteamScreenshots, VRScreenshotType /*EVRScreenshotType*/ eType, string /*const char **/ pchFilename, string /*const char **/ pchVRFilename ); - internal static unsafe class ISteamMusic - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] - internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] - internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] - internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_Play" )] - internal static extern void /*void*/ Play( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] - internal static extern void /*void*/ Pause( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] - internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] - internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] - internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] - internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic ); - } + // + // ISteamMusic + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsEnabled( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusic_BIsPlaying( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ SteamAPI_ISteamMusic_GetPlaybackStatus( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Play( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_Pause( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayPrevious( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_PlayNext( IntPtr ISteamMusic ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamMusic_SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern float /*float*/ SteamAPI_ISteamMusic_GetVolume( IntPtr ISteamMusic ); - internal static unsafe class ISteamMusicRemote - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] - internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] - internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] - internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] - internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] - internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] - internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] - internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] - internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] - internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] - internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] - internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] - internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] - internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] - internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] - internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] - internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] - internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] - internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] - internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] - internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] - internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] - internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] - internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] - internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] - internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] - internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] - internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] - internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] - internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] - internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] - internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] - internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote ); - } + // + // ISteamMusicRemote + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_BActivationSuccess( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayPrevious( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlayNext( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnableQueue( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_EnablePlaylists( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateShuffled( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateLooped( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAvailable ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer, uint /*uint32*/ cbBufferLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_CurrentEntryDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetQueueEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_QueueDidChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistWillChange( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_ResetPlaylistEntries( IntPtr ISteamMusicRemote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID, int /*int*/ nPosition, string /*const char **/ pchEntryText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamMusicRemote_PlaylistDidChange( IntPtr ISteamMusicRemote ); - internal static unsafe class ISteamHTTP - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] - internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] - internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] - internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] - internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] - internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] - internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] - internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] - internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] - internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] - internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] - internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] - internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] - internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] - internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] - internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] - internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] - internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] - internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] - internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] - internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] - internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] - internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] - internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - } + // + // ISteamHTTP + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern HTTPRequestHandle /*(HTTPRequestHandle)*/ SteamAPI_ISteamHTTP_CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod, string /*const char **/ pchAbsoluteURL ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestContextValue( IntPtr ISteamHTTP, uint hRequest, ulong /*uint64*/ ulContextValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unTimeoutSeconds ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, string /*const char **/ pchHeaderValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchParamName, string /*const char **/ pchParamValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequest( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, uint hRequest, ref ulong pCallHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_DeferHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_PrioritizeHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out uint /*uint32 **/ unResponseHeaderSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchHeaderName, out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodySize( IntPtr ISteamHTTP, uint hRequest, out uint /*uint32 **/ unBodySize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPResponseBodyData( IntPtr ISteamHTTP, uint hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ cOffset, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseHTTPRequest( IntPtr ISteamHTTP, uint hRequest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, uint hRequest, out float /*float **/ pflPercentOut ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchContentType, out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HTTPCookieContainerHandle /*(HTTPCookieContainerHandle)*/ SteamAPI_ISteamHTTP_CreateCookieContainer( IntPtr ISteamHTTP, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowResponsesToModify ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_ReleaseCookieContainer( IntPtr ISteamHTTP, uint hCookieContainer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetCookie( IntPtr ISteamHTTP, uint hCookieContainer, string /*const char **/ pchHost, string /*const char **/ pchUrl, string /*const char **/ pchCookie ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, uint hRequest, uint hCookieContainer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, uint hRequest, string /*const char **/ pchUserAgentInfo ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRequireVerifiedCertificate ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, uint hRequest, uint /*uint32*/ unMilliseconds ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, uint hRequest, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbWasTimedOut ); - internal static unsafe class ISteamUnifiedMessages - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] - internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] - internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] - internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] - internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] - internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - } + // + // ISteamUnifiedMessages + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern ClientUnifiedMessageHandle /*(ClientUnifiedMessageHandle)*/ SteamAPI_ISteamUnifiedMessages_SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod, IntPtr /*const void **/ pRequestBuffer, uint /*uint32*/ unRequestBufferSize, ulong /*uint64*/ unContext ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ulong hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_GetMethodResponseData( IntPtr ISteamUnifiedMessages, ulong hHandle, IntPtr /*void **/ pResponseBuffer, uint /*uint32*/ unResponseBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAutoRelease ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_ReleaseMethod( IntPtr ISteamUnifiedMessages, ulong hHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUnifiedMessages_SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification, IntPtr /*const void **/ pNotificationBuffer, uint /*uint32*/ unNotificationBufferSize ); - internal static unsafe class ISteamController - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamController ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] - internal static extern void /*void*/ RunFrame( IntPtr ISteamController ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] - internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] - internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] - internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] - internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] - internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] - internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] - internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] - internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] - internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] - internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] - internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] - internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] - internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetGamepadIndexForController" )] - internal static extern int /*int*/ GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetControllerForGamepadIndex" )] - internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetMotionData" )] - internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ GetMotionData( IntPtr ISteamController, ulong controllerHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_ShowDigitalActionOrigins" )] - internal static extern bool /*bool*/ ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_ShowAnalogActionOrigins" )] - internal static extern bool /*bool*/ ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - } + // + // ISteamController + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Init( IntPtr ISteamController ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_Shutdown( IntPtr ISteamController ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_RunFrame( IntPtr ISteamController ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowBindingPanel( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_ActivateActionSet( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerActionSetHandle_t /*(ControllerActionSetHandle_t)*/ SteamAPI_ISteamController_GetCurrentActionSet( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerDigitalActionHandle_t /*(ControllerDigitalActionHandle_t)*/ SteamAPI_ISteamController_GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ SteamAPI_ISteamController_GetDigitalActionData( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerAnalogActionHandle_t /*(ControllerAnalogActionHandle_t)*/ SteamAPI_ISteamController_GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ SteamAPI_ISteamController_GetAnalogActionData( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong actionSetHandle, ulong analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_StopAnalogActionMomentum( IntPtr ISteamController, ulong controllerHandle, ulong eAction ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamController_TriggerRepeatedHapticPulse( IntPtr ISteamController, ulong controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad, ushort /*unsigned short*/ usDurationMicroSec, ushort /*unsigned short*/ usOffMicroSec, ushort /*unsigned short*/ unRepeat, uint /*unsigned int*/ nFlags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamController_GetGamepadIndexForController( IntPtr ISteamController, ulong ulControllerHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerHandle_t /*(ControllerHandle_t)*/ SteamAPI_ISteamController_GetControllerForGamepadIndex( IntPtr ISteamController, int /*int*/ nIndex ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ControllerMotionData_t /*struct ControllerMotionData_t*/ SteamAPI_ISteamController_GetMotionData( IntPtr ISteamController, ulong controllerHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowDigitalActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong digitalActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamController_ShowAnalogActionOrigins( IntPtr ISteamController, ulong controllerHandle, ulong analogActionHandle, float /*float*/ flScale, float /*float*/ flXPosition, float /*float*/ flYPosition ); - internal static unsafe class ISteamUGC - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] - internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] - internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] - internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] - internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] - internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] - internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] - internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] - internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] - internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] - internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] - internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] - internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] - internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnOnlyIDs" )] - internal static extern bool /*bool*/ SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] - internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] - internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] - internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] - internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] - internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] - internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] - internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] - internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] - internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] - internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] - internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] - internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] - internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] - internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] - internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] - internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] - internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] - internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] - internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] - internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] - internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] - internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] - internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] - internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] - internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] - internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] - internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] - internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] - internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] - internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] - internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] - internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] - internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] - internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] - internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] - internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] - internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] - internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_StartPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTracking" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - } + // + // ISteamUGC + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUserUGCRequest( IntPtr ISteamUGC, uint unAccountID, UserUGCList /*EUserUGCList*/ eListType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType, UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType, UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType, uint nCreatorAppID, uint nConsumerAppID, uint /*uint32*/ unPage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UGCQueryHandle_t /*(UGCQueryHandle_t)*/ SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SendQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCResult( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ref SteamUGCDetails_t /*struct SteamUGCDetails_t **/ pDetails ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchURL, uint /*uint32*/ cchURLSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCMetadata( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, System.Text.StringBuilder /*char **/ pchMetadata, uint /*uint32*/ cchMetadatasize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCChildren( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCStatistic( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, ItemStatistic /*EItemStatistic*/ eStatType, out ulong /*uint64 **/ pStatValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ previewIndex, System.Text.StringBuilder /*char **/ pchURLOrVideoID, uint /*uint32*/ cchURLSize, System.Text.StringBuilder /*char **/ pchOriginalFileName, uint /*uint32*/ cchOriginalFileNameSize, out ItemPreviewType /*EItemPreviewType **/ pPreviewType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, uint /*uint32*/ keyValueTagIndex, System.Text.StringBuilder /*char **/ pchKey, uint /*uint32*/ cchKeySize, System.Text.StringBuilder /*char **/ pchValue, uint /*uint32*/ cchValueSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( IntPtr ISteamUGC, ulong handle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddExcludedTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pTagName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnOnlyIDs( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnOnlyIDs ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnKeyValueTags( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnKeyValueTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnLongDescription( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnLongDescription ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnMetadata( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnMetadata ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnChildren( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnChildren ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnAdditionalPreviews ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetReturnTotalOnly( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReturnTotalOnly ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetAllowCachedResponse( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetCloudFileNameFilter( IntPtr ISteamUGC, ulong handle, string /*const char **/ pMatchCloudFileName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetMatchAnyTag( IntPtr ISteamUGC, ulong handle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bMatchAnyTag ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetSearchText( IntPtr ISteamUGC, ulong handle, string /*const char **/ pSearchText ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetRankedByTrendDays( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ unDays ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddRequiredKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RequestUGCDetails( IntPtr ISteamUGC, ulong nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_CreateItem( IntPtr ISteamUGC, uint nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UGCUpdateHandle_t /*(UGCUpdateHandle_t)*/ SteamAPI_ISteamUGC_StartItemUpdate( IntPtr ISteamUGC, uint nConsumerAppId, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTitle( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchTitle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemDescription( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchDescription ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemUpdateLanguage( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchLanguage ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemMetadata( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchMetaData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemVisibility( IntPtr ISteamUGC, ulong handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemTags( IntPtr ISteamUGC, ulong updateHandle, ref SteamParamStringArray_t /*const struct SteamParamStringArray_t **/ pTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemContent( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszContentFolder ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_SetItemPreview( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemKeyValueTags( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemKeyValueTag( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewFile( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszPreviewFile, ItemPreviewType /*EItemPreviewType*/ type ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_AddItemPreviewVideo( IntPtr ISteamUGC, ulong handle, string /*const char **/ pszVideoID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewFile( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszPreviewFile ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_UpdateItemPreviewVideo( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index, string /*const char **/ pszVideoID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_RemoveItemPreview( IntPtr ISteamUGC, ulong handle, uint /*uint32*/ index ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubmitItemUpdate( IntPtr ISteamUGC, ulong handle, string /*const char **/ pchChangeNote ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ SteamAPI_ISteamUGC_GetItemUpdateProgress( IntPtr ISteamUGC, ulong handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bVoteUp ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_GetUserItemVote( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_AddItemToFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_RemoveItemFromFavorites( IntPtr ISteamUGC, uint nAppId, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_SubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_UnsubscribeItem( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetNumSubscribedItems( IntPtr ISteamUGC ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamUGC_GetItemState( IntPtr ISteamUGC, ulong nPublishedFileID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemInstallInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, System.Text.StringBuilder /*char **/ pchFolder, uint /*uint32*/ cchFolderSize, out uint /*uint32 **/ punTimeStamp ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_GetItemDownloadInfo( IntPtr ISteamUGC, ulong nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_DownloadItem( IntPtr ISteamUGC, ulong nPublishedFileID, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHighPriority ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamUGC_BInitWorkshopForGameServer( IntPtr ISteamUGC, uint unWorkshopDepotID, string /*const char **/ pszFolder ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamUGC_SuspendDownloads( IntPtr ISteamUGC, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSuspend ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StartPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTracking( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( IntPtr ISteamUGC ); - internal static unsafe class ISteamAppList - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] - internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] - internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] - internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] - internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] - internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - } + // + // ISteamAppList + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetNumInstalledApps( IntPtr ISteamAppList ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamAppList_GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppName( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchName, int /*int*/ cchNameMax ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppInstallDir( IntPtr ISteamAppList, uint nAppID, System.Text.StringBuilder /*char **/ pchDirectory, int /*int*/ cchNameMax ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamAppList_GetAppBuildId( IntPtr ISteamAppList, uint nAppID ); - internal static unsafe class ISteamHTMLSurface - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] - internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] - internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] - internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] - internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] - internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] - internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] - internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] - internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] - internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] - internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] - internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] - internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] - internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] - internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] - internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] - internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] - internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] - internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] - internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] - internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] - internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] - internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] - internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] - internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] - internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] - internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] - internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] - internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] - internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] - internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] - internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] - internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] - internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] - internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - } + // + // ISteamHTMLSurface + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Init( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamHTMLSurface_Shutdown( IntPtr ISteamHTMLSurface ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamHTMLSurface_CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent, string /*const char **/ pchUserCSS ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_RemoveBrowser( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_LoadURL( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchURL, string /*const char **/ pchPostData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetSize( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ unWidth, uint /*uint32*/ unHeight ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopLoad( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Reload( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoBack( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GoForward( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AddHeader( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchKey, string /*const char **/ pchValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ExecuteJavascript( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchScript ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseDoubleClick( IntPtr ISteamHTMLSurface, uint unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseMove( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_MouseWheel( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int32*/ nDelta ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyDown( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyUp( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nNativeKeyCode, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_KeyChar( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ cUnicodeChar, HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetHorizontalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetVerticalScroll( IntPtr ISteamHTMLSurface, uint unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetKeyFocus( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHasKeyFocus ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_ViewSource( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_CopyToClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_PasteFromClipboard( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_Find( IntPtr ISteamHTMLSurface, uint unBrowserHandle, string /*const char **/ pchSearchStr, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bCurrentlyInFind, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bReverse ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_StopFind( IntPtr ISteamHTMLSurface, uint unBrowserHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_GetLinkAtPosition( IntPtr ISteamHTMLSurface, uint unBrowserHandle, int /*int*/ x, int /*int*/ y ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname, string /*const char **/ pchKey, string /*const char **/ pchValue, string /*const char **/ pchPath, uint nExpires, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bSecure, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bHTTPOnly ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetPageScaleFactor( IntPtr ISteamHTMLSurface, uint unBrowserHandle, float /*float*/ flZoom, int /*int*/ nPointX, int /*int*/ nPointY ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_SetBackgroundMode( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bBackgroundMode ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_AllowStartRequest( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bAllowed ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamHTMLSurface_JSDialogResponse( IntPtr ISteamHTMLSurface, uint unBrowserHandle, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bResult ); - internal static unsafe class ISteamInventory - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] - internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] - internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] - internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] - internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] - internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, int resultHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] - internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] - internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] - internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] - internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] - internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] - internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] - internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] - internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] - internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] - internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] - internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] - internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] - internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] - internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] - internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] - internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] - internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - } + // + // ISteamInventory + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern Result /*EResult*/ SteamAPI_ISteamInventory_GetResultStatus( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetResultItems( IntPtr ISteamInventory, int resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamInventory_GetResultTimestamp( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_CheckResultSteamID( IntPtr ISteamInventory, int resultHandle, ulong steamIDExpected ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_DestroyResult( IntPtr ISteamInventory, int resultHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetAllItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemsByID( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_SerializeResult( IntPtr ISteamInventory, int resultHandle, IntPtr /*void **/ pOutBuffer, out uint /*uint32 **/ punOutBufferSize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_DeserializeResult( IntPtr ISteamInventory, ref int pOutResultHandle, IntPtr /*const void **/ pBuffer, uint /*uint32*/ unBufferSize, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bRESERVED_MUST_BE_FALSE ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GenerateItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GrantPromoItems( IntPtr ISteamInventory, ref int pResultHandle ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItem( IntPtr ISteamInventory, ref int pResultHandle, int itemDef ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_AddPromoItems( IntPtr ISteamInventory, ref int pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ConsumeItem( IntPtr ISteamInventory, ref int pResultHandle, ulong itemConsume, uint /*uint32*/ unQuantity ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_ExchangeItems( IntPtr ISteamInventory, ref int pResultHandle, ref int pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength, IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TransferItemQuantity( IntPtr ISteamInventory, ref int pResultHandle, ulong itemIdSource, uint /*uint32*/ unQuantity, ulong itemIdDest ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamInventory_SendItemDropHeartbeat( IntPtr ISteamInventory ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TriggerItemDrop( IntPtr ISteamInventory, ref int pResultHandle, int dropListDefinition ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_TradeItems( IntPtr ISteamInventory, ref int pResultHandle, ulong steamIDTradePartner, ref ulong pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength, ref ulong pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_LoadItemDefinitions( IntPtr ISteamInventory ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamInventory_GetItemDefinitionProperty( IntPtr ISteamInventory, int iDefinition, string /*const char **/ pchPropertyName, System.Text.StringBuilder /*char **/ pchValueBuffer, out uint /*uint32 **/ punValueBufferSizeOut ); - internal static unsafe class ISteamVideo - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] - internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] - internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - } + // + // ISteamVideo + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamVideo_GetVideoURL( IntPtr ISteamVideo, uint unVideoAppID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamVideo_IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers ); - internal static unsafe class ISteamGameServer - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] - internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] - internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] - internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] - internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] - internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] - internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] - internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] - internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] - internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] - internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] - internal static extern CSteamID /*(class CSteamID)*/ GetSteamID( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] - internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] - internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] - internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] - internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] - internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] - internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] - internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] - internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] - internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] - internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] - internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] - internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] - internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] - internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] - internal static extern CSteamID /*(class CSteamID)*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] - internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] - internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] - internal static extern HAuthTicket /*(HAuthTicket)*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] - internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] - internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] - internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] - internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] - internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] - internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ GetServerReputation( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] - internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] - internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] - internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] - internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] - internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] - internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - } + // + // ISteamGameServer + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, uint /*uint32*/ unFlags, uint nGameAppId, string /*const char **/ pchVersionString ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetDedicatedServer( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bDedicated ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOnAnonymous( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_LogOff( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BLoggedOn( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BSecure( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_GetSteamID( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_WasRestartRequested( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetPasswordProtected( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bPasswordProtected ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ClearAllKeyValues( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey, string /*const char **/ pValue ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient, IntPtr /*const void **/ pvAuthBlob, uint /*uint32*/ cubAuthBlobSize, out ulong pSteamIDUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern CSteamID /*(class CSteamID)*/ SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SendUserDisconnect( IntPtr ISteamGameServer, ulong steamIDUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_BUpdateUserData( IntPtr ISteamGameServer, ulong steamIDUser, string /*const char **/ pchPlayerName, uint /*uint32*/ uScore ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HAuthTicket /*(HAuthTicket)*/ SteamAPI_ISteamGameServer_GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket, int /*int*/ cbMaxTicket, out uint /*uint32 **/ pcbTicket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ SteamAPI_ISteamGameServer_BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket, int /*int*/ cbAuthTicket, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EndAuthSession( IntPtr ISteamGameServer, ulong steamID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_CancelAuthTicket( IntPtr ISteamGameServer, uint hAuthTicket ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ SteamAPI_ISteamGameServer_UserHasLicenseForApp( IntPtr ISteamGameServer, ulong steamID, uint appID ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_RequestUserGroupStatus( IntPtr ISteamGameServer, ulong steamIDUser, ulong steamIDGroup ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_GetGameplayStats( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_GetServerReputation( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern uint /*uint32*/ SteamAPI_ISteamGameServer_GetPublicIP( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServer_HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData, int /*int*/ cbData, uint /*uint32*/ srcIP, ushort /*uint16*/ srcPort ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern int /*int*/ SteamAPI_ISteamGameServer_GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut, int /*int*/ cbMaxOut, out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_EnableHeartbeats( IntPtr ISteamGameServer, [MarshalAs(UnmanagedType.U1)] bool /*bool*/ bActive ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_ISteamGameServer_ForceHeartbeat( IntPtr ISteamGameServer ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_AssociateWithClan( IntPtr ISteamGameServer, ulong steamIDClan ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, ulong steamIDNewPlayer ); - internal static unsafe class ISteamGameServerStats - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] - internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] - internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] - internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] - internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] - internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] - internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] - internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] - internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] - internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - } + // + // ISteamGameServerStats + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_RequestUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out int /*int32 **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, out float /*float **/ pData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_GetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, [MarshalAs(UnmanagedType.U1)] ref bool /*bool **/ pbAchieved ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, int /*int32*/ nData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserStat0( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ fData ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName, float /*float*/ flCountThisSession, double /*double*/ dSessionLength ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_SetUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_ISteamGameServerStats_ClearUserAchievement( IntPtr ISteamGameServerStats, ulong steamIDUser, string /*const char **/ pchName ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern SteamAPICall_t /*(SteamAPICall_t)*/ SteamAPI_ISteamGameServerStats_StoreUserStats( IntPtr ISteamGameServerStats, ulong steamIDUser ); - internal static unsafe class SteamApi - { - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_Init" )] - internal static extern bool /*bool*/ SteamAPI_Init(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_RunCallbacks" )] - internal static extern void /*void*/ SteamAPI_RunCallbacks(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_RunCallbacks" )] - internal static extern void /*void*/ SteamGameServer_RunCallbacks(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_RegisterCallback" )] - internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_UnregisterCallback" )] - internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamInternal_GameServer_Init" )] - internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_Shutdown" )] - internal static extern void /*void*/ SteamAPI_Shutdown(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_Shutdown" )] - internal static extern void /*void*/ SteamGameServer_Shutdown(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_GetHSteamUser" )] - internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_GetHSteamPipe" )] - internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe(); - [DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamInternal_CreateInterface" )] - internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version ); - } + // + // SteamApi + // + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamAPI_Init(); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_RunCallbacks(); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks(); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback, int /*int*/ callback ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP, ushort /*uint16*/ usPort, ushort /*uint16*/ usGamePort, ushort /*uint16*/ usQueryPort, int /*int*/ eServerMode, string /*const char **/ pchVersionString ); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamAPI_Shutdown(); + [DllImportAttribute( "steam_api64.dll" )] internal static extern void /*void*/ SteamGameServer_Shutdown(); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamAPI_GetHSteamUser(); + [DllImportAttribute( "steam_api64.dll" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe(); + [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 ); } } diff --git a/Generator/CodeWriter/PlatformClass.cs b/Generator/CodeWriter/PlatformClass.cs index 7a09583..8302047 100644 --- a/Generator/CodeWriter/PlatformClass.cs +++ b/Generator/CodeWriter/PlatformClass.cs @@ -73,10 +73,6 @@ private void PlatformClass( string className, SteamApiDefinition.MethodDef[] met WriteLine(); } - - - - private void PlatformClassMethod( string classname, SteamApiDefinition.MethodDef methodDef ) { var arguments = BuildArguments( methodDef.Params ); @@ -97,59 +93,76 @@ private void PlatformClassMethod( string classname, SteamApiDefinition.MethodDef if ( argstring != "" ) argstring = $" {argstring} "; StartBlock( $"public virtual {ret.Return()} {classname}_{methodName}({argstring})" ); - - // var vars = string.Join( " + \",\" + ", arguments.Where( x => !x.InteropParameter( true, true ).StartsWith( "out " ) ).Select( x => x.Name ) ); - // if ( vars != "" ) vars = "\" + " + vars + " + \""; - // WriteLine( $"Console.WriteLine( \"{classname}_{methodName}( {vars} )\" );" ); - - if ( methodDef.NeedsSelfPointer ) { - WriteLine( $"if ( _ptr == IntPtr.Zero ) throw new System.Exception( \"{classname} _ptr is null!\" );" ); - WriteLine(); - } - var retcode = ""; - if ( ret.NativeType != "void" ) - retcode = "return "; + // var vars = string.Join( " + \",\" + ", arguments.Where( x => !x.InteropParameter( true, true ).StartsWith( "out " ) ).Select( x => x.Name ) ); + // if ( vars != "" ) vars = "\" + " + vars + " + \""; + // WriteLine( $"Console.WriteLine( \"{classname}_{methodName}( {vars} )\" );" ); - AfterLines = new List(); - - foreach ( var a in arguments ) - { - if ( a.InteropParameter( LargePack ).Contains( ".PackSmall" ) ) + if ( methodDef.NeedsSelfPointer ) { - WriteLine( $"var {a.Name}_ps = new {a.ManagedType.Trim( '*' )}.PackSmall();" ); - AfterLines.Add( $"{a.Name} = {a.Name}_ps;" ); - a.Name = "ref " + a.Name + "_ps"; - - if ( retcode != "" ) - retcode = "var ret = "; - - + WriteLine( $"if ( _ptr == IntPtr.Zero ) throw new System.Exception( \"{classname} _ptr is null!\" );" ); + WriteLine(); } + + var retcode = ""; + if ( ret.NativeType != "void" ) + retcode = "return "; + + AfterLines = new List(); + + foreach ( var a in arguments ) + { + if ( a.InteropParameter( LargePack ).Contains( ".PackSmall" ) ) + { + WriteLine( $"var {a.Name}_ps = new {a.ManagedType.Trim( '*' )}.PackSmall();" ); + AfterLines.Add( $"{a.Name} = {a.Name}_ps;" ); + a.Name = "ref " + a.Name + "_ps"; + + if ( retcode != "" ) + retcode = "var ret = "; + } + } + + argstring = string.Join( ", ", arguments.Select( x => x.InteropVariable( false ) ) ); + + if ( methodDef.NeedsSelfPointer ) + argstring = "_ptr" + ( argstring.Length > 0 ? ", " : "" ) + argstring; + + WriteLine( $"{retcode}Native.{flatName}({argstring});" ); + + WriteLines( AfterLines ); + + if ( retcode.StartsWith( "var" ) ) + { + WriteLine( "return ret;" ); + } + } - - argstring = string.Join( ", ", arguments.Select( x => x.InteropVariable( false ) ) ); - - if ( methodDef.NeedsSelfPointer ) - argstring = "_ptr" + ( argstring.Length > 0 ? ", " : "" ) + argstring; - - WriteLine( $"{retcode}Native.{classname}.{methodName}({argstring});" ); - - WriteLines( AfterLines ); - - if ( retcode.StartsWith( "var" ) ) - { - WriteLine( "return ret;" ); - } - EndBlock(); - - LastMethodName = methodDef.Name; } + + + private void InteropClass( string libraryName, string className, SteamApiDefinition.MethodDef[] methodDef ) + { + if ( ShouldIgnoreClass( className ) ) return; + + WriteLine( $"//" ); + WriteLine( $"// {className} " ); + WriteLine( $"//" ); + + LastMethodName = ""; + foreach ( var m in methodDef ) + { + InteropClassMethod( libraryName, className, m ); + } + + WriteLine(); + } + private void InteropClassMethod( string library, string classname, SteamApiDefinition.MethodDef methodDef ) { var arguments = BuildArguments( methodDef.Params ); @@ -165,7 +178,6 @@ private void InteropClassMethod( string library, string classname, SteamApiDefin if ( classname == "SteamApi" ) flatName = methodName; - var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter( LargePack, true ) ) ); if ( methodDef.NeedsSelfPointer ) @@ -175,31 +187,14 @@ private void InteropClassMethod( string library, string classname, SteamApiDefin if ( argstring != "" ) argstring = $" {argstring} "; - WriteLine( $"[DllImportAttribute( \"{library}\", EntryPoint = \"{flatName}\" )]" ); + Write( $"[DllImportAttribute( \"{library}\" )] " ); if ( ret.Return() == "bool" ) WriteLine( "[return: MarshalAs(UnmanagedType.U1)]" ); - WriteLine( $"internal static extern {ret.Return()} {methodName}({argstring});" ); + WriteLine( $"internal static extern {ret.Return()} {flatName}({argstring});" ); LastMethodName = methodDef.Name; } - private void InteropClass( string libraryName, string className, SteamApiDefinition.MethodDef[] methodDef ) - { - if ( ShouldIgnoreClass( className ) ) return; - - StartBlock( $"internal static unsafe class {className}" ); - - LastMethodName = ""; - foreach ( var m in methodDef ) - { - InteropClassMethod( libraryName, className, m ); - } - - EndBlock(); - - WriteLine(); - } - } } diff --git a/Generator/CodeWriter/Writing.cs b/Generator/CodeWriter/Writing.cs index 7905a4e..38fe097 100644 --- a/Generator/CodeWriter/Writing.cs +++ b/Generator/CodeWriter/Writing.cs @@ -13,24 +13,32 @@ public partial class CodeWriter private StringBuilder sb = new StringBuilder(); private int indent = 0; - public string Indent { get { return new string( '\t', indent ); } } + private bool skipIndent = false; + public string Indent { get { if ( skipIndent ) { return ""; } return new string( '\t', indent ); } } private void EndBlock( string end = "" ) { indent--; - sb.AppendLine( $"{Indent}}}{end}" ); + WriteLine( "}" + end ); } private void WriteLine( string v = "" ) { sb.AppendLine( $"{Indent}{v}" ); + skipIndent = false; + } + + private void Write( string v = "" ) + { + sb.Append( $"{Indent}{v}" ); + skipIndent = true; } private void StartBlock( string v ) { - sb.AppendLine( $"{Indent}{v}" ); - sb.AppendLine( $"{Indent}{{" ); + WriteLine( v ); + WriteLine( "{" ); indent++; } diff --git a/Generator/Generator.csproj b/Generator/Generator.csproj index cc594db..575d3e8 100644 --- a/Generator/Generator.csproj +++ b/Generator/Generator.csproj @@ -62,7 +62,7 @@ - +