Expand description
Bindings for Raidcore Nexus addons.
§Usage
use nexus::{
gui::{register_render, render, RenderType},
imgui::Window
};
nexus::export! {
name: "My Addon",
signature: -0x12345678,
load: || {
register_render(RenderType::Render, render!(|ui| {
Window::new("My Window").build(ui, || {
ui.text("Hello World");
});
}));
}
}Re-exports§
pub use self::addon::AddonFlags;pub use self::addon::AddonLoad;pub use self::addon::AddonUnload;pub use self::addon::UpdateProvider;pub use imgui;
Modules§
- addon
- Addon information.
- alert
- Alert notifications displayed to the user.
- data_
link - Data link for sharing resources.
- event
- Event system.
- font
- Font loading.
- gamebind
- Game keybinds.
- gui
- ImGui rendering via
imgui-rs. - hook
- Hooking via MinHook.
- keybind
- Addon keybinds.
- localization
- Localization of strings.
- log
- Logging.
- paths
- Paths.
- quick_
access - Quick access creation.
- rtapi
- Bindings for Nexus RealTime API.
- texture
- Texture loading.
- updater
- Update management.
- v2
- Addon API version 2.
- v3
- Addon API version 3.
- v4
- Addon API version 4.
- v6
- Addon API version 6.
- wnd_
proc - Windows WNDPROC.
Macros§
- event_
consume - Macro to wrap an event callback.
- event_
subscribe - Macro to subscribe to an event with a wrapped callback.
- export
- Creates addon exports for Raidcore Nexus.
- font_
receive - Macro to wrap a font receive callback.
- keybind_
handler - Macro to wrap a keybind handler callback.
- render
- Macro to wrap an ImGui render callback.
- texture_
receive - Macro to wrap a texture receive callback.
Structs§
- Addon
Api - Nexus addon API (version 6).
- Data
Link Api - Event
Api - FontApi
- Game
Bind Api - Input
Binds Api - Localization
Api - MinHook
Api - PathApi
- Quick
Access Api - Renderer
Api - Revertible
- A revertible action.
- Supported
Fields - Fields supported by the
exportmacro. - Texture
Api - UiApi
- WndProc
Api