The Battle for Wesnoth  1.15.11+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 36 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 48 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 45 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 39 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 51 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 42 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: