RHAPI_TrueskillUpdateRequest
Summary
Members | Descriptions |
---|---|
struct FRHAPI_TrueskillUpdateRequest | A request body to update players’ trueskill ratings from a match. |
struct FRHAPI_TrueskillUpdateRequest
struct FRHAPI_TrueskillUpdateRequest
: public FRHAPI_Model
A request body to update players’ trueskill 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 int32 RankId | ID for the rank type used in this match. |
public int32 MatchLengthSeconds | How many seconds the match lasted. |
public TArray< FRHAPI_TrueskillTeam > 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 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 |
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_TrueskillTeam > & GetTeams () | Gets the value of Teams. |
public inline const TArray< FRHAPI_TrueskillTeam > & GetTeams () const | Gets the value of Teams. |
public inline void SetTeams (TArray< FRHAPI_TrueskillTeam > NewValue) | Sets the value of Teams. |
Members
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 int32
RankId
ID for the rank type used in this match.
public int32
MatchLengthSeconds
How many seconds the match lasted.
public TArray<
FRHAPI_TrueskillTeam
>
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.
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 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 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
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_TrueskillTeam
> &
GetTeams
()
Gets the value of Teams.
public inline const TArray<
FRHAPI_TrueskillTeam
> &
GetTeams
() const
Gets the value of Teams.
public inline void
SetTeams
(TArray<
FRHAPI_TrueskillTeam
> NewValue)
Sets the value of Teams.