Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellMethods.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2010 - 2013 Eluna Lua Engine <http://emudevs.com/>
3* This program is free software licensed under GPL version 3
4* Please see the included DOCS/LICENSE.TXT for more information
5*/
6
7#ifndef LUA_SPELLMETHODS_H
8#define LUA_SPELLMETHODS_H
9
10struct lua_State;
11class Spell;
12
13namespace LuaSpell
14{
15 int GetCaster(lua_State* L, Spell* spell);
16 int GetCastTime(lua_State* L, Spell* spell);
17 int GetId(lua_State* L, Spell* spell);
18 int GetPowerCost(lua_State* L, Spell* spell);
19 int GetDuration(lua_State* L, Spell* spell);
20 int Cast(lua_State* L, Spell* spell);
21 int IsAutoRepeat(lua_State* L, Spell* spell);
22 int SetAutoRepeat(lua_State* L, Spell* spell);
23 int cancel(lua_State* L, Spell* spell);
24 int Finish(lua_State* L, Spell* spell);
25 int GetTargetDest(lua_State* L, Spell* spell);
26};
27#endif
Definition Spell.h:289
int GetDuration(lua_State *L, Spell *spell)
int SetAutoRepeat(lua_State *L, Spell *spell)
int GetPowerCost(lua_State *L, Spell *spell)
int Cast(lua_State *L, Spell *spell)
int cancel(lua_State *L, Spell *spell)
int GetCastTime(lua_State *L, Spell *spell)
int GetId(lua_State *L, Spell *spell)
int GetTargetDest(lua_State *L, Spell *spell)
int GetCaster(lua_State *L, Spell *spell)
int Finish(lua_State *L, Spell *spell)
int IsAutoRepeat(lua_State *L, Spell *spell)