Skip to content

RHAPI_TrueskillRank

Summary

MembersDescriptions
struct FRHAPI_TrueskillRankAdditional 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

MembersDescriptions
public FGuid PlayerUuidUUID for this specific player.
public FRHAPI_RankData Rank
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(FGuid NewValue)Sets the value of PlayerUuid.
public inline FRHAPI_RankData&GetRank()Gets the value of Rank.
public inline const FRHAPI_RankData&GetRank() constGets 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() constGets the value of SecondsInMatch.
public inline void SetSecondsInMatch(int32 NewValue)Sets the value of SecondsInMatch.
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_RankData`](RHAPI_RankData.md#structFRHAPI__RankData)` `[`Rank`](#structFRHAPI__TrueskillRank_1af39b2ae881ae0ffdf4dd6836677f48a5)
#### `public int32 `[`SecondsInMatch`](#structFRHAPI__TrueskillRank_1a68c349e909efe6f7fd18d28c1b4b8e51)

How many seconds this player was in the match.


#### `public virtual bool `[`FromJson`](#structFRHAPI__TrueskillRank_1ac22894eb357464b911aca49770507e5e)`(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`](#structFRHAPI__TrueskillRank_1a5714d0abce9d473dc0a14d097634e90f)`(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`](#structFRHAPI__TrueskillRank_1a8ec1d7e23e97d4afa52e9e620e66b80f)`()`

Gets the value of PlayerUuid.


#### `public inline const FGuid & `[`GetPlayerUuid`](#structFRHAPI__TrueskillRank_1a6ad598cc0a624bd29bbe5f8ec8ba2ee9)`() const`

Gets the value of PlayerUuid.


#### `public inline void `[`SetPlayerUuid`](#structFRHAPI__TrueskillRank_1a7377bccba2509ac98fea81d2eb2735b3)`(FGuid NewValue)`

Sets the value of PlayerUuid.


#### `public inline `[`FRHAPI_RankData`](RHAPI_RankData.md#structFRHAPI__RankData)` & `[`GetRank`](#structFRHAPI__TrueskillRank_1af016b1248a10ffba74cac73c34b1cc37)`()`

Gets the value of Rank.


#### `public inline const `[`FRHAPI_RankData`](RHAPI_RankData.md#structFRHAPI__RankData)` & `[`GetRank`](#structFRHAPI__TrueskillRank_1a8c754d61c93043a10e12531923a91c52)`() const`

Gets the value of Rank.


#### `public inline void `[`SetRank`](#structFRHAPI__TrueskillRank_1ab51a53bb2327adfacc4299e1c3d7a63b)`(`[`FRHAPI_RankData`](RHAPI_RankData.md#structFRHAPI__RankData)` NewValue)`

Sets the value of Rank.


#### `public inline int32 & `[`GetSecondsInMatch`](#structFRHAPI__TrueskillRank_1a20b1960e0c1d51d01eeed21ebafe2195)`()`

Gets the value of SecondsInMatch.


#### `public inline const int32 & `[`GetSecondsInMatch`](#structFRHAPI__TrueskillRank_1a2ec97a2e674ea48254803db5cb3b8752)`() const`

Gets the value of SecondsInMatch.


#### `public inline void `[`SetSecondsInMatch`](#structFRHAPI__TrueskillRank_1a86bf34b25badc628eb021aa9c9412b2a)`(int32 NewValue)`

Sets the value of SecondsInMatch.


#### `public inline bool `[`IsSecondsInMatchDefaultValue`](#structFRHAPI__TrueskillRank_1a16ddaad664bcb8338928f1c56a3bf8c2)`() const`

Returns true if SecondsInMatch matches the default value.


#### `public inline void `[`SetSecondsInMatchToDefault`](#structFRHAPI__TrueskillRank_1aeb08477ff2f0cbdecd7c4f954bdaa0d9)`()`

Sets the value of SecondsInMatch to its default