Skip to 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(TArray< FRHAPI_PlayerOrder > NewValue)Sets the value of Data_Optional and also sets Data_IsSet to true.
public inline void ClearData()Clears the value of Data_Optional and sets Data_IsSet to false.
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(FRHAPI_InventoryPageMeta NewValue)Sets the value of Page.

Members

public TArray< FRHAPI_PlayerOrder>Data_Optional

A collection of Player Orders.


#### `public bool `[`Data_IsSet`](#structFRHAPI__PlayerOrdersResponse_1a53ee2928956e233c882bcc3352ae89ac)

true if Data_Optional has been set to a value


#### `public `[`FRHAPI_InventoryPageMeta`](RHAPI_InventoryPageMeta.md#structFRHAPI__InventoryPageMeta)` `[`Page`](#structFRHAPI__PlayerOrdersResponse_1a8a09919a81cb7fba37cf1166d9b60f2a)

Page metadata for the Player Orders.


#### `public virtual bool `[`FromJson`](#structFRHAPI__PlayerOrdersResponse_1a418f61fd5f024d525d0da70fc2d59a49)`(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__PlayerOrdersResponse_1a8555587cb327c4845ebd18ab880527e5)`(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`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > & `[`GetData`](#structFRHAPI__PlayerOrdersResponse_1ad76e699d2da7462a33fe3366e3d6e6a6)`()`

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


#### `public inline const TArray< `[`FRHAPI_PlayerOrder`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > & `[`GetData`](#structFRHAPI__PlayerOrdersResponse_1aa0ce4977b6a8afa0b638726a94dcd3b0)`() const`

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


#### `public inline const TArray< `[`FRHAPI_PlayerOrder`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > & `[`GetData`](#structFRHAPI__PlayerOrdersResponse_1aaaee20124fe860f9661d8f2fe31f0727)`(const TArray< `[`FRHAPI_PlayerOrder`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > & DefaultValue) const`

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


#### `public inline bool `[`GetData`](#structFRHAPI__PlayerOrdersResponse_1a90d4b437c35f15baf0d835b7cd43c4d5)`(TArray< `[`FRHAPI_PlayerOrder`](RHAPI_PlayerOrder.md#structFRHAPI__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`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > * `[`GetDataOrNull`](#structFRHAPI__PlayerOrdersResponse_1a02137244a73038499960c97d08e715dd)`()`

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


#### `public inline const TArray< `[`FRHAPI_PlayerOrder`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > * `[`GetDataOrNull`](#structFRHAPI__PlayerOrdersResponse_1aaa57c08fd59616f7d7f2a75d55f88436)`() const`

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


#### `public inline void `[`SetData`](#structFRHAPI__PlayerOrdersResponse_1a0bdc148248e6ff73e014b9ad2f6beec9)`(TArray< `[`FRHAPI_PlayerOrder`](RHAPI_PlayerOrder.md#structFRHAPI__PlayerOrder)` > NewValue)`

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


#### `public inline void `[`ClearData`](#structFRHAPI__PlayerOrdersResponse_1ad6f65b52067db43d4ee56fcd0c3154be)`()`

Clears the value of Data_Optional and sets Data_IsSet to false.


#### `public inline `[`FRHAPI_InventoryPageMeta`](RHAPI_InventoryPageMeta.md#structFRHAPI__InventoryPageMeta)` & `[`GetPage`](#structFRHAPI__PlayerOrdersResponse_1a5bd79d7fe6f3248e6a235f109240bb05)`()`

Gets the value of Page.


#### `public inline const `[`FRHAPI_InventoryPageMeta`](RHAPI_InventoryPageMeta.md#structFRHAPI__InventoryPageMeta)` & `[`GetPage`](#structFRHAPI__PlayerOrdersResponse_1a163356eaae70f3de59d40dfa53c6d282)`() const`

Gets the value of Page.


#### `public inline void `[`SetPage`](#structFRHAPI__PlayerOrdersResponse_1ad6ebd309447418e0da39b0689bcc5116)`(`[`FRHAPI_InventoryPageMeta`](RHAPI_InventoryPageMeta.md#structFRHAPI__InventoryPageMeta)` NewValue)`

Sets the value of Page.