![]() |
TrinityCore
|
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 |
Definition at line 41 of file LootHandler.cpp.
|
inline |
Definition at line 46 of file LootHandler.cpp.
|
inline |
Definition at line 64 of file LootHandler.cpp.
References _mainLootTarget, BaseEntity::GetGUID(), and IsValidLootTarget().
Referenced by operator()().
|
inline |
Definition at line 53 of file LootHandler.cpp.
References _looter, Unit::IsAlive(), Player::isAllowedToLoot(), WorldObject::IsWithinDist(), and LootDistance.
Referenced by WorldSession::HandleLootOpcode(), and IsValidAELootTarget().
|
inline |
Definition at line 48 of file LootHandler.cpp.
References IsValidAELootTarget().
|
private |
Definition at line 73 of file LootHandler.cpp.
Referenced by IsValidLootTarget().
|
private |
Definition at line 74 of file LootHandler.cpp.
Referenced by IsValidAELootTarget().
|
staticconstexpr |
Definition at line 44 of file LootHandler.cpp.
Referenced by WorldSession::HandleAutostoreLootItemOpcode(), WorldSession::HandleLootOpcode(), and IsValidLootTarget().