Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns the sort order for an inventory type.

sortOrder = EJ_GetInvTypeSortOrder(invType)

Arguments[]

invType
number : Enum.InventoryType

Returns[]

sortOrder
number

Values[]

Note
Note: This function uses Enum.InventoryType off-by-one; 1-29 instead of 0-28
InvType InvTypeName SortOrder
18
Index2HweaponType 1
22
IndexWeaponmainhandType 2
23
IndexWeaponoffhandType 3
14
IndexWeaponType 4
16
IndexRangedType 5
27
IndexRangedrightType 5
15
IndexShieldType 6
24
IndexHoldableType 7
26
IndexThrownType 8
29
IndexRelicType 9
2
IndexHeadType 10
3
IndexNeckType 11
4
IndexShoulderType 12
17
IndexCloakType 13
6
IndexChestType 14
21
IndexRobeType 14
10
IndexWristType 15
11
IndexHandType 16
7
IndexWaistType 17
8
IndexLegsType 18
9
IndexFeetType 19
12
IndexFingerType 20
13
IndexTrinketType 21

Patch changes[]

Legion Patch 7.0.3 (2016-07-19): Added.

Advertisement