What problem does it solve?
This Skill provides a comprehensive reference for World of Warcraft's Player versus Player (PvP) systems, enabling developers to interact with and understand battlegrounds, arenas, war mode, and related APIs.
Core Features & Use Cases
- PvP State & Info: Check if a player is in a PvP map, battleground, arena, or has War Mode active.
- Rated PvP: Access information on rated battlegrounds, arenas, season numbers, and player ranks.
- Honor & Conquest: Track honor levels and retrieve PvP session statistics.
- Use Case: A developer could use this Skill to build an addon that automatically announces when a player enters a rated arena match or displays real-time PvP stats during a battleground.
Quick Start
Provide a detailed explanation of how to use the C_PvP.IsArena() function to check if the player is currently in an arena match.