pvp#
Battleground scoreboards the addon records, and the members-only match history and PvP boards built from them.
The battlegrounds block is additive on top of the SQX1: export v: 2: older sites ignore it, so the
version number doesn’t change. The game hides the scoreboard while a match runs (C_PvP.GetScoreInfo is secret
in an active match), so the addon records it once the match has ended.
- sidequest_common.schemas.pvp.MAX_BATTLEGROUNDS = 50#
Matches in one export.
- sidequest_common.schemas.pvp.MAX_BATTLEGROUND_PLAYERS = 80#
Scoreboard rows in one match (40 a side is the largest battleground).
- sidequest_common.schemas.pvp.SAME_MATCH_SECONDS = 120#
Two recordings of the same battleground ending this close together are one match (several members record it).
- sidequest_common.schemas.pvp.PVP_MATCHES_PAGE_SIZE = 25#
- sidequest_common.schemas.pvp.PVP_BOARD_SIZE = 10#
- class sidequest_common.schemas.pvp.BattlegroundWinner[source]#
Bases:
enum.StrEnumWhich side won a battleground.
- ALLIANCE = 'alliance'#
- HORDE = 'horde'#
- DRAW = 'draw'#
- class sidequest_common.schemas.pvp.BattlegroundFaction[source]#
Bases:
enum.StrEnumA scoreboard row’s side.
- ALLIANCE = 'alliance'#
- HORDE = 'horde'#
- class sidequest_common.schemas.pvp.ExportBattlegroundPlayer[source]#
Bases:
pydantic.BaseModelOne scoreboard row, as
C_PvP.GetScoreInfogives it once the match has ended.nameis the player’s name as the scoreboard shows it.wow_classis the class file name (WARRIOR), lowercased by the site. Counters the scoreboard doesn’t show for this battleground are 0.- model_config#
- name: str#
- faction: BattlegroundFaction#
- race: str | None#
- wow_class: str | None#
- killing_blows: int#
- honorable_kills: int#
- deaths: int#
- honor_gained: int#
- damage_done: int#
- healing_done: int#
- class sidequest_common.schemas.pvp.ExportBattleground[source]#
Bases:
pydantic.BaseModelOne finished battleground in the export payload.
idis the addon’s own id for the recording (recorder plus end time); the site also merges recordings of the same match by other members (sameinstance_id,ended_atwithinSAME_MATCH_SECONDS).my_factionis the recorder’s side.winnerisNoneif the game didn’t say.- id: str#
- map: str#
- instance_id: int#
- ended_at: int#
- duration: int#
- winner: BattlegroundWinner | None = None#
- my_faction: BattlegroundFaction#
- players: list[ExportBattlegroundPlayer]#
- class sidequest_common.schemas.pvp.BattlegroundImportCounts[source]#
Bases:
pydantic.BaseModelCounts for the
battlegroundssection of one import.mergedmatches another member already recorded.- new: int = 0#
- merged: int = 0#
- class sidequest_common.schemas.pvp.PvpPlayerRow[source]#
Bases:
pydantic.BaseModelOne scoreboard row on the site.
character_sluglinks a guild character’s row to its character page.- model_config#
- name: str#
- faction: BattlegroundFaction#
- race: str | None#
- killing_blows: int#
- honorable_kills: int#
- deaths: int#
- honor_gained: int#
- damage_done: int#
- healing_done: int#
- guild_member: bool#
True when the row is a SideQuest character.
- character_slug: str | None#
- class sidequest_common.schemas.pvp.PvpMatchSummary[source]#
Bases:
pydantic.BaseModelOne battleground in the match history.
- id: uuid.UUID#
- map: str#
- ended_at: datetime.datetime#
- duration: int#
- winner: BattlegroundWinner | None#
- guild_faction: BattlegroundFaction#
The side the recording member played on.
- won: bool | None#
Whether the guild’s side won;
Noneif the winner is unknown or a draw.
- guild_players: list[str]#
The SideQuest characters in the match.
- recorded_by: str#
- class sidequest_common.schemas.pvp.PvpMatchDetail[source]#
Bases:
PvpMatchSummaryOne battleground with its full scoreboard, highest honorable kills first.
- players: list[PvpPlayerRow]#
- class sidequest_common.schemas.pvp.PvpMatchPage[source]#
Bases:
pydantic.BaseModelOne page of the match history, newest first.
- page: int#
- page_count: int#
- matches: list[PvpMatchSummary]#
- class sidequest_common.schemas.pvp.PvpBoardEntry[source]#
Bases:
pydantic.BaseModelOne guild character on a PvP board.
- model_config#
- name: str#
- character_slug: str | None#
- value: int#
- class sidequest_common.schemas.pvp.PvpBoards[source]#
Bases:
pydantic.BaseModelTotals over every recorded battleground for SideQuest characters, ten to a board.
- matches: int#
Battlegrounds recorded in total.
- wins: list[PvpBoardEntry]#
- honorable_kills: list[PvpBoardEntry]#
- killing_blows: list[PvpBoardEntry]#
- honor_gained: list[PvpBoardEntry]#
- damage_done: list[PvpBoardEntry]#
- healing_done: list[PvpBoardEntry]#