Skip to content

JA Runtime Helpers 8

Codex edited this page Oct 12, 2026 · 1 revision

uk · ru · en · de · fr · it · es · zh-tw · ja · ko

補助関数 8

内部実装のコードです。単独のスクリプトとして実行できません。

ClassicUO.CSharp.CSharpCallbacks.Exists

以下の式の値を返します。

引数: name

ソース: Project_Full/src/ClassicUO.CSharp/CSharpCallbacks.cs:136.

public bool Exists(string name)

結果: bool.

結果: routines.ContainsKey((name ?? "").Trim()).

呼び出し: Verify, routines.ContainsKey, (name ?? "").Trim.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public bool Exists(string name) { Verify(); lock (sync) return routines.ContainsKey((name ?? "").Trim()); }

ClassicUO.Game.GameActions.Print

示された呼び出しと状態更新を実行します。

引数: world, message, hue, type, font, unicode

ソース: Project_Full/src/ClassicUO.Client/Game/GameActions.cs:481.

public static void Print(World world, string message, ushort hue = 946, MessageType type = MessageType.Regular, byte font = 3, bool unicode = true)

結果: void.

呼び出し: NormalizeLocalDisplayFont, ShouldTrackLocalViewportLine, Print, SystemChatControl.NeedsDirectViewportFallback, systemChat.AddLineIfSequenceUnchanged.

条件: systemChat != null && !systemChat.IsDisposed && SystemChatControl.NeedsDirectViewportFallback(messageSequence, systemChat.MessageSequence).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public static void Print(World world, string message, ushort hue = 946, MessageType type = MessageType.Regular, byte font = 3, bool unicode = true)
        {
            NormalizeLocalDisplayFont(message, ref font, ref unicode);

            SystemChatControl systemChat = ShouldTrackLocalViewportLine(type) ? UIManager.SystemChat : null;
            long messageSequence = systemChat?.MessageSequence ?? -1;

            Print
            (
                world,
                null,
                message,
                hue,
                type,
                font,
                unicode
            );

            // MessageManager normally delivers local Regular/System lines
            // synchronously to SystemChatControl. If a profile/filter combination did not add the
            // line, put it directly into the same in-world viewport control.
            // The sequence check prevents duplicate lines on the normal route.
            if (systemChat != null && !systemChat.IsDisposed
                && SystemChatControl.NeedsDirectViewportFallback(messageSequence, systemChat.MessageSequence))
            {
                systemChat.AddLineIfSequenceUnchanged(messageSequence, message, font, hue, unicode);
            }
        }

ClassicUO.Game.GameActions.Rename

示された呼び出しと状態更新を実行します。

引数: serial, name

ソース: Project_Full/src/ClassicUO.Client/Game/GameActions.cs:817.

public static void Rename(uint serial, string name)

結果: void.

呼び出し: Socket.Send_RenameRequest.

内部実装のコードです。単独のスクリプトとして実行できません。

public static void Rename(uint serial, string name)
        {
            Socket.Send_RenameRequest(serial, name);
        }

ClassicUO.Game.GameActions.RequestPartyAccept

示された呼び出しと状態更新を実行します。

引数: serial

ソース: Project_Full/src/ClassicUO.Client/Game/GameActions.cs:542.

public static void RequestPartyAccept(uint serial)

結果: void.

呼び出し: Socket.Send_PartyAccept, UIManager.GetGump<PartyInviteGump>, .Dispose.

内部実装のコードです。単独のスクリプトとして実行できません。

public static void RequestPartyAccept(uint serial)
        {
            Socket.Send_PartyAccept(serial);

            UIManager.GetGump<PartyInviteGump>()?.Dispose();
        }

ClassicUO.Game.GameActions.ShouldTrackLocalViewportLine

以下の式の値を返します。

引数: type

ソース: Project_Full/src/ClassicUO.Client/Game/GameActions.cs:388.

internal static bool ShouldTrackLocalViewportLine(MessageType type)

結果: bool.

結果: type == MessageType.Regular || type == MessageType.System.

内部実装のコードです。単独のスクリプトとして実行できません。

internal static bool ShouldTrackLocalViewportLine(MessageType type) =>
            type == MessageType.Regular || type == MessageType.System;

ClassicUO.Game.GameActions.ToggleWarMode

示された呼び出しと状態更新を実行します。

引数: player

ソース: Project_Full/src/ClassicUO.Client/Game/GameActions.cs:25.

public static void ToggleWarMode(PlayerMobile player)

結果: void.

呼び出し: RequestWarMode.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public static void ToggleWarMode(PlayerMobile player)
        {
            RequestWarMode(player, !player.InWarMode);
        }

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Backpack

クライアントのローカルモデルから現在のキャラクター値を読みます。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:148.

public int Backpack

結果: int.

呼び出し: Invoke.

呼び出し:

  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Invoke: Invoke(() => _world.Player is { IsDestroyed: false } player ? unchecked((int)(player.FindItemByLayer(Layer.Backpack)?.Serial ?? 0)) : 0). オーバーロード候補です。ソースは選択された候補を確定していません。
  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Invoke: Invoke(() => _world.Player is { IsDestroyed: false } player ? unchecked((int)(player.FindItemByLayer(Layer.Backpack)?.Serial ?? 0)) : 0). オーバーロード候補です。ソースは選択された候補を確定していません。

内部実装のコードです。単独のスクリプトとして実行できません。

public int Backpack => Invoke(() => _world.Player is { IsDestroyed: false } player

            ? unchecked((int)(player.FindItemByLayer(Layer.Backpack)?.Serial ?? 0)) : 0);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.ChangeProfileSelection

以下の式の値を返します。

引数: profileName, shardName, characterName

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:515.

public int ChangeProfileSelection(string profileName, string shardName, string characterName)

結果: int.

呼び出し: Invoke.

