Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_effect_functions.h
Go to the documentation of this file.
1#pragma once
3
4typedef void (__thiscall *sub_effect_handler_ptr)(SF_CGDEffect *,
5 uint16_t effect_index);
6
7DECLARE_FUNCTION(void, setEffectXData, SF_CGDEffect *_this,
8 uint16_t effect_index, SpellDataKey key, uint32_t value);
9DECLARE_FUNCTION(uint32_t, getEffectXData, SF_CGDEffect *_this,
10 uint16_t effect_index, SpellDataKey key);
11DECLARE_FUNCTION(uint16_t, addEffect, SF_CGDEffect *_this,
12 CGdEffectType effect_id, SF_CGdTargetData *source,
13 SF_CGdTargetData *target, uint32_t tick_start,
14 uint16_t tick_count, SF_Rectangle *param_6);
15DECLARE_FUNCTION(void, tryEndEffect, SF_CGDEffect *_this,
16 uint16_t effect_index);
17
void(__thiscall * setEffectXData_ptr)(SF_CGDEffect *_this, uint16_t effect_index, SpellDataKey key, uint32_t value)
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)
void(__thiscall * tryEndEffect_ptr)(SF_CGDEffect *_this, uint16_t effect_index)
uint32_t(__thiscall * getEffectXData_ptr)(SF_CGDEffect *_this, uint16_t effect_index, SpellDataKey key)
void(__thiscall * sub_effect_handler_ptr)(SF_CGDEffect *, uint16_t effect_index)
Group of Structures and Enums used throught SFSF.
#define DECLARE_FUNCTION(type, name,...)
Declares a function with the specified return type, name, and arguments.
Group of functions related to Effect manipulation.
addEffect_ptr addEffect
getEffectXData_ptr getEffectXData
setEffectXData_ptr setEffectXData
tryEndEffect_ptr tryEndEffect