The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Attributes | List of all members
game::load_game_exception Class Reference

Exception used to signal that the user has decided to abort a game, and to load another game instead. More...

#include <game_errors.hpp>

Inheritance diagram for game::load_game_exception:
Inheritance graph

Public Member Functions

 load_game_exception ()
 
 load_game_exception (const std::string &game_, const bool show_replay_, const bool cancel_orders_, const bool select_difficulty_, const std::string &difficulty_, bool skip_version_check_=false)
 
- Public Member Functions inherited from tlua_jailbreak_exception
virtual ~tlua_jailbreak_exception () throw ()
 
void store () const throw ()
 Stores a copy the current exception to be rethrown. More...
 

Static Public Attributes

static std::string game
 
static bool show_replay
 
static bool cancel_orders
 
static bool select_difficulty
 
static std::string difficulty
 
static bool skip_version_check
 

Additional Inherited Members

- Static Public Member Functions inherited from tlua_jailbreak_exception
static void rethrow ()
 Rethrows the stored exception. More...
 
- Static Protected Attributes inherited from tlua_jailbreak_exception
static tlua_jailbreak_exceptionjailbreak_exception = nullptr
 The exception to be rethrown. More...
 

Detailed Description

Exception used to signal that the user has decided to abort a game, and to load another game instead.

Definition at line 62 of file game_errors.hpp.

Constructor & Destructor Documentation

game::load_game_exception::load_game_exception ( )
inline

Definition at line 67 of file game_errors.hpp.

game::load_game_exception::load_game_exception ( const std::string game_,
const bool  show_replay_,
const bool  cancel_orders_,
const bool  select_difficulty_,
const std::string difficulty_,
bool  skip_version_check_ = false 
)
inline

Member Data Documentation

bool game::load_game_exception::cancel_orders
static
std::string game::load_game_exception::difficulty
static

Definition at line 93 of file game_errors.hpp.

Referenced by game_launcher::load_game(), and load_game_exception().

std::string game::load_game_exception::game
static
bool game::load_game_exception::select_difficulty
static

Definition at line 92 of file game_errors.hpp.

Referenced by game_launcher::load_game(), and load_game_exception().

bool game::load_game_exception::show_replay
static
bool game::load_game_exception::skip_version_check
static

Definition at line 94 of file game_errors.hpp.

Referenced by game_launcher::load_game(), and load_game_exception().


The documentation for this class was generated from the following files: