RHAPI_LootPriceCurrency
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_LootPriceCurrency | One currency (of potentially multiple) that can be used for a purchase, and how much of that currency is required for the purchase. |
struct FRHAPI_LootPriceCurrency
struct FRHAPI_LootPriceCurrency
: public FRHAPI_Model
One currency (of potentially multiple) that can be used for a purchase, and how much of that currency is required for the purchase.
Summary
| Members | Descriptions |
|---|---|
public FGuid PriceItemId | The Item used as the currency for the purchase. |
public int32 PriceLegacyItemId_Optional | The Item used as the currency for the purchase. |
public bool PriceLegacyItemId_IsSet | true if PriceLegacyItemId_Optional has been set to a value |
public int32 CurrentPrice | The current amount of the item needed to use this price currency. |
public int32 OriginalPrice_Optional | The amount of the item needed before the sale began. |
public bool OriginalPrice_IsSet | true if OriginalPrice_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 FGuid & GetPriceItemId() | Gets the value of PriceItemId. |
public inline const FGuid & GetPriceItemId() const | Gets the value of PriceItemId. |
public inline void SetPriceItemId(const FGuid & NewValue) | Sets the value of PriceItemId. |
public inline void SetPriceItemId(FGuid && NewValue) | Sets the value of PriceItemId using move semantics. |
public inline int32 & GetPriceLegacyItemId() | Gets the value of PriceLegacyItemId_Optional, regardless of it having been set. |
public inline const int32 & GetPriceLegacyItemId() const | Gets the value of PriceLegacyItemId_Optional, regardless of it having been set. |
public inline const int32 & GetPriceLegacyItemId(const int32 & DefaultValue) const | Gets the value of PriceLegacyItemId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetPriceLegacyItemId(int32 & OutValue) const | Fills OutValue with the value of PriceLegacyItemId_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetPriceLegacyItemIdOrNull() | Returns a pointer to PriceLegacyItemId_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetPriceLegacyItemIdOrNull() const | Returns a pointer to PriceLegacyItemId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetPriceLegacyItemId(const int32 & NewValue) | Sets the value of PriceLegacyItemId_Optional and also sets PriceLegacyItemId_IsSet to true. |
public inline void SetPriceLegacyItemId(int32 && NewValue) | Sets the value of PriceLegacyItemId_Optional and also sets PriceLegacyItemId_IsSet to true using move semantics. |
public inline void ClearPriceLegacyItemId() | Clears the value of PriceLegacyItemId_Optional and sets PriceLegacyItemId_IsSet to false. |
public inline bool IsPriceLegacyItemIdSet() const | Checks whether PriceLegacyItemId_Optional has been set. |
public inline bool IsPriceLegacyItemIdDefaultValue() const | Returns true if PriceLegacyItemId_Optional is set and matches the default value. |
public inline void SetPriceLegacyItemIdToDefault() | Sets the value of PriceLegacyItemId_Optional to its default and also sets PriceLegacyItemId_IsSet to true. |
public inline int32 & GetCurrentPrice() | Gets the value of CurrentPrice. |
public inline const int32 & GetCurrentPrice() const | Gets the value of CurrentPrice. |
public inline void SetCurrentPrice(const int32 & NewValue) | Sets the value of CurrentPrice. |
public inline void SetCurrentPrice(int32 && NewValue) | Sets the value of CurrentPrice using move semantics. |
public inline bool IsCurrentPriceDefaultValue() const | Returns true if CurrentPrice matches the default value. |
public inline void SetCurrentPriceToDefault() | Sets the value of CurrentPrice to its default |
public inline int32 & GetOriginalPrice() | Gets the value of OriginalPrice_Optional, regardless of it having been set. |
public inline const int32 & GetOriginalPrice() const | Gets the value of OriginalPrice_Optional, regardless of it having been set. |
public inline const int32 & GetOriginalPrice(const int32 & DefaultValue) const | Gets the value of OriginalPrice_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetOriginalPrice(int32 & OutValue) const | Fills OutValue with the value of OriginalPrice_Optional and returns true if it has been set, otherwise returns false. |
public inline int32 * GetOriginalPriceOrNull() | Returns a pointer to OriginalPrice_Optional, if it has been set, otherwise returns nullptr. |
public inline const int32 * GetOriginalPriceOrNull() const | Returns a pointer to OriginalPrice_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetOriginalPrice(const int32 & NewValue) | Sets the value of OriginalPrice_Optional and also sets OriginalPrice_IsSet to true. |
public inline void SetOriginalPrice(int32 && NewValue) | Sets the value of OriginalPrice_Optional and also sets OriginalPrice_IsSet to true using move semantics. |
public inline void ClearOriginalPrice() | Clears the value of OriginalPrice_Optional and sets OriginalPrice_IsSet to false. |
public inline bool IsOriginalPriceSet() const | Checks whether OriginalPrice_Optional has been set. |
public inline bool IsOriginalPriceDefaultValue() const | Returns true if OriginalPrice_Optional is set and matches the default value. |
public inline void SetOriginalPriceToDefault() | Sets the value of OriginalPrice_Optional to its default and also sets OriginalPrice_IsSet to true. |
Members
public FGuid PriceItemId
The Item used as the currency for the purchase.
public int32 PriceLegacyItemId_Optional
The Item used as the currency for the purchase.
public bool PriceLegacyItemId_IsSet
true if PriceLegacyItemId_Optional has been set to a value
public int32 CurrentPrice
The current amount of the item needed to use this price currency.
public int32 OriginalPrice_Optional
The amount of the item needed before the sale began.
public bool OriginalPrice_IsSet
true if OriginalPrice_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 FGuid & GetPriceItemId()
Gets the value of PriceItemId.
public inline const FGuid & GetPriceItemId() const
Gets the value of PriceItemId.
public inline void SetPriceItemId(const FGuid & NewValue)
Sets the value of PriceItemId.
public inline void SetPriceItemId(FGuid && NewValue)
Sets the value of PriceItemId using move semantics.
public inline int32 & GetPriceLegacyItemId()
Gets the value of PriceLegacyItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceLegacyItemId() const
Gets the value of PriceLegacyItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceLegacyItemId(const int32 & DefaultValue) const
Gets the value of PriceLegacyItemId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPriceLegacyItemId(int32 & OutValue) const
Fills OutValue with the value of PriceLegacyItemId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetPriceLegacyItemIdOrNull()
Returns a pointer to PriceLegacyItemId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetPriceLegacyItemIdOrNull() const
Returns a pointer to PriceLegacyItemId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPriceLegacyItemId(const int32 & NewValue)
Sets the value of PriceLegacyItemId_Optional and also sets PriceLegacyItemId_IsSet to true.
public inline void SetPriceLegacyItemId(int32 && NewValue)
Sets the value of PriceLegacyItemId_Optional and also sets PriceLegacyItemId_IsSet to true using move semantics.
public inline void ClearPriceLegacyItemId()
Clears the value of PriceLegacyItemId_Optional and sets PriceLegacyItemId_IsSet to false.
public inline bool IsPriceLegacyItemIdSet() const
Checks whether PriceLegacyItemId_Optional has been set.
public inline bool IsPriceLegacyItemIdDefaultValue() const
Returns true if PriceLegacyItemId_Optional is set and matches the default value.
public inline void SetPriceLegacyItemIdToDefault()
Sets the value of PriceLegacyItemId_Optional to its default and also sets PriceLegacyItemId_IsSet to true.
public inline int32 & GetCurrentPrice()
Gets the value of CurrentPrice.
public inline const int32 & GetCurrentPrice() const
Gets the value of CurrentPrice.
public inline void SetCurrentPrice(const int32 & NewValue)
Sets the value of CurrentPrice.
public inline void SetCurrentPrice(int32 && NewValue)
Sets the value of CurrentPrice using move semantics.
public inline bool IsCurrentPriceDefaultValue() const
Returns true if CurrentPrice matches the default value.
public inline void SetCurrentPriceToDefault()
Sets the value of CurrentPrice to its default
public inline int32 & GetOriginalPrice()
Gets the value of OriginalPrice_Optional, regardless of it having been set.
public inline const int32 & GetOriginalPrice() const
Gets the value of OriginalPrice_Optional, regardless of it having been set.
public inline const int32 & GetOriginalPrice(const int32 & DefaultValue) const
Gets the value of OriginalPrice_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetOriginalPrice(int32 & OutValue) const
Fills OutValue with the value of OriginalPrice_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetOriginalPriceOrNull()
Returns a pointer to OriginalPrice_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetOriginalPriceOrNull() const
Returns a pointer to OriginalPrice_Optional, if it has been set, otherwise returns nullptr.
public inline void SetOriginalPrice(const int32 & NewValue)
Sets the value of OriginalPrice_Optional and also sets OriginalPrice_IsSet to true.
public inline void SetOriginalPrice(int32 && NewValue)
Sets the value of OriginalPrice_Optional and also sets OriginalPrice_IsSet to true using move semantics.
public inline void ClearOriginalPrice()
Clears the value of OriginalPrice_Optional and sets OriginalPrice_IsSet to false.
public inline bool IsOriginalPriceSet() const
Checks whether OriginalPrice_Optional has been set.
public inline bool IsOriginalPriceDefaultValue() const
Returns true if OriginalPrice_Optional is set and matches the default value.
public inline void SetOriginalPriceToDefault()
Sets the value of OriginalPrice_Optional to its default and also sets OriginalPrice_IsSet to true.