Kit loc
25 ferramentas. Gerado a partir do código-fonte do plugin; não edite manualmente.
As descrições das ferramentas e dos argumentos são exibidas em inglês porque espelham o schema das ferramentas (o mesmo texto que o agente recebe em
tools/list).
Ferramentas
Legenda. risco 0 = somente leitura, 1 = operação inofensiva do editor, 2 = altera asset, 3 = apaga/substitui asset, 4 = projeto/config/build, 5 = potencialmente destrutivo (chamadas acima de
MaxAutoRiskexigem"_confirm": true). altera = roda numa transação (edit.undo reverte). requer PIE / requer mundo = recusado sem sessão PIE / sem nível aberto. requer plugin = indisponível quando o plugin está desativado. dryRun = aceita o argumentodryRun. smoke = coberto poredit.self_test.
loc.add_culture (risco 4, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
culture | string | obrigatório. ICU culture name such as fr, ja, pt-BR. |
Retorna: target, warnings.
loc.audit_string_table (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
asset | string | obrigatório. StringTable asset reference. |
limit | integer | Return at most this many duplicate/blank findings. Padrão 100. |
Retorna: table, warnings.
loc.audit_string_tables (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
folder | string | Content root to scan. Padrão TEXT("/Game"). |
recursive | boolean | Include StringTables below Folder. Padrão true. |
limit | integer | Maximum returned assets. Padrão 200. |
loc.compile_status (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
target | string | obrigatório. Localization target name. |
Retorna: target, root, manifestExists, archiveExists, locresCultures, missingCultures, notes.
loc.create_string_table (risco 2, altera, smoke)
Creates a StringTable asset with an optional namespace and initial key -> source entries; returns the entries.
| Argumento | Tipo | Descrição |
|---|---|---|
folder | string | obrigatório. Content folder, e.g. /Game/Localization. |
name | string | obrigatório. 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. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.create_target (risco 4, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
target | string | obrigatório. New localization target name. |
nativeCulture | string | obrigatório. 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). Padrão true. |
Retorna: target, warnings.
loc.duplicate_string_table (risco 2, altera, smoke)
Duplicates a StringTable asset (new table id = new asset path); returns the copy's entries.
| Argumento | Tipo | Descrição |
|---|---|---|
asset | string | obrigatório. Source StringTable asset reference. |
newName | string | obrigatório. New asset name. |
folder | string | Destination folder; empty uses the source folder. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.gather_status (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
target | string | obrigatório. Localization target name. |
Retorna: target, root, manifestExists, archiveExists, locresCultures, missingCultures, notes.
loc.get_target (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
target | string | obrigatório. Localization target name. |
Retorna: target, warnings.
loc.list_string_tables (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
folder | string | Content root to scan. Padrão TEXT("/Game"). |
recursive | boolean | Include StringTables below Folder. Padrão true. |
limit | integer | Maximum returned assets. Padrão 200. |
loc.list_targets (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
scope | string | "game" (default) edits the project target set; "engine" is read-only. Padrão TEXT("game"). |
Retorna: targets, count.
loc.remove_culture (risco 4, altera, destrutivo, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
culture | string | obrigatório. ICU culture name such as fr, ja, pt-BR. |
Retorna: target, warnings.
loc.remove_target (risco 4, altera, destrutivo, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
persist | boolean | Save the localization settings config after the edit; false keeps the change in memory only (undoable, lost on restart). Padrão true. |
Retorna: target, warnings.
loc.set_native_culture (risco 4, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
culture | string | obrigatório. ICU culture name such as fr, ja, pt-BR. |
Retorna: target, warnings.
loc.string_table_clear_entries (risco 5, altera, destrutivo, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
asset | string | obrigatório. StringTable asset reference. |
limit | integer | Return at most this many duplicate/blank findings. Padrão 100. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_find_entries (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
contains | string | Case-insensitive text searched in keys (and source strings unless keysOnly). |
keysOnly | boolean | Search keys only. Padrão false. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_get_entry (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
key | string | obrigatório. Entry key. |
value | string | Source string (set tools only). |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_list_entries (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
asset | string | obrigatório. StringTable asset reference. |
limit | integer | Return at most this many duplicate/blank findings. Padrão 100. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_merge (risco 2, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
target | string | obrigatório. StringTable receiving the entries. |
source | string | obrigatório. StringTable providing the entries (must differ from target). |
overwrite | boolean | Replace keys that already exist in target. Padrão false. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_remove_entry (risco 3, altera, destrutivo, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
key | string | obrigatório. Entry key. |
value | string | Source string (set tools only). |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_rename_key (risco 2, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
key | string | obrigatório. Existing key. |
newKey | string | obrigatório. New key. |
overwrite | boolean | Replace newKey when it already exists. Padrão false. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_set_entries (risco 2, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
entries | array of UeaKeyValue | obrigatório. Entries to set: key -> source string. |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.string_table_set_entry (risco 2, altera, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
key | string | obrigatório. Entry key. |
value | string | Source string (set tools only). |
Retorna: asset, entries, count, tables, count, totalEntries, totalBlankSources.
loc.validate_target (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
target | string | obrigatório. Localization target name. |
Retorna: target, warnings.
loc.validate_targets (risco 0, smoke)
Sem descrição.
| Argumento | Tipo | Descrição |
|---|---|---|
targets | array of string | Target names. Empty validates every target in scope. |
Retorna: results, validCount, invalidCount.