Source

Open Steamworks / Steam4NET2 / Steam4NET2 / autogen / IClientApps.cs

// This file is automatically generated.
using System;
using System.Text;
using System.Runtime.InteropServices;

namespace Steam4NET
{

	[StructLayout(LayoutKind.Sequential,Pack=4)]
	public class IClientAppsVTable
	{
		public IntPtr GetAppData0;
		public IntPtr GetInternalAppIDFromGameID1;
		public IntPtr GetAllOwnedMultiplayerApps2;
		public IntPtr GetAppDataSection3;
		public IntPtr RequestAppInfoUpdate4;
		public IntPtr NotifyAppEventTriggered5;
		public IntPtr NotifyDlcInstalled6;
		public IntPtr GetDLCCount7;
		public IntPtr BGetDLCDataByIndex8;
		public IntPtr BReloadLocalAppInfoOverrides9;
		public IntPtr BIsDlcInstalled10;
		private IntPtr DTorIClientApps11;
	};
	
	[InteropHelp.InterfaceVersion("CLIENTAPPS_INTERFACE_VERSION001")]
	public class IClientApps : InteropHelp.NativeWrapper<IClientAppsVTable>
	{
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate Int32 NativeGetAppDataUSSI( IntPtr thisptr, UInt32 unAppID, string pchKey, StringBuilder pchValue, Int32 cchValueMax );
		public Int32 GetAppData( UInt32 unAppID, string pchKey, StringBuilder pchValue ) 
		{
			return this.GetFunction<NativeGetAppDataUSSI>( this.Functions.GetAppData0 )( this.ObjectAddress, unAppID, pchKey, pchValue, (Int32) pchValue.Capacity ); 
		}
		
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate UInt32 NativeGetInternalAppIDFromGameIDC( IntPtr thisptr, UInt64 nGameID );
		public UInt32 GetInternalAppIDFromGameID( CGameID nGameID ) 
		{
			return this.GetFunction<NativeGetInternalAppIDFromGameIDC>( this.Functions.GetInternalAppIDFromGameID1 )( this.ObjectAddress, nGameID.ConvertToUint64() ); 
		}
		
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate Int32 NativeGetAllOwnedMultiplayerAppsUI( IntPtr thisptr, ref UInt32 punAppIDs, Int32 cAppIDsMax );
		public Int32 GetAllOwnedMultiplayerApps( ref UInt32 punAppIDs, Int32 cAppIDsMax ) 
		{
			return this.GetFunction<NativeGetAllOwnedMultiplayerAppsUI>( this.Functions.GetAllOwnedMultiplayerApps2 )( this.ObjectAddress, ref punAppIDs, cAppIDsMax ); 
		}
		
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate Int32 NativeGetAppDataSectionUEBIB( IntPtr thisptr, UInt32 unAppID, EAppInfoSection eSection, Byte[] pchBuffer, Int32 cbBufferMax, [MarshalAs(UnmanagedType.I1)] bool bSharedKVSymbols );
		public Int32 GetAppDataSection( UInt32 unAppID, EAppInfoSection eSection, Byte[] pchBuffer, bool bSharedKVSymbols ) 
		{
			return this.GetFunction<NativeGetAppDataSectionUEBIB>( this.Functions.GetAppDataSection3 )( this.ObjectAddress, unAppID, eSection, pchBuffer, (Int32) pchBuffer.Length, bSharedKVSymbols ); 
		}
		
		[return: MarshalAs(UnmanagedType.I1)]
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeRequestAppInfoUpdateUIB( IntPtr thisptr, ref UInt32 pAppIDs, Int32 nNumAppIDs, [MarshalAs(UnmanagedType.I1)] bool bForceUpdate );
		public bool RequestAppInfoUpdate( ref UInt32 pAppIDs, Int32 nNumAppIDs, bool bForceUpdate ) 
		{
			return this.GetFunction<NativeRequestAppInfoUpdateUIB>( this.Functions.RequestAppInfoUpdate4 )( this.ObjectAddress, ref pAppIDs, nNumAppIDs, bForceUpdate ); 
		}
		
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeNotifyAppEventTriggeredUE( IntPtr thisptr, UInt32 unAppID, EAppEvent eAppEvent );
		public void NotifyAppEventTriggered( UInt32 unAppID, EAppEvent eAppEvent ) 
		{
			this.GetFunction<NativeNotifyAppEventTriggeredUE>( this.Functions.NotifyAppEventTriggered5 )( this.ObjectAddress, unAppID, eAppEvent ); 
		}
		
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeNotifyDlcInstalledU( IntPtr thisptr, UInt32 unAppID );
		public void NotifyDlcInstalled( UInt32 unAppID ) 
		{
			this.GetFunction<NativeNotifyDlcInstalledU>( this.Functions.NotifyDlcInstalled6 )( this.ObjectAddress, unAppID ); 
		}
		
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate Int32 NativeGetDLCCountU( IntPtr thisptr, UInt32 unAppID );
		public Int32 GetDLCCount( UInt32 unAppID ) 
		{
			return this.GetFunction<NativeGetDLCCountU>( this.Functions.GetDLCCount7 )( this.ObjectAddress, unAppID ); 
		}
		
		[return: MarshalAs(UnmanagedType.I1)]
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeBGetDLCDataByIndexUIUBSI( IntPtr thisptr, UInt32 unAppID, Int32 iDLC, ref UInt32 pDlcAppID, ref bool pbAvailable, StringBuilder pchName, Int32 cchNameBufferSize );
		public bool BGetDLCDataByIndex( UInt32 unAppID, Int32 iDLC, ref UInt32 pDlcAppID, ref bool pbAvailable, StringBuilder pchName ) 
		{
			return this.GetFunction<NativeBGetDLCDataByIndexUIUBSI>( this.Functions.BGetDLCDataByIndex8 )( this.ObjectAddress, unAppID, iDLC, ref pDlcAppID, ref pbAvailable, pchName, (Int32) pchName.Capacity ); 
		}
		
		[return: MarshalAs(UnmanagedType.I1)]
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeBReloadLocalAppInfoOverrides( IntPtr thisptr );
		public bool BReloadLocalAppInfoOverrides(  ) 
		{
			return this.GetFunction<NativeBReloadLocalAppInfoOverrides>( this.Functions.BReloadLocalAppInfoOverrides9 )( this.ObjectAddress ); 
		}
		
		[return: MarshalAs(UnmanagedType.I1)]
		[UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeBIsDlcInstalledUU( IntPtr thisptr, UInt32 unDlcAppID, UInt32 unGameAppID );
		public bool BIsDlcInstalled( UInt32 unDlcAppID, UInt32 unGameAppID ) 
		{
			return this.GetFunction<NativeBIsDlcInstalledUU>( this.Functions.BIsDlcInstalled10 )( this.ObjectAddress, unDlcAppID, unGameAppID ); 
		}
		
	};
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.