Roblox UtilitiesDevlHub Roblox Documentation

Class

DataStoreIncrementOptions

NotReplicated
Inherits
Instance › Object
Memory category
Instances

Specifies additional parameters for a GlobalDataStore:IncrementAsync() call.

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#

GetMetadataGets the custom metadata set with this DataStoreIncrementOptions instance.
SetMetadataSets custom metadata to be associated with the key.

GetMetadata(): Dictionary#

This function gets custom metadata associated with this DataStoreIncrementOptions instance.

Returns

SetMetadata(attributes: Dictionary): ()#

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

NameTypeDefaultDescription
attributesDictionaryMetadata values to set for the key.
Returns
  • ()

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed