Skip to main content

RHAPI_LootPriceBreakpoint

Summary​

MembersDescriptions
struct FRHAPI_LootPriceBreakpointPrice Breakpoint for a specific quantity of units to purchase.

struct FRHAPI_LootPriceBreakpoint ​

struct FRHAPI_LootPriceBreakpoint
: public FRHAPI_Model

Price Breakpoint for a specific quantity of units to purchase.

Summary​

MembersDescriptions
public int32 Quantity_OptionalAmount of units that must be purchased to use this price.
public bool Quantity_IsSettrue if Quantity_Optional has been set to a value
public TArray< FRHAPI_LootPriceCurrencies>Prices_OptionalList of all possible prices that this breakpoint can be purchased with.
public bool Prices_IsSettrue if Prices_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 int32 & GetQuantity()Gets the value of Quantity_Optional, regardless of it having been set.
public inline const int32 & GetQuantity() constGets the value of Quantity_Optional, regardless of it having been set.
public inline const int32 & GetQuantity(const int32 & DefaultValue) constGets the value of Quantity_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetQuantity(int32 & OutValue) constFills OutValue with the value of Quantity_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetQuantityOrNull()Returns a pointer to Quantity_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetQuantityOrNull() constReturns a pointer to Quantity_Optional, if it has been set, otherwise returns nullptr.
public inline void SetQuantity(const int32 & NewValue)Sets the value of Quantity_Optional and also sets Quantity_IsSet to true.
public inline void SetQuantity(int32 && NewValue)Sets the value of Quantity_Optional and also sets Quantity_IsSet to true using move semantics.
public inline void ClearQuantity()Clears the value of Quantity_Optional and sets Quantity_IsSet to false.
public inline bool IsQuantitySet() constChecks whether Quantity_Optional has been set.
public inline bool IsQuantityDefaultValue() constReturns true if Quantity_Optional is set and matches the default value.
public inline void SetQuantityToDefault()Sets the value of Quantity_Optional to its default and also sets Quantity_IsSet to true.
public inline TArray< FRHAPI_LootPriceCurrencies> &GetPrices()Gets the value of Prices_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_LootPriceCurrencies> &GetPrices() constGets the value of Prices_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_LootPriceCurrencies> &GetPrices(const TArray< FRHAPI_LootPriceCurrencies > & DefaultValue) constGets the value of Prices_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPrices(TArray< FRHAPI_LootPriceCurrencies > & OutValue) constFills OutValue with the value of Prices_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_LootPriceCurrencies> *GetPricesOrNull()Returns a pointer to Prices_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_LootPriceCurrencies> *GetPricesOrNull() constReturns a pointer to Prices_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPrices(const TArray< FRHAPI_LootPriceCurrencies > & NewValue)Sets the value of Prices_Optional and also sets Prices_IsSet to true.
public inline void SetPrices(TArray< FRHAPI_LootPriceCurrencies > && NewValue)Sets the value of Prices_Optional and also sets Prices_IsSet to true using move semantics.
public inline void ClearPrices()Clears the value of Prices_Optional and sets Prices_IsSet to false.
public inline bool IsPricesSet() constChecks whether Prices_Optional has been set.

Members​

public int32 Quantity_Optional ​

Amount of units that must be purchased to use this price.

public bool Quantity_IsSet ​

true if Quantity_Optional has been set to a value

public TArray< FRHAPI_LootPriceCurrencies>Prices_Optional ​

List of all possible prices that this breakpoint can be purchased with.

public bool Prices_IsSet ​

true if Prices_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 int32 & GetQuantity() ​

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

public inline const int32 & GetQuantity() const ​

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

public inline const int32 & GetQuantity(const int32 & DefaultValue) const ​

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

public inline bool GetQuantity(int32 & OutValue) const ​

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

public inline int32 * GetQuantityOrNull() ​

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

public inline const int32 * GetQuantityOrNull() const ​

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

public inline void SetQuantity(const int32 & NewValue) ​

Sets the value of Quantity_Optional and also sets Quantity_IsSet to true.

public inline void SetQuantity(int32 && NewValue) ​

Sets the value of Quantity_Optional and also sets Quantity_IsSet to true using move semantics.

public inline void ClearQuantity() ​

Clears the value of Quantity_Optional and sets Quantity_IsSet to false.

public inline bool IsQuantitySet() const ​

Checks whether Quantity_Optional has been set.

public inline bool IsQuantityDefaultValue() const ​

Returns true if Quantity_Optional is set and matches the default value.

public inline void SetQuantityToDefault() ​

Sets the value of Quantity_Optional to its default and also sets Quantity_IsSet to true.

public inline TArray< FRHAPI_LootPriceCurrencies> &GetPrices() ​

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

public inline const TArray< FRHAPI_LootPriceCurrencies> &GetPrices() const ​

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

public inline const TArray< FRHAPI_LootPriceCurrencies> &GetPrices(const TArray< FRHAPI_LootPriceCurrencies > & DefaultValue) const ​

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

public inline bool GetPrices(TArray< FRHAPI_LootPriceCurrencies > & OutValue) const ​

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

public inline TArray< FRHAPI_LootPriceCurrencies> *GetPricesOrNull() ​

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

public inline const TArray< FRHAPI_LootPriceCurrencies> *GetPricesOrNull() const ​

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

public inline void SetPrices(const TArray< FRHAPI_LootPriceCurrencies > & NewValue) ​

Sets the value of Prices_Optional and also sets Prices_IsSet to true.

public inline void SetPrices(TArray< FRHAPI_LootPriceCurrencies > && NewValue) ​

Sets the value of Prices_Optional and also sets Prices_IsSet to true using move semantics.

public inline void ClearPrices() ​

Clears the value of Prices_Optional and sets Prices_IsSet to false.

public inline bool IsPricesSet() const ​

Checks whether Prices_Optional has been set.