diff options
author | chai <215380520@qq.com> | 2023-11-25 18:39:02 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-11-25 18:39:02 +0800 |
commit | 0e63c4a2c6dec8dfa260501fb7d73750261ea7b7 (patch) | |
tree | f6f2291be65d195d6082b523a56183c332715240 /Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs |
+ init
Diffstat (limited to 'Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs')
-rw-r--r-- | Assembly_Firstpass/Steamworks/SteamNetAuthenticationStatus_t.cs | 27 |
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); + } + } +} |