Skip to content

RHAPI_PlayerIdWrapper

Summary

MembersDescriptions
struct FRHAPI_PlayerIdWrapperModel for getting a player ID from a player UUID.

struct FRHAPI_PlayerIdWrapper

struct FRHAPI_PlayerIdWrapper
: public FRHAPI_Model

Model for getting a player ID from a player UUID.

Summary

MembersDescriptions
public int32 PlayerIdPlayer ID.
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

Members

public int32 PlayerId

Player ID.


#### `public virtual bool `[`FromJson`](#structFRHAPI__PlayerIdWrapper_1af5ce582a754d7f0db265d7e33b039674)`(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__PlayerIdWrapper_1ac9e978d8c152b4cc909db76a787e4529)`(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__PlayerIdWrapper_1a1f525c0cdd5ad98d8bd51582e9644900)`()`

Gets the value of PlayerId.


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

Gets the value of PlayerId.


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

Sets the value of PlayerId.


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

Returns true if PlayerId matches the default value.


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

Sets the value of PlayerId to its default