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 advancement 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 32 of file synced_user_choice.hpp.
|
inlinevirtual |
Definition at line 34 of file synced_user_choice.hpp.
|
inlinevirtual |
Reimplemented in persist_choice.
Definition at line 45 of file synced_user_choice.hpp.
References _().
Referenced by user_choice_manager::fix_oos().
|
inlinevirtual |
whether the choice is visible for the user like an advancement choice a non-visible choice is for example get_global_variable
Reimplemented in persist_choice.
Definition at line 41 of file synced_user_choice.hpp.
Referenced by mp_sync::get_user_choice().
|
pure virtual |
Implemented in persist_choice.
Referenced by user_choice_manager::ask_local_choice(), user_choice_manager::fix_oos(), and mp_sync::get_user_choice().
|
pure virtual |
Implemented in persist_choice.
Referenced by mp_sync::get_user_choice(), and mp_sync::get_user_choice_multiple_sides().