Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE3:OnlinePlaylistManager (UDK)
Object >> OnlinePlaylistManager |
Contents
- Package:
- Engine
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 holds the set of playlists that the game exposes, handles downloading updates to the playlists via MCP/TitleFiles, and creates the game settings objects that make up a playlist
Properties[edit]
DatastoresToRefresh[edit]
Modifiers: config
The set of UIDataStore_GameResource objects to refresh once the download has completed
DownloadCount[edit]
Type: int
Used to know when we should finalize the objects
PlaylistFileNames[edit]
The file names to request when downloading a playlist from MCP/TMS/etc
Playlists[edit]
Modifiers: config
This is the complete set of playlists available to choose from
SuccessfulCount[edit]
Type: int
Incremented when successful to determine whether to update at all
VersionNumber[edit]
Type: int
Modifiers: config
The version number of the playlist that was downloaded
Structs[edit]
ConfiguredGameSetting[edit]
Modifiers: native
Contains a game settings class name to load and instance using the specified URL to override defaults
- int GameSettingId
- The unique (within the playlist) id for this game setting
- string GameSettingsClassName
- The name of the class to load and instance
- string Url
- The URL to use to replace settings with (see UpdateFromURL())
- OnlineGameSettings GameSettings
- Holds the object that was created for this entry in a playlist
Playlist[edit]
Modifiers: native
A playlist contains 1 or more game configurations that players can choose between
- array<ConfiguredGameSetting> ConfiguredGames
- Holds the list of game configurations that are part of this playlist
- int PlaylistId
- The unique id for this playlist
- string LocalizationString
- The string to use to lookup the display name for this playlist
- array<int> ContentIds
- The set of content/maps (or DLC bundles) that must be present in order to play on this playlist
- int TeamSize
- The number of players per team if different from the defaults
- int TeamCount
- The number of teams per match if different from the defaults
- string Name
- The string to use in the UI for this playlist
- bool bIsArbitrated
- Whether this playlist is arbitrated or not
Delegates[edit]
OnReadPlaylistComplete[edit]
Delegate fired when the playlist has been downloaded and processed
Functions[edit]
Native functions[edit]
DetermineFilesToDownload[edit]
Uses the current loc setting and game ini name to build the download list
FinalizePlaylistObjects[edit]
Uses the configuration data to create the requested objects and then applies any specific game settings changes to them
Other instance functions[edit]
DownloadPlaylist[edit]
Reads the playlist from either MCP or from some form of title storage
GetContentIdsFromPlaylist[edit]
Finds the specified playlist and return the content ids in the out var
Parameters:
- PlaylistId - the playlist being searched for
- ContentIds - the list to set the content ids in
GetGameSettings[edit]
Finds the game settings object associated with this playlist and game settings id
Parameters:
- PlaylistId - the playlist we are searching
- GameSettingsId - the game settings id being searched for
Returns:
- the game settings specified or None if not found
GetTeamInfoFromPlaylist[edit]
Finds the team information for the specified playlist and returns it in the out vars
Parameters:
- PlaylistId - the playlist being searched for
- TeamSize - out var getting the number of players per team
- TeamCount - out var getting the number of teams per match
HasAnyGameSettings[edit]
Determine if any game settings exist for the given playlistid
Parameters:
- PlaylistId - playlist to check for game settings
Returns:
- TRUE if game settings exist for the given id
OnReadTitleFileComplete[edit]
Notifies us when the download of the playlist file is complete
Parameters:
- bWasSuccessful - true if the download completed ok, false otherwise
- FileName - the file that was downloaded (or failed to)
Reset[edit]
Allows the playlists to be re-requested from the server