呼び出し:

  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Invoke: Invoke(() => { if (_world.SessionControl != null) { ReportStatus("Choose another profile in ClassicUO Manager. A running session keeps its own profile."); return -2; } if (NetClient.Socket.IsConnected || NetClient.Socket.IsConnecting || _world.InGame) return -2; if (_manager.RunningScriptCount > 1) return -3; if (string.IsNullOrWhiteSpace(profileName)) return -4; string targetShard = !string.IsNullOrWhiteSpace(shardName) ? shardName.Trim() : !string.IsNullOrWhiteSpace(ProfileManager.CurrentProfile?.ServerName) ? ProfileManager.CurrentProfile.ServerName : !string.IsNullOrWhiteSpace(_world.ServerName) && _world.ServerName != "_" ? _world.ServerName : Settings.GlobalSettings.LastServerName; if (string.IsNullOrWhiteSpace(targetShard)) return -4; if (!ProfileManager.TryResolveProfileCharacter(targetShard, profileName.Trim(), out string storedCharacter)) return -4; string targetCharacter = !string.IsNullOrWhiteSpace(characterName) ? characterName.Trim() : storedCharacter; ProfileManager.SaveCurrentProfile(); ProfileManager.UnLoadProfile(); Settings.GlobalSettings.LastServerName = targetShard; Settings.GlobalSettings.Save(); if (!string.IsNullOrWhiteSpace(targetCharacter)) LastCharacterManager.OverrideLastCharacter(targetCharacter, false); return 0; }). オーバーロード候補です。ソースは選択された候補を確定していません。
  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Invoke: Invoke(() => { if (_world.SessionControl != null) { ReportStatus("Choose another profile in ClassicUO Manager. A running session keeps its own profile."); return -2; } if (NetClient.Socket.IsConnected || NetClient.Socket.IsConnecting || _world.InGame) return -2; if (_manager.RunningScriptCount > 1) return -3; if (string.IsNullOrWhiteSpace(profileName)) return -4; string targetShard = !string.IsNullOrWhiteSpace(shardName) ? shardName.Trim() : !string.IsNullOrWhiteSpace(ProfileManager.CurrentProfile?.ServerName) ? ProfileManager.CurrentProfile.ServerName : !string.IsNullOrWhiteSpace(_world.ServerName) && _world.ServerName != "_" ? _world.ServerName : Settings.GlobalSettings.LastServerName; if (string.IsNullOrWhiteSpace(targetShard)) return -4; if (!ProfileManager.TryResolveProfileCharacter(targetShard, profileName.Trim(), out string storedCharacter)) return -4; string targetCharacter = !string.IsNullOrWhiteSpace(characterName) ? characterName.Trim() : storedCharacter; ProfileManager.SaveCurrentProfile(); ProfileManager.UnLoadProfile(); Settings.GlobalSettings.LastServerName = targetShard; Settings.GlobalSettings.Save(); if (!string.IsNullOrWhiteSpace(targetCharacter)) LastCharacterManager.OverrideLastCharacter(targetCharacter, false); return 0; }). オーバーロード候補です。ソースは選択された候補を確定していません。
  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.ReportStatus: ReportStatus("Choose another profile in ClassicUO Manager. A running session keeps its own profile.").
  • ClassicUO.Configuration.ProfileManager.TryResolveProfileCharacter: ProfileManager.TryResolveProfileCharacter(targetShard, profileName.Trim(), out string storedCharacter).
  • ClassicUO.Configuration.ProfileManager.SaveCurrentProfile: ProfileManager.SaveCurrentProfile().
  • ClassicUO.Configuration.ProfileManager.UnLoadProfile: ProfileManager.UnLoadProfile().
  • ClassicUO.Game.Managers.LastCharacterManager.OverrideLastCharacter: LastCharacterManager.OverrideLastCharacter(targetCharacter, false).

内部実装のコードです。単独のスクリプトとして実行できません。

public int ChangeProfileSelection(string profileName, string shardName, string characterName) => Invoke(() =>

        {

            if (_world.SessionControl != null)

            {

                ReportStatus("Choose another profile in ClassicUO Manager. A running session keeps its own profile.");

                return -2;

            }

            if (NetClient.Socket.IsConnected || NetClient.Socket.IsConnecting || _world.InGame)

                return -2;

            if (_manager.RunningScriptCount > 1)

                return -3;

            if (string.IsNullOrWhiteSpace(profileName))

                return -4;



            string targetShard = !string.IsNullOrWhiteSpace(shardName)

                ? shardName.Trim()

                : !string.IsNullOrWhiteSpace(ProfileManager.CurrentProfile?.ServerName)

                    ? ProfileManager.CurrentProfile.ServerName

                    : !string.IsNullOrWhiteSpace(_world.ServerName) && _world.ServerName != "_"

                        ? _world.ServerName

                        : Settings.GlobalSettings.LastServerName;

            if (string.IsNullOrWhiteSpace(targetShard))

                return -4;



            if (!ProfileManager.TryResolveProfileCharacter(targetShard, profileName.Trim(), out string storedCharacter))

                return -4;



            string targetCharacter = !string.IsNullOrWhiteSpace(characterName)

                ? characterName.Trim()

                : storedCharacter;



            ProfileManager.SaveCurrentProfile();

            ProfileManager.UnLoadProfile();

            Settings.GlobalSettings.LastServerName = targetShard;

            Settings.GlobalSettings.Save();

            if (!string.IsNullOrWhiteSpace(targetCharacter))

                LastCharacterManager.OverrideLastCharacter(targetCharacter, false);

            return 0;

        });

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.ClientTargetResponsePresent

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:909.

public int ClientTargetResponsePresent()

結果: int.

結果: _clientTargetResponsePresent ? 1 : 0.

内部実装のコードです。単独のスクリプトとして実行できません。

public int ClientTargetResponsePresent() => _clientTargetResponsePresent ? 1 : 0;

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.CloseGumpUnsafe

示された呼び出しと状態更新を実行します。

引数: gump

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:2884.

private void CloseGumpUnsafe(Gump gump)

結果: void.

呼び出し: gump.Dispose, ReferenceEquals.

条件: gump?.CanCloseWithRightClick == true; ReferenceEquals(_selectedServerGump, gump).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

private void CloseGumpUnsafe(Gump gump)

        {

            if (gump?.CanCloseWithRightClick == true)

            {

                gump.Dispose();

                if (ReferenceEquals(_selectedServerGump, gump))

                    _selectedServerGump = null;

            }

        }

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Equip

以下の式の値を返します。

引数: layer, id

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1986.

public int Equip(int layer, int id)

結果: int.

結果: Invoke(() => TryEquipItem(layer, id)).

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int Equip(int layer, int id) => Invoke(() => TryEquipItem(layer, id));

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.GetEasyUO

以下の条件を確認し、示された結果を返します。

引数: number

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:3105.

public string GetEasyUO(int number)

結果: string.

結果: string.Empty.

呼び出し: OperatingSystem.IsWindows, Registry.CurrentUser.OpenSubKey, .GetValue, number.ToString, .ToString.

条件: !OperatingSystem.IsWindows().

内部実装のコードです。単独のスクリプトとして実行できません。

public string GetEasyUO(int number)

        {

            if (!OperatingSystem.IsWindows())

            {

                return string.Empty;

            }

            using RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\EasyUO", false);

            return key?.GetValue(number.ToString(CultureInfo.InvariantCulture))?.ToString()

                ?? key?.GetValue("*" + number.ToString(CultureInfo.InvariantCulture))?.ToString()

                ?? string.Empty;

        }

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.GetLastContainer

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:267.

public int GetLastContainer()

