Skip to content

RHAPI_RankedTeam

Summary

MembersDescriptions
struct FRHAPI_RankedTeamOne team of players from a match along with their placement in the match, and previous trueskill data about all of the players.

struct FRHAPI_RankedTeam

struct FRHAPI_RankedTeam
: 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

MembersDescriptions
public TArray< FRHAPI_CalculatedRank>PlayersList of CalculatedRank objects that give stats about a specific player from the match.
public int32 TeamRankWhat 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) constWrites the data from this object into the specified JSON Writer stream.
public inline TArray< FRHAPI_CalculatedRank> &GetPlayers()Gets the value of Players.
public inline const TArray< FRHAPI_CalculatedRank> &GetPlayers() constGets the value of Players.
public inline void SetPlayers(TArray< FRHAPI_CalculatedRank > NewValue)Sets the value of Players.
public inline int32 & GetTeamRank()Gets the value of TeamRank.
public inline const int32 & GetTeamRank() constGets the value of TeamRank.
public inline void SetTeamRank(int32 NewValue)Sets the value of TeamRank.
public inline bool IsTeamRankDefaultValue() constReturns true if TeamRank matches the default value.
public inline void SetTeamRankToDefault()Sets the value of TeamRank to its default

Members

public TArray< FRHAPI_CalculatedRank>Players

List of CalculatedRank objects that give stats about a specific player from the match.


#### `public int32 `[`TeamRank`](#structFRHAPI__RankedTeam_1a350d4eb07e1820adb0dc652d69bcacb3)

What rank this team came in. 1 indicates victory, and higher values are placements. Matching ranks indicate draws.


#### `public virtual bool `[`FromJson`](#structFRHAPI__RankedTeam_1a29e61f5ed78662d7bceedff35b4bff20)`(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`](#structFRHAPI__RankedTeam_1aca0fb8d52b8f9c3e394cd117acb1416d)`(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_CalculatedRank`](RHAPI_CalculatedRank.md#structFRHAPI__CalculatedRank)` > & `[`GetPlayers`](#structFRHAPI__RankedTeam_1af380e38877a7b061956b8423e6d654df)`()`

Gets the value of Players.


#### `public inline const TArray< `[`FRHAPI_CalculatedRank`](RHAPI_CalculatedRank.md#structFRHAPI__CalculatedRank)` > & `[`GetPlayers`](#structFRHAPI__RankedTeam_1a2e5020da54589aa3261af2228ce25ab2)`() const`

Gets the value of Players.


#### `public inline void `[`SetPlayers`](#structFRHAPI__RankedTeam_1a777fadc8f0488107e1c6ebc9bedf76f9)`(TArray< `[`FRHAPI_CalculatedRank`](RHAPI_CalculatedRank.md#structFRHAPI__CalculatedRank)` > NewValue)`

Sets the value of Players.


#### `public inline int32 & `[`GetTeamRank`](#structFRHAPI__RankedTeam_1a9167779bb3d07bfeae3efcb5fdaa18c2)`()`

Gets the value of TeamRank.


#### `public inline const int32 & `[`GetTeamRank`](#structFRHAPI__RankedTeam_1a41689a1d50658e4bc0c8606e7bf665ca)`() const`

Gets the value of TeamRank.


#### `public inline void `[`SetTeamRank`](#structFRHAPI__RankedTeam_1ab5adf42553fbc371930ea8a2bcc10618)`(int32 NewValue)`

Sets the value of TeamRank.


#### `public inline bool `[`IsTeamRankDefaultValue`](#structFRHAPI__RankedTeam_1a81c6e9168a4af88040ede0753bf266db)`() const`

Returns true if TeamRank matches the default value.


#### `public inline void `[`SetTeamRankToDefault`](#structFRHAPI__RankedTeam_1a4a1cdb05a5c8edbcb41d60ba86b2c872)`()`

Sets the value of TeamRank to its default