Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
BattlePetAchievementContext Struct Reference

#include <BattlePet.h>

Public Member Functions

bool IsMatchmaking () const
bool IsPvp () const
bool IsValid () const
uint32 Payload () const

Public Attributes

bool Captured = false
uint32 FamilyMask = 0
uint8 HealthPercent = 0
uint8 Quality = 0
BattlePetAchievementSource Source = BATTLE_PET_ACHIEVEMENT_SOURCE_WILD
uint16 Species = 0
bool Won = false

Detailed Description

Definition at line 88 of file BattlePet.h.

Member Function Documentation

◆ IsMatchmaking()

bool BattlePetAchievementContext::IsMatchmaking ( ) const
inline

Definition at line 100 of file BattlePet.h.

References BATTLE_PET_ACHIEVEMENT_SOURCE_PVP_MATCHMAKING, and Source.

◆ IsPvp()

bool BattlePetAchievementContext::IsPvp ( ) const
inline

Definition at line 99 of file BattlePet.h.

References BATTLE_PET_ACHIEVEMENT_SOURCE_WILD, and Source.

◆ IsValid()

bool BattlePetAchievementContext::IsValid ( ) const
inline

◆ Payload()

Member Data Documentation

◆ Captured

bool BattlePetAchievementContext::Captured = false

Definition at line 96 of file BattlePet.h.

Referenced by BattlePetMgr::BuildActivePetBattleAchievementContext().

◆ FamilyMask

◆ HealthPercent

uint8 BattlePetAchievementContext::HealthPercent = 0

Definition at line 94 of file BattlePet.h.

Referenced by BattlePetMgr::BuildActivePetBattleAchievementContext(), and Payload().

◆ Quality

uint8 BattlePetAchievementContext::Quality = 0

Definition at line 92 of file BattlePet.h.

Referenced by BattlePetMgr::BuildActivePetBattleAchievementContext(), and Payload().

◆ Source

◆ Species

◆ Won

bool BattlePetAchievementContext::Won = false

Definition at line 95 of file BattlePet.h.

Referenced by BattlePetMgr::BuildActivePetBattleAchievementContext().


The documentation for this struct was generated from the following file: