Skip to content

Class · inherits Instance

DataStoreIncrementOptions

Official docs ↗

Specifies additional parameters for a GlobalDataStore.IncrementAsync call.

About DataStoreIncrementOptions

An object that specifies additional parameters for a GlobalDataStore.IncrementAsync 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 this DataStoreIncrementOptions instance.

    This function gets custom metadata associated with this DataStoreIncrementOptions instance.

  • SetMetadata(attributes: Dictionary) → ()Sets custom metadata to be associated with the key.

    This function sets custom metadata used by GlobalDataStore.IncrementAsync to associate metadata with a key. Metadata should be in key-value pair form.

DataStoreIncrementOptions 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.