Crossfire Client, Branch  R11627
Data Fields
Spell_struct Struct Reference

#include <client.h>

Collaboration diagram for Spell_struct:
Collaboration graph
[legend]

Data Fields

uint16 dam
sint32 face
uint16 grace
uint16 level
char message [10000]
 This is plenty, the packets can't be much bigger than this anyway.
char name [256]
 The protocol allows one length bit, so 256 is the maximum name length.
struct Spell_structnext
uint32 path
 The bitmask of paths this spell belongs to.
char * skill
 Pointer to the skill name, derived from the skill number.
uint8 skill_number
 The index in the skill arrays, plus CS_STAT_SKILLINFO.
uint16 sp
uint32 tag
 Used to identify the spell by updspell.
uint16 time
 number of ticks to cast

Detailed Description

Definition at line 248 of file client.h.


Field Documentation

Definition at line 268 of file client.h.

Referenced by AddspellCmd(), and update_spell_list().

char Spell_struct::message[10000]

This is plenty, the packets can't be much bigger than this anyway.

Definition at line 253 of file client.h.

Referenced by AddspellCmd(), select_spell_event(), and update_spell_information().

char Spell_struct::name[256]

The protocol allows one length bit, so 256 is the maximum name length.

Definition at line 250 of file client.h.

Referenced by AddspellCmd(), script_process_cmd(), select_spell_event(), update_spell_information(), and update_spell_list().

The bitmask of paths this spell belongs to.

Definition at line 266 of file client.h.

Referenced by AddspellCmd(), script_process_cmd(), update_spell_information(), and update_spell_list().

Pointer to the skill name, derived from the skill number.

Definition at line 264 of file client.h.

Referenced by AddspellCmd(), select_spell_event(), and update_spell_information().

The index in the skill arrays, plus CS_STAT_SKILLINFO.

Definition at line 262 of file client.h.

Referenced by AddspellCmd(), and script_process_cmd().

Used to identify the spell by updspell.

Definition at line 255 of file client.h.

Referenced by AddspellCmd(), DeleteSpell(), inscribe_magical_scroll(), script_process_cmd(), select_spell_event(), update_spell_information(), and UpdspellCmd().

number of ticks to cast

Definition at line 258 of file client.h.

Referenced by AddspellCmd(), and script_process_cmd().


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