|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "Common.h"#include "GridReference.h"#include "Map.h"#include "MapObjectCellMoveState.h"#include "ObjectDefines.h"#include "UpdateMask.h"#include <set>#include <sstream>#include <string>Go to the source code of this file.
Classes | |
| class | FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE > |
| class | GridObject< T > |
| class | MapObject |
| struct | MovementInfo |
| struct | MovementInfo::JumpInfo |
| struct | MovementInfo::TransportInfo |
| class | Object |
| struct | Position |
| struct | Position::PositionXYZOStreamer |
| struct | Position::PositionXYZStreamer |
| class | Skyfire::ObjectDistanceOrderPred |
| class | WorldLocation |
| class | WorldObject |
Namespaces | |
| namespace | Skyfire |
Macros | |
| #define | ATTACK_DISTANCE 5.0f |
| #define | CONTACT_DISTANCE 0.5f |
| #define | DEFAULT_COMBAT_REACH 1.5f |
| #define | DEFAULT_VISIBILITY_BGARENAS 533.0f |
| #define | DEFAULT_VISIBILITY_DISTANCE 90.0f |
| #define | DEFAULT_VISIBILITY_INSTANCE 170.0f |
| #define | DEFAULT_WORLD_OBJECT_SIZE 0.388999998569489f |
| #define | INTERACTION_DISTANCE 5.0f |
| #define | MAPID_INVALID 0xFFFFFFFF |
| #define | MAX_VISIBILITY_DISTANCE SIZE_OF_GRIDS |
| #define | MELEE_RANGE (NOMINAL_MELEE_RANGE - MIN_MELEE_REACH * 2) |
| #define | MIN_MELEE_REACH 2.0f |
| #define | NOMINAL_MELEE_RANGE 5.0f |
| #define | SIGHT_RANGE_UNIT 50.0f |
Typedefs | |
| typedef UNORDERED_MAP< Player *, UpdateData > | UpdateDataMapType |
Functions | |
| TypeID | GuidHigh2TypeId (uint32 guid_hi) |
| ByteBuffer & | operator<< (ByteBuffer &buf, Position::PositionXYZOStreamer const &streamer) |
| ByteBuffer & | operator<< (ByteBuffer &buf, Position::PositionXYZStreamer const &streamer) |
| ByteBuffer & | operator>> (ByteBuffer &buf, Position::PositionXYZOStreamer const &streamer) |
| ByteBuffer & | operator>> (ByteBuffer &buf, Position::PositionXYZStreamer const &streamer) |
| #define ATTACK_DISTANCE 5.0f |
Definition at line 22 of file Object.h.
Referenced by Creature::CanStartAttack(), Creature::SelectNearestTargetInAttackDistance(), Creature::SelectVictim(), boss_attumen::boss_attumenAI::UpdateAI(), boss_garaxxas::boss_garaxxasAI::UpdateAI(), boss_warlord_salaris::boss_warlord_salarisAI::UpdateAI(), and npc_yor::npc_yorAI::UpdateAI().
| #define CONTACT_DISTANCE 0.5f |
Definition at line 20 of file Object.h.
Referenced by Spell::CheckCast(), Spell::EffectJump(), Player::GetGameObjectIfCanInteractWith(), npc_commandscript::HandleNpcTameCommand(), World::LoadConfigSettings(), WorldObject::MovePositionToFirstCollision(), boss_selin_fireheart::boss_selin_fireheartAI::SelectNearestCrystal(), and GameObject::Use().
| #define DEFAULT_COMBAT_REACH 1.5f |
Definition at line 30 of file Object.h.
Referenced by Unit::GetRandomContactPoint(), ObjectMgr::LoadCreatureModelInfo(), and Player::SetObjectScale().
| #define DEFAULT_VISIBILITY_BGARENAS 533.0f |
Definition at line 27 of file Object.h.
Referenced by World::LoadConfigSettings().
| #define DEFAULT_VISIBILITY_DISTANCE 90.0f |
Definition at line 25 of file Object.h.
Referenced by World::LoadConfigSettings(), ObjectMgr::LoadScripts(), Map::Map(), and GameObject::Use().
| #define DEFAULT_VISIBILITY_INSTANCE 170.0f |
Definition at line 26 of file Object.h.
Referenced by WorldObject::GetGridActivationRange(), WorldObject::GetSightRange(), and World::LoadConfigSettings().
| #define DEFAULT_WORLD_OBJECT_SIZE 0.388999998569489f |
Definition at line 29 of file Object.h.
Referenced by Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectTransmitted(), WorldObject::GetObjectSize(), spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon(), Spell::SelectImplicitCasterDestTargets(), and Player::SetObjectScale().
| #define INTERACTION_DISTANCE 5.0f |
Definition at line 21 of file Object.h.
Referenced by Player::ActivateTaxiPathTo(), WorldSession::DoLootRelease(), Player::GetGameObjectIfCanInteractWith(), Player::GetNPCIfCanInteractWith(), Player::GetResearchDigsiteForFind(), WorldSession::HandleAutostoreLootItemOpcode(), WorldSession::HandleGameobjectReportUse(), WorldSession::HandleLootMoneyOpcode(), WorldSession::HandleRideVehicleInteract(), ObjectMgr::LoadScripts(), npc_a_special_surprise::npc_a_special_surpriseAI::MoveInLineOfSight(), npc_beryl_sorcerer::npc_beryl_sorcererAI::MoveInLineOfSight(), npc_nexus_drake_hatchling::npc_nexus_drake_hatchlingAI::MoveInLineOfSight(), npc_tooga::npc_toogaAI::MoveInLineOfSight(), go_large_gjalerbron_cage::OnGossipHello(), go_naga_brazier::OnGossipHello(), go_shrine_of_the_birds::OnGossipHello(), go_veil_skith_cage::OnGossipHello(), spell_love_is_in_the_air_romantic_picnic::spell_love_is_in_the_air_romantic_picnic_AuraScript::OnPeriodic(), Player::SendLoot(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::UpdateAI(), SmartAI::UpdateAI(), Player::UpdatePosition(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::WaypointReached(), and npc_muglash::npc_muglashAI::WaypointReached().
| #define MAPID_INVALID 0xFFFFFFFF |
Definition at line 531 of file Object.h.
Referenced by Spell::EffectTeleportUnits(), GridMap::getLiquidStatus(), Player::SetBattlegroundEntryPoint(), Player::TeleportToBGEntryPoint(), and WorldLocation::WorldLocation().
| #define MAX_VISIBILITY_DISTANCE SIZE_OF_GRIDS |
Definition at line 23 of file Object.h.
Referenced by WorldObject::GetSightRange(), WorldObject::GetVisibilityRange(), World::LoadConfigSettings(), Map::ProcessRelocationNotifies(), Creature::SelectNearestTarget(), and Creature::SelectNearestTargetInAttackDistance().
| #define MELEE_RANGE (NOMINAL_MELEE_RANGE - MIN_MELEE_REACH * 2) |
Definition at line 33 of file Object.h.
Referenced by ArcherAI::ArcherAI(), CasterAI::CasterAI(), and CasterAI::InitializeAI().
| #define MIN_MELEE_REACH 2.0f |
Definition at line 31 of file Object.h.
Referenced by Unit::GetMeleeReach(), and npc_agitated_earth_spirit::npc_agitated_earth_spiritAI::SpellHit().
| #define NOMINAL_MELEE_RANGE 5.0f |
Definition at line 32 of file Object.h.
Referenced by World::LoadConfigSettings(), boss_veklor::boss_veklorAI::UpdateAI(), boss_veknilash::boss_veknilashAI::UpdateAI(), generic_creature::generic_creatureAI::UpdateAI(), and guard_generic::guard_genericAI::UpdateAI().
| #define SIGHT_RANGE_UNIT 50.0f |
Definition at line 24 of file Object.h.
Referenced by WorldObject::GetSightRange().
| typedef UNORDERED_MAP<Player*, UpdateData> UpdateDataMapType |
| enum NotifyFlags |
| enum PhaseMasks |
|
strong |
|
strong |
| enum TypeMask |
Definition at line 44 of file Object.cpp.
References HIGHGUID_AREATRIGGER, HIGHGUID_CORPSE, HIGHGUID_DYNAMICOBJECT, HIGHGUID_GAMEOBJECT, HIGHGUID_ITEM, HIGHGUID_MO_TRANSPORT, HIGHGUID_PET, HIGHGUID_PLAYER, HIGHGUID_TRANSPORT, HIGHGUID_UNIT, HIGHGUID_VEHICLE, NUM_CLIENT_OBJECT_TYPES, TYPEID_AREATRIGGER, TYPEID_CORPSE, TYPEID_DYNAMICOBJECT, TYPEID_GAMEOBJECT, TYPEID_ITEM, TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by WorldSession::HandleBattlemasterHelloOpcode(), AuraEffect::HandleObsModPowerAuraTick(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicEnergizeAuraTick(), AuraEffect::HandlePeriodicHealAurasTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), and WorldSession::HandleQuestgiverStatusQueryOpcode().
| ByteBuffer & operator<< | ( | ByteBuffer & | buf, |
| Position::PositionXYZOStreamer const & | streamer ) |
Definition at line 1471 of file Object.cpp.
References Position::GetPosition(), and Position::PositionXYZOStreamer::m_pos.
| ByteBuffer & operator<< | ( | ByteBuffer & | buf, |
| Position::PositionXYZStreamer const & | streamer ) |
Definition at line 1455 of file Object.cpp.
References Position::GetPosition(), and Position::PositionXYZStreamer::m_pos.
| ByteBuffer & operator>> | ( | ByteBuffer & | buf, |
| Position::PositionXYZOStreamer const & | streamer ) |
Definition at line 1448 of file Object.cpp.
References Position::PositionXYZOStreamer::m_pos, and Position::Relocate().
| ByteBuffer & operator>> | ( | ByteBuffer & | buf, |
| Position::PositionXYZStreamer const & | streamer ) |
Definition at line 1463 of file Object.cpp.
References Position::PositionXYZStreamer::m_pos, and Position::Relocate().