Go to the source code of this file.
|
SFSpell *__thiscall | registerSpell (uint16_t spell_id) |
|
void __thiscall | applySpellTag (SFSpell *spell, SpellTag tag) |
|
void __thiscall | linkTypeHandler (SFSpell *spell, handler_ptr typeHandler) |
|
void __thiscall | linkEffectHandler (SFSpell *spell, uint16_t spell_effect_id, handler_ptr effectHandler) |
|
void __thiscall | linkEndHandler (SFSpell *spell, handler_ptr endHandler) |
|
void __thiscall | linkSubEffectHandler (SFSpell *spell, sub_effect_handler_ptr handler) |
|
void __thiscall | linkRefreshHandler (SFSpell *spell, refresh_handler_ptr handler) |
|
void __thiscall | linkDealDamageHandler (SFSpell *spell, damage_handler_ptr handler, SpellDamagePhase phase) |
|
void __thiscall | linkOnHitHandler (SFSpell *spell, onhit_handler_ptr handler, OnHitPhase phase) |
|
void __thiscall | linkSingleTargetAIHandler (SFSpell *spell, ai_single_handler_ptr handler) |
|
void __thiscall | linkAOEAIHandler (SFSpell *spell, ai_aoe_handler_ptr handler) |
|
void __thiscall | linkAvoidanceAIHandler (SFSpell *spell, ai_avoidance_handler_ptr handler) |
|
SFMod * | createModInfo (const char *mod_id, const char *mod_version, const char *mod_author, const char *mod_description) |
|
void | initialize_beta_hooks () |
|
void | initialize_data_hooks () |
| Used to initialize all disparate hooks in one place.
|
|
◆ DEFINE_FUNCTION
#define DEFINE_FUNCTION |
( |
| group, |
|
|
| name, |
|
|
| address ) |
Value: name ## _ptr name = (name ## _ptr)(
ASI::AddrOf(address)); \
group ## API.name = name;
int AddrOf(int offset)
returns "real" virtual address of given memory offset
Definition at line 8 of file sf_hooks.h.
◆ INCLUDE_FUNCTION
#define INCLUDE_FUNCTION |
( |
| group, |
|
|
| name, |
|
|
| pointer ) |
Value: group ## API.name = pointer;
Definition at line 12 of file sf_hooks.h.
◆ applySpellTag()
◆ linkAOEAIHandler()
◆ linkAvoidanceAIHandler()
◆ linkDealDamageHandler()
◆ linkEffectHandler()
void __thiscall linkEffectHandler |
( |
SFSpell * | spell, |
|
|
uint16_t | spell_effect_id, |
|
|
handler_ptr | effectHandler ) |
|
extern |
◆ linkEndHandler()
◆ linkOnHitHandler()
◆ linkRefreshHandler()
◆ linkSingleTargetAIHandler()
◆ linkSubEffectHandler()
◆ linkTypeHandler()
◆ registerSpell()
SFSpell *__thiscall registerSpell |
( |
uint16_t | spell_id | ) |
|
|
extern |