Skip to content

DataStoreGetVersionOptions

DataStore:GetVersionAsync / GetVersionAtTimeAsync 的可选参数,可通过 DataStoreGetVersionOptions.New() 构造。

概览

DataStore:GetVersionAsync / GetVersionAtTimeAsync 的可选参数类型,可通过 DataStoreGetVersionOptions.New() 创建。

可通过 DataStoreGetVersionOptions.New() 构造

代码示例

构造选项

lua
-- @runtime client
local opts = DataStoreGetVersionOptions.New()

属性

名称类型默认值说明
WithKeyInfoBool-指示查询数据版本时是否额外返回包含版本号、创建和修改日期、UserIds 和 Metas 的 DataStoreKeyInfo 实例。