dfhack/plugins/Dfusion/include/lua_Hexsearch.h

33 lines
435 B
C

#ifndef LUA_HEXSEARCH_H
#define LUA_HEXSEARCH_H
#include "hexsearch.h"
#include "luamain.h"
namespace lua
{
class Hexsearch
{
2015-02-14 20:53:06 -07:00
int tblid;
::Hexsearch *p;
public:
2015-02-14 20:53:06 -07:00
Hexsearch(lua_State *L,int id);
~Hexsearch();
2015-02-14 20:53:06 -07:00
int GetTableId(){return tblid;};
2015-02-14 20:53:06 -07:00
int find(lua_State *L);
int findall(lua_State *L);
int reset(lua_State *L);
2015-02-14 20:53:06 -07:00
DEF_LUNE(Hexsearch);
};
void RegisterHexsearch(lua::state &st);
}
#endif