Class
AssetPatchSettings
NotCreatableNotReplicated
Configures a single patch asset built by IncrementalPatchBuilder and
served through AssetDeliveryProxy.
Defines the settings for an asset produced by IncrementalPatchBuilder
and served through AssetDeliveryProxy during local debugging and
hot-reload. An AssetPatchSettings instance can only be parented to an
IncrementalPatchBuilder, and its Name represents
the patch ID. Each child provides the content ID and cache location that the
builder uses when it registers a completed patch.
Properties 3#
ContentIdstring | The content ID used to override this patch asset when it is served by
AssetDeliveryProxy.ReadSafe |
OutputPathstring | The filesystem path where the built patch asset is cached; when empty, an in-memory cache is used instead.ReadSafe |
PatchIdstring | An identifier for distinguishing patches under a single
IncrementalPatchBuilder. Has no effect.ReadSafe |
ContentId: string#
ReadSafe
The content ID used to override this asset when it is served by
AssetDeliveryProxy, for example
rbxasset://models/DataModelPatch/DataModelPatch.rbxm. When
IncrementalPatchBuilder finishes a build, it registers the
serialized patch under this content ID so that requests for that asset
return the patched content. Defaults to an empty string.
OutputPath: string#
ReadSafe
The output path for the local cache of the patch asset, for example
/path/to/content/models/DataModelPatch/DataModelPatch.rbxm. When set,
IncrementalPatchBuilder writes each completed patch to this path,
creating any missing parent directories. Defaults to an empty string; when
empty, no file is written and an in-memory cache is used instead.
PatchId: string#
ReadSafe
An identifier for distinguishing patches under a single
IncrementalPatchBuilder. Has no effect. Defaults to an empty
string.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild