From 73914dc8ba9c485ea5101b6aacc4c34e47851c9a Mon Sep 17 00:00:00 2001 From: r-o-b-o-t-o Date: Sun, 19 Jan 2025 20:12:38 +0000 Subject: [PATCH] chore: update eluna documentation --- pages/eluna/date.js | 2 +- pages/eluna/index.html | 210 +------ pages/eluna/search-index.js | 1086 +---------------------------------- 3 files changed, 3 insertions(+), 1295 deletions(-) diff --git a/pages/eluna/date.js b/pages/eluna/date.js index 6e30dbb13e6..5827e00420f 100644 --- a/pages/eluna/date.js +++ b/pages/eluna/date.js @@ -1 +1 @@ -document.write("15/06/2024"); \ No newline at end of file +document.write("19/01/2025"); \ No newline at end of file diff --git a/pages/eluna/index.html b/pages/eluna/index.html index 356c2759bc3..72c3d25a694 100644 --- a/pages/eluna/index.html +++ b/pages/eluna/index.html @@ -27,7 +27,7 @@

All Classes

- AchievementAuraBattleGroundChatHandlerCorpseCreatureElunaQueryGameObjectGlobalGroupGuildItemItemTemplateMapObjectPlayerQuestRollSpellUnitVehicleWorldObjectWorldPacket +
@@ -117,214 +117,6 @@

Classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Achievement - -

-
- - Aura - -

The persistent effect of a Spell that remains on a Unit after the Spell -has been cast.

-
- - BattleGround - -

Contains the state of a battleground, e.g. Warsong Gulch, Arathi Basin, etc.

-
- - ChatHandler - -

-
- - Corpse - -

The remains of a Player that has died.

-
- - Creature - -

Non-Player controlled Units (i.e. NPCs).

-
- - ElunaQuery - -

The result of a database query.

-
- - GameObject - -

Inherits all methods from: Object, WorldObject

-
- - Global - -

These functions can be used anywhere at any time, including at start-up.

-
- - Group - -

Inherits all methods from: none

-
- - Guild - -

Inherits all methods from: none

-
- - Item - -

Inherits all methods from: Object

-
- - ItemTemplate - -

-
- - Map - -

A game map, e.g. Azeroth, Eastern Kingdoms, the Molten Core, etc.

-
- - Object - -

A basic game object (either an Item or a WorldObject).

-
- - Player - -

Inherits all methods from: Object, WorldObject, Unit

-
- - Quest - -

Inherits all methods from: none

-
- - Roll - -

-
- - Spell - -

An instance of a spell, created when the spell is cast by a Unit.

-
- - Unit - -

Inherits all methods from: Object, WorldObject

-
- - Vehicle - -

Inherits all methods from: none

-
- - WorldObject - -

Inherits all methods from: Object

-
- - WorldPacket - -

A packet used to pass messages between the server and a client.

