DataStoreKeyInfo

顯示已棄用項目

*此內容很快就會推出您所選的語言版本。

無法建立
未複製

An object describing information about a particular version of the key. This is returned as the second return value by GlobalDataStore:GetAsync(), GlobalDataStore:UpdateAsync(), GlobalDataStore:IncrementAsync(), GlobalDataStore:RemoveAsync(), and DataStore:GetVersionAsync().

See also:

  • Data Stores, an in-depth guide on data structure, management, error handling, etc.

概要

屬性

  • 唯讀
    未複製
    平行讀取

    The date and time the object was created.

  • 唯讀
    未複製
    平行讀取

    The date and time the object was last updated.

  • 唯讀
    未複製
    平行讀取

    Uniquely identifies the version of the object.

方法

屬性

CreatedTime

唯讀
未複製
平行讀取

This property indicates the date and time the object was created, formatted as the number of milliseconds since epoch.

UpdatedTime

唯讀
未複製
平行讀取

This property indicates the date and time the object was last updated, formatted as the number of milliseconds since epoch.

Version

唯讀
未複製
平行讀取

This property uniquely identifies the version of the object. It can be passed to DataStore:GetVersionAsync() or DataStore:RemoveVersionAsync() to get or remove the version respectively.

方法

GetMetadata

This function returns the metadata associated with the latest version of the object.


返回

Metadata associated with the key.

GetUserIds

This function returns an array of UserIds tagged with the object.


返回

An array of UserIds associated with the object.

活動