Otclient  14/8/2020
item.h File Reference
#include <framework/global.h>
#include "thing.h"
#include "effect.h"
#include "itemtype.h"
Include dependency graph for item.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Item
 

Enumerations

enum  ItemAttr : uint8 {
  ATTR_END = 0, ATTR_TILE_FLAGS = 3, ATTR_ACTION_ID = 4, ATTR_UNIQUE_ID = 5,
  ATTR_TEXT = 6, ATTR_DESC = 7, ATTR_TELE_DEST = 8, ATTR_ITEM = 9,
  ATTR_DEPOT_ID = 10, ATTR_RUNE_CHARGES = 12, ATTR_HOUSEDOORID = 14, ATTR_COUNT = 15,
  ATTR_DURATION = 16, ATTR_DECAYING_STATE = 17, ATTR_WRITTENDATE = 18, ATTR_WRITTENBY = 19,
  ATTR_SLEEPERGUID = 20, ATTR_SLEEPSTART = 21, ATTR_CHARGES = 22, ATTR_CONTAINER_ITEMS = 23,
  ATTR_NAME = 30, ATTR_PLURALNAME = 31, ATTR_ATTACK = 33, ATTR_EXTRAATTACK = 34,
  ATTR_DEFENSE = 35, ATTR_EXTRADEFENSE = 36, ATTR_ARMOR = 37, ATTR_ATTACKSPEED = 38,
  ATTR_HITCHANCE = 39, ATTR_SHOOTRANGE = 40, ATTR_ARTICLE = 41, ATTR_SCRIPTPROTECTED = 42,
  ATTR_DUALWIELD = 43, ATTR_ATTRIBUTE_MAP = 128
}
 

Enumeration Type Documentation

◆ ItemAttr

enum ItemAttr : uint8
Enumerator
ATTR_END 
ATTR_TILE_FLAGS 
ATTR_ACTION_ID 
ATTR_UNIQUE_ID 
ATTR_TEXT 
ATTR_DESC 
ATTR_TELE_DEST 
ATTR_ITEM 
ATTR_DEPOT_ID 
ATTR_RUNE_CHARGES 
ATTR_HOUSEDOORID 
ATTR_COUNT 
ATTR_DURATION 
ATTR_DECAYING_STATE 
ATTR_WRITTENDATE 
ATTR_WRITTENBY 
ATTR_SLEEPERGUID 
ATTR_SLEEPSTART 
ATTR_CHARGES 
ATTR_CONTAINER_ITEMS 
ATTR_NAME 
ATTR_PLURALNAME 
ATTR_ATTACK 
ATTR_EXTRAATTACK 
ATTR_DEFENSE 
ATTR_EXTRADEFENSE 
ATTR_ARMOR 
ATTR_ATTACKSPEED 
ATTR_HITCHANCE 
ATTR_SHOOTRANGE 
ATTR_ARTICLE 
ATTR_SCRIPTPROTECTED 
ATTR_DUALWIELD 
ATTR_ATTRIBUTE_MAP 

Definition at line 32 of file item.h.