Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_phys_effect_registry.cpp File Reference
#include "sf_phys_effect_registry.h"
#include "../../core/sf_modloader.h"
#include <map>
Include dependency graph for sf_phys_effect_registry.cpp:

Go to the source code of this file.

Functions

void __thiscall default_rain_handler (SF_CGdEffect *_this, uint16_t effect_index)
uint16_t __thiscall default_phys_effect_handler (SF_CGdEffect *_this, uint16_t source, uint16_t target, bool *isSpellDamage, uint16_t damage)
void registerPhysRainHandler (uint16_t spell_line_id, sub_effect_handler_ptr handler)
void registerPhysEffectHandler (uint16_t spell_line_id, phys_effect_handler_ptr handler)
sub_effect_handler_ptr get_rain_handler (uint16_t spell_line_id)
phys_effect_handler_ptr get_phys_effect_handler (uint16_t spell_line_id)

Function Documentation

◆ default_phys_effect_handler()

uint16_t __thiscall default_phys_effect_handler ( SF_CGdEffect * _this,
uint16_t source,
uint16_t target,
bool * isSpellDamage,
uint16_t damage )

Definition at line 15 of file sf_phys_effect_registry.cpp.

Here is the caller graph for this function:

◆ default_rain_handler()

void __thiscall default_rain_handler ( SF_CGdEffect * _this,
uint16_t effect_index )

Definition at line 10 of file sf_phys_effect_registry.cpp.

Here is the caller graph for this function:

◆ get_phys_effect_handler()

phys_effect_handler_ptr get_phys_effect_handler ( uint16_t spell_line_id)

Definition at line 56 of file sf_phys_effect_registry.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_rain_handler()

sub_effect_handler_ptr get_rain_handler ( uint16_t spell_line_id)

Definition at line 45 of file sf_phys_effect_registry.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ registerPhysEffectHandler()

void registerPhysEffectHandler ( uint16_t spell_line_id,
phys_effect_handler_ptr handler )

Definition at line 33 of file sf_phys_effect_registry.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ registerPhysRainHandler()

void registerPhysRainHandler ( uint16_t spell_line_id,
sub_effect_handler_ptr handler )

Definition at line 21 of file sf_phys_effect_registry.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: