Interface for querying local choices. More...
#include <synced_user_choice.hpp>
Public Member Functions | |
virtual | ~user_choice () |
virtual config | query_user (int side) const =0 |
virtual config | random_choice (int side) const =0 |
virtual bool | is_visible () const |
whether the choice is visible for the user like an advacement choice a non-visible choice is for example get_global_variable More... | |
virtual std::string | description () const |
Interface for querying local choices.
It has to support querying the user and making a random choice
Definition at line 31 of file synced_user_choice.hpp.
|
inlinevirtual |
Definition at line 33 of file synced_user_choice.hpp.
|
inlinevirtual |
Reimplemented in persist_choice.
Definition at line 39 of file synced_user_choice.hpp.
Referenced by user_choice_manager::fix_oos(), and user_choice_manager::update_local_choice().
|
inlinevirtual |
whether the choice is visible for the user like an advacement choice a non-visible choice is for example get_global_variable
Reimplemented in persist_choice.
Definition at line 38 of file synced_user_choice.hpp.
Referenced by mp_sync::get_user_choice().
Implemented in persist_choice.
Referenced by user_choice_manager::ask_local_choice(), user_choice_manager::fix_oos(), and mp_sync::get_user_choice().
Implemented in persist_choice.
Referenced by mp_sync::get_user_choice(), and mp_sync::get_user_choice_multiple_sides().