RHAPI_Items
Summary
Members | Descriptions |
---|---|
struct FRHAPI_Items | A collections of Items by Item ID. |
struct FRHAPI_Items
A collections of Items by Item ID.
Summary
Members | Descriptions |
---|---|
public TMap< FString, FRHAPI_Item > Items_Optional | A collection of Items by Item ID. |
public bool Items_IsSet | true if Items_Optional has been set to a value |
public FRHAPI_CacheInfo CacheInfo_Optional | Item’s cache information. |
public bool CacheInfo_IsSet | true if CacheInfo_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 TMap< FString, FRHAPI_Item > & GetItems () | Gets the value of Items_Optional, regardless of it having been set. |
public inline const TMap< FString, FRHAPI_Item > & GetItems () const | Gets the value of Items_Optional, regardless of it having been set. |
public inline const TMap< FString, FRHAPI_Item > & GetItems (const TMap< FString, FRHAPI_Item > & DefaultValue) const | Gets the value of Items_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetItems (TMap< FString, FRHAPI_Item > & OutValue) const | Fills OutValue with the value of Items_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FRHAPI_Item > * GetItemsOrNull () | Returns a pointer to Items_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FRHAPI_Item > * GetItemsOrNull () const | Returns a pointer to Items_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetItems (TMap< FString, FRHAPI_Item > NewValue) | Sets the value of Items_Optional and also sets Items_IsSet to true. |
public inline void ClearItems () | Clears the value of Items_Optional and sets Items_IsSet to false. |
public inline FRHAPI_CacheInfo & GetCacheInfo () | Gets the value of CacheInfo_Optional, regardless of it having been set. |
public inline const FRHAPI_CacheInfo & GetCacheInfo () const | Gets the value of CacheInfo_Optional, regardless of it having been set. |
public inline const FRHAPI_CacheInfo & GetCacheInfo (const FRHAPI_CacheInfo & DefaultValue) const | Gets the value of CacheInfo_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCacheInfo ( FRHAPI_CacheInfo & OutValue) const | Fills OutValue with the value of CacheInfo_Optional and returns true if it has been set, otherwise returns false. |
public inline FRHAPI_CacheInfo * GetCacheInfoOrNull () | Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr. |
public inline const FRHAPI_CacheInfo * GetCacheInfoOrNull () const | Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCacheInfo ( FRHAPI_CacheInfo NewValue) | Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true. |
public inline void ClearCacheInfo () | Clears the value of CacheInfo_Optional and sets CacheInfo_IsSet to false. |
Members
public TMap< FString,
FRHAPI_Item
>
Items_Optional
A collection of Items by Item ID.
#### `public bool `[`Items_IsSet`](#structFRHAPI__Items_1ab618761f9969f6d5952ba37001edac5a)
true if Items_Optional has been set to a value
#### `public `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` `[`CacheInfo_Optional`](#structFRHAPI__Items_1a1217986ceec7a05241e7e957cb9828fa)
Item’s cache information.
#### `public bool `[`CacheInfo_IsSet`](#structFRHAPI__Items_1aa69362208158a2532fe056d3826818a2)
true if CacheInfo_Optional has been set to a value
#### `public virtual bool `[`FromJson`](#structFRHAPI__Items_1a7d988b32b08e2f3336e8a842c35af7b7)`(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__Items_1a913a71601a108617f25afa168f333d97)`(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 TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > & `[`GetItems`](#structFRHAPI__Items_1ab44675ebca65c87de42ec268fc199997)`()`
Gets the value of Items_Optional, regardless of it having been set.
#### `public inline const TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > & `[`GetItems`](#structFRHAPI__Items_1aed87cc2a3e31525a7da7a9eb8a7278a1)`() const`
Gets the value of Items_Optional, regardless of it having been set.
#### `public inline const TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > & `[`GetItems`](#structFRHAPI__Items_1a1d50f8da7328aef3369ebd7a22b1bfd1)`(const TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > & DefaultValue) const`
Gets the value of Items_Optional, if it has been set, otherwise it returns DefaultValue.
#### `public inline bool `[`GetItems`](#structFRHAPI__Items_1af64a10709091193e9ddf7f8cae227334)`(TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > & OutValue) const`
Fills OutValue with the value of Items_Optional and returns true if it has been set, otherwise returns false.
#### `public inline TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > * `[`GetItemsOrNull`](#structFRHAPI__Items_1a59a64d015fb6d45f928a01d377ca9ff1)`()`
Returns a pointer to Items_Optional, if it has been set, otherwise returns nullptr.
#### `public inline const TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > * `[`GetItemsOrNull`](#structFRHAPI__Items_1a727c9a06c92134aa5df7380d3b213b4e)`() const`
Returns a pointer to Items_Optional, if it has been set, otherwise returns nullptr.
#### `public inline void `[`SetItems`](#structFRHAPI__Items_1a3d7697d693b05aef7dc34583c8aa4188)`(TMap< FString, `[`FRHAPI_Item`](RHAPI_Item.md#structFRHAPI__Item)` > NewValue)`
Sets the value of Items_Optional and also sets Items_IsSet to true.
#### `public inline void `[`ClearItems`](#structFRHAPI__Items_1a2f14e5ee5d4d02ff849753ef84a9a713)`()`
Clears the value of Items_Optional and sets Items_IsSet to false.
#### `public inline `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` & `[`GetCacheInfo`](#structFRHAPI__Items_1a298ec445177a4b83f5ecb0033a193b7f)`()`
Gets the value of CacheInfo_Optional, regardless of it having been set.
#### `public inline const `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` & `[`GetCacheInfo`](#structFRHAPI__Items_1af09b7f5f49d7f5ba4e38002a72473e18)`() const`
Gets the value of CacheInfo_Optional, regardless of it having been set.
#### `public inline const `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` & `[`GetCacheInfo`](#structFRHAPI__Items_1a4817236512ffe065a3acbb51cc8be6e9)`(const `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` & DefaultValue) const`
Gets the value of CacheInfo_Optional, if it has been set, otherwise it returns DefaultValue.
#### `public inline bool `[`GetCacheInfo`](#structFRHAPI__Items_1a88edb36b4ed0b822839435f34dc71c2b)`(`[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` & OutValue) const`
Fills OutValue with the value of CacheInfo_Optional and returns true if it has been set, otherwise returns false.
#### `public inline `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` * `[`GetCacheInfoOrNull`](#structFRHAPI__Items_1a3fd57fc77b04c5e29de60c279a4e0761)`()`
Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr.
#### `public inline const `[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` * `[`GetCacheInfoOrNull`](#structFRHAPI__Items_1a3071a0878ff7776f22f57fcd3f93098e)`() const`
Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr.
#### `public inline void `[`SetCacheInfo`](#structFRHAPI__Items_1ab308c1803a753ea3b798d90e685592a5)`(`[`FRHAPI_CacheInfo`](RHAPI_CacheInfo.md#structFRHAPI__CacheInfo)` NewValue)`
Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true.
#### `public inline void `[`ClearCacheInfo`](#structFRHAPI__Items_1a92bb319e2322768d4493dd851721c1ac)`()`
Clears the value of CacheInfo_Optional and sets CacheInfo_IsSet to false.