RHAPI_TeamUpdate
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_TeamUpdate | An update to a specific team's number of max players. |
struct FRHAPI_TeamUpdate
struct FRHAPI_TeamUpdate
: public FRHAPI_Model
An update to a specific team's number of max players.
Summary
| Members | Descriptions |
|---|---|
public int32 MaxSize_Optional | Maximum number of players for this team. |
public bool MaxSize_IsSet | true if MaxSize_Optional has been set to a value |
public TMap< FString, FString > CustomData_Optional | Custom data about this team. |
public bool CustomData_IsSet | true if CustomData_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 int32 & GetMaxSize() | Gets the value of MaxSize_Optional, regardless of it having been set. |
public inline const int32 & GetMaxSize() const | Gets the value of MaxSize_Optional, regardless of it having been set. |
public inline const int32 & GetMaxSize(const int32 & DefaultValue) const | Gets the value of MaxSize_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetMaxSize(int32 & OutValue) const | Fills OutValue with the value of MaxSize_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetMaxSizeOrNull() | Returns a pointer to MaxSize_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetMaxSizeOrNull() const | Returns a pointer to MaxSize_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetMaxSize(const int32 & NewValue) | Sets the value of MaxSize_Optional and also sets MaxSize_IsSet to true. |
public inline void SetMaxSize(int32 && NewValue) | Sets the value of MaxSize_Optional and also sets MaxSize_IsSet to true using move semantics. |
public inline void ClearMaxSize() | Clears the value of MaxSize_Optional and sets MaxSize_IsSet to false. |
public inline bool IsMaxSizeSet() const | Checks whether MaxSize_Optional has been set. |
public inline bool IsMaxSizeDefaultValue() const | Returns true if MaxSize_Optional is set and matches the default value. |
public inline void SetMaxSizeToDefault() | Sets the value of MaxSize_Optional to its default and also sets MaxSize_IsSet to true. |
public inline TMap< FString, FString > & GetCustomData() | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData() const | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData(const TMap< FString, FString > & DefaultValue) const | Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCustomData(TMap< FString, FString > & OutValue) const | Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FString > * GetCustomDataOrNull() | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FString > * GetCustomDataOrNull() const | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCustomData(const TMap< FString, FString > & NewValue) | Sets the value of CustomData_Optional and also sets CustomData_IsSet to true. |
public inline void SetCustomData(TMap< FString, FString > && NewValue) | Sets the value of CustomData_Optional and also sets CustomData_IsSet to true using move semantics. |
public inline void ClearCustomData() | Clears the value of CustomData_Optional and sets CustomData_IsSet to false. |
public inline bool IsCustomDataSet() const | Checks whether CustomData_Optional has been set. |
Members
public int32 MaxSize_Optional
Maximum number of players for this team.
public bool MaxSize_IsSet
true if MaxSize_Optional has been set to a value
public TMap< FString, FString > CustomData_Optional
Custom data about this team.
public bool CustomData_IsSet
true if CustomData_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 int32 & GetMaxSize()
Gets the value of MaxSize_Optional, regardless of it having been set.
public inline const int32 & GetMaxSize() const
Gets the value of MaxSize_Optional, regardless of it having been set.
public inline const int32 & GetMaxSize(const int32 & DefaultValue) const
Gets the value of MaxSize_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetMaxSize(int32 & OutValue) const
Fills OutValue with the value of MaxSize_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetMaxSizeOrNull()
Returns a pointer to MaxSize_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetMaxSizeOrNull() const
Returns a pointer to MaxSize_Optional, if it has been set, otherwise returns nullptr.
public inline void SetMaxSize(const int32 & NewValue)
Sets the value of MaxSize_Optional and also sets MaxSize_IsSet to true.
public inline void SetMaxSize(int32 && NewValue)
Sets the value of MaxSize_Optional and also sets MaxSize_IsSet to true using move semantics.
public inline void ClearMaxSize()
Clears the value of MaxSize_Optional and sets MaxSize_IsSet to false.
public inline bool IsMaxSizeSet() const
Checks whether MaxSize_Optional has been set.
public inline bool IsMaxSizeDefaultValue() const
Returns true if MaxSize_Optional is set and matches the default value.
public inline void SetMaxSizeToDefault()
Sets the value of MaxSize_Optional to its default and also sets MaxSize_IsSet to true.
public inline TMap< FString, FString > & GetCustomData()
Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > & GetCustomData() const
Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > & GetCustomData(const TMap< FString, FString > & DefaultValue) const
Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCustomData(TMap< FString, FString > & OutValue) const
Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FString > * GetCustomDataOrNull()
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FString > * GetCustomDataOrNull() const
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCustomData(const TMap< FString, FString > & NewValue)
Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.
public inline void SetCustomData(TMap< FString, FString > && NewValue)
Sets the value of CustomData_Optional and also sets CustomData_IsSet to true using move semantics.
public inline void ClearCustomData()
Clears the value of CustomData_Optional and sets CustomData_IsSet to false.
public inline bool IsCustomDataSet() const
Checks whether CustomData_Optional has been set.