RHAPI_PlayerResponse
Summary
Members | Descriptions |
---|---|
struct FRHAPI_PlayerResponse | Response for getting a player’s info. |
struct FRHAPI_PlayerResponse
struct FRHAPI_PlayerResponse
: public FRHAPI_Model
Response for getting a player’s info.
Summary
Members | Descriptions |
---|---|
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. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes 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 () const | Gets the value of PlayerId. |
public inline void SetPlayerId (int32 NewValue) | Sets the value of PlayerId. |
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 (FGuid NewValue) | Sets the value of PlayerUuid. |
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
(int32 NewValue)
Sets the value of PlayerId.
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
(FGuid NewValue)
Sets the value of PlayerUuid.