Skip to content

API reference

Everything Wraith gives plugins, made from its schemas. Pick a language in any tab and the rest follow.

  • Addresses: The game’s address list, by id like player.health.
  • Camera: The free camera.
  • Clipboard: The system clipboard.
  • Code: Assembly, patches and code memory, all put back when the plugin goes.
  • Config: Where a plugin keeps its own files.
  • Cpu: A thread’s registers as hooks and watches see them, laid out like tuft’s CpuContext.
  • Diagnostics: What the Timings and Signatures windows list from native code: wraith_core zones and heaps, by layout version.
  • Display: What the game shows: its camera’s view, output encoding, frame captures and frame times.
  • Files: The plugin’s own files, whole at a time, like its saves and cache.
  • Game: The game Wraith’s in: which one, its files, and its engine.
  • Hooks: Hooks on the game’s code.
  • Images: Images to draw with ImGui.
  • Imgui: Generated from dear_bindings’ dcimgui.json by zig build imgui-sal.
  • Input: Keys, buttons and the mouse, from the game window’s messages, and keybinds.
  • Lease: Parts of the game only one plugin can drive at a time.
  • Libraries: Named script source that scripts require, shared between plugins.
  • List: Lists of a plugin’s things, like lights, that Wraith shows for the player to pick from.
  • Log: Wraith’s log, under the plugin’s name.
  • Managed: The game’s C# runtime: Mono, IL2CPP or CoreCLR.
  • Math: Maths types shared by every schema, tuft’s in Zig.
  • Memory: The game’s memory.
  • Net: HTTP, off the caller’s thread.
  • Plugin: How a plugin runs, whatever language it’s in.
  • Posing: Posing.
  • Scene: What’s in the game: entities, each a kind and a stable key, with their components.
  • Schema: Code and globals the plugin’s schemas declare, by name like Player.heal.
  • Settings: Settings a plugin registers, which Wraith stores and lists under the plugin in its Settings.
  • Slots: Slots: the places in Wraith’s UI a plugin can add to, like a Workbench tab, its Settings page, or a part of the scene window, and plugins’ own.
  • Sound: Sounds, through one player for everyone.
  • Sync: Locks shared between plugins, threads, tasks and scripts.
  • Threads: Where plugin code runs: draws on the render thread, ticks on the game thread.
  • Tweaks: Tweaks a plugin lists with the project’s own, and switching any tweak by name.
  • Ui: The overlay: ImGui drawing helpers, toasts, the cursor and game input, and Wraith’s own UI.
  • Vfs: Virtual files, and watching the game’s file I/O.
  • Watches: Memory watches on the CPU’s debug registers, like “find what writes to this”.
  • Wraith: Everything a plugin can use, an area each.

Made with ♥ by Asgard