TrinityCore
AELootCreatureCheck Class Reference

Public Member Functions

 AELootCreatureCheck (Player *looter, ObjectGuid mainLootTarget)
 
bool operator() (Creature const *creature) const
 
bool IsValidLootTarget (Creature const *creature) const
 
bool IsValidAELootTarget (Creature const *creature) const
 

Static Public Attributes

static float constexpr LootDistance = 30.0f
 

Private Attributes

Player_looter
 
ObjectGuid _mainLootTarget
 

Detailed Description

Definition at line 41 of file LootHandler.cpp.

Constructor & Destructor Documentation

◆ AELootCreatureCheck()

AELootCreatureCheck::AELootCreatureCheck ( Player looter,
ObjectGuid  mainLootTarget 
)
inline

Definition at line 46 of file LootHandler.cpp.

Member Function Documentation

◆ IsValidAELootTarget()

bool AELootCreatureCheck::IsValidAELootTarget ( Creature const *  creature) const
inline

Definition at line 64 of file LootHandler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsValidLootTarget()

bool AELootCreatureCheck::IsValidLootTarget ( Creature const *  creature) const
inline

Definition at line 53 of file LootHandler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator()()

bool AELootCreatureCheck::operator() ( Creature const *  creature) const
inline

Definition at line 48 of file LootHandler.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _looter

Player* AELootCreatureCheck::_looter
private

Definition at line 73 of file LootHandler.cpp.

◆ _mainLootTarget

ObjectGuid AELootCreatureCheck::_mainLootTarget
private

Definition at line 74 of file LootHandler.cpp.

◆ LootDistance

float constexpr AELootCreatureCheck::LootDistance = 30.0f
staticconstexpr

Definition at line 44 of file LootHandler.cpp.


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