Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE3:IniLocPatcher (UDK)
Object >> IniLocPatcher |
Contents
- Package:
- Engine
- Direct subclass:
- IniLocPatcherMcp
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. |
This class reads a set of files from Live/NP servers and uses it to update the game.
Properties[edit]
Files[edit]
Type: array<IniLocFileEntry>
Modifiers: config
The list of files to request from the online service
SystemInterface[edit]
Type: OnlineSystemInterface
Modifiers: transient
Cached access to the system interface
Structs[edit]
IniLocFileEntry[edit]
Modifiers: native
Holds the list of files to download and their download state
- string Filename
- The file to read from the online service
- OnlineSubsystem.EOnlineEnumerationReadState ReadState
- The state of that 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]
ProcessIniLocFile[edit]
Takes the data, merges with the INI/Loc system, and then reloads the config for the affected objects
Parameters:
- FileName - the name of the file being merged
- FileData - the file data to merge with the config cache
Other instance functions[edit]
AddFileToDownload[edit]
Adds a loc/ini file to download
Parameters:
- FileName - the file to download
AddReadFileDelegate[edit]
Adds the specified delegate to the registered downloader. Since the file read can come from different objects, this method hides that detail, but still lets callers get notifications
Parameters:
- ReadTitleFileCompleteDelegate - the delegate to set
ClearCachedFiles[edit]
Tells any subclasses to clear their cached file data
ClearReadFileDelegate[edit]
Clears the specified delegate from any registered downloaders
Parameters:
- ReadTitleFileCompleteDelegate - the delegate to remove from the downloader
DownloadFiles[edit]
Reads the set of files from the online service
Init[edit]
Initializes the patcher, sets delegates, vars, etc.
OnReadFileComplete[edit]
Notifies us when the download of a file is complete
Parameters:
- bWasSuccessful - true if the download completed ok, false otherwise
- FileName - the file that was downloaded (or failed to)