Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Condiviso Moderato

Package.SetPersistentData

Sets a Persistent Value which will be saved to disk. Note the actual flush to disk is deferred and may not occur immediately

Non ancora tradotto

Sintassi

Lua
Package.SetPersistentData(key, value)

Parametri

Nome Tipo Predefinito Descrizione
key string Key to index data into. It can be separated by '.' to set a child element.
value any Value to set at the key