DataStoreKeyInfo

Afficher les obsolètes
création impossible
non répliqué

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.

Résumé

Propriétés

  • lecture uniquement
    non répliqué
    lecture parallèle

    The date and time the object was created.

  • lecture uniquement
    non répliqué
    lecture parallèle

    The date and time the object was last updated.

  • lecture uniquement
    non répliqué
    lecture parallèle

    Uniquely identifies the version of the object.

Méthodes

Propriétés

CreatedTime

lecture uniquement
non répliqué
lecture parallèle

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

UpdatedTime

lecture uniquement
non répliqué
lecture parallèle

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

Version

lecture uniquement
non répliqué
lecture parallèle

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.

Méthodes

GetMetadata

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


Retours

Metadata associated with the key.

GetUserIds

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


Retours

An array of UserIds associated with the object.

Évènements