There is no spoon
UE3:UIDataStore_OnlineStats (UDK)
Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_Remote >> UIDataStore_OnlineStats |
Contents
- Package:
- Engine
- Implemented interfaces:
- UIListElementCellProvider, UIListElementProvider
- Direct subclass:
- UTDataStore_OnlineStats
- This class in other games:
- UT3
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 is responsible for mapping properties in an OnlineStatsRead class to the UI. It maintains a set of different read objects that are switched between at run time. This allows you to show leaderboards by age (one week, month, year, etc.) from the same UI by having this data store just use different query objects
NOTE: Each game needs to derive at least one class from this one in order to expose the game's specific stats class(es)
Properties[edit]
CurrentReadType[edit]
Type: EStatsFetchType
The current type to read
PlayerInterface[edit]
Type: OnlinePlayerInterface
The player interface to use for performing player specific functions
PlayerNickData[edit]
Type: PlayerNickMetaData
Modifiers: const
Default value:
Member | Value |
---|---|
PlayerNickColumnName | "Player Nick" |
PlayerNickName | 'Player Nick' |
RankNameMetaData[edit]
Type: RankMetaData
Modifiers: const
Cached FName for faster compares
Default value:
Member | Value |
---|---|
RankColumnName | "Rank" |
RankName | 'Rank' |
StatsInterface[edit]
Type: OnlineStatsInterface
The stats interface to use for reading stats data
StatsRead[edit]
Type: OnlineStatsRead
The OnlineStatsRead object that will be exposed to the UI. One of the objects from the array above. The game specific version of this class needs to change the current setting based on its rules
StatsReadClasses[edit]
Type: array<class<OnlineStatsRead> >
The OnlineStatsRead derived classes to load and populate the UI with
StatsReadName[edit]
Type: name
Modifiers: const
Cached FName for faster compares
Default value: 'StatsReadResults'
StatsReadObjects[edit]
Type: array<OnlineStatsRead>
The set of stats read objects that will be used for display purposes
TotalRowsName[edit]
Type: name
Modifiers: const
Cached FName for faster compares
Default value: 'TotalRows'
Default values[edit]
Property | Value |
---|---|
Tag | 'OnlineStats' |
Enums[edit]
EStatsFetchType[edit]
The types of stats to fetch
- SFT_Player
- The player's stats
- SFT_CenteredOnPlayer
- The player and people above/below them
- SFT_Friends
- The player's frinds list and them
- SFT_TopRankings
- The top n ranked players
Structs[edit]
PlayerNickMetaData[edit]
Modifiers: native
- name PlayerNickName
- Cached FName for faster compares
- string PlayerNickColumnName
- The name displayed in column headings in the UI
RankMetaData[edit]
Modifiers: native
- name RankName
- Cached FName for faster compares
- string RankColumnName
- The name displayed in column headings in the UI
Functions[edit]
Native functions[edit]
SortResultsByRank[edit]
Sorts the returned results by their rank (lowest to highest)
Events[edit]
Init[edit]
Grabs the interface pointers and sets the read delegate
RefreshStats[edit]
Tells the online subsystem to re-read the stats data using the current read mode and the current object to add the results to
ShowGamercard[edit]
Displays the gamercard for the specified list index
Parameters:
- ConrollerIndex - the ControllerId for the player displaying the gamercard
- ListIndex - the item in the list to display the gamercard for
Other instance functions[edit]
OnReadComplete[edit]
Called by the online subsystem when the stats read has completed
Parameters:
- bWasSuccessful - whether the stats read was successful or not
SetStatsReadInfo[edit]
This function should be overloaded with a game specific version. It is used to determine which search class to use and in which mode