From 353de9da3f59a56b7fc173aa2660571c95571bb8 Mon Sep 17 00:00:00 2001 From: Riley Labrecque Date: Sat, 5 Jun 2021 08:35:08 -0700 Subject: [PATCH] SteamNetworkingMessage_t: Convert p_pfnFreeData from internal to public --- .../SteamNetworkingTypes/SteamNetworkingMessage_t.cs | 2 +- .../types/SteamNetworkingTypes/SteamNetworkingMessage_t.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CodeGen/CustomTypes/SteamNetworkingTypes/SteamNetworkingMessage_t.cs b/CodeGen/CustomTypes/SteamNetworkingTypes/SteamNetworkingMessage_t.cs index 6a9beb56..7bebdbb1 100644 --- a/CodeGen/CustomTypes/SteamNetworkingTypes/SteamNetworkingMessage_t.cs +++ b/CodeGen/CustomTypes/SteamNetworkingTypes/SteamNetworkingMessage_t.cs @@ -53,7 +53,7 @@ public struct SteamNetworkingMessage_t /// usually be something like: /// /// free( pMsg->m_pData ); - internal IntPtr m_pfnFreeData; + public IntPtr m_pfnFreeData; /// Function to used to decrement the internal reference count and, if /// it's zero, release the message. You should not set this function pointer, diff --git a/com.rlabrecque.steamworks.net/Runtime/types/SteamNetworkingTypes/SteamNetworkingMessage_t.cs b/com.rlabrecque.steamworks.net/Runtime/types/SteamNetworkingTypes/SteamNetworkingMessage_t.cs index 84ac88ee..31b5f843 100644 --- a/com.rlabrecque.steamworks.net/Runtime/types/SteamNetworkingTypes/SteamNetworkingMessage_t.cs +++ b/com.rlabrecque.steamworks.net/Runtime/types/SteamNetworkingTypes/SteamNetworkingMessage_t.cs @@ -69,7 +69,7 @@ public struct SteamNetworkingMessage_t /// usually be something like: /// /// free( pMsg->m_pData ); - internal IntPtr m_pfnFreeData; + public IntPtr m_pfnFreeData; /// Function to used to decrement the internal reference count and, if /// it's zero, release the message. You should not set this function pointer,