blob: 326ef60386ff9447d909e3e7ce481c8033f8e36c (
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
28
29
|
using System.Runtime.InteropServices;
namespace Steamworks;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[CallbackIdentity(4611)]
public struct GetVideoURLResult_t
{
public const int k_iCallback = 4611;
public EResult m_eResult;
public AppId_t m_unVideoAppID;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)]
private byte[] m_rgchURL_;
public string m_rgchURL
{
get
{
return InteropHelp.ByteArrayToStringUTF8(m_rgchURL_);
}
set
{
InteropHelp.StringToByteArrayUTF8(value, m_rgchURL_, 256);
}
}
}
|