Source

Open Steamworks / Steam4NET2 / Steam4NET2 / autogen / RemoteStorageCommon.cs

Full commit
  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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
// This file is automatically generated.
using System;
using System.Text;
using System.Runtime.InteropServices;

namespace Steam4NET
{

	public enum ERemoteStorageFileRoot : int
	{
		k_ERemoteStorageFileRootInvalid = -1,
		k_ERemoteStorageFileRootDefault = 0,
		k_ERemoteStorageFileRootGameInstall = 1,
		k_ERemoteStorageFileRootWinMyDocuments = 2,
		k_ERemoteStorageFileRootWinAppDataLocal = 3,
		k_ERemoteStorageFileRootWinAppDataRoaming = 4,
		k_ERemoteStorageFileRootSteamUserBaseStorage = 5,
		k_ERemoteStorageFileRootMacHome = 6,
		k_ERemoteStorageFileRootMacAppSupport = 7,
		k_ERemoteStorageFileRootMacDocuments = 8,
		k_ERemoteStorageFileRootWinSavedGames = 9,
		k_ERemoteStorageFileRootWinProgramData = 10,
		k_ERemoteStorageFileRootSteamCloudDocuments = 11,
		k_ERemoteStorageFileRootWinAppDataLocalLow = 12,
		k_ERemoteStorageFileRootMacCaches = 13,
		k_ERemoteStorageFileRootMax = 14,
	};
	
	public enum ERemoteStorageSyncState : int
	{
		k_ERemoteSyncStateDisabled = 0,
		k_ERemoteSyncStateUnknown = 1,
		k_ERemoteSyncStateSynchronized = 2,
		k_ERemoteSyncStateSyncInProgress = 3,
		k_ERemoteSyncStatePendingChangesInCloud = 4,
		k_ERemoteSyncStatePendingChangesLocally = 5,
		k_ERemoteSyncStatePendingChangesInCloudAndLocally = 6,
		k_ERemoteSyncStateConflictingChanges = 7,
	};
	
	public enum EFileRemoteStorageSyncState : int
	{
	};
	
	public enum EUCMFilePrivacyState : int
	{
		k_EUCMFilePrivacyStateInvalid = -1,
		k_EUCMFilePrivacyStateUnpublished = 0,
		k_EUCMFilePrivacyStatePublished = 1,
		k_EUCMFilePrivacyStatePrivate = 2,
		k_EUCMFilePrivacyStateFriendsOnly = 4,
		k_EUCMFilePrivacyStatePublic = 8,
		k_EUCMFilePrivacyStateAll = 14,
	};
	
	public enum ERemoteStoragePlatform : int
	{
		k_ERemoteStoragePlatformNone = 0,
		k_ERemoteStoragePlatformWindows = 1,
		k_ERemoteStoragePlatformOSX = 2,
		k_ERemoteStoragePlatformPS3 = 4,
		k_ERemoteStoragePlatformReserved1 = 8,
		k_ERemoteStoragePlatformReserved2 = 16,
		k_ERemoteStoragePlatformAll = -1,
	};
	
	public enum EResolveConflict : int
	{
		k_EResolveConflictKeepClient = 1,
		k_EResolveConflictKeepServer = 2,
	};
	
	public enum ERemoteStoragePublishedFileVisibility : int
	{
		k_ERemoteStoragePublishedFileVisibilityPublic = 0,
		k_ERemoteStoragePublishedFileVisibilityFriendsOnly = 1,
		k_ERemoteStoragePublishedFileVisibilityPrivate = 2,
	};
	
	public enum ERemoteStoragePublishedFileSortOrder : int
	{
	};
	
	public enum EWorkshopFileType : int
	{
	};
	
	public enum EWorkshopVideoProvider : int
	{
	};
	
	public enum EWorkshopFileAction : int
	{
		k_EWorkshopFileActionPlayed = 0,
		k_EWorkshopFileActionCompleted = 1,
	};
	
