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 --- .../SteamInventoryRequestPricesResult_t.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Assembly_Firstpass/Steamworks/SteamInventoryRequestPricesResult_t.cs (limited to 'Assembly_Firstpass/Steamworks/SteamInventoryRequestPricesResult_t.cs') diff --git a/Assembly_Firstpass/Steamworks/SteamInventoryRequestPricesResult_t.cs b/Assembly_Firstpass/Steamworks/SteamInventoryRequestPricesResult_t.cs new file mode 100644 index 0000000..bbf67b4 --- /dev/null +++ b/Assembly_Firstpass/Steamworks/SteamInventoryRequestPricesResult_t.cs @@ -0,0 +1,27 @@ +using System.Runtime.InteropServices; + +namespace Steamworks; + +[StructLayout(LayoutKind.Sequential, Pack = 8)] +[CallbackIdentity(4705)] +public struct SteamInventoryRequestPricesResult_t +{ + public const int k_iCallback = 4705; + + public EResult m_result; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)] + private byte[] m_rgchCurrency_; + + public string m_rgchCurrency + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchCurrency_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchCurrency_, 4); + } + } +} -- cgit v1.1-26-g67d0