Skip to content

RHAPI_PlayerRankUpdateRequest

Summary

MembersDescriptions
struct FRHAPI_PlayerRankUpdateRequestRequest body to update generic rank data.

struct FRHAPI_PlayerRankUpdateRequest

struct FRHAPI_PlayerRankUpdateRequest
: public FRHAPI_Model

Request body to update generic rank data.

Summary

MembersDescriptions
public FString InstanceId_OptionalID for the instance the match took place on.
public bool InstanceId_IsSettrue if InstanceId_Optional has been set to a value
public FRHAPI_RankData RankCurrent rank info about player.
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 FString & GetInstanceId()Gets the value of InstanceId_Optional, regardless of it having been set.
public inline const FString & GetInstanceId() constGets the value of InstanceId_Optional, regardless of it having been set.
public inline const FString & GetInstanceId(const FString & DefaultValue) constGets the value of InstanceId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetInstanceId(FString & OutValue) constFills 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() constReturns 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 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.

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 FRHAPI_RankData Rank

Current rank info about player.

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 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.