Skip to main content

RHAPI_InventoryLevels

Summary

MembersDescriptions
struct FRHAPI_InventoryLevelsInventory Levels for a Player.

struct FRHAPI_InventoryLevels

struct FRHAPI_InventoryLevels
: public FRHAPI_Model

Inventory Levels for a Player.

Summary

MembersDescriptions
public TArray< FRHAPI_InventoryLevel>Levels_OptionalInventory Levels for a Player.
public bool Levels_IsSettrue if Levels_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_InventoryLevel> &GetLevels()Gets the value of Levels_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_InventoryLevel> &GetLevels() constGets the value of Levels_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_InventoryLevel> &GetLevels(const TArray< FRHAPI_InventoryLevel > & DefaultValue) constGets the value of Levels_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLevels(TArray< FRHAPI_InventoryLevel > & OutValue) constFills OutValue with the value of Levels_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_InventoryLevel> *GetLevelsOrNull()Returns a pointer to Levels_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_InventoryLevel> *GetLevelsOrNull() constReturns a pointer to Levels_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLevels(const TArray< FRHAPI_InventoryLevel > & NewValue)Sets the value of Levels_Optional and also sets Levels_IsSet to true.
public inline void SetLevels(TArray< FRHAPI_InventoryLevel > && NewValue)Sets the value of Levels_Optional and also sets Levels_IsSet to true using move semantics.
public inline void ClearLevels()Clears the value of Levels_Optional and sets Levels_IsSet to false.
public inline bool IsLevelsSet() constChecks whether Levels_Optional has been set.

Members

public TArray< FRHAPI_InventoryLevel>Levels_Optional

Inventory Levels for a Player.

public bool Levels_IsSet

true if Levels_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_InventoryLevel> &GetLevels()

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

public inline const TArray< FRHAPI_InventoryLevel> &GetLevels() const

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

public inline const TArray< FRHAPI_InventoryLevel> &GetLevels(const TArray< FRHAPI_InventoryLevel > & DefaultValue) const

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

public inline bool GetLevels(TArray< FRHAPI_InventoryLevel > & OutValue) const

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

public inline TArray< FRHAPI_InventoryLevel> *GetLevelsOrNull()

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

public inline const TArray< FRHAPI_InventoryLevel> *GetLevelsOrNull() const

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

public inline void SetLevels(const TArray< FRHAPI_InventoryLevel > & NewValue)

Sets the value of Levels_Optional and also sets Levels_IsSet to true.

public inline void SetLevels(TArray< FRHAPI_InventoryLevel > && NewValue)

Sets the value of Levels_Optional and also sets Levels_IsSet to true using move semantics.

public inline void ClearLevels()

Clears the value of Levels_Optional and sets Levels_IsSet to false.

public inline bool IsLevelsSet() const

Checks whether Levels_Optional has been set.