Skip to content

RHAPI_PlayerResponse

Summary

MembersDescriptions
struct FRHAPI_PlayerResponseResponse for getting a player’s info.

struct FRHAPI_PlayerResponse

struct FRHAPI_PlayerResponse
: public FRHAPI_Model

Response for getting a player’s info.

Summary

MembersDescriptions
public int32 PlayerIdPlayer ID DEPRECATED use player_uuid instead.
public FGuid PlayerUuidPlayer UUID.
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 int32 & GetPlayerId()Gets the value of PlayerId.
public inline const int32 & GetPlayerId() constGets the value of PlayerId.
public inline void SetPlayerId(int32 NewValue)Sets the value of PlayerId.
public inline bool IsPlayerIdDefaultValue() constReturns true if PlayerId matches the default value.
public inline void SetPlayerIdToDefault()Sets the value of PlayerId to its default
public inline FGuid & GetPlayerUuid()Gets the value of PlayerUuid.
public inline const FGuid & GetPlayerUuid() constGets the value of PlayerUuid.
public inline void SetPlayerUuid(FGuid NewValue)Sets the value of PlayerUuid.

Members

public int32 PlayerId

Player ID DEPRECATED use player_uuid instead.


#### `public FGuid `[`PlayerUuid`](#structFRHAPI__PlayerResponse_1adc688a62eabd80c3cfde9688e61bd030)

Player UUID.


#### `public virtual bool `[`FromJson`](#structFRHAPI__PlayerResponse_1ad95f65d26ed9beae939f37a4cd5bc765)`(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__PlayerResponse_1af73853ee9ac143469af094d5046b6845)`(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 int32 & `[`GetPlayerId`](#structFRHAPI__PlayerResponse_1a57e3b6edbaf4c9725ed93ee10d9c1871)`()`

Gets the value of PlayerId.


#### `public inline const int32 & `[`GetPlayerId`](#structFRHAPI__PlayerResponse_1a8f31b3dd5619b099307535499154f461)`() const`

Gets the value of PlayerId.


#### `public inline void `[`SetPlayerId`](#structFRHAPI__PlayerResponse_1a9b452954dbf91a860e01f9ed8e0dbc32)`(int32 NewValue)`

Sets the value of PlayerId.


#### `public inline bool `[`IsPlayerIdDefaultValue`](#structFRHAPI__PlayerResponse_1a1e4e3035c00a0707189ce52e4c1f1649)`() const`

Returns true if PlayerId matches the default value.


#### `public inline void `[`SetPlayerIdToDefault`](#structFRHAPI__PlayerResponse_1ae3de40c04341be8f81a980d77123ae55)`()`

Sets the value of PlayerId to its default


#### `public inline FGuid & `[`GetPlayerUuid`](#structFRHAPI__PlayerResponse_1a5aa6031765ed727ee1d7d9416a17157e)`()`

Gets the value of PlayerUuid.


#### `public inline const FGuid & `[`GetPlayerUuid`](#structFRHAPI__PlayerResponse_1a75fb0b696a3523f43cc84316c727f559)`() const`

Gets the value of PlayerUuid.


#### `public inline void `[`SetPlayerUuid`](#structFRHAPI__PlayerResponse_1a9a02552a86853550af3ed132f5392167)`(FGuid NewValue)`

Sets the value of PlayerUuid.