DataStoreSetOptions

Show Deprecated
Not Replicated

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.

Summary

Properties

Events

Methods


Gets the custom metadata set with this DataStoreSetOptions instance.

SetMetadata(attributes: Dictionary): nil  

Sets custom metadata to be associated with the key.

Properties

Events

Methods

GetMetadata

This function gets custom metadata associated with this DataStoreSetOptions instance.


Returns

Metadata associated with this DataStoreSetOptions instance.

SetMetadata

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

Parameters

attributes: Dictionary

Metadata values to set for the key.


Returns

No returns.