RHAPI_CreateOrJoinRequest
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_CreateOrJoinRequest | A request body for a player to join a session. |
struct FRHAPI_CreateOrJoinRequest
struct FRHAPI_CreateOrJoinRequest
: public FRHAPI_Model
A request body for a player to join a session.
Summary
| Members | Descriptions |
|---|---|
public FString ClientVersion | String representation of semver for client. |
public FRHAPI_ClientSettings ClientSettings | |
public FRHAPI_CrossplayPreferences CrossplayPreferences_Optional | |
public bool CrossplayPreferences_IsSet | true if CrossplayPreferences_Optional has been set to a value |
public FString SessionType | Type of session client is creating or joining. |
public FString RegionId_Optional | Preferred region for the instance and match to take place in. |
public bool RegionId_IsSet | true if RegionId_Optional has been set to a value |
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 & GetClientVersion() | Gets the value of ClientVersion. |
public inline const FString & GetClientVersion() const | Gets the value of ClientVersion. |
public inline void SetClientVersion(FString NewValue) | Sets the value of ClientVersion. |
public inline FRHAPI_ClientSettings&GetClientSettings() | Gets the value of ClientSettings. |
public inline const FRHAPI_ClientSettings&GetClientSettings() const | Gets the value of ClientSettings. |
public inline void SetClientSettings(FRHAPI_ClientSettings NewValue) | Sets the value of ClientSettings. |
public inline FRHAPI_CrossplayPreferences&GetCrossplayPreferences() | Gets the value of CrossplayPreferences_Optional, regardless of it having been set. |
public inline const FRHAPI_CrossplayPreferences&GetCrossplayPreferences() const | Gets the value of CrossplayPreferences_Optional, regardless of it having been set. |
public inline const FRHAPI_CrossplayPreferences&GetCrossplayPreferences(const FRHAPI_CrossplayPreferences & DefaultValue) const | Gets the value of CrossplayPreferences_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCrossplayPreferences(FRHAPI_CrossplayPreferences & OutValue) const | Fills OutValue with the value of CrossplayPreferences_Optional and returns true if it has been set, otherwise returns false. |
public inline FRHAPI_CrossplayPreferences*GetCrossplayPreferencesOrNull() | Returns a pointer to CrossplayPreferences_Optional, if it has been set, otherwise returns nullptr. |
public inline const FRHAPI_CrossplayPreferences*GetCrossplayPreferencesOrNull() const | Returns a pointer to CrossplayPreferences_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCrossplayPreferences(FRHAPI_CrossplayPreferences NewValue) | Sets the value of CrossplayPreferences_Optional and also sets CrossplayPreferences_IsSet to true. |
public inline void ClearCrossplayPreferences() | Clears the value of CrossplayPreferences_Optional and sets CrossplayPreferences_IsSet to false. |
public inline FString & GetSessionType() | Gets the value of SessionType. |
public inline const FString & GetSessionType() const | Gets the value of SessionType. |
public inline void SetSessionType(FString NewValue) | Sets the value of SessionType. |
public inline FString & GetRegionId() | Gets the value of RegionId_Optional, regardless of it having been set. |
public inline const FString & GetRegionId() const | Gets the value of RegionId_Optional, regardless of it having been set. |
public inline const FString & GetRegionId(const FString & DefaultValue) const | Gets the value of RegionId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetRegionId(FString & OutValue) const | Fills OutValue with the value of RegionId_Optional and returns true if it has been set, otherwise returns false. |
public inline FString * GetRegionIdOrNull() | Returns a pointer to RegionId_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetRegionIdOrNull() const | Returns a pointer to RegionId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetRegionId(FString NewValue) | Sets the value of RegionId_Optional and also sets RegionId_IsSet to true. |
public inline void ClearRegionId() | Clears the value of RegionId_Optional and sets RegionId_IsSet to false. |
Members
public FString ClientVersion
String representation of semver for client.
public FRHAPI_ClientSettings ClientSettings
public FRHAPI_CrossplayPreferences CrossplayPreferences_Optional
public bool CrossplayPreferences_IsSet
true if CrossplayPreferences_Optional has been set to a value
public FString SessionType
Type of session client is creating or joining.
public FString RegionId_Optional
Preferred region for the instance and match to take place in.
public bool RegionId_IsSet
true if RegionId_Optional has been set to a value
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)
Fills this object with data from the passed in JSON.
Parameters
JsonValueData 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
WriterJSON Writer stream to push .
public inline FString & GetClientVersion()
Gets the value of ClientVersion.
public inline const FString & GetClientVersion() const
Gets the value of ClientVersion.
public inline void SetClientVersion(FString NewValue)
Sets the value of ClientVersion.
public inline FRHAPI_ClientSettings&GetClientSettings()
Gets the value of ClientSettings.
public inline const FRHAPI_ClientSettings&GetClientSettings() const
Gets the value of ClientSettings.
public inline void SetClientSettings(FRHAPI_ClientSettings NewValue)
Sets the value of ClientSettings.
public inline FRHAPI_CrossplayPreferences&GetCrossplayPreferences()
Gets the value of CrossplayPreferences_Optional, regardless of it having been set.
public inline const FRHAPI_CrossplayPreferences&GetCrossplayPreferences() const
Gets the value of CrossplayPreferences_Optional, regardless of it having been set.
public inline const FRHAPI_CrossplayPreferences&GetCrossplayPreferences(const FRHAPI_CrossplayPreferences & DefaultValue) const
Gets the value of CrossplayPreferences_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCrossplayPreferences(FRHAPI_CrossplayPreferences & OutValue) const
Fills OutValue with the value of CrossplayPreferences_Optional and returns true if it has been set, otherwise returns false.
public inline FRHAPI_CrossplayPreferences*GetCrossplayPreferencesOrNull()
Returns a pointer to CrossplayPreferences_Optional, if it has been set, otherwise returns nullptr.
public inline const FRHAPI_CrossplayPreferences*GetCrossplayPreferencesOrNull() const
Returns a pointer to CrossplayPreferences_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCrossplayPreferences(FRHAPI_CrossplayPreferences NewValue)
Sets the value of CrossplayPreferences_Optional and also sets CrossplayPreferences_IsSet to true.
public inline void ClearCrossplayPreferences()
Clears the value of CrossplayPreferences_Optional and sets CrossplayPreferences_IsSet to false.
public inline FString & GetSessionType()
Gets the value of SessionType.
public inline const FString & GetSessionType() const
Gets the value of SessionType.
public inline void SetSessionType(FString NewValue)
Sets the value of SessionType.
public inline FString & GetRegionId()
Gets the value of RegionId_Optional, regardless of it having been set.
public inline const FString & GetRegionId() const
Gets the value of RegionId_Optional, regardless of it having been set.
public inline const FString & GetRegionId(const FString & DefaultValue) const
Gets the value of RegionId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetRegionId(FString & OutValue) const
Fills OutValue with the value of RegionId_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetRegionIdOrNull()
Returns a pointer to RegionId_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetRegionIdOrNull() const
Returns a pointer to RegionId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetRegionId(FString NewValue)
Sets the value of RegionId_Optional and also sets RegionId_IsSet to true.
public inline void ClearRegionId()
Clears the value of RegionId_Optional and sets RegionId_IsSet to false.