Skip to content

RHAPI_SessionTeam

Summary

MembersDescriptions
struct FRHAPI_SessionTeamA team of SessionPlayers in a session.

struct FRHAPI_SessionTeam

struct FRHAPI_SessionTeam
: public FRHAPI_Model

A team of SessionPlayers in a session.

Summary

MembersDescriptions
public TArray< FRHAPI_SessionPlayer>PlayersPlayers currently on this team.
public int32 MaxSizeMaximum number of players allowed on this team.
public int32 TeamId_OptionalWhich team this is.
public bool TeamId_IsSettrue if TeamId_Optional has been set to a value
public TArray< FString > TicketIds_OptionalMatchmaking tickets that were assigned to this team.
public bool TicketIds_IsSettrue if TicketIds_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) constWrites 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() constGets 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() constGets the value of MaxSize.
public inline void SetMaxSize(int32 NewValue)Sets the value of MaxSize.
public inline bool IsMaxSizeDefaultValue() constReturns true if MaxSize matches the default value.
public inline void SetMaxSizeToDefault()Sets the value of MaxSize to its default
public inline int32 & GetTeamId()Gets the value of TeamId_Optional, regardless of it having been set.
public inline const int32 & GetTeamId() constGets the value of TeamId_Optional, regardless of it having been set.
public inline const int32 & GetTeamId(const int32 & DefaultValue) constGets the value of TeamId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetTeamId(int32 & OutValue) constFills OutValue with the value of TeamId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetTeamIdOrNull()Returns a pointer to TeamId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetTeamIdOrNull() constReturns a pointer to TeamId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetTeamId(int32 NewValue)Sets the value of TeamId_Optional and also sets TeamId_IsSet to true.
public inline void ClearTeamId()Clears the value of TeamId_Optional and sets TeamId_IsSet to false.
public inline bool IsTeamIdDefaultValue() constReturns true if TeamId_Optional is set and matches the default value.
public inline void SetTeamIdToDefault()Sets the value of TeamId_Optional to its default and also sets TeamId_IsSet to true.
public inline TArray< FString > & GetTicketIds()Gets the value of TicketIds_Optional, regardless of it having been set.
public inline const TArray< FString > & GetTicketIds() constGets the value of TicketIds_Optional, regardless of it having been set.
public inline const TArray< FString > & GetTicketIds(const TArray< FString > & DefaultValue) constGets the value of TicketIds_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetTicketIds(TArray< FString > & OutValue) constFills OutValue with the value of TicketIds_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FString > * GetTicketIdsOrNull()Returns a pointer to TicketIds_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FString > * GetTicketIdsOrNull() constReturns a pointer to TicketIds_Optional, if it has been set, otherwise returns nullptr.
public inline void SetTicketIds(TArray< FString > NewValue)Sets the value of TicketIds_Optional and also sets TicketIds_IsSet to true.
public inline void ClearTicketIds()Clears the value of TicketIds_Optional and sets TicketIds_IsSet to false.

Members

public TArray< FRHAPI_SessionPlayer>Players

Players currently on this team.


#### `public int32 `[`MaxSize`](#structFRHAPI__SessionTeam_1a577fd2257686ecc6dc4c46a9405511e8)

Maximum number of players allowed on this team.


#### `public int32 `[`TeamId_Optional`](#structFRHAPI__SessionTeam_1ab5fa3e595f1d211138a8e632dcb0334a)

Which team this is.


#### `public bool `[`TeamId_IsSet`](#structFRHAPI__SessionTeam_1ae4c4a101fbe2d983f2bf0f949c0ce907)

true if TeamId_Optional has been set to a value


#### `public TArray< FString > `[`TicketIds_Optional`](#structFRHAPI__SessionTeam_1af28f1dccc642bb42d4216d0521a8fe8b)

Matchmaking tickets that were assigned to this team.


#### `public bool `[`TicketIds_IsSet`](#structFRHAPI__SessionTeam_1ab7e2a7febb7b3a6252cfb2569448497a)

true if TicketIds_Optional has been set to a value


#### `public virtual bool `[`FromJson`](#structFRHAPI__SessionTeam_1aabef716c3bdd58b733abaa4c5d57f078)`(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__SessionTeam_1a3df39da3770789446f398baa65d8e27c)`(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 TArray< `[`FRHAPI_SessionPlayer`](RHAPI_SessionPlayer.md#structFRHAPI__SessionPlayer)` > & `[`GetPlayers`](#structFRHAPI__SessionTeam_1acdfcc94db5681eaf5fa045432c588573)`()`

Gets the value of Players.


#### `public inline const TArray< `[`FRHAPI_SessionPlayer`](RHAPI_SessionPlayer.md#structFRHAPI__SessionPlayer)` > & `[`GetPlayers`](#structFRHAPI__SessionTeam_1acb0cd7ba92352cd5b4ae7ca0314f671d)`() const`

Gets the value of Players.


#### `public inline void `[`SetPlayers`](#structFRHAPI__SessionTeam_1af97c4d69d4fb1bec131b01fc63dd2109)`(TArray< `[`FRHAPI_SessionPlayer`](RHAPI_SessionPlayer.md#structFRHAPI__SessionPlayer)` > NewValue)`

Sets the value of Players.


