Skip to content

builtin lua

boyism80 edited this page Jan 23, 2026 · 5 revisions

Built-in Functions Documentation (Lua)

This document describes special Lua metamethods and functions related to Lua objects in the game.


Note: There are no registered builtin functions for Lua-related objects. The Lua garbage collection and object lifecycle are handled automatically by the Lua runtime.

Lua Metamethods

Lua metamethods like __gc (garbage collection), __tostring (string conversion), and __eq (equality comparison) are automatically handled by the Lua runtime and are not exposed as callable builtin functions. These are internal mechanisms that Lua uses to manage object lifecycles and operations.

Clone this wiki locally