RHAPI_RankData
Summary
Members | Descriptions |
---|---|
struct FRHAPI_RankData | Ranked data about a player’s skill and confidence levels. |
struct FRHAPI_RankData
Ranked data about a player’s skill and confidence levels.
Summary
Members | Descriptions |
---|---|
public float Mu | A measure of perceived skill in a player. |
public float Sigma | A measure of how confident we are in the perceived skill (high sigma means low confidence) |
public TMap< FString, FString > CustomData_Optional | Custom key-value player rank data. |
public bool CustomData_IsSet | true if CustomData_Optional has been set to a value |
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 float & GetMu () | Gets the value of Mu. |
public inline const float & GetMu () const | Gets the value of Mu. |
public inline void SetMu (float NewValue) | Sets the value of Mu. |
public inline float & GetSigma () | Gets the value of Sigma. |
public inline const float & GetSigma () const | Gets the value of Sigma. |
public inline void SetSigma (float NewValue) | Sets the value of Sigma. |
public inline TMap< FString, FString > & GetCustomData () | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData () const | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData (const TMap< FString, FString > & DefaultValue) const | Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCustomData (TMap< FString, FString > & OutValue) const | Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FString > * GetCustomDataOrNull () | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FString > * GetCustomDataOrNull () const | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCustomData (TMap< FString, FString > NewValue) | Sets the value of CustomData_Optional and also sets CustomData_IsSet to true. |
public inline void ClearCustomData () | Clears the value of CustomData_Optional and sets CustomData_IsSet to false. |
Members
public float
Mu
A measure of perceived skill in a player.
#### `public float `[`Sigma`](#structFRHAPI__RankData_1a45a6360cbb9002f253ce3481b84b2260)
A measure of how confident we are in the perceived skill (high sigma means low confidence)
#### `public TMap< FString, FString > `[`CustomData_Optional`](#structFRHAPI__RankData_1a6cc90e4d02ac3c6eb18ac7bbed74c9e6)
Custom key-value player rank data.
#### `public bool `[`CustomData_IsSet`](#structFRHAPI__RankData_1a1d6a997932948120bf350d5fd2b61ed1)
true if CustomData_Optional has been set to a value
#### `public virtual bool `[`FromJson`](#structFRHAPI__RankData_1a7626e3e65856e26d5d6fe6cd74c95457)`(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__RankData_1ae6535dda682e34f419505864f6451557)`(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 float & `[`GetMu`](#structFRHAPI__RankData_1a0a2c501c8a8d440f060ca600124efa7a)`()`
Gets the value of Mu.
#### `public inline const float & `[`GetMu`](#structFRHAPI__RankData_1a65ca5c4664b5ef60345439156aee02b9)`() const`
Gets the value of Mu.
#### `public inline void `[`SetMu`](#structFRHAPI__RankData_1ade1c2275b9f3bd62fd2cc33a117596be)`(float NewValue)`
Sets the value of Mu.
#### `public inline float & `[`GetSigma`](#structFRHAPI__RankData_1a30e029ef16b031aff172f71e960dba16)`()`
Gets the value of Sigma.
#### `public inline const float & `[`GetSigma`](#structFRHAPI__RankData_1ac0fdf966a2fe9a58e82c5bdb7aa57bb9)`() const`
Gets the value of Sigma.
#### `public inline void `[`SetSigma`](#structFRHAPI__RankData_1a5650bafa8bd83f4582fc8ea91dafb931)`(float NewValue)`
Sets the value of Sigma.
#### `public inline TMap< FString, FString > & `[`GetCustomData`](#structFRHAPI__RankData_1ae2a514ff74b15eedc063e0f162f687ee)`()`
Gets the value of CustomData_Optional, regardless of it having been set.
#### `public inline const TMap< FString, FString > & `[`GetCustomData`](#structFRHAPI__RankData_1aeb70cd726f718f8dae11d3224f05c196)`() const`
Gets the value of CustomData_Optional, regardless of it having been set.
#### `public inline const TMap< FString, FString > & `[`GetCustomData`](#structFRHAPI__RankData_1ae0d5ca3e159251223c9f44a542676696)`(const TMap< FString, FString > & DefaultValue) const`
Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue.
#### `public inline bool `[`GetCustomData`](#structFRHAPI__RankData_1ac5e97b58e367645b7c86f4d75bb104a5)`(TMap< FString, FString > & OutValue) const`
Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false.
#### `public inline TMap< FString, FString > * `[`GetCustomDataOrNull`](#structFRHAPI__RankData_1ae83cac353d1116f8a0e0b8af55f11be1)`()`
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
#### `public inline const TMap< FString, FString > * `[`GetCustomDataOrNull`](#structFRHAPI__RankData_1ac7be297a8ac380c575fd38cf3d95a1ab)`() const`
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
#### `public inline void `[`SetCustomData`](#structFRHAPI__RankData_1a276200d7bad57cad50071060f3be8eab)`(TMap< FString, FString > NewValue)`
Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.
#### `public inline void `[`ClearCustomData`](#structFRHAPI__RankData_1ae6fdd574b4aa03a955e0d73368021c63)`()`
Clears the value of CustomData_Optional and sets CustomData_IsSet to false.