Skip to main content

RHAPI_CalculatedRank

Summary

MembersDescriptions
struct FRHAPI_CalculatedRankAdditional data about a specific player's rank and previous match in order to make rank calculations.

struct FRHAPI_CalculatedRank

struct FRHAPI_CalculatedRank
: public FRHAPI_Model

Additional data about a specific player's rank and previous match in order to make rank calculations.

Summary

MembersDescriptions
public FGuid PlayerUuidUUID for this specific player.
public FRHAPI_RankRankData RankCurrent rank info about player.
public int32 SecondsInMatchHow many seconds this player was in the match.
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 FGuid & GetPlayerUuid()Gets the value of PlayerUuid.
public inline const FGuid & GetPlayerUuid() constGets the value of PlayerUuid.
public inline void SetPlayerUuid(const FGuid & NewValue)Sets the value of PlayerUuid.
public inline void SetPlayerUuid(FGuid && NewValue)Sets the value of PlayerUuid using move semantics.
public inline FRHAPI_RankRankData&GetRank()Gets the value of Rank.
public inline const FRHAPI_RankRankData&GetRank() constGets the value of Rank.
public inline void SetRank(const FRHAPI_RankRankData & NewValue)Sets the value of Rank.
public inline void SetRank(FRHAPI_RankRankData && NewValue)Sets the value of Rank using move semantics.
public inline int32 & GetSecondsInMatch()Gets the value of SecondsInMatch.
public inline const int32 & GetSecondsInMatch() constGets the value of SecondsInMatch.
public inline void SetSecondsInMatch(const int32 & NewValue)Sets the value of SecondsInMatch.
public inline void SetSecondsInMatch(int32 && NewValue)Sets the value of SecondsInMatch using move semantics.
public inline bool IsSecondsInMatchDefaultValue() constReturns true if SecondsInMatch matches the default value.
public inline void SetSecondsInMatchToDefault()Sets the value of SecondsInMatch to its default

Members

public FGuid PlayerUuid

UUID for this specific player.

public FRHAPI_RankRankData Rank

Current rank info about player.

public int32 SecondsInMatch

How many seconds this player was in the match.

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 FGuid & GetPlayerUuid()

Gets the value of PlayerUuid.

public inline const FGuid & GetPlayerUuid() const

Gets the value of PlayerUuid.

public inline void SetPlayerUuid(const FGuid & NewValue)

Sets the value of PlayerUuid.

public inline void SetPlayerUuid(FGuid && NewValue)

Sets the value of PlayerUuid using move semantics.

public inline FRHAPI_RankRankData&GetRank()

Gets the value of Rank.

public inline const FRHAPI_RankRankData&GetRank() const

Gets the value of Rank.

public inline void SetRank(const FRHAPI_RankRankData & NewValue)

Sets the value of Rank.

public inline void SetRank(FRHAPI_RankRankData && NewValue)

Sets the value of Rank using move semantics.

public inline int32 & GetSecondsInMatch()

Gets the value of SecondsInMatch.

public inline const int32 & GetSecondsInMatch() const

Gets the value of SecondsInMatch.

public inline void SetSecondsInMatch(const int32 & NewValue)

Sets the value of SecondsInMatch.

public inline void SetSecondsInMatch(int32 && NewValue)

Sets the value of SecondsInMatch using move semantics.

public inline bool IsSecondsInMatchDefaultValue() const

Returns true if SecondsInMatch matches the default value.

public inline void SetSecondsInMatchToDefault()

Sets the value of SecondsInMatch to its default