⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scripthandler.h

📁 魔兽世界的私服源程序
💻 H
字号:
#ifndef _SCRIPTHANDLER_H
#define _SCRIPTHANDLER_H

extern "C" {
#include <lua.h>
}
#define oldnew new
#undef new
#include <luabind/luabind.hpp>
#define new oldnew



class WorldThread;
class LuaScriptHandler 
	
{
	lua_State *State;
	WorldThread *parent;
	
	wxStopWatch &StopWatch;
public:
	void Alert(const char *);
	LuaScriptHandler(WorldThread *thread);
	~LuaScriptHandler(void);
	void InitScript();
	lua_State *GetState() const
	{
		return State;
	}
	void QuitWorld();
	
	void ParseCommand(wxString *command);
private:
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -