RHAPI_Vendor
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_Vendor | A collection of Loot and how to fulfill them. |
struct FRHAPI_Vendor
struct FRHAPI_Vendor
: public FRHAPI_Model
A collection of Loot and how to fulfill them.
Summary
| Members | Descriptions |
|---|---|
public TMap< FString, FString > CustomData_Optional | Custom data associated with the resource. |
public bool CustomData_IsSet | true if CustomData_Optional has been set to a value |
public ERHAPI_VendorType Type_Optional | Determines how the Vendor fulfills the loot. |
public bool Type_IsSet | true if Type_Optional has been set to a value |
public int32 LegacyType_Optional | |
public bool LegacyType_IsSet | true if LegacyType_Optional has been set to a value |
public int32 LegacyConfigVersion_Optional | |
public bool LegacyConfigVersion_IsSet | true if LegacyConfigVersion_Optional has been set to a value |
public TMap< FString, FRHAPI_Loot>Loot_Optional | The Loot the Vendor will fulfill mapped by Loot ID. |
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, 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(TMap< FString, FString > NewValue) | Sets the value of CustomData_Optional and also sets CustomData_IsSet to true. |
public inline void ClearCustomData() | Clears the value of CustomData_Optional and sets CustomData_IsSet to false. |
public inline ERHAPI_VendorType & GetType() | Gets the value of Type_Optional, regardless of it having been set. |
public inline const ERHAPI_VendorType & GetType() const | Gets the value of Type_Optional, regardless of it having been set. |
public inline const ERHAPI_VendorType & GetType(const ERHAPI_VendorType & DefaultValue) const | Gets the value of Type_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetType(ERHAPI_VendorType & OutValue) const | Fills OutValue with the value of Type_Optional and returns true if it has been set, otherwise returns false. |
public inline ERHAPI_VendorType * GetTypeOrNull() | Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr. |
public inline const ERHAPI_VendorType * GetTypeOrNull() const | Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetType(ERHAPI_VendorType NewValue) | Sets the value of Type_Optional and also sets Type_IsSet to true. |
public inline void ClearType() | Clears the value of Type_Optional and sets Type_IsSet to false. |
public inline int32 & GetLegacyType() | Gets the value of LegacyType_Optional, regardless of it having been set. |
public inline const int32 & GetLegacyType() const | Gets the value of LegacyType_Optional, regardless of it having been set. |
public inline const int32 & GetLegacyType(const int32 & DefaultValue) const | Gets the value of LegacyType_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetLegacyType(int32 & OutValue) const | Fills OutValue with the value of LegacyType_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetLegacyTypeOrNull() | Returns a pointer to LegacyType_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetLegacyTypeOrNull() const | Returns a pointer to LegacyType_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetLegacyType(int32 NewValue) | Sets the value of LegacyType_Optional and also sets LegacyType_IsSet to true. |
public inline void ClearLegacyType() | Clears the value of LegacyType_Optional and sets LegacyType_IsSet to false. |
public inline bool IsLegacyTypeDefaultValue() const | Returns true if LegacyType_Optional is set and matches the default value. |
public inline void SetLegacyTypeToDefault() | Sets the value of LegacyType_Optional to its default and also sets LegacyType_IsSet to true. |
public inline int32 & GetLegacyConfigVersion() | Gets the value of LegacyConfigVersion_Optional, regardless of it having been set. |
public inline const int32 & GetLegacyConfigVersion() const | Gets the value of LegacyConfigVersion_Optional, regardless of it having been set. |
public inline const int32 & GetLegacyConfigVersion(const int32 & DefaultValue) const | Gets the value of LegacyConfigVersion_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetLegacyConfigVersion(int32 & OutValue) const | Fills OutValue with the value of LegacyConfigVersion_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetLegacyConfigVersionOrNull() | Returns a pointer to LegacyConfigVersion_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetLegacyConfigVersionOrNull() const | Returns a pointer to LegacyConfigVersion_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetLegacyConfigVersion(int32 NewValue) | Sets the value of LegacyConfigVersion_Optional and also sets LegacyConfigVersion_IsSet to true. |
public inline void ClearLegacyConfigVersion() | Clears the value of LegacyConfigVersion_Optional and sets LegacyConfigVersion_IsSet to false. |
public inline bool IsLegacyConfigVersionDefaultValue() const | Returns true if LegacyConfigVersion_Optional is set and matches the default value. |
public inline void SetLegacyConfigVersionToDefault() | Sets the value of LegacyConfigVersion_Optional to its default and also sets LegacyConfigVersion_IsSet to true. |
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, FString > CustomData_Optional
Custom data associated with the resource.
public bool CustomData_IsSet
true if CustomData_Optional has been set to a value
public ERHAPI_VendorType Type_Optional
Determines how the Vendor fulfills the loot.
public bool Type_IsSet
true if Type_Optional has been set to a value
public int32 LegacyType_Optional
public bool LegacyType_IsSet
true if LegacyType_Optional has been set to a value
public int32 LegacyConfigVersion_Optional
public bool LegacyConfigVersion_IsSet
true if LegacyConfigVersion_Optional has been set to a value
public TMap< FString, FRHAPI_Loot>Loot_Optional
The Loot the Vendor will fulfill mapped by Loot ID.
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, 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(TMap< FString, FString > NewValue)
Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.
public inline void ClearCustomData()
Clears the value of CustomData_Optional and sets CustomData_IsSet to false.
public inline ERHAPI_VendorType & GetType()
Gets the value of Type_Optional, regardless of it having been set.
public inline const ERHAPI_VendorType & GetType() const
Gets the value of Type_Optional, regardless of it having been set.
public inline const ERHAPI_VendorType & GetType(const ERHAPI_VendorType & DefaultValue) const
Gets the value of Type_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetType(ERHAPI_VendorType & OutValue) const
Fills OutValue with the value of Type_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_VendorType * GetTypeOrNull()
Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_VendorType * GetTypeOrNull() const
Returns a pointer to Type_Optional, if it has been set, otherwise returns nullptr.
public inline void SetType(ERHAPI_VendorType NewValue)
Sets the value of Type_Optional and also sets Type_IsSet to true.
public inline void ClearType()
Clears the value of Type_Optional and sets Type_IsSet to false.
public inline int32 & GetLegacyType()
Gets the value of LegacyType_Optional, regardless of it having been set.
public inline const int32 & GetLegacyType() const
Gets the value of LegacyType_Optional, regardless of it having been set.
public inline const int32 & GetLegacyType(const int32 & DefaultValue) const
Gets the value of LegacyType_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLegacyType(int32 & OutValue) const
Fills OutValue with the value of LegacyType_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetLegacyTypeOrNull()
Returns a pointer to LegacyType_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetLegacyTypeOrNull() const
Returns a pointer to LegacyType_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLegacyType(int32 NewValue)
Sets the value of LegacyType_Optional and also sets LegacyType_IsSet to true.
public inline void ClearLegacyType()
Clears the value of LegacyType_Optional and sets LegacyType_IsSet to false.
public inline bool IsLegacyTypeDefaultValue() const
Returns true if LegacyType_Optional is set and matches the default value.
public inline void SetLegacyTypeToDefault()
Sets the value of LegacyType_Optional to its default and also sets LegacyType_IsSet to true.
public inline int32 & GetLegacyConfigVersion()
Gets the value of LegacyConfigVersion_Optional, regardless of it having been set.
public inline const int32 & GetLegacyConfigVersion() const
Gets the value of LegacyConfigVersion_Optional, regardless of it having been set.
public inline const int32 & GetLegacyConfigVersion(const int32 & DefaultValue) const
Gets the value of LegacyConfigVersion_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLegacyConfigVersion(int32 & OutValue) const
Fills OutValue with the value of LegacyConfigVersion_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetLegacyConfigVersionOrNull()
Returns a pointer to LegacyConfigVersion_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetLegacyConfigVersionOrNull() const
Returns a pointer to LegacyConfigVersion_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLegacyConfigVersion(int32 NewValue)
Sets the value of LegacyConfigVersion_Optional and also sets LegacyConfigVersion_IsSet to true.
public inline void ClearLegacyConfigVersion()
Clears the value of LegacyConfigVersion_Optional and sets LegacyConfigVersion_IsSet to false.
public inline bool IsLegacyConfigVersionDefaultValue() const
Returns true if LegacyConfigVersion_Optional is set and matches the default value.
public inline void SetLegacyConfigVersionToDefault()
Sets the value of LegacyConfigVersion_Optional to its default and also sets LegacyConfigVersion_IsSet to true.
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.