Skip to main content

RHAPI_LootPrice

Summary

MembersDescriptions
struct FRHAPI_LootPricePrice with current and original (pre-sale) price breakpoints.

struct FRHAPI_LootPrice

struct FRHAPI_LootPrice
: public FRHAPI_Model

Price with current and original (pre-sale) price breakpoints.

Summary

MembersDescriptions
public TArray< FRHAPI_LootPriceBreakpoint>Breakpoints_OptionalBreakpoints that the loot is available for purchase with.
public bool Breakpoints_IsSettrue if Breakpoints_Optional has been set to a value
public bool StrictFlag_OptionalDoes the number of units being purchased need to be an exact match to the quantity on a Price Breakpoint?
public bool StrictFlag_IsSettrue if StrictFlag_Optional has been set to a value
public bool CapFlag_OptionalCan the number of units being purchased be higher than the highest quantity on the Price Breakpoints?
public bool CapFlag_IsSettrue if CapFlag_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_LootPriceBreakpoint> &GetBreakpoints()Gets the value of Breakpoints_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_LootPriceBreakpoint> &GetBreakpoints() constGets the value of Breakpoints_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_LootPriceBreakpoint> &GetBreakpoints(const TArray< FRHAPI_LootPriceBreakpoint > & DefaultValue) constGets the value of Breakpoints_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetBreakpoints(TArray< FRHAPI_LootPriceBreakpoint > & OutValue) constFills OutValue with the value of Breakpoints_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_LootPriceBreakpoint> *GetBreakpointsOrNull()Returns a pointer to Breakpoints_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_LootPriceBreakpoint> *GetBreakpointsOrNull() constReturns a pointer to Breakpoints_Optional, if it has been set, otherwise returns nullptr.
public inline void SetBreakpoints(const TArray< FRHAPI_LootPriceBreakpoint > & NewValue)Sets the value of Breakpoints_Optional and also sets Breakpoints_IsSet to true.
public inline void SetBreakpoints(TArray< FRHAPI_LootPriceBreakpoint > && NewValue)Sets the value of Breakpoints_Optional and also sets Breakpoints_IsSet to true using move semantics.
public inline void ClearBreakpoints()Clears the value of Breakpoints_Optional and sets Breakpoints_IsSet to false.
public inline bool IsBreakpointsSet() constChecks whether Breakpoints_Optional has been set.
public inline bool & GetStrictFlag()Gets the value of StrictFlag_Optional, regardless of it having been set.
public inline const bool & GetStrictFlag() constGets the value of StrictFlag_Optional, regardless of it having been set.
public inline const bool & GetStrictFlag(const bool & DefaultValue) constGets the value of StrictFlag_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetStrictFlag(bool & OutValue) constFills OutValue with the value of StrictFlag_Optional and returns true if it has been set, otherwise returns false.
public inline bool * GetStrictFlagOrNull()Returns a pointer to StrictFlag_Optional, if it has been set, otherwise returns nullptr.
public inline const bool * GetStrictFlagOrNull() constReturns a pointer to StrictFlag_Optional, if it has been set, otherwise returns nullptr.
public inline void SetStrictFlag(const bool & NewValue)Sets the value of StrictFlag_Optional and also sets StrictFlag_IsSet to true.
public inline void SetStrictFlag(bool && NewValue)Sets the value of StrictFlag_Optional and also sets StrictFlag_IsSet to true using move semantics.
public inline void ClearStrictFlag()Clears the value of StrictFlag_Optional and sets StrictFlag_IsSet to false.
public inline bool IsStrictFlagSet() constChecks whether StrictFlag_Optional has been set.
public inline bool IsStrictFlagDefaultValue() constReturns true if StrictFlag_Optional is set and matches the default value.
public inline void SetStrictFlagToDefault()Sets the value of StrictFlag_Optional to its default and also sets StrictFlag_IsSet to true.
public inline bool & GetCapFlag()Gets the value of CapFlag_Optional, regardless of it having been set.
public inline const bool & GetCapFlag() constGets the value of CapFlag_Optional, regardless of it having been set.
public inline const bool & GetCapFlag(const bool & DefaultValue) constGets the value of CapFlag_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCapFlag(bool & OutValue) constFills OutValue with the value of CapFlag_Optional and returns true if it has been set, otherwise returns false.
public inline bool * GetCapFlagOrNull()Returns a pointer to CapFlag_Optional, if it has been set, otherwise returns nullptr.
public inline const bool * GetCapFlagOrNull() constReturns a pointer to CapFlag_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCapFlag(const bool & NewValue)Sets the value of CapFlag_Optional and also sets CapFlag_IsSet to true.
public inline void SetCapFlag(bool && NewValue)Sets the value of CapFlag_Optional and also sets CapFlag_IsSet to true using move semantics.
public inline void ClearCapFlag()Clears the value of CapFlag_Optional and sets CapFlag_IsSet to false.
public inline bool IsCapFlagSet() constChecks whether CapFlag_Optional has been set.
public inline bool IsCapFlagDefaultValue() constReturns true if CapFlag_Optional is set and matches the default value.
public inline void SetCapFlagToDefault()Sets the value of CapFlag_Optional to its default and also sets CapFlag_IsSet to true.

