Crossfire Client, Trunk  R20507
Data Fields
item_struct Struct Reference

#include <item.h>

Collaboration diagram for item_struct:
Collaboration graph

Data Fields

guint8 anim_speed
guint8 anim_state
guint16 animation_id
guint16 applied:1
guint8 apply_type
guint16 cursed:1
char d_name [NAME_LEN]
guint16 damned:1
struct item_structenv
gint16 face
char flags [NAME_LEN]
guint32 flagsval
struct item_structinv
guint16 inv_updated:1
guint16 last_anim
guint16 locked:1
guint16 magical:1
struct item_structnext
guint32 nrof
guint16 open:1
char p_name [NAME_LEN]
struct item_structprev
char s_name [NAME_LEN]
gint32 tag
guint16 type
guint16 unpaid:1
guint16 was_open:1
float weight

Detailed Description

Definition at line 50 of file item.h.

Field Documentation

◆ anim_speed

guint8 item_struct::anim_speed

◆ anim_state

guint8 item_struct::anim_state

◆ animation_id

guint16 item_struct::animation_id

◆ applied

guint16 item_struct::applied

◆ apply_type

guint8 item_struct::apply_type

Definition at line 78 of file item.h.

Referenced by get_flags(), and set_flag_string().

◆ cursed

guint16 item_struct::cursed

◆ d_name

char item_struct::d_name[NAME_LEN]

◆ damned

guint16 item_struct::damned

◆ env

struct item_struct* item_struct::env

◆ face

gint16 item_struct::face

◆ flags

char item_struct::flags[NAME_LEN]

Definition at line 58 of file item.h.

Referenced by add_object_to_store(), draw_inv_table(), print_inventory(), and set_flag_string().

◆ flagsval

guint32 item_struct::flagsval

◆ inv

struct item_struct* item_struct::inv

◆ inv_updated

guint16 item_struct::inv_updated

◆ last_anim

guint16 item_struct::last_anim

◆ locked

guint16 item_struct::locked

◆ magical

guint16 item_struct::magical

◆ next

struct item_struct* item_struct::next

◆ nrof

guint32 item_struct::nrof

◆ open

guint16 item_struct::open

◆ p_name

char item_struct::p_name[NAME_LEN]

Definition at line 57 of file item.h.

Referenced by new_item(), remove_item(), and set_item_values().

◆ prev

struct item_struct* item_struct::prev

◆ s_name

char item_struct::s_name[NAME_LEN]

Definition at line 56 of file item.h.

Referenced by add_object_to_store(), new_item(), remove_item(), set_item_values(), and update_item_sort().

◆ tag

gint32 item_struct::tag

◆ type

guint16 item_struct::type

◆ unpaid

guint16 item_struct::unpaid

◆ was_open

guint16 item_struct::was_open

Definition at line 74 of file item.h.

Referenced by get_flags(), item_actions(), and script_send_item().

◆ weight

float item_struct::weight

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