Other items inlibxivdat::xiv_macro::icon
pub fn macro_icon_to_key_and_id(macro_icon: &MacroIcon) -> (&str, &str)
Returns the key and id Section contents corresponding to a MacroIcon.
Section
MacroIcon
use libxivdat::xiv_macro::icon::{MacroIcon,macro_icon_to_key_and_id}; let (key_val, id_val) = macro_icon_to_key_and_id(&MacroIcon::ItemHammer); assert_eq!(key_val, "014"); assert_eq!(id_val, "00005E9");