1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Don't permit to copy Scripting classes (Client,Server,Mainmenu)

This commit is contained in:
Loïc Blot 2017-04-27 11:52:44 +02:00
parent 1ef9eee311
commit b82e5ec880
3 changed files with 6 additions and 0 deletions

View file

@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "cpp_api/s_player.h"
#include "cpp_api/s_server.h"
#include "cpp_api/s_security.h"
#include "util/basic_macros.h"
/*****************************************************************************/
/* Scripting <-> Server Game Interface */
@ -50,6 +51,7 @@ public:
private:
void InitializeModApi(lua_State *L, int top);
DISABLE_CLASS_COPY(ServerScripting);
};
void log_deprecated(const std::string &message);