Skip to content

McpUserCloudFileDownload

Class in IpDrv · IpDrv.McpUserCloudFileDownload · native, config

Object › McpServiceBase › McpUserCloudFileDownload

Implements: UserCloudFileInterface

Using it from Lua
h7.find_all("McpUserCloudFileDownload")            -- live instances
h7.find_class("IpDrv.McpUserCloudFileDownload")   -- the class
h7.hook("IpDrv.McpUserCloudFileDownload.AddDeleteUserFileCompleteDelegate", fn)

Structs

McpUserCloudFileInfo

Struct extends OnlineSubsystem.EmsFile

FieldType
CreationDatestring
LastUpdateDatestring
CompressionTypestring

McpUserCloudFilesEntry

FieldType
UserIdstring
DownloadedFilesarray<TitleFileWeb>
EnumeratedFilesarray<McpUserCloudFileInfo>
HTTPRequestEnumerateFilesHttpRequestInterface

Properties

NameTypeNotes
DeleteCloudFileUrlStringconfig
DeleteUserFileCompleteDelegatesarray>private
EnumerateCloudFilesUrlStringconfig
EnumerateUserFilesCompleteDelegatesarray>private
ReadCloudFileUrlStringconfig
ReadUserFileCompleteDelegatesarray>private
UserCloudFileRequestsarray<McpUserCloudFilesEntry>private
WriteCloudFileUrlStringconfig
WriteUserFileCompleteDelegatesarray>private

Functions

NameDeclaration
AddDeleteUserFileCompleteDelegatefunction AddDeleteUserFileCompleteDelegate()
AddEnumerateUserFileCompleteDelegatefunction AddEnumerateUserFileCompleteDelegate()
AddReadLastNCloudSaveOwnersCompleteDelegatefunction AddReadLastNCloudSaveOwnersCompleteDelegate()
AddReadUserFileCompleteDelegatefunction AddReadUserFileCompleteDelegate()
AddWriteUserFileCompleteDelegatefunction AddWriteUserFileCompleteDelegate()
CallDeleteUserFileCompleteDelegatesprivate function CallDeleteUserFileCompleteDelegates(bool bWasSuccessful, string UserId, string FileName)
CallEnumerateUserFileCompleteDelegatesprivate function CallEnumerateUserFileCompleteDelegates(bool bWasSuccessful, string UserId)
CallReadUserFileCompleteDelegatesprivate function CallReadUserFileCompleteDelegates(bool bWasSuccessful, string UserId, string FileName)
CallWriteUserFileCompleteDelegatesprivate function CallWriteUserFileCompleteDelegates(bool bWasSuccessful, string UserId, string FileName)
ClearAllDelegatesfunction ClearAllDelegates()
ClearDeleteUserFileCompleteDelegatefunction ClearDeleteUserFileCompleteDelegate()
ClearEnumerateUserFileCompleteDelegatefunction ClearEnumerateUserFileCompleteDelegate()
ClearFilefunction bool ClearFile(string UserId, string FileName)
ClearFilesfunction bool ClearFiles(string UserId)
ClearReadLastNCloudSaveOwnersCompleteDelegatefunction ClearReadLastNCloudSaveOwnersCompleteDelegate()
ClearReadUserFileCompleteDelegatefunction ClearReadUserFileCompleteDelegate()
ClearWriteUserFileCompleteDelegatefunction ClearWriteUserFileCompleteDelegate()
DeleteUserFilefunction bool DeleteUserFile(string UserId, string FileName, bool bShouldCloudDelete, bool bShouldLocallyDelete)
EnumerateUserFilesfunction EnumerateUserFiles(string UserId)
GetFileContentsfunction bool GetFileContents(string UserId, string FileName, out array FileContents)
GetLastNCloudSaveOwnersfunction GetLastNCloudSaveOwners(out array McpIds)
GetUserFileIndexForRequestprivate function GetUserFileIndexForRequest(HttpRequestInterface Request, out int UserIdx, out int FileIdx)
GetUserFileListfunction GetUserFileList(string UserId, out array<EmsFile> UserFiles)
OnDeleteUserFileCompletedelegate OnDeleteUserFileComplete(bool bWasSuccessful, string UserId, string FileName)
OnEnumerateUserFilesCompletedelegate OnEnumerateUserFilesComplete(bool bWasSuccessful, string UserId)
OnHTTPRequestDeleteUserFileCompleteprivate function OnHTTPRequestDeleteUserFileComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnHTTPRequestEnumerateUserFilesCompleteprivate function OnHTTPRequestEnumerateUserFilesComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnHTTPRequestReadUserFileCompleteprivate function OnHTTPRequestReadUserFileComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnHTTPRequestWriteUserFileCompleteprivate function OnHTTPRequestWriteUserFileComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReadLastNCloudSaveOwnersCompletedelegate OnReadLastNCloudSaveOwnersComplete(bool bWasSuccessful)
OnReadUserFileCompletedelegate OnReadUserFileComplete(bool bWasSuccessful, string UserId, string FileName)
OnWriteUserFileCompletedelegate OnWriteUserFileComplete(bool bWasSuccessful, string UserId, string FileName)
ReadLastNCloudSaveOwnersfunction ReadLastNCloudSaveOwners(int Count = 10, String FileName = "")
ReadUserFilefunction bool ReadUserFile(string UserId, string FileName)
WriteUserFilefunction bool WriteUserFile(string UserId, string FileName, const out array FileContents)

Inherited

FromMembers
McpServiceBase2 properties, 16 functions
Object13 properties, 308 functions