Function eos_rs::api::dungeon_mode::menus::yes_no_menu
source · pub unsafe fn yes_no_menu(
_ov29: &OverlayLoadLease<29>,
param_1: undefined,
message_id: i32,
default_option: bool,
param_4: undefined
) -> boolExpand description
Opens a menu where the user can choose “Yes” or “No” and waits for input before returning.
Returns true if the user chooses “Yes”, false if the user chooses “No”.
Arguments
_ov29- A lease on the loaded overlay 29.param_1- ?param_1- ID of the string to display in the textboxparam_1- Option that the cursor will be on by default.truefor “Yes”,falsefor “No”param_4- ?
Safety
The caller must make sure the undefined params are valid for this function.