|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "Common.h"#include "DBCEnums.h"#include "Define.h"#include "Path.h"#include "Util.h"#include <map>#include <set>#include <unordered_map>#include <vector>Go to the source code of this file.
Macros | |
| #define | GT_MAX_LEVEL 100 |
| #define | GT_MAX_RATING 32 |
| #define | MAX_CREATURE_SPELL_DATA_SLOT 4 |
| #define | MAX_EFFECT_MASK 0xFFFFFFFF |
| #define | MAX_FACTION_RELATIONS 4 |
| #define | MAX_GROUP_AREA_IDS 6 |
| #define | MAX_HOLIDAY_DATES 26 |
| #define | MAX_HOLIDAY_DURATIONS 10 |
| #define | MAX_HOLIDAY_FLAGS 10 |
| #define | MAX_ITEM_ENCHANTMENT_EFFECTS 3 |
| #define | MAX_ITEM_SET_SPELLS 8 |
| #define | MAX_LOCK_CASE 8 |
| #define | MAX_MOUNT_CAPABILITIES 24 |
| #define | MAX_OUTFIT_ITEMS 24 |
| #define | MAX_OVERRIDE_SPELL 10 |
| #define | MAX_PET_TALENT_RANK 1 |
| #define | MAX_SHAPESHIFT_SPELLS 8 |
| #define | MAX_SPELL_EFFECTS 32 |
| #define | MAX_SPELL_TOTEMS 2 |
| #define | MAX_TALENT_RANK 1 |
| #define | MAX_TALENT_TABS 4 |
| #define | MAX_VEHICLE_SEATS 8 |
| #define | MAX_WORLD_MAP_OVERLAY_AREA_IDX 4 |
| #define | TaxiMaskSize 162 |
Typedefs | |
| typedef UNORDERED_MAP< uint32, uint32 > | ClassBySkillIdStore |
| typedef std::map< uint32, VectorArray > | NameGenVectorArraysMap |
| typedef std::set< uint32 > | PetFamilySpellsSet |
| typedef std::map< uint32, PetFamilySpellsSet > | PetFamilySpellsStore |
| typedef std::unordered_map< uint32, std::set< uint32 > > | PhaseGroupContainer |
| typedef std::set< uint32 > | SpellCategorySet |
| typedef std::map< uint32, SpellCategorySet > | SpellCategoryStore |
| typedef UNORDERED_MAP< uint32, uint32 > | SpellEffectScallingByEffectId |
| typedef UNORDERED_MAP< uint32, std::list< SkillLineAbilityEntry const * > > | SpellsPerClassStore |
| typedef std::map< uint32, TalentSpellPos > | TalentSpellPosMap |
| typedef uint8 | TaxiMask[TaxiMaskSize] |
| typedef Path< TaxiPathNodePtr, TaxiPathNodeEntry const > | TaxiPathNodeList |
| typedef std::vector< TaxiPathNodeList > | TaxiPathNodesByPath |
| typedef std::map< uint32, TaxiPathSetForSource > | TaxiPathSetBySource |
| typedef std::map< uint32, TaxiPathBySourceAndDestination > | TaxiPathSetForSource |
| #define GT_MAX_LEVEL 100 |
Definition at line 1584 of file DBCStructure.h.
Referenced by Quest::CalculateHonorGain(), Player::GetBarberShopCost(), Player::GetDodgeFromAgility(), Player::GetMeleeCritFromAgility(), ObjectMgr::GetPlayerClassLevelInfo(), Player::GetRatingMultiplier(), Player::GetSpellCritFromIntellect(), and Player::OCTRegenMPPerSpirit().
| #define GT_MAX_RATING 32 |
Definition at line 1586 of file DBCStructure.h.
Referenced by Player::GetRatingMultiplier().
| #define MAX_CREATURE_SPELL_DATA_SLOT 4 |
Definition at line 991 of file DBCStructure.h.
Referenced by Pet::InitLevelupSpellsForLevel(), SpellMgr::LoadPetDefaultSpells(), LoadPetDefaultSpells_helper(), and SpellMgr::Skyfire::Singleton< SpellMgr, Skyfire::NullMutex >.
| #define MAX_EFFECT_MASK 0xFFFFFFFF |
Definition at line 2585 of file DBCStructure.h.
Referenced by Unit::AddAura(), Aura::Create(), Spell::EffectPersistentAA(), misc_commandscript::HandleAuraCommand(), misc_commandscript::HandleFreezeCommand(), Unit::HandleSpellClick(), ConditionMgr::isSourceTypeValid(), Aura::TryCreate(), Aura::TryRefreshStackOrCreate(), and boss_kelidan_the_breaker::boss_kelidan_the_breakerAI::UpdateAI().
| #define MAX_FACTION_RELATIONS 4 |
Definition at line 1489 of file DBCStructure.h.
Referenced by FactionTemplateEntry::IsFriendlyTo(), FactionTemplateEntry::IsHostileTo(), and FactionTemplateEntry::IsNeutralToAll().
| #define MAX_GROUP_AREA_IDS 6 |
Definition at line 688 of file DBCStructure.h.
Referenced by SpellInfo::CheckLocation().
| #define MAX_HOLIDAY_DATES 26 |
Definition at line 1693 of file DBCStructure.h.
| #define MAX_HOLIDAY_DURATIONS 10 |
Definition at line 1692 of file DBCStructure.h.
| #define MAX_HOLIDAY_FLAGS 10 |
Definition at line 1694 of file DBCStructure.h.
| #define MAX_ITEM_ENCHANTMENT_EFFECTS 3 |
Definition at line 1849 of file DBCStructure.h.
Referenced by Player::ApplyEnchantment(), AuraEffect::CalculateAmount(), Player::CastItemCombatSpell(), Player::CastItemUseSpell(), Spell::CheckItems(), Item::ClearEnchantment(), Spell::EffectEnchantItemPrismatic(), Item::GetReforgableStat(), and SpellMgr::LoadSpellInfoCustomAttributes().
| #define MAX_ITEM_SET_SPELLS 8 |
Definition at line 1870 of file DBCStructure.h.
Referenced by AddItemsSetItem(), RemoveItemsSetItem(), and Player::UpdateEquipSpellsAtFormChange().
| #define MAX_LOCK_CASE 8 |
Definition at line 1943 of file DBCStructure.h.
Referenced by Spell::CanOpenLock(), and go_celestial_planetarium_access::go_celestial_planetarium_accessAI::GossipHello().
| #define MAX_MOUNT_CAPABILITIES 24 |
Definition at line 2048 of file DBCStructure.h.
Referenced by Unit::GetMountCapability().
| #define MAX_OUTFIT_ITEMS 24 |
Definition at line 796 of file DBCStructure.h.
Referenced by Player::Create(), ObjectMgr::LoadItemTemplates(), and ObjectMgr::PlayerCreateInfoAddItemHelper().
| #define MAX_OVERRIDE_SPELL 10 |
Definition at line 2072 of file DBCStructure.h.
Referenced by AuraEffect::HandleAuraOverrideSpells().
| #define MAX_PET_TALENT_RANK 1 |
Definition at line 2717 of file DBCStructure.h.
| #define MAX_SHAPESHIFT_SPELLS 8 |
Definition at line 2654 of file DBCStructure.h.
Referenced by AuraEffect::HandleAuraModShapeshift().
| #define MAX_SPELL_EFFECTS 32 |
Definition at line 2584 of file DBCStructure.h.
Referenced by Unit::_ApplyAura(), Spell::_handle_immediate_phase(), Aura::_InitEffects(), AuraApplication::_InitFlags(), SpellInfo::_InitializeExplicitTargetMask(), SpellInfo::_IsPositiveEffect(), SpellInfo::_IsPositiveSpell(), Pet::_SaveAuras(), Player::_SaveAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::_UnapplyAura(), SpellInfo::_UnloadImplicitTargetConditionLists(), Unit::AddAura(), Spell::AddGOTarget(), Spell::AddItemTarget(), ObjectMgr::AddSpellToTrainer(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), AuraEffect::ApplySpellMod(), Aura::BuildEffectMaskForOwner(), Unit::BuildValuesUpdate(), ThreatCalcHelper::calcThreat(), Spell::CanAutoCast(), Spell::CanExecuteTriggersOnHit(), Aura::CanStackWith(), GameObject::CastSpell(), Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::CheckItems(), SpellInfo::CheckLocation(), SpellInfo::CheckVehicle(), AuraApplication::ClientUpdate(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), Spell::DoAllEffectOnTarget(), Spell::DoAllEffectOnTarget(), Spell::DoSpellHitOnUnit(), _SpellScript::EffectHook::EffectHook(), Spell::EffectWeaponDmg(), Spell::ExecuteLogEffectCreateItem(), Spell::ExecuteLogEffectDestroyItem(), Spell::ExecuteLogEffectDurabilityDamage(), Spell::ExecuteLogEffectExtraAttacks(), Spell::ExecuteLogEffectOpenLock(), Spell::ExecuteLogEffectResurrect(), Spell::ExecuteLogEffectSummonObject(), Spell::ExecuteLogEffectTakeTargetPower(), Spell::ExecuteLogEffectUnsummonObject(), UnitAI::FillAISpellInfo(), ScriptMgr::FillSpellSummary(), DynObjAura::FillTargetMap(), UnitAura::FillTargetMap(), _SpellScript::EffectHook::GetAffectedEffectsMask(), SpellInfo::GetAllEffectsMechanicMask(), SpellInfo::GetAuraRankForLevel(), SpellInfo::GetAuraState(), Unit::GetCastingTimeForBonus(), GetDiminishingReturnsGroupForSpell(), Aura::GetEffect(), Aura::GetEffectMask(), SpellInfo::GetMaxTicks(), Unit::GetMechanicResistChance(), SpellInfo::GetSpellMechanicMaskByEffectMask(), SpellInfo::GetSpellSpecific(), Player::GetTrainerSpellState(), Aura::HandleAllEffects(), AuraEffect::HandleAuraMounted(), Unit::HandleAuraProc(), Spell::HandleLaunchPhase(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), WorldSession::HandlePetActionHelper(), Unit::HandleSpellClick(), SpellInfo::HasAnyEffectMechanic(), SpellInfo::HasAreaAuraEffect(), SpellInfo::HasAura(), Unit::HasAuraWithMechanic(), AuraApplication::HasEffect(), SpellInfo::HasEffect(), Aura::HasEffectType(), SpellInfo::IsAffectingArea(), Aura::IsArea(), Unit::IsDamageReducedByArmor(), Creature::IsImmunedToSpell(), Unit::IsImmunedToSpell(), SpellInfo::IsPrimaryProfession(), SpellInfo::IsProfession(), SpellInfo::IsProfessionOrRiding(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), SpellInfo::IsStackableWithRanks(), SpellInfo::IsTargetingArea(), Player::learnQuestRewardedSpells(), SpellMgr::LoadEnchantCustomAttr(), ObjectMgr::LoadEventScripts(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadPetDefaultSpells(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSkills(), SpellMgr::LoadSpellLearnSpells(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Aura::ModStackAmount(), SpellInfo::NeedsToBeTriggeredByCaster(), Spell::prepare(), Unit::ProcDamageAndSpellFor(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), Aura::RecalculateAmountOfEffects(), Aura::RefreshTimers(), Unit::RemoveAura(), Unit::RemoveAurasDueToSpellBySteal(), Player::removeSpell(), Player::RemoveTalent(), Player::ResetTalents(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectSpellTargets(), Player::SendAurasForTarget(), Spell::SendCastResult(), WorldSession::SendTrainerList(), Aura::SetLoadedState(), Unit::SetMinion(), Aura::SetStackAmount(), Spell::Spell(), SpellEffectArray::SpellEffectArray(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), SpellInfo::SpellInfo(), SpellValue::SpellValue(), Aura::TriggerProcOnEvent(), Spell::UpdateChanneledTargetList(), Aura::UpdateOwner(), Spell::UpdatePointers(), Aura::UpdateTargetMap(), and Aura::~Aura().
| #define MAX_SPELL_TOTEMS 2 |
Definition at line 2540 of file DBCStructure.h.
| #define MAX_TALENT_RANK 1 |
Definition at line 2716 of file DBCStructure.h.
Referenced by TransportMgr::LoadDBCStores.
| #define MAX_TALENT_TABS 4 |
Definition at line 2718 of file DBCStructure.h.
Referenced by CharacterBooster::_SetSpecialization(), and WorldSession::HandeSetTalentSpecialization().
| #define MAX_VEHICLE_SEATS 8 |
Definition at line 2823 of file DBCStructure.h.
Referenced by Vehicle::Vehicle().
| #define MAX_WORLD_MAP_OVERLAY_AREA_IDX 4 |
Definition at line 2957 of file DBCStructure.h.
Referenced by AchievementMgr< T >::RequirementsSatisfied().
| #define TaxiMaskSize 162 |
Definition at line 3086 of file DBCStructure.h.
Referenced by PlayerTaxi::AppendTaximaskTo(), PlayerTaxi::InitTaxiNodesForClass(), PlayerTaxi::LoadTaxiMask(), PlayerTaxi::operator<<, and WorldSession::SendTaxiMenu().
| typedef UNORDERED_MAP<uint32, uint32> ClassBySkillIdStore |
Definition at line 2602 of file DBCStructure.h.
| typedef std::map<uint32, VectorArray> NameGenVectorArraysMap |
Definition at line 3037 of file DBCStructure.h.
| typedef std::set<uint32> PetFamilySpellsSet |
Definition at line 2599 of file DBCStructure.h.
| typedef std::map<uint32, PetFamilySpellsSet > PetFamilySpellsStore |
Definition at line 2600 of file DBCStructure.h.
| typedef std::unordered_map<uint32, std::set<uint32> > PhaseGroupContainer |
Definition at line 3030 of file DBCStructure.h.
| typedef std::set<uint32> SpellCategorySet |
Definition at line 2355 of file DBCStructure.h.
| typedef std::map<uint32, SpellCategorySet > SpellCategoryStore |
Definition at line 2356 of file DBCStructure.h.
Definition at line 2603 of file DBCStructure.h.
| typedef UNORDERED_MAP<uint32, std::list<SkillLineAbilityEntry const*> > SpellsPerClassStore |
Definition at line 2601 of file DBCStructure.h.
| typedef std::map<uint32, TalentSpellPos> TalentSpellPosMap |
Definition at line 3062 of file DBCStructure.h.
| typedef uint8 TaxiMask[TaxiMaskSize] |
Definition at line 3087 of file DBCStructure.h.
| typedef Path<TaxiPathNodePtr, TaxiPathNodeEntry const> TaxiPathNodeList |
Definition at line 3083 of file DBCStructure.h.
| typedef std::vector<TaxiPathNodeList> TaxiPathNodesByPath |
Definition at line 3084 of file DBCStructure.h.
| typedef std::map<uint32, TaxiPathSetForSource> TaxiPathSetBySource |
Definition at line 3073 of file DBCStructure.h.
| typedef std::map<uint32, TaxiPathBySourceAndDestination> TaxiPathSetForSource |
Definition at line 3072 of file DBCStructure.h.