items ===== .. py:module:: sidequest_common.models.items .. autoapi-nested-parse:: Game items as Battle.net describes them, and the items members wish for. ``BattlenetItem`` rows are filled on first read and fetched again when Battle.net starts serving a newer data version (its static namespace, such as ``static-1.60.1_70399-forever-us``). ``ItemName`` (``directory.py``) is separate: the names the addon reports, which exist even for items Battle.net does not know. .. py:class:: BattlenetItem Bases: :py:obj:`advanced_alchemy.base.UUIDAuditBase` One item from the Battle.net Item API, with the lines of its in-game tooltip. .. py:attribute:: item_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: name :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: quality :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: quality_name :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: item_class :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: item_subclass :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: inventory_type :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: inventory_type_name :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: item_level :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: required_level :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: sell_price :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: is_equippable :type: sqlalchemy.orm.Mapped[bool] .. py:attribute:: icon_url :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: tooltip :type: sqlalchemy.orm.Mapped[list] .. py:attribute:: data_version :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: fetched_at :type: sqlalchemy.orm.Mapped[datetime.datetime] .. py:class:: ItemWish Bases: :py:obj:`advanced_alchemy.base.UUIDAuditBase` One item on a member's wishlist. Officers see who wants a drop; the loot rules don't change. .. py:attribute:: member_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: item_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: note :type: sqlalchemy.orm.Mapped[str | None]