DataStoreSetOptions
Specifies additional parameters for a GlobalDataStore:SetAsync() call.
This class is not replicated. Its interface does not cross the network boundary.
| Memory category | Instances |
|---|
Member index 2
Description
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.
History 9
- 573 Change ReturnType of SetMetadata from void to null
- 464 Change Tags of DataStoreSetOptions from [NotCreatable, NotReplicated] to [NotReplicated]
- 462 Add SetMetadata
- 462 Add GetMetadata
- 462 Add DataStoreSetOptions
- 452 Remove DataStoreSetOptions
- 453 Add SetMetadata
- 453 Add GetMetadata
- 453 Add DataStoreSetOptions
Members 2
GetMetadata
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Dictionary | ||
This function gets custom metadata associated with this DataStoreSetOptions instance.
| Thread safety | Unsafe |
|---|
History 3
- 462 Add GetMetadata
- 452 Remove DataStoreSetOptions
- 453 Add GetMetadata
SetMetadata
| Parameters (1) | ||
|---|---|---|
| attributes | Dictionary | |
| Returns (1) | ||
| null | ||
This function sets custom metadata used by GlobalDataStore:SetAsync() to associate metadata with a key. Metadata should be in key-value pair form.
| Thread safety | Unsafe |
|---|
History 4
- 573 Change ReturnType of SetMetadata from void to null
- 462 Add SetMetadata
- 452 Remove DataStoreSetOptions
- 453 Add SetMetadata