Skip to main content

RHAPI_LootPriceCurrencies

Summary

MembersDescriptions
struct FRHAPI_LootPriceCurrenciesSingle price that the loot can be purchased with. Note that all currencies of this list will be spent together.

struct FRHAPI_LootPriceCurrencies

struct FRHAPI_LootPriceCurrencies
: public FRHAPI_Model

Single price that the loot can be purchased with. Note that all currencies of this list will be spent together.

Summary

MembersDescriptions
public TArray< FRHAPI_LootPriceCurrency>Currencies_OptionalAll required currencies to use this price for purchase. All currencies in this list are spent together.
public bool Currencies_IsSettrue if Currencies_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 TArray< FRHAPI_LootPriceCurrency> &GetCurrencies()Gets the value of Currencies_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_LootPriceCurrency> &GetCurrencies() constGets the value of Currencies_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_LootPriceCurrency> &GetCurrencies(const TArray< FRHAPI_LootPriceCurrency > & DefaultValue) constGets the value of Currencies_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCurrencies(TArray< FRHAPI_LootPriceCurrency > & OutValue) constFills OutValue with the value of Currencies_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_LootPriceCurrency> *GetCurrenciesOrNull()Returns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_LootPriceCurrency> *GetCurrenciesOrNull() constReturns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCurrencies(const TArray< FRHAPI_LootPriceCurrency > & NewValue)Sets the value of Currencies_Optional and also sets Currencies_IsSet to true.
public inline void SetCurrencies(TArray< FRHAPI_LootPriceCurrency > && NewValue)Sets the value of Currencies_Optional and also sets Currencies_IsSet to true using move semantics.
public inline void ClearCurrencies()Clears the value of Currencies_Optional and sets Currencies_IsSet to false.
public inline bool IsCurrenciesSet() constChecks whether Currencies_Optional has been set.

Members

public TArray< FRHAPI_LootPriceCurrency>Currencies_Optional

All required currencies to use this price for purchase. All currencies in this list are spent together.

public bool Currencies_IsSet

true if Currencies_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 TArray< FRHAPI_LootPriceCurrency> &GetCurrencies()

Gets the value of Currencies_Optional, regardless of it having been set.

public inline const TArray< FRHAPI_LootPriceCurrency> &GetCurrencies() const

Gets the value of Currencies_Optional, regardless of it having been set.

public inline const TArray< FRHAPI_LootPriceCurrency> &GetCurrencies(const TArray< FRHAPI_LootPriceCurrency > & DefaultValue) const

Gets the value of Currencies_Optional, if it has been set, otherwise it returns DefaultValue.

public inline bool GetCurrencies(TArray< FRHAPI_LootPriceCurrency > & OutValue) const

Fills OutValue with the value of Currencies_Optional and returns true if it has been set, otherwise returns false.

public inline TArray< FRHAPI_LootPriceCurrency> *GetCurrenciesOrNull()

Returns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.

public inline const TArray< FRHAPI_LootPriceCurrency> *GetCurrenciesOrNull() const

Returns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.

public inline void SetCurrencies(const TArray< FRHAPI_LootPriceCurrency > & NewValue)

Sets the value of Currencies_Optional and also sets Currencies_IsSet to true.

public inline void SetCurrencies(TArray< FRHAPI_LootPriceCurrency > && NewValue)

Sets the value of Currencies_Optional and also sets Currencies_IsSet to true using move semantics.

public inline void ClearCurrencies()

Clears the value of Currencies_Optional and sets Currencies_IsSet to false.

public inline bool IsCurrenciesSet() const

Checks whether Currencies_Optional has been set.