Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_ai_single_target_registry.h
Go to the documentation of this file.
1#pragma once
2
3#include "../../../api/sfsf.h"
7
8#include <iostream>
9#include <map>
10#include <cstdint>
11#include <list>
12#include <utility>
13
14extern void registerAiSingleTargetHandler(uint16_t spell_line,
15 ai_single_handler_ptr handler);
16extern ai_single_handler_ptr get_single_ai_handler(uint16_t spell_line);
ai_single_handler_ptr get_single_ai_handler(uint16_t spell_line)
void registerAiSingleTargetHandler(uint16_t spell_line, ai_single_handler_ptr handler)
uint32_t(__thiscall * ai_single_handler_ptr)(SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)