The Battle for Wesnoth  1.15.9+dev
Public Member Functions | List of all members
return_to_play_side_exception Class Reference

Exception used to escape form the ai or ui code to playsingle_controller::play_side. More...

#include <game_end_exceptions.hpp>

Inheritance diagram for return_to_play_side_exception:

Public Member Functions

 return_to_play_side_exception ()
 
const char * what () const noexcept
 
- Public Member Functions inherited from lua_jailbreak_exception
virtual ~lua_jailbreak_exception () noexcept
 
void store () const noexcept
 Stores a copy the current exception to be rethrown. More...
 

Additional Inherited Members

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

Detailed Description

Exception used to escape form the ai or ui code to playsingle_controller::play_side.

Never thrown during replays.

Definition at line 48 of file game_end_exceptions.hpp.

Constructor & Destructor Documentation

◆ return_to_play_side_exception()

return_to_play_side_exception::return_to_play_side_exception ( )
inline

Definition at line 52 of file game_end_exceptions.hpp.

Member Function Documentation

◆ what()

const char* return_to_play_side_exception::what ( ) const
inlinenoexcept

Definition at line 57 of file game_end_exceptions.hpp.

References IMPLEMENT_LUA_JAILBREAK_EXCEPTION.


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