There is no spoon
UE3:OnlineRecentPlayersList (UDK)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> OnlineRecentPlayersList |
- 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 a list of players met online that the players on this PC/console encountered. It does not persist the list. Both parties and individuals are tracked with the individuals containing all party members. Note that it only holds the unique ids of the players.
[edit] Properties
[edit] CurrentPlayers
Type: array<CurrentPlayerMet>
Modifiers: private
Holds the list of current players (the set of players currently in a session
[edit] LastParty
Type: RecentParty
Holds the information about the last party that a player on this pc/console was in
[edit] MaxRecentParties
Type: int
Modifiers: config
The size of the recent party list to allow before losing the oldest entries
Default value: 5
[edit] MaxRecentPlayers
Type: int
Modifiers: config
The size of the recent player list to allow before losing the oldest entries
Default value: 100
[edit] RecentParties
Type: array<RecentParty>
The list of recent parties that the players on this PC/console has encountered
[edit] RecentPartiesAddIndex
Type: int
The position in the array that new parties should be added at
[edit] RecentPlayers
Type: array<OnlineSubsystem.UniqueNetId>
The set of players that players on this PC/console have recently encountered
[edit] RecentPlayersAddIndex
Type: int
The position in the array that new players should be added at
[edit] Structs
[edit] CurrentPlayerMet
The set of people that the player/PC/console are currently playing with/against
- int TeamNum
- The team the player is on
- int Skill
- The skill rating of the player
- OnlineSubsystem.UniqueNetId NetId
- The unique net id for the player
[edit] RecentParty
Holds a set of players that made up a party
- OnlineSubsystem.UniqueNetId PartyLeader
- The player that was the party leader
- array<OnlineSubsystem.UniqueNetId> PartyMembers
- The list of players that comprise the party (should include the leader)
[edit] Instance functions
[edit] AddPartyToRecentParties
Adds a player to the recent players list
Parameters:
- PartyLeader - the player being added
- PartyMembers - the members of the party
[edit] AddPlayerToRecentPlayers
Adds a player to the recent players list
Parameters:
- NewPlayer - the player being added
[edit] ClearRecentParties
Clears the recent parties list and resets the add index
[edit] ClearRecentPlayers
Clears the recent players list and resets the add index
[edit] DumpPlayersList
Log list of players for debugging
[edit] GetCurrentPlayersListCount
Returns:
- the number of players in the current player session
[edit] GetPlayersFromCurrentPlayers
Builds a single list of players from the current players list
Parameters:
- Players - the array getting the data copied into it
[edit] GetPlayersFromRecentParties
Builds a single list of players from the recent parties list
Parameters:
- Players - the array getting the data copied into it
[edit] GetSkillForCurrentPlayer
Finds the player indicated and returns their skill rating
Parameters:
- Player - the player to search for
Returns:
- the skill for the specified player
[edit] GetTeamForCurrentPlayer
Finds the player indicated and returns their team that was assigned
Parameters:
- Player - the player to search for
Returns:
- the team number for the specified player
[edit] SetCurrentPlayersList
Sets the current player list to the data specified
Parameters:
- Players - the list of players to copy
[edit] SetLastParty
Adds a player to the recent players list
Parameters:
- PartyLeader - the player being added
- PartyMembers - the members of the party
[edit] ShowCurrentPlayersList
Builds a single player list out of the players in the current players list
Parameters:
- LocalUserNum - the controller number of the associated user
- Title - the title to use for the UI
- Description - the text to show at the top of the UI
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
[edit] ShowLastPartyPlayerList
Shows the last party that you were in as a player list
Parameters:
- LocalUserNum - the controller number of the associated user
- Title - the title to use for the UI
- Description - the text to show at the top of the UI
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
[edit] ShowRecentPartiesPlayerList
Builds a single player list out of the various parties encountered and shows
Parameters:
- LocalUserNum - the controller number of the associated user
- Title - the title to use for the UI
- Description - the text to show at the top of the UI
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
[edit] ShowRecentPlayerList
Helper function for showing the recent players list
Parameters:
- LocalUserNum - the controller number of the associated user
- Title - the title to use for the UI
- Description - the text to show at the top of the UI
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
