From 24431ca9dbf4e5efd9f5cfa0b297175ae9927e59 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Tue, 18 Aug 2020 11:28:45 +0100 Subject: [PATCH] Delete ISteamTV (seems to be removed from the SDK now) --- .../Generated/Interfaces/ISteamTV.cs | 97 ------------------- 1 file changed, 97 deletions(-) delete mode 100644 Facepunch.Steamworks/Generated/Interfaces/ISteamTV.cs diff --git a/Facepunch.Steamworks/Generated/Interfaces/ISteamTV.cs b/Facepunch.Steamworks/Generated/Interfaces/ISteamTV.cs deleted file mode 100644 index 1a8a6ba..0000000 --- a/Facepunch.Steamworks/Generated/Interfaces/ISteamTV.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using System.Text; -using System.Threading.Tasks; -using Steamworks.Data; - - -namespace Steamworks -{ - internal class ISteamTV : SteamInterface - { - - internal ISteamTV( bool IsGameServer ) - { - SetupInterface( IsGameServer ); - } - - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamTV_v001", CallingConvention = Platform.CC)] - internal static extern IntPtr SteamAPI_SteamTV_v001(); - public override IntPtr GetUserInterfacePointer() => SteamAPI_SteamTV_v001(); - - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_IsBroadcasting", CallingConvention = Platform.CC)] - [return: MarshalAs( UnmanagedType.I1 )] - private static extern bool _IsBroadcasting( IntPtr self, ref int pnNumViewers ); - - #endregion - internal bool IsBroadcasting( ref int pnNumViewers ) - { - var returnValue = _IsBroadcasting( Self, ref pnNumViewers ); - return returnValue; - } - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_AddBroadcastGameData", CallingConvention = Platform.CC)] - private static extern void _AddBroadcastGameData( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKey, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchValue ); - - #endregion - internal void AddBroadcastGameData( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKey, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchValue ) - { - _AddBroadcastGameData( Self, pchKey, pchValue ); - } - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_RemoveBroadcastGameData", CallingConvention = Platform.CC)] - private static extern void _RemoveBroadcastGameData( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKey ); - - #endregion - internal void RemoveBroadcastGameData( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKey ) - { - _RemoveBroadcastGameData( Self, pchKey ); - } - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_AddTimelineMarker", CallingConvention = Platform.CC)] - private static extern void _AddTimelineMarker( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchTemplateName, [MarshalAs( UnmanagedType.U1 )] bool bPersistent, byte nColorR, byte nColorG, byte nColorB ); - - #endregion - internal void AddTimelineMarker( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchTemplateName, [MarshalAs( UnmanagedType.U1 )] bool bPersistent, byte nColorR, byte nColorG, byte nColorB ) - { - _AddTimelineMarker( Self, pchTemplateName, bPersistent, nColorR, nColorG, nColorB ); - } - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_RemoveTimelineMarker", CallingConvention = Platform.CC)] - private static extern void _RemoveTimelineMarker( IntPtr self ); - - #endregion - internal void RemoveTimelineMarker() - { - _RemoveTimelineMarker( Self ); - } - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_AddRegion", CallingConvention = Platform.CC)] - private static extern uint _AddRegion( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchElementName, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchTimelineDataSection, ref SteamTVRegion_t pSteamTVRegion, SteamTVRegionBehavior eSteamTVRegionBehavior ); - - #endregion - internal uint AddRegion( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchElementName, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchTimelineDataSection, ref SteamTVRegion_t pSteamTVRegion, SteamTVRegionBehavior eSteamTVRegionBehavior ) - { - var returnValue = _AddRegion( Self, pchElementName, pchTimelineDataSection, ref pSteamTVRegion, eSteamTVRegionBehavior ); - return returnValue; - } - - #region FunctionMeta - [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamTV_RemoveRegion", CallingConvention = Platform.CC)] - private static extern void _RemoveRegion( IntPtr self, uint unRegionHandle ); - - #endregion - internal void RemoveRegion( uint unRegionHandle ) - { - _RemoveRegion( Self, unRegionHandle ); - } - - } -}