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

Go to the source code of this file.

Functions

uint16_t __thiscall default_enchant_handler (SF_CGdFigure *_this, uint16_t figure_id)
uint16_t __thiscall poison_enchant_handler (SF_CGdFigure *_this, uint16_t figure_id)
void registerEnchantHandler (uint16_t spell_line, enchant_handler_ptr handler)
enchant_handler_ptr get_enchant_handler (uint16_t spell_line)
void register_vanilla_enchants_handlers ()

Function Documentation

◆ default_enchant_handler()

uint16_t __thiscall default_enchant_handler ( SF_CGdFigure * _this,
uint16_t figure_id )

Definition at line 11 of file sf_enchant_registry.cpp.

Here is the caller graph for this function:

◆ get_enchant_handler()

enchant_handler_ptr get_enchant_handler ( uint16_t spell_line)

Definition at line 36 of file sf_enchant_registry.cpp.

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

◆ poison_enchant_handler()

uint16_t __thiscall poison_enchant_handler ( SF_CGdFigure * _this,
uint16_t figure_id )

Definition at line 18 of file sf_enchant_registry.cpp.

Here is the caller graph for this function:

◆ register_vanilla_enchants_handlers()

void register_vanilla_enchants_handlers ( )

Definition at line 47 of file sf_enchant_registry.cpp.

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

◆ registerEnchantHandler()

void registerEnchantHandler ( uint16_t spell_line,
enchant_handler_ptr handler )

Definition at line 25 of file sf_enchant_registry.cpp.

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