summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs')
-rw-r--r--Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs b/Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs
new file mode 100644
index 0000000..8b8f4d7
--- /dev/null
+++ b/Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs
@@ -0,0 +1,27 @@
+using System.Runtime.InteropServices;
+
+namespace Steamworks;
+
+[StructLayout(LayoutKind.Sequential, Pack = 8)]
+[CallbackIdentity(1222)]
+public struct SteamNetAuthenticationStatus_t
+{
+ public const int k_iCallback = 1222;
+
+ public ESteamNetworkingAvailability m_eAvail;
+
+ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)]
+ private byte[] m_debugMsg_;
+
+ public string m_debugMsg
+ {
+ get
+ {
+ return InteropHelp.ByteArrayToStringUTF8(m_debugMsg_);
+ }
+ set
+ {
+ InteropHelp.StringToByteArrayUTF8(value, m_debugMsg_, 256);
+ }
+ }
+}