Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_onhit_registry.h
Go to the documentation of this file.
1#ifndef SF_ONHIT_REGISTRY_H
2#define SF_ONHIT_REGISTRY_H
3
4#include "../../../api/sfsf.h"
5#include <list>
6#include <utility>
7
8extern std::list<std::pair<uint16_t,
10 OnHitPhase hitphase);
11extern void registerOnHitHandler(uint16_t spell_line_id,
12 onhit_handler_ptr handler, OnHitPhase phase);
13
14#endif
void registerOnHitHandler(uint16_t spell_line_id, onhit_handler_ptr handler, OnHitPhase phase)
std::list< std::pair< uint16_t, onhit_handler_ptr > > get_onhit_phase(OnHitPhase hitphase)
uint16_t(__thiscall * onhit_handler_ptr)(SF_CGdFigureJobs *, uint16_t source, uint16_t target, uint16_t damage)