diff --git a/Player/AddLifetimeKills.html b/Player/AddLifetimeKills.html index a35196ac..71031983 100644 --- a/Player/AddLifetimeKills.html +++ b/Player/AddLifetimeKills.html @@ -87,29 +87,31 @@
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Adds or detracts from the Players current lifetime kill count
- Player:AddLifetimeKills()
+ Player:AddLifetimeKills( kills )
- Unknown. +
number killsPositive number to add, negative number to detract.
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
- Unknown. + Nothing.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Adds a talent to the Player for the specified spec and learning status.
- Player:AddTalent()
+ success = Player:AddTalent( spellId, spec )
+
+ success = Player:AddTalent( spellId, spec, learning )
- Unknown. +
number spellIdID of the spell for the talent.
Valid numbers: integers from 0 to 4,294,967,295.
number specThe spec to which the talent applies.
Valid numbers: integers from 0 to 255.
boolean learning (true)Whether the talent is being learned.
- Unknown. +
boolean successTrue if the talent was added, false otherwise.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Binds the Player to their current instance.
- Unknown. + None.
- Unknown. + Nothing.
Equips the given item or item entry to the given slot. Returns the equipped item or nil.
-enum EquipmentSlots // 19 slots
-{
- EQUIPMENT_SLOT_START = 0,
- EQUIPMENT_SLOT_HEAD = 0,
- EQUIPMENT_SLOT_NECK = 1,
- EQUIPMENT_SLOT_SHOULDERS = 2,
- EQUIPMENT_SLOT_BODY = 3,
- EQUIPMENT_SLOT_CHEST = 4,
- EQUIPMENT_SLOT_WAIST = 5,
- EQUIPMENT_SLOT_LEGS = 6,
- EQUIPMENT_SLOT_FEET = 7,
- EQUIPMENT_SLOT_WRISTS = 8,
- EQUIPMENT_SLOT_HANDS = 9,
- EQUIPMENT_SLOT_FINGER1 = 10,
- EQUIPMENT_SLOT_FINGER2 = 11,
- EQUIPMENT_SLOT_TRINKET1 = 12,
- EQUIPMENT_SLOT_TRINKET2 = 13,
- EQUIPMENT_SLOT_BACK = 14,
- EQUIPMENT_SLOT_MAINHAND = 15,
- EQUIPMENT_SLOT_OFFHAND = 16,
- EQUIPMENT_SLOT_RANGED = 17,
- EQUIPMENT_SLOT_TABARD = 18,
- EQUIPMENT_SLOT_END = 19
-};
-
-enum InventorySlots // 4 slots
+enum InventorySlots // 4 slots
{
INVENTORY_SLOT_BAG_START = 19,
INVENTORY_SLOT_BAG_END = 23
};
+
+
+
+
+
+Slot
+ID
+
+
+
+
+EQUIPMENT_SLOT_HEAD
+0
+
+
+EQUIPMENT_SLOT_NECK
+1
+
+
+EQUIPMENT_SLOT_SHOULDERS
+2
+
+
+EQUIPMENT_SLOT_BODY
+3
+
+
+EQUIPMENT_SLOT_CHEST
+4
+
+
+EQUIPMENT_SLOT_WAIST
+5
+
+
+EQUIPMENT_SLOT_LEGS
+6
+
+
+EQUIPMENT_SLOT_FEET
+7
+
+
+EQUIPMENT_SLOT_WRISTS
+8
+
+
+EQUIPMENT_SLOT_HANDS
+9
+
+
+EQUIPMENT_SLOT_FINGER1
+10
+
+
+EQUIPMENT_SLOT_FINGER2
+11
+
+
+EQUIPMENT_SLOT_TRINKET1
+12
+
+
+EQUIPMENT_SLOT_TRINKET2
+13
+
+
+EQUIPMENT_SLOT_BACK
+14
+
+
+EQUIPMENT_SLOT_MAINHAND
+15
+
+
+EQUIPMENT_SLOT_OFFHAND
+16
+
+
+EQUIPMENT_SLOT_RANGED
+17
+
+
+EQUIPMENT_SLOT_TABARD
+18
+
+
+
+
+
diff --git a/Player/GetNearbyGameObject.html b/Player/GetNearbyGameObject.html
index cd7341e9..d605afc4 100644
--- a/Player/GetNearbyGameObject.html
+++ b/Player/GetNearbyGameObject.html
@@ -87,29 +87,31 @@
- This method is undocumented. Use at your own risk.
- For temporary documentation, please check the LuaFunctions source file.
+ Returns the closest GameObject to the Player.
Synopsis
- Player:GetNearbyGameObject()
+ gameobject = Player:GetNearbyGameObject()
Arguments
- Unknown.
+ None.
Returns
- Unknown.
+
+ GameObject gameobject
+ - See method description.
+
diff --git a/Player/GetRecruiterId.html b/Player/GetRecruiterId.html
index 8d7a5775..0715c7ba 100644
--- a/Player/GetRecruiterId.html
+++ b/Player/GetRecruiterId.html
@@ -87,29 +87,31 @@
- This method is undocumented. Use at your own risk.
- For temporary documentation, please check the LuaFunctions source file.
+ Returns the Players recruit-a-friend recruiter account ID
Synopsis
- Player:GetRecruiterId()
+ recruiterId = Player:GetRecruiterId()
Arguments
- Unknown.
+ None.
Returns
- Unknown.
+
+ number recruiterId
+ Valid numbers: integers from 0 to 4,294,967,295.
+
diff --git a/Player/GetSelectedPlayer.html b/Player/GetSelectedPlayer.html
index 8e108829..26b25e9c 100644
--- a/Player/GetSelectedPlayer.html
+++ b/Player/GetSelectedPlayer.html
@@ -87,29 +87,31 @@
- This method is undocumented. Use at your own risk.
- For temporary documentation, please check the LuaFunctions source file.
+ Returns the Players selected Player or nil.
Synopsis
- Player:GetSelectedPlayer()
+ selection = Player:GetSelectedPlayer()
Arguments
- Unknown.
+ None.
Returns
- Unknown.
+
+ Player selection
+ - See method description.
+
diff --git a/Player/GetSelectedUnit.html b/Player/GetSelectedUnit.html
index a2df07c0..87cafafe 100644
--- a/Player/GetSelectedUnit.html
+++ b/Player/GetSelectedUnit.html
@@ -87,29 +87,31 @@
- This method is undocumented. Use at your own risk.
- For temporary documentation, please check the LuaFunctions source file.
+ Returns the Players selected Unit.
Synopsis
- Player:GetSelectedUnit()
+ selection = Player:GetSelectedUnit()
Arguments
- Unknown.
+ None.
Returns
- Unknown.
+
+ Unit selection
+ - See method description.
+
diff --git a/Player/GetSkillPermBonusValue.html b/Player/GetSkillPermBonusValue.html
index bdf9a879..467c3123 100644
--- a/Player/GetSkillPermBonusValue.html
+++ b/Player/GetSkillPermBonusValue.html
@@ -94,7 +94,7 @@
Synopsis
- Player:GetSkillPermBonusValue( skill, bonusVal )
+ bonusVal = Player:GetSkillPermBonusValue( skill )
@@ -105,17 +105,16 @@
number skill
Valid numbers: integers from 0 to 4,294,967,295.
-
- number bonusVal
- Valid numbers: integers from -32,767 to 32,767.
-
Returns
- Nothing.
+
+ number bonusVal
+ Valid numbers: integers from -32,767 to 32,767.
+
- Player:GetSkillTempBonusValue( skill, bonusVal )
+ bonusVal = Player:GetSkillTempBonusValue( skill )
number skillValid numbers: integers from 0 to 4,294,967,295.
number bonusValValid numbers: integers from -32,767 to 32,767.
- Nothing. +
number bonusValValid numbers: integers from -32,767 to 32,767.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player has any pending dungeon bind
- Player:HasPendingBind()
+ hasPendingBind = Player:HasPendingBind()
- Unknown. + None.
- Unknown. +
boolean hasPendingBindThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player has received the reward for a specific Quest ID
- Player:HasReceivedQuestReward()
+ isQuestRewarded = Player:HasReceivedQuestReward( questId )
- Unknown. +
number questIdValid numbers: integers from 0 to 4,294,967,295.
- Unknown. +
boolean isQuestRewarded
+ Prefix searches with a type followed by a colon (e.g.
+ fn:) to restrict the search to a given type.
+
+ Accepted types are: fn, mod,
+ struct (or str), enum,
+ trait, typedef (or
+ tdef).
+
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player is currently in a random LFG dungeon
- Player:InRandomLfgDungeon()
+ isInRandomLFG = Player:InRandomLfgDungeon()
- Unknown. + None.
- Unknown. +
boolean isInRandomLFGThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player is a recruiter
- Player:IsARecruiter()
+ isARecruiter = Player:IsARecruiter()
- Unknown. + None.
- Unknown. +
boolean isARecruiterThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player has the GM chat flag active
- Player:IsGMChat()
+ isGMChatActive = Player:IsGMChat()
- Unknown. + None.
- Unknown. +
boolean isGMChatActiveThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player has GM invisibility active
- Player:IsGMVisible()
+ isGMVisible = Player:IsGMVisible()
- Unknown. + None.
- Unknown. +
boolean isGMVisibleThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player is currently immune to environmental damage
- Player:IsImmuneToEnvironmentalDamage()
+ isImmuneToEnv = Player:IsImmuneToEnvironmentalDamage()
- Unknown. + None.
- Unknown. +
boolean isImmuneToEnvThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player is never visible for other Units
- Player:IsNeverVisible()
+ isNeverVisible = Player:IsNeverVisible()
- Unknown. + None.
- Unknown. +
boolean isNeverVisibleThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player is currently flagged for outdoors PvP
- Player:IsOutdoorPvPActive()
+ isPvPActive = Player:IsOutdoorPvPActive()
- Unknown. + None.
- Unknown. +
boolean isPvPActive
+ Prefix searches with a type followed by a colon (e.g.
+ fn:) to restrict the search to a given type.
+
+ Accepted types are: fn, mod,
+ struct (or str), enum,
+ trait, typedef (or
+ tdef).
+
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Returns whether or not the Player is currently queued in LFG
- Player:IsUsingLfg()
+ isUsingLFG = Player:IsUsingLfg()
- Unknown. + None.
- Unknown. +
boolean isUsingLFGThis method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Grants kill credit for a specific [Craeture] or GameObject.
- Player:KillGOCredit()
+ Player:KillGOCredit( entryId )
- Unknown. +
number entryIdThe ID of the Creature or GameObject to award credit for..
Valid numbers: integers from 0 to 4,294,967,295.
- Unknown. + Nothing.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Grants a player kill credit.
- Unknown. + None.
- Unknown. + Nothing.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Removes an active quest from the Player.
- Player:RemoveActiveQuest()
+ Player:RemoveActiveQuest( questId )
- Unknown. +
number questIdThe ID of the quest to remove..
Valid numbers: integers from 0 to 4,294,967,295.
- Unknown. + Nothing.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Removes the Player's active pet.
++
| Save mode | +ID | +Comment | +
|---|---|---|
| PET_SAVE_AS_DELETED | +-1 | +Not saved | +
| PET_SAVE_AS_CURRENT | +0 | +In current slot (with the player) | +
| PET_SAVE_FIRST_STABLE_SLOT | +1 | ++ |
| PET_SAVE_SECOND_STABLE_SLOT | +2 | ++ |
| PET_SAVE_THIRD_STABLE_SLOT | +3 | ++ |
| PET_SAVE_LAST_STABLE_SLOT | +4 | ++ |
- Player:RemovePet()
+ Player:RemovePet( saveMode )
+
+ Player:RemovePet( saveMode, returnReagent )
- Unknown. +
number saveMode (-1)Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
boolean returnReagent (false)- Unknown. + Nothing.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Removes a quest from the rewarded quests for the Player.
- Player:RemoveRewardedQuest()
+ Player:RemoveRewardedQuest( questId )
- Unknown. +
number questIdThe ID of the quest to remove..
Valid numbers: integers from 0 to 4,294,967,295.
- Unknown. + Nothing.
Sets the Players gender to gender specified
-+
| Gender | +ID | +
|---|---|
| GENDER_MALE | +0 | +
| GENDER_FEMALE | +1 | +
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Sets the Players movement to the provided movement type
++
| movementType | +ID | +
|---|---|
| MOVE_ROOT | +1 | +
| MOVE_UNROOT | +2 | +
| MOVE_WATER_WALK | +3 | +
| MOVE_LAND_WALK | +4 | +
- Player:SetMovement()
+ Player:SetMovement( movementType )
- Unknown. +
number movementTypeValid numbers: integers from -2,147,483,647 to 2,147,483,647.
- Unknown. + Nothing.
This method is undocumented. Use at your own risk.
-For temporary documentation, please check the LuaFunctions source file.
+Summons a pet for the Player.
++
| Summon Type | +ID | +
|---|---|
| SUMMON_PET | +0 | +
| HUNTER_PET | +1 | +
- Player:SummonPet()
+ Player:SummonPet( entryId, x, y, z, o, petType, despawnTime )
- Unknown. +
number entryIdThe ID of the pet to summon..
Valid numbers: integers from 0 to 4,294,967,295.
number xValid numbers: all decimal numbers.
number yValid numbers: all decimal numbers.
number zValid numbers: all decimal numbers.
number oValid numbers: all decimal numbers.
number petTypeValid numbers: integers from 0 to 4,294,967,295.
number despawnTimeValid numbers: integers from 0 to 4,294,967,295.
- Unknown. + Nothing.
Adds or detracts from the Players current lifetime kill count
Adds a talent to the Player for the specified spec and learning status.
Binds the Player to their current instance.
Returns the closest GameObject to the Player.
Returns the Players recruit-a-friend recruiter account ID
Returns whether or not the Player has any pending dungeon bind
Returns whether or not the Player has received the reward for a specific Quest ID
+Returns whether or not the Player recruited the other Player
Returns whether or not the Player is currently in a random LFG dungeon
Returns whether or not the Player is a recruiter
Returns whether or not the Player has the GM chat flag active
Returns whether or not the Player has GM invisibility active
Returns whether or not the Player is currently immune to environmental damage
Returns whether or not the Player is never visible for other Units
Returns whether or not the Player is currently flagged for outdoors PvP
+Returns whether or not the Player has been recruited
Returns whether or not the Player is currently queued in LFG
Grants kill credit for a specific [Craeture] or GameObject.
Grants a player kill credit.
Removes an active quest from the Player.
Removes the Player's active pet.
Removes a quest from the rewarded quests for the Player.
Sets the Players movement to the provided movement type
Summons a pet for the Player.