

Public Member Functions | |
| message_user_choice (const vconfig &c, const unit_map::iterator &s, const vconfig &t, bool ht, const std::vector< std::string > &o) | |
| virtual config | query_user () const |
| virtual config | random_choice (rand_rng::simple_rng &) const |
Public Attributes | |
| vconfig | cfg |
| unit_map::iterator | speaker |
| vconfig | text_input_element |
| bool | has_text_input |
| const std::vector< std::string > & | options |
Definition at line 2789 of file game_events.cpp.
| message_user_choice::message_user_choice | ( | const vconfig & | c, | |
| const unit_map::iterator & | s, | |||
| const vconfig & | t, | |||
| bool | ht, | |||
| const std::vector< std::string > & | o | |||
| ) | [inline] |
Definition at line 2797 of file game_events.cpp.
| virtual config message_user_choice::query_user | ( | ) | const [inline, virtual] |
Implements mp_sync::user_choice.
Definition at line 2803 of file game_events.cpp.
References gui2::twindow::CANCEL, display::draw(), image::get_image(), has_text_input, display::invalidate_all(), options, resources::screen, gui2::show_wml_message(), event_context::skip_messages, text_input_element, and lg::wml_error.
Referenced by WML_HANDLER_FUNCTION().


| virtual config message_user_choice::random_choice | ( | rand_rng::simple_rng & | ) | const [inline, virtual] |
Implements mp_sync::user_choice.
Definition at line 2848 of file game_events.cpp.
Definition at line 2791 of file game_events.cpp.
Definition at line 2794 of file game_events.cpp.
Referenced by query_user().
| const std::vector<std::string>& message_user_choice::options |
Definition at line 2795 of file game_events.cpp.
Referenced by query_user().
Definition at line 2792 of file game_events.cpp.
Definition at line 2793 of file game_events.cpp.
Referenced by query_user().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:13:17 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |