The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
reset_gamestate_exception Struct Referencefinal

#include <playsingle_controller.hpp>

Inheritance diagram for reset_gamestate_exception:

Public Member Functions

 reset_gamestate_exception (std::shared_ptr< config > l, std::shared_ptr< config > stats, bool s=true)
 
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...
 

Public Attributes

std::shared_ptr< configlevel
 
std::shared_ptr< configstats_
 
bool start_replay
 

Additional Inherited Members

- Static Public Member Functions inherited from lua_jailbreak_exception
static void rethrow ()
 Rethrows the stored exception. More...
 
- Static Public Attributes inherited from lua_jailbreak_exception
static int jail_depth = 0
 Depth of recursive luaW_pcall_internal() function calls. More...
 
- Static Protected Attributes inherited from lua_jailbreak_exception
static lua_jailbreak_exceptionjailbreak_exception = nullptr
 The exception to be rethrown. More...
 

Detailed Description

Definition at line 31 of file playsingle_controller.hpp.

Constructor & Destructor Documentation

◆ reset_gamestate_exception()

reset_gamestate_exception::reset_gamestate_exception ( std::shared_ptr< config l,
std::shared_ptr< config stats,
bool  s = true 
)
inline

Definition at line 33 of file playsingle_controller.hpp.

References lua_jailbreak_exception::store().

Member Function Documentation

◆ what()

const char* reset_gamestate_exception::what ( ) const
inlinenoexcept

Definition at line 40 of file playsingle_controller.hpp.

Member Data Documentation

◆ level

std::shared_ptr<config> reset_gamestate_exception::level

◆ start_replay

bool reset_gamestate_exception::start_replay

◆ stats_

std::shared_ptr<config> reset_gamestate_exception::stats_

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