diff options
Diffstat (limited to 'Assembly_Firstpass/Steamworks/AppProofOfPurchaseKeyResponse_t.cs')
-rw-r--r-- | Assembly_Firstpass/Steamworks/AppProofOfPurchaseKeyResponse_t.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Assembly_Firstpass/Steamworks/AppProofOfPurchaseKeyResponse_t.cs b/Assembly_Firstpass/Steamworks/AppProofOfPurchaseKeyResponse_t.cs new file mode 100644 index 0000000..d5be422 --- /dev/null +++ b/Assembly_Firstpass/Steamworks/AppProofOfPurchaseKeyResponse_t.cs @@ -0,0 +1,31 @@ +using System.Runtime.InteropServices; + +namespace Steamworks; + +[StructLayout(LayoutKind.Sequential, Pack = 8)] +[CallbackIdentity(1021)] +public struct AppProofOfPurchaseKeyResponse_t +{ + public const int k_iCallback = 1021; + + public EResult m_eResult; + + public uint m_nAppID; + + public uint m_cchKeyLength; + + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 240)] + private byte[] m_rgchKey_; + + public string m_rgchKey + { + get + { + return InteropHelp.ByteArrayToStringUTF8(m_rgchKey_); + } + set + { + InteropHelp.StringToByteArrayUTF8(value, m_rgchKey_, 240); + } + } +} |