afxRPGMagicSpellData
Engine/source/afx/rpg/afxRPGMagicSpell.h
Private Types
Parent
Public Attributes
Private Functions
char *
fmt_placeholder_desc(char * buffer, int len)
Public Functions
DECLARE_CATEGORY("AFX" )
char *
formatDesc(char * buffer, int len)
bool
onAdd()
Called when the object is added to the sim.
bool
unpackData(BitStream * )
Public Static Functions
Detailed Description
Private Types
typedef GameBaseData Parent
Public Attributes
F32 casting_dur
U8 free_target_style
StringTableEntry icon_name
bool is_placeholder
S32 mana_cost
U8 n_reagents
S8 reagent_cost [MAX_REAGENTS_PER_SPELL]
StringTableEntry reagent_name [MAX_REAGENTS_PER_SPELL]
StringTableEntry source_pack
StringTableEntry spell_desc
StringTableEntry spell_name
F32 spell_range
S32 spell_target
bool target_optional
Private Functions
fmt_placeholder_desc(char * buffer, int len)
Public Functions
afxRPGMagicSpellData()
DECLARE_CATEGORY("AFX" )
DECLARE_CONOBJECT(afxRPGMagicSpellData )
formatDesc(char * buffer, int len)
onAdd()
Reimplemented from: SimObject
packData(BitStream * )
Reimplemented from: SimDataBlock
requiresTarget()
unpackData(BitStream * )
Reimplemented from: SimDataBlock