Spellforce-Spell-framework
Loading...
Searching...
No Matches
src
internal
registry
spell_data_registries
sf_spelldamage_registry.h
Go to the documentation of this file.
1
#ifndef SF_SPELLDAMAGE_REGISTRY_H
2
#define SF_SPELLDAMAGE_REGISTRY_H
3
4
#include "
../../../api/sfsf.h
"
5
6
extern
damage_handler_ptr
get_spell_damage
(
const
uint16_t spell_line_id,
7
SpellDamagePhase
phase);
8
void
registerSpellDamageHandler
(uint16_t spell_line_id,
9
damage_handler_ptr
handler,
10
SpellDamagePhase
phase);
11
void
__thiscall
register_vanilla_spell_damage_handlers
();
12
13
#endif
SpellDamagePhase
SpellDamagePhase
Definition
sf_general_structures.h:868
damage_handler_ptr
uint16_t(__thiscall * damage_handler_ptr)(SF_CGdFigureToolbox *_toolbox, uint16_t source, uint16_t target, uint16_t current_damage, uint16_t is_spell_damage, uint32_t is_ranged_damage, uint16_t spell_id)
Definition
sf_registration_functions.h:7
get_spell_damage
damage_handler_ptr get_spell_damage(const uint16_t spell_line_id, SpellDamagePhase phase)
Definition
sf_spelldamage_registry.cpp:39
register_vanilla_spell_damage_handlers
void __thiscall register_vanilla_spell_damage_handlers()
Definition
sf_spelldamage_registry.cpp:57
registerSpellDamageHandler
void registerSpellDamageHandler(uint16_t spell_line_id, damage_handler_ptr handler, SpellDamagePhase phase)
Definition
sf_spelldamage_registry.cpp:14
sfsf.h
Generated by
1.12.0