-
diff --git a/pages/eluna/search-index.js b/pages/eluna/search-index.js index e077961cc9d..2ae6929820a 100644 --- a/pages/eluna/search-index.js +++ b/pages/eluna/search-index.js @@ -1,1089 +1,5 @@ var searchIndex = {}; -searchIndex["Achievement"] = { - "items": [ - [0, "", "Achievement", ""], - [3, "GetId", "", "Returns the Achievement's ID."], - [3, "GetName", "", "Returns the Achievement's name."], - ], - "paths": [] -};searchIndex["Aura"] = { - "items": [ - [0, "", "Aura", "The persistent effect of a Spell that remains on a Unit after the Spell has been cast."], - [3, "GetAuraId", "", "Returns the ID of the Spell that caused this Aura to be applied."], - [3, "GetCaster", "", "Returns the Unit that casted the Spell that caused this Aura to be applied."], - [3, "GetCasterGUID", "", "Returns the GUID of the Unit that casted the Spell that caused this Aura to be applied."], - [3, "GetCasterLevel", "", "Returns the level of the Unit that casted the Spell that caused this Aura to be applied."], - [3, "GetDuration", "", "Returns the amount of time left until the Aura expires."], - [3, "GetMaxDuration", "", "Returns the amount of time this Aura lasts when applied."], - [3, "GetOwner", "", "Returns the Unit that the Aura has been applied to."], - [3, "GetStackAmount", "", "Returns the number of times the Aura has "stacked"."], - [3, "Remove", "", "Remove this Aura from the Unit it is applied to."], - [3, "SetDuration", "", "Change the amount of time before the Aura expires."], - [3, "SetMaxDuration", "", "Change the maximum amount of time before the Aura expires."], - [3, "SetStackAmount", "", "Change the amount of times the Aura has "stacked" on the Unit."], - ], - "paths": [] -};searchIndex["BattleGround"] = { - "items": [ - [0, "", "BattleGround", "Contains the state of a battleground, e.g. Warsong Gulch, Arathi Basin, etc."], - [3, "GetAlivePlayersCountByTeam", "", "Returns the amount of alive players in the BattleGround by the team ID."], - [3, "GetBonusHonorFromKillCount", "", "Returns the bonus honor given by amount of kills in the specific BattleGround."], - [3, "GetBracketId", "", "Returns the bracket ID of the specific BattleGround."], - [3, "GetEndTime", "", "Returns the end time of the BattleGround."], - [3, "GetFreeSlotsForTeam", "", "Returns the amount of free slots for the selected team in the specific BattleGround."], - [3, "GetInstanceId", "", "Returns the instance ID of the BattleGround."], - [3, "GetMap", "", "Returns the Map of the BattleGround."], - [3, "GetMapId", "", "Returns the map ID of the BattleGround."], - [3, "GetMaxLevel", "", "Returns the max allowed Player level of the specific BattleGround."], - [3, "GetMaxPlayers", "", "Returns the maximum allowed Player count of the specific BattleGround."], - [3, "GetMaxPlayersPerTeam", "", "Returns the maximum allowed Player count per team of the specific BattleGround."], - [3, "GetMinLevel", "", "Returns the minimum allowed Player level of the specific BattleGround."], - [3, "GetMinPlayers", "", "Returns the minimum allowed Player count of the specific BattleGround."], - [3, "GetMinPlayersPerTeam", "", "Returns the minimum allowed Player count per team of the specific BattleGround."], - [3, "GetName", "", "Returns the name of the BattleGround."], - [3, "GetStatus", "", "Returns the status of the specific BattleGround."], - [3, "GetTypeId", "", "Returns the type ID of the BattleGround."], - [3, "GetWinner", "", "Returns the winning team of the specific BattleGround."], - ], - "paths": [] -};searchIndex["ChatHandler"] = { - "items": [ - [0, "", "ChatHandler", ""], - [3, "GetPlayer", "", "Returns the Player associated with the handler. Returns nil in the case of a console handler"], - [3, "GetSelectedCreature", "", "Returns the selected Creature"], - [3, "GetSelectedObject", "", "Returns the selected WorldObject"], - [3, "GetSelectedPlayer", "", "Returns the selected Player"], - [3, "GetSelectedPlayerOrSelf", "", "Returns the selected Player or the current Player if nothing is targeted or the target is not a player"], - [3, "GetSelectedUnit", "", "Returns the selected Unit"], - [3, "HasLowerSecurity", "", "Checks if the current security level is lower than the specified Player's account"], - [3, "HasLowerSecurityAccount", "", "Checks if the current security level is lower than the specified account's level"], - [3, "HasSentErrorMessage", "", "Returns true if other previously called ChatHandler methods sent an error"], - [3, "IsAvailable", "", "Checks if the securityLevel is available"], - [3, "IsConsole", "", "Returns true if the ChatHandler comes from the console, false if it comes from a player"], - [3, "SendGlobalGMSysMessage", "", "Sends a message to all connected Game Masters"], - [3, "SendGlobalSysMessage", "", "Sends a message to all connected players"], - [3, "SendSysMessage", "", "Sends text to the chat handler"], - ], - "paths": [] -};searchIndex["Corpse"] = { - "items": [ - [0, "", "Corpse", "The remains of a Player that has died."], - [3, "GetGhostTime", "", "Returns the time when the Player became a ghost and spawned this Corpse."], - [3, "GetOwnerGUID", "", "Returns the GUID of the Player that left the Corpse behind."], - [3, "GetType", "", "Returns the [CorpseType] of a Corpse."], - [3, "ResetGhostTime", "", "Sets the "ghost time" to the current time."], - [3, "SaveToDB", "", "Saves the Corpse to the database."], - ], - "paths": [] -};searchIndex["Creature"] = { - "items": [ - [0, "", "Creature", "Non-Player controlled Units (i.e. NPCs)."], - [3, "AddLootMode", "", "Adds a loot mode to the Creature"], - [3, "AttackStart", "", "Make the Creature attack target."], - [3, "CallAssistance", "", "Make the Creature call for assistance in combat from other nearby Creatures."], - [3, "CallForHelp", "", "Make the Creature call for help in combat from friendly Creatures within radius."], - [3, "CanAggro", "", "Returns true if the Creature can start attacking nearby hostile Units, and returns false otherwise."], - [3, "CanAssistTo", "", "Returns true if the Creature can assist friend in combat against enemy, and returns false otherwise."], - [3, "CanCompleteQuest", "", "Returns true if the Creature completes the Quest with the ID questID, and returns false otherwise."], - [3, "CanFly", "", "Returns true if the Creature can fly, and returns false otherwise."], - [3, "CanStartAttack", "", "Returns true if the Creature can start attacking specified target"], - [3, "CanSwim", "", "Returns true if the Creature can move through deep water, and returns false otherwise."], - [3, "CanWalk", "", "Returns true if the Creature can move on land, and returns false otherwise."], - [3, "DespawnOrUnsummon", "", "Despawn this Creature."], - [3, "FleeToGetAssistance", "", "Make the Creature flee combat to get assistance from a nearby friendly Creature."], - [3, "GetAIName", "", "Returns the Creature's AI name."], - [3, "GetAITarget", "", "Returns a target from the Creature's threat list based on the supplied arguments."], - [3, "GetAITargets", "", "Returns all Units in the Creature's threat list."], - [3, "GetAITargetsCount", "", "Returns the number of Units in this Creature's threat list."], - [3, "GetAggroRange", "", "Returns the aggro range of the Creature for target."], - [3, "GetAttackDistance", "", "Returns the effective aggro range of the Creature for target."], - [3, "GetCorpseDelay", "", "Returns the delay between when the Creature dies and when its body despawns."], - [3, "GetCreatureFamily", "", "Returns the Creature's creature family ID (enumerated in CreatureFamily.dbc)."], - [3, "GetCreatureSpellCooldownDelay", "", "Returns the Creature's cooldown for spellID."], - [3, "GetCurrentWaypointId", "", "Returns the current waypoint ID of the Creature."], - [3, "GetDBTableGUIDLow", "", "Returns the guid of the Creature that is used as the ID in the database"], - [3, "GetDefaultMovementType", "", "Returns the default movement type for this Creature."], - [3, "GetExtraFlags", "", "Returns the Creature's Extra flags."], - [3, "GetHomePosition", "", "Returns position the Creature returns to when evading from combat or respawning."], - [3, "GetLootMode", "", ""], - [3, "GetLootRecipient", "", "Returns the Player that can loot this Creature."], - [3, "GetLootRecipientGroup", "", "Returns the Group that can loot this Creature."], - [3, "GetNPCFlags", "", "Returns the Creature's NPC flags."], - [3, "GetRank", "", "Returns the Creature's rank."], - [3, "GetRespawnDelay", "", "Returns the time it takes for this Creature to respawn once killed."], - [3, "GetScriptId", "", "Returns the Creature's script ID."], - [3, "GetScriptName", "", "Returns the Creature's script name."], - [3, "GetShieldBlockValue", "", "Returns the Creature's shield block value."], - [3, "GetUnitFlags", "", "Returns the Creature's Unit flags."], - [3, "GetUnitFlagsTwo", "", "Returns the Creature's Unit flags 2."], - [3, "GetWanderRadius", "", "Returns the radius the Creature is permitted to wander from its respawn point."], - [3, "GetWaypointPath", "", "Returns the current waypoint path ID of the Creature."], - [3, "HasCategoryCooldown", "", "Returns true if the Creature cannot cast spellId due to a category cooldown, and returns false otherwise."], - [3, "HasLootMode", "", "Returns true if Creature has the specified loot mode"], - [3, "HasLootRecipient", "", "Returns true if the Creature will give its loot to a Player or Group, and returns false otherwise."], - [3, "HasQuest", "", "Returns true if the Creature starts the Quest questId, and returns false otherwise."], - [3, "HasSearchedAssistance", "", "Returns true if the Creature has searched for combat assistance already, and returns false otherwise."], - [3, "HasSpell", "", "Returns true if the Creature can cast spellId when mind-controlled, and returns false otherwise."], - [3, "HasSpellCooldown", "", "Returns true if the Creature has spellId on cooldown, and returns false otherwise."], - [3, "IsCivilian", "", "Returns true if the Creature is a civilian, and returns false otherwise."], - [3, "IsDamageEnoughForLootingAndReward", "", "Returns true if the Creature is damaged enough for looting"], - [3, "IsDungeonBoss", "", ""], - [3, "IsElite", "", "Returns true if the Creature's rank is Elite or Rare Elite, and returns false otherwise."], - [3, "IsGuard", "", "Returns true if the Creature is a city guard, and returns false otherwise."], - [3, "IsInEvadeMode", "", "Returns true if the Creature is returning to its spawn position from combat, and returns false otherwise."], - [3, "IsRacialLeader", "", "Returns true if the Creature is the leader of a player faction, and returns false otherwise."], - [3, "IsRegeneratingHealth", "", "Returns true if the Creature can regenerate health, and returns false otherwise."], - [3, "IsReputationGainDisabled", "", "Returns true if the Creature is set to not give reputation when killed, and returns false otherwise."], - [3, "IsTappedBy", "", "Returns true if the Creature will give its loot to player, and returns false otherwise."], - [3, "IsTargetableForAttack", "", "Returns true if the Creature can be targeted for attack, and returns false otherwise."], - [3, "IsTrigger", "", "Returns true if the Creature is an invisible trigger, and returns false otherwise."], - [3, "IsWorldBoss", "", "Returns true if the Creature's rank is Boss, and returns false otherwise."], - [3, "MoveWaypoint", "", "Make the Creature start following its waypoint path."], - [3, "RemoveCorpse", "", "Remove this Creature's corpse."], - [3, "RemoveLootMode", "", "Removes specified loot mode from Creature"], - [3, "ResetLootMode", "", "Resets Creature's loot mode to default"], - [3, "Respawn", "", "Respawn this Creature."], - [3, "SaveToDB", "", "Save the Creature in the database."], - [3, "SelectVictim", "", "Make the Creature try to find a new target."], - [3, "SetAggroEnabled", "", "Sets whether the Creature can be aggroed."], - [3, "SetDeathState", "", "Sets the Creature's death state to deathState."], - [3, "SetDefaultMovementType", "", "Sets the default movement type of the Creature."], - [3, "SetDisableGravity", "", "Makes the Creature able to fly if enabled."], - [3, "SetDisableReputationGain", "", "Sets whether the Creature gives reputation or not."], - [3, "SetEquipmentSlots", "", "Equips given Items to the Unit. Using 0 removes the equipped Item"], - [3, "SetHomePosition", "", "Sets the position the Creature returns to when evading from combat or respawning."], - [3, "SetHover", "", "Sets whether the creature is hovering / levitating or not."], - [3, "SetInCombatWithZone", "", "Sets the Creature as in combat with all Players in the dungeon instance."], - [3, "SetLootMode", "", ""], - [3, "SetNPCFlags", "", "Sets the Creature's NPC flags to flags."], - [3, "SetNoCallAssistance", "", "Sets whether the Creature can call nearby enemies for help in combat or not."], - [3, "SetNoSearchAssistance", "", "Sets whether the Creature can search for assistance at low health or not."], - [3, "SetReactState", "", "Sets the Creature's ReactState to state."], - [3, "SetRegeneratingHealth", "", "Sets whether the Creature can regenerate health or not."], - [3, "SetRespawnDelay", "", "Sets the time it takes for the Creature to respawn when killed."], - [3, "SetUnitFlags", "", "Sets the Creature's Unit flags to flags."], - [3, "SetUnitFlagsTwo", "", "Sets the Creature's Unit flags2 to flags."], - [3, "SetWalk", "", "Sets whether the Creature is currently walking or running."], - [3, "SetWanderRadius", "", "Sets the distance the Creature can wander from it's spawn point."], - [3, "UpdateEntry", "", "Transform the Creature into another Creature."], - ], - "paths": [] -};searchIndex["ElunaQuery"] = { - "items": [ - [0, "", "ElunaQuery", "The result of a database query."], - [3, "GetBool", "", "Returns the data in the specified column of the current row, casted to a boolean."], - [3, "GetColumnCount", "", "Returns the number of columns in the result set."], - [3, "GetDouble", "", "Returns the data in the specified column of the current row, casted to a 64-bit floating point value."], - [3, "GetFloat", "", "Returns the data in the specified column of the current row, casted to a 32-bit floating point value."], - [3, "GetInt16", "", "Returns the data in the specified column of the current row, casted to a signed 16-bit integer."], - [3, "GetInt32", "", "Returns the data in the specified column of the current row, casted to a signed 32-bit integer."], - [3, "GetInt64", "", "Returns the data in the specified column of the current row, casted to a signed 64-bit integer."], - [3, "GetInt8", "", "Returns the data in the specified column of the current row, casted to a signed 8-bit integer."], - [3, "GetRow", "", "Returns a table from the current row where keys are field names and values are the row's values."], - [3, "GetRowCount", "", "Returns the number of rows in the result set."], - [3, "GetString", "", "Returns the data in the specified column of the current row, casted to a string."], - [3, "GetUInt16", "", "Returns the data in the specified column of the current row, casted to an unsigned 16-bit integer."], - [3, "GetUInt32", "", "Returns the data in the specified column of the current row, casted to an unsigned 32-bit integer."], - [3, "GetUInt64", "", "Returns the data in the specified column of the current row, casted to an unsigned 64-bit integer."], - [3, "GetUInt8", "", "Returns the data in the specified column of the current row, casted to an unsigned 8-bit integer."], - [3, "IsNull", "", "Returns true if the specified column of the current row is NULL, otherwise false."], - [3, "NextRow", "", "Advances the ElunaQuery to the next row in the result set."], - ], - "paths": [] -};searchIndex["GameObject"] = { - "items": [ - [0, "", "GameObject", "Inherits all methods from: Object, WorldObject"], - [3, "AddLoot", "", ""], - [3, "Despawn", "", "Despawns a GameObject"], - [3, "GetDBTableGUIDLow", "", "Returns the guid of the GameObject that is used as the ID in the database"], - [3, "GetDisplayId", "", "Returns display ID of the GameObject"], - [3, "GetGoState", "", "Returns the state of a GameObject Below are client side [GOState]s off of 3.3.5a"], - [3, "GetLootRecipient", "", "Returns the Player that can loot the GameObject"], - [3, "GetLootRecipientGroup", "", "Returns the Group that can loot the GameObject"], - [3, "GetLootState", "", "Returns the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a"], - [3, "HasQuest", "", "Returns 'true' if the GameObject can give the specified Quest"], - [3, "IsActive", "", "Returns 'true' if the GameObject is active"], - [3, "IsSpawned", "", "Returns 'true' if the GameObject is spawned"], - [3, "IsTransport", "", "Returns 'true' if the GameObject is a transport"], - [3, "RemoveFromWorld", "", "Removes GameObject from the world"], - [3, "Respawn", "", "Respawns a GameObject"], - [3, "SaveToDB", "", "Saves GameObject to the database"], - [3, "SetGoState", "", "Sets the state of a GameObject"], - [3, "SetLootState", "", "Sets the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a"], - [3, "SetRespawnTime", "", "Sets the respawn or despawn time for the gameobject."], - [3, "UseDoorOrButton", "", "Activates a door or a button/lever"], - ], - "paths": [] -};searchIndex["Global"] = { - "items": [ - [0, "", "Global", "These functions can be used anywhere at any time, including at start-up."], - [3, "AddTaxiPath", "", "Adds a taxi path to a specified map, returns the used pathId."], - [3, "AddVendorItem", "", "Adds an Item to a vendor and updates the world database."], - [3, "AuthDBExecute", "", "Executes a SQL query on the login database."], - [3, "AuthDBQuery", "", "Executes a SQL query on the login database and returns an ElunaQuery."], - [3, "AuthDBQueryAsync", "", "Executes an asynchronous SQL query on the character database and passes an ElunaQuery to a callback function."], - [3, "Ban", "", "Ban's a Player's account, character or IP"], - [3, "CharDBExecute", "", "Executes a SQL query on the character database."], - [3, "CharDBQuery", "", "Executes a SQL query on the character database and returns an ElunaQuery."], - [3, "CharDBQueryAsync", "", "Executes an asynchronous SQL query on the character database and passes an ElunaQuery to a callback function."], - [3, "ClearBattleGroundEvents", "", "Unbinds event handlers for either all BattleGround events, or one type of event."], - [3, "ClearCreatureEvents", "", "Unbinds event handlers for either all of a Creature's events, or one type of event."], - [3, "ClearCreatureGossipEvents", "", "Unbinds event handlers for either all of a Creature's gossip events, or one type of event."], - [3, "ClearGameObjectEvents", "", "Unbinds event handlers for either all of a GameObject's events, or one type of event."], - [3, "ClearGameObjectGossipEvents", "", "Unbinds event handlers for either all of a GameObject's gossip events, or one type of event."], - [3, "ClearGroupEvents", "", "Unbinds event handlers for either all Group events, or one type of Group event."], - [3, "ClearGuildEvents", "", "Unbinds event handlers for either all Guild events, or one type of Guild event."], - [3, "ClearInstanceEvents", "", "Unbinds event handlers for either all of an instanced Map's events, or one type of event."], - [3, "ClearItemEvents", "", "Unbinds event handlers for either all of an Item's events, or one type of event."], - [3, "ClearItemGossipEvents", "", "Unbinds event handlers for either all of an Item's gossip events, or one type of event."], - [3, "ClearMapEvents", "", "Unbinds event handlers for either all of a non-instanced Map's events, or one type of event."], - [3, "ClearPacketEvents", "", "Unbinds event handlers for either all of a WorldPacket opcode's events, or one type of event."], - [3, "ClearPlayerEvents", "", "Unbinds event handlers for either all Player events, or one type of Player event."], - [3, "ClearPlayerGossipEvents", "", "Unbinds event handlers for either all of a Player's gossip events, or one type of event."], - [3, "ClearServerEvents", "", "Unbinds event handlers for either all server events, or one type of event."], - [3, "ClearUniqueCreatureEvents", "", "Unbinds event handlers for either all of a Creature's events, or one type of event."], - [3, "CreateLongLong", "", "Returns an object representing a long long (64-bit) value."], - [3, "CreateLuaEvent", "", "Registers a global timed event."], - [3, "CreatePacket", "", "Creates a WorldPacket."], - [3, "CreateULongLong", "", "Returns an object representing an unsigned long long (64-bit) value."], - [3, "GetActiveGameEvents", "", "Returns the currently active game events."], - [3, "GetAreaName", "", "Returns the area or zone's name."], - [3, "GetCoreExpansion", "", "Returns emulator's supported expansion."], - [3, "GetCoreName", "", "Returns emulator's name."], - [3, "GetCoreVersion", "", "Returns emulator version"], - [3, "GetCurrTime", "", "Returns the server's current time."], - [3, "GetGUIDEntry", "", "Returns the entry ID from a GUID."], - [3, "GetGUIDLow", "", "Returns the low GUID from a GUID."], - [3, "GetGUIDType", "", "Returns the type ID from a GUID."], - [3, "GetGameTime", "", "Returns game time in seconds"], - [3, "GetGuildByLeaderGUID", "", "Returns Guild by the leader's GUID"], - [3, "GetGuildByName", "", "Returns a Guild by name."], - [3, "GetItemGUID", "", "Builds an Item's GUID."], - [3, "GetItemLink", "", "Returns an chat link for an Item."], - [3, "GetItemTemplate", "", ""], - [3, "GetLuaEngine", "", "Returns Lua engine's name."], - [3, "GetMapById", "", "Returns a Map by ID."], - [3, "GetObjectGUID", "", "Builds a GameObject's GUID."], - [3, "GetOwnerHalaa", "", "Gets the faction which is the current owner of Halaa in Nagrand 0 = Alliance 1 = Horde"], - [3, "GetPlayerByGUID", "", "Finds and Returns Player by guid if found"], - [3, "GetPlayerByName", "", "Finds and Returns Player by name if found"], - [3, "GetPlayerCount", "", "Returns the amount of Players in the world."], - [3, "GetPlayerGUID", "", "Builds a Player's GUID"], - [3, "GetPlayersInWorld", "", "Returns a table with all the current Players in the world"], - [3, "GetQuest", "", "Returns Quest template"], - [3, "GetRealmID", "", ""], - [3, "GetStateInstanceId", "", "Returns the instance ID of the Lua state. Returns 0 for continent maps and the world state."], - [3, "GetStateMap", "", "Returns the Map pointer of the Lua state. Returns null for the "World" state. "], - [3, "GetStateMapId", "", "Returns the map ID of the Lua state. Returns -1 for the "World" state."], - [3, "GetTimeDiff", "", "Returns the difference between an old timestamp and the current time."], - [3, "GetUnitGUID", "", "Builds a Creature's GUID."], - [3, "HttpRequest", "", "Performs a non-blocking HTTP request."], - [3, "IsBagPos", "", "Returns true if the bag and slot is a valid bag position, otherwise false."], - [3, "IsBankPos", "", "Returns true if the bag and slot is a valid bank position, otherwise false."], - [3, "IsCompatibilityMode", "", "Returns true if Eluna is in compatibility mode, false if in multistate."], - [3, "IsEquipmentPos", "", "Returns true if the bag and slot is a valid equipment position, otherwise false."], - [3, "IsGameEventActive", "", "Returns true if the event is currently active, otherwise false."], - [3, "IsInventoryPos", "", "Returns true if the bag and slot is a valid inventory position, otherwise false."], - [3, "Kick", "", "Kicks a Player from the server."], - [3, "PerformIngameSpawn", "", "Performs an in-game spawn and returns the Creature or GameObject spawned."], - [3, "PrintDebug", "", "Prints given parameters to the debug log."], - [3, "PrintError", "", "Prints given parameters to the error log."], - [3, "PrintInfo", "", "Prints given parameters to the info log."], - [3, "RegisterBGEvent", "", "Registers a BattleGround event handler."], - [3, "RegisterCreatureEvent", "", "Registers a Creature event handler."], - [3, "RegisterCreatureGossipEvent", "", "Registers a Creature gossip event handler."], - [3, "RegisterGameObjectEvent", "", "Registers a GameObject event handler."], - [3, "RegisterGameObjectGossipEvent", "", "Registers a GameObject gossip event handler."], - [3, "RegisterGroupEvent", "", "Registers a Group event handler."], - [3, "RegisterGuildEvent", "", "Registers a Guild event handler."], - [3, "RegisterInstanceEvent", "", "Registers a Map event handler for one instance of a Map."], - [3, "RegisterItemEvent", "", "Registers an Item event handler."], - [3, "RegisterItemGossipEvent", "", "Registers an Item gossip event handler."], - [3, "RegisterMapEvent", "", "Registers a Map event handler for all instance of a Map."], - [3, "RegisterPacketEvent", "", "Registers a WorldPacket event handler."], - [3, "RegisterPlayerEvent", "", "Registers a Player event handler."], - [3, "RegisterPlayerGossipEvent", "", "Registers a Player gossip event handler."], - [3, "RegisterServerEvent", "", "Registers a server event handler."], - [3, "RegisterUniqueCreatureEvent", "", "Registers a Creature event handler for a single Creature."], - [3, "ReloadEluna", "", "Reloads the Lua engine."], - [3, "RemoveEventById", "", "Removes a global timed event specified by ID."], - [3, "RemoveEvents", "", "Removes all global timed events."], - [3, "RunCommand", "", "Runs a command."], - [3, "SaveAllPlayers", "", "Saves all Players."], - [3, "SendMail", "", "Sends mail to a Player."], - [3, "SendWorldMessage", "", "Sends a message to all Players online."], - [3, "SetOwnerHalaa", "", "Sets the owner of Halaa in Nagrand to the respective faction 0 = Alliance 1 = Horde"], - [3, "StartGameEvent", "", "Starts the event by eventId, if force is set, the event will force start regardless of previous event state."], - [3, "StopGameEvent", "", "Stops the event by eventId, if force is set, the event will force stop regardless of previous event state."], - [3, "VendorRemoveAllItems", "", "Removes all Items from a vendor and updates the database."], - [3, "VendorRemoveItem", "", "Removes an Item from a vendor and updates the database."], - [3, "WorldDBExecute", "", "Executes a SQL query on the world database."], - [3, "WorldDBQuery", "", "Executes a SQL query on the world database and returns an ElunaQuery."], - [3, "WorldDBQueryAsync", "", "Executes an asynchronous SQL query on the world database and passes an ElunaQuery to a callback function."], - [3, "bit_and", "", "Performs a bitwise AND (a & b)."], - [3, "bit_lshift", "", "Performs a bitwise left-shift (a << b)."], - [3, "bit_not", "", "Performs a bitwise NOT (~a)."], - [3, "bit_or", "", "Performs a bitwise OR (a | b)."], - [3, "bit_rshift", "", "Performs a bitwise right-shift (a >> b)."], - [3, "bit_xor", "", "Performs a bitwise XOR (a ^ b)."], - ], - "paths": [] -};searchIndex["Group"] = { - "items": [ - [0, "", "Group", "Inherits all methods from: none"], - [3, "AddMember", "", "Adds a new member to the Group"], - [3, "ConvertToRaid", "", "Converts this Group to a raid Group"], - [3, "Disband", "", "Disbands this Group"], - [3, "GetGUID", "", "Returns the Group's GUID"], - [3, "GetGroupType", "", "Returns the type of this Group"], - [3, "GetLeaderGUID", "", "Returns Group leader GUID"], - [3, "GetMemberGUID", "", "Returns a Group member's GUID by their name"], - [3, "GetMemberGroup", "", "Returns the Player's subgroup ID of this Group"], - [3, "GetMembers", "", "Returns a table with the Players in this Group"], - [3, "GetMembersCount", "", "Returns the member count of this Group"], - [3, "HasFreeSlotSubGroup", "", "Returns 'true' if the subgroup has free slots in this Group"], - [3, "IsAssistant", "", "Returns 'true' if the Player is an assistant of this Group"], - [3, "IsBGGroup", "", "Returns 'true' if the Group is a battleground Group"], - [3, "IsFull", "", "Returns 'true' if the Group is full"], - [3, "IsLFGGroup", "", "Returns 'true' if the Group is a LFG group"], - [3, "IsLeader", "", "Returns 'true' if the Player is the Group leader"], - [3, "IsMember", "", "Returns 'true' if the Player is a member of this Group"], - [3, "IsRaidGroup", "", "Returns 'true' if the Group is a raid Group"], - [3, "RemoveMember", "", "Removes a Player from this Group and returns 'true' if successful"], - [3, "SameSubGroup", "", "Returns 'true' if the Players are in the same subgroup in this Group"], - [3, "SendPacket", "", "Sends a specified WorldPacket to this Group"], - [3, "SetLeader", "", "Sets the leader of this Group"], - [3, "SetMemberFlag", "", "Sets or removes a flag for a Group member"], - [3, "SetMembersGroup", "", "Sets the member's subGroup"], - [3, "SetTargetIcon", "", "Sets the target icon of an object for the Group"], - ], - "paths": [] -};searchIndex["Guild"] = { - "items": [ - [0, "", "Guild", "Inherits all methods from: none"], - [3, "AddMember", "", "Adds the specified Player to the Guild at the specified rank."], - [3, "DeleteMember", "", "Removes the specified Player from the Guild."], - [3, "Disband", "", "Disbands the Guild"], - [3, "GetId", "", "Returns the Guilds entry ID"], - [3, "GetInfo", "", "Returns the Guilds current info"], - [3, "GetLeader", "", "Finds and returns the Guild leader by their GUID if logged in"], - [3, "GetLeaderGUID", "", "Returns Guild leader GUID"], - [3, "GetMOTD", "", "Returns the Guilds current Message Of The Day"], - [3, "GetMemberCount", "", "Returns the member count of this Guild"], - [3, "GetMembers", "", "Returns a table with the Players in this Guild"], - [3, "GetName", "", "Returns the Guilds name"], - [3, "SendPacket", "", "Sends a WorldPacket to all the Players in the Guild"], - [3, "SendPacketToRanked", "", "Sends a WorldPacket to all the Players at the specified rank in the Guild"], - [3, "SetBankTabText", "", "Sets the information of the bank tab specified"], - [3, "SetLeader", "", "Sets the leader of this Guild"], - [3, "SetMemberRank", "", "Promotes/demotes the Player to the specified rank."], - ], - "paths": [] -};searchIndex["Item"] = { - "items": [ - [0, "", "Item", "Inherits all methods from: Object"], - [3, "CanBeTraded", "", "Returns 'true' if the Item can be traded, 'false' otherwise"], - [3, "ClearEnchantment", "", "Removes an enchant from the Item by the specified slot"], - [3, "GetAllowableClass", "", "Returns the Player classes allowed to use this Item"], - [3, "GetAllowableRace", "", "Returns the Player races allowed to use this Item"], - [3, "GetBagSize", "", "Returns the bag size of this Item, 0 if Item is not a bag"], - [3, "GetBagSlot", "", "Returns the Items current bag slot"], - [3, "GetBuyCount", "", "Returns the default purchase count of the Item"], - [3, "GetBuyPrice", "", "Returns the purchase price of the Item"], - [3, "GetClass", "", "Returns class of the Item"], - [3, "GetCount", "", "Returns the Items stack count"], - [3, "GetDisplayId", "", "Returns the display ID of the Item"], - [3, "GetEnchantmentId", "", "Returns the Items enchantment ID by enchant slot specified"], - [3, "GetInventoryType", "", "Returns the inventory type of the Item"], - [3, "GetItemLevel", "", "Returns the Items level"], - [3, "GetItemLink", "", "Returns the chat link of the Item"], - [3, "GetItemSet", "", "Returns the item set ID of this Item"], - [3, "GetItemTemplate", "", "Returns the ItemTemplate for this Item."], - [3, "GetMaxStackCount", "", "Returns the Items max stack count"], - [3, "GetName", "", "Returns the name of the Item"], - [3, "GetOwner", "", "Returns the Player who currently owns the Item"], - [3, "GetOwnerGUID", "", ""], - [3, "GetQuality", "", "Returns the quality of the Item"], - [3, "GetRandomProperty", "", "Returns the random property ID of this Item"], - [3, "GetRandomSuffix", "", ""], - [3, "GetRequiredLevel", "", "Returns the minimum level required to use this Item"], - [3, "GetSellPrice", "", "Returns the sell price of the Item"], - [3, "GetSlot", "", "Returns the Items current slot"], - [3, "GetSpellId", "", "Returns the spell ID tied to the Item by spell index"], - [3, "GetSpellTrigger", "", "Returns the spell trigger tied to the Item by spell index"], - [3, "GetStatsCount", "", ""], - [3, "GetSubClass", "", "Returns subclass of the Item"], - [3, "HasQuest", "", "Returns 'true' if the Item has the Quest specified tied to it, 'false' otherwise"], - [3, "IsArmorVellum", "", "Returns 'true' if the Item is an armor vellum, 'false' otherwise"], - [3, "IsBag", "", "Returns 'true' if the Item is a bag, 'false' otherwise"], - [3, "IsBoundAccountWide", "", "Returns 'true' if the Item is account bound, 'false' otherwise"], - [3, "IsBoundByEnchant", "", "Returns 'true' if the Item is bound to a Player by an enchant, 'false' otehrwise"], - [3, "IsBroken", "", "Returns 'true' if the Item is broken, 'false' otherwise"], - [3, "IsConjuredConsumable", "", "Returns 'true' if the Item is a conjured consumable, 'false' otherwise"], - [3, "IsCurrencyToken", "", "Returns 'true' if the Item is a currency token, 'false' otherwise"], - [3, "IsEquipped", "", "Returns 'true' if the Item is currently equipped, 'false' otherwise"], - [3, "IsInBag", "", "Returns 'true' if the Item is currently in a bag, 'false' otherwise"], - [3, "IsInTrade", "", "Returns 'true' if the Item is currently in a trade window, 'false' otherwise"], - [3, "IsLocked", "", "Returns 'true' if the Item is locked, 'false' otherwise"], - [3, "IsNotBoundToPlayer", "", "Returns 'true' if the Item is not bound to the Player specified, 'false' otherwise"], - [3, "IsNotEmptyBag", "", "Returns 'true' if the Item is a not an empty bag, 'false' otherwise"], - [3, "IsPotion", "", "Returns 'true' if the Item is a potion, 'false' otherwise"], - [3, "IsSoulBound", "", "Returns 'true' if the Item is soulbound, 'false' otherwise"], - [3, "IsWeaponVellum", "", "Returns 'true' if the Item is a weapon vellum, 'false' otherwise"], - [3, "SaveToDB", "", "Saves the Item to the database"], - [3, "SetBinding", "", "Sets the binding of the Item to 'true' or 'false'"], - [3, "SetCount", "", "Sets the stack count of the Item"], - [3, "SetEnchantment", "", "Sets the specified enchantment of the Item to the specified slot"], - [3, "SetOwner", "", "Sets the Player specified as the owner of the Item"], - ], - "paths": [] -};searchIndex["ItemTemplate"] = { - "items": [ - [0, "", "ItemTemplate", ""], - [3, "GetAllowableClass", "", "Returns the Player classes allowed to use this ItemTemplate."], - [3, "GetAllowableRace", "", "Returns the Player races allowed to use this ItemTemplate."], - [3, "GetBuyCount", "", "Returns the ItemTemplate's default purchase count."], - [3, "GetBuyPrice", "", "Returns the ItemTemplate's purchase price."], - [3, "GetClass", "", "Returns the ItemTemplate's class."], - [3, "GetDisplayId", "", "Returns the ItemTemplate's display ID."], - [3, "GetExtraFlags", "", "Returns the ItemTemplate's extra flags."], - [3, "GetFlags", "", "Returns the ItemTemplate's flags."], - [3, "GetInventoryType", "", "Returns the ItemTemplate's inventory type."], - [3, "GetItemId", "", "Returns the ItemTemplate's ID."], - [3, "GetItemLevel", "", "Returns the ItemTemplate's item level."], - [3, "GetName", "", "Returns the ItemTemplate's name."], - [3, "GetQuality", "", "Returns the ItemTemplate's quality."], - [3, "GetRequiredLevel", "", "Returns the minimum level required to use this ItemTemplate."], - [3, "GetSellPrice", "", "Returns the ItemTemplate's sell price."], - [3, "GetSubClass", "", "Returns the ItemTemplate's subclass."], - ], - "paths": [] -};searchIndex["Map"] = { - "items": [ - [0, "", "Map", "A game map, e.g. Azeroth, Eastern Kingdoms, the Molten Core, etc."], - [3, "GetAreaId", "", "Returns the area ID of the Map at the specified X, Y, and Z coordinates."], - [3, "GetDifficulty", "", "Returns the difficulty of the Map."], - [3, "GetHeight", "", "Returns the height of the Map at the given X and Y coordinates."], - [3, "GetInstanceData", "", "Gets the instance data table for the Map, if it exists."], - [3, "GetInstanceId", "", "Returns the instance ID of the Map."], - [3, "GetMapId", "", "Returns the ID of the Map."], - [3, "GetName", "", "Returns the name of the Map."], - [3, "GetPlayerCount", "", "Returns the player count currently on the Map (excluding GMs)."], - [3, "GetPlayers", "", "Returns a table with all the current Players in the map"], - [3, "GetWorldObject", "", "Returns a WorldObject by its GUID from the map if it is spawned."], - [3, "IsArena", "", "Returns true if the Map is an arena BattleGround, false otherwise."], - [3, "IsBattleground", "", "Returns true if the Map is a non-arena BattleGround, false otherwise."], - [3, "IsDungeon", "", "Returns true if the Map is a dungeon, false otherwise."], - [3, "IsEmpty", "", "Returns true if the Map has no Players, false otherwise."], - [3, "IsHeroic", "", "Returns true if the Map is a heroic, false otherwise."], - [3, "IsRaid", "", "Returns true if the Map is a raid, false otherwise."], - [3, "SaveInstanceData", "", "Saves the Map's instance data to the database."], - [3, "SetWeather", "", "Sets the [Weather] type based on [WeatherType] and grade supplied."], - ], - "paths": [] -};searchIndex["Object"] = { - "items": [ - [0, "", "Object", "A basic game object (either an Item or a WorldObject)."], - [3, "GetByteValue", "", "Returns the data at the specified index and offset, casted to an unsigned 8-bit integer."], - [3, "GetEntry", "", "Returns the entry of the Object."], - [3, "GetFloatValue", "", "Returns the data at the specified index, casted to a single-precision floating point value."], - [3, "GetGUID", "", "Returns the GUID of the Object."], - [3, "GetGUIDLow", "", "Returns the low-part of the Object's GUID."], - [3, "GetInt32Value", "", "Returns the data at the specified index, casted to a signed 32-bit integer."], - [3, "GetScale", "", "Returns the scale/size of the Object."], - [3, "GetTypeId", "", "Returns the TypeId of the Object."], - [3, "GetUInt16Value", "", "Returns the data at the specified index and offset, casted to a signed 16-bit integer."], - [3, "GetUInt32Value", "", "Returns the data at the specified index, casted to a unsigned 32-bit integer."], - [3, "GetUInt64Value", "", "Returns the data at the specified index, casted to an unsigned 64-bit integer."], - [3, "HasFlag", "", "Returns true if the specified flag is set, otherwise false."], - [3, "IsInWorld", "", "Returns true if the Object has been added to its Map, otherwise false."], - [3, "IsPlayer", "", "Returns 'true' if the Object is a player, 'false' otherwise."], - [3, "RemoveFlag", "", "Removes a flag from the value at the specified index."], - [3, "SetByteValue", "", "Sets the data at the specified index and offset to the given value, converted to an unsigned 8-bit integer."], - [3, "SetFlag", "", "Sets the specified flag in the data value at the specified index."], - [3, "SetFloatValue", "", "Sets the data at the specified index to the given value, converted to a single-precision floating point value."], - [3, "SetInt16Value", "", "Sets the data at the specified index to the given value, converted to a signed 16-bit integer."], - [3, "SetInt32Value", "", "Sets the data at the specified index to the given value, converted to a signed 32-bit integer."], - [3, "SetScale", "", "Sets the Object's scale/size to the given value."], - [3, "SetUInt16Value", "", "Sets the data at the specified index to the given value, converted to an unsigned 16-bit integer."], - [3, "SetUInt32Value", "", "Sets the data at the specified index to the given value, converted to an unsigned 32-bit integer."], - [3, "SetUInt64Value", "", "Sets the data at the specified index to the given value, converted to an unsigned 64-bit integer."], - [3, "ToCorpse", "", "Attempts to convert the Object to a Corpse."], - [3, "ToCreature", "", "Attempts to convert the Object to a Creature."], - [3, "ToGameObject", "", "Attempts to convert the Object to a GameObject."], - [3, "ToPlayer", "", "Attempts to convert the Object to a Player."], - [3, "ToUnit", "", "Attempts to convert the Object to a Unit."], - [3, "UpdateUInt32Value", "", "Sets the data at the specified index to the given value, converted to an unsigned 32-bit integer."], - ], - "paths": [] -};searchIndex["Player"] = { - "items": [ - [0, "", "Player", "Inherits all methods from: Object, WorldObject, Unit"], - [3, "AddComboPoints", "", "Adds combo points to the Player"], - [3, "AddItem", "", "Adds the given amount of the specified item entry to the player."], - [3, "AddLifetimeKills", "", ""], - [3, "AddQuest", "", "Tries to add the given quest entry for the Player."], - [3, "AdvanceAllSkills", "", "Advances all of the Players skills to the amount specified"], - [3, "AdvanceSkill", "", "Advances a Players specific skill to the amount specified"], - [3, "AdvanceSkillsToMax", "", "Advances all of the Players weapon skills to the maximum amount available"], - [3, "AreaExploredOrEventHappens", "", "Completes the Quest if a Quest area is explored, or completes the Quest"], - [3, "CanBlock", "", "Returns true if the Player can block incomming attacks, false otherwise."], - [3, "CanCompleteQuest", "", "Returns true if the Player satisfies all requirements to complete the quest entry."], - [3, "CanCompleteRepeatableQuest", "", "Returns true if the Player satisfies all requirements to complete the quest entry."], - [3, "CanEquipItem", "", "Returns true if the player can equip the given Item or item entry to the given slot, false otherwise."], - [3, "CanFly", "", "Returns true if the Player can fly, false otherwise."], - [3, "CanParry", "", "Returns true if the Player can parry incomming attacks, false otherwise."], - [3, "CanRewardQuest", "", "Returns true if the Player satisfies all requirements to reward the quest entry."], - [3, "CanShareQuest", "", "Returns true if the Player can share Quest specified by ID, false otherwise."], - [3, "CanSpeak", "", "Returns true if the Player can currently communicate through chat, false otherwise."], - [3, "CanTitanGrip", "", "Returns true if the Player can Titan Grip, false otherwise."], - [3, "CanUninviteFromGroup", "", "Returns true if the Player has permission to uninvite others from the current group, false otherwise."], - [3, "CanUseItem", "", "Returns true if the Player can use the item or item entry specified, false otherwise."], - [3, "ClearComboPoints", "", "Clears the Players combo points"], - [3, "ClearHonorInfo", "", "Clears all of Players weekly honor status"], - [3, "CompleteQuest", "", "Completes the given quest entry for the Player and tries to satisfy all quest requirements."], - [3, "DurabilityLoss", "", "Damages specified Item"], - [3, "DurabilityLossAll", "", "Damages all Items equipped. If inventory is true, damages Items in bags"], - [3, "DurabilityPointLossForEquipSlot", "", "Sets durability loss for an Item in the specified slot"], - [3, "DurabilityPointsLoss", "", "Sets durability loss for the specified Item"], - [3, "DurabilityPointsLossAll", "", "Sets durability loss on all Items equipped"], - [3, "DurabilityRepair", "", "Repairs Item at specified position."], - [3, "DurabilityRepairAll", "", "Repairs all Items."], - [3, "EquipItem", "", "Equips the given item or item entry to the given slot. Returns the equipped item or nil."], - [3, "FailQuest", "", "Sets the given Quest entry failed for the Player."], - [3, "GetAccountId", "", "Returns the Players account ID"], - [3, "GetAccountName", "", "Returns the Players account name"], - [3, "GetAchievementCriteriaProgress", "", "Returns the progress of the Player for the specified achievement criteria."], - [3, "GetAchievementPoints", "", "Returns the Players current amount of Achievement Points"], - [3, "GetActiveSpec", "", "Returns the Players active spec ID"], - [3, "GetArenaPoints", "", "Returns the Players current amount of Arena Points"], - [3, "GetBaseSkillValue", "", "Returns base skill value"], - [3, "GetBattlegroundId", "", "Returns the Players current BattleGround ID"], - [3, "GetBattlegroundTypeId", "", "Returns the Players current BattleGround type ID"], - [3, "GetChampioningFaction", "", "Returns the faction ID the Player is currently flagged as champion for"], - [3, "GetChatTag", "", "Returns active GM chat tag"], - [3, "GetCoinage", "", "Returns the Players amount of money in copper"], - [3, "GetComboPoints", "", "Returns Player's combo points"], - [3, "GetComboTarget", "", "Returns Unit target combo points are on"], - [3, "GetCompletedAchievementsCount", "", "Returns the Players current amount of Achievements Completed"], - [3, "GetCompletedQuestsCount", "", "Returns the Players completed quest count"], - [3, "GetCorpse", "", "Returns the Players Corpse object"], - [3, "GetDbLocaleIndex", "", "Returns the Players database locale index"], - [3, "GetDbcLocale", "", "Returns the Players game client locale"], - [3, "GetDifficulty", "", "Returns raid or dungeon difficulty"], - [3, "GetDrunkValue", "", "Returns the Players current level of intoxication"], - [3, "GetEquippedItemBySlot", "", "Returns a Players Item object by gear slot specified"], - [3, "GetFreeTalentPoints", "", "Returns the Players free talent point amount"], - [3, "GetGMRank", "", "Returns the Players GM Rank"], - [3, "GetGlyph", "", "Get glyphId of the glyph slot specified by slotIndex off the Player's current talent specialization.`"], - [3, "GetGossipTextId", "", "Returns the database textID of the WorldObject's gossip header text for the Player"], - [3, "GetGroup", "", "Returns the Players Group object"], - [3, "GetGroupInvite", "", "Returns Group invitation"], - [3, "GetGuild", "", "Returns the Players Guild object"], - [3, "GetGuildId", "", "Returns the Players current Guild ID"], - [3, "GetGuildName", "", "Returns the name of the Players current Guild"], - [3, "GetGuildRank", "", "Returns the Players current guild rank"], - [3, "GetHealthBonusFromStamina", "", "Returns health bonus from amount of stamina"], - [3, "GetHonorLastWeekStandingPos", "", "Returns last week's standing position"], - [3, "GetHonorPoints", "", "Returns the Players current amount of Honor Points"], - [3, "GetHonorStoredKills", "", "Returns Player kills"], - [3, "GetInGameTime", "", "Returns the amount of time the Player has spent ingame"], - [3, "GetItemByEntry", "", "Returns an Item from the player by entry."], - [3, "GetItemByGUID", "", "Returns an Item from the player by guid."], - [3, "GetItemByPos", "", "Returns an item in given bag on given slot."], - [3, "GetItemCount", "", "Returns amount of the specified Item the Player has."], - [3, "GetLatency", "", "Returns the Players current latency in MS"], - [3, "GetLevelPlayedTime", "", "Returns the Players time played at current level"], - [3, "GetLifetimeKills", "", "Returns the Players lifetime Honorable Kills"], - [3, "GetMailCount", "", "Returns the amount of mails in the player's mailbox."], - [3, "GetMailItem", "", "Returns a mailed Item by guid."], - [3, "GetManaBonusFromIntellect", "", "Returns mana bonus from amount of intellect"], - [3, "GetMaxSkillValue", "", "Returns max value of specified skill"], - [3, "GetNextRandomRaidMember", "", "Returns a random Raid Member Player object within radius specified of Player"], - [3, "GetOriginalGroup", "", "Returns Players original Group object"], - [3, "GetOriginalSubGroup", "", "Returns Players original sub group"], - [3, "GetPhaseMaskForSpawn", "", "Returns the normal phase of the player instead of the actual phase possibly containing GM phase"], - [3, "GetPlayerIP", "", "Returns the Players IP address"], - [3, "GetPlayerSettingValue", "", "Gets a setting value for the Player"], - [3, "GetPureMaxSkillValue", "", "Returns max value of specified skill without bonus'"], - [3, "GetPureSkillValue", "", "Returns skill value without bonus'"], - [3, "GetQuestLevel", "", "Returns the quest level of the Players Quest specified by object"], - [3, "GetQuestRewardStatus", "", "Returns true if the Players Quest specified by entry ID has been rewarded, false otherwise."], - [3, "GetQuestStatus", "", "Returns the status of the Players Quest specified by entry ID"], - [3, "GetRankPoints", "", "Returns rank points"], - [3, "GetReputation", "", "Returns the amount of reputation the Player has with the faction specified"], - [3, "GetReputationRank", "", "Returns the Players reputation rank of faction specified"], - [3, "GetReqKillOrCastCurrentCount", "", "Returns Quest required Creature or GameObject count"], - [3, "GetRestBonus", "", "Returns the Players current resting bonus"], - [3, "GetSelection", "", "Returns the Players currently selected Unit object"], - [3, "GetShieldBlockValue", "", "Returns the Players current shield block value"], - [3, "GetSkillPermBonusValue", "", "Returns skill permanent bonus value"], - [3, "GetSkillTempBonusValue", "", "Returns skill temporary bonus value"], - [3, "GetSkillValue", "", "Returns skill value"], - [3, "GetSpecsCount", "", "Returns the amount of available specs the Player currently has"], - [3, "GetSpellCooldownDelay", "", "Returns the Players cooldown delay by specified Spell ID"], - [3, "GetSubGroup", "", "Returns Players current sub group"], - [3, "GetTeam", "", "Returns the Players [TeamId]"], - [3, "GetTotalPlayedTime", "", "Returns the Players total time played"], - [3, "GetTrader", "", "Returns the Player that is currently trading with this Player"], - [3, "GetXP", "", "Returns the Player's experience points"], - [3, "GetXPRestBonus", "", "Returns rested experience bonus"], - [3, "GiveXP", "", "Gives the Player experience"], - [3, "GossipAddQuests", "", "Adds the gossip items to the Player's gossip for the quests the given WorldObject can offer to the player."], - [3, "GossipClearMenu", "", "Clears the Players current gossip item list."], - [3, "GossipComplete", "", "Closes the Players currently open Gossip Menu."], - [3, "GossipMenuAddItem", "", "Adds a new item to the gossip menu shown to the Player on next call to Player:GossipSendMenu."], - [3, "GossipSendMenu", "", "Sends the current gossip items of the player to him as a gossip menu with header text from the given textId."], - [3, "GossipSendPOI", "", "Sends POI to the location on your map"], - [3, "GroupCreate", "", "Creates a new Group with the creator Player as leader."], - [3, "GroupEventHappens", "", "Completes a Quest if in a Group"], - [3, "GroupInvite", "", "Makes the Player invite another player to a group."], - [3, "HasAchieved", "", "Returns true if the Player has completed the specified achievement, false otherwise."], - [3, "HasAtLoginFlag", "", "Returns true if Player has specified login flag"], - [3, "HasCasterSpec", "", "Returns true if the Player has a Caster Specialization, false otherwise."], - [3, "HasHealSpec", "", "Returns true if the Player has a Heal Specialization, false otherwise."], - [3, "HasItem", "", "Returns true if the Player has the given amount of item entry specified, false otherwise."], - [3, "HasMeleeSpec", "", "Returns true if the Player has a Melee Specialization, false otherwise."], - [3, "HasQuest", "", "Returns true if the Player has an active Quest by specific ID, false otherwise."], - [3, "HasQuestForGO", "", "Returns true if Player has Quest for GameObject"], - [3, "HasQuestForItem", "", "Returns true if the Player has a quest for the item entry specified, false otherwise."], - [3, "HasSkill", "", "Returns true if the Player has a skill by specific ID, false otherwise."], - [3, "HasSpell", "", "Returns true if the Player has a Spell by specific ID, false otherwise."], - [3, "HasSpellCooldown", "", "Returns true if the Spell specified by ID is currently on cooldown for the Player, false otherwise."], - [3, "HasTalent", "", "Returns true if the Player has a talent by ID in specified spec, false otherwise."], - [3, "HasTankSpec", "", "Returns true if the Player has a Tank Specialization, false otherwise."], - [3, "HasTitle", "", "Returns true if the Player has a title by specific ID, false otherwise."], - [3, "InArena", "", "Returns true if the Player is currently in an arena, false otherwise."], - [3, "InBattleground", "", "Returns true if the Player is currently in a BattleGround, false otherwise."], - [3, "InBattlegroundQueue", "", "Returns true if the Player is currently in a BattleGround queue, false otherwise."], - [3, "IncompleteQuest", "", "Sets the given quest entry incomplete for the Player."], - [3, "IsAFK", "", "Returns true if the Player is 'Away From Keyboard' flagged, false otherwise."], - [3, "IsAcceptingWhispers", "", "Returns true if the Player is accepting whispers, false otherwise."], - [3, "IsAlliance", "", "Returns true if the Player is a part of the Alliance faction, false otherwise."], - [3, "IsDND", "", "Returns true if the Player is 'Do Not Disturb' flagged, false otherwise."], - [3, "IsFalling", "", "Returns true if the Player is currently falling, false otherwise."], - [3, "IsFlying", "", "Returns true if the Player is currently flying, false otherwise."], - [3, "IsGM", "", "Returns true if the Player is a Game Master, false otherwise."], - [3, "IsGMChat", "", ""], - [3, "IsGMVisible", "", ""], - [3, "IsGroupVisibleFor", "", ""], - [3, "IsHonorOrXPTarget", "", "Returns true if the Player is eligible for Honor or XP gain by Unit specified, false otherwise."], - [3, "IsHorde", "", "Returns true if the Player is a part of the Horde faction, false otherwise."], - [3, "IsImmuneToDamage", "", "Returns true if the Player is immune to everything."], - [3, "IsInArenaTeam", "", "Returns true if the Player is in an arena team specified by type, false otherwise."], - [3, "IsInGroup", "", "Returns true if the Player is in a Group, false otherwise."], - [3, "IsInGuild", "", "Returns true if the Player is in a Guild, false otherwise."], - [3, "IsInSameGroupWith", "", "Returns true if the Player is currently in the same Group as another Player by object, false otherwise."], - [3, "IsInSameRaidWith", "", "Returns true if the Player is currently in the same raid as another Player by object, false otherwise."], - [3, "IsInWater", "", "Returns true if the Player is currently in water, false otherwise."], - [3, "IsMoving", "", "Returns true if the Player is currently moving, false otherwise."], - [3, "IsRested", "", "Returns true if the Player is currently rested, false otherwise."], - [3, "IsTaxiCheater", "", "Returns true if the Player has taxi cheat activated, false otherwise."], - [3, "IsVisibleForPlayer", "", "Returns true if the Player can see anoter Player specified by object, false otherwise."], - [3, "KickPlayer", "", "Kicks the Player from the server"], - [3, "KillPlayer", "", "Kills the Player"], - [3, "KilledMonsterCredit", "", "Gives Quest monster killed credit"], - [3, "LearnSpell", "", "Teaches the Player the Spell specified by entry ID"], - [3, "LearnTalent", "", "Learn the Player the talent specified by talent_id and talentRank"], - [3, "LeaveBattleground", "", "Forces the Player to leave a BattleGround"], - [3, "LogoutPlayer", "", "Forces the Player to log out"], - [3, "ModifyArenaPoints", "", "Adds or detracts from the Players current Arena Points"], - [3, "ModifyHonorPoints", "", "Adds or detracts from the Players current Honor Points"], - [3, "ModifyMoney", "", "Adds or subtracts from the Players money in copper"], - [3, "Mute", "", "Mutes the Player for the amount of seconds specified"], - [3, "RemoveArenaSpellCooldowns", "", "Remove cooldowns on spells that have less than 10 minutes of cooldown from the Player, similarly to when you enter an arena."], - [3, "RemoveFromBattlegroundRaid", "", "Forcefully removes the Player from a BattleGround raid group"], - [3, "RemoveFromGroup", "", "Forces the Player to leave a Group"], - [3, "RemoveItem", "", "Removes the given amount of the specified Item from the player."], - [3, "RemoveLifetimeKills", "", "Removes specified amount of lifetime kills"], - [3, "RemoveQuest", "", "Removes the given quest entry from the Player."], - [3, "RemoveSpell", "", "Removes the Spell from the Player"], - [3, "RemovedInsignia", "", "Loots Player's bones for insignia"], - [3, "ResetAchievements", "", "Reset the Players completed achievements"], - [3, "ResetAllCooldowns", "", "Resets all of the Player's cooldowns"], - [3, "ResetHonor", "", "Resets the Players weekly honor status"], - [3, "ResetPetTalents", "", "Resets the Players pets talent points"], - [3, "ResetSpellCooldown", "", "Resets cooldown of the specified spell"], - [3, "ResetTalents", "", "Resets the Players talents"], - [3, "ResetTalentsCost", "", "Returns the Players accumulated talent reset cost"], - [3, "ResetTypeCooldowns", "", "Resets cooldown of the specified category"], - [3, "ResurrectPlayer", "", "Resurrects the Player."], - [3, "RewardQuest", "", "Rewards the given quest entry for the Player if he has completed it."], - [3, "RunCommand", "", "Run a chat command as if the player typed it into the chat"], - [3, "SaveToDB", "", "Saves the Player to the database"], - [3, "Say", "", "Sends say text from the Player"], - [3, "SendAddonMessage", "", "Sends addon message to the Player receiver"], - [3, "SendAreaTriggerMessage", "", "Sends an Area Trigger Message to the Player"], - [3, "SendAuctionMenu", "", "Sends an auction house window to the Player from the Unit specified"], - [3, "SendBroadcastMessage", "", "Sends a Broadcast Message to the Player"], - [3, "SendCinematicStart", "", "Starts a cinematic for the Player"], - [3, "SendGuildInvite", "", "Sends a guild invitation from the Players Guild to the Player object specified"], - [3, "SendListInventory", "", "Sends a vendor window to the Player from the WorldObject specified."], - [3, "SendMovieStart", "", "Starts a movie for the Player"], - [3, "SendNotification", "", "Sends a Notification to the Player"], - [3, "SendPacket", "", "Sends a WorldPacket to the Player"], - [3, "SendQuestTemplate", "", "Shows a quest accepting window to the Player for the given quest."], - [3, "SendShowBank", "", "Sends a bank window to the Player from the WorldObject specified."], - [3, "SendShowMailBox", "", "Shows the mailbox window to the player from specified guid."], - [3, "SendSpiritResurrect", "", "Sends a spirit resurrection request to the Player"], - [3, "SendTabardVendorActivate", "", "Sends a tabard vendor window to the Player from the WorldObject specified"], - [3, "SendTaxiMenu", "", "Sends a flightmaster window to the Player from the Creature specified"], - [3, "SendTrainerList", "", "Sends a trainer window to the Player from the Creature specified"], - [3, "SendUpdateWorldState", "", "Sends an update for the world state to the Player"], - [3, "SetAcceptWhispers", "", "Toggles whether the Player accepts whispers or not"], - [3, "SetAchievement", "", "Adds the specified achievement to the Players"], - [3, "SetArenaPoints", "", "Sets the Players Arena Points to the amount specified"], - [3, "SetAtLoginFlag", "", "Sets the Players login flag to the flag specified"], - [3, "SetBindPoint", "", "Sets the Players home location to the location specified"], - [3, "SetCoinage", "", "Sets the Players amount of money to copper specified"], - [3, "SetDrunkValue", "", "Sets the Players intoxication level to the level specified"], - [3, "SetFFA", "", "Toggle the Players FFA flag"], - [3, "SetFactionForRace", "", "Sets the Players faction standing to that of the race specified"], - [3, "SetFreeTalentPoints", "", "Sets the Players free talent points to the amount specified for the current spec"], - [3, "SetGMChat", "", "Toggle Blizz (GM) tag"], - [3, "SetGMVisible", "", "Toggles whether the Player has GM visibility on or off"], - [3, "SetGameMaster", "", "Toggles the Players GM mode on or off"], - [3, "SetGender", "", "Sets the Players gender to gender specified"], - [3, "SetGlyph", "", "Adds a glyph specified by glyphId to the Player's current talent specialization into the slot with the index slotIndex"], - [3, "SetGuildRank", "", "Sets the Players guild rank to the rank specified"], - [3, "SetHonorLastWeekStandingPos", "", "Sets last week's honor standing position"], - [3, "SetHonorPoints", "", "Sets the Players Honor Points to the amount specified"], - [3, "SetHonorStoredKills", "", "Sets kills"], - [3, "SetKnownTitle", "", "Adds the specified title to the Players list of known titles"], - [3, "SetLifetimeKills", "", "Sets the Players amount of Lifetime Honorable Kills to the value specified"], - [3, "SetPlayerLock", "", "Locks the player controls and disallows all movement and casting."], - [3, "SetPvPDeath", "", "Toggles PvP Death"], - [3, "SetQuestStatus", "", "Sets Quest state"], - [3, "SetRankPoints", "", "Sets rank points"], - [3, "SetReputation", "", "Sets the Players reputation amount for the faction specified"], - [3, "SetRestBonus", "", "Sets the Players rest bonus to the amount specified"], - [3, "SetSheath", "", "Sets the Players sheathe state to the state specified"], - [3, "SetSkill", "", "Sets (increases) skill of the Player"], - [3, "SetSpellPower", "", "The Player sets the spell power"], - [3, "SetTaxiCheat", "", "Toggles whether the Player has taxi cheat enabled or not"], - [3, "SpawnBones", "", "Converts Player's corpse to bones"], - [3, "StartTaxi", "", "Attempts to start the taxi/flying to the given pathID"], - [3, "SummonPlayer", "", "Sends a summon request to the player from the given summoner"], - [3, "TalkedToCreature", "", "Gives Quest monster talked to credit"], - [3, "Teleport", "", "Teleports a Player to the location specified"], - [3, "TextEmote", "", "Sends a text emote from the Player"], - [3, "ToggleAFK", "", "Toggle the Players 'Away From Keyboard' flag"], - [3, "ToggleDND", "", "Toggle the Players 'Do Not Disturb' flag"], - [3, "UnbindAllInstances", "", "Unbinds the Player from his instances except the one he currently is in."], - [3, "UnbindInstance", "", "Unbinds the Player from his instances except the one he currently is in."], - [3, "UnsetKnownTitle", "", "Removes a title by ID from the Players list of known titles"], - [3, "UpdateHonor", "", "Updates the Players weekly honor status"], - [3, "UpdatePlayerSetting", "", "Sets a setting value for the Player"], - [3, "Whisper", "", "Sends whisper text from the Player"], - [3, "Yell", "", "Sends yell text from the Player"], - ], - "paths": [] -};searchIndex["Quest"] = { - "items": [ - [0, "", "Quest", "Inherits all methods from: none"], - [3, "GetFlags", "", "Returns the Quest's flags."], - [3, "GetId", "", "Returns entry ID of the Quest."], - [3, "GetLevel", "", "Returns the Quest's level."], - [3, "GetMinLevel", "", "Returns the minimum level required to pick up the Quest."], - [3, "GetNextQuestId", "", "Returns the next Quest entry ID."], - [3, "GetNextQuestInChain", "", "Returns the next Quest entry ID in the specific Quest chain."], - [3, "GetPrevQuestId", "", "Returns the previous Quest entry ID."], - [3, "GetType", "", "Returns the Quest's type."], - [3, "HasFlag", "", "Returns 'true' if the Quest has the specified flag, false otherwise. Below flags are based off of 3.3.5a. Subject to change."], - [3, "IsDaily", "", "Returns 'true' if the Quest is a daily quest, false otherwise."], - [3, "IsRepeatable", "", "Returns 'true' if the Quest is repeatable, false otherwise."], - ], - "paths": [] -};searchIndex["Roll"] = { - "items": [ - [0, "", "Roll", ""], - [3, "GetItemCount", "", "Returns the rolled Item's count."], - [3, "GetItemGUID", "", "Returns the rolled Item's GUID."], - [3, "GetItemId", "", "Returns the rolled Item's entry."], - [3, "GetItemRandomPropId", "", "Returns the rolled Item's random property ID."], - [3, "GetItemRandomSuffix", "", "Returns the rolled Item's random suffix ID."], - [3, "GetItemSlot", "", "Returns the rolled Item's slot in the loot window."], - [3, "GetPlayerVote", "", "Returns the vote type for a Player on this Roll. See Roll:GetPlayerVoteGUIDs to obtain the GUIDs of the Players who rolled."], - [3, "GetPlayerVoteGUIDs", "", "Returns the GUIDs of the Players who rolled. See Roll:GetPlayerVote to obtain the vote type of a Player."], - [3, "GetRollVoteMask", "", "Returns the mask applied to this Roll."], - [3, "GetTotalGreed", "", "Returns the total number of players who rolled greed."], - [3, "GetTotalNeed", "", "Returns the total number of players who rolled need."], - [3, "GetTotalPass", "", "Returns the total number of players who passed."], - [3, "GetTotalPlayersRolling", "", "Returns the total number of players who rolled."], - ], - "paths": [] -};searchIndex["Spell"] = { - "items": [ - [0, "", "Spell", "An instance of a spell, created when the spell is cast by a Unit."], - [3, "Cancel", "", "Cancels the Spell."], - [3, "Cast", "", "Casts the Spell."], - [3, "Finish", "", "Finishes the Spell."], - [3, "GetCastTime", "", "Returns the cast time of the Spell."], - [3, "GetCaster", "", "Returns the Unit that casted the Spell."], - [3, "GetDuration", "", "Returns the spell duration of the Spell."], - [3, "GetEntry", "", "Returns the entry ID of the Spell."], - [3, "GetPowerCost", "", "Returns the power cost of the Spell."], - [3, "GetReagentCost", "", "Returns the reagents needed for the Spell."], - [3, "GetTarget", "", "Returns the target Object of the Spell."], - [3, "GetTargetDest", "", "Returns the target destination coordinates of the Spell."], - [3, "IsAutoRepeat", "", "Returns true if the Spell is automatically repeating, false otherwise."], - [3, "SetAutoRepeat", "", "Sets the Spell to automatically repeat."], - ], - "paths": [] -};searchIndex["Unit"] = { - "items": [ - [0, "", "Unit", "Inherits all methods from: Object, WorldObject"], - [3, "AddAura", "", "Adds the Aura of the given spell entry on the given target from the Unit."], - [3, "AddThreat", "", "Adds threat to the Unit from the victim."], - [3, "AddUnitState", "", "Adds the given unit state for the Unit."], - [3, "Attack", "", "The Unit tries to attack a given target"], - [3, "AttackStop", "", "The Unit stops attacking its target"], - [3, "CastCustomSpell", "", "Casts the Spell at target Unit with custom basepoints or casters. See also Unit:CastSpell."], - [3, "CastSpell", "", "Makes the Unit cast the spell on the target."], - [3, "CastSpellAoF", "", "Makes the Unit cast the spell to the given coordinates, used for area effect spells."], - [3, "ClearInCombat", "", "Clears the Unit's combat"], - [3, "ClearThreatList", "", "Clears the Unit's threat list."], - [3, "ClearUnitState", "", "Removes the given unit state from the Unit."], - [3, "CountPctFromCurHealth", "", "Returns calculated percentage from Health"], - [3, "CountPctFromMaxHealth", "", "Returns calculated percentage from Max Health"], - [3, "DeMorph", "", "Unmorphs the Unit setting it's display ID back to the native display ID."], - [3, "DealDamage", "", "Makes the Unit damage the target Unit"], - [3, "DealHeal", "", "Makes the Unit heal the target Unit with given spell"], - [3, "Dismount", "", "Dismounts the Unit."], - [3, "EmoteState", "", "Makes the Unit perform the given emote continuously."], - [3, "GetAttackers", "", "Returns the Unit's attackers."], - [3, "GetAura", "", "Returns the Aura of the given spell entry on the Unit or nil."], - [3, "GetBaseSpellPower", "", "Returns the Unit's base spell power"], - [3, "GetCharmGUID", "", "Returns the GUID of the Unit's charmed entity."], - [3, "GetCharmerGUID", "", "Returns the Unit's charmer's GUID."], - [3, "GetClass", "", "Returns the Unit's class ID."], - [3, "GetClassAsString", "", "Returns the Unit's class' name in given or default locale or nil."], - [3, "GetClassMask", "", "Returns the class mask"], - [3, "GetControllerGUID", "", "Returns the GUID of the Unit's charmer or owner."], - [3, "GetControllerGUIDS", "", "Returns the GUID of the Unit's charmer or owner or its own GUID."], - [3, "GetCreatorGUID", "", "Returns the Unit's creator's GUID."], - [3, "GetCreatureType", "", "Returns the Unit's creature type ID (enumerated in CreatureType.dbc)."], - [3, "GetCritterGUID", "", "Returns the Critter Guid"], - [3, "GetCurrentSpell", "", "Returns the currently casted Spell of given type or nil."], - [3, "GetDisplayId", "", "Returns the Unit's current display ID."], - [3, "GetFaction", "", "Returns the Unit's faction ID."], - [3, "GetFriendlyUnitsInRange", "", "Returns a table containing friendly Unit's within given range of the Unit."], - [3, "GetGender", "", "Returns the Unit's gender."], - [3, "GetHealth", "", "Returns the Unit's health amount."], - [3, "GetHealthPct", "", "Returns the Unit's health percent."], - [3, "GetLevel", "", "Returns the Unit's level."], - [3, "GetMaxHealth", "", "Returns the Unit's max health."], - [3, "GetMaxPower", "", "Returns the Unit's max power amount for given power type."], - [3, "GetMountId", "", "Returns the Unit's mount's modelID."], - [3, "GetMovementType", "", "Returns the current movement type for this Unit."], - [3, "GetNativeDisplayId", "", "Returns the Unit's native/original display ID."], - [3, "GetOwner", "", "Returns the Unit's owner."], - [3, "GetOwnerGUID", "", "Returns the Unit's owner's GUID."], - [3, "GetPetGUID", "", "Returns the GUID of the Unit's pet."], - [3, "GetPower", "", "Returns the Unit's power amount for given power type."], - [3, "GetPowerPct", "", "Returns the Unit's power percent for given power type."], - [3, "GetPowerType", "", "Returns the Unit's current power type."], - [3, "GetRace", "", "Returns the Unit's race ID."], - [3, "GetRaceAsString", "", "Returns the Unit's race's name in given or default locale or nil."], - [3, "GetRaceMask", "", "Returns the race mask"], - [3, "GetSpeed", "", "Returns the Unit's speed of given [UnitMoveType]."], - [3, "GetSpeedRate", "", "Returns the Unit's speed rate of given [UnitMoveType]."], - [3, "GetStandState", "", "Returns the Unit's current stand state."], - [3, "GetStat", "", "Returns Unit's specified stat"], - [3, "GetThreatList", "", "Returns the Unit's threat list."], - [3, "GetUnfriendlyUnitsInRange", "", "Returns a table containing unfriendly Unit's within given range of the Unit."], - [3, "GetVehicle", "", ""], - [3, "GetVehicleKit", "", "Returns Unit's Vehicle methods"], - [3, "GetVictim", "", "Returns the Unit's current victim target or nil."], - [3, "HandleStatModifier", "", "The Unit modifies a specific stat"], - [3, "HasAura", "", "Returns true if the Unit has an aura from the given spell entry."], - [3, "HasUnitState", "", "Returns true if the Unit has the given unit state."], - [3, "HealthAbovePct", "", "Returns true if the Unit's health is above the given percentage."], - [3, "HealthBelowPct", "", "Returns true if the Unit's health is below the given percentage."], - [3, "InterruptSpell", "", "Interrupts Unit's spell state, casting, etc."], - [3, "IsAlive", "", "Returns true if the Unit is alive."], - [3, "IsArmorer", "", "Returns true if the Unit is an armorer and can repair equipment."], - [3, "IsAttackingPlayer", "", "Returns true if the Unit is attacking a player."], - [3, "IsAuctioneer", "", "Returns true if the Unit an auctioneer."], - [3, "IsBanker", "", "Returns true if the Unit is a banker."], - [3, "IsBattleMaster", "", "Returns true if the Unit is a battle master."], - [3, "IsCasting", "", "Returns true if the Unit is casting a spell"], - [3, "IsCharmed", "", "Returns true if the Unit is a charmed."], - [3, "IsDead", "", "Returns true if the Unit is dead."], - [3, "IsDying", "", "Returns true if the Unit is dying."], - [3, "IsFullHealth", "", "Returns true if the Unit has full health."], - [3, "IsGossip", "", "Returns true if the Unit is able to show a gossip window."], - [3, "IsGuildMaster", "", "Returns true if the Unit a guild master."], - [3, "IsInAccessiblePlaceFor", "", "Returns true if the Unit is in an accessible place for the given Creature."], - [3, "IsInCombat", "", "Returns true if the Unit is in combat."], - [3, "IsInWater", "", "Returns true if the Unit is in water."], - [3, "IsInnkeeper", "", "Returns true if the Unit an innkeeper."], - [3, "IsMounted", "", "Returns true if the Unit is mounted."], - [3, "IsOnVehicle", "", "Returns true if the Unit is on a Vehicle."], - [3, "IsPvPFlagged", "", "Returns true if the Unit flagged for PvP."], - [3, "IsQuestGiver", "", "Returns true if the Unit is a quest giver."], - [3, "IsRooted", "", "Returns true if the Unit is rooted."], - [3, "IsServiceProvider", "", "Returns true if the Unit provides services like vendor, training and auction."], - [3, "IsSpiritGuide", "", "Returns true if the Unit is a spirit guide."], - [3, "IsSpiritHealer", "", "Returns true if the Unit is a spirit healer."], - [3, "IsSpiritService", "", "Returns true if the Unit is a spirit guide or spirit healer."], - [3, "IsStandState", "", "Returns true if the Unit is standing."], - [3, "IsStopped", "", "Returns true if the Unit is not moving."], - [3, "IsTabardDesigner", "", "Returns true if the Unit is a tabard designer."], - [3, "IsTaxi", "", "Returns true if the Unit is a taxi master."], - [3, "IsTrainer", "", "Returns true if the Unit a trainer."], - [3, "IsUnderWater", "", "Returns true if the Unit is under water."], - [3, "IsVendor", "", "Returns true if the Unit is a vendor."], - [3, "Kill", "", "Makes the Unit kill the target Unit"], - [3, "ModifyPower", "", "modifies the Unit's power amount for the given power type."], - [3, "ModifyThreatPct", "", "Modifies threat in pct to the Unit from the victim"], - [3, "Mount", "", "Mounts the Unit on the given displayID/modelID."], - [3, "MoveChase", "", "The Unit will chase the target"], - [3, "MoveClear", "", "Clears the Unit's movement"], - [3, "MoveConfused", "", "The Unit will move confused"], - [3, "MoveExpire", "", "The Unit's movement expires and clears movement"], - [3, "MoveFleeing", "", "The Unit will flee"], - [3, "MoveFollow", "", "The Unit will follow the target"], - [3, "MoveHome", "", "The Unit will move to its set home location"], - [3, "MoveIdle", "", "The Unit will be idle"], - [3, "MoveJump", "", "Makes the Unit jump to the coordinates"], - [3, "MoveRandom", "", "The Unit will move at random"], - [3, "MoveStop", "", "Stops the Unit's movement"], - [3, "MoveTo", "", "The Unit will move to the coordinates"], - [3, "NearTeleport", "", "Makes the Unit teleport to given coordinates within same map."], - [3, "PerformEmote", "", "Makes the Unit perform the given emote."], - [3, "RemoveAllAuras", "", "Removes all Aura's from the Unit."], - [3, "RemoveArenaAuras", "", "Removes all positive visible Aura's from the Unit."], - [3, "RemoveAura", "", "Removes Aura of the given spell entry from the Unit."], - [3, "SendChatMessageToPlayer", "", "Sends chat message to Player"], - [3, "SendUnitEmote", "", "The Unit will emote the message"], - [3, "SendUnitSay", "", "The Unit will say the message"], - [3, "SendUnitWhisper", "", "The Unit will whisper the message to a Player"], - [3, "SendUnitYell", "", "The Unit will yell the message"], - [3, "SetConfused", "", "Confuses the Unit, if 'false' specified, the Unit is no longer confused."], - [3, "SetCreatorGUID", "", "Sets creator GUID"], - [3, "SetCritterGUID", "", ""], - [3, "SetDisplayId", "", "Sets the Unit's modelID."], - [3, "SetFFA", "", "Sets the Unit's FFA flag on or off."], - [3, "SetFacing", "", "Sets the Unit's facing/orientation."], - [3, "SetFacingToObject", "", "Sets the Unit to face the given WorldObject's direction."], - [3, "SetFaction", "", "Sets the Unit's faction."], - [3, "SetFeared", "", "Fears the Unit, if 'false' specified, the Unit is no longer feared."], - [3, "SetHealth", "", "Sets the Unit's health."], - [3, "SetImmuneTo", "", "Sets a mechanic immunity for the Unit."], - [3, "SetInCombatWith", "", "Sets the Unit in combat with the enemy Unit."], - [3, "SetLevel", "", "Sets the Unit's level."], - [3, "SetMaxHealth", "", "Sets the Unit's max health."], - [3, "SetMaxPower", "", "Sets the Unit's max power amount for the given power type."], - [3, "SetName", "", "Sets the Unit's name internally."], - [3, "SetNativeDisplayId", "", "Sets the Unit's native/default modelID."], - [3, "SetOwnerGUID", "", "Sets the Unit's owner GUID to given GUID."], - [3, "SetPetGUID", "", "Sets pet GUID"], - [3, "SetPower", "", "Sets the Unit's power amount for the given power type."], - [3, "SetPowerType", "", "Sets the Unit's power type."], - [3, "SetPvP", "", "Sets the Unit's PvP on or off."], - [3, "SetRooted", "", "Roots the Unit to the ground, if 'false' specified, unroots the Unit."], - [3, "SetSanctuary", "", "Sets the Unit's sanctuary flag on or off."], - [3, "SetSheath", "", "Sets the Unit's sheath state."], - [3, "SetSpeed", "", "Sets the Unit's speed of given [UnitMoveType] to given speed. If forced, packets sent to clients forcing the visual change."], - [3, "SetSpeedRate", "", "Sets the Unit's speed rate of given [UnitMoveType] to given rate. If forced, packets sent to clients forcing the visual change."], - [3, "SetStandState", "", "Sets the Unit's stand state"], - [3, "SetWaterWalk", "", "Toggles (Sets) Unit's water walking"], - [3, "StopSpellCast", "", "Stops the Unit's current spell cast"], - ], - "paths": [] -};searchIndex["Vehicle"] = { - "items": [ - [0, "", "Vehicle", "Inherits all methods from: none"], - [3, "AddPassenger", "", "Adds Unit passenger to a specified seat in the Vehicle"], - [3, "GetEntry", "", "Returns the Vehicle's entry"], - [3, "GetOwner", "", "Returns the Vehicle's owner"], - [3, "GetPassenger", "", "Returns the Vehicle's passenger in the specified seat"], - [3, "IsOnBoard", "", "Returns true if the Unit passenger is on board"], - [3, "RemovePassenger", "", "Removes Unit passenger from the Vehicle"], - ], - "paths": [] -};searchIndex["WorldObject"] = { - "items": [ - [0, "", "WorldObject", "Inherits all methods from: Object"], - [3, "GetAngle", "", "Returns the angle between this WorldObject and another WorldObject or a point."], - [3, "GetAreaId", "", "Returns the current area ID of the WorldObject"], - [3, "GetCreaturesInRange", "", "Returns a table of Creature objects in sight of the WorldObject or within the given range and/or with a specific entry ID"], - [3, "GetDistance", "", "Returns the distance from this WorldObject to another WorldObject, or from this WorldObject to a point in 3d space."], - [3, "GetDistance2d", "", "Returns the distance from this WorldObject to another WorldObject, or from this WorldObject to a point in 2d space."], - [3, "GetExactDistance", "", "Returns the distance from this WorldObject to another WorldObject, or from this WorldObject to a point in 3d space."], - [3, "GetExactDistance2d", "", "Returns the distance from this WorldObject to another WorldObject, or from this WorldObject to a point in 2d space."], - [3, "GetGameObjectsInRange", "", "Returns a table of GameObject objects in sight of the WorldObject or within the given range and/or with a specific entry ID"], - [3, "GetInstanceId", "", "Returns the current instance ID of the WorldObject"], - [3, "GetLocation", "", "Returns the coordinates and orientation of the WorldObject"], - [3, "GetMap", "", "Returns the current Map object of the WorldObject"], - [3, "GetMapId", "", "Returns the current map ID of the WorldObject"], - [3, "GetName", "", "Returns the name of the WorldObject"], - [3, "GetNearObject", "", "Returns nearest WorldObject in sight of the WorldObject. The distance, type, entry and hostility requirements the WorldObject must match can be passed."], - [3, "GetNearObjects", "", "Returns a table of WorldObjects in sight of the WorldObject. The distance, type, entry and hostility requirements the WorldObject must match can be passed."], - [3, "GetNearestCreature", "", "Returns the nearest Creature object in sight of the WorldObject or within the given range and/or with a specific entry ID"], - [3, "GetNearestGameObject", "", "Returns the nearest GameObject object in sight of the WorldObject or within the given range and/or with a specific entry ID"], - [3, "GetNearestPlayer", "", "Returns the nearest Player object in sight of the WorldObject or within the given range"], - [3, "GetO", "", "Returns the current orientation of the WorldObject"], - [3, "GetPhaseMask", "", "Returns the current phase of the WorldObject"], - [3, "GetPlayersInRange", "", "Returns a table of Player objects in sight of the WorldObject or within the given range"], - [3, "GetRelativePoint", "", "Returns the x, y and z of a point dist away from the WorldObject."], - [3, "GetX", "", "Returns the current X coordinate of the WorldObject"], - [3, "GetY", "", "Returns the current Y coordinate of the WorldObject"], - [3, "GetZ", "", "Returns the current Z coordinate of the WorldObject"], - [3, "GetZoneId", "", "Returns the current zone ID of the WorldObject"], - [3, "IsInBack", "", "Returns true if the target is in the given arc behind the WorldObject"], - [3, "IsInFront", "", "Returns true if the target is in the given arc in front of the WorldObject"], - [3, "IsInMap", "", "Returns true if the WorldObjects are on the same map"], - [3, "IsInRange", "", "Returns true if the target is within given range"], - [3, "IsInRange2d", "", "Returns true if the point is within given range"], - [3, "IsInRange3d", "", "Returns true if the point is within given range"], - [3, "IsWithinDist", "", "Returns true if the target is in the given distance of the WorldObject"], - [3, "IsWithinDist2d", "", "Returns true if the point is in the given distance of the WorldObject"], - [3, "IsWithinDist3d", "", "Returns true if the point is in the given distance of the WorldObject"], - [3, "IsWithinDistInMap", "", "Returns true if the WorldObject is on the same map and within given distance"], - [3, "IsWithinLoS", "", "Returns true if the given WorldObject or coordinates are in the WorldObject's line of sight"], - [3, "PlayDirectSound", "", "The WorldObject plays a sound to a Player"], - [3, "PlayDistanceSound", "", "The WorldObject plays a sound to a Player"], - [3, "PlayMusic", "", "The WorldObject plays music to a Player"], - [3, "RegisterEvent", "", "Registers a timed event to the WorldObject When the passed function is called, the parameters (eventId, delay, repeats, worldobject) are passed to it. Repeats will decrease on each call if the event does not repeat indefinitely"], - [3, "RemoveEventById", "", "Removes the timed event from a WorldObject by the specified event ID"], - [3, "RemoveEvents", "", "Removes all timed events from a WorldObject"], - [3, "SendPacket", "", "Sends a WorldPacket to Players in sight of the WorldObject."], - [3, "SetPhaseMask", "", "Sets the WorldObject's phase mask."], - [3, "SpawnCreature", "", "Spawns the creature at specified location."], - [3, "SummonGameObject", "", "Spawns a GameObject at specified location."], - ], - "paths": [] -};searchIndex["WorldPacket"] = { - "items": [ - [0, "", "WorldPacket", "A packet used to pass messages between the server and a client."], - [3, "GetOpcode", "", "Returns the opcode of the WorldPacket."], - [3, "GetSize", "", "Returns the size of the WorldPacket."], - [3, "ReadByte", "", "Reads and returns a signed 8-bit integer value from the WorldPacket."], - [3, "ReadDouble", "", "Reads and returns a double-precision floating-point value from the WorldPacket."], - [3, "ReadFloat", "", "Reads and returns a single-precision floating-point value from the WorldPacket."], - [3, "ReadGUID", "", "Reads and returns an unsigned 64-bit integer value from the WorldPacket."], - [3, "ReadLong", "", "Reads and returns a signed 32-bit integer value from the WorldPacket."], - [3, "ReadShort", "", "Reads and returns a signed 16-bit integer value from the WorldPacket."], - [3, "ReadString", "", "Reads and returns a string value from the WorldPacket."], - [3, "ReadUByte", "", "Reads and returns an unsigned 8-bit integer value from the WorldPacket."], - [3, "ReadULong", "", "Reads and returns an unsigned 32-bit integer value from the WorldPacket."], - [3, "ReadUShort", "", "Reads and returns an unsigned 16-bit integer value from the WorldPacket."], - [3, "SetOpcode", "", "Sets the opcode of the WorldPacket to the specified opcode."], - [3, "WriteByte", "", "Writes a signed 8-bit integer value to the WorldPacket."], - [3, "WriteDouble", "", "Writes a 64-bit floating-point value to the WorldPacket."], - [3, "WriteFloat", "", "Writes a 32-bit floating-point value to the WorldPacket."], - [3, "WriteGUID", "", "Writes an unsigned 64-bit integer value to the WorldPacket."], - [3, "WriteLong", "", "Writes a signed 32-bit integer value to the WorldPacket."], - [3, "WriteShort", "", "Writes a signed 16-bit integer value to the WorldPacket."], - [3, "WriteString", "", "Writes a string to the WorldPacket."], - [3, "WriteUByte", "", "Writes an unsigned 8-bit integer value to the WorldPacket."], - [3, "WriteULong", "", "Writes an unsigned 32-bit integer value to the WorldPacket."], - [3, "WriteUShort", "", "Writes an unsigned 16-bit integer value to the WorldPacket."], - ], - "paths": [] -}; + initSearch(searchIndex); \ No newline at end of file