1
ModuleApiGameLibRuntimeStorage
Mees van der Wijk edited this page 2025-08-10 16:58:31 +02:00

ModuleApi - Runtime Storage

Simple object used to perform time calculations for sychronized rendering across clients.

Structure

{
	@readonly "_lastSnapshot": 1754754260809,
	@readonly "_keys": [
		"variable1",
		"variable2"
	],
	@readonly "_size": 2,

	"variable1": "Hello world",
	"variable2": 10
}

Attribute Type Description
(READONLY) _lastSnapshot number Unix timestamp when the last snapshot was made.
(READONLY) _keys number List of all variable keys inside the storage.
(READONLY) _size number The amount of variables inside the storage.
[ key:string ] any Variables inside the runtime storage. Using the storage without an interface will work but is not generally advised. Please extent storage interface with an interface containing specific properties.