RHAPI_SessionJoinResponse
RHAPI_SessionJoinResponse
Summary
Members | Descriptions |
---|---|
struct FRHAPI_SessionJoinResponse | Response 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
Members | Descriptions |
---|---|
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. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes 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 () const | Gets the value of SessionId. |
public inline void SetSessionId (FString NewValue) | Sets the value of SessionId. |
Members
public FString
SessionId
Session ID the player is now a part of.
#### `public virtual bool `[`FromJson`](#structFRHAPI__SessionJoinResponse_1a499044f9b28f5d1619397094f5b777b9)`(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__SessionJoinResponse_1a29e24fca444e7af72874cce8b76a27a6)`(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`](#structFRHAPI__SessionJoinResponse_1aec0fea30126379f82c3b0b92b40ee9c2)`()`
Gets the value of SessionId.
#### `public inline const FString & `[`GetSessionId`](#structFRHAPI__SessionJoinResponse_1a5864fade9558dad663e8f6cccf769468)`() const`
Gets the value of SessionId.
#### `public inline void `[`SetSessionId`](#structFRHAPI__SessionJoinResponse_1ae84390873c78919f4076dbe7834e197c)`(FString NewValue)`
Sets the value of SessionId.