|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Functions | |
| int | AddAura (lua_State *L, Unit *unit) |
| int | AddUnitState (lua_State *L, Unit *unit) |
| int | Attack (lua_State *L, Unit *unit) |
| int | AttackStop (lua_State *L, Unit *unit) |
| int | CastSpell (lua_State *L, Unit *unit) |
| int | CastSpellAoF (lua_State *L, Unit *unit) |
| int | ClearInCombat (lua_State *L, Unit *unit) |
| int | ClearThreatList (lua_State *L, Unit *unit) |
| int | ClearUnitState (lua_State *L, Unit *unit) |
| int | CountPctFromCurHealth (lua_State *L, Unit *unit) |
| int | CountPctFromMaxHealth (lua_State *L, Unit *unit) |
| int | DealDamage (lua_State *L, Unit *unit) |
| int | DeMorph (lua_State *L, Unit *unit) |
| int | DisableMelee (lua_State *L, Unit *unit) |
| int | Dismount (lua_State *L, Unit *unit) |
| int | Emote (lua_State *L, Unit *unit) |
| int | GetAura (lua_State *L, Unit *unit) |
| int | GetBaseSpellPower (lua_State *L, Unit *unit) |
| int | GetCharmerGUID (lua_State *L, Unit *unit) |
| int | GetCharmGUID (lua_State *L, Unit *unit) |
| int | GetClass (lua_State *L, Unit *unit) |
| int | GetClassAsString (lua_State *L, Unit *unit) |
| int | GetCombatTime (lua_State *L, Unit *unit) |
| int | GetControllerGUID (lua_State *L, Unit *unit) |
| int | GetControllerGUIDS (lua_State *L, Unit *unit) |
| int | GetCreatorGUID (lua_State *L, Unit *unit) |
| int | GetCreatureType (lua_State *L, Unit *unit) |
| int | GetCritterGUID (lua_State *L, Unit *unit) |
| int | GetCurrentSpell (lua_State *L, Unit *unit) |
| int | GetDisplayId (lua_State *L, Unit *unit) |
| int | GetDistance (lua_State *L, Unit *unit) |
| int | GetFaction (lua_State *L, Unit *unit) |
| int | GetFriendlyUnitsInRange (lua_State *L, Unit *unit) |
| int | GetGender (lua_State *L, Unit *unit) |
| int | GetHealth (lua_State *L, Unit *unit) |
| int | GetHealthPct (lua_State *L, Unit *unit) |
| int | GetLevel (lua_State *L, Unit *unit) |
| int | GetMap (lua_State *L, Unit *unit) |
| int | GetMaxHealth (lua_State *L, Unit *unit) |
| int | GetMaxPower (lua_State *L, Unit *unit) |
| int | GetMinionGUID (lua_State *L, Unit *unit) |
| int | GetMountDisplayId (lua_State *L, Unit *unit) |
| int | GetNativeDisplayId (lua_State *L, Unit *unit) |
| int | GetNearbyTarget (lua_State *L, Unit *unit) |
| int | GetOwner (lua_State *L, Unit *unit) |
| int | GetOwnerGUID (lua_State *L, Unit *unit) |
| int | GetPetGUID (lua_State *L, Unit *unit) |
| int | GetPower (lua_State *L, Unit *unit) |
| int | GetPowerPct (lua_State *L, Unit *unit) |
| int | GetPowerType (lua_State *L, Unit *unit) |
| int | GetRace (lua_State *L, Unit *unit) |
| int | GetRelativePoint (lua_State *L, Unit *unit) |
| int | GetStandState (lua_State *L, Unit *unit) |
| int | GetStat (lua_State *L, Unit *unit) |
| int | GetUnfriendlyUnitsInRange (lua_State *L, Unit *unit) |
| int | GetVehicle (lua_State *L, Unit *unit) |
| int | GetVictim (lua_State *L, Unit *unit) |
| int | HasUnitState (lua_State *L, Unit *unit) |
| int | HealthAbovePct (lua_State *L, Unit *unit) |
| int | HealthBelowPct (lua_State *L, Unit *unit) |
| int | InterruptSpell (lua_State *L, Unit *unit) |
| int | IsAlive (lua_State *L, Unit *unit) |
| int | IsArmorer (lua_State *L, Unit *unit) |
| int | IsAttackingPlayer (lua_State *L, Unit *unit) |
| int | IsAuctioneer (lua_State *L, Unit *unit) |
| int | IsBanker (lua_State *L, Unit *unit) |
| int | IsBattleMaster (lua_State *L, Unit *unit) |
| int | IsCharmed (lua_State *L, Unit *unit) |
| int | IsDead (lua_State *L, Unit *unit) |
| int | IsDying (lua_State *L, Unit *unit) |
| int | IsFlying (lua_State *L, Unit *unit) |
| int | IsFullHealth (lua_State *L, Unit *unit) |
| int | IsGossip (lua_State *L, Unit *unit) |
| int | IsGuildMaster (lua_State *L, Unit *unit) |
| int | IsInAccessiblePlaceFor (lua_State *L, Unit *unit) |
| int | IsInCombat (lua_State *L, Unit *unit) |
| int | IsInnkeeper (lua_State *L, Unit *unit) |
| int | IsInWater (lua_State *L, Unit *unit) |
| int | IsInWorld (lua_State *L, Unit *unit) |
| int | IsMounted (lua_State *L, Unit *unit) |
| int | IsMoving (lua_State *L, Unit *unit) |
| int | IsPvPFlagged (lua_State *L, Unit *unit) |
| int | IsQuestGiver (lua_State *L, Unit *unit) |
| int | IsServiceProvider (lua_State *L, Unit *unit) |
| int | IsSpiritGuide (lua_State *L, Unit *unit) |
| int | IsSpiritHealer (lua_State *L, Unit *unit) |
| int | IsSpiritService (lua_State *L, Unit *unit) |
| int | IsStopped (lua_State *L, Unit *unit) |
| int | IsTabardDesigner (lua_State *L, Unit *unit) |
| int | IsTaxi (lua_State *L, Unit *unit) |
| int | IsTrainer (lua_State *L, Unit *unit) |
| int | IsUnderWater (lua_State *L, Unit *unit) |
| int | IsVendor (lua_State *L, Unit *unit) |
| int | IsVisible (lua_State *L, Unit *unit) |
| int | IsWithinDistInMap (lua_State *L, Unit *unit) |
| int | IsWithinLoS (lua_State *L, Unit *unit) |
| int | Jump (lua_State *L, Unit *unit) |
| int | JumpTo (lua_State *L, Unit *unit) |
| int | JumpToCoords (lua_State *L, Unit *unit) |
| int | Kill (lua_State *L, Unit *unit) |
| int | KnockbackFrom (lua_State *L, Unit *unit) |
| int | Mount (lua_State *L, Unit *unit) |
| int | MoveCharge (lua_State *L, Unit *unit) |
| int | MoveChase (lua_State *L, Unit *unit) |
| int | MoveClear (lua_State *L, Unit *unit) |
| int | MoveFollow (lua_State *L, Unit *unit) |
| int | MoveRandom (lua_State *L, Unit *unit) |
| int | MoveRotate (lua_State *L, Unit *unit) |
| int | MoveTo (lua_State *L, Unit *unit) |
| int | PlayDirectSound (lua_State *L, Unit *unit) |
| int | PlayDistanceSound (lua_State *L, Unit *unit) |
| int | RegisterEvent (lua_State *L, Unit *unit) |
| int | RemoveAllAuras (lua_State *L, Unit *unit) |
| int | RemoveAura (lua_State *L, Unit *unit) |
| int | RemoveBindSightAuras (lua_State *L, Unit *unit) |
| int | RemoveCharmAuras (lua_State *L, Unit *unit) |
| int | RemoveEventById (lua_State *L, Unit *unit) |
| int | RemoveEvents (lua_State *L, Unit *unit) |
| int | RestoreDisplayId (lua_State *L, Unit *unit) |
| int | RestoreFaction (lua_State *L, Unit *unit) |
| int | SendChatMessageToPlayer (lua_State *L, Unit *unit) |
| int | SendUnitEmote (lua_State *L, Unit *unit) |
| int | SendUnitSay (lua_State *L, Unit *unit) |
| int | SendUnitWhisper (lua_State *L, Unit *unit) |
| int | SendUnitYell (lua_State *L, Unit *unit) |
| int | SetCanFly (lua_State *L, Unit *unit) |
| int | SetCharmerGUID (lua_State *L, Unit *unit) |
| int | SetConfused (lua_State *L, Unit *unit) |
| int | SetCreatorGUID (lua_State *L, Unit *unit) |
| int | SetCritterGUID (lua_State *L, Unit *unit) |
| int | SetDisplayId (lua_State *L, Unit *unit) |
| int | SetFacing (lua_State *L, Unit *unit) |
| int | SetFaction (lua_State *L, Unit *unit) |
| int | SetFeared (lua_State *L, Unit *unit) |
| int | SetFFA (lua_State *L, Unit *unit) |
| int | SetHealth (lua_State *L, Unit *unit) |
| int | SetLevel (lua_State *L, Unit *unit) |
| int | SetMaxHealth (lua_State *L, Unit *unit) |
| int | SetMaxPower (lua_State *L, Unit *unit) |
| int | SetMinionGUID (lua_State *L, Unit *unit) |
| int | SetName (lua_State *L, Unit *unit) |
| int | SetNativeDisplayId (lua_State *L, Unit *unit) |
| int | SetOwnerGUID (lua_State *L, Unit *unit) |
| int | SetPetGUID (lua_State *L, Unit *unit) |
| int | SetPhaseMask (lua_State *L, Unit *unit) |
| int | SetPower (lua_State *L, Unit *unit) |
| int | SetPvP (lua_State *L, Unit *unit) |
| int | SetRooted (lua_State *L, Unit *unit) |
| int | SetSanctuary (lua_State *L, Unit *unit) |
| int | SetSheath (lua_State *L, Unit *unit) |
| int | SetSpeed (lua_State *L, Unit *unit) |
| int | SetStunned (lua_State *L, Unit *unit) |
| int | SetVisible (lua_State *L, Unit *unit) |
| int | SetWaterWalk (lua_State *L, Unit *unit) |
| int | SpawnCreature (lua_State *L, Unit *unit) |
| int | StopMoving (lua_State *L, Unit *unit) |
| int | StopSpellCast (lua_State *L, Unit *unit) |
| int | SummonGameObject (lua_State *L, Unit *unit) |
| int | SummonGuardian (lua_State *L, Unit *unit) |
| int LuaUnit::AddAura | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1236 of file UnitMethods.h.
| int LuaUnit::AddUnitState | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1462 of file UnitMethods.h.
References Unit::AddUnitState().
| int LuaUnit::Attack | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 12 of file UnitMethods.h.
References Unit::Attack(), and sEluna.
| int LuaUnit::AttackStop | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1382 of file UnitMethods.h.
References Unit::AttackStop(), and sEluna.
| int LuaUnit::CastSpell | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1146 of file UnitMethods.h.
References Unit::CastSpell(), Object::GetTypeId(), sEluna, SpellCastTargets::SetGOTarget(), SpellCastTargets::SetItemTarget(), SpellCastTargets::SetUnitTarget(), sSpellMgr, Object::ToGameObject(), Object::ToUnit(), TRIGGERED_FULL_MASK, TRIGGERED_NONE, and TYPEID_ITEM.
| int LuaUnit::CastSpellAoF | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1174 of file UnitMethods.h.
References Unit::CastSpell().
| int LuaUnit::ClearInCombat | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1199 of file UnitMethods.h.
References Unit::ClearInCombat().
| int LuaUnit::ClearThreatList | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 24 of file UnitMethods.h.
References ThreatManager::clearReferences(), and Unit::getThreatManager().
| int LuaUnit::ClearUnitState | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1470 of file UnitMethods.h.
References Unit::ClearUnitState().
| int LuaUnit::CountPctFromCurHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 347 of file UnitMethods.h.
References Unit::CountPctFromCurHealth(), and sEluna.
| int LuaUnit::CountPctFromMaxHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 353 of file UnitMethods.h.
References Unit::CountPctFromMaxHealth(), and sEluna.
| int LuaUnit::DealDamage | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 487 of file UnitMethods.h.
References Unit::DealDamage(), and sEluna.
| int LuaUnit::DeMorph | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1140 of file UnitMethods.h.
References Unit::DeMorph().
| int LuaUnit::DisableMelee | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1486 of file UnitMethods.h.
References Unit::AddUnitState(), Unit::ClearUnitState(), and UNIT_STATE_CANNOT_AUTOATTACK.
| int LuaUnit::Dismount | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 77 of file UnitMethods.h.
References Unit::Dismount(), Unit::IsMounted(), Unit::RemoveAurasByType(), and SPELL_AURA_MOUNTED.
| int LuaUnit::Emote | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 341 of file UnitMethods.h.
References Unit::HandleEmoteCommand().
| int LuaUnit::GetAura | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1185 of file UnitMethods.h.
| int LuaUnit::GetBaseSpellPower | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 216 of file UnitMethods.h.
References Object::GetUInt32Value(), MAX_SPELL_SCHOOL, PLAYER_FIELD_MOD_DAMAGE_DONE_POS, and sEluna.
| int LuaUnit::GetCharmerGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 169 of file UnitMethods.h.
References Unit::GetCharmerGUID(), and sEluna.
| int LuaUnit::GetCharmGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 175 of file UnitMethods.h.
References Unit::GetCharmGUID(), and sEluna.
| int LuaUnit::GetClass | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 797 of file UnitMethods.h.
References Unit::getClass(), and sEluna.
| int LuaUnit::GetClassAsString | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 809 of file UnitMethods.h.
References Unit::getClass(), and sEluna.
| int LuaUnit::GetCombatTime | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1193 of file UnitMethods.h.
References Unit::GetCombatTimer(), and sEluna.
| int LuaUnit::GetControllerGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 193 of file UnitMethods.h.
References Unit::GetCharmerOrOwnerGUID(), and sEluna.
| int LuaUnit::GetControllerGUIDS | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 199 of file UnitMethods.h.
References Unit::GetCharmerOrOwnerOrOwnGUID(), and sEluna.
| int LuaUnit::GetCreatorGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 157 of file UnitMethods.h.
References Unit::GetCreatorGUID(), and sEluna.
| int LuaUnit::GetCreatureType | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 803 of file UnitMethods.h.
References Unit::GetCreatureType(), and sEluna.
| int LuaUnit::GetCritterGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 187 of file UnitMethods.h.
References Unit::GetCritterGUID(), and sEluna.
| int LuaUnit::GetCurrentSpell | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 424 of file UnitMethods.h.
References CURRENT_MAX_SPELL, Unit::GetCurrentSpell(), and sEluna.
| int LuaUnit::GetDisplayId | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 656 of file UnitMethods.h.
References Unit::GetDisplayId(), and sEluna.
| int LuaUnit::GetDistance | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 142 of file UnitMethods.h.
References WorldObject::GetDistance(), Object::IsInWorld(), and sEluna.
| int LuaUnit::GetFaction | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 853 of file UnitMethods.h.
References Unit::getFaction(), and sEluna.
| int LuaUnit::GetFriendlyUnitsInRange | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1326 of file UnitMethods.h.
| int LuaUnit::GetGender | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 785 of file UnitMethods.h.
References Unit::getGender(), and sEluna.
| int LuaUnit::GetHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 674 of file UnitMethods.h.
References Unit::GetHealth(), and sEluna.
| int LuaUnit::GetHealthPct | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 772 of file UnitMethods.h.
References Unit::GetHealthPct(), and sEluna.
| int LuaUnit::GetLevel | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 668 of file UnitMethods.h.
References Unit::getLevel(), and sEluna.
| int LuaUnit::GetMap | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 50 of file UnitMethods.h.
References WorldObject::GetMap(), and sEluna.
| int LuaUnit::GetMaxHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 766 of file UnitMethods.h.
References Unit::GetMaxHealth(), and sEluna.
| int LuaUnit::GetMaxPower | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 720 of file UnitMethods.h.
References Unit::getClass(), Unit::GetMaxPower(), POWER_ALL, POWER_ENERGY, POWER_MANA, POWER_RAGE, POWER_RUNIC_POWER, and sEluna.
| int LuaUnit::GetMinionGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 163 of file UnitMethods.h.
References Unit::GetPetGUID(), and sEluna.
| int LuaUnit::GetMountDisplayId | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 136 of file UnitMethods.h.
References Unit::GetMountID(), and sEluna.
| int LuaUnit::GetNativeDisplayId | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 662 of file UnitMethods.h.
References Unit::GetNativeDisplayId(), and sEluna.
| int LuaUnit::GetNearbyTarget | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 387 of file UnitMethods.h.
References Unit::SelectNearbyTarget(), and sEluna.
| int LuaUnit::GetOwner | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 38 of file UnitMethods.h.
References Unit::GetOwner(), and sEluna.
| int LuaUnit::GetOwnerGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 44 of file UnitMethods.h.
References Unit::GetOwnerGUID(), and sEluna.
| int LuaUnit::GetPetGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 181 of file UnitMethods.h.
References Unit::GetPetGUID(), and sEluna.
| int LuaUnit::GetPower | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 680 of file UnitMethods.h.
References Unit::getClass(), Unit::GetPower(), POWER_ALL, POWER_ENERGY, POWER_MANA, POWER_RAGE, POWER_RUNIC_POWER, and sEluna.
| int LuaUnit::GetPowerPct | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 778 of file UnitMethods.h.
References Unit::GetMaxPower(), Unit::GetPower(), Unit::getPowerType(), and sEluna.
| int LuaUnit::GetPowerType | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 760 of file UnitMethods.h.
References Unit::getPowerType(), and sEluna.
| int LuaUnit::GetRace | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 791 of file UnitMethods.h.
References Unit::getRace(), and sEluna.
| int LuaUnit::GetRelativePoint | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 57 of file UnitMethods.h.
References Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), Position::NormalizeOrientation(), and sEluna.
| int LuaUnit::GetStandState | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 499 of file UnitMethods.h.
References Unit::getStandState(), and sEluna.
| int LuaUnit::GetStat | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 205 of file UnitMethods.h.
References Unit::GetStat(), MAX_STATS, and sEluna.
| int LuaUnit::GetUnfriendlyUnitsInRange | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1354 of file UnitMethods.h.
| int LuaUnit::GetVehicle | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1320 of file UnitMethods.h.
References Unit::GetVehicle(), and sEluna.
| int LuaUnit::GetVictim | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 381 of file UnitMethods.h.
References Unit::GetVictim(), and sEluna.
| int LuaUnit::HasUnitState | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1478 of file UnitMethods.h.
References Unit::HasUnitState(), and sEluna.
| int LuaUnit::HealthAbovePct | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 335 of file UnitMethods.h.
References Unit::HealthAbovePct(), and sEluna.
| int LuaUnit::HealthBelowPct | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 329 of file UnitMethods.h.
References Unit::HealthBelowPct(), and sEluna.
| int LuaUnit::InterruptSpell | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1212 of file UnitMethods.h.
References CURRENT_AUTOREPEAT_SPELL, CURRENT_CHANNELED_SPELL, CURRENT_GENERIC_SPELL, CURRENT_MELEE_SPELL, and Unit::InterruptSpell().
| int LuaUnit::IsAlive | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1011 of file UnitMethods.h.
References Unit::IsAlive(), and sEluna.
| int LuaUnit::IsArmorer | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1053 of file UnitMethods.h.
References Unit::IsArmorer(), and sEluna.
| int LuaUnit::IsAttackingPlayer | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1059 of file UnitMethods.h.
References Unit::isAttackingPlayer(), and sEluna.
| int LuaUnit::IsAuctioneer | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 263 of file UnitMethods.h.
References Unit::IsAuctioner(), and sEluna.
| int LuaUnit::IsBanker | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1029 of file UnitMethods.h.
References Unit::IsBanker(), and sEluna.
| int LuaUnit::IsBattleMaster | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1041 of file UnitMethods.h.
References Unit::IsBattleMaster(), and sEluna.
| int LuaUnit::IsCharmed | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1047 of file UnitMethods.h.
References Unit::IsCharmed(), and sEluna.
| int LuaUnit::IsDead | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1017 of file UnitMethods.h.
References Unit::isDead(), and sEluna.
| int LuaUnit::IsDying | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1023 of file UnitMethods.h.
References Unit::isDying(), and sEluna.
| int LuaUnit::IsFlying | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1414 of file UnitMethods.h.
References Unit::IsFlying(), and sEluna.
| int LuaUnit::IsFullHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 109 of file UnitMethods.h.
References Unit::IsFullHealth(), and sEluna.
| int LuaUnit::IsGossip | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 287 of file UnitMethods.h.
References Unit::IsGossip(), and sEluna.
| int LuaUnit::IsGuildMaster | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 269 of file UnitMethods.h.
References Unit::IsGuildMaster(), and sEluna.
| int LuaUnit::IsInAccessiblePlaceFor | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 126 of file UnitMethods.h.
References Unit::isInAccessiblePlaceFor(), and sEluna.
| int LuaUnit::IsInCombat | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1077 of file UnitMethods.h.
References Unit::IsInCombat(), and sEluna.
| int LuaUnit::IsInnkeeper | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 275 of file UnitMethods.h.
References Unit::IsInnkeeper(), and sEluna.
| int LuaUnit::IsInWater | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 375 of file UnitMethods.h.
References Unit::IsInWater(), and sEluna.
| int LuaUnit::IsInWorld | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1065 of file UnitMethods.h.
References Object::IsInWorld(), and sEluna.
| int LuaUnit::IsMounted | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 87 of file UnitMethods.h.
References Unit::IsMounted(), and sEluna.
| int LuaUnit::IsMoving | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1408 of file UnitMethods.h.
References Unit::isMoving(), and sEluna.
| int LuaUnit::IsPvPFlagged | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1071 of file UnitMethods.h.
References Unit::IsPvP(), and sEluna.
| int LuaUnit::IsQuestGiver | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1426 of file UnitMethods.h.
References Unit::IsQuestGiver(), and sEluna.
| int LuaUnit::IsServiceProvider | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 317 of file UnitMethods.h.
References Unit::IsServiceProvider(), and sEluna.
| int LuaUnit::IsSpiritGuide | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 305 of file UnitMethods.h.
References Unit::IsSpiritGuide(), and sEluna.
| int LuaUnit::IsSpiritHealer | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 299 of file UnitMethods.h.
References Unit::IsSpiritHealer(), and sEluna.
| int LuaUnit::IsSpiritService | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 323 of file UnitMethods.h.
References Unit::IsSpiritService(), and sEluna.
| int LuaUnit::IsStopped | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1420 of file UnitMethods.h.
References Unit::IsStopped(), and sEluna.
| int LuaUnit::IsTabardDesigner | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 311 of file UnitMethods.h.
References Unit::IsTabardDesigner(), and sEluna.
| int LuaUnit::IsTaxi | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 293 of file UnitMethods.h.
References Unit::IsTaxi(), and sEluna.
| int LuaUnit::IsTrainer | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 281 of file UnitMethods.h.
References Unit::IsTrainer(), and sEluna.
| int LuaUnit::IsUnderWater | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 369 of file UnitMethods.h.
References Unit::IsUnderWater(), and sEluna.
| int LuaUnit::IsVendor | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1035 of file UnitMethods.h.
References Unit::IsVendor(), and sEluna.
| int LuaUnit::IsVisible | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1402 of file UnitMethods.h.
References Unit::IsVisible(), and sEluna.
| int LuaUnit::IsWithinDistInMap | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 115 of file UnitMethods.h.
References WorldObject::IsWithinDistInMap(), and sEluna.
| int LuaUnit::IsWithinLoS | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 93 of file UnitMethods.h.
References WorldObject::IsWithinLOS(), and sEluna.
| int LuaUnit::Jump | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 526 of file UnitMethods.h.
References Unit::JumpTo().
| int LuaUnit::JumpTo | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 515 of file UnitMethods.h.
References Unit::JumpTo(), and sEluna.
| int LuaUnit::JumpToCoords | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 535 of file UnitMethods.h.
References Unit::GetMotionMaster(), and MotionMaster::MoveJump().
| int LuaUnit::Kill | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1286 of file UnitMethods.h.
References Unit::Kill(), and sEluna.
| int LuaUnit::KnockbackFrom | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 505 of file UnitMethods.h.
References Unit::KnockbackFrom().
| int LuaUnit::Mount | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 69 of file UnitMethods.h.
References Unit::Mount().
| int LuaUnit::MoveCharge | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 546 of file UnitMethods.h.
References Unit::GetMotionMaster(), and MotionMaster::MoveCharge().
| int LuaUnit::MoveChase | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 556 of file UnitMethods.h.
References Unit::GetMotionMaster(), MotionMaster::MoveChase(), and sEluna.
| int LuaUnit::MoveClear | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 623 of file UnitMethods.h.
References MotionMaster::Clear(), and Unit::GetMotionMaster().
| int LuaUnit::MoveFollow | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 614 of file UnitMethods.h.
References Unit::GetMotionMaster(), MotionMaster::MoveFollow(), and sEluna.
| int LuaUnit::MoveRandom | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 629 of file UnitMethods.h.
References Unit::GetMotionMaster(), and MotionMaster::MoveRandom().
| int LuaUnit::MoveRotate | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 636 of file UnitMethods.h.
References Unit::GetMotionMaster(), MotionMaster::MoveRotate(), ROTATE_DIRECTION_LEFT, and ROTATE_DIRECTION_RIGHT.
| int LuaUnit::MoveTo | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 601 of file UnitMethods.h.
References Unit::GetMotionMaster(), and MotionMaster::MovePoint().
| int LuaUnit::PlayDirectSound | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1260 of file UnitMethods.h.
References WorldObject::PlayDirectSound(), sEluna, and sSoundEntriesStore.
| int LuaUnit::PlayDistanceSound | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1274 of file UnitMethods.h.
References WorldObject::PlayDistanceSound(), sEluna, and sSoundEntriesStore.
| int LuaUnit::RegisterEvent | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1294 of file UnitMethods.h.
References Unit::m_Events, and sEluna.
| int LuaUnit::RemoveAllAuras | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1254 of file UnitMethods.h.
References Unit::RemoveAllAuras().
| int LuaUnit::RemoveAura | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1247 of file UnitMethods.h.
References Unit::RemoveAurasDueToSpell().
| int LuaUnit::RemoveBindSightAuras | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1444 of file UnitMethods.h.
References Unit::RemoveBindSightAuras().
| int LuaUnit::RemoveCharmAuras | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1450 of file UnitMethods.h.
References Unit::RemoveCharmAuras().
| int LuaUnit::RemoveEventById | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1306 of file UnitMethods.h.
References Unit::m_Events, and sEluna.
| int LuaUnit::RemoveEvents | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1313 of file UnitMethods.h.
References Unit::m_Events, and sEluna.
| int LuaUnit::RestoreDisplayId | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1432 of file UnitMethods.h.
References Unit::RestoreDisplayId().
| int LuaUnit::RestoreFaction | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1438 of file UnitMethods.h.
References Unit::RestoreFaction().
| int LuaUnit::SendChatMessageToPlayer | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 396 of file UnitMethods.h.
| int LuaUnit::SendUnitEmote | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1097 of file UnitMethods.h.
References ElunaGetWorldObject(), Player::TextEmote(), and Object::ToPlayer().
| int LuaUnit::SendUnitSay | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1112 of file UnitMethods.h.
References ElunaGetWorldObject(), Player::Say(), and Object::ToPlayer().
| int LuaUnit::SendUnitWhisper | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1083 of file UnitMethods.h.
References ElunaGetWorldObject(), Object::GetGUID(), Object::ToPlayer(), and Player::Whisper().
| int LuaUnit::SendUnitYell | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1126 of file UnitMethods.h.
References ElunaGetWorldObject(), Object::ToPlayer(), and Player::Yell().
| int LuaUnit::SetCanFly | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1388 of file UnitMethods.h.
References Unit::SetCanFly().
| int LuaUnit::SetCharmerGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 982 of file UnitMethods.h.
References sEluna, and Unit::SetCharmerGUID().
| int LuaUnit::SetConfused | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 587 of file UnitMethods.h.
References Unit::SetControlled(), and UNIT_STATE_CONFUSED.
| int LuaUnit::SetCreatorGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 968 of file UnitMethods.h.
References sEluna, and Unit::SetCreatorGUID().
| int LuaUnit::SetCritterGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 996 of file UnitMethods.h.
References sEluna, and Unit::SetCritterGUID().
| int LuaUnit::SetDisplayId | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 947 of file UnitMethods.h.
References Unit::SetDisplayId().
| int LuaUnit::SetFacing | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 961 of file UnitMethods.h.
References Unit::SetFacingTo().
| int LuaUnit::SetFaction | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 859 of file UnitMethods.h.
References Unit::setFaction().
| int LuaUnit::SetFeared | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 594 of file UnitMethods.h.
References Unit::SetControlled(), and UNIT_STATE_FLEEING.
| int LuaUnit::SetFFA | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 235 of file UnitMethods.h.
References Object::RemoveByteFlag(), Object::SetByteFlag(), UNIT_BYTE2_FLAG_FFA_PVP, and UNIT_FIELD_SHAPESHIFT_FORM.
| int LuaUnit::SetHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 881 of file UnitMethods.h.
References Unit::SetHealth().
| int LuaUnit::SetLevel | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 866 of file UnitMethods.h.
References Unit::SetLevel().
| int LuaUnit::SetMaxHealth | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 888 of file UnitMethods.h.
References Unit::SetMaxHealth().
| int LuaUnit::SetMaxPower | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 921 of file UnitMethods.h.
References POWER_ENERGY, POWER_MANA, POWER_RAGE, POWER_RUNIC_POWER, and Unit::SetMaxPower().
| int LuaUnit::SetMinionGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 975 of file UnitMethods.h.
References sEluna, and Unit::SetPetGUID().
| int LuaUnit::SetName | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 565 of file UnitMethods.h.
References WorldObject::SetName().
| int LuaUnit::SetNativeDisplayId | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 954 of file UnitMethods.h.
References Unit::SetNativeDisplayId().
| int LuaUnit::SetOwnerGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 30 of file UnitMethods.h.
References sEluna, and Unit::SetOwnerGUID().
| int LuaUnit::SetPetGUID | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 989 of file UnitMethods.h.
References sEluna, and Unit::SetPetGUID().
| int LuaUnit::SetPhaseMask | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 873 of file UnitMethods.h.
References Unit::SetPhaseMask().
| int LuaUnit::SetPower | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 895 of file UnitMethods.h.
References POWER_ENERGY, POWER_MANA, POWER_RAGE, POWER_RUNIC_POWER, and Unit::SetPower().
| int LuaUnit::SetPvP | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 227 of file UnitMethods.h.
References Unit::SetPvP().
| int LuaUnit::SetRooted | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 580 of file UnitMethods.h.
References Unit::SetControlled(), and UNIT_STATE_ROOT.
| int LuaUnit::SetSanctuary | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 247 of file UnitMethods.h.
References Unit::CombatStop(), Unit::CombatStopWithPets(), Object::RemoveByteFlag(), Object::SetByteFlag(), UNIT_BYTE2_FLAG_SANCTUARY, and UNIT_FIELD_SHAPESHIFT_FORM.
| int LuaUnit::SetSheath | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 359 of file UnitMethods.h.
References MAX_SHEATH_STATE, and Unit::SetSheath().
| int LuaUnit::SetSpeed | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 644 of file UnitMethods.h.
References MAX_MOVE_TYPE, and Unit::SetSpeed().
| int LuaUnit::SetStunned | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 573 of file UnitMethods.h.
References Unit::SetControlled(), and UNIT_STATE_STUNNED.
| int LuaUnit::SetVisible | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1395 of file UnitMethods.h.
References Unit::SetVisible().
| int LuaUnit::SetWaterWalk | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1003 of file UnitMethods.h.
References Unit::SetWaterWalking().
| int LuaUnit::SpawnCreature | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 448 of file UnitMethods.h.
References sEluna, WorldObject::SummonCreature(), TEMPSUMMON_CORPSE_DESPAWN, TEMPSUMMON_CORPSE_TIMED_DESPAWN, TEMPSUMMON_DEAD_DESPAWN, TEMPSUMMON_MANUAL_DESPAWN, TEMPSUMMON_TIMED_DESPAWN, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, and TEMPSUMMON_TIMED_OR_DEAD_DESPAWN.
| int LuaUnit::StopMoving | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1456 of file UnitMethods.h.
References Unit::StopMoving().
| int LuaUnit::StopSpellCast | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1205 of file UnitMethods.h.
References Unit::CastStop().
| int LuaUnit::SummonGameObject | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 436 of file UnitMethods.h.
References sEluna, and WorldObject::SummonGameObject().
| int LuaUnit::SummonGuardian | ( | lua_State * | L, |
| Unit * | unit ) |
Definition at line 1497 of file UnitMethods.h.
References Creature::AI(), SummonPropertiesEntry::Category, CreatureAI::EnterEvadeMode(), Object::GetEntry(), Unit::getFaction(), Unit::getLevel(), WorldObject::GetMap(), Object::GetUInt32Value(), Unit::HasUnitTypeMask(), PLAYER_FIELD_VISIBLE_ITEMS, Position::Relocate(), sEluna, Creature::SetDisplayId(), Unit::setFaction(), Object::SetUInt32Value(), sSummonPropertiesStore, SUMMON_CATEGORY_ALLY, Map::SummonCreature(), UNIT_FIELD_VIRTUAL_ITEM_ID, and UNIT_MASK_GUARDIAN.