// This file is automatically generated. using System; using System.Text; using System.Runtime.InteropServices; namespace Steam4NET { [StructLayout(LayoutKind.Sequential,Pack=4)] public class IClientStreamClientVTable { public IntPtr Launched0; public IntPtr FocusGained1; public IntPtr FocusLost2; public IntPtr Finished3; public IntPtr GetSystemInfo4; public IntPtr StartStreamingSession5; public IntPtr ReportStreamingSessionEvent6; public IntPtr FinishStreamingSession7; private IntPtr DTorIClientStreamClient8; }; [InteropHelp.InterfaceVersion("CLIENTSTREAMCLIENT_INTERFACE_VERSION001")] public class IClientStreamClient : InteropHelp.NativeWrapper { [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeLaunchedC( IntPtr thisptr, UInt64 gameID ); public void Launched( CGameID gameID ) { this.GetFunction( this.Functions.Launched0 )( this.ObjectAddress, gameID.ConvertToUint64() ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeFocusGainedCB( IntPtr thisptr, UInt64 gameID, [MarshalAs(UnmanagedType.I1)] bool arg1 ); public void FocusGained( CGameID gameID, bool arg1 ) { this.GetFunction( this.Functions.FocusGained1 )( this.ObjectAddress, gameID.ConvertToUint64(), arg1 ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeFocusLostC( IntPtr thisptr, UInt64 gameID ); public void FocusLost( CGameID gameID ) { this.GetFunction( this.Functions.FocusLost2 )( this.ObjectAddress, gameID.ConvertToUint64() ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeFinishedCE( IntPtr thisptr, UInt64 gameID, EResult eResult ); public void Finished( CGameID gameID, EResult eResult ) { this.GetFunction( this.Functions.Finished3 )( this.ObjectAddress, gameID.ConvertToUint64(), eResult ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate IntPtr NativeGetSystemInfo( IntPtr thisptr ); public string GetSystemInfo( ) { return InteropHelp.DecodeANSIReturn( Marshal.PtrToStringAnsi( this.GetFunction( this.Functions.GetSystemInfo4 )( this.ObjectAddress ) ) ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeStartStreamingSessionC( IntPtr thisptr, UInt64 gameID ); public void StartStreamingSession( CGameID gameID ) { this.GetFunction( this.Functions.StartStreamingSession5 )( this.ObjectAddress, gameID.ConvertToUint64() ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeReportStreamingSessionEventCS( IntPtr thisptr, UInt64 gameID, string arg1 ); public void ReportStreamingSessionEvent( CGameID gameID, string arg1 ) { this.GetFunction( this.Functions.ReportStreamingSessionEvent6 )( this.ObjectAddress, gameID.ConvertToUint64(), arg1 ); } [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate void NativeFinishStreamingSessionCSS( IntPtr thisptr, UInt64 gameID, string arg1, string arg2 ); public void FinishStreamingSession( CGameID gameID, string arg1, string arg2 ) { this.GetFunction( this.Functions.FinishStreamingSession7 )( this.ObjectAddress, gameID.ConvertToUint64(), arg1, arg2 ); } }; }