diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-05-04 09:49:30 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:46 +0200 |
commit | 13cfbb7bb8b59ea31bebe0960e0dd3b054be3ba5 (patch) | |
tree | cb694c6890b2dd87daa4f2e49f8c33f94d29fc7d /src/scripting/luautil.h | |
parent | 68481094c0d02ba127bcab6c692801b01a27f21b (diff) | |
download | manaserv-13cfbb7bb8b59ea31bebe0960e0dd3b054be3ba5.tar.gz manaserv-13cfbb7bb8b59ea31bebe0960e0dd3b054be3ba5.tar.bz2 manaserv-13cfbb7bb8b59ea31bebe0960e0dd3b054be3ba5.tar.xz manaserv-13cfbb7bb8b59ea31bebe0960e0dd3b054be3ba5.zip |
Added get_monster_classes() bind
It returns all monster classes in a id->monsterclass table.
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r-- | src/scripting/luautil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h index e7cbc754..653bf24a 100644 --- a/src/scripting/luautil.h +++ b/src/scripting/luautil.h @@ -212,6 +212,11 @@ inline void push(lua_State *s, MapObject *val) LuaMapObject::push(s, val); } +inline void push(lua_State *s, MonsterClass *val) +{ + LuaMonsterClass::push(s, val); +} + /* Pushes an STL LIST */ template <typename T> |