Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_effect_functions.h File Reference

Header file for defining Visual Effects. More...

Include dependency graph for sf_effect_functions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EffectFunctions
 Group of functions related to Effect manipulation. More...

Typedefs

typedef void(__thiscall * sub_effect_handler_ptr) (SF_CGdEffect *, uint16_t effect_index)
typedef void(__thiscall * setEffectXData_ptr) (SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key, uint32_t value)
typedef uint32_t(__thiscall * getEffectXData_ptr) (SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key)
typedef uint16_t(__thiscall * addEffect_ptr) (SF_CGdEffect *_this, CGdEffectType effect_id, SF_CGdTargetData *source, SF_CGdTargetData *target, uint32_t tick_start, uint16_t tick_count, SF_Rectangle *param_6)
typedef void(__thiscall * tryEndEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_index)
typedef bool(__thiscall * effectXDataExists_ptr) (SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key)

Detailed Description

Header file for defining Visual Effects.

This file provides the necessary data structures and function declarations used to interact with the game's visual effects. Some visual effects hold data related to spell casting

Definition in file sf_effect_functions.h.

Typedef Documentation

◆ addEffect_ptr

typedef uint16_t(__thiscall * addEffect_ptr) (SF_CGdEffect *_this, CGdEffectType effect_id, SF_CGdTargetData *source, SF_CGdTargetData *target, uint32_t tick_start, uint16_t tick_count, SF_Rectangle *param_6)

Definition at line 19 of file sf_effect_functions.h.

◆ effectXDataExists_ptr

typedef bool(__thiscall * effectXDataExists_ptr) (SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key)

Definition at line 21 of file sf_effect_functions.h.

◆ getEffectXData_ptr

typedef uint32_t(__thiscall * getEffectXData_ptr) (SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key)

Definition at line 17 of file sf_effect_functions.h.

◆ setEffectXData_ptr

typedef void(__thiscall * setEffectXData_ptr) (SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key, uint32_t value)

Definition at line 16 of file sf_effect_functions.h.

◆ sub_effect_handler_ptr

typedef void(__thiscall * sub_effect_handler_ptr) (SF_CGdEffect *, uint16_t effect_index)

Definition at line 13 of file sf_effect_functions.h.

◆ tryEndEffect_ptr

typedef void(__thiscall * tryEndEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_index)

Definition at line 20 of file sf_effect_functions.h.