Members

public TArray< FRHAPI_LootPriceBreakpoint>Breakpoints_Optional

Breakpoints that the loot is available for purchase with.

public bool Breakpoints_IsSet

true if Breakpoints_Optional has been set to a value

public bool StrictFlag_Optional

Does the number of units being purchased need to be an exact match to the quantity on a Price Breakpoint?

public bool StrictFlag_IsSet

true if StrictFlag_Optional has been set to a value

public bool CapFlag_Optional

Can the number of units being purchased be higher than the highest quantity on the Price Breakpoints?

public bool CapFlag_IsSet

true if CapFlag_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_LootPriceBreakpoint> &GetBreakpoints()

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

public inline const TArray< FRHAPI_LootPriceBreakpoint> &GetBreakpoints() const

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

public inline const TArray< FRHAPI_LootPriceBreakpoint> &GetBreakpoints(const TArray< FRHAPI_LootPriceBreakpoint > & DefaultValue) const

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

public inline bool GetBreakpoints(TArray< FRHAPI_LootPriceBreakpoint > & OutValue) const

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

public inline TArray< FRHAPI_LootPriceBreakpoint> *GetBreakpointsOrNull()

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

public inline const TArray< FRHAPI_LootPriceBreakpoint> *GetBreakpointsOrNull() const

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

public inline void SetBreakpoints(const TArray< FRHAPI_LootPriceBreakpoint > & NewValue)

Sets the value of Breakpoints_Optional and also sets Breakpoints_IsSet to true.

public inline void SetBreakpoints(TArray< FRHAPI_LootPriceBreakpoint > && NewValue)

Sets the value of Breakpoints_Optional and also sets Breakpoints_IsSet to true using move semantics.

public inline void ClearBreakpoints()

Clears the value of Breakpoints_Optional and sets Breakpoints_IsSet to false.

public inline bool IsBreakpointsSet() const

Checks whether Breakpoints_Optional has been set.

public inline bool & GetStrictFlag()

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

public inline const bool & GetStrictFlag() const

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

public inline const bool & GetStrictFlag(const bool & DefaultValue) const

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

public inline bool GetStrictFlag(bool & OutValue) const

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

public inline bool * GetStrictFlagOrNull()

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

public inline const bool * GetStrictFlagOrNull() const

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

public inline void SetStrictFlag(const bool & NewValue)

Sets the value of StrictFlag_Optional and also sets StrictFlag_IsSet to true.

public inline void SetStrictFlag(bool && NewValue)

Sets the value of StrictFlag_Optional and also sets StrictFlag_IsSet to true using move semantics.

public inline void ClearStrictFlag()

Clears the value of StrictFlag_Optional and sets StrictFlag_IsSet to false.

public inline bool IsStrictFlagSet() const

Checks whether StrictFlag_Optional has been set.

public inline bool IsStrictFlagDefaultValue() const

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

public inline void SetStrictFlagToDefault()

Sets the value of StrictFlag_Optional to its default and also sets StrictFlag_IsSet to true.

public inline bool & GetCapFlag()

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

public inline const bool & GetCapFlag() const

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

public inline const bool & GetCapFlag(const bool & DefaultValue) const

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

public inline bool GetCapFlag(bool & OutValue) const

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

public inline bool * GetCapFlagOrNull()

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

public inline const bool * GetCapFlagOrNull() const

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

public inline void SetCapFlag(const bool & NewValue)

Sets the value of CapFlag_Optional and also sets CapFlag_IsSet to true.

public inline void SetCapFlag(bool && NewValue)

Sets the value of CapFlag_Optional and also sets CapFlag_IsSet to true using move semantics.

public inline void ClearCapFlag()

Clears the value of CapFlag_Optional and sets CapFlag_IsSet to false.

public inline bool IsCapFlagSet() const

Checks whether CapFlag_Optional has been set.

public inline bool IsCapFlagDefaultValue() const

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

public inline void SetCapFlagToDefault()

Sets the value of CapFlag_Optional to its default and also sets CapFlag_IsSet to true.