AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GraveyardData Struct Reference

#include "GameGraveyard.h"

Public Member Functions

bool IsNeutralOrFriendlyToTeam (TeamId playerTeamId) const
 

Public Attributes

uint32 safeLocId
 
TeamId teamId
 

Detailed Description

Member Function Documentation

◆ IsNeutralOrFriendlyToTeam()

bool GraveyardData::IsNeutralOrFriendlyToTeam ( TeamId  playerTeamId) const
inline
43{ return teamId == TEAM_NEUTRAL || playerTeamId == TEAM_NEUTRAL || teamId == playerTeamId; }
@ TEAM_NEUTRAL
Definition: SharedDefines.h:762
TeamId teamId
Definition: GameGraveyard.h:41

References TEAM_NEUTRAL, and teamId.

Referenced by Graveyard::GetClosestGraveyard().

Member Data Documentation

◆ safeLocId

◆ teamId