56 bool *write_allowed)
override {
58 abs_path, write_required, write_allowed);
lua_State * getStack()
Definition s_base.h:143
Definition s_inventory.h:14
Definition s_modchannels.h:12
Definition s_security.h:28
static bool checkPathWithGamedef(lua_State *L, const std::string &abs_path, bool write_required, bool *write_allowed)
Definition s_security.cpp:607
Definition scripting_server.h:33
void loadBuiltin()
Definition scripting_server.cpp:79
bool modNamesAreTrusted() override
Specify if the mod names during init time(!) can be trusted.
Definition scripting_server.h:60
u32 queueAsync(std::string &&serialized_func, PackedValue *param, const std::string &mod_origin)
Definition scripting_server.cpp:123
ServerScripting(Server *server)
Definition scripting_server.cpp:40
void InitializeModApi(lua_State *L, int top)
Definition scripting_server.cpp:130
AsyncEngine asyncEngine
Definition scripting_server.h:67
void saveGlobals()
Definition scripting_server.cpp:85
void initAsync()
Definition scripting_server.cpp:102
bool checkPathInternal(const std::string &abs_path, bool write_required, bool *write_allowed) override
Should check if the given path may be accessed.
Definition scripting_server.h:55
static void InitializeAsync(lua_State *L, int top)
Definition scripting_server.cpp:169
void stepAsync()
Definition scripting_server.cpp:118
Definition activeobjectmgr.cpp:11
A packed value can be a primitive like a string or number but also a table including all of its conte...
Definition c_packer.h:72