Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_effect_functions.h
Go to the documentation of this file.
1
9
10#pragma once
12
13typedef void (__thiscall *sub_effect_handler_ptr)(SF_CGdEffect *,
14 uint16_t effect_index);
15
16DECLARE_FUNCTION(void, setEffectXData, SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key, uint32_t value);
17DECLARE_FUNCTION(uint32_t, getEffectXData, SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key);
18DECLARE_FUNCTION(uint16_t, addEffect, SF_CGdEffect *_this, CGdEffectType effect_id, SF_CGdTargetData *source,
19 SF_CGdTargetData *target, uint32_t tick_start, uint16_t tick_count, SF_Rectangle *param_6);
20DECLARE_FUNCTION(void, tryEndEffect, SF_CGdEffect *_this, uint16_t effect_index);
21DECLARE_FUNCTION(bool, effectXDataExists, SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key);
void(__thiscall * sub_effect_handler_ptr)(SF_CGdEffect *, uint16_t effect_index)
bool(__thiscall * effectXDataExists_ptr)(SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key)
void(__thiscall * tryEndEffect_ptr)(SF_CGdEffect *_this, uint16_t effect_index)
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)
uint32_t(__thiscall * getEffectXData_ptr)(SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key)
void(__thiscall * setEffectXData_ptr)(SF_CGdEffect *_this, uint16_t effect_index, SpellDataKey key, uint32_t value)
#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
effectXDataExists_ptr effectXDataExists
tryEndEffect_ptr tryEndEffect