Runtime API 36 Files - LIHACHTETAN/ClassicUO-BadNewbie-BasicIDE GitHub Wiki

Runtime API — Файлы

Символов: 10

Новые тематические разделы · Алфавитный указатель · Правила и сценарии

Для каждой команды доступна отдельная карточка: актуальные перегрузки, параметры, ограничения и несколько примеров.

UO.ChangeProfile

Profiles & Configuration

Switches the disconnected Basic/ClassicUO profile selection to another existing character profile on the current server. Character metadata saved with the profile is used to configure the next login/reconnect. The current profile is saved and unloaded before the new selection is accepted.

UO.ExtChangeProfile

Profiles & Configuration

Extended profile selection for a disconnected client. The command validates that the target profile exists beneath the selected server-name folder, saves/unloads the current profile, stores the selected shard in ClassicUO settings and supplies the target character to the real login character-selection flow.

UO.GetProfile

Profiles & Configuration

Operates on the active Basic/ClassicUO runtime, network or profile state through the registered implementation route.

UO.LoadHotkeys

Profiles & Configuration

Reloads the macro/hotkey definitions for the current profile from macros.xml. Because profile storage is server-scoped, the file is read from the active server-name profile folder for the current character.

UO.ProfileName

Profiles & Configuration

Operates on the active Basic/ClassicUO runtime, network or profile state through the registered implementation route.

UO.ProfileShardName

Profiles & Configuration

Operates on the active Basic/ClassicUO runtime, network or profile state through the registered implementation route.

UO.ReqProfile

Profiles & Configuration

Operates on the active Basic/ClassicUO runtime, network or profile state through the registered implementation route.

UO.ResetProfile

Profiles & Configuration

Resets the currently loaded ClassicUO/Basic character profile to default.json (or built-in defaults when no default file exists). The profile identity is preserved: account/user name, connected server name and character name are copied back into the reset profile. The result is saved to the current server-specific profile.json.

UO.SaveConfig

Profiles & Configuration

Сохраняет текущую конфигурацию.

UO.SaveHotkeys

Profiles & Configuration

Writes the current macro list to the active profile's macros.xml. The file is stored under the current server-name/character profile directory.