#include <ConditionMgr.h>
|
| void | LoadConditions (bool isReload=false) |
| |
| bool | isConditionTypeValid (Condition *cond) const |
| |
| uint32 | GetSearcherTypeMaskForConditionList (ConditionContainer const &conditions) const |
| |
| bool | IsObjectMeetToConditions (WorldObject *object, ConditionContainer const &conditions) const |
| |
| bool | IsObjectMeetToConditions (WorldObject *object1, WorldObject *object2, ConditionContainer const &conditions) const |
| |
| bool | IsObjectMeetToConditions (ConditionSourceInfo &sourceInfo, ConditionContainer const &conditions) const |
| |
| bool | IsObjectMeetingNotGroupedConditions (ConditionSourceType sourceType, uint32 entry, ConditionSourceInfo &sourceInfo) const |
| |
| bool | IsObjectMeetingNotGroupedConditions (ConditionSourceType sourceType, uint32 entry, WorldObject *target0, WorldObject *target1=nullptr, WorldObject *target2=nullptr) const |
| |
| bool | HasConditionsForNotGroupedEntry (ConditionSourceType sourceType, uint32 entry) const |
| |
| bool | IsObjectMeetingSpellClickConditions (uint32 creatureId, uint32 spellId, WorldObject *clicker, WorldObject *target) const |
| |
| ConditionContainer const * | GetConditionsForSpellClickEvent (uint32 creatureId, uint32 spellId) const |
| |
| bool | IsObjectMeetingVehicleSpellConditions (uint32 creatureId, uint32 spellId, Player *player, Unit *vehicle) const |
| |
| bool | IsObjectMeetingSmartEventConditions (int32 entryOrGuid, uint32 eventId, uint32 sourceType, Unit *unit, WorldObject *baseObject) const |
| |
| bool | IsObjectMeetingVendorItemConditions (uint32 creatureId, uint32 itemId, Player *player, Creature *vendor) const |
| |
| bool | IsSpellUsedInSpellClickConditions (uint32 spellId) const |
| |
Definition at line 257 of file ConditionMgr.h.
◆ ConditionMgr()
| ConditionMgr::ConditionMgr |
( |
| ) |
|
|
private |
◆ ~ConditionMgr()
| ConditionMgr::~ConditionMgr |
( |
| ) |
|
|
private |
◆ addToGossipMenuItems()
| bool ConditionMgr::addToGossipMenuItems |
( |
Condition * |
cond | ) |
const |
|
private |
◆ addToGossipMenus()
| bool ConditionMgr::addToGossipMenus |
( |
Condition * |
cond | ) |
const |
|
private |
◆ addToLootTemplate()
◆ addToSpellImplicitTargetConditions()
| bool ConditionMgr::addToSpellImplicitTargetConditions |
( |
Condition * |
cond | ) |
const |
|
private |
◆ CanHaveSourceGroupSet()
◆ CanHaveSourceIdSet()
◆ Clean()
| void ConditionMgr::Clean |
( |
| ) |
|
|
private |
◆ GetConditionsForSpellClickEvent()
◆ GetSearcherTypeMaskForConditionList()
◆ HasConditionsForNotGroupedEntry()
◆ instance()
◆ isConditionTypeValid()
| bool ConditionMgr::isConditionTypeValid |
( |
Condition * |
cond | ) |
const |
◆ IsObjectMeetingNotGroupedConditions() [1/2]
◆ IsObjectMeetingNotGroupedConditions() [2/2]
◆ IsObjectMeetingSmartEventConditions()
◆ IsObjectMeetingSpellClickConditions()
◆ IsObjectMeetingVehicleSpellConditions()
| bool ConditionMgr::IsObjectMeetingVehicleSpellConditions |
( |
uint32 |
creatureId, |
|
|
uint32 |
spellId, |
|
|
Player * |
player, |
|
|
Unit * |
vehicle |
|
) |
| const |
◆ IsObjectMeetingVendorItemConditions()
| bool ConditionMgr::IsObjectMeetingVendorItemConditions |
( |
uint32 |
creatureId, |
|
|
uint32 |
itemId, |
|
|
Player * |
player, |
|
|
Creature * |
vendor |
|
) |
| const |
◆ IsObjectMeetToConditionList()
Find ElseGroup in ElseGroupStore
If not found, add an entry in the store and set to true (placeholder)
If another condition in this group was unmatched before this, don't bother checking (the group is false anyway)
Definition at line 856 of file ConditionMgr.cpp.
◆ IsObjectMeetToConditions() [1/3]
◆ IsObjectMeetToConditions() [2/3]
◆ IsObjectMeetToConditions() [3/3]
◆ isSourceTypeValid()
| bool ConditionMgr::isSourceTypeValid |
( |
Condition * |
cond | ) |
const |
|
private |
◆ IsSpellUsedInSpellClickConditions()
| bool ConditionMgr::IsSpellUsedInSpellClickConditions |
( |
uint32 |
spellId | ) |
const |
◆ LoadConditions()
| void ConditionMgr::LoadConditions |
( |
bool |
isReload = false | ) |
|
◆ LogUselessConditionValue() [1/2]
| void ConditionMgr::LogUselessConditionValue |
( |
Condition const * |
cond, |
|
|
uint8 |
index, |
|
|
std::string_view |
value |
|
) |
| |
|
staticprivate |
◆ LogUselessConditionValue() [2/2]
◆ AllocatedMemoryStore
| std::vector<Condition*> ConditionMgr::AllocatedMemoryStore |
|
private |
◆ ConditionReferenceStore
◆ ConditionStore
◆ NpcVendorConditionContainerStore
◆ SmartEventConditionStore
◆ SpellClickEventConditionStore
◆ SpellsUsedInSpellClickConditions
| std::unordered_set<uint32> ConditionMgr::SpellsUsedInSpellClickConditions |
|
private |
◆ StaticConditionTypeData
◆ StaticSourceTypeData
| char const *const ConditionMgr::StaticSourceTypeData |
|
static |
Initial value:=
{
"None",
"Creature Loot",
"Disenchant Loot",
"Fishing Loot",
"GameObject Loot",
"Item Loot",
"Mail Loot",
"Milling Loot",
"Pickpocketing Loot",
"Prospecting Loot",
"Reference Loot",
"Skinning Loot",
"Spell Loot",
"Spell Impl. Target",
"Gossip Menu",
"Gossip Menu Option",
"Creature Vehicle",
"Spell Expl. Target",
"Spell Click Event",
"Quest Accept",
"Quest Show Mark",
"Vehicle Spell",
"SmartScript",
"Npc Vendor",
"Spell Proc",
"Terrain Swap",
"Phase"
}
Definition at line 37 of file ConditionMgr.h.
◆ VehicleSpellConditionStore
The documentation for this class was generated from the following files: