RHAPI_TrueskillTeam
Summary
Members | Descriptions |
---|---|
struct FRHAPI_TrueskillTeam | One team of players from a match along with their placement in the match, and previous trueskill data about all of the players. |
struct FRHAPI_TrueskillTeam
struct FRHAPI_TrueskillTeam
: public FRHAPI_Model
One team of players from a match along with their placement in the match, and previous trueskill data about all of the players.
Summary
Members | Descriptions |
---|---|
public TArray< FRHAPI_TrueskillRank > Players | List of PlayerRankUpdate objects that give stats about a specific player from the match. |
public int32 TeamRank | What rank this team came in. 1 indicates victory, and higher values are placements. Matching ranks indicate draws. |
public virtual bool FromJson (const TSharedPtr< FJsonValue > & JsonValue) | Fills this object with data from the passed in JSON. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes the data from this object into the specified JSON Writer stream. |
public inline TArray< FRHAPI_TrueskillRank > & GetPlayers () | Gets the value of Players. |
public inline const TArray< FRHAPI_TrueskillRank > & GetPlayers () const | Gets the value of Players. |
public inline void SetPlayers (TArray< FRHAPI_TrueskillRank > NewValue) | Sets the value of Players. |
public inline int32 & GetTeamRank () | Gets the value of TeamRank. |
public inline const int32 & GetTeamRank () const | Gets the value of TeamRank. |
public inline void SetTeamRank (int32 NewValue) | Sets the value of TeamRank. |
public inline bool IsTeamRankDefaultValue () const | Returns true if TeamRank matches the default value. |
public inline void SetTeamRankToDefault () | Sets the value of TeamRank to its default |
Members
public TArray<
FRHAPI_TrueskillRank
>
Players
List of PlayerRankUpdate objects that give stats about a specific player from the match.
public int32
TeamRank
What rank this team came in. 1 indicates victory, and higher values are placements. Matching ranks indicate draws.
public virtual bool
FromJson
(const TSharedPtr< FJsonValue > & JsonValue)
Fills this object with data from the passed in JSON.
Parameters
JsonValue
Data from the API call.
Returns
true if parsing of the JSON data was successful.
public virtual void
WriteJson
(TSharedRef< TJsonWriter<>> & Writer) const
Writes the data from this object into the specified JSON Writer stream.
Parameters
Writer
JSON Writer stream to push .
public inline TArray<
FRHAPI_TrueskillRank
> &
GetPlayers
()
Gets the value of Players.
public inline const TArray<
FRHAPI_TrueskillRank
> &
GetPlayers
() const
Gets the value of Players.
public inline void
SetPlayers
(TArray<
FRHAPI_TrueskillRank
> NewValue)
Sets the value of Players.
public inline int32 &
GetTeamRank
()
Gets the value of TeamRank.
public inline const int32 &
GetTeamRank
() const
Gets the value of TeamRank.
public inline void
SetTeamRank
(int32 NewValue)
Sets the value of TeamRank.
public inline bool
IsTeamRankDefaultValue
() const
Returns true if TeamRank matches the default value.
public inline void
SetTeamRankToDefault
()
Sets the value of TeamRank to its default