#### `public inline int32 & `[`GetMaxSize`](#structFRHAPI__SessionTeam_1a71ff5d7af75e48520e8f47b8aacbe947)`()`

Gets the value of MaxSize.


#### `public inline const int32 & `[`GetMaxSize`](#structFRHAPI__SessionTeam_1a75da68e7263658fc93a73ac56c2259f3)`() const`

Gets the value of MaxSize.


#### `public inline void `[`SetMaxSize`](#structFRHAPI__SessionTeam_1afa8d647fe0f4d5aea5bcf0b871183736)`(int32 NewValue)`

Sets the value of MaxSize.


#### `public inline bool `[`IsMaxSizeDefaultValue`](#structFRHAPI__SessionTeam_1a72083742a8721aff02330441cadd3ffc)`() const`

Returns true if MaxSize matches the default value.


#### `public inline void `[`SetMaxSizeToDefault`](#structFRHAPI__SessionTeam_1a7f2f5050523291724e4828ee7e2ea124)`()`

Sets the value of MaxSize to its default


#### `public inline int32 & `[`GetTeamId`](#structFRHAPI__SessionTeam_1a132bf71fafe46213fc1b3db6fd3b48c5)`()`

Gets the value of TeamId_Optional, regardless of it having been set.


#### `public inline const int32 & `[`GetTeamId`](#structFRHAPI__SessionTeam_1abfa3e35e16044b51fba75efbcd668b22)`() const`

Gets the value of TeamId_Optional, regardless of it having been set.


#### `public inline const int32 & `[`GetTeamId`](#structFRHAPI__SessionTeam_1a7cc916b8119b3b14160c09f7433345af)`(const int32 & DefaultValue) const`

Gets the value of TeamId_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetTeamId`](#structFRHAPI__SessionTeam_1a1598611301d6e329811a267ca9ee0207)`(int32 & OutValue) const`

Fills OutValue with the value of TeamId_Optional and returns true if it has been set, otherwise returns false.


#### `public inline int32 * `[`GetTeamIdOrNull`](#structFRHAPI__SessionTeam_1ad922c55d5071391ab3ce1fabea0cd485)`()`

Returns a pointer to TeamId_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const int32 * `[`GetTeamIdOrNull`](#structFRHAPI__SessionTeam_1a7564274f77f03d6cb1a09c64e28ff043)`() const`

Returns a pointer to TeamId_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetTeamId`](#structFRHAPI__SessionTeam_1aa050577a2c1ac2e4dd5d3e6be5f96792)`(int32 NewValue)`

Sets the value of TeamId_Optional and also sets TeamId_IsSet to true.


#### `public inline void `[`ClearTeamId`](#structFRHAPI__SessionTeam_1ad51e3f0df9a45dd7997055829e7d6dc9)`()`

Clears the value of TeamId_Optional and sets TeamId_IsSet to false.


#### `public inline bool `[`IsTeamIdDefaultValue`](#structFRHAPI__SessionTeam_1aaa6ae7a43161fbdcbd2e18749910e3f7)`() const`

Returns true if TeamId_Optional is set and matches the default value.


#### `public inline void `[`SetTeamIdToDefault`](#structFRHAPI__SessionTeam_1a95018efc1589857239b3f7e5f4cb6722)`()`

Sets the value of TeamId_Optional to its default and also sets TeamId_IsSet to true.


#### `public inline TArray< FString > & `[`GetTicketIds`](#structFRHAPI__SessionTeam_1aa1df255d3ed2b426a7c3f52970394ae7)`()`

Gets the value of TicketIds_Optional, regardless of it having been set.


#### `public inline const TArray< FString > & `[`GetTicketIds`](#structFRHAPI__SessionTeam_1a8505932f9600ebd91da55cbb21cbd7ca)`() const`

Gets the value of TicketIds_Optional, regardless of it having been set.


#### `public inline const TArray< FString > & `[`GetTicketIds`](#structFRHAPI__SessionTeam_1af27348b7a267679440962603b54e556f)`(const TArray< FString > & DefaultValue) const`

Gets the value of TicketIds_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetTicketIds`](#structFRHAPI__SessionTeam_1a2dd997b1048d613049db695242b4b3e0)`(TArray< FString > & OutValue) const`

Fills OutValue with the value of TicketIds_Optional and returns true if it has been set, otherwise returns false.


#### `public inline TArray< FString > * `[`GetTicketIdsOrNull`](#structFRHAPI__SessionTeam_1aecb09a7916cb14b41f35d1708510a55b)`()`

Returns a pointer to TicketIds_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const TArray< FString > * `[`GetTicketIdsOrNull`](#structFRHAPI__SessionTeam_1a7c8adca74f3231a7f6d329d07b06d160)`() const`

Returns a pointer to TicketIds_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetTicketIds`](#structFRHAPI__SessionTeam_1aae3e2e9c2349e8828e33ce34dc5689bf)`(TArray< FString > NewValue)`

Sets the value of TicketIds_Optional and also sets TicketIds_IsSet to true.


#### `public inline void `[`ClearTicketIds`](#structFRHAPI__SessionTeam_1a9cf26123ef9afeb98d1b6a7f326f01d5)`()`

Clears the value of TicketIds_Optional and sets TicketIds_IsSet to false.