	public enum EWorkshopEnumerationType : int
	{
		k_EWorkshopEnumerationTypeTopRated = 0,
		k_EWorkshopEnumerationTypeMostRecent = 1,
		k_EWorkshopEnumerationTypeTrending = 2,
		k_EWorkshopEnumerationTypeFavoritedByFriends = 3,
		k_EWorkshopEnumerationTypeVotedByFriends = 4,
		k_EWorkshopEnumerationTypeCreatedByFriends = 5,
		k_EWorkshopEnumerationTypeCreatedByFollowed = 6,
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	public struct SteamParamStringArray_t
	{
		public string m_ppStrings;
		public Int32 m_nNumStrings;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	public struct RemoteStorageUpdatePublishedFileRequest_t
	{
		public UInt64 m_unPublishedFileId;
		public string m_pchFile;
		public string m_pchPreviewFile;
		public string m_pchTitle;
		public string m_pchDescription;
		public ERemoteStoragePublishedFileVisibility m_eVisibility;
		public IntPtr m_pTags;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUpdateFile;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUpdatePreviewFile;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUpdateTitle;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUpdateDescription;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUpdateVisibility;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUpdateTags;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1301)]
	public struct RemoteStorageAppSyncedClient_t
	{
		public const int k_iCallback = 1301;
		public UInt32 m_nAppID;
		public EResult m_eResult;
		public Int32 m_unNumDownloads;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1302)]
	public struct RemoteStorageAppSyncedServer_t
	{
		public const int k_iCallback = 1302;
		public UInt32 m_nAppID;
		public EResult m_eResult;
		public Int32 m_unNumUploads;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1303)]
	public struct RemoteStorageAppSyncProgress_t
	{
		public const int k_iCallback = 1303;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
		public string m_rgchCurrentFile;
		public UInt32 m_nAppID;
		public UInt32 m_uBytesTransferredThisChunk;
		public double m_dAppPercentComplete;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bUploading;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1304)]
	public struct RemoteStorageAppInfoLoaded_t
	{
		public const int k_iCallback = 1304;
		public UInt32 m_nAppID;
		public EResult m_eResult;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1305)]
	public struct RemoteStorageAppSyncStatusCheck_t
	{
		public const int k_iCallback = 1305;
		public UInt32 m_nAppID;
		public EResult m_eResult;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1306)]
	public struct RemoteStorageConflictResolution_t
	{
		public const int k_iCallback = 1306;
		public UInt32 m_nAppID;
		public EResult m_eResult;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1307)]
	public struct RemoteStorageFileShareResult_t
	{
		public const int k_iCallback = 1307;
		public EResult m_eResult;
		public UInt64 m_hFile;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1308)]
	public struct _Deprecated_RemoteStorageDownloadUGCResult_t
	{
		public const int k_iCallback = 1308;
		public EResult m_eResult;
		public UInt64 m_hFile;
		public UInt32 m_nAppID;
		public Int32 m_nSizeInBytes;
		public string m_pchFileName;
		public UInt64 m_ulSteamIDOwner;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1309)]
	public struct RemoteStoragePublishFileResult_t
	{
		public const int k_iCallback = 1309;
		public EResult m_eResult;
		public UInt64 m_nPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1310)]
	public struct _Deprecated_RemoteStorageGetPublishedFileDetailsResult_t
	{
		public const int k_iCallback = 1310;
		public EResult m_eResult;
		public UInt64 m_nPublishedFileId;
		public UInt32 m_nCreatorAppID;
		public UInt32 m_nConsumerAppID;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public string m_rgchTitle;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 257)]
		public string m_rgchDescription;
		public UInt64 m_hFile;
		public UInt64 m_hPreviewFile;
		public UInt64 m_ulSteamIDOwner;
		public UInt32 m_rtimeCreated;
		public UInt32 m_rtimeUpdated;
		public ERemoteStoragePublishedFileVisibility m_eVisibility;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bBanned;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)]
		public string m_rgchTags;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bTagsTruncated;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
		public string m_pchFileName;
		public EWorkshopFileType m_eFileType;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1311)]
	public struct RemoteStorageDeletePublishedFileResult_t
	{
		public const int k_iCallback = 1311;
		public EResult m_eResult;
		public UInt64 m_nPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1312)]
	public struct RemoteStorageEnumerateUserPublishedFilesResult_t
	{
		public const int k_iCallback = 1312;
		public EResult m_eResult;
		public Int32 m_nResultsReturned;
		public Int32 m_nTotalResultCount;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt64[] m_rgPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1313)]
	public struct RemoteStorageSubscribePublishedFileResult_t
	{
		public const int k_iCallback = 1313;
		public EResult m_eResult;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1314)]
	public struct RemoteStorageEnumerateUserSubscribedFilesResult_t
	{
		public const int k_iCallback = 1314;
		public EResult m_eResult;
		public Int32 m_nResultsReturned;
		public Int32 m_nTotalResultCount;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt64[] m_rgPublishedFileId;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt32[] m_rgRTimeSubscribed;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1315)]
	public struct RemoteStorageUnsubscribePublishedFileResult_t
	{
		public const int k_iCallback = 1315;
		public EResult m_eResult;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1316)]
	public struct RemoteStorageUpdatePublishedFileResult_t
	{
		public const int k_iCallback = 1316;
		public EResult m_eResult;
		public UInt64 m_nPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1317)]
	public struct RemoteStorageDownloadUGCResult_t
	{
		public const int k_iCallback = 1317;
		public EResult m_eResult;
		public UInt64 m_hFile;
		public UInt32 m_nAppID;
		public Int32 m_nSizeInBytes;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
		public string m_pchFileName;
		public UInt64 m_ulSteamIDOwner;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1318)]
	public struct RemoteStorageGetPublishedFileDetailsResult_t
	{
		public const int k_iCallback = 1318;
		public EResult m_eResult;
		public UInt64 m_nPublishedFileId;
		public UInt32 m_nCreatorAppID;
		public UInt32 m_nConsumerAppID;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public string m_rgchTitle;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8000)]
		public string m_rgchDescription;
		public UInt64 m_hFile;
		public UInt64 m_hPreviewFile;
		public UInt64 m_ulSteamIDOwner;
		public UInt32 m_rtimeCreated;
		public UInt32 m_rtimeUpdated;
		public ERemoteStoragePublishedFileVisibility m_eVisibility;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bBanned;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)]
		public string m_rgchTags;
		[MarshalAs(UnmanagedType.I1)]
		public bool m_bTagsTruncated;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
		public string m_pchFileName;
		public Int32 m_nFileSize;
		public Int32 m_nPreviewFileSize;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1319)]
	public struct RemoteStorageEnumerateWorkshopFilesResult_t
	{
		public const int k_iCallback = 1319;
		public EResult m_eResult;
		public Int32 m_nResultsReturned;
		public Int32 m_nTotalResultCount;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt64[] m_rgPublishedFileId;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public float[] m_rgScore;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1320)]
	public struct RemoteStorageGetPublishedItemVoteDetailsResult_t
	{
		public const int k_iCallback = 1320;
		public EResult m_eResult;
		public UInt64 m_unPublishedFileId;
		public Int32 m_cVotesFor;
		public Int32 m_cVotesAgainst;
		public Int32 m_cReports;
		public float m_fScore;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1321)]
	public struct RemoteStoragePublishedFileSubscribed_t
	{
		public const int k_iCallback = 1321;
		public UInt64 m_unPublishedFileId;
		public UInt32 m_nAppID;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1322)]
	public struct RemoteStoragePublishedFileUnsubscribed_t
	{
		public const int k_iCallback = 1322;
		public UInt64 m_unPublishedFileId;
		public UInt32 m_nAppID;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1323)]
	public struct RemoteStoragePublishedFileDeleted_t
	{
		public const int k_iCallback = 1323;
		public UInt64 m_unPublishedFileId;
		public UInt32 m_nAppID;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1324)]
	public struct RemoteStorageUpdateUserPublishedItemVoteResult_t
	{
		public const int k_iCallback = 1324;
		public EResult m_eResult;
		public UInt64 m_unPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1325)]
	public struct RemoteStorageUserVoteDetails_t
	{
		public const int k_iCallback = 1325;
		public EResult m_eResult;
		public Int32 m_iVote;
		public UInt64 m_unPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1326)]
	public struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t
	{
		public const int k_iCallback = 1326;
		public EResult m_eResult;
		public Int32 m_nResultsReturned;
		public Int32 m_nTotalResultCount;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt64[] m_rgPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1327)]
	public struct RemoteStorageSetUserPublishedFileActionResult_t
	{
		public const int k_iCallback = 1327;
		public EResult m_eResult;
		public UInt64 m_unPublishedFileId;
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	[InteropHelp.CallbackIdentity(1328)]
	public struct RemoteStorageEnumeratePublishedFilesByUserActionResult_t
	{
		public const int k_iCallback = 1328;
		public EResult m_eResult;
		public EWorkshopFileAction m_eAction;
		public Int32 m_nResultsReturned;
		public Int32 m_nTotalResultCount;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt64[] m_rgPublishedFileId;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
		public UInt32[] m_rgRTimes;
	};
	
}