主题
DataStoreListOptions
DataStoreListOptions 是 DataStoreService 列表接口的可选参数容器,用于控制列 DataStore 集合时是否排除已删除集合。
概览
DataStoreListOptions 是 DataStoreService 列表接口的可选参数容器,用于控制列 DataStore 集合时是否排除已删除集合。
可通过
DataStoreListOptions.New()构造
代码示例
构造 DataStore 列表选项
lua
-- @runtime server
local options = DataStoreListOptions.New()
options.ExcludeDeleted = true属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
ExcludeDeleted | Bool | - | 是否在列出 DataStore 时排除已删除的 DataStore。 |
