Skip to content

GlobalDataStore ​

Inherits Instance.

Not made by name: the engine makes it, or it is a base for other classes.

Classes that inherit it: DataStore.

Methods ​

  • GetAsync(key: string): any
  • IncrementAsync(key: string, delta: number?): number
  • RemoveAsync(key: string): any
  • SetAsync(key: string, value: any): ()
  • UpdateAsync(key: string, transformFunction: (any) -> any): any

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0