Roblox UtilitiesDevlHub Roblox Documentation

Class

AssetPatchSettings

NotCreatableNotReplicated
Inherits
Instance › Object
Memory category
Instances

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#

ContentIdstringThe content ID used to override this patch asset when it is served by AssetDeliveryProxy.ReadSafe
OutputPathstringThe filesystem path where the built patch asset is cached; when empty, an in-memory cache is used instead.ReadSafe
PatchIdstringAn 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
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed