AssetPatchSettings
Configures a single patch asset built by IncrementalPatchBuilder and served through AssetDeliveryProxy.
| Memory category | Instances |
|---|
Member index 3
Description
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.
History 4
- 549 Add PatchId
- 549 Add OutputPath
- 549 Add ContentId
- 549 Add AssetPatchSettings
Members 3
ContentId
| Type | Default | |
|---|---|---|
| string | ||
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.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
OutputPath
| Type | Default | |
|---|---|---|
| string | ||
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.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 1
- 549 Add OutputPath
PatchId
| Type | Default | |
|---|---|---|
| string | ||
An identifier for distinguishing patches under a single IncrementalPatchBuilder. Has no effect. Defaults to an empty string.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |