Skip to content

sco.settings

Methods and entrypoints for sco.settings.

Source: sco_settings.h, implementation, layout pin.

Read-only declared settings; no setters. Names at most 31 bytes, strings at most 255 bytes excluding NUL. Scalar failure leaves output untouched; a string size handshake can change its size output while leaving its text buffer untouched. Values read from memory, not storage per call. settings.changed payload is borrowed and size-prefixed, dispatched on game thread after storing the value, for every plugin’s changes. See settings.