The Battle for Wesnoth  1.19.7+dev
Public Attributes | List of all members
jump_to_campaign_info Struct Reference

#include <game_launcher.hpp>

Public Attributes

bool jump = false
 Whether the game should immediately start a campaign. More...
 
bool skip_story = false
 Whether the story screen should be skipped. More...
 
int difficulty = -1
 The difficulty at which to launch the campaign. More...
 
std::string campaign_id = ""
 The ID of the campaign to launch. More...
 
std::string scenario_id = ""
 The ID of the scenario within the campaign to jump to. More...
 

Detailed Description

Definition at line 34 of file game_launcher.hpp.

Member Data Documentation

◆ campaign_id

std::string jump_to_campaign_info::campaign_id = ""

The ID of the campaign to launch.

Definition at line 46 of file game_launcher.hpp.

Referenced by game_launcher::game_launcher(), game_launcher::jump_to_campaign_id(), and sp::select_campaign().

◆ difficulty

int jump_to_campaign_info::difficulty = -1

The difficulty at which to launch the campaign.

Definition at line 43 of file game_launcher.hpp.

Referenced by game_launcher::game_launcher().

◆ jump

bool jump_to_campaign_info::jump = false

Whether the game should immediately start a campaign.

Definition at line 37 of file game_launcher.hpp.

Referenced by game_launcher::game_launcher(), game_launcher::goto_campaign(), and game_launcher::init_lua_script().

◆ scenario_id

std::string jump_to_campaign_info::scenario_id = ""

The ID of the scenario within the campaign to jump to.

Definition at line 49 of file game_launcher.hpp.

Referenced by game_launcher::game_launcher(), and sp::select_campaign().

◆ skip_story

bool jump_to_campaign_info::skip_story = false

Whether the story screen should be skipped.

Definition at line 40 of file game_launcher.hpp.

Referenced by game_launcher::game_launcher(), and game_launcher::goto_campaign().


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