RHAPI_TrueskillRank
Summary
Members | Descriptions |
---|---|
struct FRHAPI_TrueskillRank | Additional data about a specific player’s rank and previous match in order to make trueskill calculations. |
struct FRHAPI_TrueskillRank
struct FRHAPI_TrueskillRank
: public FRHAPI_Model
Additional data about a specific player’s rank and previous match in order to make trueskill calculations.
Summary
Members | Descriptions |
---|---|
public FGuid PlayerUuid | UUID for this specific player. |
public FRHAPI_RankData Rank | |
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. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes 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 () const | Gets the value of PlayerUuid. |
public inline void SetPlayerUuid (FGuid NewValue) | Sets the value of PlayerUuid. |
public inline FRHAPI_RankData & GetRank () | Gets the value of Rank. |
public inline const FRHAPI_RankData & GetRank () const | Gets the value of Rank. |
public inline void SetRank ( FRHAPI_RankData NewValue) | Sets the value of Rank. |
public inline int32 & GetSecondsInMatch () | Gets the value of SecondsInMatch. |
public inline const int32 & GetSecondsInMatch () const | Gets the value of SecondsInMatch. |
public inline void SetSecondsInMatch (int32 NewValue) | Sets the value of SecondsInMatch. |
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 |
Members
public FGuid
PlayerUuid
UUID for this specific player.
public
FRHAPI_RankData
Rank
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
(FGuid NewValue)
Sets the value of PlayerUuid.
public inline
FRHAPI_RankData
&
GetRank
()
Gets the value of Rank.
public inline const
FRHAPI_RankData
&
GetRank
() const
Gets the value of Rank.
public inline void
SetRank
(
FRHAPI_RankData
NewValue)
Sets the value of Rank.
public inline int32 &
GetSecondsInMatch
()
Gets the value of SecondsInMatch.
public inline const int32 &
GetSecondsInMatch
() const
Gets the value of SecondsInMatch.
public inline void
SetSecondsInMatch
(int32 NewValue)
Sets the value of SecondsInMatch.
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