Class Item
Defined in File Item.h
Page Contents
Inheritance Relationships
Base Type
public axr::sdk::EntityBase
(Class EntityBase)
Class Documentation
-
class Item : public axr::sdk::EntityBase
Describes a single item that is available in the world economy.
Public Functions
-
inline Item()
-
inline virtual ~Item()
-
inline virtual Item &SetProperties(const std::map<utility::string_t, Variant> &value) override
Sets the object’s underlying map of stored values.
-
inline virtual Item &SetProperties(std::map<utility::string_t, Variant> &&value) override
Sets the underlying map of stored values for the object.
-
inline virtual Item &SetProperty(const utility::char_t *name, const Variant &value) override
Sets the property of the given name to the provided value.
-
inline virtual Item &SetProperty(const utility::string_t &name, const Variant &value) override
Sets the property of the given name to the provided value.
-
inline virtual Item &SetRemoteUrl(const utility::string_t &url) override
Returns the URL of the remote server endpoint where the object is managed.
-
inline virtual Item &SetUid(const utility::string_t &value) override
Sets the value of the Uid property.
- Parameters
value – The value to set.
-
inline virtual Item &SetDateCreated(const datetime &value) override
Sets the value of the DateCreated property.
- Parameters
value – The value to set.
-
inline virtual Item &SetDateModified(const datetime &value) override
Sets the value of the DateModified property.
- Parameters
value – The value to set.
-
inline virtual Item &SetVersion(const uint64_t value) override
Sets the value of the Version property.
- Parameters
value – The value to set.
-
virtual void Validate() override
-
utility::string_t GetName() const
The unique identifier of the item.
-
utility::string_t GetDescription() const
A textual description of the item.
-
int64_t GetCost() const
Returns the cost of the item.
-
utility::string_t GetAssetId() const
Returns the unique identifier of the asset to display.
-
utility::string_t GetIconAssetId() const
Returns the unique identifier of the icon asset to display.
-
utility::string_t GetParentUid() const
Returns the UUID of the parent item to inherit stats, description, etc.
Public Static Functions
-
static inline const utility::char_t *ClassName()
Returns the fully qualified name of the class.
-
inline Item()