- the mail window's send tab takes typing again: the subject, body and money boxes were taking no input while the recipient box swallowed every key, and a sent letter clears its subject and item icon instead of putting them straight back (2145) - seven events fire the way the reference does: UNIT_DYNAMIC_FLAGS fires at all, swapping two identical stacks between bank slots fires PLAYERBANKSLOTS_CHANGED twice, the pet sheet's training points repaint, and ITEM_LOCK_CHANGED loses its invented arguments (2140) - nine widget methods 1.12 addons probe for are in: ShaguTweaks stops recolouring textures the reference leaves alone, pfUI and _Nameplates stop raising on a tooltip's GetAnchorType, and 63 AceEvent addons get RegisterAllEvents (2142) - six post-1.12 methods leave the widget surface (SetSize, SetShown, HasFocus, SetFormattedText and two tooltip verbs), so an addon reaching for a later client's API finds what a real 1.12 client gives it (2142, 2146) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
19 lines
797 B
Rust
19 lines
797 B
Rust
//! `dump_widget_methods` — print benilla's widget METHOD surface, asked of a real VM.
|
|
//!
|
|
//! ```text
|
|
//! cargo run -q -p benilla-ui --example dump_widget_methods # class<TAB>method, one per line
|
|
//! ```
|
|
//!
|
|
//! The sibling of [`dump_globals`](../dump_globals.rs). The measurement itself lives in
|
|
//! `benilla_ui::script::widget_method_census` — its module doc is the *why*, and the widget-surface
|
|
//! gate (decision 2142) reads the same function, so the instrument you look at by hand and the gate
|
|
//! that fails the build can never disagree about what our surface is.
|
|
use benilla_ui::script::{widget_method_census, UiScript};
|
|
|
|
fn main() -> mlua::Result<()> {
|
|
for (class, method) in widget_method_census(&UiScript::new()?)? {
|
|
println!("{class}\t{method}");
|
|
}
|
|
Ok(())
|
|
}
|