Skip to main 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(const int32 & NewValue)Sets the value of PlayerId.
public inline void SetPlayerId(int32 && NewValue)Sets the value of PlayerId using move semantics.
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(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 int32 & GetPlayerId() ​

Gets the value of PlayerId.

public inline const int32 & GetPlayerId() const ​

Gets the value of PlayerId.

public inline void SetPlayerId(const int32 & NewValue) ​

Sets the value of PlayerId.

public inline void SetPlayerId(int32 && NewValue) ​

Sets the value of PlayerId using move semantics.

public inline bool IsPlayerIdDefaultValue() const ​

Returns true if PlayerId matches the default value.

public inline void SetPlayerIdToDefault() ​

Sets the value of PlayerId to its default