#pragma once struct CMPlugin : public PLUGIN { friend class CMLuaOptions; private: lua_State *L; void Unload(); INT_PTR __cdecl Eval(WPARAM, LPARAM); INT_PTR __cdecl Call(WPARAM, LPARAM); INT_PTR __cdecl Exec(WPARAM, LPARAM); public: OBJLIST Scripts; CMPlugin(); ~CMPlugin(); void Load(); void Reload(); };