RHAPI_Loots
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_Loots | A collection of Loot by Loot ID. |
struct FRHAPI_Loots
struct FRHAPI_Loots
: public FRHAPI_Model
A collection of Loot by Loot ID.
Summary
| Members | Descriptions |
|---|---|
public TMap< FString, FRHAPI_Loot>Loot_Optional | |
public bool Loot_IsSet | true if Loot_Optional has been set to a value |
public FRHAPI_CacheInfo CacheInfo_Optional | |
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_Loot> &GetLoot() | Gets the value of Loot_Optional, regardless of it having been set. |
public inline const TMap< FString, FRHAPI_Loot> &GetLoot() const | Gets the value of Loot_Optional, regardless of it having been set. |
public inline const TMap< FString, FRHAPI_Loot> &GetLoot(const TMap< FString, FRHAPI_Loot > & DefaultValue) const | Gets the value of Loot_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetLoot(TMap< FString, FRHAPI_Loot > & OutValue) const | Fills OutValue with the value of Loot_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FRHAPI_Loot> *GetLootOrNull() | Returns a pointer to Loot_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FRHAPI_Loot> *GetLootOrNull() const | Returns a pointer to Loot_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetLoot(TMap< FString, FRHAPI_Loot > NewValue) | Sets the value of Loot_Optional and also sets Loot_IsSet to true. |
public inline void ClearLoot() | Clears the value of Loot_Optional and sets Loot_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_Loot>Loot_Optional
public bool Loot_IsSet
true if Loot_Optional has been set to a value
public FRHAPI_CacheInfo CacheInfo_Optional
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.
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 TMap< FString, FRHAPI_Loot> &GetLoot()
Gets the value of Loot_Optional, regardless of it having been set.
public inline const TMap< FString, FRHAPI_Loot> &GetLoot() const
Gets the value of Loot_Optional, regardless of it having been set.
public inline const TMap< FString, FRHAPI_Loot> &GetLoot(const TMap< FString, FRHAPI_Loot > & DefaultValue) const
Gets the value of Loot_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLoot(TMap< FString, FRHAPI_Loot > & OutValue) const
Fills OutValue with the value of Loot_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FRHAPI_Loot> *GetLootOrNull()
Returns a pointer to Loot_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FRHAPI_Loot> *GetLootOrNull() const
Returns a pointer to Loot_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLoot(TMap< FString, FRHAPI_Loot > NewValue)
Sets the value of Loot_Optional and also sets Loot_IsSet to true.
public inline void ClearLoot()
Clears the value of Loot_Optional and sets Loot_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.