remove_data_registry_source
Remove a DataTable source from a UDataRegistry asset by data table path or source index and save the asset.
Instructions
Remove a DataTable source from a UDataRegistry asset (the true inverse of add_data_registry_source). Does a reflective RemoveAt on the registry's protected DataSources[] array and saves the asset. Select the source either by data_table_path (matched against each DataTable source's SourceTable) or by source_index. Does NOT unregister from the subsystem. Idempotent: if the source is not present it returns removed:false with an unchanged count.
Returns: { registry_path: string, source_index: int, data_table_path: string, source_count_before: int, source_count_after: int, removed: bool, saved: bool, save_error: string, note: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_index | No | Direct index into DataSources[] to remove. Provide this OR data_table_path. | |
| registry_path | Yes | Content path to the UDataRegistry asset. | |
| data_table_path | No | Content path of the source DataTable to remove (matched against SourceTable). Provide this OR source_index. |