Enum
Enum.DataStoreRequestType
Indicates the type of data store request being made.
| Item | Value | Summary |
|---|---|---|
| Enum.DataStoreRequestType.GetAsync | 0 | Refers to GetAsync() and the read of UpdateAsync(). |
| Enum.DataStoreRequestType.SetIncrementAsync | 1 | Refers to SetAsync(), IncrementAsync(), RemoveAsync(), and the write of UpdateAsync() when it returns a non-nil value. |
| Enum.DataStoreRequestType.UpdateAsync | 2 | Refers to UpdateAsync(). |
| Enum.DataStoreRequestType.GetSortedAsync | 3 | Refers to GetSortedAsync(). |
| Enum.DataStoreRequestType.SetIncrementSortedAsync | 4 | Refers to SetAsync() IncrementAsync(), RemoveAsync(), and the write of UpdateAsync() while using an OrderedDataStore. |
| Enum.DataStoreRequestType.OnUpdate | 5 | Refers to OnUpdate(). |
| Enum.DataStoreRequestType.ListAsync | 6 | Refers to ListKeysAsync() and ListVersionsAsync(). |
| Enum.DataStoreRequestType.GetVersionAsync | 7 | Refers to GetVersionAsync(). |
| Enum.DataStoreRequestType.RemoveVersionAsync | 8 | Refers to RemoveVersionAsync(). |
| Enum.DataStoreRequestType.StandardRead | 9 | Refers to GetAsync(), GetVersionAsync(), GetVersionAtTimeAsync(), and the read of UpdateAsync() for DataStore. |
| Enum.DataStoreRequestType.StandardWrite | 10 | Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for DataStore. |
| Enum.DataStoreRequestType.StandardList | 11 | Refers to ListDataStoresAsync(), and ListKeysAsync() and ListVersionsAsync() for DataStore. |
| Enum.DataStoreRequestType.StandardRemove | 12 | Refers to RemoveAsync() for DataStore. |
| Enum.DataStoreRequestType.OrderedRead | 13 | Refers to GetAsync() and the read of UpdateAsync() for OrderedDataStore. |
| Enum.DataStoreRequestType.OrderedWrite | 14 | Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for OrderedDataStore. |
| Enum.DataStoreRequestType.OrderedList | 15 | Refers to GetSortedAsync() for OrderedDataStore. GetRequestBudgetForRequestType()with this enum will return0. |
| Enum.DataStoreRequestType.OrderedRemove | 16 | Refers to RemoveAsync() for OrderedDataStore. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.