Skip to main content

RHAPI_CalculateRankRequest

Summary​

MembersDescriptions
struct FRHAPI_CalculateRankRequestA request body to calculate players' rankings, and return the results. Player ranks will not be updated.

struct FRHAPI_CalculateRankRequest ​

struct FRHAPI_CalculateRankRequest
: public FRHAPI_Model

A request body to calculate players' rankings, and return the results. Player ranks will not be updated.

Summary​

MembersDescriptions
public int32 MatchLengthSecondsHow many seconds the match lasted.
public TArray< FRHAPI_RankedTeam>TeamsList of teams that participated in this match.
public FRHAPI_CalculateRankConfig RankConfigConfigs about how to recalculate and clamp newly calculated ranks.
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 int32 & GetMatchLengthSeconds()Gets the value of MatchLengthSeconds.
public inline const int32 & GetMatchLengthSeconds() constGets the value of MatchLengthSeconds.
public inline void SetMatchLengthSeconds(const int32 & NewValue)Sets the value of MatchLengthSeconds.
public inline void SetMatchLengthSeconds(int32 && NewValue)Sets the value of MatchLengthSeconds using move semantics.
public inline bool IsMatchLengthSecondsDefaultValue() constReturns true if MatchLengthSeconds matches the default value.
public inline void SetMatchLengthSecondsToDefault()Sets the value of MatchLengthSeconds to its default
public inline TArray< FRHAPI_RankedTeam> &GetTeams()Gets the value of Teams.
public inline const TArray< FRHAPI_RankedTeam> &GetTeams() constGets the value of Teams.
public inline void SetTeams(const TArray< FRHAPI_RankedTeam > & NewValue)Sets the value of Teams.
public inline void SetTeams(TArray< FRHAPI_RankedTeam > && NewValue)Sets the value of Teams using move semantics.
public inline FRHAPI_CalculateRankConfig&GetRankConfig()Gets the value of RankConfig.
public inline const FRHAPI_CalculateRankConfig&GetRankConfig() constGets the value of RankConfig.
public inline void SetRankConfig(const FRHAPI_CalculateRankConfig & NewValue)Sets the value of RankConfig.
public inline void SetRankConfig(FRHAPI_CalculateRankConfig && NewValue)Sets the value of RankConfig using move semantics.

Members​

public int32 MatchLengthSeconds ​

How many seconds the match lasted.

public TArray< FRHAPI_RankedTeam>Teams ​

List of teams that participated in this match.

public FRHAPI_CalculateRankConfig RankConfig ​

Configs about how to recalculate and clamp newly calculated ranks.

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 int32 & GetMatchLengthSeconds() ​

Gets the value of MatchLengthSeconds.

public inline const int32 & GetMatchLengthSeconds() const ​

Gets the value of MatchLengthSeconds.

public inline void SetMatchLengthSeconds(const int32 & NewValue) ​

Sets the value of MatchLengthSeconds.

public inline void SetMatchLengthSeconds(int32 && NewValue) ​

Sets the value of MatchLengthSeconds using move semantics.

public inline bool IsMatchLengthSecondsDefaultValue() const ​

Returns true if MatchLengthSeconds matches the default value.

public inline void SetMatchLengthSecondsToDefault() ​

Sets the value of MatchLengthSeconds to its default

public inline TArray< FRHAPI_RankedTeam> &GetTeams() ​

Gets the value of Teams.

public inline const TArray< FRHAPI_RankedTeam> &GetTeams() const ​

Gets the value of Teams.

public inline void SetTeams(const TArray< FRHAPI_RankedTeam > & NewValue) ​

Sets the value of Teams.

public inline void SetTeams(TArray< FRHAPI_RankedTeam > && NewValue) ​

Sets the value of Teams using move semantics.

public inline FRHAPI_CalculateRankConfig&GetRankConfig() ​

Gets the value of RankConfig.

public inline const FRHAPI_CalculateRankConfig&GetRankConfig() const ​

Gets the value of RankConfig.

public inline void SetRankConfig(const FRHAPI_CalculateRankConfig & NewValue) ​

Sets the value of RankConfig.

public inline void SetRankConfig(FRHAPI_CalculateRankConfig && NewValue) ​

Sets the value of RankConfig using move semantics.