Atrinik Client 2.5
Data Fields
obj Struct Reference

#include <item.h>

Data Fields

struct objnext
struct objprev
struct objenv
struct objinv
char s_name [NAME_LEN]
sint32 tag
sint32 nrof
float weight
sint16 face
uint16 animation_id
uint16 anim_speed
uint16 anim_state
uint16 last_anim
uint32 flags
uint8 itype
uint8 stype
uint8 item_qua
uint8 item_con
uint8 item_skill
uint8 item_level
uint8 direction

Detailed Description

Item structure keeps all information what player (= client) knows about items in its inventory.

Definition at line 42 of file item.h.


Field Documentation

How often to animate.

Definition at line 78 of file item.h.

Last face in sequence drawn.

Definition at line 81 of file item.h.

Index into animation array.

Definition at line 75 of file item.h.

The item's direction.

Definition at line 106 of file item.h.

struct obj* obj::env

Which item's inventory is this item.

Definition at line 54 of file item.h.

Index for face array.

Definition at line 72 of file item.h.

Unmodified flags value as sent from the server.

Definition at line 87 of file item.h.

struct obj* obj::inv

Item's inventory.

Definition at line 57 of file item.h.

Item's condition.

Definition at line 97 of file item.h.

Requires level.

Definition at line 103 of file item.h.

Item's quality.

Definition at line 94 of file item.h.

Required skill.

Definition at line 100 of file item.h.

Item type.

Definition at line 90 of file item.h.

How many ticks have passed since we last animated.

Definition at line 84 of file item.h.

struct obj* obj::next

Next item in inventory.

Definition at line 45 of file item.h.

Number of items.

Definition at line 66 of file item.h.

struct obj* obj::prev

Previous item in inventory.

Definition at line 51 of file item.h.

char obj::s_name[NAME_LEN]

Item's singular name as sent to us.

Definition at line 60 of file item.h.

Item identifier (0 = free).

Definition at line 63 of file item.h.

float obj::weight

How much item weights.

Definition at line 69 of file item.h.


The documentation for this struct was generated from the following file: