From f76d8033f08ff57b5a98bde3c0e376d8a95f8b57 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Wed, 19 Feb 2020 09:37:18 +0000 Subject: [PATCH] Make PingLocation public --- Facepunch.Steamworks/Generated/SteamStructs.cs | 2 +- Generator/Cleanup.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Generated/SteamStructs.cs b/Facepunch.Steamworks/Generated/SteamStructs.cs index 890e9e5..f852492 100644 --- a/Facepunch.Steamworks/Generated/SteamStructs.cs +++ b/Facepunch.Steamworks/Generated/SteamStructs.cs @@ -188,7 +188,7 @@ namespace Steamworks.Data } [StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )] - internal struct PingLocation + public struct PingLocation { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 512)] // m_data internal byte[] Data; // m_data uint8 [512] diff --git a/Generator/Cleanup.cs b/Generator/Cleanup.cs index 9794731..e3a2457 100644 --- a/Generator/Cleanup.cs +++ b/Generator/Cleanup.cs @@ -111,6 +111,7 @@ public static class Cleanup if ( name == "InputType" ) return "public"; if ( name == "InputSourceMode" ) return "public"; if ( name == "UserHasLicenseForAppResult" ) return "public"; + if ( name == "PingLocation" ) return "public"; return "internal"; }