Class · inherits Instance
DataStoreSetOptions
Specifies additional parameters for a GlobalDataStore.SetAsync call.
About DataStoreSetOptions
An object that specifies additional parameters for a
GlobalDataStore.SetAsync call.
See also:
- Data Stores, an in-depth guide on data structure, management, error handling, etc.
Methods 2
GetMetadata
() → DictionaryGets the custom metadata set with thisDataStoreSetOptionsinstance.This function gets custom metadata associated with this
DataStoreSetOptionsinstance.SetMetadata
(attributes: Dictionary) → ()Sets custom metadata to be associated with the key.This function sets custom metadata used by
GlobalDataStore.SetAsyncto associate metadata with a key. Metadata should be in key-value pair form.
DataStoreSetOptions also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.