blob: 8b8f4d78e876f770ca10cb52f1a393d936958398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}
}
}
|