|
| | Guardian (SummonPropertiesEntry const *properties, Unit *owner, bool isWorldObject) |
| |
| void | InitStats (uint32 duration) override |
| |
| bool | InitStatsForLevel (uint8 level) |
| |
| void | InitSummon () override |
| |
| bool | UpdateStats (Stats stat) override |
| |
| bool | UpdateAllStats () override |
| |
| void | UpdateResistances (uint32 school) override |
| |
| void | UpdateArmor () override |
| |
| void | UpdateMaxHealth () override |
| |
| void | UpdateMaxPower (Powers power) override |
| |
| void | UpdateAttackPowerAndDamage (bool ranged=false) override |
| |
| void | UpdateDamagePhysical (WeaponAttackType attType) override |
| |
| int32 | GetBonusDamage () const |
| |
| float | GetBonusStatFromOwner (Stats stat) const |
| |
| void | SetBonusDamage (int32 damage) |
| |
| std::string | GetDebugInfo () const override |
| |
| | Minion (SummonPropertiesEntry const *properties, Unit *owner, bool isWorldObject) |
| |
| void | InitStats (uint32 duration) override |
| |
| void | RemoveFromWorld () override |
| |
| void | setDeathState (DeathState s) override |
| |
| Unit * | GetOwner () const |
| |
| float | GetFollowAngle () const override |
| |
| void | SetFollowAngle (float angle) |
| |
| bool | IsPetGhoul () const |
| |
| bool | IsRisenAlly () const |
| |
| bool | IsSpiritWolf () const |
| |
| bool | IsGuardianPet () const |
| |
| std::string | GetDebugInfo () const override |
| |
| | TempSummon (SummonPropertiesEntry const *properties, WorldObject *owner, bool isWorldObject) |
| |
| virtual | ~TempSummon () |
| |
| void | Update (uint32 time) override |
| |
| void | UpdateObjectVisibilityOnCreate () override |
| |
| virtual void | UnSummon (uint32 msTime=0) |
| |
| void | RemoveFromWorld () override |
| |
| void | SetTempSummonType (TempSummonType type) |
| |
| void | SaveToDB (uint32, uint8, uint32) override |
| |
| WorldObject * | GetSummoner () const |
| |
| Unit * | GetSummonerUnit () const |
| |
| Creature * | GetSummonerCreatureBase () const |
| |
| GameObject * | GetSummonerGameObject () const |
| |
| ObjectGuid | GetSummonerGUID () const |
| |
| TempSummonType | GetSummonType () const |
| |
| uint32 | GetTimer () const |
| |
| bool | CanFollowOwner () const |
| |
| void | SetCanFollowOwner (bool can) |
| |
| std::string | GetDebugInfo () const override |
| |
| | Creature (bool isWorldObject=false) |
| |
| void | AddToWorld () override |
| |
| float | GetNativeObjectScale () const override |
| |
| void | SetObjectScale (float scale) override |
| |
| void | SetDisplayId (uint32 modelId) override |
| |
| void | DisappearAndDie () |
| |
| bool | Create (ObjectGuid::LowType guidlow, Map *map, uint32 phaseMask, uint32 entry, Position const &pos, CreatureData const *data=nullptr, uint32 vehId=0, bool dynamic=false) |
| |
| bool | LoadCreaturesAddon () |
| |
| void | SelectLevel () |
| |
| void | UpdateLevelDependantStats () |
| |
| void | LoadEquipment (int8 id=1, bool force=false) |
| |
| void | SetSpawnHealth () |
| |
| void | LoadTemplateRoot () |
| |
| ObjectGuid::LowType | GetSpawnId () const |
| |
| void | GetRespawnPosition (float &x, float &y, float &z, float *ori=nullptr, float *dist=nullptr) const |
| |
| bool | IsSpawnedOnTransport () const |
| |
| void | SetCorpseDelay (uint32 delay, bool ignoreCorpseDecayRatio=false) |
| |
| uint32 | GetCorpseDelay () const |
| |
| bool | IsRacialLeader () const |
| |
| bool | IsCivilian () const |
| |
| bool | IsTrigger () const |
| |
| bool | IsGuard () const |
| |
| void | InitializeMovementFlags () |
| |
| void | UpdateMovementFlags () |
| |
| CreatureMovementData const & | GetMovementTemplate () const |
| |
| bool | CanWalk () const |
| |
| bool | CanSwim () const override |
| |
| bool | CanEnterWater () const override |
| |
| bool | CanFly () const override |
| |
| bool | CanHover () const |
| |
| MovementGeneratorType | GetDefaultMovementType () const override |
| |
| void | SetDefaultMovementType (MovementGeneratorType mgt) |
| |
| bool | IsDungeonBoss () const |
| |
| bool | IsAffectedByDiminishingReturns () const override |
| |
| Unit * | SelectVictim () |
| |
| void | SetReactState (ReactStates st) |
| |
| ReactStates | GetReactState () const |
| |
| bool | HasReactState (ReactStates state) const |
| |
| void | InitializeReactState () |
| |
| void | SetImmuneToAll (bool apply) override |
| |
| void | SetImmuneToPC (bool apply) override |
| |
| void | SetImmuneToNPC (bool apply) override |
| |
| bool | isCanInteractWithBattleMaster (Player *player, bool msg) const |
| |
| bool | CanResetTalents (Player *player, bool pet) const |
| |
| bool | CanCreatureAttack (Unit const *victim, bool force=true) const |
| |
| void | LoadTemplateImmunities () |
| |
| bool | IsImmunedToSpell (SpellInfo const *spellInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const override |
| |
| bool | IsImmunedToSpellEffect (SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const override |
| |
| bool | isElite () const |
| |
| bool | isWorldBoss () const |
| |
| uint8 | GetLevelForTarget (WorldObject const *target) const override |
| |
| bool | IsInEvadeMode () const |
| |
| bool | IsEvadingAttacks () const |
| |
| bool | AIM_Destroy () |
| |
| bool | AIM_Create (CreatureAI *ai=nullptr) |
| |
| bool | AIM_Initialize (CreatureAI *ai=nullptr) |
| |
| void | Motion_Initialize () |
| |
| CreatureAI * | AI () const |
| |
| uint32 | GetShieldBlockValue () const override |
| |
| SpellSchoolMask | GetMeleeDamageSchoolMask (WeaponAttackType=BASE_ATTACK, uint8=0) const override |
| |
| void | SetMeleeDamageSchool (SpellSchools school) |
| |
| bool | HasSpell (uint32 spellID) const override |
| |
| bool | UpdateEntry (uint32 entry, CreatureData const *data=nullptr, bool updateLevel=true) |
| |
| void | SetPhaseMask (uint32 newPhaseMask, bool update) override |
| |
| void | CalculateMinMaxDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, float &minDamage, float &maxDamage, uint8 damageIndex) const override |
| |
| void | SetCanDualWield (bool value) override |
| |
| int8 | GetOriginalEquipmentId () const |
| |
| uint8 | GetCurrentEquipmentId () const |
| |
| void | SetCurrentEquipmentId (uint8 id) |
| |
| float | GetSpellDamageMod (int32 Rank) const |
| |
| VendorItemData const * | GetVendorItems () const |
| |
| uint32 | GetVendorItemCurrentCount (VendorItem const *vItem) |
| |
| uint32 | UpdateVendorItemCurrentCount (VendorItem const *vItem, uint32 used_count) |
| |
| CreatureTemplate const * | GetCreatureTemplate () const |
| |
| CreatureData const * | GetCreatureData () const |
| |
| CreatureAddon const * | GetCreatureAddon () const |
| |
| std::string const & | GetAIName () const |
| |
| std::string | GetScriptName () const |
| |
| uint32 | GetScriptId () const |
| |
| void | InheritStringIds (Creature const *parent) |
| |
| bool | HasStringId (std::string_view id) const |
| |
| void | SetScriptStringId (std::string id) |
| |
| std::string_view | GetStringId (StringIdType type) const |
| |
| std::string const & | GetNameForLocaleIdx (LocaleConstant locale_idx) const override |
| |
| bool | LoadFromDB (ObjectGuid::LowType spawnId, Map *map, bool addToMap, bool allowDuplicate) |
| |
| void | SaveToDB () |
| |
| void | StartPickPocketRefillTimer () |
| |
| void | ResetPickPocketRefillTimer () |
| |
| bool | CanGeneratePickPocketLoot () const |
| |
| ObjectGuid | GetLootRecipientGUID () const |
| |
| Player * | GetLootRecipient () const |
| |
| Group * | GetLootRecipientGroup () const |
| |
| bool | hasLootRecipient () const |
| |
| bool | isTappedBy (Player const *player) const |
| |
| void | SetLootRecipient (Unit *unit, bool withGroup=true) |
| |
| void | AllLootRemovedFromCorpse () |
| |
| uint16 | GetLootMode () const |
| |
| bool | HasLootMode (uint16 lootMode) |
| |
| void | SetLootMode (uint16 lootMode) |
| |
| void | AddLootMode (uint16 lootMode) |
| |
| void | RemoveLootMode (uint16 lootMode) |
| |
| void | ResetLootMode () |
| |
| bool | CanStartAttack (Unit const *u, bool force) const |
| |
| float | GetAttackDistance (Unit const *player) const |
| |
| float | GetAggroRange (Unit const *target) const |
| |
| void | SendAIReaction (AiReaction reactionType) |
| |
| Unit * | SelectNearestTarget (float dist=0, bool playerOnly=false) const |
| |
| Unit * | SelectNearestTargetInAttackDistance (float dist=0) const |
| |
| Unit * | SelectNearestHostileUnitInAggroRange (bool useLOS=false, bool ignoreCivilians=false) const |
| |
| void | DoFleeToGetAssistance () |
| |
| void | CallForHelp (float fRadius) |
| |
| void | CallAssistance () |
| |
| void | SetNoCallAssistance (bool val) |
| |
| void | SetNoSearchAssistance (bool val) |
| |
| bool | HasSearchedAssistance () const |
| |
| bool | CanAssistTo (Unit const *u, Unit const *enemy, bool checkfaction=true) const |
| |
| bool | _IsTargetAcceptable (Unit const *target) const |
| |
| bool | CanIgnoreFeignDeath () const |
| |
| void | RemoveCorpse (bool setSpawnTime=true, bool destroyForNearbyPlayers=true) |
| |
| void | DespawnOrUnsummon (Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s) |
| |
| time_t const & | GetRespawnTime () const |
| |
| time_t | GetRespawnTimeEx () const |
| |
| void | SetRespawnTime (uint32 respawn) |
| |
| void | Respawn (bool force=false) |
| |
| void | SaveRespawnTime (uint32 forceDelay=0) |
| |
| uint32 | GetRespawnDelay () const |
| |
| void | SetRespawnDelay (uint32 delay) |
| |
| float | GetWanderDistance () const |
| |
| void | SetWanderDistance (float dist) |
| |
| void | DoImmediateBoundaryCheck () |
| |
| uint32 | GetCombatPulseDelay () const |
| |
| void | SetCombatPulseDelay (uint32 delay) |
| |
| void | SendZoneUnderAttackMessage (Player *attacker) |
| | Send a message to LocalDefense channel for players opposition team in the zone.
|
| |
| bool | hasQuest (uint32 quest_id) const override |
| |
| bool | hasInvolvedQuest (uint32 quest_id) const override |
| |
| bool | CanRegenerateHealth () const |
| |
| void | SetRegenerateHealth (bool value) |
| |
| virtual uint8 | GetPetAutoSpellSize () const |
| |
| virtual uint32 | GetPetAutoSpellOnPos (uint8 pos) const |
| |
| float | GetPetChaseDistance () const |
| |
| void | SetCannotReachTarget (bool cannotReach) |
| |
| bool | CanNotReachTarget () const |
| |
| void | SetHomePosition (float x, float y, float z, float o) |
| |
| void | SetHomePosition (Position const &pos) |
| |
| void | GetHomePosition (float &x, float &y, float &z, float &ori) const |
| |
| Position const & | GetHomePosition () const |
| |
| void | SetTransportHomePosition (float x, float y, float z, float o) |
| |
| void | SetTransportHomePosition (Position const &pos) |
| |
| void | GetTransportHomePosition (float &x, float &y, float &z, float &ori) const |
| |
| Position const & | GetTransportHomePosition () const |
| |
| uint32 | GetWaypointPath () const |
| |
| void | LoadPath (uint32 pathid) |
| |
| std::pair< uint32, uint32 > | GetCurrentWaypointInfo () const |
| |
| void | UpdateCurrentWaypointInfo (uint32 nodeId, uint32 pathId) |
| |
| bool | IsReturningHome () const |
| |
| void | SearchFormation () |
| |
| CreatureGroup * | GetFormation () |
| |
| void | SetFormation (CreatureGroup *formation) |
| |
| bool | IsFormationLeader () const |
| |
| void | SignalFormationMovement () |
| |
| bool | IsFormationLeaderMoveAllowed () const |
| |
| void | SetDisableReputationGain (bool disable) |
| |
| bool | IsReputationGainDisabled () const |
| |
| bool | IsDamageEnoughForLootingAndReward () const |
| |
| void | LowerPlayerDamageReq (uint32 unDamage) |
| |
| void | ResetPlayerDamageReq () |
| |
| uint32 | GetOriginalEntry () const |
| |
| void | SetOriginalEntry (uint32 entry) |
| |
| void | SetRespawnCompatibilityMode (bool mode=true) |
| |
| bool | GetRespawnCompatibilityMode () |
| |
| void | SetTarget (ObjectGuid guid) override |
| |
| void | DoNotReacquireSpellFocusTarget () |
| |
| void | SetSpellFocus (Spell const *focusSpell, WorldObject const *target) |
| |
| bool | HasSpellFocus (Spell const *focusSpell=nullptr) const override |
| |
| void | ReleaseSpellFocus (Spell const *focusSpell=nullptr, bool withDelay=true) |
| |
| bool | IsMovementPreventedByCasting () const override |
| |
| time_t | GetLastDamagedTime () const |
| |
| void | SetLastDamagedTime (time_t val) |
| |
| CreatureTextRepeatIds | GetTextRepeatGroup (uint8 textGroup) |
| |
| void | SetTextRepeatId (uint8 textGroup, uint8 id) |
| |
| void | ClearTextRepeatGroup (uint8 textGroup) |
| |
| bool | IsEscorted () const |
| |
| bool | CanGiveExperience () const |
| |
| bool | IsEngaged () const override |
| |
| void | AtEngage (Unit *target) override |
| |
| void | AtDisengage () override |
| |
| bool | HasCanSwimFlagOutOfCombat () const |
| |
| void | RefreshCanSwimFlag (bool recheck=false) |
| |
| void | ExitVehicle (Position const *exitPosition=nullptr) override |
| |
| bool | IsImmuneToAll () const |
| |
| void | SetImmuneToAll (bool apply, bool keepCombat) |
| |
| virtual void | SetImmuneToAll (bool apply) |
| |
| bool | IsImmuneToPC () const |
| |
| void | SetImmuneToPC (bool apply, bool keepCombat) |
| |
| virtual void | SetImmuneToPC (bool apply) |
| |
| bool | IsImmuneToNPC () const |
| |
| void | SetImmuneToNPC (bool apply, bool keepCombat) |
| |
| virtual void | SetImmuneToNPC (bool apply) |
| |
| virtual | ~Unit () |
| |
| bool | IsAIEnabled () const |
| |
| void | AIUpdateTick (uint32 diff) |
| |
| UnitAI * | GetAI () const |
| |
| void | ScheduleAIChange () |
| |
| void | PushAI (UnitAI *newAI) |
| |
| bool | PopAI () |
| |
| void | AddToWorld () override |
| |
| void | RemoveFromWorld () override |
| |
| void | CleanupBeforeRemoveFromMap (bool finalCleanup) |
| |
| void | CleanupsBeforeDelete (bool finalCleanup=true) override |
| |
| uint32 | GetDynamicFlags () const override |
| |
| void | ReplaceAllDynamicFlags (uint32 flag) override |
| |
| DiminishingLevels | GetDiminishing (DiminishingGroup group) const |
| |
| void | IncrDiminishing (SpellInfo const *auraSpellInfo, bool triggered) |
| |
| bool | ApplyDiminishingToDuration (SpellInfo const *auraSpellInfo, bool triggered, int32 &duration, WorldObject *caster, DiminishingLevels previousLevel) const |
| |
| void | ApplyDiminishingAura (DiminishingGroup group, bool apply) |
| |
| void | ClearDiminishings () |
| |
| void | Heartbeat () override |
| |
| void | setAttackTimer (WeaponAttackType type, uint32 time) |
| |
| void | resetAttackTimer (WeaponAttackType type=BASE_ATTACK) |
| |
| uint32 | getAttackTimer (WeaponAttackType type) const |
| |
| bool | isAttackReady (WeaponAttackType type=BASE_ATTACK) const |
| |
| bool | haveOffhandWeapon () const |
| |
| bool | CanDualWield () const |
| |
| float | GetCombatReach () const override |
| |
| void | SetCombatReach (float combatReach) |
| |
| float | GetBoundingRadius () const |
| |
| void | SetBoundingRadius (float boundingRadius) |
| |
| bool | IsWithinCombatRange (Unit const *obj, float dist2compare) const |
| |
| bool | IsWithinMeleeRange (Unit const *obj) const |
| |
| bool | IsWithinMeleeRangeAt (Position const &pos, Unit const *obj) const |
| |
| float | GetMeleeRange (Unit const *target) const |
| |
| void | _addAttacker (Unit *pAttacker) |
| |
| void | _removeAttacker (Unit *pAttacker) |
| |
| Unit * | getAttackerForHelper () const |
| |
| bool | Attack (Unit *victim, bool meleeAttack) |
| |
| void | CastStop (uint32 except_spellid=0) |
| |
| bool | AttackStop () |
| |
| void | RemoveAllAttackers () |
| |
| AttackerSet const & | getAttackers () const |
| |
| bool | isAttackingPlayer () const |
| |
| Unit * | GetVictim () const |
| |
| Unit * | EnsureVictim () const |
| |
| void | ValidateAttackersAndOwnTarget () |
| |
| void | CombatStop (bool includingCast=false, bool mutualPvP=true) |
| |
| void | CombatStopWithPets (bool includingCast=false) |
| |
| void | StopAttackFaction (uint32 faction_id) |
| |
| Unit * | SelectNearbyTarget (Unit *exclude=nullptr, float dist=NOMINAL_MELEE_RANGE) const |
| |
| void | SendMeleeAttackStop (Unit *victim=nullptr) |
| |
| void | SendMeleeAttackStart (Unit *victim) |
| |
| void | AddUnitState (uint32 f) |
| |
| bool | HasUnitState (const uint32 f) const |
| |
| void | ClearUnitState (uint32 f) |
| |
| bool | CanFreeMove () const |
| |
| uint32 | HasUnitTypeMask (uint32 mask) const |
| |
| void | AddUnitTypeMask (uint32 mask) |
| |
| bool | IsSummon () const |
| |
| bool | IsGuardian () const |
| |
| bool | IsPet () const |
| |
| bool | IsHunterPet () const |
| |
| bool | IsTotem () const |
| |
| bool | IsVehicle () const |
| |
| uint8 | GetLevel () const |
| |
| uint8 | GetLevelForTarget (WorldObject const *) const override |
| |
| void | SetLevel (uint8 lvl, bool sendUpdate=true) |
| |
| uint8 | GetRace () const |
| |
| void | SetRace (uint8 race) |
| |
| uint32 | GetRaceMask () const |
| |
| uint8 | GetClass () const |
| |
| void | SetClass (uint8 classId) |
| |
| uint32 | GetClassMask () const |
| |
| Gender | GetGender () const |
| |
| void | SetGender (Gender gender) |
| |
| virtual Gender | GetNativeGender () const |
| |
| virtual void | SetNativeGender (Gender gender) |
| |
| float | GetStat (Stats stat) const |
| |
| void | SetStat (Stats stat, int32 val) |
| |
| uint32 | GetArmor () const |
| |
| void | SetArmor (int32 val) |
| |
| int32 | GetResistance (SpellSchools school) const |
| |
| int32 | GetResistance (SpellSchoolMask mask) const |
| |
| void | SetResistance (SpellSchools school, int32 val) |
| |
| uint32 | GetHealth () const |
| |
| uint32 | GetMaxHealth () const |
| |
| bool | IsFullHealth () const |
| |
| bool | HealthBelowPct (int32 pct) const |
| |
| bool | HealthBelowPctDamaged (int32 pct, uint32 damage) const |
| |
| bool | HealthAbovePct (int32 pct) const |
| |
| bool | HealthAbovePctHealed (int32 pct, uint32 heal) const |
| |
| float | GetHealthPct () const |
| |
| uint32 | CountPctFromMaxHealth (int32 pct) const |
| |
| uint32 | CountPctFromCurHealth (int32 pct) const |
| |
| void | SetHealth (uint32 val) |
| |
| void | SetMaxHealth (uint32 val) |
| |
| void | SetFullHealth () |
| |
| int32 | ModifyHealth (int32 val) |
| |
| int32 | GetHealthGain (int32 dVal) |
| |
| Powers | GetPowerType () const |
| |
| void | SetPowerType (Powers power, bool sendUpdate=true) |
| |
| void | UpdateDisplayPower () |
| |
| uint32 | GetPower (Powers power) const |
| |
| int32 | GetMinPower (Powers) const |
| |
| uint32 | GetMaxPower (Powers power) const |
| |
| float | GetPowerPct (Powers power) const |
| |
| int32 | CountPctFromMaxPower (Powers power, int32 pct) const |
| |
| void | SetPower (Powers power, uint32 val, bool withPowerUpdate=true, bool force=false) |
| |
| void | SetMaxPower (Powers power, uint32 val) |
| |
| void | SetFullPower (Powers power) |
| |
| int32 | ModifyPower (Powers power, int32 val, bool withPowerUpdate=true) |
| |
| uint32 | GetAttackTime (WeaponAttackType att) const |
| |
| void | SetAttackTime (WeaponAttackType att, uint32 val) |
| |
| void | ApplyAttackTimePercentMod (WeaponAttackType att, float val, bool apply) |
| |
| void | ApplyCastTimePercentMod (float val, bool apply) |
| |
| void | SetModCastingSpeed (float castingSpeed) |
| |
| UnitFlags | GetUnitFlags () const |
| |
| bool | HasUnitFlag (UnitFlags flags) const |
| |
| void | SetUnitFlag (UnitFlags flags) |
| |
| void | RemoveUnitFlag (UnitFlags flags) |
| |
| void | ReplaceAllUnitFlags (UnitFlags flags) |
| |
| UnitFlags2 | GetUnitFlags2 () const |
| |
| bool | HasUnitFlag2 (UnitFlags2 flags) const |
| |
| void | SetUnitFlag2 (UnitFlags2 flags) |
| |
| void | RemoveUnitFlag2 (UnitFlags2 flags) |
| |
| void | ReplaceAllUnitFlags2 (UnitFlags2 flags) |
| |
| void | SetCreatedBySpell (int32 spellId) |
| |
| Emote | GetEmoteState () const |
| |
| void | SetEmoteState (Emote emote) |
| |
| SheathState | GetSheath () const |
| |
| virtual void | SetSheath (SheathState sheathed) |
| |
| uint32 | GetFaction () const override |
| |
| void | SetFaction (uint32 faction) override |
| |
| bool | IsInPartyWith (Unit const *unit) const |
| |
| bool | IsInRaidWith (Unit const *unit) const |
| |
| void | GetPartyMembers (std::list< Unit * > &units) |
| |
| bool | IsContestedGuard () const |
| |
| UnitPVPStateFlags | GetPvpFlags () const |
| |
| bool | HasPvpFlag (UnitPVPStateFlags flags) const |
| |
| void | SetPvpFlag (UnitPVPStateFlags flags) |
| |
| void | RemovePvpFlag (UnitPVPStateFlags flags) |
| |
| void | ReplaceAllPvpFlags (UnitPVPStateFlags flags) |
| |
| bool | IsInSanctuary () const |
| |
| bool | IsPvP () const |
| |
| bool | IsFFAPvP () const |
| |
| virtual void | SetPvP (bool state) |
| |
| UnitPetFlag | GetPetFlags () const |
| |
| bool | HasPetFlag (UnitPetFlag flags) const |
| |
| void | SetPetFlag (UnitPetFlag flags) |
| |
| void | RemovePetFlag (UnitPetFlag flags) |
| |
| void | ReplaceAllPetFlags (UnitPetFlag flags) |
| |
| uint32 | GetCreatureType () const |
| |
| uint32 | GetCreatureTypeMask () const |
| |
| UnitStandStateType | GetStandState () const |
| |
| bool | IsSitState () const |
| |
| bool | IsStandState () const |
| |
| void | SetStandState (UnitStandStateType state) |
| |
| void | SetVisFlag (UnitVisFlags flags) |
| |
| void | RemoveVisFlag (UnitVisFlags flags) |
| |
| void | ReplaceAllVisFlags (UnitVisFlags flags) |
| |
| AnimTier | GetAnimTier () const |
| |
| void | SetAnimTier (AnimTier animTier) |
| |
| bool | IsMounted () const |
| |
| uint32 | GetMountDisplayId () const |
| |
| void | SetMountDisplayId (uint32 mountDisplayId) |
| |
| void | Mount (uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0) |
| |
| void | Dismount () |
| |
| uint32 | GetMaxSkillValueForLevel (Unit const *target=nullptr) const |
| |
| void | KillSelf (bool durabilityLoss=true) |
| |
| void | GetProcAurasTriggeredOnEvent (AuraApplicationProcContainer &aurasTriggeringProc, AuraApplicationList *procAuras, ProcEventInfo &eventInfo) |
| |
| void | TriggerAurasProcOnEvent (Unit *actionTarget, uint32 typeMaskActor, uint32 typeMaskActionTarget, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo) |
| |
| void | TriggerAurasProcOnEvent (ProcEventInfo &eventInfo, AuraApplicationProcContainer &procAuras) |
| |
| void | HandleEmoteCommand (Emote emoteId) |
| |
| void | AttackerStateUpdate (Unit *victim, WeaponAttackType attType=BASE_ATTACK, bool extra=false) |
| |
| void | CalculateMeleeDamage (Unit *victim, CalcDamageInfo *damageInfo, WeaponAttackType attackType=BASE_ATTACK) |
| |
| void | DealMeleeDamage (CalcDamageInfo *damageInfo, bool durabilityLoss) |
| |
| void | HandleProcExtraAttackFor (Unit *victim, uint32 count) |
| |
| void | SetLastExtraAttackSpell (uint32 spellId) |
| |
| uint32 | GetLastExtraAttackSpell () const |
| |
| void | AddExtraAttacks (uint32 count) |
| |
| void | SetLastDamagedTargetGuid (ObjectGuid guid) |
| |
| ObjectGuid | GetLastDamagedTargetGuid () const |
| |
| void | CalculateSpellDamageTaken (SpellNonMeleeDamage *damageInfo, int32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=BASE_ATTACK, bool crit=false, bool blocked=false, Spell *spell=nullptr) |
| |
| void | DealSpellDamage (SpellNonMeleeDamage const *damageInfo, bool durabilityLoss) |
| |
| float | GetMeleeCritChanceReduction () const |
| |
| float | GetRangedCritChanceReduction () const |
| |
| float | GetSpellCritChanceReduction () const |
| |
| uint32 | GetMeleeCritDamageReduction (uint32 damage) const |
| |
| uint32 | GetRangedCritDamageReduction (uint32 damage) const |
| |
| uint32 | GetSpellCritDamageReduction (uint32 damage) const |
| |
| uint32 | GetMeleeDamageReduction (uint32 damage) const |
| |
| uint32 | GetRangedDamageReduction (uint32 damage) const |
| |
| uint32 | GetSpellDamageReduction (uint32 damage) const |
| |
| virtual bool | CanApplyResilience () const |
| |
| int32 | CalculateAOEAvoidance (int32 damage, uint32 schoolMask, ObjectGuid const &casterGuid) const |
| |
| float | MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, int32 skillDiff, uint32 spellId) const override |
| |
| SpellMissInfo | MeleeSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const override |
| |
| float | GetUnitDodgeChance (WeaponAttackType attType, Unit const *victim) const |
| |
| float | GetUnitParryChance (WeaponAttackType attType, Unit const *victim) const |
| |
| float | GetUnitBlockChance (WeaponAttackType attType, Unit const *victim) const |
| |
| float | GetUnitMissChance () const |
| |
| float | GetUnitCriticalChanceDone (WeaponAttackType attackType) const |
| |
| float | GetUnitCriticalChanceTaken (Unit const *attacker, WeaponAttackType attackType, float critDone) const |
| |
| float | GetUnitCriticalChanceAgainst (WeaponAttackType attackType, Unit const *victim) const |
| |
| int32 | GetMechanicResistChance (SpellInfo const *spellInfo) const |
| |
| bool | CanUseAttackType (uint8 attacktype) const |
| |
| uint32 | GetShieldBlockValue (uint32 soft_cap, uint32 hard_cap) const |
| |
| uint32 | GetDefenseSkillValue (Unit const *target=nullptr) const |
| |
| uint32 | GetWeaponSkillValue (WeaponAttackType attType, Unit const *target=nullptr) const |
| |
| float | GetWeaponProcChance () const |
| |
| float | GetPPMProcChance (uint32 WeaponSpeed, float PPM, SpellInfo const *spellProto) const |
| |
| MeleeHitOutcome | RollMeleeOutcomeAgainst (Unit const *victim, WeaponAttackType attType) const |
| |
| NPCFlags | GetNpcFlags () const |
| |
| bool | HasNpcFlag (NPCFlags flags) const |
| |
| void | SetNpcFlag (NPCFlags flags) |
| |
| void | RemoveNpcFlag (NPCFlags flags) |
| |
| void | ReplaceAllNpcFlags (NPCFlags flags) |
| |
| bool | IsVendor () const |
| |
| bool | IsTrainer () const |
| |
| bool | IsQuestGiver () const |
| |
| bool | IsGossip () const |
| |
| bool | IsTaxi () const |
| |
| bool | IsGuildMaster () const |
| |
| bool | IsBattleMaster () const |
| |
| bool | IsBanker () const |
| |
| bool | IsInnkeeper () const |
| |
| bool | IsSpiritHealer () const |
| |
| bool | IsSpiritGuide () const |
| |
| bool | IsTabardDesigner () const |
| |
| bool | IsAuctioner () const |
| |
| bool | IsArmorer () const |
| |
| bool | IsServiceProvider () const |
| |
| bool | IsSpiritService () const |
| |
| bool | IsCritter () const |
| |
| bool | IsInFlight () const |
| |
| bool | CanHaveThreatList () const |
| | ====================== THREAT & COMBAT ====================
|
| |
| bool | IsEngagedBy (Unit const *who) const |
| |
| void | EngageWithTarget (Unit *who) |
| |
| CombatManager & | GetCombatManager () |
| |
| CombatManager const & | GetCombatManager () const |
| |
| void | AtTargetAttacked (Unit *target, bool canInitialAggro) |
| |
| bool | IsImmuneToAll () const |
| |
| void | SetImmuneToAll (bool apply, bool keepCombat) |
| |
| bool | IsImmuneToPC () const |
| |
| void | SetImmuneToPC (bool apply, bool keepCombat) |
| |
| bool | IsImmuneToNPC () const |
| |
| void | SetImmuneToNPC (bool apply, bool keepCombat) |
| |
| bool | IsInCombat () const |
| |
| bool | IsInCombatWith (Unit const *who) const |
| |
| void | SetInCombatWith (Unit *enemy, bool addSecondUnitSuppressed=false) |
| |
| void | ClearInCombat () |
| |
| void | UpdatePetCombatState () |
| |
| bool | IsThreatened () const |
| |
| bool | IsThreatenedBy (Unit const *who) const |
| |
| ThreatManager & | GetThreatManager () |
| |
| ThreatManager const & | GetThreatManager () const |
| |
| void | SendClearTarget () |
| |
| bool | HasAuraTypeWithFamilyFlags (AuraType auraType, uint32 familyName, flag96 familyFlags) const |
| |
| bool | HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const |
| |
| bool | HasBreakableByDamageCrowdControlAura (Unit *excludeCasterChannel=nullptr) const |
| |
| bool | HasStealthAura () const |
| |
| bool | HasInvisibilityAura () const |
| |
| bool | IsFeared () const |
| |
| bool | IsRooted () const |
| |
| bool | IsPolymorphed () const |
| |
| bool | IsFrozen () const |
| |
| bool | isTargetableForAttack (bool checkFakeDeath=true) const |
| |
| bool | IsInWater () const |
| |
| bool | IsUnderWater () const |
| |
| bool | isInAccessiblePlaceFor (Creature const *c) const |
| |
| void | SendHealSpellLog (HealInfo &healInfo, bool critical=false) |
| |
| int32 | HealBySpell (HealInfo &healInfo, bool critical=false) |
| |
| void | SendEnergizeSpellLog (Unit *victim, uint32 spellId, int32 damage, Powers powerType) |
| |
| void | EnergizeBySpell (Unit *victim, uint32 spellId, int32 damage, Powers powerType) |
| |
| void | EnergizeBySpell (Unit *victim, SpellInfo const *spellInfo, int32 damage, Powers powerType) |
| |
| Aura * | AddAura (uint32 spellId, Unit *target) |
| |
| Aura * | AddAura (SpellInfo const *spellInfo, uint8 effMask, Unit *target) |
| |
| void | SetAuraStack (uint32 spellId, Unit *target, uint32 stack) |
| |
| void | SendPlaySpellVisualKit (uint32 id, uint32 type) const |
| |
| void | DeMorph () |
| |
| void | SendAttackStateUpdate (CalcDamageInfo *damageInfo) |
| |
| void | SendAttackStateUpdate (uint32 HitInfo, Unit *target, uint8 SwingType, SpellSchoolMask damageSchoolMask, uint32 Damage, uint32 AbsorbDamage, uint32 Resist, VictimState TargetState, uint32 BlockedAmount) |
| |
| void | SendSpellNonMeleeDamageLog (SpellNonMeleeDamage const *log) |
| |
| void | SendSpellNonMeleeDamageLog (Unit *target, uint32 spellID, uint32 damage, SpellSchoolMask damageSchoolMask, uint32 absorbedDamage, uint32 resist, bool isPeriodic, uint32 blocked, bool criticalHit=false, bool split=false) |
| |
| void | SendPeriodicAuraLog (SpellPeriodicAuraLogInfo *pInfo) |
| |
| void | SendSpellDamageResist (Unit *target, uint32 spellId) |
| |
| void | SendSpellDamageImmune (Unit *target, uint32 spellId) |
| |
| void | NearTeleportTo (Position const &pos, bool casting=false) |
| |
| void | NearTeleportTo (float x, float y, float z, float orientation, bool casting=false) |
| |
| void | SendTeleportPacket (Position const &pos, bool teleportingTransport=false) |
| |
| virtual bool | UpdatePosition (float x, float y, float z, float ang, bool teleport=false) |
| |
| virtual bool | UpdatePosition (Position const &pos, bool teleport=false) |
| |
| void | UpdateOrientation (float orientation) |
| | Only server-side orientation update, does not broadcast to client.
|
| |
| void | UpdateHeight (float newZ) |
| | Only server-side height update, does not broadcast to client.
|
| |
| void | SendMoveKnockBack (Player *player, float speedXY, float speedZ, float vcos, float vsin) |
| |
| void | KnockbackFrom (float x, float y, float speedXY, float speedZ) |
| |
| void | JumpTo (float speedXY, float speedZ, bool forward=true, Optional< Position > dest={}) |
| |
| void | JumpTo (WorldObject *obj, float speedZ, bool withOrientation=false) |
| |
| void | MonsterMoveWithSpeed (float x, float y, float z, float speed, bool generatePath=false, bool forceDestination=false) |
| |
| void | SetHoverHeight (float hoverHeight) |
| |
| bool | IsGravityDisabled () const |
| |
| bool | IsWalking () const |
| |
| bool | IsHovering () const |
| |
| bool | SetWalk (bool enable) |
| |
| bool | SetDisableGravity (bool disable, bool updateAnimTier=true) |
| |
| bool | SetFall (bool enable) |
| |
| bool | SetSwim (bool enable) |
| |
| bool | SetCanFly (bool enable, bool packetOnly=false) |
| |
| bool | SetWaterWalking (bool enable) |
| |
| bool | SetFeatherFall (bool enable) |
| |
| bool | SetHover (bool enable, bool updateAnimTier=true) |
| |
| void | SetInFront (WorldObject const *target) |
| |
| void | SetFacingTo (float ori, bool force=true, uint32 movementId=EVENT_FACE) |
| |
| void | SetFacingToObject (WorldObject const *object, bool force=true, uint32 movementId=EVENT_FACE) |
| |
| bool | IsAlive () const |
| |
| bool | isDying () const |
| |
| bool | isDead () const |
| |
| bool | IsGhouled () const |
| |
| DeathState | getDeathState () const |
| |
| ObjectGuid | GetOwnerGUID () const override |
| |
| void | SetOwnerGUID (ObjectGuid owner) |
| |
| ObjectGuid | GetCreatorGUID () const |
| |
| void | SetCreatorGUID (ObjectGuid creator) |
| |
| ObjectGuid | GetMinionGUID () const |
| |
| void | SetMinionGUID (ObjectGuid guid) |
| |
| ObjectGuid | GetPetGUID () const |
| |
| void | SetPetGUID (ObjectGuid guid) |
| |
| ObjectGuid | GetCritterGUID () const |
| |
| void | SetCritterGUID (ObjectGuid guid) |
| |
| ObjectGuid | GetCharmerGUID () const |
| |
| Unit * | GetCharmer () const |
| |
| ObjectGuid | GetCharmedGUID () const |
| |
| Unit * | GetCharmed () const |
| |
| bool | IsControlledByPlayer () const |
| |
| Player * | GetControllingPlayer () const |
| |
| ObjectGuid | GetCharmerOrOwnerGUID () const override |
| |
| bool | IsCharmedOwnedByPlayerOrPlayer () const |
| |
| Guardian * | GetGuardianPet () const |
| |
| Minion * | GetFirstMinion () const |
| |
| Unit * | GetCharmerOrOwner () const |
| |
| void | SetMinion (Minion *minion, bool apply) |
| |
| void | GetAllMinionsByEntry (std::list< Creature * > &Minions, uint32 entry) |
| |
| void | RemoveAllMinionsByEntry (uint32 entry) |
| |
| void | SetCharm (Unit *target, bool apply) |
| |
| Unit * | GetNextRandomRaidMemberOrPet (float radius) |
| |
| bool | SetCharmedBy (Unit *charmer, CharmType type, AuraApplication const *aurApp=nullptr) |
| |
| void | RemoveCharmedBy (Unit *charmer) |
| |
| void | RestoreFaction () |
| |
| Unit * | GetFirstControlled () const |
| |
| void | RemoveAllControlled () |
| |
| bool | IsCharmed () const |
| |
| bool | IsCharming () const |
| |
| bool | isPossessed () const |
| |
| bool | isPossessedByPlayer () const |
| |
| bool | isPossessing () const |
| |
| bool | isPossessing (Unit *u) const |
| |
| CharmInfo * | GetCharmInfo () |
| |
| CharmInfo * | InitCharmInfo () |
| |
| void | DeleteCharmInfo () |
| |
| void | SetPetNumberForClient (uint32 petNumber) |
| |
| void | SetPetNameTimestamp (uint32 timestamp) |
| |
| bool | IsCharmerOrSelfPlayer () const |
| |
| Unit * | GetCharmerOrSelf () const |
| |
| Player * | GetCharmerOrSelfPlayer () const |
| |
| Unit * | GetCharmedOrSelf () const |
| |
| bool | IsMovedByClient () const |
| |
| bool | IsMovedByServer () const |
| |
| GameClient * | GetGameClientMovingMe () const |
| |
| void | SetGameClientMovingMe (GameClient *gameClientMovingMe) |
| |
| SharedVisionList const & | GetSharedVisionList () |
| |
| void | AddPlayerToVision (Player *player) |
| |
| void | RemovePlayerFromVision (Player *player) |
| |
| bool | HasSharedVision () const |
| |
| void | RemoveBindSightAuras () |
| |
| void | RemoveCharmAuras () |
| |
| Pet * | CreateTamedPetFrom (Creature *creatureTarget, uint32 spell_id=0) |
| |
| Pet * | CreateTamedPetFrom (uint32 creatureEntry, uint32 spell_id=0) |
| |
| bool | InitTamedPet (Pet *pet, uint8 level, uint32 spell_id) |
| |
| Aura * | _TryStackingOrRefreshingExistingAura (AuraCreateInfo &createInfo) |
| |
| void | _AddAura (UnitAura *aura, Unit *caster) |
| |
| AuraApplication * | _CreateAuraApplication (Aura *aura, uint8 effMask) |
| |
| void | _ApplyAuraEffect (Aura *aura, uint8 effIndex) |
| |
| void | _ApplyAura (AuraApplication *aurApp, uint8 effMask) |
| |
| void | _UnapplyAura (AuraApplicationMap::iterator &i, AuraRemoveMode removeMode) |
| |
| void | _UnapplyAura (AuraApplication *aurApp, AuraRemoveMode removeMode) |
| |
| void | _RemoveNoStackAurasDueToAura (Aura *aura, bool owned) |
| |
| void | _RegisterAuraEffect (AuraEffect *aurEff, bool apply) |
| |
| AuraMap & | GetOwnedAuras () |
| |
| AuraMap const & | GetOwnedAuras () const |
| |
| void | RemoveOwnedAura (AuraMap::iterator &i, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveOwnedAura (Aura *aura, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| Aura * | GetOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, Aura *except=nullptr) const |
| |
| AuraApplicationMap & | GetAppliedAuras () |
| |
| AuraApplicationMap const & | GetAppliedAuras () const |
| |
| void | RemoveAura (AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAura (AuraApplication *aurApp, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAura (Aura *aur, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAppliedAuras (std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveOwnedAuras (std::function< bool(Aura const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAppliedAuras (uint32 spellId, std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveOwnedAuras (uint32 spellId, std::function< bool(Aura const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAurasByType (AuraType auraType, std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAurasDueToSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAuraFromStack (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| |
| void | RemoveAurasDueToSpellByDispel (uint32 spellId, uint32 dispellerSpellId, ObjectGuid casterGUID, WorldObject *dispeller, uint8 chargesRemoved=1) |
| |
| void | RemoveAurasDueToSpellBySteal (uint32 spellId, ObjectGuid casterGUID, WorldObject *stealer) |
| |
| void | RemoveAurasDueToItemSpell (uint32 spellId, ObjectGuid castItemGuid) |
| |
| void | RemoveAurasByType (AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true) |
| |
| void | RemoveNotOwnSingleTargetAuras (uint32 newPhase=0x0) |
| |
| void | RemoveAurasWithInterruptFlags (uint32 flag, uint32 except=0) |
| |
| void | RemoveAurasWithAttribute (uint32 flags) |
| |
| void | RemoveAurasWithFamily (SpellFamilyNames family, flag96 const &familyFlag, ObjectGuid casterGUID) |
| |
| void | RemoveAurasWithMechanic (uint32 mechanicMaskToRemove, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, uint32 exceptSpellId=0, bool withEffectMechanics=false) |
| |
| void | RemoveMovementImpairingAuras (bool withRoot) |
| |
| void | RemoveAurasByShapeShift () |
| |
| void | RemoveAreaAurasDueToLeaveWorld () |
| |
| void | RemoveAllAuras () |
| |
| void | RemoveArenaAuras () |
| |
| void | RemoveAurasOnEvade () |
| |
| void | RemoveAllAurasOnDeath () |
| |
| void | RemoveAllAurasRequiringDeadTarget () |
| |
| void | RemoveAllAurasExceptType (AuraType type) |
| |
| void | RemoveAllAurasExceptType (AuraType type1, AuraType type2) |
| |
| void | RemoveAllGroupBuffsFromCaster (ObjectGuid casterGUID) |
| |
| void | DelayOwnedAuras (uint32 spellId, ObjectGuid caster, int32 delaytime) |
| |
| void | _RemoveAllAuraStatMods () |
| |
| void | _ApplyAllAuraStatMods () |
| |
| AuraEffectList const & | GetAuraEffectsByType (AuraType type) const |
| |
| AuraEffectList & | GetAuraEffectsByType (AuraType type) |
| |
| AuraList & | GetSingleCastAuras () |
| |
| AuraList const & | GetSingleCastAuras () const |
| |
| AuraEffect * | GetAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| |
| AuraEffect * | GetAuraEffectOfRankedSpell (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| |
| AuraEffect * | GetAuraEffect (AuraType type, SpellFamilyNames name, uint32 iconId, uint8 effIndex) const |
| |
| AuraEffect * | GetAuraEffect (AuraType type, SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| |
| AuraEffect * | GetDummyAuraEffect (SpellFamilyNames name, uint32 iconId, uint8 effIndex) const |
| |
| AuraApplication * | GetAuraApplication (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const |
| |
| Aura * | GetAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| |
| AuraApplication * | GetAuraApplicationOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const |
| |
| Aura * | GetAuraOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| |
| void | GetDispellableAuraList (WorldObject const *caster, uint32 dispelMask, DispelChargesList &dispelList, bool isReflect=false) const |
| |
| bool | HasAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid caster=ObjectGuid::Empty) const |
| |
| uint32 | GetAuraCount (uint32 spellId) const |
| |
| bool | HasAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| |
| bool | HasAuraType (AuraType auraType) const |
| |
| bool | HasAuraTypeWithCaster (AuraType auraType, ObjectGuid caster) const |
| |
| bool | HasAuraTypeWithMiscvalue (AuraType auraType, int32 miscValue) const |
| |
| bool | HasAuraTypeWithAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const |
| |
| bool | HasAuraTypeWithValue (AuraType auraType, int32 value) const |
| |
| bool | HasAuraTypeWithTriggerSpell (AuraType auratype, uint32 triggerSpell) const |
| |
| bool | HasNegativeAuraWithInterruptFlag (uint32 flag, ObjectGuid guid=ObjectGuid::Empty) const |
| |
| bool | HasAuraWithMechanic (uint32 mechanicMask) const |
| |
| bool | HasStrongerAuraWithDR (SpellInfo const *auraSpellInfo, Unit *caster, bool triggered) const |
| |
| AuraEffect * | IsScriptOverriden (SpellInfo const *spell, int32 script) const |
| |
| uint32 | GetDiseasesByCaster (ObjectGuid casterGUID, bool remove=false) |
| |
| uint32 | GetDoTsByCaster (ObjectGuid casterGUID) const |
| |
| int32 | GetTotalAuraModifier (AuraType auraType) const |
| |
| float | GetTotalAuraMultiplier (AuraType auraType) const |
| |
| int32 | GetMaxPositiveAuraModifier (AuraType auraType) const |
| |
| int32 | GetMaxNegativeAuraModifier (AuraType auraType) const |
| |
| int32 | GetTotalAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const |
| |
| float | GetTotalAuraMultiplier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const |
| |
| int32 | GetMaxPositiveAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const |
| |
| int32 | GetMaxNegativeAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const |
| |
| int32 | GetTotalAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const |
| |
| float | GetTotalAuraMultiplierByMiscMask (AuraType auraType, uint32 misc_mask) const |
| |
| int32 | GetMaxPositiveAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask, AuraEffect const *except=nullptr) const |
| |
| int32 | GetMaxNegativeAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const |
| |
| int32 | GetTotalAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const |
| |
| float | GetTotalAuraMultiplierByMiscValue (AuraType auraType, int32 misc_value) const |
| |
| int32 | GetMaxPositiveAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const |
| |
| int32 | GetMaxNegativeAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const |
| |
| int32 | GetTotalAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const |
| |
| float | GetTotalAuraMultiplierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const |
| |
| int32 | GetMaxPositiveAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const |
| |
| int32 | GetMaxNegativeAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const |
| |
| void | UpdateResistanceBuffModsMod (SpellSchools school) |
| |
| void | InitStatBuffMods () |
| |
| void | UpdateStatBuffMod (Stats stat) |
| |
| void | SetCreateStat (Stats stat, float val) |
| |
| void | SetCreateHealth (uint32 val) |
| |
| uint32 | GetCreateHealth () const |
| |
| void | SetCreateMana (uint32 val) |
| |
| uint32 | GetCreateMana () const |
| |
| uint32 | GetCreatePowerValue (Powers power) const |
| |
| float | GetPosStat (Stats stat) const |
| |
| float | GetNegStat (Stats stat) const |
| |
| float | GetCreateStat (Stats stat) const |
| |
| uint32 | GetChannelSpellId () const |
| |
| void | SetChannelSpellId (uint32 channelSpellId) |
| |
| ObjectGuid | GetChannelObjectGuid () const |
| |
| void | SetChannelObjectGuid (ObjectGuid guid) |
| |
| void | SetCurrentCastSpell (Spell *pSpell) |
| |
| void | InterruptSpell (CurrentSpellTypes spellType, bool withDelayed=true, bool withInstant=true, SpellCastResult result=SPELL_FAILED_INTERRUPTED, Optional< SpellCastResult > resultOther={}) |
| |
| void | FinishSpell (CurrentSpellTypes spellType, bool ok=true) |
| |
| bool | IsNonMeleeSpellCast (bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const |
| |
| void | InterruptNonMeleeSpells (bool withDelayed, uint32 spellid=0, bool withInstant=true) |
| |
| Spell * | GetCurrentSpell (CurrentSpellTypes spellType) const |
| |
| Spell * | GetCurrentSpell (uint32 spellType) const |
| |
| Spell * | FindCurrentSpellBySpellId (uint32 spell_id) const |
| |
| int32 | GetCurrentSpellCastTime (uint32 spell_id) const |
| |
| SpellHistory * | GetSpellHistory () |
| |
| SpellHistory const * | GetSpellHistory () const |
| |
| ShapeshiftForm | GetShapeshiftForm () const |
| |
| void | SetShapeshiftForm (ShapeshiftForm form) |
| |
| bool | IsInFeralForm () const |
| |
| bool | IsInDisallowedMountForm () const |
| |
| void | HandleStatFlatModifier (UnitMods unitMod, UnitModifierFlatType modifierType, float amount, bool apply) |
| |
| void | ApplyStatPctModifier (UnitMods unitMod, UnitModifierPctType modifierType, float amount) |
| |
| void | SetStatFlatModifier (UnitMods unitMod, UnitModifierFlatType modifierType, float val) |
| |
| void | SetStatPctModifier (UnitMods unitMod, UnitModifierPctType modifierType, float val) |
| |
| float | GetFlatModifierValue (UnitMods unitMod, UnitModifierFlatType modifierType) const |
| |
| float | GetPctModifierValue (UnitMods unitMod, UnitModifierPctType modifierType) const |
| |
| void | UpdateUnitMod (UnitMods unitMod) |
| |
| virtual bool | CheckAttackFitToAuraRequirement (WeaponAttackType, AuraEffect const *) const |
| |
| virtual void | UpdateDamageDoneMods (WeaponAttackType attackType, int32 skipEnchantSlot=-1) |
| |
| void | UpdateAllDamageDoneMods () |
| |
| void | UpdateDamagePctDoneMods (WeaponAttackType attackType) |
| |
| void | UpdateAllDamagePctDoneMods () |
| |
| float | GetTotalStatValue (Stats stat) const |
| |
| float | GetTotalAuraModValue (UnitMods unitMod) const |
| |
| SpellSchools | GetSpellSchoolByAuraGroup (UnitMods unitMod) const |
| |
| Stats | GetStatByAuraGroup (UnitMods unitMod) const |
| |
| Powers | GetPowerTypeByAuraGroup (UnitMods unitMod) const |
| |
| bool | CanModifyStats () const |
| |
| void | SetCanModifyStats (bool modifyStats) |
| |
| virtual void | UpdateAllResistances () |
| |
| void | SetAttackPower (int32 attackPower) |
| |
| void | SetAttackPowerModPos (int32 attackPowerMod) |
| |
| void | SetAttackPowerModNeg (int32 attackPowerMod) |
| |
| void | SetAttackPowerMultiplier (float attackPowerMult) |
| |
| void | SetRangedAttackPower (int32 attackPower) |
| |
| void | SetRangedAttackPowerModPos (int32 attackPowerMod) |
| |
| void | SetRangedAttackPowerModNeg (int32 attackPowerMod) |
| |
| void | SetRangedAttackPowerMultiplier (float attackPowerMult) |
| |
| float | GetTotalAttackPowerValue (WeaponAttackType attType) const |
| |
| float | GetWeaponDamageRange (WeaponAttackType attType, WeaponDamageRange type, uint8 damageIndex=0) const |
| |
| void | SetBaseWeaponDamage (WeaponAttackType attType, WeaponDamageRange damageRange, float value, uint8 damageIndex=0) |
| |
| uint32 | CalculateDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, uint8 itemDamagesMask=0) const |
| |
| float | GetAPMultiplier (WeaponAttackType attType, bool normalized) const |
| |
| bool | isInFrontInMap (Unit const *target, float distance, float arc=float(M_PI)) const |
| |
| bool | isInBackInMap (Unit const *target, float distance, float arc=float(M_PI)) const |
| |
| bool | IsVisible () const |
| |
| void | SetVisible (bool x) |
| |
| void | SetPhaseMask (uint32 newPhaseMask, bool update) override |
| |
| void | UpdateObjectVisibility (bool forced=true) override |
| |
| VisibleAuraMap const & | GetVisibleAuras () const |
| |
| AuraApplication * | GetVisibleAura (uint8 slot) const |
| |
| void | SetVisibleAura (uint8 slot, AuraApplication *aurApp) |
| |
| void | RemoveVisibleAura (uint8 slot) |
| |
| bool | HasInterruptFlag (uint32 flags) const |
| |
| void | AddInterruptMask (uint32 flags) |
| |
| void | UpdateInterruptMask () |
| |
| virtual void | RecalculateObjectScale () |
| |
| uint32 | GetDisplayId () const |
| |
| uint32 | GetNativeDisplayId () const |
| |
| void | RestoreDisplayId () |
| |
| void | SetNativeDisplayId (uint32 displayId) |
| |
| void | SetTransformSpell (uint32 spellid) |
| |
| uint32 | GetTransformSpell () const |
| |
| void | _RegisterDynObject (DynamicObject *dynObj) |
| |
| void | _UnregisterDynObject (DynamicObject *dynObj) |
| |
| DynamicObject * | GetDynObject (uint32 spellId) const |
| |
| std::vector< DynamicObject * > | GetDynObjects (uint32 spellId) const |
| |
| void | RemoveDynObject (uint32 spellId) |
| |
| void | RemoveAllDynObjects () |
| |
| GameObject * | GetGameObject (uint32 spellId) const |
| |
| std::vector< GameObject * > | GetGameObjects (uint32 spellId) const |
| |
| void | AddGameObject (GameObject *gameObj) |
| |
| void | RemoveGameObject (GameObject *gameObj, bool del) |
| |
| void | RemoveGameObject (uint32 spellid, bool del) |
| |
| void | RemoveAllGameObjects () |
| |
| void | ModifyAuraState (AuraStateType flag, bool apply) |
| |
| uint32 | BuildAuraStateUpdateForTarget (Unit const *target) const |
| |
| bool | HasAuraState (AuraStateType flag, SpellInfo const *spellProto=nullptr, Unit const *Caster=nullptr) const |
| |
| void | UnsummonAllTotems () |
| |
| bool | IsMagnet () const |
| |
| Unit * | GetMeleeHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo=nullptr) |
| |
| int32 | SpellBaseDamageBonusDone (SpellSchoolMask schoolMask) const |
| |
| uint32 | SpellDamageBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo, Optional< float > const &donePctTotal, uint32 stack=1) const |
| |
| float | SpellDamagePctDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype) const |
| |
| uint32 | SpellDamageBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype) const |
| |
| int32 | SpellBaseHealingBonusDone (SpellSchoolMask schoolMask) const |
| |
| uint32 | SpellHealingBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo, Optional< float > const &donePctTotal, uint32 stack=1) const |
| |
| float | SpellHealingPctDone (Unit *victim, SpellInfo const *spellProto) const |
| |
| uint32 | SpellHealingBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype) const |
| |
| uint32 | MeleeDamageBonusDone (Unit *pVictim, uint32 damage, WeaponAttackType attType, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL) |
| |
| uint32 | MeleeDamageBonusTaken (Unit *attacker, uint32 pdamage, WeaponAttackType attType, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL) |
| |
| bool | IsBlockCritical () |
| |
| float | SpellCritChanceDone (SpellInfo const *spellInfo, SpellSchoolMask schoolMask, WeaponAttackType attackType=BASE_ATTACK, bool isPeriodic=false) const |
| |
| float | SpellCritChanceTaken (Unit const *caster, SpellInfo const *spellInfo, SpellSchoolMask schoolMask, float doneChance, WeaponAttackType attackType=BASE_ATTACK, bool isPeriodic=false) const |
| |
| void | SetLastManaUse (uint32 spellCastTime) |
| |
| bool | IsUnderLastManaUseEffect () const |
| |
| uint32 | GetCastingTimeForBonus (SpellInfo const *spellProto, DamageEffectType damagetype, uint32 CastingTime) const |
| |
| float | CalculateDefaultCoefficient (SpellInfo const *spellInfo, DamageEffectType damagetype) const |
| |
| void | ApplySpellImmune (uint32 spellId, uint32 op, uint32 type, bool apply) |
| |
| uint32 | GetSchoolImmunityMask () const |
| |
| uint32 | GetDamageImmunityMask () const |
| |
| uint32 | GetMechanicImmunityMask () const |
| |
| bool | IsImmunedToDamage (SpellSchoolMask meleeSchoolMask) const |
| |
| bool | IsImmunedToDamage (SpellInfo const *spellInfo) const |
| |
| void | UpdateSpeed (UnitMoveType mtype) |
| |
| float | GetSpeed (UnitMoveType mtype) const |
| |
| float | GetSpeedRate (UnitMoveType mtype) const |
| |
| void | SetSpeed (UnitMoveType mtype, float newValue) |
| |
| void | SetSpeedRate (UnitMoveType mtype, float rate) |
| |
| float | CalculateSpellpowerCoefficientLevelPenalty (SpellInfo const *spellInfo) const |
| |
| void | FollowerAdded (AbstractFollower *f) |
| |
| void | FollowerRemoved (AbstractFollower *f) |
| |
| void | RemoveAllFollowers () |
| |
| MotionMaster * | GetMotionMaster () |
| |
| MotionMaster const * | GetMotionMaster () const |
| |
| bool | IsStopped () const |
| |
| void | StopMoving (bool force=false) |
| |
| void | PauseMovement (uint32 timer=0, uint8 slot=0, bool forced=true) |
| |
| void | ResumeMovement (uint32 timer=0, uint8 slot=0) |
| |
| void | AddUnitMovementFlag (uint32 f) |
| |
| void | RemoveUnitMovementFlag (uint32 f) |
| |
| bool | HasUnitMovementFlag (uint32 f) const |
| |
| uint32 | GetUnitMovementFlags () const |
| |
| void | SetUnitMovementFlags (uint32 f) |
| |
| void | AddExtraUnitMovementFlag (uint32 f) |
| |
| void | RemoveExtraUnitMovementFlag (uint32 f) |
| |
| bool | HasExtraUnitMovementFlag (uint32 f) const |
| |
| uint32 | GetExtraUnitMovementFlags () const |
| |
| void | SetExtraUnitMovementFlags (uint32 f) |
| |
| bool | IsSplineEnabled () const |
| |
| void | SetControlled (bool apply, UnitState state) |
| |
| void | ApplyControlStatesIfNeeded () |
| |
| uint8 | GetComboPoints (Unit const *who=nullptr) const |
| | --------—Combo point system----------------—
|
| |
| uint8 | GetComboPoints (ObjectGuid const &guid) const |
| |
| Unit * | GetComboTarget () const |
| |
| ObjectGuid | GetComboTargetGUID () const |
| |
| void | AddComboPoints (Unit *target, int8 count) |
| |
| void | AddComboPoints (int8 count) |
| |
| void | ClearComboPoints () |
| |
| void | SendComboPoints () |
| |
| void | AddComboPointHolder (Unit *unit) |
| |
| void | RemoveComboPointHolder (Unit *unit) |
| |
| void | ClearComboPointHolders () |
| |
| void | SendPetActionFeedback (PetActionFeedback msg, uint32 spellId) const |
| | -------—Pet responses methods--------------—
|
| |
| void | SendPetActionSound (PetAction action) const |
| |
| void | SendPetDismissSound () const |
| |
| void | SendPetAIReaction (ObjectGuid guid) const |
| |
| void | PropagateSpeedChange () |
| | -------—End of Pet responses methods-------—
|
| |
| void | ClearAllReactives () |
| |
| void | StartReactiveTimer (ReactiveType reactive) |
| |
| void | UpdateReactives (uint32 p_time) |
| |
| void | UpdateAuraForGroup (uint8 slot) |
| |
| bool | CanProc () const |
| |
| void | SetCantProc (bool apply) |
| |
| uint32 | GetModelForForm (ShapeshiftForm form, uint32 spellId) const |
| |
| bool | CreateVehicleKit (uint32 id, uint32 creatureEntry) |
| |
| void | RemoveVehicleKit () |
| |
| Vehicle * | GetVehicleKit () const |
| |
| Trinity::unique_weak_ptr< Vehicle > | GetVehicleKitWeakPtr () const |
| |
| Vehicle * | GetVehicle () const |
| |
| void | SetVehicle (Vehicle *vehicle) |
| |
| bool | IsOnVehicle (Unit const *vehicle) const |
| |
| Unit * | GetVehicleBase () const |
| |
| Unit * | GetVehicleRoot () const |
| |
| Creature * | GetVehicleCreatureBase () const |
| |
| ObjectGuid | GetTransGUID () const override |
| |
| TransportBase * | GetDirectTransport () const |
| | Returns the transport this unit is on directly (if on vehicle and transport, return vehicle)
|
| |
| void | HandleSpellClick (Unit *clicker, int8 seatId=-1) |
| |
| void | EnterVehicle (Unit *base, int8 seatId=-1) |
| |
| void | ChangeSeat (int8 seatId, bool next=true) |
| |
| void | _ExitVehicle (Position const *exitPosition=nullptr) |
| |
| void | _EnterVehicle (Vehicle *vehicle, int8 seatId, AuraApplication const *aurApp=nullptr) |
| |
| void | BuildMovementPacket (ByteBuffer *data) const |
| |
| bool | isMoving () const |
| |
| bool | isTurning () const |
| |
| bool | IsFlying () const |
| |
| bool | IsFalling () const |
| |
| float | GetHoverOffset () const |
| |
| uint32 | GetMovementCounterAndInc () |
| |
| PlayerMovementPendingChange & | PeakFirstPendingMovementChange () |
| |
| PlayerMovementPendingChange | PopPendingMovementChange () |
| |
| void | PushPendingMovementChange (PlayerMovementPendingChange newChange) |
| |
| bool | HasPendingMovementChange () const |
| |
| bool | HasPendingMovementChange (MovementChangeType changeType) const |
| |
| void | PurgeAndApplyPendingMovementChanges (bool informObservers=true) |
| |
| void | RewardRage (uint32 damage, uint32 weaponSpeedHitFactor, bool attacker) |
| |
| void | OutDebugInfo () const |
| |
| virtual bool | IsLoading () const |
| |
| bool | IsDuringRemoveFromWorld () const |
| |
| Pet * | ToPet () |
| |
| Pet const * | ToPet () const |
| |
| Totem * | ToTotem () |
| |
| Totem const * | ToTotem () const |
| |
| TempSummon * | ToTempSummon () |
| |
| TempSummon const * | ToTempSummon () const |
| |
| ObjectGuid | GetTarget () const |
| |
| void | SetInstantCast (bool set) |
| |
| bool | CanInstantCast () const |
| |
| int32 | GetHighestExclusiveSameEffectSpellGroupValue (AuraEffect const *aurEff, AuraType auraType, bool checkMiscValue=false, int32 miscValue=0) const |
| |
| bool | IsHighestExclusiveAura (Aura const *aura, bool removeOtherAuraApplications=false) |
| |
| bool | IsHighestExclusiveAuraEffect (SpellInfo const *spellInfo, AuraType auraType, int32 effectAmount, uint8 auraEffectMask, bool removeOtherAuraApplications=false) |
| |
| virtual void | Talk (std::string_view text, ChatMsg msgType, Language language, float textRange, WorldObject const *target) |
| |
| virtual void | Say (std::string_view text, Language language, WorldObject const *target=nullptr) |
| |
| virtual void | Yell (std::string_view text, Language language, WorldObject const *target=nullptr) |
| |
| virtual void | TextEmote (std::string_view text, WorldObject const *target=nullptr, bool isBossEmote=false) |
| |
| virtual void | Whisper (std::string_view text, Language language, Player *target, bool isBossWhisper=false) |
| |
| virtual void | Talk (uint32 textId, ChatMsg msgType, float textRange, WorldObject const *target) |
| |
| virtual void | Say (uint32 textId, WorldObject const *target=nullptr) |
| |
| virtual void | Yell (uint32 textId, WorldObject const *target=nullptr) |
| |
| virtual void | TextEmote (uint32 textId, WorldObject const *target=nullptr, bool isBossEmote=false) |
| |
| virtual void | Whisper (uint32 textId, Player *target, bool isBossWhisper=false) |
| |
| float | GetCollisionHeight () const override |
| |
| uint32 | GetVirtualItemId (uint32 slot) const |
| |
| void | SetVirtualItem (uint32 slot, uint32 itemId) |
| |
| bool | IsCombatDisallowed () const |
| |
| void | SetIsCombatDisallowed (bool apply) |
| |
| std::string | GetDebugInfo () const override |
| |
| virtual | ~WorldObject () |
| |
| void | AddToWorld () override |
| |
| void | RemoveFromWorld () override |
| |
| void | GetNearPoint2D (WorldObject const *searcher, float &x, float &y, float distance, float absAngle) const |
| |
| void | GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float distance2d, float absAngle) const |
| |
| void | GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float relAngle=0) const |
| |
| void | MovePosition (Position &pos, float dist, float angle) |
| |
| Position | GetNearPosition (float dist, float angle) |
| |
| void | MovePositionToFirstCollision (Position &pos, float dist, float angle) |
| |
| Position | GetFirstCollisionPosition (float dist, float angle) |
| |
| Position | GetRandomNearPosition (float radius) |
| |
| void | GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const |
| |
| void | UpdateGroundPositionZ (float x, float y, float &z) const |
| |
| void | UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const |
| |
| void | GetRandomPoint (Position const &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const |
| |
| Position | GetRandomPoint (Position const &srcPos, float distance) const |
| |
| uint32 | GetInstanceId () const |
| |
| uint32 | GetPhaseMask () const |
| |
| bool | InSamePhase (uint32 phasemask) const |
| |
| bool | InSamePhase (WorldObject const *obj) const |
| |
| uint32 | GetZoneId () const |
| |
| uint32 | GetAreaId () const |
| |
| void | GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const |
| |
| bool | IsInWorldPvpZone () const |
| |
| bool | IsOutdoors () const |
| |
| ZLiquidStatus | GetLiquidStatus () const |
| |
| InstanceScript * | GetInstanceScript () const |
| |
| std::string const & | GetName () const |
| |
| void | SetName (std::string newname) |
| |
| float | GetDistance (WorldObject const *obj) const |
| |
| float | GetDistance (Position const &pos) const |
| |
| float | GetDistance (float x, float y, float z) const |
| |
| float | GetDistance2d (WorldObject const *obj) const |
| |
| float | GetDistance2d (float x, float y) const |
| |
| float | GetDistanceZ (WorldObject const *obj) const |
| |
| bool | IsSelfOrInSameMap (WorldObject const *obj) const |
| |
| bool | IsInMap (WorldObject const *obj) const |
| |
| bool | IsWithinDist3d (float x, float y, float z, float dist) const |
| |
| bool | IsWithinDist3d (Position const *pos, float dist) const |
| |
| bool | IsWithinDist2d (float x, float y, float dist) const |
| |
| bool | IsWithinDist2d (Position const *pos, float dist) const |
| |
| bool | IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true) const |
| |
| bool | IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const |
| |
| bool | IsWithinLOS (float x, float y, float z, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const |
| |
| bool | IsWithinLOSInMap (WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const |
| |
| Position | GetHitSpherePointFor (Position const &dest) const |
| |
| void | GetHitSpherePointFor (Position const &dest, float &x, float &y, float &z) const |
| |
| bool | GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) 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 | isInFront (WorldObject const *target, float arc=float(M_PI)) const |
| |
| bool | isInBack (WorldObject const *target, float arc=float(M_PI)) const |
| |
| bool | IsInBetween (Position const &pos1, Position const &pos2, float size=0) const |
| |
| bool | IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const |
| |
| virtual void | SendMessageToSet (WorldPacket const *data, bool self) const |
| |
| virtual void | SendMessageToSetInRange (WorldPacket const *data, float dist, bool self) const |
| |
| virtual void | SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) const |
| |
| void | PlayDistanceSound (uint32 soundId, Player *target=nullptr) |
| |
| void | PlayDirectSound (uint32 soundId, Player *target=nullptr) |
| |
| void | PlayDirectMusic (uint32 musicId, Player *target=nullptr) |
| |
| void | SendObjectDeSpawnAnim (ObjectGuid guid) |
| |
| void | AddObjectToRemoveList () |
| |
| float | GetGridActivationRange () const |
| |
| float | GetVisibilityRange () const |
| |
| float | GetSightRange (WorldObject const *target=nullptr) const |
| |
| bool | CanSeeOrDetect (WorldObject const *obj, bool implicitDetect=false, bool distanceCheck=false, bool checkAlert=false) const |
| |
| virtual void | SetMap (Map *map) |
| |
| virtual void | ResetMap () |
| |
| Map * | GetMap () const |
| |
| Map * | FindMap () const |
| |
| void | SetZoneScript () |
| |
| void | ClearZoneScript () |
| |
| ZoneScript * | GetZoneScript () const |
| |
| TempSummon * | SummonCreature (uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty) |
| |
| TempSummon * | SummonCreature (uint32 entry, float x, float y, float z, float o=0, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, ObjectGuid privateObjectOwner=ObjectGuid::Empty) |
| |
| GameObject * | SummonGameObject (uint32 entry, Position const &pos, QuaternionData const &rot, Seconds respawnTime, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN) |
| |
| GameObject * | SummonGameObject (uint32 entry, float x, float y, float z, float ang, QuaternionData const &rot, Seconds respawnTime, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN) |
| |
| Creature * | SummonTrigger (float x, float y, float z, float ang, Milliseconds despawnTime, CreatureAI *(*GetAI)(Creature *)=nullptr) |
| |
| void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr) |
| |
| Creature * | FindNearestCreature (uint32 entry, float range, bool alive=true) const |
| |
| Creature * | FindNearestCreatureWithOptions (float range, FindCreatureOptions const &options) const |
| |
| GameObject * | FindNearestGameObject (uint32 entry, float range, bool spawnedOnly=true) const |
| |
| GameObject * | FindNearestGameObjectWithOptions (float range, FindGameObjectOptions const &options) const |
| |
| GameObject * | FindNearestUnspawnedGameObject (uint32 entry, float range) const |
| |
| GameObject * | FindNearestGameObjectOfType (GameobjectTypes type, float range) const |
| |
| Player * | SelectNearestPlayer (float distance) const |
| |
| ObjectGuid | GetCharmerOrOwnerOrOwnGUID () const |
| |
| Unit * | GetOwner () const |
| |
| Unit * | GetCharmerOrOwner () const |
| |
| Unit * | GetCharmerOrOwnerOrSelf () const |
| |
| Player * | GetCharmerOrOwnerPlayerOrPlayerItself () const |
| |
| Player * | GetAffectingPlayer () const |
| |
| Player * | GetSpellModOwner () const |
| |
| int32 | CalculateSpellDamage (SpellEffectInfo const &spellEffectInfo, int32 const *basePoints=nullptr) const |
| |
| float | GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| |
| float | GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| |
| float | ApplyEffectModifiers (SpellInfo const *spellInfo, uint8 effIndex, float value) const |
| |
| int32 | CalcSpellDuration (SpellInfo const *spellInfo) const |
| |
| int32 | ModSpellDuration (SpellInfo const *spellInfo, WorldObject const *target, int32 duration, bool positive, uint32 effectMask) const |
| |
| void | ModSpellCastTime (SpellInfo const *spellInfo, int32 &castTime, Spell *spell=nullptr) const |
| |
| void | ModSpellDurationTime (SpellInfo const *spellInfo, int32 &durationTime, Spell *spell=nullptr) const |
| |
| SpellMissInfo | MagicSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const |
| |
| SpellMissInfo | SpellHitResult (Unit *victim, SpellInfo const *spellInfo, bool canReflect=false) const |
| |
| void | SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo) |
| |
| FactionTemplateEntry const * | GetFactionTemplateEntry () const |
| |
| ReputationRank | GetReactionTo (WorldObject const *target) const |
| |
| bool | IsHostileTo (WorldObject const *target) const |
| |
| bool | IsHostileToPlayers () const |
| |
| bool | IsFriendlyTo (WorldObject const *target) const |
| |
| bool | IsNeutralToAll () const |
| |
| SpellCastResult | CastSpell (CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ }) |
| |
| bool | IsValidAttackTarget (WorldObject const *target, SpellInfo const *bySpell=nullptr) const |
| |
| bool | IsValidAssistTarget (WorldObject const *target, SpellInfo const *bySpell=nullptr) const |
| |
| Unit * | GetMagicHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo) |
| |
| template<typename Container > |
| void | GetGameObjectListWithEntryInGrid (Container &gameObjectContainer, uint32 entry, float maxSearchRange=250.0f) const |
| |
| template<typename Container > |
| void | GetGameObjectListWithOptionsInGrid (Container &gameObjectContainer, float maxSearchRange, FindGameObjectOptions const &options) const |
| |
| template<typename Container > |
| void | GetCreatureListWithEntryInGrid (Container &creatureContainer, uint32 entry, float maxSearchRange=250.0f) const |
| |
| template<typename Container > |
| void | GetCreatureListWithOptionsInGrid (Container &creatureContainer, float maxSearchRange, FindCreatureOptions const &options) const |
| |
| template<typename Container > |
| void | GetPlayerListInGrid (Container &playerContainer, float maxSearchRange, bool alive=true) const |
| |
| void | DestroyForNearbyPlayers () |
| |
| void | UpdatePositionData () |
| |
| void | BuildUpdate (UpdateDataMapType &) override |
| |
| bool | AddToObjectUpdate () override |
| |
| void | RemoveFromObjectUpdate () override |
| |
| void | AddToNotify (uint16 f) |
| |
| bool | isNeedNotify (uint16 f) const |
| |
| uint16 | GetNotifyFlags () const |
| |
| void | ResetAllNotifies () |
| |
| bool | isActiveObject () const |
| |
| void | setActive (bool isActiveObject) |
| |
| bool | IsFarVisible () const |
| |
| void | SetFarVisible (bool on) |
| |
| bool | IsVisibilityOverridden () const |
| |
| void | SetVisibilityDistanceOverride (VisibilityDistanceType type) |
| |
| void | SetIsStoredInWorldObjectGridContainer (bool apply) |
| |
| bool | IsAlwaysStoredInWorldObjectGridContainer () const |
| |
| bool | IsStoredInWorldObjectGridContainer () const |
| |
| Transport * | GetTransport () const |
| |
| float | GetTransOffsetX () const |
| |
| float | GetTransOffsetY () const |
| |
| float | GetTransOffsetZ () const |
| |
| float | GetTransOffsetO () const |
| |
| Position const & | GetTransOffset () const |
| |
| uint32 | GetTransTime () const |
| |
| int8 | GetTransSeat () const |
| |
| void | SetTransport (Transport *t) |
| |
| virtual float | GetStationaryX () const |
| |
| virtual float | GetStationaryY () const |
| |
| virtual float | GetStationaryZ () const |
| |
| virtual float | GetStationaryO () const |
| |
| float | GetFloorZ () const |
| |
| float | GetMapWaterOrGroundLevel (float x, float y, float z, float *ground=nullptr) const |
| |
| float | GetMapHeight (float x, float y, float z, bool vmap=true, float distanceToSearch=50.0f) const |
| |
| std::string | GetDebugInfo () const override |
| |
| bool | IsPrivateObject () const |
| |
| ObjectGuid | GetPrivateObjectOwner () const |
| |
| void | SetPrivateObjectOwner (ObjectGuid const &owner) |
| |
| bool | CheckPrivateObjectOwnerVisibility (WorldObject const *seer) const |
| |
| virtual | ~Object () |
| |
| bool | IsInWorld () const |
| |
| ObjectGuid | GetGUID () const |
| |
| PackedGuid const & | GetPackGUID () const |
| |
| uint32 | GetEntry () const |
| |
| void | SetEntry (uint32 entry) |
| |
| float | GetObjectScale () const |
| |
| bool | HasDynamicFlag (uint32 flag) const |
| |
| virtual void | SetDynamicFlag (uint32 flag) |
| |
| virtual void | RemoveDynamicFlag (uint32 flag) |
| |
| TypeID | GetTypeId () const |
| |
| bool | isType (uint16 mask) const |
| |
| virtual void | BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const |
| |
| void | SendUpdateToPlayer (Player *player) |
| |
| void | BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const |
| |
| void | BuildOutOfRangeUpdateBlock (UpdateData *data) const |
| |
| void | BuildMovementUpdateBlock (UpdateData *data, uint32 flags=0) const |
| |
| int32 | GetInt32Value (uint16 index) const |
| |
| uint32 | GetUInt32Value (uint16 index) const |
| |
| uint64 | GetUInt64Value (uint16 index) const |
| |
| float | GetFloatValue (uint16 index) const |
| |
| uint8 | GetByteValue (uint16 index, uint8 offset) const |
| |
| uint16 | GetUInt16Value (uint16 index, uint8 offset) const |
| |
| ObjectGuid | GetGuidValue (uint16 index) const |
| |
| void | SetInt32Value (uint16 index, int32 value) |
| |
| void | SetUInt32Value (uint16 index, uint32 value) |
| |
| void | UpdateUInt32Value (uint16 index, uint32 value) |
| |
| void | SetUInt64Value (uint16 index, uint64 value) |
| |
| void | SetFloatValue (uint16 index, float value) |
| |
| void | SetByteValue (uint16 index, uint8 offset, uint8 value) |
| |
| void | SetUInt16Value (uint16 index, uint8 offset, uint16 value) |
| |
| void | SetInt16Value (uint16 index, uint8 offset, int16 value) |
| |
| void | SetGuidValue (uint16 index, ObjectGuid value) |
| |
| void | SetStatFloatValue (uint16 index, float value) |
| |
| void | SetStatInt32Value (uint16 index, int32 value) |
| |
| bool | AddGuidValue (uint16 index, ObjectGuid value) |
| |
| bool | RemoveGuidValue (uint16 index, ObjectGuid value) |
| |
| void | ApplyModUInt32Value (uint16 index, int32 val, 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 | SetFlag (uint16 index, uint32 newFlag) |
| |
| void | RemoveFlag (uint16 index, uint32 oldFlag) |
| |
| void | ToggleFlag (uint16 index, uint32 flag) |
| |
| bool | HasFlag (uint16 index, uint32 flag) const |
| |
| void | ApplyModFlag (uint16 index, uint32 flag, bool apply) |
| |
| void | SetByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| |
| void | RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| |
| void | ToggleByteFlag (uint16 index, uint8 offset, uint8 flag) |
| |
| bool | HasByteFlag (uint16 index, uint8 offset, uint8 flag) const |
| |
| void | ApplyModByteFlag (uint16 index, uint8 offset, uint8 flag, bool apply) |
| |
| void | SetFlag64 (uint16 index, uint64 newFlag) |
| |
| void | RemoveFlag64 (uint16 index, uint64 oldFlag) |
| |
| void | ToggleFlag64 (uint16 index, uint64 flag) |
| |
| bool | HasFlag64 (uint16 index, uint64 flag) const |
| |
| void | ApplyModFlag64 (uint16 index, uint64 flag, bool apply) |
| |
| void | ClearUpdateMask (bool remove) |
| |
| uint16 | GetValuesCount () const |
| |
| void | SetIsNewObject (bool enable) |
| |
| void | BuildFieldsUpdate (Player *, UpdateDataMapType &) const |
| |
| void | SetFieldNotifyFlag (uint16 flag) |
| |
| void | RemoveFieldNotifyFlag (uint16 flag) |
| |
| void | ForceValuesUpdateAtIndex (uint32) |
| |
| bool | IsWorldObject () const |
| |
| WorldObject * | ToWorldObject () |
| |
| WorldObject const * | ToWorldObject () const |
| |
| bool | IsItem () const |
| |
| Item * | ToItem () |
| |
| Item const * | ToItem () const |
| |
| bool | IsPlayer () const |
| |
| Player * | ToPlayer () |
| |
| Player const * | ToPlayer () const |
| |
| bool | IsCreature () const |
| |
| Creature * | ToCreature () |
| |
| Creature const * | ToCreature () const |
| |
| bool | IsUnit () const |
| |
| Unit * | ToUnit () |
| |
| Unit const * | ToUnit () const |
| |
| bool | IsGameObject () const |
| |
| GameObject * | ToGameObject () |
| |
| GameObject const * | ToGameObject () const |
| |
| bool | IsCorpse () const |
| |
| Corpse * | ToCorpse () |
| |
| Corpse const * | ToCorpse () const |
| |
| bool | IsDynObject () const |
| |
| DynamicObject * | ToDynObject () |
| |
| DynamicObject const * | ToDynObject () const |
| |
| Trinity::unique_weak_ptr< Object > | GetWeakPtr () const |
| |
| | WorldLocation () |
| |
| | WorldLocation (uint32 _mapId, float x, float y, float z=0.0f, float o=0.0f) |
| |
| | WorldLocation (uint32 mapId, Position const &position) |
| |
| void | WorldRelocate (WorldLocation const &loc) |
| |
| void | WorldRelocate (WorldLocation const *loc) |
| |
| void | WorldRelocate (uint32 mapId, Position const &pos) |
| |
| void | WorldRelocate (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) |
| |
| WorldLocation | GetWorldLocation () const |
| |
| uint32 | GetMapId () const |
| |
| std::string | GetDebugInfo () const |
| |
| | Position () |
| |
| | Position (float x, float y, float z=0.0f, float o=0.0f) |
| |
| bool | operator== (Position const &a) const |
| |
| void | Relocate (float x, float y) |
| |
| void | Relocate (float x, float y, float z) |
| |
| void | Relocate (float x, float y, float z, float o) |
| |
| void | Relocate (Position const &pos) |
| |
| void | Relocate (Position const *pos) |
| |
| void | RelocateOffset (Position const &offset) |
| |
| void | SetOrientation (float orientation) |
| |
| float | GetPositionX () const |
| |
| float | GetPositionY () const |
| |
| float | GetPositionZ () 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 |
| |
| Position | GetPosition () const |
| |
| Streamer< XY > | PositionXYStream () |
| |
| ConstStreamer< XY > | PositionXYStream () const |
| |
| Streamer< XYZ > | PositionXYZStream () |
| |
| ConstStreamer< XYZ > | PositionXYZStream () const |
| |
| Streamer< XYZO > | PositionXYZOStream () |
| |
| ConstStreamer< XYZO > | PositionXYZOStream () const |
| |
| Streamer< PackedXYZ > | PositionPackedXYZStream () |
| |
| ConstStreamer< PackedXYZ > | PositionPackedXYZStream () const |
| |
| bool | IsPositionValid () const |
| |
| float | GetExactDist2dSq (const float x, const float y) const |
| |
| float | GetExactDist2dSq (Position const &pos) const |
| |
| float | GetExactDist2dSq (Position const *pos) const |
| |
| float | GetExactDist2d (const float x, const float y) const |
| |
| float | GetExactDist2d (Position const &pos) const |
| |
| float | GetExactDist2d (Position const *pos) const |
| |
| float | GetExactDistSq (float x, float y, float z) const |
| |
| float | GetExactDistSq (Position const &pos) const |
| |
| float | GetExactDistSq (Position const *pos) const |
| |
| float | GetExactDist (float x, float y, float z) const |
| |
| float | GetExactDist (Position const &pos) const |
| |
| float | GetExactDist (Position const *pos) const |
| |
| void | GetPositionOffsetTo (Position const &endPos, Position &retOffset) const |
| |
| Position | GetPositionWithOffset (Position const &offset) const |
| |
| float | GetAbsoluteAngle (float x, float y) const |
| |
| float | GetAbsoluteAngle (Position const &pos) const |
| |
| float | GetAbsoluteAngle (Position const *pos) const |
| |
| float | ToAbsoluteAngle (float relAngle) const |
| |
| float | ToRelativeAngle (float absAngle) const |
| |
| float | GetRelativeAngle (float x, float y) const |
| |
| float | GetRelativeAngle (Position const &pos) const |
| |
| float | GetRelativeAngle (Position const *pos) const |
| |
| void | GetSinCos (float x, float y, float &vsin, float &vcos) const |
| |
| bool | IsInDist2d (float x, float y, float dist) const |
| |
| bool | IsInDist2d (Position const *pos, float dist) const |
| |
| bool | IsInDist (float x, float y, float z, float dist) const |
| |
| bool | IsInDist (Position const &pos, float dist) const |
| |
| bool | IsInDist (Position const *pos, float dist) const |
| |
| bool | IsWithinBox (Position const ¢er, float xradius, float yradius, float zradius) const |
| |
| bool | IsWithinDoubleVerticalCylinder (Position const *center, float radius, float height) const |
| |
| bool | HasInArc (float arcangle, Position const *pos, float border=2.0f) const |
| |
| bool | HasInLine (Position const *pos, float objSize, float width) const |
| |
| std::string | ToString () const |
| |
| virtual | ~GridObject () |
| |
| bool | IsInGrid () const |
| |
| void | AddToGrid (GridRefManager< Creature > &m) |
| |
| void | RemoveFromGrid () |
| |