Record
Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.
Up and coming
One named record: its content folder, numbered backups, instance files and metadata.
RecordStore gives them through GetRecordsAsync, FindRecordAsync and CreateRecordAsync. BackupAsync copies Content to Backups/000001 and up, and ReplaceAsync backs this record up before taking a newer one's Content.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Scope | string | ||
| Content | PathHandler | The record's Content folder, which BackupAsync copies to Backups/000001 and up. | |
| NextVersion | number |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| BackupAsync yields | () | (number?, string?) | Copies Content to Backups/000001 and up, and returns the backup's number. |
| ReplaceAsync yields | (newer: Record) | (boolean, string?) | Backs this record up, then takes the newer record's Content. |
| SetScopeAsync yields | (scope: string) | (boolean, string?) | |
| ReadInstanceAsync yields | (...: string) | (ShotInstance?, string?) | Reads an instance from one of the record's rbxm files, its path given in parts. |
| WriteInstanceAsync yields | (instance: ShotInstance, ...: string) | (boolean, string?) | |
| ReadMetadataAsync yields | () | ({ [string]: any }?, string?) | |
| WriteMetadataAsync yields | (metadata: { [string]: any }) | (boolean, string?) |
From ShotInstance 33
ClassNameNameParentAncestryChangedAttributeChangedChangedChildAddedChildRemovedDestroyingAddTagClearAllChildrenCloneDestroyFindFirstAncestorFindFirstAncestorOfClassFindFirstAncestorWhichIsAFindFirstChildFindFirstChildOfClassFindFirstChildWhichIsAGetAttributeGetAttributeChangedSignalGetAttributesGetChildrenGetDescendantsGetFullNameGetPropertyChangedSignalGetTagsHasTagIsAIsAncestorOfIsDescendantOfRemoveTagSetAttribute
