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 rank 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 rank 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

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_CalculatedRank> &GetPlayers()

Gets the value of Players.

public inline const TArray< FRHAPI_CalculatedRank> &GetPlayers() const

Gets 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() 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