Hide structs starting with "PS3"

This commit is contained in:
Garry Newman 2020-02-27 09:49:58 +00:00
parent 93e21a5f79
commit 8db2b46729
2 changed files with 3 additions and 15 deletions

View File

@ -1523,20 +1523,6 @@ namespace Steamworks.Data
#endregion #endregion
} }
[StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )]
internal struct PS3TrophiesInstalled_t : ICallbackData
{
internal ulong GameID; // m_nGameID uint64
internal Result Result; // m_eResult EResult
internal ulong RequiredDiskSpace; // m_ulRequiredDiskSpace uint64
#region SteamCallback
public static int _datasize = System.Runtime.InteropServices.Marshal.SizeOf( typeof(PS3TrophiesInstalled_t) );
public int DataSize => _datasize;
public CallbackType CallbackType => CallbackType.PS3TrophiesInstalled;
#endregion
}
[StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )] [StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )]
internal struct GlobalStatsReceived_t : ICallbackData internal struct GlobalStatsReceived_t : ICallbackData
{ {

View File

@ -143,10 +143,12 @@ public static class Cleanup
internal static bool IsDeprecated( string name ) internal static bool IsDeprecated( string name )
{ {
if ( name.StartsWith( "PS3" ) ) return true;
if ( name == "SocketStatusCallback_t" ) return true; if ( name == "SocketStatusCallback_t" ) return true;
if ( name == "SNetSocketConnectionType" ) return true; if ( name == "SNetSocketConnectionType" ) return true;
if ( name == "SNetSocketState" ) return true; if ( name == "SNetSocketState" ) return true;
if ( name.StartsWith( "ISteamRemoteStorage." ) ) if ( name.StartsWith( "ISteamRemoteStorage." ) )
{ {
if ( name.Contains( "Publish" ) ) return true; if ( name.Contains( "Publish" ) ) return true;