#[repr(C)]pub struct ArcDpsExport {
pub size: usize,
pub sig: u32,
pub imgui_version: u32,
pub out_name: *const c_char,
pub out_build: *const c_char,
pub wnd_nofilter: Option<RawWndProcCallback>,
pub combat: Option<RawCombatCallback>,
pub imgui: Option<RawImguiCallback>,
pub options_end: Option<RawOptionsCallback>,
pub combat_local: Option<RawCombatCallback>,
pub wnd_filter: Option<RawWndProcCallback>,
pub options_windows: Option<RawOptionsWindowsCallback>,
}Expand description
Exported struct for ArcDPS plugins.
Fields§
§size: usizeSize of exports table.
sig: u32Unique plugin signature.
Pick a random number that is not used by other modules.
imgui_version: u32ImGui version number.
Set to 18000 if you do not use ImGui (as of 2021-02-02).
out_name: *const c_charPlugin name string.
out_build: *const c_charPlugin build (version) string.
wnd_nofilter: Option<RawWndProcCallback>WndProc callback.
Return is assigned to uMsg (return zero to not be processed by ArcDPS or game).
combat: Option<RawCombatCallback>Combat callback.
May be called asynchronously, use id to keep track of order.
First event id will be 2.
Return is ignored.
imgui: Option<RawImguiCallback>ImGui callback.
options_end: Option<RawOptionsCallback>Options callback.
For a plugin options tab.
combat_local: Option<RawCombatCallback>Local combat callback.
Like combat (area) but from chat log.
wnd_filter: Option<RawWndProcCallback>Filtered WndProc callback.
Like wnd_nofilter but input fitlered using modifiers.
options_windows: Option<RawOptionsWindowsCallback>Options windows callback.
Called once per window option checkbox in settings, with null at the end. Non-zero return disables ArcDPS drawing that checkbox.