Skip to main content

RHAPI_LootPriceCurrency

Summary

MembersDescriptions
struct FRHAPI_LootPriceCurrencyOne 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

MembersDescriptions
public FGuid PriceItemIdThe Item used as the currency for the purchase.
public int32 PriceLegacyItemId_OptionalThe Item used as the currency for the purchase.
public bool PriceLegacyItemId_IsSettrue if PriceLegacyItemId_Optional has been set to a value
public int32 CurrentPriceThe current amount of the item needed to use this price currency.
public int32 OriginalPrice_OptionalThe amount of the item needed before the sale began.
public bool OriginalPrice_IsSettrue 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) constWrites 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() constGets 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() constGets the value of PriceLegacyItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceLegacyItemId(const int32 & DefaultValue) constGets the value of PriceLegacyItemId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPriceLegacyItemId(int32 & OutValue) constFills 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() constReturns 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() constChecks whether PriceLegacyItemId_Optional has been set.
public inline bool IsPriceLegacyItemIdDefaultValue() constReturns 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() constGets 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() constReturns 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() constGets the value of OriginalPrice_Optional, regardless of it having been set.
public inline const int32 & GetOriginalPrice(const int32 & DefaultValue) constGets the value of OriginalPrice_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetOriginalPrice(int32 & OutValue) constFills 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() constReturns 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() constChecks whether OriginalPrice_Optional has been set.
public inline bool IsOriginalPriceDefaultValue() constReturns 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

  • JsonValue Data 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

  • Writer JSON 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.