結果: int.

結果: Invoke(() => (int)_world.LastContainer).

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int GetLastContainer() => Invoke(() => (int)_world.LastContainer);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.GetName

以下の式の値を返します。

引数: id

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:323.

public string GetName(int id)

結果: string.

結果: Invoke(() => _world.Get((uint)id)?.Name ?? string.Empty).

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public string GetName(int id) => Invoke(() => _world.Get((uint)id)?.Name ?? string.Empty);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.GetScriptsList

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:313.

public int[] GetScriptsList()

結果: int[].

結果: _manager.GetScriptsList().

呼び出し: _manager.GetScriptsList.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int[] GetScriptsList() => _manager.GetScriptsList();

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.GlobalChatJoin

示された呼び出しと状態更新を実行します。

引数: channel

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1562.

public void GlobalChatJoin(string channel)

結果: void.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void GlobalChatJoin(string channel) => Invoke(() => NetClient.Socket.Send_ChatJoinCommand(channel ?? string.Empty));

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.InJournalEx

以下の式の値を返します。

引数: pattern, limit, ignoreCase

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1889.

public int InJournalEx(string pattern, int limit, bool ignoreCase)

結果: int.

結果: FindJournal(pattern, null, null, limit, false, ignoreCase).

呼び出し: FindJournal.

内部実装のコードです。単独のスクリプトとして実行できません。

public int InJournalEx(string pattern, int limit, bool ignoreCase)

            => FindJournal(pattern, null, null, limit, false, ignoreCase);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.IsContainer

以下の式の値を返します。

引数: id

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:240.

public int IsContainer(int id)

結果: int.

結果: Invoke(() => (_world.Get(unchecked((uint)id)) as Item)?.ItemData.IsContainer == true ? 1 : 0).

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int IsContainer(int id) => Invoke(() => (_world.Get(unchecked((uint)id)) as Item)?.ItemData.IsContainer == true ? 1 : 0);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.IsHouse

以下の式の値を返します。

引数: id

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:245.

public int IsHouse(int id)

結果: int.

結果: Invoke(() => (_world.Get(unchecked((uint)id)) as Item)?.IsMulti == true ? 1 : 0).

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int IsHouse(int id) => Invoke(() => (_world.Get(unchecked((uint)id)) as Item)?.IsMulti == true ? 1 : 0);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.IsTreeTile

以下の式の値を返します。

引数: x, y

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:668.

public int IsTreeTile(int x, int y)

結果: int.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int IsTreeTile(int x, int y) => Invoke(() => AnyTileAt(x, y, tile =>

            tile is Static or Multi && StaticFilters.IsTree(tile.Graphic, out _)) ? 1 : 0);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.IsWarMode

以下の式の値を返します。

引数: id

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:2064.

public int IsWarMode(int id)

結果: int.

結果: Invoke(() => (_world.Get(unchecked((uint)id)) as Mobile)?.InWarMode == true ? 1 : 0).

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int IsWarMode(int id) => Invoke(() => (_world.Get(unchecked((uint)id)) as Mobile)?.InWarMode == true ? 1 : 0);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.MatchesFindMobile

以下の式の値を返します。

引数: mobile, wantedTypes, wantedColors, range, ignoredTypes

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:3808.

private bool MatchesFindMobile(Mobile mobile, HashSet<ushort> wantedTypes, HashSet<ushort> wantedColors, int range, IgnoreTypeFilter ignoredTypes)

結果: bool.

呼び出し: IsSelfMobile, MatchesFindIdentity, MatchesFindMobileRange.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

private bool MatchesFindMobile(Mobile mobile, HashSet<ushort> wantedTypes, HashSet<ushort> wantedColors, int range, IgnoreTypeFilter ignoredTypes)

        {

            return !IsSelfMobile(mobile)

                && MatchesFindIdentity(mobile, wantedTypes, wantedColors, ignoredTypes)

                && MatchesFindMobileRange(mobile, range);

        }

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.OpenContainer

示された呼び出しと状態更新を実行します。

引数: id, delay

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1324.

public void OpenContainer(int id, int delay)

結果: void.

呼び出し: UseObject, Wait.

条件: delay > 0.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void OpenContainer(int id, int delay)

        {

            UseObject(id);

            if (delay > 0)

            {

                Wait(delay);

            }

        }

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.PrintFormattedJournal

示された呼び出しと状態更新を実行します。

引数: text, textColorRgb, backgroundColorRgb, fontSize, fontName

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1862.

`public void PrintFormattedJournal(string text, int textColorRgb, int backgroundColorRgb,

        int fontSize, string fontName)`

結果: void.

呼び出し: Invoke.

