From 0e63c4a2c6dec8dfa260501fb7d73750261ea7b7 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Sat, 25 Nov 2023 18:39:02 +0800 Subject: + init --- .../Steamworks/RemoteStorageFileShareResult_t.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs (limited to 'Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs') diff --git a/Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs b/Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs new file mode 100644 index 0000000..7da67cb --- /dev/null +++ b/Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs @@ -0,0 +1,29 @@ +using System.Runtime.InteropServices; + +namespace Steamworks; + +[StructLayout(LayoutKind.Sequential, Pack = 8)] +[CallbackIdentity(1307)] +public struct RemoteStorageFileShareResult_t +{ + public const int k_iCallback = 1307; + + public EResult m_eResult; + + public UGCHandle_t m_hFile; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 260)] + private byte[] m_rgchFilename_; + + public string m_rgchFilename + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchFilename_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchFilename_, 260); + } + } +} -- cgit v1.1-26-g67d0