DataStoreSetOptions
DataStoreSetOptions : Instance
Overview
The DataStoreSetOptions class is used to define additional parameters and metadata for the GlobalDataStore:SetAsync() method. This allows developers to associate custom metadata with a key in the data store, providing more flexibility and context for stored data.
Description
Its primary role in OVERDARE Studio structure is to provide developers with the ability to associate custom metadata with specific keys within DataStoreSetOptions instances, ensuring efficient organization and management of game data through a set of API methods. The SetMetadata function allows developers to use Value representing a metadata table as an
Properties
Methods
SetMetadata
The SetMetadata()
method allows developers to define custom metadata for a key
Parameters
Value
InMetaDataTable
Return
void
Code Samples
GetMetadata
The GetMetadata()
method retrieves metadata that has been set using the SetMetadata()
function. This can be useful for debugging or analyzing stored data.
Parameters
Return
Value