Skip to main content

RHAPI_InventoryLevel

Summary​

MembersDescriptions
struct FRHAPI_InventoryLevel

struct FRHAPI_InventoryLevel ​

struct FRHAPI_InventoryLevel
: public FRHAPI_Model

Summary​

MembersDescriptions
public FGuid ItemUuidItem UUID for this Inventory Level.
public int32 ItemId_OptionalItem ID for this Inventory Level.
public bool ItemId_IsSettrue if ItemId_Optional has been set to a value
public int32 LevelCurrent Level.
public int32 CountCurrent quantity.
public int32 CountForNextLevelQuantity required for the next level.
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 & GetItemUuid()Gets the value of ItemUuid.
public inline const FGuid & GetItemUuid() constGets the value of ItemUuid.
public inline void SetItemUuid(const FGuid & NewValue)Sets the value of ItemUuid.
public inline void SetItemUuid(FGuid && NewValue)Sets the value of ItemUuid using move semantics.
public inline int32 & GetItemId()Gets the value of ItemId_Optional, regardless of it having been set.
public inline const int32 & GetItemId() constGets the value of ItemId_Optional, regardless of it having been set.
public inline const int32 & GetItemId(const int32 & DefaultValue) constGets the value of ItemId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetItemId(int32 & OutValue) constFills OutValue with the value of ItemId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetItemIdOrNull()Returns a pointer to ItemId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetItemIdOrNull() constReturns a pointer to ItemId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetItemId(const int32 & NewValue)Sets the value of ItemId_Optional and also sets ItemId_IsSet to true.
public inline void SetItemId(int32 && NewValue)Sets the value of ItemId_Optional and also sets ItemId_IsSet to true using move semantics.
public inline void ClearItemId()Clears the value of ItemId_Optional and sets ItemId_IsSet to false.
public inline bool IsItemIdSet() constChecks whether ItemId_Optional has been set.
public inline bool IsItemIdDefaultValue() constReturns true if ItemId_Optional is set and matches the default value.
public inline void SetItemIdToDefault()Sets the value of ItemId_Optional to its default and also sets ItemId_IsSet to true.
public inline int32 & GetLevel()Gets the value of Level.
public inline const int32 & GetLevel() constGets the value of Level.
public inline void SetLevel(const int32 & NewValue)Sets the value of Level.
public inline void SetLevel(int32 && NewValue)Sets the value of Level using move semantics.
public inline bool IsLevelDefaultValue() constReturns true if Level matches the default value.
public inline void SetLevelToDefault()Sets the value of Level to its default
public inline int32 & GetCount()Gets the value of Count.
public inline const int32 & GetCount() constGets the value of Count.
public inline void SetCount(const int32 & NewValue)Sets the value of Count.
public inline void SetCount(int32 && NewValue)Sets the value of Count using move semantics.
public inline bool IsCountDefaultValue() constReturns true if Count matches the default value.
public inline void SetCountToDefault()Sets the value of Count to its default
public inline int32 & GetCountForNextLevel()Gets the value of CountForNextLevel.
public inline const int32 & GetCountForNextLevel() constGets the value of CountForNextLevel.
public inline void SetCountForNextLevel(const int32 & NewValue)Sets the value of CountForNextLevel.
public inline void SetCountForNextLevel(int32 && NewValue)Sets the value of CountForNextLevel using move semantics.
public inline bool IsCountForNextLevelDefaultValue() constReturns true if CountForNextLevel matches the default value.
public inline void SetCountForNextLevelToDefault()Sets the value of CountForNextLevel to its default

Members​

public FGuid ItemUuid ​

Item UUID for this Inventory Level.

public int32 ItemId_Optional ​

Item ID for this Inventory Level.

public bool ItemId_IsSet ​

true if ItemId_Optional has been set to a value

public int32 Level ​

Current Level.

public int32 Count ​

Current quantity.

public int32 CountForNextLevel ​

Quantity required for the next level.

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 & GetItemUuid() ​

Gets the value of ItemUuid.

public inline const FGuid & GetItemUuid() const ​

Gets the value of ItemUuid.

public inline void SetItemUuid(const FGuid & NewValue) ​

Sets the value of ItemUuid.

public inline void SetItemUuid(FGuid && NewValue) ​

Sets the value of ItemUuid using move semantics.

public inline int32 & GetItemId() ​

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

public inline const int32 & GetItemId() const ​

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

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

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

public inline bool GetItemId(int32 & OutValue) const ​

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

public inline int32 * GetItemIdOrNull() ​

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

public inline const int32 * GetItemIdOrNull() const ​

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

public inline void SetItemId(const int32 & NewValue) ​

Sets the value of ItemId_Optional and also sets ItemId_IsSet to true.

public inline void SetItemId(int32 && NewValue) ​

Sets the value of ItemId_Optional and also sets ItemId_IsSet to true using move semantics.

public inline void ClearItemId() ​

Clears the value of ItemId_Optional and sets ItemId_IsSet to false.

public inline bool IsItemIdSet() const ​

Checks whether ItemId_Optional has been set.

public inline bool IsItemIdDefaultValue() const ​

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

public inline void SetItemIdToDefault() ​

Sets the value of ItemId_Optional to its default and also sets ItemId_IsSet to true.

public inline int32 & GetLevel() ​

Gets the value of Level.

public inline const int32 & GetLevel() const ​

Gets the value of Level.

public inline void SetLevel(const int32 & NewValue) ​

Sets the value of Level.

public inline void SetLevel(int32 && NewValue) ​

Sets the value of Level using move semantics.

public inline bool IsLevelDefaultValue() const ​

Returns true if Level matches the default value.

public inline void SetLevelToDefault() ​

Sets the value of Level to its default

public inline int32 & GetCount() ​

Gets the value of Count.

public inline const int32 & GetCount() const ​

Gets the value of Count.

public inline void SetCount(const int32 & NewValue) ​

Sets the value of Count.

public inline void SetCount(int32 && NewValue) ​

Sets the value of Count using move semantics.

public inline bool IsCountDefaultValue() const ​

Returns true if Count matches the default value.

public inline void SetCountToDefault() ​

Sets the value of Count to its default

public inline int32 & GetCountForNextLevel() ​

Gets the value of CountForNextLevel.

public inline const int32 & GetCountForNextLevel() const ​

Gets the value of CountForNextLevel.

public inline void SetCountForNextLevel(const int32 & NewValue) ​

Sets the value of CountForNextLevel.

public inline void SetCountForNextLevel(int32 && NewValue) ​

Sets the value of CountForNextLevel using move semantics.

public inline bool IsCountForNextLevelDefaultValue() const ​

Returns true if CountForNextLevel matches the default value.

public inline void SetCountForNextLevelToDefault() ​

Sets the value of CountForNextLevel to its default