RHAPI_PlayerRankResponse
Summary
Members | Descriptions |
---|---|
struct FRHAPI_PlayerRankResponse | Response to successfully requesting a player’s rank. |
struct FRHAPI_PlayerRankResponse
struct FRHAPI_PlayerRankResponse
: public FRHAPI_Model
Response to successfully requesting a player’s rank.
Summary
Members | Descriptions |
---|---|
public FGuid PlayerUuid | UUID for this specific player. |
public FRHAPI_RankData Rank | |
public int32 RankId | ID for this rank. |
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 & GetRankId () | Gets the value of RankId. |
public inline const int32 & GetRankId () const | Gets the value of RankId. |
public inline void SetRankId (int32 NewValue) | Sets the value of RankId. |
public inline bool IsRankIdDefaultValue () const | Returns true if RankId matches the default value. |
public inline void SetRankIdToDefault () | Sets the value of RankId to its default |
Members
public FGuid
PlayerUuid
UUID for this specific player.
public
FRHAPI_RankData
Rank
public int32
RankId
ID for this rank.
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 &
GetRankId
()
Gets the value of RankId.
public inline const int32 &
GetRankId
() const
Gets the value of RankId.
public inline void
SetRankId
(int32 NewValue)
Sets the value of RankId.
public inline bool
IsRankIdDefaultValue
() const
Returns true if RankId matches the default value.
public inline void
SetRankIdToDefault
()
Sets the value of RankId to its default