RHAPI_SessionTeam
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_SessionTeam | A team of SessionPlayers in a session. |
struct FRHAPI_SessionTeam
struct FRHAPI_SessionTeam
: public FRHAPI_Model
A team of SessionPlayers in a session.
Summary
| Members | Descriptions |
|---|---|
public TArray< FRHAPI_SessionPlayer>Players | Players currently on this team. |
public int32 MaxSize | Maximum number of players allowed on this team. |
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 TArray< FRHAPI_SessionPlayer> &GetPlayers() | Gets the value of Players. |
public inline const TArray< FRHAPI_SessionPlayer> &GetPlayers() const | Gets the value of Players. |
public inline void SetPlayers(TArray< FRHAPI_SessionPlayer > NewValue) | Sets the value of Players. |
public inline int32 & GetMaxSize() | Gets the value of MaxSize. |
public inline const int32 & GetMaxSize() const | Gets the value of MaxSize. |
public inline void SetMaxSize(int32 NewValue) | Sets the value of MaxSize. |
public inline bool IsMaxSizeDefaultValue() const | Returns true if MaxSize matches the default value. |
public inline void SetMaxSizeToDefault() | Sets the value of MaxSize to its default |
Members
public TArray< FRHAPI_SessionPlayer>Players
Players currently on this team.
public int32 MaxSize
Maximum number of players allowed on this team.
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 TArray< FRHAPI_SessionPlayer> &GetPlayers()
Gets the value of Players.
public inline const TArray< FRHAPI_SessionPlayer> &GetPlayers() const
Gets the value of Players.
public inline void SetPlayers(TArray< FRHAPI_SessionPlayer > NewValue)
Sets the value of Players.
public inline int32 & GetMaxSize()
Gets the value of MaxSize.
public inline const int32 & GetMaxSize() const
Gets the value of MaxSize.
public inline void SetMaxSize(int32 NewValue)
Sets the value of MaxSize.
public inline bool IsMaxSizeDefaultValue() const
Returns true if MaxSize matches the default value.
public inline void SetMaxSizeToDefault()
Sets the value of MaxSize to its default