Used to inject Onhit Handlers into Spellforce.
More...
|
typedef uint16_t(__thiscall * | get_reduced_damage_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index, uint16_t unkn) |
|
typedef uint16_t(__thiscall * | get_reduced_building_damage_ptr) (void *AutoClass32, uint16_t source_index, uint16_t target_index, uint16_t damage) |
|
typedef uint16_t(__thiscall * | get_hit_chance_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index) |
|
typedef void(__thiscall * | FUN_006c3a60_ptr) (void *AutoClass30, uint16_t source_index, uint16_t target_index, uint8_t unkn, uint32_t unkn2) |
|
typedef uint32_t(__thiscall * | FUN_0071d7b0_ptr) (void *CGdObject, uint16_t object_index) |
|
typedef uint32_t(__thiscall * | FUN_00755180_ptr) (uint32_t param1) |
|
typedef uint32_t(__thiscall * | objectDealDamage_ptr) (void *CGdObjectToolBox, uint16_t source_index, uint16_t target_index, uint16_t damage, uint32_t unknown) |
|
typedef uint32_t(__thiscall * | getWeaponEffects_ptr) (void *CGdResource, uint32_t *param1, uint16_t weapon_id) |
|
|
uint16_t __thiscall | getCurrentDex (SF_CGdFigure *_this, uint16_t figure_index) |
|
uint16_t __thiscall | getCurrentInt (SF_CGdFigure *_this, uint16_t figure_index) |
|
uint16_t | get_effect_chance (uint16_t dex_val, uint16_t int_val, uint16_t spell_line) |
|
void | initialize_onhit_data_hooks () |
|
void __thiscall | getTargetData (AutoClass24 *_this, SF_CGdTargetData *target) |
|
bool | isJobDoNothing (uint16_t job_id) |
|
bool __thiscall | isFigureJobSpell (SF_CGdFigureJobs *_this, uint16_t figure_id) |
|
bool __thiscall | canJobBeInterrupted (FigureJobs job_id) |
|
uint16_t __thiscall | getAttackInterruptionChance (SF_CGdFigure *_this, uint16_t source_index, uint16_t target_index) |
|
uint16_t __thiscall | handle_riposte_set (SF_CGdFigureJobs *_this, uint16_t source_index, uint16_t target_index, uint16_t weapon_damage) |
|
uint16_t __thiscall | handle_berserk_set (SF_CGdFigureJobs *_this, uint16_t source_index, uint16_t target_index, uint16_t weapon_damage) |
|
uint16_t __thiscall | handle_trueshot_set (SF_CGdFigureJobs *_this, uint16_t source_index, uint16_t target_index, uint16_t weapon_damage) |
|
void __thiscall | sf_onhit_hook (SF_CGdFigureJobs *_this, uint16_t source_index, uint32_t param_2, uint8_t param_3) |
|
Used to inject Onhit Handlers into Spellforce.
◆ FUN_006c3a60_ptr
typedef void(__thiscall * FUN_006c3a60_ptr) (void *AutoClass30, uint16_t source_index, uint16_t target_index, uint8_t unkn, uint32_t unkn2) |
◆ FUN_0071d7b0_ptr
typedef uint32_t(__thiscall * FUN_0071d7b0_ptr) (void *CGdObject, uint16_t object_index) |
◆ FUN_00755180_ptr
typedef uint32_t(__thiscall * FUN_00755180_ptr) (uint32_t param1) |
◆ get_hit_chance_ptr
typedef uint16_t(__thiscall * get_hit_chance_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index) |
◆ get_reduced_building_damage_ptr
typedef uint16_t(__thiscall * get_reduced_building_damage_ptr) (void *AutoClass32, uint16_t source_index, uint16_t target_index, uint16_t damage) |
◆ get_reduced_damage_ptr
typedef uint16_t(__thiscall * get_reduced_damage_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index, uint16_t unkn) |
◆ getWeaponEffects_ptr
typedef uint32_t(__thiscall * getWeaponEffects_ptr) (void *CGdResource, uint32_t *param1, uint16_t weapon_id) |
◆ objectDealDamage_ptr
typedef uint32_t(__thiscall * objectDealDamage_ptr) (void *CGdObjectToolBox, uint16_t source_index, uint16_t target_index, uint16_t damage, uint32_t unknown) |
◆ canJobBeInterrupted()
bool __thiscall canJobBeInterrupted |
( |
FigureJobs | job_id | ) |
|
◆ get_effect_chance()
uint16_t get_effect_chance |
( |
uint16_t | dex_val, |
|
|
uint16_t | int_val, |
|
|
uint16_t | spell_line ) |
◆ getAttackInterruptionChance()
uint16_t __thiscall getAttackInterruptionChance |
( |
SF_CGdFigure * | _this, |
|
|
uint16_t | source_index, |
|
|
uint16_t | target_index ) |
◆ getCurrentDex()
uint16_t __thiscall getCurrentDex |
( |
SF_CGdFigure * | _this, |
|
|
uint16_t | figure_index ) |
◆ getCurrentInt()
uint16_t __thiscall getCurrentInt |
( |
SF_CGdFigure * | _this, |
|
|
uint16_t | figure_index ) |
◆ getTargetData()
◆ handle_berserk_set()
uint16_t __thiscall handle_berserk_set |
( |
SF_CGdFigureJobs * | _this, |
|
|
uint16_t | source_index, |
|
|
uint16_t | target_index, |
|
|
uint16_t | weapon_damage ) |
◆ handle_riposte_set()
uint16_t __thiscall handle_riposte_set |
( |
SF_CGdFigureJobs * | _this, |
|
|
uint16_t | source_index, |
|
|
uint16_t | target_index, |
|
|
uint16_t | weapon_damage ) |
◆ handle_trueshot_set()
uint16_t __thiscall handle_trueshot_set |
( |
SF_CGdFigureJobs * | _this, |
|
|
uint16_t | source_index, |
|
|
uint16_t | target_index, |
|
|
uint16_t | weapon_damage ) |
◆ initialize_onhit_data_hooks()
void initialize_onhit_data_hooks |
( |
| ) |
|
◆ isFigureJobSpell()
bool __thiscall isFigureJobSpell |
( |
SF_CGdFigureJobs * | _this, |
|
|
uint16_t | figure_id ) |
◆ isJobDoNothing()
bool isJobDoNothing |
( |
uint16_t | job_id | ) |
|
◆ sf_onhit_hook()
void __thiscall sf_onhit_hook |
( |
SF_CGdFigureJobs * | _this, |
|
|
uint16_t | source_index, |
|
|
uint32_t | param_2, |
|
|
uint8_t | param_3 ) |
◆ g_FUN_006c3a60
◆ g_FUN_0071d7b0
◆ g_FUN_00755180
◆ g_get_hit_chance
◆ g_get_reduced_building_damage
◆ g_get_reduced_damage
◆ g_getWeaponEffects
◆ g_objectDealDamage