diff options
Diffstat (limited to 'Assembly_Firstpass/Steamworks/GetVideoURLResult_t.cs')
-rw-r--r-- | Assembly_Firstpass/Steamworks/GetVideoURLResult_t.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Assembly_Firstpass/Steamworks/GetVideoURLResult_t.cs b/Assembly_Firstpass/Steamworks/GetVideoURLResult_t.cs new file mode 100644 index 0000000..326ef60 --- /dev/null +++ b/Assembly_Firstpass/Steamworks/GetVideoURLResult_t.cs @@ -0,0 +1,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); + } + } +} |