Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
TempSummon Class Reference

#include <TemporarySummon.h>

Inheritance diagram for TempSummon:
Collaboration diagram for TempSummon:

Public Member Functions

UnitGetSummoner () const
CreatureGetSummonerCreatureBase () const
uint64 GetSummonerGUID () const
TempSummonType const & GetSummonType () const
uint32 GetTimer () const
virtual void InitStats (uint32 lifetime)
virtual void InitSummon ()
void RemoveFromWorld () OVERRIDE
void SaveToDB (uint32, uint32) OVERRIDE
void SetTempSummonType (TempSummonType type)
 TempSummon (SummonPropertiesEntry const *properties, Unit *owner, bool isWorldObject)
virtual void UnSummon (uint32 msTime=0)
void Update (uint32 time) OVERRIDE
virtual ~TempSummon ()
Public Member Functions inherited from Creature
void _AddCreatureCategoryCooldown (uint32 category, time_t apply_time)
void _AddCreatureSpellCooldown (uint32 spell_id, time_t end_time)
bool _IsTargetAcceptable (const Unit *target) const
void AddCreatureSpellCooldown (uint32 spellid)
void AddLootMode (uint16 lootMode)
void AddToWorld () OVERRIDE
CreatureAIAI () const
bool AIM_Initialize (CreatureAI *ai=NULL)
void AllLootRemovedFromCorpse ()
void CallAssistance ()
void CallForHelp (float fRadius)
bool CanAssistTo (const Unit *u, const Unit *enemy, bool checkfaction=true) const
bool CanCreatureAttack (Unit const *victim, bool force=true) const
bool CanFly () const OVERRIDE
bool CanStartAttack (Unit const *u, bool force) const
bool CanSwim () const
bool CanWalk () const
bool Create (uint32 guidlow, Map *map, uint32 EntryEntry, uint32 vehId, uint32 team, float x, float y, float z, float ang, const CreatureData *data=NULL)
 Creature (bool isWorldObject=false)
virtual void DeleteFromDB ()
void DespawnOrUnsummon (uint32 msTimeToDespawn=0)
void DisappearAndDie ()
void DoFleeToGetAssistance ()
void FarTeleportTo (Map *map, float X, float Y, float Z, float O)
void FocusTarget (Spell const *focusSpell, WorldObject const *target)
float GetAggroRange (Unit const *target) const
std::string GetAIName () const
float GetAttackDistance (Unit const *player) const
uint32 GetCorpseDelay () const
CreatureAddon const * GetCreatureAddon () const
CreatureData const * GetCreatureData () const
uint32 GetCreatureSpellCooldownDelay (uint32 spellId) const
CreatureTemplate const * GetCreatureTemplate () const
uint8 GetCurrentEquipmentId () const
uint32 GetCurrentWaypointID () const
uint32 GetDBTableGUIDLow () const
MovementGeneratorType GetDefaultMovementType () const
CreatureGroupGetFormation ()
const PositionGetHomePosition () const
void GetHomePosition (float &x, float &y, float &z, float &ori) const
uint8 getLevelForTarget (WorldObject const *target) const OVERRIDE
uint16 GetLootMode () const
PlayerGetLootRecipient () const
GroupGetLootRecipientGroup () const
SpellSchoolMask GetMeleeDamageSchoolMask () const OVERRIDE
std::string const & GetNameForLocaleIdx (LocaleConstant locale_idx) const OVERRIDE
uint32 GetOriginalEntry () const
int8 GetOriginalEquipmentId () const
virtual uint32 GetPetAutoSpellOnPos (uint8 pos) const
virtual uint8 GetPetAutoSpellSize () const
ReactStates GetReactState () const
uint32 GetRespawnDelay () const
void GetRespawnPosition (float &x, float &y, float &z, float *ori=NULL, float *dist=NULL) const
float GetRespawnRadius () const
time_t const & GetRespawnTime () const
time_t GetRespawnTimeEx () const
uint32 GetScriptId () const
std::string GetScriptName () const
float GetSpellDamageMod (int32 Rank) const
TrainerSpellData const * GetTrainerSpells () const
const PositionGetTransportHomePosition ()
void GetTransportHomePosition (float &x, float &y, float &z, float &ori)
uint32 GetVendorItemCurrentCount (VendorItem const *vItem)
VendorItemData const * GetVendorItems () const
uint32 GetWaypointPath () const
bool HasCategoryCooldown (uint32 spell_id) const
bool hasInvolvedQuest (uint32 quest_id) const OVERRIDE
bool HasLootMode (uint16 lootMode) const
bool hasLootRecipient () const
bool hasQuest (uint32 quest_id) const OVERRIDE
bool HasReactState (ReactStates state) const
bool HasSearchedAssistance () const
bool HasSpell (uint32 spellID) const OVERRIDE
bool HasSpellCooldown (uint32 spell_id) const
void InitializeReactState ()
bool isCanInteractWithBattleMaster (Player *player, bool msg) const
bool isCanTrainingAndResetTalentsOf (Player *player) const
bool IsCivilian () const
bool IsDamageEnoughForLootingAndReward () const
bool IsDungeonBoss () const
bool isElite () const
bool IsGuard () const
bool IsImmunedToSpell (SpellInfo const *spellInfo) const OVERRIDE
bool IsImmunedToSpellEffect (SpellInfo const *spellInfo, uint32 index) const OVERRIDE
bool IsInEvadeMode () const
bool IsRacialLeader () const
bool isRegeneratingHealth () const
bool IsReputationGainDisabled () const
bool isTappedBy (Player const *player) const
bool IsTrigger () const
bool isWorldBoss () const
bool LoadCreatureFromDB (uint32 guid, Map *map, bool addToMap=true)
bool LoadCreaturesAddon (bool reload=false)
void LoadEquipment (int8 id=1, bool force=false)
bool LoadFromDB (uint32 guid, Map *map)
void LoadPath (uint32 pathid)
void LowerPlayerDamageReq (uint32 unDamage)
void Motion_Initialize ()
virtual void ProhibitSpellSchool (SpellSchoolMask idSchoolMask, uint32 unTimeMs) OVERRIDE
SpellInfo const * reachWithSpellAttack (Unit *victim)
SpellInfo const * reachWithSpellCure (Unit *victim)
void ReleaseFocus (Spell const *focusSpell)
void RemoveCorpse (bool setSpawnTime=true)
void RemoveLootMode (uint16 lootMode)
void ResetLootMode ()
void ResetPlayerDamageReq ()
void Respawn (bool force=false)
void SaveRespawnTime () OVERRIDE
void SaveToDB ()
void SearchFormation ()
void SelectLevel (const CreatureTemplate *cinfo)
UnitSelectNearestHostileUnitInAggroRange (bool useLOS=false) const
PlayerSelectNearestPlayer (float distance=0) const
UnitSelectNearestTarget (float dist=0, bool playerOnly=false) const
UnitSelectNearestTargetInAttackDistance (float dist=0) const
UnitSelectVictim ()
void SendAIReaction (AiReaction reactionType)
void SendZoneUnderAttackMessage (Player *attacker)
 Send a message to LocalDefense channel for players opposition team in the zone.
