summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs
diff options
context:
space:
mode:
authorchai <215380520@qq.com>2023-11-25 18:39:02 +0800
committerchai <215380520@qq.com>2023-11-25 18:39:02 +0800
commit0e63c4a2c6dec8dfa260501fb7d73750261ea7b7 (patch)
treef6f2291be65d195d6082b523a56183c332715240 /Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs
+ init
Diffstat (limited to 'Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs')
-rw-r--r--Assembly_Firstpass/Steamworks/RemoteStorageFileShareResult_t.cs29
1 files changed, 29 insertions, 0 deletions
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);
+ }
+ }
+}