RHAPI_RankUpdateRequestV2
Summary
Members | Descriptions |
---|---|
struct FRHAPI_RankUpdateRequestV2 | A request body to calculate and update players’ ratings from a match. |
struct FRHAPI_RankUpdateRequestV2
A request body to calculate and update players’ ratings from a match.
Summary
Members | Descriptions |
---|---|
public FString InstanceId_Optional | ID for the instance the match took place on. |
public bool InstanceId_IsSet | true if InstanceId_Optional has been set to a value |
public FString RankId | ID for the rank type used in this match. |
public int32 MatchLengthSeconds | How many seconds the match lasted. |
public TArray< FRHAPI_RankedTeam > Teams | List of teams that participated in this 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 FString & GetInstanceId () | Gets the value of InstanceId_Optional, regardless of it having been set. |
public inline const FString & GetInstanceId () const | Gets the value of InstanceId_Optional, regardless of it having been set. |
public inline const FString & GetInstanceId (const FString & DefaultValue) const | Gets the value of InstanceId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetInstanceId (FString & OutValue) const | Fills OutValue with the value of InstanceId_Optional and returns true if it has been set, otherwise returns false. |
public inline FString * GetInstanceIdOrNull () | Returns a pointer to InstanceId_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetInstanceIdOrNull () const | Returns a pointer to InstanceId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetInstanceId (FString NewValue) | Sets the value of InstanceId_Optional and also sets InstanceId_IsSet to true. |
public inline void ClearInstanceId () | Clears the value of InstanceId_Optional and sets InstanceId_IsSet to false. |
public inline FString & GetRankId () | Gets the value of RankId. |
public inline const FString & GetRankId () const | Gets the value of RankId. |
public inline void SetRankId (FString NewValue) | Sets the value of RankId. |
public inline int32 & GetMatchLengthSeconds () | Gets the value of MatchLengthSeconds. |
public inline const int32 & GetMatchLengthSeconds () const | Gets the value of MatchLengthSeconds. |
public inline void SetMatchLengthSeconds (int32 NewValue) | Sets the value of MatchLengthSeconds. |
public inline bool IsMatchLengthSecondsDefaultValue () const | Returns true if MatchLengthSeconds matches the default value. |
public inline void SetMatchLengthSecondsToDefault () | Sets the value of MatchLengthSeconds to its default |
public inline TArray< FRHAPI_RankedTeam > & GetTeams () | Gets the value of Teams. |
public inline const TArray< FRHAPI_RankedTeam > & GetTeams () const | Gets the value of Teams. |
public inline void SetTeams (TArray< FRHAPI_RankedTeam > NewValue) | Sets the value of Teams. |
Members
public FString
InstanceId_Optional
ID for the instance the match took place on.
#### `public bool `[`InstanceId_IsSet`](#structFRHAPI__RankUpdateRequestV2_1afccfe640c8c1404cb359c5ac6c6c7b45)
true if InstanceId_Optional has been set to a value
#### `public FString `[`RankId`](#structFRHAPI__RankUpdateRequestV2_1a4471c36e5393b21c7eabf9f3b0c6bbc4)
ID for the rank type used in this match.
#### `public int32 `[`MatchLengthSeconds`](#structFRHAPI__RankUpdateRequestV2_1a91bf0f8e7fcd9eeef4368ca8bff338b4)
How many seconds the match lasted.
#### `public TArray< `[`FRHAPI_RankedTeam`](RHAPI_RankedTeam.md#structFRHAPI__RankedTeam)` > `[`Teams`](#structFRHAPI__RankUpdateRequestV2_1a58770a4cd45a001521437970c51f70aa)
List of teams that participated in this match.
#### `public virtual bool `[`FromJson`](#structFRHAPI__RankUpdateRequestV2_1a5020149358d9579f4eb583bca8b1414e)`(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__RankUpdateRequestV2_1ad235d4cde2797f0b64c5ccdc1b70f527)`(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 FString & `[`GetInstanceId`](#structFRHAPI__RankUpdateRequestV2_1a2b91761d385633e05c71230d3aa0d232)`()`
Gets the value of InstanceId_Optional, regardless of it having been set.
#### `public inline const FString & `[`GetInstanceId`](#structFRHAPI__RankUpdateRequestV2_1a5fefdaeebc736715c30f0a60598d72ba)`() const`
Gets the value of InstanceId_Optional, regardless of it having been set.
#### `public inline const FString & `[`GetInstanceId`](#structFRHAPI__RankUpdateRequestV2_1a371c5e0b52b7d6d5b481e9234270f7a2)`(const FString & DefaultValue) const`
Gets the value of InstanceId_Optional, if it has been set, otherwise it returns DefaultValue.
#### `public inline bool `[`GetInstanceId`](#structFRHAPI__RankUpdateRequestV2_1ac1507852a0e0bb8f900e158a02108b57)`(FString & OutValue) const`
Fills OutValue with the value of InstanceId_Optional and returns true if it has been set, otherwise returns false.
#### `public inline FString * `[`GetInstanceIdOrNull`](#structFRHAPI__RankUpdateRequestV2_1af80ede5be2a086fa86da0043e0188556)`()`
Returns a pointer to InstanceId_Optional, if it has been set, otherwise returns nullptr.
#### `public inline const FString * `[`GetInstanceIdOrNull`](#structFRHAPI__RankUpdateRequestV2_1aafb6ffbb2b2a373879d6f4b31956ed5a)`() const`
Returns a pointer to InstanceId_Optional, if it has been set, otherwise returns nullptr.
#### `public inline void `[`SetInstanceId`](#structFRHAPI__RankUpdateRequestV2_1ac65db021d86f4c0d9257d4f6529dc7ce)`(FString NewValue)`
Sets the value of InstanceId_Optional and also sets InstanceId_IsSet to true.
#### `public inline void `[`ClearInstanceId`](#structFRHAPI__RankUpdateRequestV2_1a184e19ae6e2689c66bb0ba3d9334325f)`()`
Clears the value of InstanceId_Optional and sets InstanceId_IsSet to false.
#### `public inline FString & `[`GetRankId`](#structFRHAPI__RankUpdateRequestV2_1a89af089c8dcc81c536459f872b1e7a03)`()`
Gets the value of RankId.
#### `public inline const FString & `[`GetRankId`](#structFRHAPI__RankUpdateRequestV2_1a51b0c67f80ba51b707dd0289ebb8ae79)`() const`
Gets the value of RankId.
#### `public inline void `[`SetRankId`](#structFRHAPI__RankUpdateRequestV2_1abe81e1395b4f43cc9b1bd1d8f0207346)`(FString NewValue)`
Sets the value of RankId.
#### `public inline int32 & `[`GetMatchLengthSeconds`](#structFRHAPI__RankUpdateRequestV2_1a2a6d9e062fb0c98a8514354aef01e328)`()`
Gets the value of MatchLengthSeconds.
#### `public inline const int32 & `[`GetMatchLengthSeconds`](#structFRHAPI__RankUpdateRequestV2_1a15d186ef47d5eeb79911a2d694ba03c1)`() const`
Gets the value of MatchLengthSeconds.
#### `public inline void `[`SetMatchLengthSeconds`](#structFRHAPI__RankUpdateRequestV2_1aefda24506618bfab93b74d2df4fc5104)`(int32 NewValue)`
Sets the value of MatchLengthSeconds.
#### `public inline bool `[`IsMatchLengthSecondsDefaultValue`](#structFRHAPI__RankUpdateRequestV2_1af0e25b4e70c4ce62e1111cb7d2d23021)`() const`
Returns true if MatchLengthSeconds matches the default value.
#### `public inline void `[`SetMatchLengthSecondsToDefault`](#structFRHAPI__RankUpdateRequestV2_1a51886b3f82c9ed12a88b4f732997b38c)`()`
Sets the value of MatchLengthSeconds to its default
#### `public inline TArray< `[`FRHAPI_RankedTeam`](RHAPI_RankedTeam.md#structFRHAPI__RankedTeam)` > & `[`GetTeams`](#structFRHAPI__RankUpdateRequestV2_1ad2c39c42c9dcd6140eb9f55680409733)`()`
Gets the value of Teams.
#### `public inline const TArray< `[`FRHAPI_RankedTeam`](RHAPI_RankedTeam.md#structFRHAPI__RankedTeam)` > & `[`GetTeams`](#structFRHAPI__RankUpdateRequestV2_1ac99f7c05920af593e0837ab937e8f6b6)`() const`
Gets the value of Teams.
#### `public inline void `[`SetTeams`](#structFRHAPI__RankUpdateRequestV2_1a04cd41756d8060c90206ebed41b44723)`(TArray< `[`FRHAPI_RankedTeam`](RHAPI_RankedTeam.md#structFRHAPI__RankedTeam)` > NewValue)`
Sets the value of Teams.