呼び出し:

  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Invoke: Invoke(() => { using var journalContext = new JournalMessageContext("script"); text ??= string.Empty; int effectivePointSize = Math.Clamp(fontSize <= 0 ? 10 : fontSize, 4, 72); string effectiveFontName = string.IsNullOrWhiteSpace(fontName) ? "Consolas" : fontName.Trim(); uint textArgb = 0xFF000000u | (unchecked((uint)textColorRgb) & 0x00FFFFFFu); ushort hue = ClientFontManager.FindNearestUoHue(textArgb); // ClassicUO's in-world system chat uses UO font IDs rather than arbitrary // desktop point sizes. Map the requested point size to a stable UO font // index while retaining the exact Stealth formatting request in IDE output. byte uoFont = (byte)Math.Clamp((effectivePointSize + 1) / 3, 0, byte.MaxValue); GameActions.Print(_world, text, hue, SCRIPT_PRINT_MESSAGE_TYPE, uoFont, true); string background = backgroundColorRgb < 0 ? "default" : $"#{(unchecked((uint)backgroundColorRgb) & 0x00FFFFFFu):X6}"; _manager.AppendIdeOutput(_scriptKey, $"UO.AddToSystemJournalEx [text=#{(textArgb & 0x00FFFFFFu):X6}; bg={background}; " + $"font='{effectiveFontName}' {effectivePointSize}pt; uoFont={uoFont}; hue=0x{hue:X4}] {text}"); ReportStatus($"UO.AddToSystemJournalEx formatted journal line: {effectiveFontName} " + $"{effectivePointSize}pt, background {background}"); }). オーバーロード候補です。ソースは選択された候補を確定していません。
  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Invoke: Invoke(() => { using var journalContext = new JournalMessageContext("script"); text ??= string.Empty; int effectivePointSize = Math.Clamp(fontSize <= 0 ? 10 : fontSize, 4, 72); string effectiveFontName = string.IsNullOrWhiteSpace(fontName) ? "Consolas" : fontName.Trim(); uint textArgb = 0xFF000000u | (unchecked((uint)textColorRgb) & 0x00FFFFFFu); ushort hue = ClientFontManager.FindNearestUoHue(textArgb); // ClassicUO's in-world system chat uses UO font IDs rather than arbitrary // desktop point sizes. Map the requested point size to a stable UO font // index while retaining the exact Stealth formatting request in IDE output. byte uoFont = (byte)Math.Clamp((effectivePointSize + 1) / 3, 0, byte.MaxValue); GameActions.Print(_world, text, hue, SCRIPT_PRINT_MESSAGE_TYPE, uoFont, true); string background = backgroundColorRgb < 0 ? "default" : $"#{(unchecked((uint)backgroundColorRgb) & 0x00FFFFFFu):X6}"; _manager.AppendIdeOutput(_scriptKey, $"UO.AddToSystemJournalEx [text=#{(textArgb & 0x00FFFFFFu):X6}; bg={background}; " + $"font='{effectiveFontName}' {effectivePointSize}pt; uoFont={uoFont}; hue=0x{hue:X4}] {text}"); ReportStatus($"UO.AddToSystemJournalEx formatted journal line: {effectiveFontName} " + $"{effectivePointSize}pt, background {background}"); }). オーバーロード候補です。ソースは選択された候補を確定していません。
  • ClassicUO.Game.GameActions.Print: GameActions.Print(_world, text, hue, SCRIPT_PRINT_MESSAGE_TYPE, uoFont, true).
  • ClassicUO.Game.Managers.YokoInjectionManager.AppendIdeOutput: _manager.AppendIdeOutput(_scriptKey, $"UO.AddToSystemJournalEx [text=#{(textArgb & 0x00FFFFFFu):X6}; bg={background}; " + $"font='{effectiveFontName}' {effectivePointSize}pt; uoFont={uoFont}; hue=0x{hue:X4}] {text}").
  • ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.ReportStatus: ReportStatus($"UO.AddToSystemJournalEx formatted journal line: {effectiveFontName} " + $"{effectivePointSize}pt, background {background}").

内部実装のコードです。単独のスクリプトとして実行できません。

public void PrintFormattedJournal(string text, int textColorRgb, int backgroundColorRgb,

            int fontSize, string fontName) => Invoke(() =>

        {

            using var journalContext = new JournalMessageContext("script");

            text ??= string.Empty;

            int effectivePointSize = Math.Clamp(fontSize <= 0 ? 10 : fontSize, 4, 72);

            string effectiveFontName = string.IsNullOrWhiteSpace(fontName) ? "Consolas" : fontName.Trim();

            uint textArgb = 0xFF000000u | (unchecked((uint)textColorRgb) & 0x00FFFFFFu);

            ushort hue = ClientFontManager.FindNearestUoHue(textArgb);



            // ClassicUO's in-world system chat uses UO font IDs rather than arbitrary

            // desktop point sizes. Map the requested point size to a stable UO font

            // index while retaining the exact Stealth formatting request in IDE output.

            byte uoFont = (byte)Math.Clamp((effectivePointSize + 1) / 3, 0, byte.MaxValue);

            GameActions.Print(_world, text, hue, SCRIPT_PRINT_MESSAGE_TYPE, uoFont, true);



            string background = backgroundColorRgb < 0

                ? "default"

                : $"#{(unchecked((uint)backgroundColorRgb) & 0x00FFFFFFu):X6}";

            _manager.AppendIdeOutput(_scriptKey,

                $"UO.AddToSystemJournalEx [text=#{(textArgb & 0x00FFFFFFu):X6}; bg={background}; "

                + $"font='{effectiveFontName}' {effectivePointSize}pt; uoFont={uoFont}; hue=0x{hue:X4}] {text}");

            ReportStatus($"UO.AddToSystemJournalEx formatted journal line: {effectiveFontName} "

                + $"{effectivePointSize}pt, background {background}");

        });

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.RenameMobile

示された呼び出しと状態更新を実行します。

引数: mobileId, name

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:291.

public void RenameMobile(int mobileId, string name)

結果: void.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void RenameMobile(int mobileId, string name) => Invoke(() => GameActions.Rename((uint)mobileId, name ?? string.Empty));

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Salute

示された呼び出しと状態更新を実行します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1411.

public void Salute()

結果: void.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void Salute() => Invoke(() => GameActions.EmoteAction("salute"));

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.Say

示された呼び出しと状態更新を実行します。

引数: message

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1396.

public void Say(string message)

結果: void.

呼び出し: SendServerSpeech.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void Say(string message) => SendServerSpeech("UO.Say", message);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.SendGumpSelect

以下の式の値を返します。

引数: triggerId

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:2754.

public int SendGumpSelect(int triggerId)

結果: int.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int SendGumpSelect(int triggerId) => Invoke(() =>

        {

            Gump gump = _selectedServerGump != null && !_selectedServerGump.IsDisposed

                ? _selectedServerGump : ServerGumpsUnsafe().LastOrDefault();

            return SendGumpButtonUnsafe(gump, triggerId, "no active server gump");

        });

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.SetFindVertical

示された呼び出しと状態更新を実行します。

引数: distance

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:200.

public void SetFindVertical(int distance)

結果: void.

呼び出し: Math.Clamp.

内部実装のコードです。単独のスクリプトとして実行できません。

public void SetFindVertical(int distance) => State.FindVertical = Math.Clamp(distance, 0, 120);

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.SetJournalLine

示された呼び出しと状態更新を実行します。

引数: index, text

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:1977.

public void SetJournalLine(int index, string text)

結果: void.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void SetJournalLine(int index, string text) => Invoke(() =>

        {

            JournalEntry entry = GetJournalEntryUnsafe(index);

            if (entry != null)

            {

                entry.Text = text ?? string.Empty;

            }

        });

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.SetSpeechFilter

示された呼び出しと状態更新を実行します。

引数: enabled

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:3652.

public void SetSpeechFilter(int enabled)

結果: void.

呼び出し: Invoke.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void SetSpeechFilter(int enabled) => Invoke(() => _manager.SetSpeechFilter(enabled != 0));

ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.WaitTargetObject

示された呼び出しと状態更新を実行します。

引数: id

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/ClassicUOInjectionApiBridge.cs:825.

public void WaitTargetObject(int id)

結果: void.

呼び出し: _manager.QueueTarget.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void WaitTargetObject(int id) => _manager.QueueTarget((uint)id, _cancellationToken);

ClassicUO.Game.Managers.YokoInjectionManager.ClearPendingTargets

示された呼び出しと状態更新を実行します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/YokoInjectionManager.cs:3305.

internal void ClearPendingTargets()

結果: void.

呼び出し: _pendingTargets.TryDequeue.

内部実装のコードです。単独のスクリプトとして実行できません。

internal void ClearPendingTargets()
        {
            lock (_pendingTargetLock)
                while (_pendingTargets.TryDequeue(out _)) { }
        }

ClassicUO.Game.Managers.YokoInjectionManager.GetScriptName

以下の式の値を返します。

引数: index

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/YokoInjectionManager.cs:2811.

internal string GetScriptName(int index)

結果: string.

結果: ElementAt(RunningScripts(), index)?.Name ?? string.Empty.

呼び出し: ElementAt, RunningScripts.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

internal string GetScriptName(int index) => ElementAt(RunningScripts(), index)?.Name ?? string.Empty;

ClassicUO.Game.Managers.YokoInjectionManager.RequestedAutoloadPath

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Managers/YokoInjectionManager.cs:3545.

private string RequestedAutoloadPath()

結果: string.

呼び出し: string.IsNullOrWhiteSpace, Path.GetFullPath, Path.Combine, Path.GetFileName, requested.Trim.

内部実装のコードです。単独のスクリプトとして実行できません。

private string RequestedAutoloadPath()
        {
            string requested = ProfileManager.CurrentProfile?.YokoAutoloadFile;
            return string.IsNullOrWhiteSpace(requested) ? SelectedAutoloadPath
                : Path.GetFullPath(Path.Combine(AutoloadPath, Path.GetFileName(requested.Trim())));
        }

ClassicUO.Game.Map.Map.GetUsedChunks

示された呼び出しと状態更新を実行します。

引数: 引数はありません。

ソース: Project_Full/src/ClassicUO.Client/Game/Map/Map.cs:251.

public IEnumerable<Chunk> GetUsedChunks()

結果: IEnumerable<Chunk>.

呼び出し: GetChunk.

内部実装のコードです。単独のスクリプトとして実行できません。

public IEnumerable<Chunk> GetUsedChunks()
        {
            foreach (int i in _usedIndices)
            {
                yield return GetChunk(i);
            }
        }

ClassicUO.Game.UI.Gumps.SystemChatControl.NeedsDirectViewportFallback

以下の式の値を返します。

引数: before, after

ソース: Project_Full/src/ClassicUO.Client/Game/UI/Gumps/SystemChatControl.cs:458.

internal static bool NeedsDirectViewportFallback(long before, long after)

結果: bool.

結果: before == after.

内部実装のコードです。単独のスクリプトとして実行できません。

internal static bool NeedsDirectViewportFallback(long before, long after) => before == after;

InjectionScript.Runtime.FollowStopCondition.Parse

コードに示す規則に従って引数を解析または解決します。

引数: value, coordinateGoal

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/FollowStopCondition.cs:64.

public static FollowStopCondition[] Parse(InjectionValue value, bool coordinateGoal = false)

結果: FollowStopCondition[].

結果: result.

呼び出し: Fields.TryGetValue, (row.Array[0].String ?? string.Empty).Trim, row.Array[1].String.Trim, double.IsNaN, double.IsInfinity.

条件: value.Kind != InjectionValueKind.Array; row.Kind != InjectionValueKind.Array || row.Array.Length != 3 || row.Array[0].Kind != InjectionValueKind.String || row.Array[1].Kind != InjectionValueKind.String || !Fields.TryGetValue((row.Array[0].String ?? string.Empty).Trim(), out FollowStopField field); threshold.Kind != InjectionValueKind.Integer && threshold.Kind != InjectionValueKind.Decimal; double.IsNaN(number) || double.IsInfinity(number).

内部実装のコードです。単独のスクリプトとして実行できません。

public static FollowStopCondition[] Parse(InjectionValue value, bool coordinateGoal = false)
        {
            if (value.Kind != InjectionValueKind.Array)
                throw new StatementFailedException("Follow: conditions must be an array of [field, comparison, number] rows.");
            var result = new FollowStopCondition[value.Array.Length];
            for (int i = 0; i < result.Length; i++)
            {
                InjectionValue row = value.Array[i];
                if (row.Kind != InjectionValueKind.Array || row.Array.Length != 3
                    || row.Array[0].Kind != InjectionValueKind.String || row.Array[1].Kind != InjectionValueKind.String
                    || !Fields.TryGetValue((row.Array[0].String ?? string.Empty).Trim(), out FollowStopField field))
                    throw new StatementFailedException("Follow: each condition needs a supported field, comparison and numeric threshold.");
                FollowComparison comparison;
                switch (row.Array[1].String.Trim())
                {
                    case "=": comparison = FollowComparison.Equal; break;
                    case "<>": comparison = FollowComparison.NotEqual; break;
                    case "<": comparison = FollowComparison.Less; break;
                    case "<=": comparison = FollowComparison.LessOrEqual; break;
                    case ">": comparison = FollowComparison.Greater; break;
                    case ">=": comparison = FollowComparison.GreaterOrEqual; break;
                    default: throw new StatementFailedException("Follow: comparison must be =, <>, <, <=, > or >=.");
                }
                InjectionValue threshold = row.Array[2];
                if (threshold.Kind != InjectionValueKind.Integer && threshold.Kind != InjectionValueKind.Decimal)
                    throw new StatementFailedException("Follow: threshold must be a number (use 1/0 or true/false for flags).");
                double number = threshold.Kind == InjectionValueKind.Integer ? threshold.Integer : threshold.Decimal;
                if (double.IsNaN(number) || double.IsInfinity(number))
                    throw new StatementFailedException("Follow: threshold must be finite.");
                result[i] = new FollowStopCondition(field, comparison, number);
                if (coordinateGoal && result[i].RequiresMobile)
                    throw new StatementFailedException("Follow: target.* conditions require a character target; use distance, height, elapsed or self.* for coordinates.");
            }
            return result;
        }

InjectionScript.Runtime.InjectionApi.GetWordCount

以下の式の値を返します。

引数: value

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApi.cs:46.

private static int GetWordCount(string value)

結果: int.

結果: GetWordCount(value," ").

呼び出し: GetWordCount.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

private static int GetWordCount(string value) => GetWordCount(value," ");

InjectionScript.Runtime.InjectionApiUO.AddObject

示された呼び出しと状態更新を実行します。

引数: name

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3803.

public void AddObject(string name)

結果: void.

呼び出し: SystemMessage, bridge.AddObject.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void AddObject(string name)

        {

            SystemMessage($"What is {name}");

            bridge.AddObject(name);

        }

InjectionScript.Runtime.InjectionApiUO.ConColor

示された呼び出しと状態更新を実行します。

引数: color

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5971.

public void ConColor(InjectionValue color)

結果: void.

呼び出し: NumberConversions.ToInt.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void ConColor(InjectionValue color)

        {

            systemMessageColor = NumberConversions.ToInt(color);

        }

InjectionScript.Runtime.InjectionApiUO.Count

以下の式の値を返します。

引数: type, color

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5210.

public int Count(InjectionValue type, InjectionValue color)

結果: int.

結果: Count(ResolveType(type), NumberConversions.ToInt(color), 0).

呼び出し: Count, ResolveType, NumberConversions.ToInt.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int Count(InjectionValue type, InjectionValue color) 

            => Count(ResolveType(type), NumberConversions.ToInt(color), 0);

InjectionScript.Runtime.InjectionApiUO.CurrentJournalTime

以下の条件を確認し、示された結果を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5495.

private int CurrentJournalTime()

結果: int.

結果: 0; milliseconds >= int.MaxValue ? int.MaxValue : (int)milliseconds.

条件: milliseconds <= 0d.

内部実装のコードです。単独のスクリプトとして実行できません。

private int CurrentJournalTime()

        {

            double milliseconds = timeSource.SinceStart.TotalMilliseconds;

            if (milliseconds <= 0d)

                return 0;

            return milliseconds >= int.MaxValue ? int.MaxValue : (int)milliseconds;

        }

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility::SerializeMapFigure

以下の式の値を返します。

引数: fields, figureText

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1219.

string SerializeMapFigure(int[] fields, string figureText)

結果: string.

結果: string.Join("|", fields.Select(value => value.ToString(CultureInfo.InvariantCulture))) + "|" + (figureText ?? string.Empty).

呼び出し: string.Join, fields.Select.

内部実装のコードです。単独のスクリプトとして実行できません。

string SerializeMapFigure(int[] fields, string figureText)

                => string.Join("|", fields.Select(value => value.ToString(CultureInfo.InvariantCulture))) + "|" + (figureText ?? string.Empty);

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1638.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "cancelwaittarget": bridge.CancelWaitTarget(); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1817.

結果: new InjectionValue(bridge.CheckLag(Arg(0, 10_000))).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "checklag": return new InjectionValue(bridge.CheckLag(Arg(0, 10_000)));

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1820.

結果: InjectionValue.Unit.

内部実装のコードです。単独のスクリプトとして実行できません。

case "clearbadobjectlist": state.BadObjects.Clear(); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1290.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "clearshoplist":

                    bridge.ClearAutoShopRules(); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1643.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "clientrequestobjecttarget": bridge.RequestClientTarget(false); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1607.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "closeclientgump": bridge.CloseClientGump(Arg(0)); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1235.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "fillinfowindow":

                    bridge.TextPrint(Text(0));

                    bridge.TextOpen();

                    return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1371.

結果: new InjectionValue(arguments.Length > 0 ? bridge.GetDexterity(Arg(0)) : bridge.Dexterity).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "getdex": return new InjectionValue(arguments.Length > 0 ? bridge.GetDexterity(Arg(0)) : bridge.Dexterity);

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1883.

結果: new InjectionValue(Array.Empty<InjectionValue>()).

条件: bridge is IApiGumpAccess reader; snapshot == null || state.IgnoredGumpIds.Contains(snapshot.Id) || state.IgnoredGumpSerials.Contains(snapshot.Serial).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "getgumpinfo":

                {

                    int index = Arg(0);

                    GumpSnapshot snapshot;

                    if (bridge is IApiGumpAccess reader)

                        snapshot = reader.ReadGump(index);

                    else

                    {

                        int id = bridge.GetGumpId(index);

                        snapshot = id == 0 ? null : new GumpSnapshot(bridge.GetGumpSerial(index), id,

                            bridge.GetGumpTextLines(index), bridge.GetGumpButtonsDescription(index), bridge.GetGumpFullLines(index));

                    }

                    if (snapshot == null || state.IgnoredGumpIds.Contains(snapshot.Id)

                        || state.IgnoredGumpSerials.Contains(snapshot.Serial))

                        return new InjectionValue(Array.Empty<InjectionValue>());

                    return new InjectionValue(new[]

                    {

                        new InjectionValue(snapshot.Serial), new InjectionValue(snapshot.Id), StringArray(snapshot.Text),

                        StringArray(snapshot.Buttons), StringArray(snapshot.Controls)

                    });

                }

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1374.

結果: new InjectionValue(arguments.Length > 0 ? bridge.GetMana(Arg(0)) : bridge.Mana).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "getmana": return new InjectionValue(arguments.Length > 0 ? bridge.GetMana(Arg(0)) : bridge.Mana);

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1352.

結果: new InjectionValue(state.WalkUnmountTimer).

内部実装のコードです。単独のスクリプトとして実行できません。

case "getwalkunmounttimer": return new InjectionValue(state.WalkUnmountTimer);

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:2041.

結果: new InjectionValue(selectedJournalEntry?.Font ?? 0).

内部実装のコードです。単独のスクリプトとして実行できません。

case "linetextfont": return new InjectionValue(selectedJournalEntry?.Font ?? 0);

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1710.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "partycanlootme": bridge.PartyCanLoot(Arg(0) != 0); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1704.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "partyprivatemessageto": bridge.PartySay(Text(1), Arg(0)); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1270.

結果: new InjectionValue(bridge.PlayWav(Text(0))).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "playwav": return new InjectionValue(bridge.PlayWav(Text(0)));

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1689.

結果: new InjectionValue(0); new InjectionValue(bridge.Step(Arg(0) & 7, Arg(1) != 0)).

条件: state.MoveExitOnDisconnect != 0 && bridge.IsOnline() == 0; state.MoveCheckStamina > 0 && bridge.Stamina < state.MoveCheckStamina; state.MoveOpenDoor != 0.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "step":

                    if (state.MoveExitOnDisconnect != 0 && bridge.IsOnline() == 0)

                        return new InjectionValue(0);

                    if (state.MoveCheckStamina > 0 && bridge.Stamina < state.MoveCheckStamina)

                        return new InjectionValue(0);

                    if (state.MoveOpenDoor != 0)

                        bridge.OpenDoor();

                    return new InjectionValue(bridge.Step(Arg(0) & 7, Arg(1) != 0));

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1528.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "stopallscripts": bridge.StopAllScripts(); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1652.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "targettoxyz":

                    bridge.TargetToTile(0, Arg(0), Arg(1), Arg(2)); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1721.

結果: InjectionValue.False; InjectionValue.True.

条件: !state.MapFigures.ContainsKey(id) || !TryMapFigureArg(1, out int[] figure, out string figureText); bridge.SetMapFigure(id, figure[0], figure[1], figure[2], figure[3], figure[4], figure[5], figure[6], figure[7], figure[8], figure[9], figureText) == 0.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "updatefigure":

                {

                    int id = Arg(0);

                    if (!state.MapFigures.ContainsKey(id) || !TryMapFigureArg(1, out int[] figure, out string figureText))

                        return InjectionValue.False;

                    if (bridge.SetMapFigure(id, figure[0], figure[1], figure[2], figure[3], figure[4], figure[5], figure[6], figure[7], figure[8], figure[9], figureText) == 0)

                        return InjectionValue.False;

                    state.MapFigures[id] = SerializeMapFigure(figure, figureText);

                    return InjectionValue.True;

                }

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1251.

結果: new InjectionValue(bridge.UseType(ResolveType(arguments[0]), arguments.Length > 1 ? Arg(1) : -1)).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "usetype": return new InjectionValue(bridge.UseType(ResolveType(arguments[0]), arguments.Length > 1 ? Arg(1) : -1));

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1258.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "waitgump": CompactWaitGump(arguments); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteClientApiCompatibility

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1272.

結果: InjectionValue.Unit.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "waittargetobject": WaitTargetObject(Arg(0)); return InjectionValue.Unit;

InjectionScript.Runtime.InjectionApiUO.ExecuteLegacyManualAlias

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:2851.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "addtype":

                    AddType(arguments);

                    break;

InjectionScript.Runtime.InjectionApiUO.ExecuteLegacyManualAlias

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:2961.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "fontcolor": state.FontColor = Arg(0, state.FontColor); break;

InjectionScript.Runtime.InjectionApiUO.ExecuteLegacyManualAlias

この分岐は指定されたコマンド名だけを処理します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3024.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

case "removeneckless": Unequip("Neck"); break;

InjectionScript.Runtime.InjectionApiUO.FindMobile

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3655.

public int FindMobile()

結果: int.

呼び出し: FindMobile.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int FindMobile() => FindMobile(new InjectionValue("all"), new InjectionValue("all"),

            new InjectionValue("all"), new InjectionValue("all"));

InjectionScript.Runtime.InjectionApiUO.FindType

以下の式の値を返します。

引数: type, color, container

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4600.

public string FindType(InjectionValue type, InjectionValue color, InjectionValue container)

結果: string.

結果: FindType(type, color, container, new InjectionValue(-1)).

呼び出し: FindType.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public string FindType(InjectionValue type, InjectionValue color, InjectionValue container)

            => FindType(type, color, container, new InjectionValue(-1));

InjectionScript.Runtime.InjectionApiUO.FindType

以下の式の値を返します。

引数: type

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4586.

public string FindType(int type)

結果: string.

結果: FindType(type, -1, -1).

呼び出し: FindType.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public string FindType(int type)

            => FindType(type, -1, -1);

InjectionScript.Runtime.InjectionApiUO.GetDistance

以下の式の値を返します。

引数: x1, y1, x2, y2

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3574.

public int GetDistance(int x1, int y1, int x2, int y2)

結果: int.

結果: Math.Max(dx, dy).

呼び出し: Math.Abs, Math.Max.

内部実装のコードです。単独のスクリプトとして実行できません。

public int GetDistance(int x1, int y1, int x2, int y2)

        {

            int dx = Math.Abs(x1 - x2);

            int dy = Math.Abs(y1 - y2);



            return Math.Max(dx, dy);

        }

InjectionScript.Runtime.InjectionApiUO.GetGump

以下の式の値を返します。

引数: identifier

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3233.

public InjectionValue GetGump(string identifier)

結果: InjectionValue.

結果: LastGump(identifier, -1).

呼び出し: LastGump.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public InjectionValue GetGump(string identifier) => LastGump(identifier, -1);

InjectionScript.Runtime.InjectionApiUO.GetStatus

示された呼び出しと状態更新を実行します。

引数: id

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3926.

public void GetStatus(string id)

結果: void.

呼び出し: GetStatus, GetObject.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void GetStatus(string id) => GetStatus(GetObject(id));

InjectionScript.Runtime.InjectionApiUO.JournalColor

以下の式の値を返します。

引数: index

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5412.

public string JournalColor(int index)

結果: string.

結果: bridge.JournalColor(index).

呼び出し: bridge.JournalColor.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public string JournalColor(int index) => bridge.JournalColor(index);

InjectionScript.Runtime.InjectionApiUO.MoveItem

以下の式の値を返します。

引数: id

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4472.

public int MoveItem(InjectionValue id)

結果: int.

結果: CompactMoveItem(new[] { id }).

呼び出し: CompactMoveItem.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int MoveItem(InjectionValue id)

            => CompactMoveItem(new[] { id });

InjectionScript.Runtime.InjectionApiUO.MoveItem

以下の式の値を返します。

引数: id, amount, targetContainer

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4476.

public int MoveItem(InjectionValue id, InjectionValue amount, InjectionValue targetContainer)

結果: int.

結果: CompactMoveItem(new[] { id, amount, targetContainer }).

呼び出し: CompactMoveItem.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int MoveItem(InjectionValue id, InjectionValue amount, InjectionValue targetContainer)

            => CompactMoveItem(new[] { id, amount, targetContainer });

InjectionScript.Runtime.InjectionApiUO.ParseTypeMask::ResolveEntry

コードに示す規則に従って引数を解析または解決します。

引数: entry

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5060.

InjectionValue ResolveEntry(InjectionValue entry)

結果: InjectionValue.

結果: entry; new InjectionValue(string.Join("|", parts)).

呼び出し: (entry.String ?? string.Empty).Split, state.Types.TryGet, graphic.ToString, string.Join.

条件: entry.Kind != InjectionValueKind.String; state.Types.TryGet(parts[i], out int graphic).

内部実装のコードです。単独のスクリプトとして実行できません。

InjectionValue ResolveEntry(InjectionValue entry)

            {

                if (entry.Kind != InjectionValueKind.String) return entry;

                string[] parts = (entry.String ?? string.Empty).Split('|');

                for (int i = 0; i < parts.Length; i++)

                    if (state.Types.TryGet(parts[i], out int graphic))

                        parts[i] = graphic.ToString(CultureInfo.InvariantCulture);

                return new InjectionValue(string.Join("|", parts));

            }

InjectionScript.Runtime.InjectionApiUO.Press

示された呼び出しと状態更新を実行します。

引数: key

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5273.

public void Press(int key)

結果: void.

呼び出し: KeyPress.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void Press(int key) => KeyPress(key);

InjectionScript.Runtime.InjectionApiUO.SendGumpSelect

以下の式の値を返します。

引数: gumpIndex, triggerId

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3219.

public int SendGumpSelect(InjectionValue gumpIndex, InjectionValue triggerId)

結果: int.

結果: bridge.SendGumpSelect(NumberConversions.ToInt(gumpIndex), NumberConversions.ToInt(triggerId)).

呼び出し: bridge.SendGumpSelect, NumberConversions.ToInt.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int SendGumpSelect(InjectionValue gumpIndex, InjectionValue triggerId)

            => bridge.SendGumpSelect(NumberConversions.ToInt(gumpIndex), NumberConversions.ToInt(triggerId));

InjectionScript.Runtime.InjectionApiUO.SetReceivingContainer

示された呼び出しと状態更新を実行します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4349.

public void SetReceivingContainer()

結果: void.

呼び出し: UnsetReceivingContainer.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void SetReceivingContainer() => UnsetReceivingContainer();

InjectionScript.Runtime.InjectionApiUO.TicksSkill

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3358.

public int TicksSkill()

結果: int.

結果: ticksSkill.

内部実装のコードです。単独のスクリプトとして実行できません。

public int TicksSkill() => ticksSkill;

InjectionScript.Runtime.InjectionApiUO.TicksUse

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3357.

public int TicksUse()

結果: int.

結果: ticksUse.

内部実装のコードです。単独のスクリプトとして実行できません。

public int TicksUse() => ticksUse;

InjectionScript.Runtime.InjectionApiUO.Track

示された呼び出しと状態更新を実行します。

引数: flagRaw, x, y

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:5990.

public void Track(InjectionValue flagRaw, InjectionValue x, InjectionValue y)

結果: void.

呼び出し: Track, NumberConversions.ToInt.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void Track(InjectionValue flagRaw, InjectionValue x, InjectionValue y)

            => Track(NumberConversions.ToInt(flagRaw), NumberConversions.ToInt(x), NumberConversions.ToInt(y));

InjectionScript.Runtime.InjectionApiUO.UseType

以下の式の値を返します。

引数: type, color

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:3971.

public int UseType(string type, string color)

結果: int.

結果: UseType(ResolveType(type), NumberConversions.ToInt(color)).

呼び出し: UseType, ResolveType, NumberConversions.ToInt.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public int UseType(string type, string color) => UseType(ResolveType(type), NumberConversions.ToInt(color));

InjectionScript.Runtime.InjectionApiUO.WaitTargetObjectType

示された呼び出しと状態更新を実行します。

引数: id, type, color

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4243.

public void WaitTargetObjectType(InjectionValue id, InjectionValue type, InjectionValue color)

結果: void.

呼び出し: GetObject, bridge.FindType, ResolveType, NumberConversions.ToInt, SystemMessage, bridge.CancelNextTarget, bridge.WaitTargetObject.

条件: first <= 0 || second <= 0.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void WaitTargetObjectType(InjectionValue id, InjectionValue type, InjectionValue color)

        {

            int first = GetObject(id);

            int second = bridge.FindType(ResolveType(type), NumberConversions.ToInt(color), 1, -1, false);

            if (first <= 0 || second <= 0)

            {

                SystemMessage("UO.WaitTargetObjectType: object or ground item not found");

                bridge.CancelNextTarget();

                return;

            }

            bridge.WaitTargetObject(first, second);

        }

InjectionScript.Runtime.InjectionApiUO.WaitTargetTile

示された呼び出しと状態更新を実行します。

引数: selector

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4183.

public void WaitTargetTile(InjectionValue selector)

結果: void.

呼び出し: (selector.String ?? string.Empty).Trim, name.Equals, bridge.LastTile, Array.Empty<int>, SystemMessage, bridge.CancelNextTarget, bridge.WaitTargetTile, Timer.

条件: !name.Equals("lasttile", StringComparison.OrdinalIgnoreCase); tile.Length < 4.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void WaitTargetTile(InjectionValue selector)

        {

            string name = selector.Kind == InjectionValueKind.String

                ? (selector.String ?? string.Empty).Trim()

                : string.Empty;

            if (!name.Equals("lasttile", StringComparison.OrdinalIgnoreCase))

                throw new NativeSubrutineException("UO.WaitTargetTile(one argument) accepts only 'lasttile'.");



            int[] tile = bridge.LastTile() ?? Array.Empty<int>();

            if (tile.Length < 4)

            {

                SystemMessage("UO.WaitTargetTile: lasttile is unavailable; next target request canceled.");

                bridge.CancelNextTarget();

                return;

            }

            bridge.WaitTargetTile(tile[0], tile[1], tile[2], tile[3]);

            ticksTarget = Timer();

        }

InjectionScript.Runtime.InjectionApiUO.RegisterCompactSearchApi [FindAnyType]

呼び出し時には保存済みのハンドラー delegate を実行します。登録メソッドは API の構築時にこの delegate を作成します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:4712.

values

結果: values.

結果: new InjectionValue(FindAnyType(values[0], CombineMask(values, 1))).

呼び出し: FindAnyType, CombineMask.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

values => new InjectionValue(FindAnyType(values[0], CombineMask(values, 1)))

InjectionScript.Runtime.InjectionApiUO.RegisterCharacterGetterAliases [GetDexterity]

呼び出し時には保存済みのハンドラー delegate を実行します。登録メソッドは API の構築時にこの delegate を作成します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1032.

結果: bridge.Dexterity.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

() => bridge.Dexterity

InjectionScript.Runtime.InjectionApiUO.RegisterCharacterGetterAliases [GetFollowers]

呼び出し時には保存済みのハンドラー delegate を実行します。登録メソッドは API の構築時にこの delegate を作成します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1048.

結果: bridge.Followers.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

() => bridge.Followers

InjectionScript.Runtime.InjectionApiUO.RegisterCharacterGetterAliases [ResistPhysical]

呼び出し時には保存済みのハンドラー delegate を実行します。登録メソッドは API の構築時にこの delegate を作成します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1042.

結果: bridge.Armor.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

() => bridge.Armor

InjectionScript.Runtime.InjectionApiUO.RegisterCharacterGetterAliases

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1007.

結果: getter(bridge.Self).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

() => getter(bridge.Self)

InjectionScript.Runtime.InjectionApiUO.RegisterCharacterGetterAliases

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1013.

value

結果: value.

結果: getter(GetObject(value)).

呼び出し: getter, GetObject.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

value => getter(GetObject(value))

InjectionScript.Runtime.InjectionApiUO.RegisterCharacterGetterAliases

以下の式の値を返します。

引数: 引数はありません。

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/InjectionApiUO.cs:1007.

結果: getter(bridge.Self).

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

() => getter(bridge.Self)

InjectionScript.Runtime.State.Globals.SetGlobal

示された呼び出しと状態更新を実行します。

引数: name, value

ソース: Project_Full/external/InjectionScript/src/InjectionScript/Runtime/State/Globals.cs:19.

public void SetGlobal(string name, int value)

結果: void.

呼び出し: SetGlobal, value.ToString.

呼び出し:

内部実装のコードです。単独のスクリプトとして実行できません。

public void SetGlobal(string name, int value) => SetGlobal(name, value.ToString());

Clone this wiki locally