Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::script::SandboxLimits Struct Reference

#include <luau_sandbox.h>

Public Attributes

uint64_t safepointLimit = 50'000'000
uint64_t memoryLimitBytes = 256ull << 20
int32_t randomSeed = 0
std::function< void(std::string_view chunkName, std::string_view text)> printSink

Detailed Description

Definition at line 33 of file luau_sandbox.h.

Member Data Documentation

◆ memoryLimitBytes

uint64_t bicameral::script::SandboxLimits::memoryLimitBytes = 256ull << 20

Definition at line 36 of file luau_sandbox.h.

◆ printSink

std::function<void(std::string_view chunkName, std::string_view text)> bicameral::script::SandboxLimits::printSink

Definition at line 43 of file luau_sandbox.h.

◆ randomSeed

int32_t bicameral::script::SandboxLimits::randomSeed = 0

Definition at line 39 of file luau_sandbox.h.

◆ safepointLimit

uint64_t bicameral::script::SandboxLimits::safepointLimit = 50'000'000

Definition at line 35 of file luau_sandbox.h.


The documentation for this struct was generated from the following file: