rednode API - v0.80.1
    Preparing search index...

    Interface ReloadResult

    What archives.reload did.

    interface ReloadResult {
        failed: { file: string; why: string }[];
        ms: number;
        preview?: { items: { appearance: string; slot: string }[]; note?: string };
        refreshed?: { appearance: string; slot: string }[];
        reloaded: string[];
        sound?: { index: "reloaded" | "failed" | "not reloaded"; note: string };
        via: "red-hot-tools";
        world?: {
            appearance?: string;
            distance?: number;
            entity: string;
            how: "respawn" | "appearance";
            package?: string;
            type?: string;
        }[];
    }
    Index
    failed: { file: string; why: string }[]

    The files that were not, and why.

    ms: number

    How long the swap took, in milliseconds.

    preview?: { items: { appearance: string; slot: string }[]; note?: string }

    The inventory's preview of V, refreshed in the same slots as V (REDnode 0.40.2 or later), so the inventory shows the new version too, open or closed. note says why nothing was refreshed: no preview yet (the inventory makes one when it opens), or no Codeware. Absent with refresh: false, or when nothing V wears was refreshed.

    refreshed?: { appearance: string; slot: string }[]

    The clothing V wears whose appearance was applied again after the swap, so it shows the new version: each item's attachment slot (such as "AttachmentSlots.Legs", or Equipment-EX's "OutfitSlots.LegsMiddle") and appearance. Absent with refresh: false.

    reloaded: string[]

    The files swapped in, as you named them.

    sound?: { index: "reloaded" | "failed" | "not reloaded"; note: string }

    Only when an archive with the game's sound paks was swapped: whether the game's sound index was loaded again ("reloaded": the new sounds play), and what to know about it. A sound that played just before the swap may keep its old version until the game loads it again (for a weapon, equip it again).

    via: "red-hot-tools"

    What did the swap.

    world?: {
        appearance?: string;
        distance?: number;
        entity: string;
        how: "respawn" | "appearance";
        package?: string;
        type?: string;
    }[]

    The entities in the world refreshed after the swap because they use a swapped file (REDnode 0.39.0 or later): packages' spawns, spawned again by their package (how: "respawn"), and the game's entities near V (how: "appearance"). Absent with refresh: false.