I don't need to test my programs. I have an error-correcting modem.
UE3:OnlineTitleFileDownloadMcp (UDK)
Contents
- Package:
- IpDrv
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Provides a mechanism for downloading arbitrary files from the MCP server
Properties[edit]
BaseUrl[edit]
Type: string
Modifiers: config
The base URL to use when downloading files, such that BaseUrl?TitleID=1234&FileName=MyFile.ini is the complete URL
CurrentIndex[edit]
Type: int
Modifiers: transient
The index of the file in the array being processed
HttpDownloader[edit]
Type: pointer{class FHttpDownloadBinary}
Modifiers: private, native, const
The class that will communicate with backend to download the file
ReadTitleFileCompleteDelegates[edit]
Type: array<delegate<OnReadTitleFileComplete> >
Modifiers: private
The list of delegates to notify when a file is read
TimeOut[edit]
Type: float
Modifiers: config
The amount of time to allow for downloading of the file
TitleFiles[edit]
Type: array<OnlineSubsystem.TitleFile>
Modifiers: private
The list of title files that have been read or are being read
Delegates[edit]
OnReadTitleFileComplete[edit]
Delegate fired when a file read from the network platform's title specific storage is complete
Parameters:
- bWasSuccessful - whether the file read was successful or not
- FileName - the name of the file this was for
Functions[edit]
Native functions[edit]
ClearDownloadedFiles[edit]
Empties the set of downloaded files if possible (no async tasks outstanding)
Returns:
- true if they could be deleted, false if they could not
GetTitleFileContents[edit]
Copies the file data into the specified buffer for the specified file
Parameters:
- FileName - the name of the file to read
- FileContents - the out buffer to copy the data into
Returns:
- true if the data was copied, false otherwise
ReadTitleFile[edit]
Starts an asynchronous read of the specified file from the network platform's title specific file store
Parameters:
- FileToRead - the name of the file to read
Returns:
- true if the calls starts successfully, false otherwise
Other instance functions[edit]
AddReadTitleFileCompleteDelegate[edit]
Adds the delegate to the list to be notified when a requested file has been read
Parameters:
- ReadTitleFileCompleteDelegate - the delegate to add
ClearReadTitleFileCompleteDelegate[edit]
Removes the delegate from the notify list
Parameters:
- ReadTitleFileCompleteDelegate - the delegate to remove
GetTitleFileState[edit]
Determines the async state of the tile file read operation
Parameters:
- FileName - the name of the file to check on
Returns:
- the async state of the file read