1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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);
}
}
}
|