Controls how various DataStore operations proceed.
public struct DataStore.OptionsMembers at a glance
| Kind | Members |
|---|---|
| Fields | RetrieveData · SerializerOptions · Version |
Fields
RetrieveData
Added in 37.1.0
public bool RetrieveDataDataStore.Store and DataStore.Delete will retrieve the existing data if this value is true, or if Options.Version is set and is not matched. Leaving this false will provide quicker responses and the value does not need to be returned or parsed.
SerializerOptions
Added in 37.1.0
public Sansar.Utility.JsonSerializerOptions SerializerOptionsOptions to control json serialization
Version
Added in 37.1.0
public Nullable<int> VersionWhen set, DataStore.Store and DataStore.Delete will only proceed if the version of the data in the store matches this value. If the version does not match then the existing value and version will be returned.
Used in examples
Generated from the Sansar 47.10.0 client ScriptApi snapshot.