217 {
220
222 if (!wintergrasp)
223 return true;
224
226 for (
uint8 i = 0; i < graveyard.size(); i++)
227 if (graveyard[i]->GetControlTeamId() == player->
GetTeamId())
229
231 return true;
232 }
std::uint8_t uint8
Definition: Define.h:109
std::vector< BfGraveyard * > GraveyardVect
Definition: Battlefield.h:74
@ BATTLEFIELD_BATTLEID_WG
Definition: Battlefield.h:35
#define sBattlefieldMgr
Definition: BattlefieldMgr.h:77
#define sObjectMgr
Definition: ObjectMgr.h:1635
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const guid)
Definition: ScriptedGossip.cpp:45
void AddGossipItemFor(Player *player, uint32 icon, std::string const &text, uint32 sender, uint32 action)
Definition: ScriptedGossip.cpp:28
@ GOSSIP_SENDER_MAIN
Definition: ScriptedGossip.h:70
@ GOSSIP_ACTION_INFO_DEF
Definition: ScriptedGossip.h:68
@ GOSSIP_ICON_CHAT
Definition: GossipDef.h:61
Definition: Battlefield.h:204
GraveyardVect GetGraveyardVector()
Definition: Battlefield.h:350
Definition: BattlefieldWG.h:132
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
TeamId GetTeamId(bool original=false) const
Definition: Player.h:2108
void PrepareQuestMenu(ObjectGuid guid)
Definition: PlayerQuest.cpp:39
uint32 GetGossipTextId(uint32 menuId, WorldObject *source)
Definition: PlayerGossip.cpp:404
bool IsQuestGiver() const
Definition: Unit.h:762