Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
luau_sandbox.h File Reference
#include <cstdint>
#include <expected>
#include <functional>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include "script/script_value.h"
Include dependency graph for luau_sandbox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bicameral::script::SandboxLimits
struct  bicameral::script::ScriptError
struct  bicameral::script::ModuleFile
struct  bicameral::script::RunOptions
struct  bicameral::script::RunResult
class  bicameral::script::LuauSandbox

Namespaces

namespace  bicameral
namespace  bicameral::script

Typedefs

using bicameral::script::HostFunction = int (*)(lua_State* state)
using bicameral::script::ModuleResolver = std::function<std::expected<ModuleFile, std::string>(std::string_view name)>

Enumerations

enum class  bicameral::script::ScriptErrorKind : uint8_t {
  bicameral::script::Compile , bicameral::script::Runtime , bicameral::script::SafepointLimit , bicameral::script::Memory ,
  bicameral::script::Usage
}