|
|
|
@ -14,16 +14,15 @@ fn main() {
@@ -14,16 +14,15 @@ fn main() {
|
|
|
|
|
mii_selector.blacklist_user_mii(0.into()); |
|
|
|
|
mii_selector.set_title("Great Mii Selector!"); |
|
|
|
|
|
|
|
|
|
let result = mii_selector.launch(); |
|
|
|
|
|
|
|
|
|
println!("\x1b[0;0HIs Mii selected?: {:?}", result.is_mii_selected); |
|
|
|
|
println!("\x1b[1;0HValid checksum?: {:?}", result.valid_checksum()); |
|
|
|
|
println!("\x1b[2;0HMii type: {:?}", result.mii_type); |
|
|
|
|
println!("\x1b[3;0HMii checksum: {:?}", result.checksum); |
|
|
|
|
println!("\x1b[4;0HName: {:?}", result.name()); |
|
|
|
|
println!("\x1b[5;0HAuthor: {:?}", result.author()); |
|
|
|
|
let result = mii_selector.launch().unwrap(); |
|
|
|
|
|
|
|
|
|
println!("Is Mii selected?: {:?}", result.is_mii_selected); |
|
|
|
|
println!("Mii type: {:?}", result.mii_type); |
|
|
|
|
println!("Mii checksum: {:?}", result.checksum); |
|
|
|
|
println!("Name: {:?}", result.mii_data.name); |
|
|
|
|
println!("Author: {:?}", result.mii_data.author_name); |
|
|
|
|
println!( |
|
|
|
|
"\x1b[6;0HDoes the Mii have moles?: {:?}", |
|
|
|
|
"Does the Mii have moles?: {:?}", |
|
|
|
|
result.mii_data.mole_details.is_enabled |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|