Source code for wow.models.playable_race

 1"""Models for the Playable Race API."""
 2
 3from wow.models._common import Document, GenderedName, Ref, TypedName
 4
 5__all__ = ["PlayableRace", "PlayableRaceIndex"]
 6
 7
[docs] 8class PlayableRaceIndex(Document): 9 """Every playable race. Forever adds the High Order Skyborne and Windshaper Skyborne (ids 95 and 96).""" 10 11 races: tuple[Ref, ...]
12 13
[docs] 14class PlayableRace(Document): 15 """A playable race with its selectable classes and racial spells.""" 16 17 id: int 18 name: str 19 gender_name: GenderedName 20 faction: TypedName 21 playable_classes: tuple[Ref, ...] 22 racial_spells: tuple[Ref, ...] 23 is_allied_race: bool 24 is_selectable: bool