Kit loc
25 herramientas. Generado a partir del código fuente del plugin; no lo edites a mano.
Las descripciones de las herramientas y de los argumentos se muestran en inglés porque reflejan el schema de las herramientas (el mismo texto que el agente recibe en
tools/list).
Herramientas
Leyenda. riesgo 0 = solo lectura, 1 = operación inofensiva del editor, 2 = modifica un asset, 3 = elimina/reemplaza un asset, 4 = proyecto/configuración/build, 5 = potencialmente destructivo (las llamadas por encima de
MaxAutoRiskrequieren"_confirm": true). modifica = se ejecuta en una transacción (edit.undo la revierte). requiere PIE / requiere mundo = se rechaza sin una sesión PIE / sin un nivel abierto. requiere el plugin = no disponible cuando el plugin está desactivado. dryRun = acepta el argumentodryRun. smoke = cubierto poredit.self_test.
loc.add_culture (riesgo 4, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
culture | string | obligatorio. ICU culture name such as fr, ja, pt-BR. |
Devuelve: target, warnings.
loc.audit_string_table (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
asset | string | obligatorio. StringTable asset reference. |
limit | integer | Return at most this many duplicate/blank findings. Valor predeterminado 100. |
Devuelve: table, warnings.
loc.audit_string_tables (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content root to scan. Valor predeterminado TEXT("/Game"). |
recursive | boolean | Include StringTables below Folder. Valor predeterminado true. |
limit | integer | Maximum returned assets. Valor predeterminado 200. |
loc.compile_status (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
target | string | obligatorio. Localization target name. |
Devuelve: target, root, manifestExists, archiveExists, locresCultures, missingCultures, notes.
loc.create_string_table (riesgo 2, modifica, smoke)
Creates a StringTable asset with an optional namespace and initial key -> source entries; returns the entries.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | obligatorio. Content folder, e.g. /Game/Localization. |
name | string | obligatorio. Asset name, e.g. ST_UI. |
namespace | string | Text namespace of the table; empty keeps the engine default (the table id). |
entries | array of UeaKeyValue | Initial entries: key -> source string. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.create_target (riesgo 4, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
target | string | obligatorio. New localization target name. |
nativeCulture | string | obligatorio. Native culture such as en, en-US, pt-BR. |
persist | boolean | Save the localization settings config after the edit; false keeps the change in memory only (undoable, lost on restart). Valor predeterminado true. |
Devuelve: target, warnings.
loc.duplicate_string_table (riesgo 2, modifica, smoke)
Duplicates a StringTable asset (new table id = new asset path); returns the copy's entries.
| Argumento | Tipo | Descripción |
|---|---|---|
asset | string | obligatorio. Source StringTable asset reference. |
newName | string | obligatorio. New asset name. |
folder | string | Destination folder; empty uses the source folder. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.gather_status (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
target | string | obligatorio. Localization target name. |
Devuelve: target, root, manifestExists, archiveExists, locresCultures, missingCultures, notes.
loc.get_target (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
target | string | obligatorio. Localization target name. |
Devuelve: target, warnings.
loc.list_string_tables (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content root to scan. Valor predeterminado TEXT("/Game"). |
recursive | boolean | Include StringTables below Folder. Valor predeterminado true. |
limit | integer | Maximum returned assets. Valor predeterminado 200. |
loc.list_targets (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
scope | string | "game" (default) edits the project target set; "engine" is read-only. Valor predeterminado TEXT("game"). |
Devuelve: targets, count.
loc.remove_culture (riesgo 4, modifica, destructivo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
culture | string | obligatorio. ICU culture name such as fr, ja, pt-BR. |
Devuelve: target, warnings.
loc.remove_target (riesgo 4, modifica, destructivo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
persist | boolean | Save the localization settings config after the edit; false keeps the change in memory only (undoable, lost on restart). Valor predeterminado true. |
Devuelve: target, warnings.
loc.set_native_culture (riesgo 4, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
culture | string | obligatorio. ICU culture name such as fr, ja, pt-BR. |
Devuelve: target, warnings.
loc.string_table_clear_entries (riesgo 5, modifica, destructivo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
asset | string | obligatorio. StringTable asset reference. |
limit | integer | Return at most this many duplicate/blank findings. Valor predeterminado 100. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_find_entries (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
contains | string | Case-insensitive text searched in keys (and source strings unless keysOnly). |
keysOnly | boolean | Search keys only. Valor predeterminado false. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_get_entry (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
key | string | obligatorio. Entry key. |
value | string | Source string (set tools only). |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_list_entries (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
asset | string | obligatorio. StringTable asset reference. |
limit | integer | Return at most this many duplicate/blank findings. Valor predeterminado 100. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_merge (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
target | string | obligatorio. StringTable receiving the entries. |
source | string | obligatorio. StringTable providing the entries (must differ from target). |
overwrite | boolean | Replace keys that already exist in target. Valor predeterminado false. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_remove_entry (riesgo 3, modifica, destructivo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
key | string | obligatorio. Entry key. |
value | string | Source string (set tools only). |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_rename_key (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
key | string | obligatorio. Existing key. |
newKey | string | obligatorio. New key. |
overwrite | boolean | Replace newKey when it already exists. Valor predeterminado false. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_set_entries (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
entries | array of UeaKeyValue | obligatorio. Entries to set: key -> source string. |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_set_entry (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
key | string | obligatorio. Entry key. |
value | string | Source string (set tools only). |
Devuelve: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.validate_target (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
target | string | obligatorio. Localization target name. |
Devuelve: target, warnings.
loc.validate_targets (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
targets | array of string | Target names. Empty validates every target in scope. |
Devuelve: results, validCount, invalidCount.