主题
DataStoreGetVersionOptions
DataStore:GetVersionAsync / GetVersionAtTimeAsync 的可选参数,可通过 DataStoreGetVersionOptions.New() 构造。
概览
DataStore:GetVersionAsync / GetVersionAtTimeAsync 的可选参数类型,可通过 DataStoreGetVersionOptions.New() 创建。
可通过
DataStoreGetVersionOptions.New()构造
代码示例
构造选项
lua
-- @runtime client
local opts = DataStoreGetVersionOptions.New()属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
WithKeyInfo | Bool | - | 指示查询数据版本时是否额外返回包含版本号、创建和修改日期、UserIds 和 Metas 的 DataStoreKeyInfo 实例。 |
