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 --- ...RemoteStorageGetPublishedFileDetailsResult_t.cs | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 Assembly_Firstpass/Steamworks/RemoteStorageGetPublishedFileDetailsResult_t.cs (limited to 'Assembly_Firstpass/Steamworks/RemoteStorageGetPublishedFileDetailsResult_t.cs') diff --git a/Assembly_Firstpass/Steamworks/RemoteStorageGetPublishedFileDetailsResult_t.cs b/Assembly_Firstpass/Steamworks/RemoteStorageGetPublishedFileDetailsResult_t.cs new file mode 100644 index 0000000..e0c3f63 --- /dev/null +++ b/Assembly_Firstpass/Steamworks/RemoteStorageGetPublishedFileDetailsResult_t.cs @@ -0,0 +1,120 @@ +using System.Runtime.InteropServices; + +namespace Steamworks; + +[StructLayout(LayoutKind.Sequential, Pack = 8)] +[CallbackIdentity(1318)] +public struct RemoteStorageGetPublishedFileDetailsResult_t +{ + public const int k_iCallback = 1318; + + public EResult m_eResult; + + public PublishedFileId_t m_nPublishedFileId; + + public AppId_t m_nCreatorAppID; + + public AppId_t m_nConsumerAppID; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 129)] + private byte[] m_rgchTitle_; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8000)] + private byte[] m_rgchDescription_; + + public UGCHandle_t m_hFile; + + public UGCHandle_t m_hPreviewFile; + + public ulong m_ulSteamIDOwner; + + public uint m_rtimeCreated; + + public uint m_rtimeUpdated; + + public ERemoteStoragePublishedFileVisibility m_eVisibility; + + [MarshalAs(UnmanagedType.I1)] + public bool m_bBanned; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1025)] + private byte[] m_rgchTags_; + + [MarshalAs(UnmanagedType.I1)] + public bool m_bTagsTruncated; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 260)] + private byte[] m_pchFileName_; + + public int m_nFileSize; + + public int m_nPreviewFileSize; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)] + private byte[] m_rgchURL_; + + public EWorkshopFileType m_eFileType; + + [MarshalAs(UnmanagedType.I1)] + public bool m_bAcceptedForUse; + + public string m_rgchTitle + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchTitle_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchTitle_, 129); + } + } + + public string m_rgchDescription + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchDescription_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchDescription_, 8000); + } + } + + public string m_rgchTags + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchTags_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchTags_, 1025); + } + } + + public string m_pchFileName + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_pchFileName_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_pchFileName_, 260); + } + } + + public string m_rgchURL + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchURL_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchURL_, 256); + } + } +} -- cgit v1.1-26-g67d0