pvp === .. py:module:: sidequest_common.models.pvp .. autoapi-nested-parse:: Battleground scoreboards recorded by members' addons. Members-only data: other players' names and stats included. .. py:class:: BattlegroundMatch Bases: :py:obj:`advanced_alchemy.base.UUIDAuditBase` One finished battleground, stored once however many members recorded it. ``external_id`` is the first recording's addon id. ``guild_faction`` is the side the recording member played on. .. py:attribute:: external_id :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: map :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: instance_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: ended_at :type: sqlalchemy.orm.Mapped[datetime.datetime] .. py:attribute:: duration :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: winner :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: guild_faction :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: recorder :type: sqlalchemy.orm.Mapped[str] .. py:class:: BattlegroundScore Bases: :py:obj:`advanced_alchemy.base.UUIDAuditBase` One scoreboard row of a match. ``character_id`` links it to a guild character when the name matches one. .. py:attribute:: match_id :type: sqlalchemy.orm.Mapped[uuid.UUID] .. py:attribute:: character_id :type: sqlalchemy.orm.Mapped[uuid.UUID | None] .. py:attribute:: name :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: faction :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: race :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: wow_class :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: killing_blows :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: honorable_kills :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: deaths :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: honor_gained :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: damage_done :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: healing_done :type: sqlalchemy.orm.Mapped[int]