void SetCorpseDelay (uint32 delay)
void SetCurrentEquipmentId (uint8 id)
void setDeathState (DeathState s) OVERRIDE
void SetDefaultMovementType (MovementGeneratorType mgt)
void SetDisableReputationGain (bool disable)
void SetDisplayId (uint32 modelId) OVERRIDE
void SetFlying (bool enable)
void SetFormation (CreatureGroup *formation)
void SetHomePosition (const Position &pos)
void SetHomePosition (float x, float y, float z, float o)
void SetInCombatWithZone ()
void SetLootMode (uint16 lootMode)
void SetLootRecipient (Unit *unit)
void SetMeleeDamageSchool (SpellSchools school)
void SetNoCallAssistance (bool val)
void SetNoSearchAssistance (bool val)
void SetObjectScale (float scale) OVERRIDE
void SetOriginalEntry (uint32 entry)
void SetPosition (const Position &pos)
void SetPosition (float x, float y, float z, float o)
void SetReactState (ReactStates st)
void setRegeneratingHealth (bool regenHealth)
void SetRespawnDelay (uint32 delay)
void SetRespawnRadius (float dist)
void SetRespawnTime (uint32 respawn)
void SetTarget (uint64 guid) OVERRIDE
void SetTransportHomePosition (const Position &pos)
void SetTransportHomePosition (float x, float y, float z, float o)
bool UpdateAllStats () OVERRIDE
void UpdateArmor () OVERRIDE
void UpdateAttackPowerAndDamage (bool ranged=false) OVERRIDE
void UpdateDamagePhysical (WeaponAttackType attType) OVERRIDE
bool UpdateEntry (uint32 entry, uint32 team=ALLIANCE, const CreatureData *data=NULL)
void UpdateMaxHealth () OVERRIDE
void UpdateMaxPower (Powers power) OVERRIDE
void UpdateMovementFlags ()
void UpdateResistances (uint32 school) OVERRIDE
bool UpdateStats (Stats stat) OVERRIDE
uint32 UpdateVendorItemCurrentCount (VendorItem const *vItem, uint32 used_count)
void UpdateWaypointID (uint32 wpID)
virtual ~Creature ()
Public Member Functions inherited from Unit
void _addAttacker (Unit *pAttacker)
void _AddAura (UnitAura *aura, Unit *caster)
void _ApplyAllAuraStatMods ()
void _ApplyAura (AuraApplication *aurApp, uint32 effMask)
void _ApplyAuraEffect (Aura *aura, uint8 effIndex)
AuraApplication_CreateAuraApplication (Aura *aura, uint32 effMask)
void _EnterVehicle (Vehicle *vehicle, int8 seatId, AuraApplication const *aurApp=NULL)
void _ExitVehicle (Position const *exitPosition=NULL)
bool _IsValidAssistTarget (Unit const *target, SpellInfo const *bySpell) const
bool _IsValidAttackTarget (Unit const *target, SpellInfo const *bySpell, WorldObject const *obj=NULL) const
void _RegisterAuraEffect (AuraEffect *aurEff, bool apply)
void _RegisterDynObject (DynamicObject *dynObj)
void _RemoveAllAuraStatMods ()
void _removeAttacker (Unit *pAttacker)
void _RemoveNoStackAurasDueToAura (Aura *aura)
Aura_TryStackingOrRefreshingExistingAura (SpellInfo const *newAura, uint32 effMask, Unit *caster, int32 *baseAmount=NULL, Item *castItem=NULL, uint64 casterGUID=0)
void _UnapplyAura (AuraApplication *aurApp, AuraRemoveMode removeMode)
void _UnapplyAura (AuraApplicationMap::iterator &i, AuraRemoveMode removeMode)
void _UnregisterDynObject (DynamicObject *dynObj)
AuraAddAura (SpellInfo const *spellInfo, uint32 effMask, Unit *target)
AuraAddAura (uint32 spellId, Unit *target)
void AddComboPointHolder (uint32 lowguid)
void AddExtraUnitMovementFlag (uint16 f)
void addFollower (FollowerReference *pRef)
void AddGameObject (GameObject *gameObj)
void addHatedBy (HostileReference *pHostileReference)
void AddInterruptMask (uint32 mask)
void AddPetAura (PetAura const *petSpell)
void AddPlayerToVision (Player *player)
void AddThreat (Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=NULL)
void AddToWorld () override
void AddUnitMovementFlag (uint32 f)
void AddUnitState (uint32 f)
void AddUnitTypeMask (uint32 mask)
void ApplyAttackTimePercentMod (WeaponAttackType att, float val, bool apply)
void ApplyCastTimePercentMod (float val, bool apply)
void ApplyDiminishingAura (DiminishingGroup group, bool apply)
float ApplyDiminishingToDuration (DiminishingGroup group, int32 &duration, Unit *caster, DiminishingLevels Level, int32 limitduration)
float ApplyEffectModifiers (SpellInfo const *spellProto, uint8 effect_index, float value) const
void ApplyResilience (Unit const *victim, int32 *damage, bool isCrit) const
void ApplyResistanceBuffModsMod (SpellSchools school, bool positive, float val, bool apply)
void ApplyResistanceBuffModsPercentMod (SpellSchools school, bool positive, float val, bool apply)
void ApplySpellDispelImmunity (const SpellInfo *spellProto, DispelType type, bool apply)
void ApplySpellImmune (uint32 spellId, uint32 op, uint32 type, bool apply)
void ApplyStatBuffMod (Stats stat, float val, bool apply)
void ApplyStatPercentBuffMod (Stats stat, float val, bool apply)
float ApplyTotalThreatModifier (float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL)
bool Attack (Unit *victim, bool meleeAttack)
void AttackerStateUpdate (Unit *victim, WeaponAttackType attType=WeaponAttackType::BASE_ATTACK, bool extra=false)
bool AttackStop ()
uint32 BuildAuraStateUpdateForTarget (Unit *target) const
void CalcAbsorbResist (Unit *victim, SpellSchoolMask schoolMask, DamageEffectType damagetype, uint32 const damage, uint32 *absorb, uint32 *resist, SpellInfo const *spellInfo=NULL)
uint32 CalcArmorReducedDamage (Unit *victim, const uint32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=WeaponAttackType::MAX_ATTACK)
void CalcHealAbsorb (Unit *victim, SpellInfo const *spellInfo, uint32 &healAmount, uint32 &absorb)
int32 CalcSpellDuration (SpellInfo const *spellProto)
uint32 CalcSpellResistance (Unit *victim, SpellSchoolMask schoolMask, SpellInfo const *spellInfo) const
uint32 CalculateDamage (WeaponAttackType attType, bool normalized, bool addTotalPct)
float CalculateDefaultCoefficient (SpellInfo const *spellInfo, DamageEffectType damagetype) const
float CalculateLevelPenalty (SpellInfo const *spellProto) const
void CalculateMeleeDamage (Unit *victim, uint32 damage, CalcDamageInfo *damageInfo, WeaponAttackType attackType=WeaponAttackType::BASE_ATTACK)
int32 CalculateSpellDamage (Unit const *target, SpellInfo const *spellProto, uint8 effect_index, int32 const *basePoints=NULL) const
void CalculateSpellDamageTaken (SpellNonMeleeDamage *damageInfo, int32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=WeaponAttackType::BASE_ATTACK, bool crit=false)
bool CanDualWield () const
bool CanFreeMove () const
bool CanHaveThreatList () const
bool CanModifyStats () const
bool CanProc () const
bool CanUseAttackType (WeaponAttackType attacktype) const
void CastCustomSpell (uint32 spellId, CustomSpellValues const &value, Unit *victim=NULL, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastCustomSpell (uint32 spellId, SpellValueMod mod, int32 value, Unit *victim, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastCustomSpell (uint32 spellId, SpellValueMod mod, int32 value, Unit *victim=NULL, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastCustomSpell (Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (float x, float y, float z, uint32 spellId, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (GameObject *go, uint32 spellId, bool triggered, Item *castItem=NULL, AuraEffect *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (Unit *victim, SpellInfo const *spellInfo, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (Unit *victim, SpellInfo const *spellInfo, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (Unit *victim, uint32 spellId, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastSpell (Unit *victim, uint32 spellId, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastStop (uint32 except_spellid=0)
void ChangeSeat (int8 seatId, bool next=true)
void CleanupBeforeRemoveFromMap (bool finalCleanup)
void CleanupsBeforeDelete (bool finalCleanup=true) override
void ClearAllReactives ()
void ClearComboPointHolders ()
void ClearDiminishings ()
void ClearInCombat ()
void ClearPhases (bool update=false)
void ClearUnitState (uint32 f)
void CombatStart (Unit *target, bool initialAggro=true)
void CombatStop (bool includingCast=false)
void CombatStopWithPets (bool includingCast=false)
uint32 CountPctFromCurHealth (int32 pct) const
uint32 CountPctFromMaxHealth (int32 pct) const
int32 CountPctFromMaxPower (Powers power, int32 pct) const
PetCreateTamedPetFrom (Creature *creatureTarget, uint32 spell_id=0)
PetCreateTamedPetFrom (uint32 creatureEntry, uint32 spell_id=0)
bool CreateVehicleKit (uint32 id, uint32 creatureEntry, bool loading=false)
uint32 DealDamage (Unit *victim, uint32 damage, CleanDamage const *cleanDamage=NULL, DamageEffectType damagetype=DIRECT_DAMAGE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *spellProto=NULL, bool durabilityLoss=true)
void DealDamageMods (Unit *victim, uint32 &damage, uint32 *absorb)
int32 DealHeal (Unit *victim, uint32 addhealth)
void DealMeleeDamage (CalcDamageInfo *damageInfo, bool durabilityLoss)
void DealSpellDamage (SpellNonMeleeDamage *damageInfo, bool durabilityLoss)
void DelayOwnedAuras (uint32 spellId, uint64 caster, int32 delaytime)
void DeleteCharmInfo ()
void DeleteThreatList ()
void DeMorph ()
void Dismount ()
void EnergizeBySpell (Unit *victim, uint32 SpellID, int32 Damage, Powers powertype)
void EnterVehicle (Unit *base, int8 seatId=-1)
void ExitVehicle (Position const *exitPosition=NULL)
SpellFindCurrentSpellBySpellId (uint32 spell_id) const
void FinishSpell (CurrentSpellTypes spellType, bool ok=true)
PlayerGetAffectingPlayer () const
UnitAIGetAI ()
void GetAllMinionsByEntry (std::list< Creature * > &Minions, uint32 entry)
float GetAPMultiplier (WeaponAttackType attType, bool normalized)
AuraApplicationMapGetAppliedAuras ()
AuraApplicationMap const & GetAppliedAuras () const
uint32 GetArmor () const
void GetAttackableUnitListInRange (std::list< Unit * > &list, float fMaxSearchRange) const
UnitgetAttackerForHelper () const
AttackerSet const & getAttackers () const
uint32 GetAttackTime (WeaponAttackType att) const
uint32 getAttackTimer (WeaponAttackType type) const
AuraGetAura (uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0) const
AuraApplicationGetAuraApplication (uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0, AuraApplication *except=NULL) const
AuraApplicationGetAuraApplicationOfRankedSpell (uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0, AuraApplication *except=NULL) const
uint32 GetAuraCount (uint32 spellId) const
AuraEffectGetAuraEffect (AuraType type, SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, uint64 casterGUID=0) const
AuraEffectGetAuraEffect (AuraType type, SpellFamilyNames name, uint32 iconId, uint8 effIndex) const
AuraEffectGetAuraEffect (uint32 spellId, uint8 effIndex, uint64 casterGUID=0) const
AuraEffectGetAuraEffectOfRankedSpell (uint32 spellId, uint8 effIndex, uint64 casterGUID=0) const
AuraEffectList const & GetAuraEffectsByType (AuraType type) const
AuraGetAuraOfRankedSpell (uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0) const
virtual uint32 GetBlockPercent () const
uint32 GetCastingTimeForBonus (SpellInfo const *spellProto, DamageEffectType damagetype, uint32 CastingTime) const
UnitGetCharm () const
UnitGetCharmer () const
uint64 GetCharmerGUID () const
UnitGetCharmerOrOwner () const
uint64 GetCharmerOrOwnerGUID () const
uint64 GetCharmerOrOwnerOrOwnGUID () const
UnitGetCharmerOrOwnerOrSelf () const
PlayerGetCharmerOrOwnerPlayerOrPlayerItself () const
uint64 GetCharmGUID () const
CharmInfoGetCharmInfo ()
uint8 getClass () const
uint32 getClassMask () const
float GetCombatReach () const
uint32 GetCombatTimer () const
uint32 GetCreateHealth () const
uint32 GetCreateMana () const
int32 GetCreatePowers (Powers power) const
float GetCreateStat (Stats stat) const
uint64 GetCreatorGUID () const
uint32 GetCreatureType () const
uint32 GetCreatureTypeMask () const
uint32 GetCritDamageReduction (uint32 damage) const
uint64 GetCritterGUID () const
SpellGetCurrentSpell (CurrentSpellTypes spellType) const
SpellGetCurrentSpell (uint32 spellType) const
int32 GetCurrentSpellCastTime (uint32 spell_id) const
uint32 GetDamageReduction (uint32 damage) const
DeathState getDeathState () const
DiminishingLevels GetDiminishing (DiminishingGroup group)
TransportBaseGetDirectTransport () const
 Returns the transport this unit is on directly (if on vehicle and transport, return vehicle).
uint32 GetDiseasesByCaster (uint64 casterGUID, bool remove=false)
void GetDispellableAuraList (Unit *caster, uint32 dispelMask, DispelChargesList &dispelList)
uint32 GetDisplayId () const
uint32 GetDoTsByCaster (uint64 casterGUID) const
AuraEffectGetDummyAuraEffect (SpellFamilyNames name, uint32 iconId, uint8 effIndex) const
DynamicObjectGetDynObject (uint32 spellId)
uint16 GetExtraUnitMovementFlags () const
uint32 getFaction () const
FactionTemplateEntry const * GetFactionTemplateEntry () const
UnitGetFirstControlled () const
MinionGetFirstMinion () const
virtual float GetFollowAngle () const
GameObjectGetGameObject (uint32 spellId) const
uint8 getGender () const
GuardianGetGuardianPet () const
uint32 GetHealth () const
int32 GetHealthGain (int32 dVal)
float GetHealthPct () const
HostileRefManagergetHostileRefManager ()
uint32 GetInterruptMask () const
time_t GetLastDamagedTime () const
uint8 getLevel () const
uint8 getLevelForTarget (WorldObject const *) const override
UnitGetMagicHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo)
uint32 GetMaxHealth () const
int32 GetMaxNegativeAuraModifier (AuraType auratype) const
int32 GetMaxNegativeAuraModifierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const
int32 GetMaxNegativeAuraModifierByMiscMask (AuraType auratype, uint32 misc_mask) const
int32 GetMaxNegativeAuraModifierByMiscValue (AuraType auratype, int32 misc_value) const
int32 GetMaxPositiveAuraModifier (AuraType auratype) const
int32 GetMaxPositiveAuraModifierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const
int32 GetMaxPositiveAuraModifierByMiscMask (AuraType auratype, uint32 misc_mask, const AuraEffect *except=NULL) const
int32 GetMaxPositiveAuraModifierByMiscValue (AuraType auratype, int32 misc_value) const
int32 GetMaxPower (Powers power) const
uint16 GetMaxSkillValueForLevel (Unit const *target=NULL) const
uint32 GetMechanicImmunityMask () const
int32 GetMechanicResistChance (SpellInfo const *spellInfo) const
UnitGetMeleeHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo=NULL)
float GetMeleeReach () const
uint64 GetMinionGUID () const
int32 GetMinPower (Powers power) const
uint32 GetModelForForm (ShapeshiftForm form) const
uint32 GetModelForTotem (uint32 totemType) const
float GetModifierValue (UnitMods unitMod, UnitModifierType modifierType) const
MotionMasterGetMotionMaster ()
const MotionMasterGetMotionMaster () const
MountCapabilityEntry const * GetMountCapability (uint32 mountType) const
uint32 GetMountID () const
uint32 GetMovementCounter () const
uint32 GetNativeDisplayId () const
float GetNegStat (Stats stat) const
UnitGetNextRandomRaidMemberOrPet (float radius)
AuraGetOwnedAura (uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0, Aura *except=NULL) const
AuraMapGetOwnedAuras ()
AuraMap const & GetOwnedAuras () const
UnitGetOwner () const
uint64 GetOwnerGUID () const
void GetPartyMembers (std::list< Unit * > &units)
uint64 GetPetGUID () const
float GetPositionZMinusOffset () const
float GetPosStat (Stats stat) const
int32 GetPower (Powers power) const
uint32 GetPowerIndex (uint32 powerType) const
Powers getPowerType () const
Powers GetPowerTypeByAuraGroup (UnitMods unitMod) const
float GetPPMProcChance (uint32 WeaponSpeed, float PPM, const SpellInfo *spellProto) const
void GetProcAurasTriggeredOnEvent (AuraApplicationList &aurasTriggeringProc, AuraApplicationList *procAuras, ProcEventInfo eventInfo)
uint8 getRace () const
uint32 getRaceMask () const
void GetRandomContactPoint (const Unit *target, float &x, float &y, float &z, float distance2dMin, float distance2dMax) const
ReputationRank GetReactionTo (Unit const *target) const
uint32 GetRedirectThreatPercent () const
UnitGetRedirectThreatTarget ()
uint32 GetRemainingPeriodicAmount (uint64 caster, uint32 spellId, AuraType auraType, uint8 effectIndex=0) const
uint32 GetResistance (SpellSchoolMask mask) const
uint32 GetResistance (SpellSchools school) const
float GetResistanceBuffMods (SpellSchools school, bool positive) const
uint32 GetSchoolImmunityMask () const
ShapeshiftForm GetShapeshiftForm () const
SharedVisionList const & GetSharedVisionList ()
SheathState GetSheath () const
AuraListGetSingleCastAuras ()
AuraList const & GetSingleCastAuras () const
float GetSpeed (UnitMoveType mtype) const
float GetSpeedRate (UnitMoveType mtype) const
float GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
float GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
PlayerGetSpellModOwner () const
SpellSchools GetSpellSchoolByAuraGroup (UnitMods unitMod) const
uint8 getStandState () const
float GetStat (Stats stat) const
Stats GetStatByAuraGroup (UnitMods unitMod) const
uint64 GetTarget () const
ThreatManagergetThreatManager ()
float GetTotalAttackPowerValue (WeaponAttackType attType) const
int32 GetTotalAuraModifier (AuraType auratype) const
int32 GetTotalAuraModifierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const
int32 GetTotalAuraModifierByMiscMask (AuraType auratype, uint32 misc_mask) const
int32 GetTotalAuraModifierByMiscValue (AuraType auratype, int32 misc_value) const
float GetTotalAuraModValue (UnitMods unitMod) const
float GetTotalAuraMultiplier (AuraType auratype) const
float GetTotalAuraMultiplierByAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const
float GetTotalAuraMultiplierByMiscMask (AuraType auratype, uint32 misc_mask) const
float GetTotalAuraMultiplierByMiscValue (AuraType auratype, int32 misc_value) const
float GetTotalStatValue (Stats stat) const
uint32 getTransForm () const
uint64 GetTransGUID () const override
float GetUnitBlockChance () const
float GetUnitCriticalChance (WeaponAttackType attackType, const Unit *victim) const
float GetUnitDodgeChance () const
uint32 GetUnitMeleeSkill (Unit const *target=NULL) const
float GetUnitMissChance (WeaponAttackType attType) const
uint32 GetUnitMovementFlags () const
float GetUnitParryChance () const
VehicleGetVehicle () const
UnitGetVehicleBase () const
CreatureGetVehicleCreatureBase () const
VehicleGetVehicleKit () const
UnitGetVictim () const
uint32 getVirtualRealm () const
AuraApplicationGetVisibleAura (uint8 slot) const
VisibleAuraMap const * GetVisibleAuras ()
float GetWeaponDamageRange (WeaponAttackType attType, WeaponDamageRange type) const
float GetWeaponProcChance () const
void HandleEmoteCommand (uint32 anim_id)
void HandleProcExtraAttackFor (Unit *victim)
bool HandleSpellClick (Unit *clicker, int8 seatId=-1)
bool HandleStatModifier (UnitMods unitMod, UnitModifierType modifierType, float amount, bool apply)
bool HasAura (uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0) const
bool HasAuraEffect (uint32 spellId, uint8 effIndex, uint64 caster=0) const
bool HasAuraState (AuraStateType flag, SpellInfo const *spellProto=NULL, Unit const *Caster=NULL) const
bool HasAuraType (AuraType auraType) const
bool HasAuraTypeWithAffectMask (AuraType auratype, SpellInfo const *affectedSpell) const
bool HasAuraTypeWithCaster (AuraType auratype, uint64 caster) const
bool HasAuraTypeWithFamilyFlags (AuraType auraType, uint32 familyName, uint32 familyFlags) const
bool HasAuraTypeWithMiscvalue (AuraType auratype, int32 miscvalue) const
bool HasAuraTypeWithValue (AuraType auratype, int32 value) const
bool HasAuraWithMechanic (uint32 mechanicMask) const
bool HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const
bool HasBreakableByDamageCrowdControlAura (Unit *excludeCasterChannel=NULL) const
uint16 HasExtraUnitMovementFlag (uint16 f) const
bool HasInvisibilityAura () const
bool HasNegativeAuraWithAttribute (uint32 flag, uint64 guid=0) const
bool HasNegativeAuraWithInterruptFlag (uint32 flag, uint64 guid=0) const
bool HasSharedVision () const
bool HasStealthAura () const
bool HasUnitMovementFlag (uint32 f) const
bool HasUnitState (const uint32 f) const
uint32 HasUnitTypeMask (uint32 mask) const
bool HasVisionObscured (Unit const *target) const
bool haveOffhandWeapon () const
int32 HealBySpell (Unit *victim, SpellInfo const *spellInfo, uint32 addHealth, bool critical=false)
bool HealthAbovePct (int32 pct) const
bool HealthAbovePctHealed (int32 pct, uint32 heal) const
bool HealthBelowPct (int32 pct) const
bool HealthBelowPctDamaged (int32 pct, uint32 damage) const
void IncrDiminishing (DiminishingGroup group)
CharmInfoInitCharmInfo ()
void InitStatBuffMods ()
bool InitTamedPet (Pet *pet, uint8 level, uint32 spell_id) const
void InterruptNonMeleeSpells (bool withDelayed, uint32 spellid=0, bool withInstant=true)
void InterruptSpell (CurrentSpellTypes spellType, bool withDelayed=true, bool withInstant=true)
bool IsAlive () const
bool IsArmorer () const
bool isAttackingPlayer () const
bool isAttackReady (WeaponAttackType type=WeaponAttackType::BASE_ATTACK) const
bool IsAuctioner () const
bool IsBanker () const
bool IsBattleMaster () const
virtual bool isBeingLoaded () const
bool isBlockCritical ()
bool IsBMAuctioner () const
bool IsCharmed () const
bool IsCharmedOwnedByPlayerOrPlayer () const
bool IsContestedGuard () const
bool IsControlledByPlayer () const
bool isDead () const
bool IsDuringRemoveFromWorld () const
bool isDying () const
bool IsFalling () const
bool isFeared () const
bool IsFlying () const
bool IsFriendlyTo (Unit const *unit) const
bool isFrozen () const
bool IsFullHealth () const
bool IsGossip () const
bool IsGuardian () const
bool IsGuildMaster () const
bool IsHostileTo (Unit const *unit) const
bool IsHostileToPlayers () const
bool IsHunterPet () const
bool IsImmunedToDamage (SpellInfo const *spellInfo) const
bool IsImmunedToDamage (SpellSchoolMask meleeSchoolMask) const
bool isInAccessiblePlaceFor (Creature const *c) const
bool isInBackInMap (Unit const *target, float distance, float arc=M_PI) const
bool IsInCombat () const
bool IsInDisallowedMountForm () const
bool IsInFeralForm () const
bool IsInFlight () const
bool isInFrontInMap (Unit const *target, float distance, float arc=M_PI) const
bool IsInnkeeper () const
bool IsInPartyWith (Unit const *unit) const
bool IsInRaidWith (Unit const *unit) const
bool isInRoots () const
virtual bool IsInWater () const
bool IsLevitating () const
bool IsMounted () const
bool isMoving () const
bool IsNeutralToAll () const
bool IsNonMeleeSpellCasted (bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const
bool IsOnVehicle (const Unit *vehicle) const
bool IsPet () const
bool IsPolymorphed () const
bool isPossessed () const
bool isPossessedByPlayer () const
bool isPossessing () const
bool isPossessing (Unit *u) const
bool IsPvP () const
bool IsQuestGiver () const
AuraEffectIsScriptOverriden (SpellInfo const *spell, int32 script) const
bool IsServiceProvider () const
bool IsSitState () const
bool isSpellBlocked (Unit *victim, SpellInfo const *spellProto, WeaponAttackType attackType=WeaponAttackType::BASE_ATTACK)
bool isSpellCrit (Unit *victim, SpellInfo const *spellProto, SpellSchoolMask schoolMask, WeaponAttackType attackType=WeaponAttackType::BASE_ATTACK) const
bool IsSpiritGuide () const
bool IsSpiritHealer () const
bool IsSpiritService () const
bool IsSplineEnabled () const
bool IsStandState () const
bool IsStopped () const
bool IsSummon () const
bool IsTabardDesigner () const
bool isTargetableForAttack (bool checkFakeDeath=true) const
bool IsTaxi () const
bool IsTotem () const
bool IsTrainer () const
bool isTurning () const
virtual bool IsUnderWater () const
bool IsValidAssistTarget (Unit const *target) const
bool IsValidAttackTarget (Unit const *target) const
bool IsVehicle () const
bool IsVendor () const
bool IsVisible () const
bool IsWalking () const
bool IsWithinCombatRange (const Unit *obj, float dist2compare) const
bool IsWithinMeleeRange (const Unit *obj, float dist=MELEE_RANGE) const
void JumpTo (float speedXY, float speedZ, bool forward=true)
void JumpTo (WorldObject *obj, float speedZ)
void Kill (Unit *victim, bool durabilityLoss=true)
void KnockbackFrom (float x, float y, float speedXY, float speedZ)
SpellMissInfo MagicSpellHitResult (Unit *victim, SpellInfo const *spellInfo)
uint32 MeleeDamageBonusDone (Unit *pVictim, uint32 damage, WeaponAttackType attType, SpellInfo const *spellProto=NULL)
uint32 MeleeDamageBonusTaken (Unit *attacker, uint32 pdamage, WeaponAttackType attType, SpellInfo const *spellProto=NULL)
SpellMissInfo MeleeSpellHitResult (Unit *victim, SpellInfo const *spellInfo)
float MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, uint32 spellId) const
void ModifyAuraState (AuraStateType flag, bool apply)
int32 ModifyHealth (int32 val)
int32 ModifyPower (Powers power, int32 val)
int32 ModifyPowerPct (Powers power, float pct, bool apply=true)
void ModifyRedirectThreat (int32 amount)
void ModSpellCastTime (SpellInfo const *spellProto, int32 &castTime, Spell *spell=NULL)
int32 ModSpellDuration (SpellInfo const *spellProto, Unit const *target, int32 duration, bool positive, uint32 effectMask)
void MonsterMoveWithSpeed (float x, float y, float z, float speed, bool generatePath=false, bool forceDestination=false)
void Mount (uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0)
void NearTeleportTo (float x, float y, float z, float orientation, bool casting=false)
void OutDebugInfo () const
void PlayOneShotAnimKit (uint32 id)
void ProcDamageAndSpell (Unit *victim, uint32 procAttacker, uint32 procVictim, uint32 procEx, uint32 amount, WeaponAttackType attType=WeaponAttackType::BASE_ATTACK, SpellInfo const *procSpell=NULL, SpellInfo const *procAura=NULL)
void ProcDamageAndSpellFor (bool isVictim, Unit *target, uint32 procFlag, uint32 procExtra, WeaponAttackType attType, SpellInfo const *procSpell, uint32 damage, SpellInfo const *procAura=NULL)
void propagateSpeedChange ()
 -------—End of Pet responses methods-------—
void RemoveAllAttackers ()
void RemoveAllAuras ()
void RemoveAllAurasExceptType (AuraType type)
void RemoveAllAurasExceptType (AuraType type1, AuraType type2)
void RemoveAllAurasOnDeath ()
void RemoveAllAurasRequiringDeadTarget ()
void RemoveAllControlled ()
void RemoveAllDynObjects ()
void RemoveAllGameObjects ()
void RemoveAllMinionsByEntry (uint32 entry)
void RemoveAreaAurasDueToLeaveWorld ()
void RemoveArenaAuras ()
void RemoveAura (Aura *aur, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
void RemoveAura (AuraApplication *aurApp, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
void RemoveAura (AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
void RemoveAura (uint32 spellId, uint64 casterGUID=0, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemoveAuraFromStack (uint32 spellId, uint64 casterGUID=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemoveAurasByType (AuraType auraType, uint64 casterGUID=0, Aura *except=NULL, bool negative=true, bool positive=true)
void RemoveAurasDueToItemSpell (uint32 spellId, uint64 castItemGuid)
void RemoveAurasDueToSpell (uint32 spellId, uint64 casterGUID=0, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemoveAurasDueToSpellByDispel (uint32 spellId, uint32 dispellerSpellId, uint64 casterGUID, Unit *dispeller, uint8 chargesRemoved=1)
void RemoveAurasDueToSpellBySteal (uint32 spellId, uint64 casterGUID, Unit *stealer)
void RemoveAurasWithAttribute (uint32 flags)
void RemoveAurasWithFamily (SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, uint64 casterGUID)
void RemoveAurasWithInterruptFlags (uint32 flag, uint32 except=0)
void RemoveAurasWithMechanic (uint32 mechanic_mask, AuraRemoveMode removemode=AURA_REMOVE_BY_DEFAULT, uint32 except=0)
void RemoveBindSightAuras ()
void RemoveCharmAuras ()
void RemoveCharmedBy (Unit *charmer)
void RemoveComboPointHolder (uint32 lowguid)
void RemoveDynObject (uint32 spellId)
void RemoveExtraUnitMovementFlag (uint16 f)
void removeFollower (FollowerReference *)
void RemoveFromWorld () override
void RemoveGameObject (GameObject *gameObj, bool del)
void RemoveGameObject (uint32 spellid, bool del)
void removeHatedBy (HostileReference *)
void RemoveMovementImpairingAuras ()
void RemoveNotOwnSingleTargetAuras (uint32 newPhase=0, bool phaseid=false)
void RemoveOwnedAura (Aura *aura, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemoveOwnedAura (AuraMap::iterator &i, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemoveOwnedAura (uint32 spellId, uint64 casterGUID=0, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemovePetAura (PetAura const *petSpell)
void RemovePlayerFromVision (Player *player)
void RemoveStandFlags (uint8 flags)
void RemoveUnitMovementFlag (uint32 f)
void RemoveVehicleKit (bool remove=false)
void RemoveVisibleAura (uint8 slot)
void resetAttackTimer (WeaponAttackType type=WeaponAttackType::BASE_ATTACK)
void ResetRedirectThreat ()
void RestoreDisplayId ()
void RestoreFaction ()
void RewardRage (uint32 baseRage, bool attacker)
MeleeHitOutcome RollMeleeOutcomeAgainst (const Unit *victim, WeaponAttackType attType) const
MeleeHitOutcome RollMeleeOutcomeAgainst (const Unit *victim, WeaponAttackType attType, int32 crit_chance, int32 miss_chance, int32 dodge_chance, int32 parry_chance, int32 block_chance) const
UnitSelectNearbyTarget (Unit *exclude=NULL, float dist=NOMINAL_MELEE_RANGE) const
void SendAttackStateUpdate (CalcDamageInfo *damageInfo)
void SendAttackStateUpdate (uint32 HitInfoHitInfo, Unit *target, uint8 SwingType, SpellSchoolMask damageSchoolMask, uint32 Damage, uint32 AbsorbDamage, uint32 Resist, VictimState TargetState, uint32 BlockedAmount)
void SendChangeCurrentVictimOpcode (HostileReference *pHostileReference)
void SendClearTarget ()
void SendClearThreatListOpcode (ObjectGuid UnitGUID)
void SendDurabilityLoss (Player *receiver, uint32 percent)
void SendEnergizeSpellLog (Unit *victim, uint32 spellID, int32 damage, Powers powertype)
void SendHealSpellLog (ObjectGuid CasterGUID, ObjectGuid TargetGUID, uint32 SpellID, uint32 Damage, uint32 OverHeal, uint32 Absorb, bool critical=false)
void SendMeleeAttackStart (Unit *victim)
void SendMeleeAttackStop (Unit *victim=NULL)
void SendMoveKnockBack (Player *player, float speedXY, float speedZ, float vcos, float vsin)
void SendPeriodicAuraLog (SpellPeriodicAuraLogInfo *pInfo)
void SendPetActionFeedback (uint8 msg) const
 -------—Pet responses methods--------------—
void SendPetAIReaction (ObjectGuid UnitGUID) const
void SendPetTalk (uint32 pettalk) const
void SendPlaySpellVisual (uint32 SpellVisualId, float x, float y, float z, float orientation, uint8 SpeedTime, uint16 MissReason, uint16 ReflectStatus)
void SendPlaySpellVisualKit (uint32 SpellVisualId, uint32 Duration, int32 Type)
void SendRemoveFromThreatListOpcode (HostileReference *pHostileReference)
void SendSetVehicleRecId (uint32 vehicleId)
void SendSpellDamageImmune (Unit *target, uint32 spellId)
void SendSpellDamageResist (Unit *target, uint32 spellId)
void SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo)
void SendSpellNonMeleeDamageLog (SpellNonMeleeDamage *log)
void SendSpellNonMeleeDamageLog (Unit *target, uint32 SpellID, uint32 Damage, SpellSchoolMask damageSchoolMask, uint32 AbsorbedDamage, uint32 Resist, bool PhysicalDamage, uint32 Blocked, bool CriticalHit=false)
void SendTeleportPacket (Position &pos)
void SendThreatListUpdate ()
void SetAI (UnitAI *newAI)
void SetAnimTier (AnimTier tier)
void SetArmor (int32 val)
void SetAttackTime (WeaponAttackType att, uint32 val)
void setAttackTimer (WeaponAttackType type, uint32 time)
void SetAuraStack (uint32 spellId, Unit *target, uint32 stack)
void SetAutoattackOverrideRange (uint32 range)
void SetAutoattackOverrideSpell (SpellInfo const *spellInfo)
void SetBaseWeaponDamage (WeaponAttackType attType, WeaponDamageRange damageRange, float value)
void SetCanDualWield (bool value)
bool SetCanFly (bool enable)
void SetCanModifyStats (bool modifyStats)
void SetCantProc (bool apply)
void SetCharm (Unit *target, bool apply)
bool SetCharmedBy (Unit *charmer, CharmType type, AuraApplication const *aurApp=NULL)
void SetCharmerGUID (uint64 owner)
void SetClass (uint8 newClass)
void SetContestedPvP (Player *attackedPlayer=NULL)
void SetControlled (bool apply, UnitState state)
void SetCreateHealth (uint32 val)
void SetCreateMana (uint32 val)
void SetCreateStat (Stats stat, float val)
void SetCreatorGUID (uint64 creator)
void SetCritterGUID (uint64 guid)
void SetCurrentCastedSpell (Spell *pSpell)
bool SetDisableGravity (bool disable, bool packetOnly=false)
void SetExtraUnitMovementFlags (uint16 f)
void SetFacingTo (float ori)
void SetFacingToObject (WorldObject *object)
void setFaction (uint32 faction)
bool SetFall (bool enable)
bool SetFeatherFall (bool enable, bool packetOnly=false)
void SetFieldPowerType (uint32 powerType)
void SetFullHealth ()
void SetGender (uint8 gender)
void SetHealth (uint32 val)
bool SetHover (bool enable, bool packetOnly=false)
void SetInCombatState (bool PvP, Unit *enemy=NULL)
void SetInCombatWith (Unit *enemy)
void SetInFront (WorldObject const *target)
void SetLastDamagedTime (time_t val)
void SetLevel (uint8 lvl)
void SetMaxHealth (uint32 val)
void SetMaxPower (Powers power, int32 val)
void SetMinion (Minion *minion, bool apply)
void SetMinionGUID (uint64 guid)
void SetModifierValue (UnitMods unitMod, UnitModifierType modifierType, float value)
void SetNativeDisplayId (uint32 modelId)
void SetOwnerGUID (uint64 owner)
void SetPetGUID (uint64 guid)
bool SetPhased (uint32 id, bool update, bool apply) OVERRIDE
void SetPhaseMask (uint32 newPhaseMask, bool update) override
void SetPower (Powers power, int32 val)
void setPowerType (Powers power)
void SetPvP (bool state)
void SetRace (uint8 race)
void SetRedirectThreat (uint64 guid, uint32 pct)
void SetResistance (SpellSchools school, int32 val)
void SetResistanceBuffMods (SpellSchools school, bool positive, float val)
void SetShapeshiftForm (ShapeshiftForm form)
virtual void SetSheath (SheathState sheathed)
void SetSpeed (UnitMoveType mtype, float rate, bool forced=false)
void SetStandFlags (uint8 flags)
void SetStandState (uint8 state)
void SetStat (Stats stat, int32 val)
bool SetSwim (bool enable)
void setTransForm (uint32 spellid)
void SetUnitMovementFlags (uint32 f)
void SetVehicle (Vehicle *vehicle)
void SetVisible (bool x)
void SetVisibleAura (uint8 slot, AuraApplication *aur)
bool SetWalk (bool enable)
bool SetWaterWalking (bool enable, bool packetOnly=false)
int32 SpellBaseDamageBonusDone (SpellSchoolMask schoolMask) const
int32 SpellBaseDamageBonusTaken (SpellSchoolMask schoolMask) const
int32 SpellBaseHealingBonusDone (SpellSchoolMask schoolMask) const
int32 SpellBaseHealingBonusTaken (SpellSchoolMask schoolMask) const
uint32 SpellCriticalDamageBonus (SpellInfo const *spellProto, uint32 damage, Unit *victim)
uint32 SpellCriticalHealingBonus (SpellInfo const *spellProto, uint32 damage, Unit *victim)
uint32 SpellDamageBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack=1) const
uint32 SpellDamageBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack=1) const
uint32 SpellHealingBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, uint32 stack=1) const
uint32 SpellHealingBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, uint32 stack=1) const
SpellMissInfo SpellHitResult (Unit *victim, SpellInfo const *spellInfo, bool canReflect=false)
uint32 SpellNonMeleeDamageLog (Unit *victim, uint32 spellID, uint32 damage)
void StartReactiveTimer (ReactiveType reactive)
void StopAttackFaction (uint32 faction_id)
void StopMoving ()
 -------—End of Pet responses methods-------—
void TauntApply (Unit *victim)
void TauntFadeOut (Unit *taunter)
PetToPet ()
Pet const * ToPet () const
TempSummonToTempSummon ()
TempSummon const * ToTempSummon () const
TotemToTotem ()
Totem const * ToTotem () const
void TrackGameObject (GameObject *gameObj)
void TriggerAurasProcOnEvent (AuraApplicationList *myProcAuras, AuraApplicationList *targetProcAuras, Unit *actionTarget, uint32 typeMaskActor, uint32 typeMaskActionTarget, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)
void TriggerAurasProcOnEvent (CalcDamageInfo &damageInfo)
void TriggerAurasProcOnEvent (ProcEventInfo &eventInfo, AuraApplicationList &procAuras)
void UnsummonAllTotems ()
void Update (uint32 time) OVERRIDE
void UpdateAuraForGroup (uint8 slot)
void UpdateCharmAI ()
void UpdateHeight (float newZ)
 Only server-side height update, does not broadcast to client.
void UpdateInterruptMask ()
void UpdateObjectVisibility (bool forced=true) override
void UpdateOrientation (float orientation)
 Only server-side orientation update, does not broadcast to client.
bool UpdatePosition (const Position &pos, bool teleport=false)
virtual bool UpdatePosition (float x, float y, float z, float ang, bool teleport=false)
void UpdateReactives (uint32 p_time)
void UpdateSpeed (UnitMoveType mtype, bool forced)
virtual void UpdateUnderwaterState (Map *m, float x, float y, float z)
void WriteMovementInfo (WorldPacket &data, Movement::ExtraMovementStatusElement *extras=NULL)
virtual ~Unit ()
Public Member Functions inherited from WorldObject
void _Create (uint32 guidlow, HighGuid guidhigh, uint32 phaseMask)
void AddObjectToRemoveList ()
void AddToNotify (uint16 f)
void BuildUpdate (UpdateDataMapType &)
bool CanSeeOrDetect (WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false) const
void ClearPhases (bool update=false)
void DestroyForNearbyPlayers ()
MapFindMap () const
CreatureFindNearestCreature (uint32 entry, float range, bool alive=true) const
GameObjectFindNearestGameObject (uint32 entry, float range) const
GameObjectFindNearestGameObjectOfType (GameobjectTypes type, float range) const
uint32 GetAreaId () const
Map const * GetBaseMap () const
void GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float angle=0) const
void GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const
void GetCreatureListWithEntryInGrid (std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
float GetDistance (float x, float y, float z) const
float GetDistance (Position const &pos) const
float GetDistance (WorldObject const *obj) const
float GetDistance2d (float x, float y) const
float GetDistance2d (WorldObject const *obj) const
bool GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) const
float GetDistanceZ (WorldObject const *obj) const
void GetFirstCollisionPosition (Position &pos, float dist, float angle)
void GetGameObjectListWithEntryInGrid (std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const
float GetGridActivationRange () const
uint32 GetInstanceId () const
InstanceScriptGetInstanceScript ()
MapGetMap () const
std::string const & GetName () const
void GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float searcher_size, float distance2d, float absAngle) const
void GetNearPoint2D (float &x, float &y, float distance, float absAngle) const
void GetNearPosition (Position &pos, float dist, float angle)
uint16 GetNotifyFlags () const
float GetObjectSize () const
uint32 GetPhaseMask () const
std::set< uint32 > const & GetPhases () const
void GetPlayerListInGrid (std::list< Player * > &lList, float fMaxSearchRange) const
void GetRandomNearPosition (Position &pos, float radius)
void GetRandomPoint (Position const &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const
void GetRandomPoint (Position const &srcPos, float distance, Position &pos) const
float GetSightRange (WorldObject const *target=NULL) const
virtual float GetStationaryO () const
virtual float GetStationaryX () const
virtual float GetStationaryY () const
virtual float GetStationaryZ () const
std::set< uint32 > const & GetTerrainSwaps () const
float GetTransOffsetO () const
float GetTransOffsetX () const
float GetTransOffsetY () const
float GetTransOffsetZ () const
TransportGetTransport () const
int8 GetTransSeat () const
uint32 GetTransTime () const
float GetVisibilityRange () const
std::set< uint32 > const & GetWorldMapSwaps () const
void GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const
uint32 GetZoneId () const
ZoneScriptGetZoneScript () const
bool HasPhaseList (uint32 phase)
bool InSamePhase (uint32 phasemask) const
bool InSamePhase (WorldObject const *obj) const
bool isActiveObject () const
bool isInBack (WorldObject const *target, float arc=M_PI) const
bool IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const
bool isInFront (WorldObject const *target, float arc=M_PI) const
bool IsInMap (WorldObject const *obj) const
bool IsInRange (WorldObject const *obj, float minRange, float maxRange, bool is3D=true) const
bool IsInRange2d (float x, float y, float minRange, float maxRange) const
bool IsInRange3d (float x, float y, float z, float minRange, float maxRange) const
bool isNeedNotify (uint16 f) const
bool IsPermanentWorldObject () const
bool IsPhased (uint32 phase) const
bool IsPhased (WorldObject const *obj) const
bool IsSelfOrInSameMap (WorldObject const *obj) const
bool IsTerrainSwaped (uint32 terrainSwap) const
bool IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true) const
bool IsWithinDist2d (float x, float y, float dist) const
bool IsWithinDist2d (Position const *pos, float dist) const
bool IsWithinDist3d (float x, float y, float z, float dist) const
bool IsWithinDist3d (Position const *pos, float dist) const
bool IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true) const
bool IsWithinLOS (float x, float y, float z) const
bool IsWithinLOSInMap (WorldObject const *obj) const
bool IsWorldObject () const
void MonsterSay (const char *text, Language language, WorldObject const *target)
void MonsterSay (int32 textId, Language language, WorldObject const *target)
void MonsterTextEmote (const char *text, WorldObject const *target, bool IsBossEmote=false)
void MonsterTextEmote (int32 textId, WorldObject const *target, bool IsBossEmote=false)
void MonsterWhisper (const char *text, Player const *target, bool IsBossWhisper=false)
void MonsterWhisper (int32 textId, Player const *target, bool IsBossWhisper=false)
void MonsterYell (const char *text, Language language, WorldObject const *target)
void MonsterYell (int32 textId, Language language, WorldObject const *target)
void MovePosition (Position &pos, float dist, float angle)
void MovePositionToFirstCollision (Position &pos, float dist, float angle)
bool NotifyExecuted (uint16 f) const
void PlayDirectSound (uint32 sound_id, Player *target=NULL)
void PlayDistanceSound (uint32 sound_id, Player *target)
void RebuildTerrainSwaps ()
void RebuildWorldMapAreaSwaps ()
void ResetAllNotifies ()
virtual void ResetMap ()
virtual void SendMessageToSet (WorldPacket *data, bool self)
virtual void SendMessageToSet (WorldPacket *data, Player const *skipped_rcvr)
virtual void SendMessageToSetInRange (WorldPacket *data, float dist, bool self)
void SendObjectDeSpawnAnim (uint64 guid)
void SendPlaySound (uint32 SoundSound, bool OnlySelf)
void setActive (bool isActiveObject)
virtual void SetMap (Map *map)
void SetName (std::string const &newname)
void SetNotified (uint16 f)
void SetTransport (Transport *t)
void SetWorldObject (bool apply)
void SetZoneScript ()
TempSummonSummonCreature (uint32 id, float x, float y, float z, float ang=0, TempSummonType spwtype=TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0) const
TempSummonSummonCreature (uint32 id, Position const &pos, TempSummonType spwtype=TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
void SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=NULL)
GameObjectSummonGameObject (uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime)
CreatureSummonTrigger (float x, float y, float z, float ang, uint32 dur, CreatureAI *(*GetAI)(Creature *)=NULL)
void UpdateAllowedPositionZ (float x, float y, float &z) const
void UpdateAreaPhase ()
void UpdateGroundPositionZ (float x, float y, float &z) const
template<class NOTIFIER>
void VisitNearbyGridObject (float const &radius, NOTIFIER &notifier) const
template<class NOTIFIER>
void VisitNearbyObject (float const &radius, NOTIFIER &notifier) const
template<class NOTIFIER>
void VisitNearbyWorldObject (float const &radius, NOTIFIER &notifier) const
virtual ~WorldObject ()
Public Member Functions inherited from Object
bool AddUInt64Value (uint16 index, uint64 value)
void ApplyModFlag (uint16 index, uint32 flag, bool apply)
void ApplyModFlag64 (uint16 index, uint64 flag, bool apply)
void ApplyModInt32Value (uint16 index, int32 val, bool apply)
void ApplyModPositiveFloatValue (uint16 index, float val, bool apply)
void ApplyModSignedFloatValue (uint16 index, float val, bool apply)
void ApplyModUInt32Value (uint16 index, int32 val, bool apply)
void ApplyPercentModFloatValue (uint16 index, float val, bool apply)
virtual void BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const
void BuildFieldsUpdate (Player *, UpdateDataMapType &) const
void BuildOutOfRangeUpdateBlock (UpdateData *data) const
void BuildValuesUpdateBlockForPlayer (UpdateData *data, Player *target) const
void ClearUpdateMask (bool remove)
virtual void DestroyForPlayer (Player *target, bool onDeath=false) const
void ForceValuesUpdateAtIndex (uint32)
uint8 GetByteValue (uint16 index, uint8 offset) const
uint32 GetDynamicUInt32Value (uint32 tab, uint16 index) const
uint32 GetEntry () const
float GetFloatValue (uint16 index) const
uint64 GetGUID () const
uint32 GetGUIDHigh () const
uint32 GetGUIDLow () const
uint32 GetGUIDMid () const
int32 GetInt32Value (uint16 index) const
ObjectGuid GetObjectGUID () const
float GetObjectScale () const
const ByteBufferGetPackGUID () const
TypeID GetTypeId () const
uint16 GetUInt16Value (uint16 index, uint8 offset) const
uint32 GetUInt32Value (uint16 index) const
uint64 GetUInt64Value (uint16 index) const
uint16 GetValuesCount () const
bool HasByteFlag (uint16 index, uint8 offset, uint8 flag) const
bool HasFlag (uint16 index, uint32 flag) const
bool HasFlag64 (uint16 index, uint64 flag) const
bool IsInWorld () const
bool isType (uint16 mask) const
void RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag)
void RemoveFieldNotifyFlag (uint16 flag)
void RemoveFlag (uint16 index, uint32 oldFlag)
void RemoveFlag64 (uint16 index, uint64 oldFlag)
bool RemoveUInt64Value (uint16 index, uint64 value)
void SendDestroyObject (Player *target, ObjectGuid Guid, bool onDeath=false) const
void SendUpdateToPlayer (Player *player)
void SetByteFlag (uint16 index, uint8 offset, uint8 newFlag)
void SetByteValue (uint16 index, uint8 offset, uint8 value)
void SetDynamicUInt32Value (uint32 tab, uint16 index, uint32 value)
void SetEntry (uint32 entry)
void SetFieldNotifyFlag (uint16 flag)
void SetFlag (uint16 index, uint32 newFlag)
void SetFlag64 (uint16 index, uint64 newFlag)
void SetFloatValue (uint16 index, float value)
void SetInt16Value (uint16 index, uint8 offset, int16 value)
void SetInt32Value (uint16 index, int32 value)
void SetStatFloatValue (uint16 index, float value)
void SetStatInt32Value (uint16 index, int32 value)
void SetUInt16Value (uint16 index, uint8 offset, uint16 value)
void SetUInt32Value (uint16 index, uint32 value)
void SetUInt64Value (uint16 index, uint64 value)
AreaTriggerToAreaTrigger ()
AreaTrigger const * ToAreaTrigger () const
CorpseToCorpse ()
Corpse const * ToCorpse () const
CreatureToCreature ()
Creature const * ToCreature () const
DynamicObjectToDynObject ()
DynamicObject const * ToDynObject () const
GameObjectToGameObject ()
GameObject const * ToGameObject () const
void ToggleByteFlag (uint16 index, uint8 offset, uint8 flag)
void ToggleFlag (uint16 index, uint32 flag)
void ToggleFlag64 (uint16 index, uint64 flag)
PlayerToPlayer ()
Player const * ToPlayer () const
UnitToUnit ()
Unit const * ToUnit () const
void UpdateUInt32Value (uint16 index, uint32 value)
virtual ~Object ()
Public Member Functions inherited from WorldLocation
uint32 GetMapId () const
 WorldLocation (const WorldLocation &loc)
 WorldLocation (uint32 _mapid=MAPID_INVALID, float _x=0, float _y=0, float _z=0, float _o=0)
void WorldRelocate (const WorldLocation &loc)
Public Member Functions inherited from Position
float GetAngle (float x, float y) const
float GetAngle (Position const *pos) const
float GetExactDist (float x, float y, float z) const
float GetExactDist (Position const *pos) const
float GetExactDist2d (const float x, const float y) const
float GetExactDist2d (Position const *pos) const
float GetExactDist2dSq (float x, float y) const
float GetExactDist2dSq (Position const *pos) const
float GetExactDistSq (float x, float y, float z) const
float GetExactDistSq (Position const *pos) const
float GetOrientation () const
void GetPosition (float &x, float &y) const
void GetPosition (float &x, float &y, float &z) const
void GetPosition (float &x, float &y, float &z, float &o) const
void GetPosition (Position *pos) const
void GetPositionOffsetTo (Position const &endPos, Position &retOffset) const
float GetPositionX () const
float GetPositionY () const
float GetPositionZ () const
float GetRelativeAngle (float x, float y) const
float GetRelativeAngle (Position const *pos) const
void GetSinCos (float x, float y, float &vsin, float &vcos) const
bool HasInArc (float arcangle, Position const *pos, float border=2.0f) const
bool HasInLine (WorldObject const *target, float width) const
bool IsInDist (float x, float y, float z, float dist) const
bool IsInDist (Position const *pos, float dist) const
bool IsInDist2d (float x, float y, float dist) const
bool IsInDist2d (Position const *pos, float dist) const
bool IsPositionValid () const
bool operator!= (Position const &a)
bool operator== (Position const &a)
Position::PositionXYZOStreamer PositionXYZOStream ()
Position::PositionXYZStreamer PositionXYZStream ()
void Relocate (float x, float y)
void Relocate (float x, float y, float z)
void Relocate (float x, float y, float z, float orientation)
void Relocate (Position const &pos)
void Relocate (Position const *pos)
void RelocateOffset (Position const &offset)
void SetOrientation (float orientation)
std::string ToString () const
Public Member Functions inherited from GridObject< Creature >
void AddToGrid (GridRefManager< Creature > &m)
bool IsInGrid () const
void RemoveFromGrid ()
virtual ~GridObject ()

Public Attributes

const SummonPropertiesEntry *const m_Properties
Public Attributes inherited from Creature
Loot loot
bool lootForBody
bool lootForPickPocketed
uint32 lootingGroupLowGUID
float m_CombatDistance
CreatureSpellCooldowns m_CreatureCategoryCooldowns
CreatureSpellCooldowns m_CreatureSpellCooldowns
uint32 m_groupLootTimer
bool m_isTempWorldObject
uint32 m_PlayerDamageReq
float m_SightDistance
uint32 m_spells [CREATURE_MAX_SPELLS]
Public Attributes inherited from Unit
bool IsAIEnabled
uint64 LastCharmerGUID
int32 m_baseSpellCritChance
bool m_canDualWield
ControlList m_Controlled
bool m_ControlledByPlayer
EventProcessor m_Events
uint32 m_extraAttacks
uint32 m_lastSanctuaryTime
float m_modAttackSpeedPct [3]
float m_modMeleeHitChance
float m_modRangedHitChance
float m_modSpellHitChance
Playerm_movedPlayer
uint64 m_ObjectSlot [MAX_GAMEOBJECT_SLOT]
PetAuraSet m_petAuras
SpellImmuneList m_spellImmune [MAX_SPELL_IMMUNITY]
uint64 m_SummonSlot [MAX_SUMMON_SLOT]
float m_threatModifier [MAX_SPELL_SCHOOL]
std::unique_ptr< Movement::MoveSplinemovespline
bool NeedChangeAI
Public Attributes inherited from WorldObject
uint32 LastUsedScriptID
FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPESm_invisibility
FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPESm_invisibilityDetect
MovementInfo m_movementInfo
FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPESm_serverSideVisibility
FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPESm_serverSideVisibilityDetect
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPESm_stealth
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPESm_stealthDetect
Public Attributes inherited from WorldLocation
uint32 m_mapId
Public Attributes inherited from Position
float m_orientation
float m_positionX
float m_positionY
float m_positionZ

Private Attributes

uint32 m_lifetime
uint64 m_summonerGUID
uint32 m_timer
TempSummonType m_type

Additional Inherited Members

Public Types inherited from Unit
typedef std::set< Unit * > AttackerSet
typedef std::list< AuraApplication * > AuraApplicationList
typedef std::multimap< uint32, AuraApplication * > AuraApplicationMap
typedef std::pair< AuraApplicationMap::const_iterator, AuraApplicationMap::const_iterator > AuraApplicationMapBounds
typedef std::pair< AuraApplicationMap::iterator, AuraApplicationMap::iterator > AuraApplicationMapBoundsNonConst
typedef std::list< AuraEffect * > AuraEffectList
typedef std::list< Aura * > AuraList
typedef std::multimap< uint32, Aura * > AuraMap
typedef std::pair< AuraMap::const_iterator, AuraMap::const_iterator > AuraMapBounds
typedef std::pair< AuraMap::iterator, AuraMap::iterator > AuraMapBoundsNonConst
typedef std::multimap< AuraStateType, AuraApplication * > AuraStateAurasMap
typedef std::pair< AuraStateAurasMap::const_iterator, AuraStateAurasMap::const_iterator > AuraStateAurasMapBounds
typedef std::set< uint32ComboPointHolderSet
typedef std::set< Unit * > ControlList
typedef std::list< DiminishingReturnDiminishing
typedef std::set< PetAura const * > PetAuraSet
typedef std::map< uint8, AuraApplication * > VisibleAuraMap
Static Public Member Functions inherited from Creature
static float _GetDamageMod (int32 Rank)
Static Public Member Functions inherited from Unit
static CreatureGetCreature (WorldObject &object, uint64 guid)
static ReputationRank GetFactionReactionTo (FactionTemplateEntry const *factionTemplateEntry, Unit const *target)
static PlayerGetPlayer (WorldObject &object, uint64 guid)
static UnitGetUnit (WorldObject &object, uint64 guid)
static bool IsDamageReducedByArmor (SpellSchoolMask damageSchoolMask, SpellInfo const *spellInfo=NULL, uint8 effIndex=MAX_SPELL_EFFECTS)
Static Public Member Functions inherited from Position
static float NormalizeOrientation (float o)
Protected Types inherited from Unit
typedef std::list< DynamicObject * > DynObjectList
typedef std::list< GameObject * > GameObjectList
Protected Member Functions inherited from Creature
bool CanAlwaysSee (WorldObject const *obj) const OVERRIDE
bool CreateFromProto (uint32 guidlow, uint32 EntryEntry, uint32 vehId, uint32 team, const CreatureData *data=NULL)
bool InitEntry (uint32 entry, uint32 team=ALLIANCE, const CreatureData *data=NULL)
bool IsInvisibleDueToDespawn () const OVERRIDE
void Regenerate (Powers power)
void RegenerateHealth ()
void RegenerateMana ()
Protected Member Functions inherited from Unit
void _DeleteRemovedAuras ()
void _UpdateAutoRepeatSpell ()
void _UpdateSpells (uint32 time)
void BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player *target) const override
void DisableSpline ()
bool IsAlwaysDetectableFor (WorldObject const *seer) const override
bool IsAlwaysVisibleFor (WorldObject const *seer) const override
void SendMissileCancel (uint32 spellId, bool cancel=true)
void SetConfused (bool apply)
void SetFeared (bool apply)
void SetRooted (bool apply, bool packetOnly=false)
void SetStunned (bool apply)
 Unit (bool isWorldObject)
Protected Member Functions inherited from WorldObject
virtual bool IsNeverVisible () const
void SetLocationInstanceId (uint32 _instanceId)
void SetLocationMapId (uint32 _mapId)
 WorldObject (bool isWorldObject)
Protected Member Functions inherited from Object
std::string _ConcatFields (uint16 startIndex, uint16 size) const
void _Create (uint32 guidlow, uint32 entry, HighGuid guidhigh)
void _InitValues ()
void _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count)
void BuildDynamicValuesUpdate (uint8 updateType, ByteBuffer *data, Player *target) const
void BuildMovementUpdate (ByteBuffer *data, uint16 flags) const
uint32 GetUpdateFieldData (Player const *target, uint32 *&flags) const
 Object ()
Protected Member Functions inherited from MapObject
 MapObject ()
Static Protected Member Functions inherited from Creature
static float _GetHealthMod (int32 Rank)
Protected Attributes inherited from Creature
bool DisableReputationGain
uint32 guid_transport
bool m_AI_locked
bool m_AlreadyCallAssistance
bool m_AlreadySearchedAssistance
uint32 m_corpseDelay
time_t m_corpseRemoveTime
 Timers.
CreatureData const * m_creatureData
CreatureTemplate const * m_creatureInfo
uint32 m_DBTableGuid
 For new or temporary creatures is 0 for saved it is lowguid.
MovementGeneratorType m_defaultMovementType
uint8 m_equipmentId
Position m_homePosition
uint16 m_LootMode
uint64 m_lootRecipient
uint32 m_lootRecipientGroup
SpellSchoolMask m_meleeDamageSchoolMask
uint32 m_originalEntry
int8 m_originalEquipmentId
ReactStates m_reactState
bool m_regenHealth
uint32 m_respawnDelay
float m_respawnradius
time_t m_respawnTime
Position m_transportHomePosition
VendorItemCounts m_vendorItemCounts
Protected Attributes inherited from Unit
LiquidTypeEntry const * _lastLiquid
UnitAIi_AI
UnitAIi_disabledAI
MotionMaster i_motionMaster
AuraApplicationMap m_appliedAuras
AttackerSet m_attackers
Unitm_attacking
uint32 m_attackTimer [uint8(WeaponAttackType::MAX_ATTACK)]
float m_auraModifiersGroup [UNIT_MOD_END][MODIFIER_TYPE_END]
AuraStateAurasMap m_auraStateAuras
AuraMap::iterator m_auraUpdateIterator
bool m_AutoRepeatFirstCast
bool m_canModifyStats
CharmInfom_charmInfo
float m_createStats [MAX_STATS]
Spellm_currentSpells [CURRENT_MAX_SPELL]
DeathState m_deathState
DynObjectList m_dynObj
GameObjectList m_gameObj
AuraApplicationList m_interruptableAuras
uint32 m_interruptMask
bool m_isSorted
AuraEffectList m_modAuras [TOTAL_AURAS]
uint32 m_movementCounter
 Incrementing counter used in movement packets.
uint32 m_overrideAutoattackRange
SpellInfo const * m_overrideAutoattackSpellInfo
AuraMap m_ownedAuras
int32 m_procDeep
uint32 m_reactiveTimer [MAX_REACTIVE]
uint32 m_regenTimer
AuraList m_removedAuras
uint32 m_removedAurasCount
AuraList m_scAuras
SharedVisionList m_sharedVision
float m_speed_rate [MAX_MOVE_TYPE]
ThreatManager m_ThreatManager
uint32 m_transform
uint32 m_unitTypeMask
Vehiclem_vehicle
Vehiclem_vehicleKit
VisibleAuraMap m_visibleAuras
float m_weaponDamage [uint8(WeaponAttackType::MAX_ATTACK)][2]
Protected Attributes inherited from WorldObject
bool m_isActive
const bool m_isWorldObject
std::string m_name
Transportm_transport
ZoneScriptm_zoneScript
Protected Attributes inherited from Object
union { 
   float *   m_floatValues 
   int32 *   m_int32Values 
   uint32 *   m_uint32Values 
}; 
UpdateMask _changesMask
std::vector< bool * > m_dynamicChange
std::vector< uint32 * > m_dynamicTab
uint16 m_fieldNotifyFlags
uint16 m_objectType
TypeID m_objectTypeId
bool m_objectUpdated
uint16 m_updateFlag
uint16 m_valuesCount

Detailed Description

Definition at line 26 of file TemporarySummon.h.

Constructor & Destructor Documentation

◆ TempSummon()

TempSummon::TempSummon ( SummonPropertiesEntry const * properties,
Unit * owner,
bool isWorldObject )
explicit

◆ ~TempSummon()

virtual TempSummon::~TempSummon ( )
inlinevirtual

Definition at line 30 of file TemporarySummon.h.

Member Function Documentation

◆ GetSummoner()

◆ GetSummonerCreatureBase()

Creature * TempSummon::GetSummonerCreatureBase ( ) const

◆ GetSummonerGUID()

uint64 TempSummon::GetSummonerGUID ( ) const
inline

Definition at line 40 of file TemporarySummon.h.

References m_summonerGUID.

Referenced by BattlefieldWG::OnCreatureCreate().

◆ GetSummonType()

TempSummonType const & TempSummon::GetSummonType ( ) const
inline

Definition at line 41 of file TemporarySummon.h.

References m_type.

◆ GetTimer()

uint32 TempSummon::GetTimer ( ) const
inline

◆ InitStats()

◆ InitSummon()

◆ RemoveFromWorld()

void TempSummon::RemoveFromWorld ( )
virtual

◆ SaveToDB()

void TempSummon::SaveToDB ( uint32 ,
uint32  )
inlinevirtual

Reimplemented from Creature.

Definition at line 37 of file TemporarySummon.h.

References OVERRIDE, and SaveToDB().

Referenced by SaveToDB().

◆ SetTempSummonType()

void TempSummon::SetTempSummonType ( TempSummonType type)

Definition at line 216 of file TemporarySummon.cpp.

References m_type.

Referenced by LuaGlobalFunctions::PerformIngameSpawn().

◆ UnSummon()

◆ Update()

Member Data Documentation

◆ m_lifetime

uint32 TempSummon::m_lifetime
private

Definition at line 48 of file TemporarySummon.h.

Referenced by InitStats(), TempSummon(), and Update().

◆ m_Properties

const SummonPropertiesEntry* const TempSummon::m_Properties

◆ m_summonerGUID

uint64 TempSummon::m_summonerGUID
private

◆ m_timer

uint32 TempSummon::m_timer
private

Definition at line 47 of file TemporarySummon.h.

Referenced by GetTimer(), InitStats(), TempSummon(), and Update().

◆ m_type

TempSummonType TempSummon::m_type
private

Definition at line 46 of file TemporarySummon.h.

Referenced by GetSummonType(), InitStats(), SetTempSummonType(), TempSummon(), and Update().


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