blob: 4366d58d03344e4eff8c093cf1d050e13f0b8059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef _LUA_ENVIROMENT_H_
#define _LUA_ENVIROMENT_H_
class CMLuaEnviroment
{
private:
int id;
void CreateEnviromentTable();
public:
lua_State *L;
CMLuaEnviroment(lua_State *L);
virtual ~CMLuaEnviroment() { }
static CMLuaEnviroment* GetEnviroment(lua_State *L);
static int GetEnviromentId(lua_State *L);
int GetId() const;
bool Load(int ind);
void Unload();
};
#endif //_LUA_ENVIROMENT_H_
|