The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Private Attributes | List of all members
scoped_recall_unit Class Reference

#include <variable.hpp>

Inheritance diagram for scoped_recall_unit:

Public Member Functions

 scoped_recall_unit (const std::string &var_name, const std::string &player, unsigned int recall_index)
 
void activate ()
 
- Public Member Functions inherited from scoped_wml_variable
 scoped_wml_variable (const std::string &var_name)
 
virtual ~scoped_wml_variable ()
 
const std::string & name () const
 
configstore (const config &var_value=config())
 
bool activated () const
 

Private Attributes

const std::string player_
 
unsigned int recall_index_
 

Detailed Description

Definition at line 260 of file variable.hpp.

Constructor & Destructor Documentation

◆ scoped_recall_unit()

scoped_recall_unit::scoped_recall_unit ( const std::string &  var_name,
const std::string &  player,
unsigned int  recall_index 
)
inline

Definition at line 263 of file variable.hpp.

Member Function Documentation

◆ activate()

void scoped_recall_unit::activate ( )
virtual

Member Data Documentation

◆ player_

const std::string scoped_recall_unit::player_
private

Definition at line 268 of file variable.hpp.

Referenced by activate().

◆ recall_index_

unsigned int scoped_recall_unit::recall_index_
private

Definition at line 269 of file variable.hpp.

Referenced by activate().


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