Skip to main content

RHAPI_SessionJoinResponse

Summary​

MembersDescriptions
struct FRHAPI_SessionJoinResponseResponse when a player successfully joins a session.

struct FRHAPI_SessionJoinResponse ​

struct FRHAPI_SessionJoinResponse
: public FRHAPI_Model

Response when a player successfully joins a session.

Summary​

MembersDescriptions
public FString SessionIdSession ID the player is now a part of.
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 FString & GetSessionId()Gets the value of SessionId.
public inline const FString & GetSessionId() constGets the value of SessionId.
public inline void SetSessionId(const FString & NewValue)Sets the value of SessionId.
public inline void SetSessionId(FString && NewValue)Sets the value of SessionId using move semantics.

Members​

public FString SessionId ​

Session ID the player is now a part of.

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 FString & GetSessionId() ​

Gets the value of SessionId.

public inline const FString & GetSessionId() const ​

Gets the value of SessionId.

public inline void SetSessionId(const FString & NewValue) ​

Sets the value of SessionId.

public inline void SetSessionId(FString && NewValue) ​

Sets the value of SessionId using move semantics.