Crossfire Client, Trunk  R21199
item_struct Struct Reference

#include <item.h>

+ Collaboration diagram for item_struct:

Data Fields

guint8 anim_speed
guint8 anim_state
guint16 animation_id
guint16 applied:1
guint8 apply_type
guint16 blessed:1
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

◆ apply_type

guint8 item_struct::apply_type

Definition at line 79 of file item.h.

Referenced by get_flags(), and set_flag_string().

◆ blessed

guint16 item_struct::blessed

Definition at line 70 of file item.h.

Referenced by get_flags(), new_item(), remove_item(), and set_flag_string().

◆ cursed

guint16 item_struct::cursed

◆ d_name

◆ damned

guint16 item_struct::damned

◆ env

◆ 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

◆ inv_updated

◆ last_anim

guint16 item_struct::last_anim

◆ locked

◆ magical

guint16 item_struct::magical

◆ next

◆ 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

◆ type

◆ unpaid

guint16 item_struct::unpaid

◆ was_open

guint16 item_struct::was_open

Definition at line 75 of file item.h.

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

◆ weight

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