WoW:SpecializationID and WoW:API TYPE partyCategoryType: Difference between pages

From AddOn Studio
(Difference between pages)
Jump to navigation Jump to search
(Created page for Talent Tree Ids.)
 
(Created page with "{{wowapi}} API LE PARTY CATEGORY is a common set of parameters for determining a special Group type. == Uses == : groupType - (optional) the type of group :: Default is...")
 
Line 1: Line 1:
The ID that is returned from the [[API_GetTalentTabInfo|GetTalentTabInfo()]] are as follows:
{{wowapitype}}


;Death Knight : 398 - Blood
A common set of parameters for determining a special Group type. Added in 5.0.4.
: 399 - Frost
: 400 - Unholy
; Druid : 752 - Balance
: 750 - Feral Combat
: 748 - Restoration
; Hunder : 811 - Beast Mastery
: 807 - Marksmanship
: 809 - Survival
; Mage : 799 - Arcane
: 851 - Fire
: 823 - Frost
; Paladin : 831 - Holy
: 839 - Protection
: 855 - Retribution
; Priest : 760 Discipline
: 813 Holy
: 795 Shadow
; Rogue : 182 - Assassination
: 181 - Combat
: 183 - Subtlety
; Shaman : 261 - Elemental
: 263 - Enhancement
: 262 - Restoration
; Warlock : 871 - Affliction
: 867 - Demonology
: 865 - Destruction
; Warrior : 746 - Arms
: 815 - Furry
: 845 - Protection


== Values ==
* LE_PARTY_CATEGORY_HOME - the local or manually created group.
* LE_PARTY_CATEGORY_INSTANCE - the player's automatic battleground, arena, or dungeon finder group.


These IDs can be used to confirm a primary talent tree without concern of localization.
== Uses ==
[[Category:World of Warcraft API]]
: groupType - (optional) the type of group. Default is 'LE_PARTY_CATEGORY_INSTANCE' if in an instance group, otherwise 'LE_PARTY_CATEGORY_HOME'.
 
== Details ==
The purpose is to differentiate when a player is a member of more than one group, which group is meant. A player can be in a locally created group or an automatic group (ala Finder).
 
=== Examples ===
/run local x=UnitIsGroupLeader("Player", LE_PARTY_CATEGORY_INSTANCE); SendChatMessage(tostring(x))
/run local x=UnitIsGroupLeader("Player", LE_PARTY_CATEGORY_HOME); SendChatMessage(tostring(x))
For example if you logged in, then joined a normal finder dungeon group and happend to be the leader, then using 'LE_PARTY_CATEGORY_INSTANCE' on UnitIsGroupLeader for yourself, will return 'true' and using 'LE_PARTY_CATEGORY_HOME' will return 'false'. This is because in your 'home world' or 'explicit group' you are not in a 'group' and you are no 'leader' there, but in the 'foriegn world' or 'automatic group' you are the 'leader'.
 
== Changes ==
* [[Patch 5.0.4]] - added.
 
== See also ==
* {{api|GetNumGroupMembers}}
* {{api|GetNumSubgroupMembers}}
* {{api|UnitIsGroupLeader}}
* {{api|UnitIsGroupAssistant}}

Revision as of 18:51, 25 September 2012

API types < partyCategoryType

A common set of parameters for determining a special Group type. Added in 5.0.4.

Values

  • LE_PARTY_CATEGORY_HOME - the local or manually created group.
  • LE_PARTY_CATEGORY_INSTANCE - the player's automatic battleground, arena, or dungeon finder group.

Uses

groupType - (optional) the type of group. Default is 'LE_PARTY_CATEGORY_INSTANCE' if in an instance group, otherwise 'LE_PARTY_CATEGORY_HOME'.

Details

The purpose is to differentiate when a player is a member of more than one group, which group is meant. A player can be in a locally created group or an automatic group (ala Finder).

Examples

/run local x=UnitIsGroupLeader("Player", LE_PARTY_CATEGORY_INSTANCE); SendChatMessage(tostring(x))
/run local x=UnitIsGroupLeader("Player", LE_PARTY_CATEGORY_HOME); SendChatMessage(tostring(x))

For example if you logged in, then joined a normal finder dungeon group and happend to be the leader, then using 'LE_PARTY_CATEGORY_INSTANCE' on UnitIsGroupLeader for yourself, will return 'true' and using 'LE_PARTY_CATEGORY_HOME' will return 'false'. This is because in your 'home world' or 'explicit group' you are not in a 'group' and you are no 'leader' there, but in the 'foriegn world' or 'automatic group' you are the 'leader'.

Changes

See also