Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
scripting_pause_menu.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2025 grorp
4
5#pragma once
6
7#include "cpp_api/s_base.h"
10#include "cpp_api/s_security.h"
11
13 virtual public ScriptApiBase,
14 public ScriptApiPauseMenu,
17{
18public:
20 void loadBuiltin();
21
22protected:
23 bool checkPathInternal(const std::string &abs_path, bool write_required,
24 bool *write_allowed) override;
25
26private:
27 void initializeModApi(lua_State *L, int top);
28};
Definition client.h:106
Definition scripting_pause_menu.h:17
void initializeModApi(lua_State *L, int top)
Definition scripting_pause_menu.cpp:38
PauseMenuScripting(Client *client)
Definition scripting_pause_menu.cpp:15
void loadBuiltin()
Definition scripting_pause_menu.cpp:50
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_pause_menu.cpp:56
Definition s_base.h:63
Definition s_client_common.h:13
Definition s_pause_menu.h:10
Definition s_security.h:28
Definition activeobjectmgr.cpp:11