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`](#structFRHAPI__PlayerRankUpdateRequest_1a40d06b2cf100c0b0b2e47ad7d7853b68)

true if InstanceId_Optional has been set to a value


#### `public `[`FRHAPI_RankData`](RHAPI_RankData.md#structFRHAPI__RankData)` `[`Rank`](#structFRHAPI__PlayerRankUpdateRequest_1a2bc65f5b21cbd31a5aa56cb3ad11381b)

Current rank info about player.


#### `public virtual bool `[`FromJson`](#structFRHAPI__PlayerRankUpdateRequest_1afa1dc423d993330bbc8484b990d77827)`(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__PlayerRankUpdateRequest_1a3b76c5a3d842343b27f0538ace0e665f)`(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__PlayerRankUpdateRequest_1ad1cf60fa86e710efd0b046dada4e3c59)`()`

Gets the value of InstanceId_Optional, regardless of it having been set.


#### `public inline const FString & `[`GetInstanceId`](#structFRHAPI__PlayerRankUpdateRequest_1a21010161b9f74a09a0f1ffc0eb05560f)`() const`

Gets the value of InstanceId_Optional, regardless of it having been set.


#### `public inline const FString & `[`GetInstanceId`](#structFRHAPI__PlayerRankUpdateRequest_1abaf0629c5e89f214428157d2cb7e4ea3)`(const FString & DefaultValue) const`

Gets the value of InstanceId_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetInstanceId`](#structFRHAPI__PlayerRankUpdateRequest_1a77bd2cd58b54b0336faf0bf98e422658)`(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__PlayerRankUpdateRequest_1a5842aca4a8311ee0ca42163ccf7b38ea)`()`

Returns a pointer to InstanceId_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const FString * `[`GetInstanceIdOrNull`](#structFRHAPI__PlayerRankUpdateRequest_1afbc936802367071d0637ea2a76874862)`() const`

Returns a pointer to InstanceId_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetInstanceId`](#structFRHAPI__PlayerRankUpdateRequest_1a34a2ee59444834c77a865fad11d7be05)`(FString NewValue)`

Sets the value of InstanceId_Optional and also sets InstanceId_IsSet to true.


#### `public inline void `[`ClearInstanceId`](#structFRHAPI__PlayerRankUpdateRequest_1a6ed6ba4c13c1d481737f6ad718caa77b)`()`

Clears the value of InstanceId_Optional and sets InstanceId_IsSet to false.


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

Gets the value of Rank.


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

Gets the value of Rank.


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

Sets the value of Rank.