2011-08-03 07:07:57 -06:00
|
|
|
#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;
|
2011-08-03 07:07:57 -06:00
|
|
|
public:
|
2015-02-14 20:53:06 -07:00
|
|
|
Hexsearch(lua_State *L,int id);
|
|
|
|
~Hexsearch();
|
2011-08-03 07:07:57 -06:00
|
|
|
|
2015-02-14 20:53:06 -07:00
|
|
|
int GetTableId(){return tblid;};
|
2011-08-03 07:07:57 -06:00
|
|
|
|
2015-02-14 20:53:06 -07:00
|
|
|
int find(lua_State *L);
|
|
|
|
int findall(lua_State *L);
|
|
|
|
int reset(lua_State *L);
|
2011-08-03 07:07:57 -06:00
|
|
|
|
2015-02-14 20:53:06 -07:00
|
|
|
DEF_LUNE(Hexsearch);
|
2011-08-03 07:07:57 -06:00
|
|
|
};
|
2011-08-03 07:27:04 -06:00
|
|
|
void RegisterHexsearch(lua::state &st);
|
2011-08-03 07:07:57 -06:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|