Otclient  14/8/2020
itemtype.h File Reference
Include dependency graph for itemtype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ItemType
 

Enumerations

enum  ItemCategory : uint8 {
  ItemCategoryInvalid = 0, ItemCategoryGround = 1, ItemCategoryContainer = 2, ItemCategoryWeapon = 3,
  ItemCategoryAmmunition = 4, ItemCategoryArmor = 5, ItemCategoryCharges = 6, ItemCategoryTeleport = 7,
  ItemCategoryMagicField = 8, ItemCategoryWritable = 9, ItemCategoryKey = 10, ItemCategorySplash = 11,
  ItemCategoryFluid = 12, ItemCategoryDoor = 13, ItemCategoryDeprecated = 14, ItemCategoryLast = 15
}
 
enum  ItemTypeAttr : uint8 {
  ItemTypeAttrServerId = 16, ItemTypeAttrClientId = 17, ItemTypeAttrName = 18, ItemTypeAttrDesc = 19,
  ItemTypeAttrSpeed = 20, ItemTypeAttrSlot = 21, ItemTypeAttrMaxItems = 22, ItemTypeAttrWeight = 23,
  ItemTypeAttrWeapon = 24, ItemTypeAttrAmmunition = 25, ItemTypeAttrArmor = 26, ItemTypeAttrMagicLevel = 27,
  ItemTypeAttrMagicField = 28, ItemTypeAttrWritable = 29, ItemTypeAttrRotateTo = 30, ItemTypeAttrDecay = 31,
  ItemTypeAttrSpriteHash = 32, ItemTypeAttrMinimapColor = 33, ItemTypeAttr07 = 34, ItemTypeAttr08 = 35,
  ItemTypeAttrLight = 36, ItemTypeAttrDecay2 = 37, ItemTypeAttrWeapon2 = 38, ItemTypeAttrAmmunition2 = 39,
  ItemTypeAttrArmor2 = 40, ItemTypeAttrWritable2 = 41, ItemTypeAttrLight2 = 42, ItemTypeAttrTopOrder = 43,
  ItemTypeAttrWrtiable3 = 44, ItemTypeAttrWareId = 45, ItemTypeAttrLast = 46
}
 
enum  ClientVersion {
  ClientVersion750 = 1, ClientVersion755 = 2, ClientVersion760 = 3, ClientVersion770 = 3,
  ClientVersion780 = 4, ClientVersion790 = 5, ClientVersion792 = 6, ClientVersion800 = 7,
  ClientVersion810 = 8, ClientVersion811 = 9, ClientVersion820 = 10, ClientVersion830 = 11,
  ClientVersion840 = 12, ClientVersion841 = 13, ClientVersion842 = 14, ClientVersion850 = 15,
  ClientVersion854_OLD = 16, ClientVersion854 = 17, ClientVersion855 = 18, ClientVersion860_OLD = 19,
  ClientVersion860 = 20, ClientVersion861 = 21, ClientVersion862 = 22, ClientVersion870 = 23,
  ClientVersion871 = 24, ClientVersion872 = 25, ClientVersion873 = 26, ClientVersion900 = 27,
  ClientVersion910 = 28, ClientVersion920 = 29, ClientVersion940 = 30, ClientVersion944_V1 = 31,
  ClientVersion944_V2 = 32, ClientVersion944_V3 = 33, ClientVersion944_V4 = 34, ClientVersion946 = 35,
  ClientVersion950 = 36, ClientVersion952 = 37, ClientVersion953 = 38, ClientVersion954 = 39,
  ClientVersion960 = 40, ClientVersion961 = 41
}
 

Enumeration Type Documentation

◆ ClientVersion

Enumerator
ClientVersion750 
ClientVersion755 
ClientVersion760 
ClientVersion770 
ClientVersion780 
ClientVersion790 
ClientVersion792 
ClientVersion800 
ClientVersion810 
ClientVersion811 
ClientVersion820 
ClientVersion830 
ClientVersion840 
ClientVersion841 
ClientVersion842 
ClientVersion850 
ClientVersion854_OLD 
ClientVersion854 
ClientVersion855 
ClientVersion860_OLD 
ClientVersion860 
ClientVersion861 
ClientVersion862 
ClientVersion870 
ClientVersion871 
ClientVersion872 
ClientVersion873 
ClientVersion900 
ClientVersion910 
ClientVersion920 
ClientVersion940 
ClientVersion944_V1 
ClientVersion944_V2 
ClientVersion944_V3 
ClientVersion944_V4 
ClientVersion946 
ClientVersion950 
ClientVersion952 
ClientVersion953 
ClientVersion954 
ClientVersion960 
ClientVersion961 

Definition at line 84 of file itemtype.h.

◆ ItemCategory

Enumerator
ItemCategoryInvalid 
ItemCategoryGround 
ItemCategoryContainer 
ItemCategoryWeapon 
ItemCategoryAmmunition 
ItemCategoryArmor 
ItemCategoryCharges 
ItemCategoryTeleport 
ItemCategoryMagicField 
ItemCategoryWritable 
ItemCategoryKey 
ItemCategorySplash 
ItemCategoryFluid 
ItemCategoryDoor 
ItemCategoryDeprecated 
ItemCategoryLast 

Definition at line 31 of file itemtype.h.

◆ ItemTypeAttr

Enumerator
ItemTypeAttrServerId 
ItemTypeAttrClientId 
ItemTypeAttrName 
ItemTypeAttrDesc 
ItemTypeAttrSpeed 
ItemTypeAttrSlot 
ItemTypeAttrMaxItems 
ItemTypeAttrWeight 
ItemTypeAttrWeapon 
ItemTypeAttrAmmunition 
ItemTypeAttrArmor 
ItemTypeAttrMagicLevel 
ItemTypeAttrMagicField 
ItemTypeAttrWritable 
ItemTypeAttrRotateTo 
ItemTypeAttrDecay 
ItemTypeAttrSpriteHash 
ItemTypeAttrMinimapColor 
ItemTypeAttr07 
ItemTypeAttr08 
ItemTypeAttrLight 
ItemTypeAttrDecay2 
ItemTypeAttrWeapon2 
ItemTypeAttrAmmunition2 
ItemTypeAttrArmor2 
ItemTypeAttrWritable2 
ItemTypeAttrLight2 
ItemTypeAttrTopOrder 
ItemTypeAttrWrtiable3 
ItemTypeAttrWareId 
ItemTypeAttrLast 

Definition at line 50 of file itemtype.h.