Skip to main content

RHAPI_PlayerOrdersResponse

Summary​

MembersDescriptions
struct FRHAPI_PlayerOrdersResponseA collection of Player Orders.

struct FRHAPI_PlayerOrdersResponse ​

struct FRHAPI_PlayerOrdersResponse
: public FRHAPI_Model

A collection of Player Orders.

Summary​

MembersDescriptions
public TArray< FRHAPI_PlayerOrder>Data_OptionalA collection of Player Orders.
public bool Data_IsSettrue if Data_Optional has been set to a value
public FRHAPI_InventoryPageMeta PagePage metadata for the Player Orders.
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_PlayerOrder> &GetData()Gets the value of Data_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_PlayerOrder> &GetData() constGets the value of Data_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_PlayerOrder> &GetData(const TArray< FRHAPI_PlayerOrder > & DefaultValue) constGets the value of Data_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetData(TArray< FRHAPI_PlayerOrder > & OutValue) constFills OutValue with the value of Data_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_PlayerOrder> *GetDataOrNull()Returns a pointer to Data_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_PlayerOrder> *GetDataOrNull() constReturns a pointer to Data_Optional, if it has been set, otherwise returns nullptr.
public inline void SetData(const TArray< FRHAPI_PlayerOrder > & NewValue)Sets the value of Data_Optional and also sets Data_IsSet to true.
public inline void SetData(TArray< FRHAPI_PlayerOrder > && NewValue)Sets the value of Data_Optional and also sets Data_IsSet to true using move semantics.
public inline void ClearData()Clears the value of Data_Optional and sets Data_IsSet to false.
public inline bool IsDataSet() constChecks whether Data_Optional has been set.
public inline FRHAPI_InventoryPageMeta&GetPage()Gets the value of Page.
public inline const FRHAPI_InventoryPageMeta&GetPage() constGets the value of Page.
public inline void SetPage(const FRHAPI_InventoryPageMeta & NewValue)Sets the value of Page.
public inline void SetPage(FRHAPI_InventoryPageMeta && NewValue)Sets the value of Page using move semantics.

Members​

public TArray< FRHAPI_PlayerOrder>Data_Optional ​

A collection of Player Orders.

public bool Data_IsSet ​

true if Data_Optional has been set to a value

public FRHAPI_InventoryPageMeta Page ​

Page metadata for the Player Orders.

public virtual bool FromJson(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(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_PlayerOrder> &GetData() ​

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

public inline const TArray< FRHAPI_PlayerOrder> &GetData() const ​

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

public inline const TArray< FRHAPI_PlayerOrder> &GetData(const TArray< FRHAPI_PlayerOrder > & DefaultValue) const ​

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

public inline bool GetData(TArray< FRHAPI_PlayerOrder > & OutValue) const ​

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

public inline TArray< FRHAPI_PlayerOrder> *GetDataOrNull() ​

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

public inline const TArray< FRHAPI_PlayerOrder> *GetDataOrNull() const ​

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

public inline void SetData(const TArray< FRHAPI_PlayerOrder > & NewValue) ​

Sets the value of Data_Optional and also sets Data_IsSet to true.

public inline void SetData(TArray< FRHAPI_PlayerOrder > && NewValue) ​

Sets the value of Data_Optional and also sets Data_IsSet to true using move semantics.

public inline void ClearData() ​

Clears the value of Data_Optional and sets Data_IsSet to false.

public inline bool IsDataSet() const ​

Checks whether Data_Optional has been set.

public inline FRHAPI_InventoryPageMeta&GetPage() ​

Gets the value of Page.

public inline const FRHAPI_InventoryPageMeta&GetPage() const ​

Gets the value of Page.

public inline void SetPage(const FRHAPI_InventoryPageMeta & NewValue) ​

Sets the value of Page.

public inline void SetPage(FRHAPI_InventoryPageMeta && NewValue) ​

Sets the value of Page using move semantics.