Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_ai_avoidance_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 registerAiAvoidanceHandler(uint16_t spell_line,
16extern ai_avoidance_handler_ptr get_ai_avoidance_handler(uint16_t spell_line);
void registerAiAvoidanceHandler(uint16_t spell_line, ai_avoidance_handler_ptr handler)
ai_avoidance_handler_ptr get_ai_avoidance_handler(uint16_t spell_line)
uint32_t(__thiscall * ai_avoidance_handler_ptr)(CGdAIBattleData *_this, uint16_t figure_index, uint16_t spell_line)