Skip to main 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(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
public inline FGuid & GetPlayerUuid()Gets the value of PlayerUuid.
public inline const FGuid & GetPlayerUuid() constGets the value of PlayerUuid.
public inline void SetPlayerUuid(const FGuid & NewValue)Sets the value of PlayerUuid.
public inline void SetPlayerUuid(FGuid && NewValue)Sets the value of PlayerUuid using move semantics.

Members

public int32 PlayerId

Player ID DEPRECATED use player_uuid instead.

public FGuid PlayerUuid

Player UUID.

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

public inline FGuid & GetPlayerUuid()

Gets the value of PlayerUuid.

public inline const FGuid & GetPlayerUuid() const

Gets the value of PlayerUuid.

public inline void SetPlayerUuid(const FGuid & NewValue)

Sets the value of PlayerUuid.

public inline void SetPlayerUuid(FGuid && NewValue)

Sets the value of PlayerUuid using move semantics.