Project Alice
Loading...
Searching...
No Matches
command Namespace Reference

Classes

struct  advance_tick_data
 
struct  army_movement_data
 
struct  budget_settings_data
 
struct  call_to_arms_data
 
struct  cb_fabrication_data
 
struct  change_unit_type_data
 
struct  chat_message_data
 
struct  cheat_data
 
struct  cheat_data_int
 
struct  cheat_event_data
 
struct  cheat_invention_data_t
 
struct  cheat_location_data
 
struct  crisis_invitation_data
 
struct  crisis_join_data
 
struct  decision_data
 
struct  diplo_action_data
 
struct  factory_building_data
 
struct  factory_data
 
struct  generic_location_data
 
struct  influence_action_data
 
struct  influence_priority_data
 
struct  issue_selection_data
 
struct  land_battle_data
 
struct  land_unit_construction_data
 
struct  make_leader_data
 
struct  merge_army_data
 
struct  merge_navy_data
 
struct  message_data
 
struct  movement_data
 
struct  nation_pick_data
 
struct  national_focus_data
 
struct  naval_battle_data
 
struct  naval_unit_construction_data
 
struct  navy_movement_data
 
struct  nbutton_data
 
struct  new_admiral_data
 
struct  new_general_data
 
struct  new_offer_data
 
struct  new_war_data
 
struct  new_war_goal_data
 
struct  notify_joins_data
 
struct  notify_leaves_data
 
struct  notify_reload_data
 
struct  notify_save_loaded_data
 
struct  offer_wargoal_data
 
struct  payload
 
struct  pbutton_data
 
struct  pending_human_f_n_event_data
 
struct  pending_human_f_p_event_data
 
struct  pending_human_n_event_data
 
struct  pending_human_p_event_data
 
struct  political_party_data
 
struct  province_building_data
 
struct  rally_point_data
 
struct  reform_selection_data
 
struct  save_game_data
 
struct  set_factory_priority_data
 
struct  split_regiments_data
 
struct  split_ships_data
 
struct  start_research_data
 
struct  state_transfer_data
 
struct  stockpile_settings_data
 
struct  tag_target_data
 
struct  war_target_data
 

Enumerations

enum class  command_type : uint8_t {
  invalid = 0 , change_nat_focus = 1 , start_research = 2 , make_leader = 3 ,
  begin_province_building_construction = 4 , increase_relations = 5 , decrease_relations = 6 , begin_factory_building_construction = 7 ,
  begin_naval_unit_construction = 8 , cancel_naval_unit_construction = 9 , change_factory_settings = 10 , delete_factory = 11 ,
  make_vassal = 12 , release_and_play_nation = 13 , war_subsidies = 14 , cancel_war_subsidies = 15 ,
  change_budget = 16 , start_election = 17 , change_influence_priority = 18 , discredit_advisors = 19 ,
  expel_advisors = 20 , ban_embassy = 21 , increase_opinion = 22 , decrease_opinion = 23 ,
  add_to_sphere = 24 , remove_from_sphere = 25 , upgrade_colony_to_state = 26 , invest_in_colony = 27 ,
  abandon_colony = 28 , finish_colonization = 29 , intervene_in_war = 30 , suppress_movement = 31 ,
  civilize_nation = 32 , appoint_ruling_party = 33 , change_issue_option = 34 , change_reform_option = 35 ,
  become_interested_in_crisis = 36 , take_sides_in_crisis = 37 , begin_land_unit_construction = 38 , cancel_land_unit_construction = 39 ,
  change_stockpile_settings = 40 , take_decision = 41 , make_n_event_choice = 42 , make_f_n_event_choice = 43 ,
  make_p_event_choice = 44 , make_f_p_event_choice = 45 , fabricate_cb = 46 , cancel_cb_fabrication = 47 ,
  ask_for_military_access = 48 , ask_for_alliance = 49 , call_to_arms = 50 , respond_to_diplomatic_message = 51 ,
  cancel_military_access = 52 , cancel_alliance = 53 , cancel_given_military_access = 54 , declare_war = 55 ,
  add_war_goal = 56 , start_peace_offer = 58 , add_peace_offer_term = 59 , send_peace_offer = 60 ,
  move_army = 61 , move_navy = 62 , embark_army = 63 , merge_armies = 64 ,
  merge_navies = 65 , split_army = 66 , split_navy = 67 , delete_army = 68 ,
  delete_navy = 69 , designate_split_regiments = 70 , designate_split_ships = 71 , naval_retreat = 72 ,
  land_retreat = 73 , start_crisis_peace_offer = 74 , invite_to_crisis = 75 , add_wargoal_to_crisis_offer = 76 ,
  send_crisis_peace_offer = 77 , change_admiral = 78 , change_general = 79 , toggle_mobilization = 80 ,
  give_military_access = 81 , set_rally_point = 82 , save_game = 83 , cancel_factory_building_construction = 84 ,
  disband_undermanned = 85 , even_split_army = 86 , even_split_navy = 87 , toggle_hunt_rebels = 88 ,
  toggle_select_province = 89 , toggle_immigrator_province = 90 , state_transfer = 91 , release_subject = 92 ,
  enable_debt = 93 , move_capital = 94 , toggle_unit_ai_control = 95 , toggle_mobilized_is_ai_controlled = 96 ,
  toggle_interested_in_alliance = 97 , pbutton_script = 98 , nbutton_script = 99 , set_factory_type_priority = 100 ,
  crisis_add_wargoal = 101 , change_unit_type = 102 , take_province = 103 , grant_province = 104 ,
  notify_player_ban = 106 , notify_player_kick = 107 , notify_player_picks_nation = 108 , notify_player_joins = 109 ,
  notify_player_leaves = 110 , notify_player_oos = 111 , notify_save_loaded = 112 , notify_start_game = 113 ,
  notify_stop_game = 114 , notify_pause_game = 115 , notify_reload = 116 , advance_tick = 120 ,
  chat_message = 121 , network_inactivity_ping = 122 , console_command = 255
}
 

Functions

bool is_console_command (command_type t)
 
void add_to_command_queue (sys::state &state, payload &p)
 
void set_rally_point (sys::state &state, dcon::nation_id source, dcon::province_id location, bool naval, bool enable)
 
void execute_set_rally_point (sys::state &state, dcon::nation_id source, dcon::province_id location, bool naval, bool enable)
 
void save_game (sys::state &state, dcon::nation_id source, bool and_quit)
 
void execute_save_game (sys::state &state, dcon::nation_id source, bool and_quit)
 
void set_national_focus (sys::state &state, dcon::nation_id source, dcon::state_instance_id target_state, dcon::national_focus_id focus)
 
bool can_set_national_focus (sys::state &state, dcon::nation_id source, dcon::state_instance_id target_state, dcon::national_focus_id focus)
 
void execute_set_national_focus (sys::state &state, dcon::nation_id source, dcon::state_instance_id target_state, dcon::national_focus_id focus)
 
void start_research (sys::state &state, dcon::nation_id source, dcon::technology_id tech)
 
bool can_start_research (sys::state &state, dcon::nation_id source, dcon::technology_id tech)
 
void execute_start_research (sys::state &state, dcon::nation_id source, dcon::technology_id tech)
 
void make_leader (sys::state &state, dcon::nation_id source, bool general)
 
bool can_make_leader (sys::state &state, dcon::nation_id source, bool general)
 
void execute_make_leader (sys::state &state, dcon::nation_id source, bool general)
 
void set_factory_type_priority (sys::state &state, dcon::nation_id source, dcon::factory_type_id ftid, float value)
 
bool can_set_factory_type_priority (sys::state &state, dcon::nation_id source, dcon::factory_type_id ftid, float value)
 
void execute_set_factory_type_priority (sys::state &state, dcon::nation_id source, dcon::factory_type_id ftid, float value)
 
void give_war_subsidies (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_give_war_subsidies (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_give_war_subsidies (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void cancel_war_subsidies (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_cancel_war_subsidies (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_cancel_war_subsidies (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void increase_relations (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_increase_relations (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_increase_relations (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void decrease_relations (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_decrease_relations (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_decrease_relations (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void begin_province_building_construction (sys::state &state, dcon::nation_id source, dcon::province_id prov, economy::province_building_type type)
 
bool can_begin_province_building_construction (sys::state &state, dcon::nation_id source, dcon::province_id p, economy::province_building_type type)
 
void execute_begin_province_building_construction (sys::state &state, dcon::nation_id source, dcon::province_id p, economy::province_building_type type)
 
void cancel_factory_building_construction (sys::state &state, dcon::nation_id source, dcon::state_instance_id location, dcon::factory_type_id type)
 
bool can_cancel_factory_building_construction (sys::state &state, dcon::nation_id source, dcon::state_instance_id location, dcon::factory_type_id type)
 
void execute_cancel_factory_building_construction (sys::state &state, dcon::nation_id source, dcon::state_instance_id location, dcon::factory_type_id type)
 
void begin_factory_building_construction (sys::state &state, dcon::nation_id source, dcon::state_instance_id location, dcon::factory_type_id type, bool is_upgrade)
 
bool can_begin_factory_building_construction (sys::state &state, dcon::nation_id source, dcon::state_instance_id location, dcon::factory_type_id type, bool is_upgrade)
 
void execute_begin_factory_building_construction (sys::state &state, dcon::nation_id source, dcon::state_instance_id location, dcon::factory_type_id type, bool is_upgrade)
 
void start_naval_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::unit_type_id type, dcon::province_id template_province)
 
bool can_start_naval_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::unit_type_id type, dcon::province_id template_province)
 
void execute_start_naval_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::unit_type_id type, dcon::province_id template_province)
 
void start_land_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::culture_id soldier_culture, dcon::unit_type_id type, dcon::province_id template_province)
 
bool can_start_land_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::culture_id soldier_culture, dcon::unit_type_id type, dcon::province_id template_province)
 
void execute_start_land_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::culture_id soldier_culture, dcon::unit_type_id type, dcon::province_id template_province)
 
void cancel_naval_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::unit_type_id type)
 
bool can_cancel_naval_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::unit_type_id type)
 
void execute_cancel_naval_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::unit_type_id type)
 
void cancel_land_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::culture_id soldier_culture, dcon::unit_type_id type)
 
bool can_cancel_land_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::culture_id soldier_culture, dcon::unit_type_id type)
 
void execute_cancel_land_unit_construction (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::culture_id soldier_culture, dcon::unit_type_id type)
 
void delete_factory (sys::state &state, dcon::nation_id source, dcon::factory_id f)
 
bool can_delete_factory (sys::state &state, dcon::nation_id source, dcon::factory_id f)
 
void execute_delete_factory (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::factory_type_id type)
 
void change_factory_settings (sys::state &state, dcon::nation_id source, dcon::factory_id f, uint8_t priority, bool subsidized)
 
bool can_change_factory_settings (sys::state &state, dcon::nation_id source, dcon::factory_id f, uint8_t priority, bool subsidized)
 
void execute_change_factory_settings (sys::state &state, dcon::nation_id source, dcon::province_id location, dcon::factory_type_id type, uint8_t priority, bool subsidized)
 
void make_vassal (sys::state &state, dcon::nation_id source, dcon::national_identity_id t)
 
bool can_make_vassal (sys::state &state, dcon::nation_id source, dcon::national_identity_id t)
 
void execute_make_vassal (sys::state &state, dcon::nation_id source, dcon::national_identity_id t)
 
void release_and_play_as (sys::state &state, dcon::nation_id source, dcon::national_identity_id t)
 
bool can_release_and_play_as (sys::state &state, dcon::nation_id source, dcon::national_identity_id t)
 
void execute_release_and_play_as (sys::state &state, dcon::nation_id source, dcon::national_identity_id t)
 
bool can_change_budget_settings (sys::state &state, dcon::nation_id source, budget_settings_data const &values)
 
void change_budget_settings (sys::state &state, dcon::nation_id source, budget_settings_data const &values)
 
void execute_change_budget_settings (sys::state &state, dcon::nation_id source, budget_settings_data const &values)
 
void start_election (sys::state &state, dcon::nation_id source)
 
bool can_start_election (sys::state &state, dcon::nation_id source)
 
void execute_start_election (sys::state &state, dcon::nation_id source)
 
void change_influence_priority (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, uint8_t priority)
 
bool can_change_influence_priority (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, uint8_t priority)
 
void execute_change_influence_priority (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, uint8_t priority)
 
void discredit_advisors (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
bool can_discredit_advisors (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void execute_discredit_advisors (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void expel_advisors (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
bool can_expel_advisors (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void execute_expel_advisors (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void ban_embassy (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
bool can_ban_embassy (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void execute_ban_embassy (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void increase_opinion (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target)
 
bool can_increase_opinion (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target)
 
void execute_increase_opinion (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target)
 
void decrease_opinion (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
bool can_decrease_opinion (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void execute_decrease_opinion (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void add_to_sphere (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target)
 
bool can_add_to_sphere (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target)
 
void execute_add_to_sphere (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target)
 
void remove_from_sphere (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
bool can_remove_from_sphere (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void execute_remove_from_sphere (sys::state &state, dcon::nation_id source, dcon::nation_id influence_target, dcon::nation_id affected_gp)
 
void upgrade_colony_to_state (sys::state &state, dcon::nation_id source, dcon::state_instance_id si)
 
bool can_upgrade_colony_to_state (sys::state &state, dcon::nation_id source, dcon::state_instance_id si)
 
void execute_upgrade_colony_to_state (sys::state &state, dcon::nation_id source, dcon::state_instance_id si)
 
void invest_in_colony (sys::state &state, dcon::nation_id source, dcon::province_id pr)
 
bool can_invest_in_colony (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void execute_invest_in_colony (sys::state &state, dcon::nation_id source, dcon::province_id pr)
 
void abandon_colony (sys::state &state, dcon::nation_id source, dcon::province_id pr)
 
bool can_abandon_colony (sys::state &state, dcon::nation_id source, dcon::province_id pr)
 
void execute_abandon_colony (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void finish_colonization (sys::state &state, dcon::nation_id source, dcon::province_id pr)
 
bool can_finish_colonization (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void execute_finish_colonization (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void intervene_in_war (sys::state &state, dcon::nation_id source, dcon::war_id w, bool for_attacker)
 
bool can_intervene_in_war (sys::state &state, dcon::nation_id source, dcon::war_id w, bool for_attacker)
 
void execute_intervene_in_war (sys::state &state, dcon::nation_id source, dcon::war_id w, bool for_attacker)
 
void suppress_movement (sys::state &state, dcon::nation_id source, dcon::movement_id m)
 
bool can_suppress_movement (sys::state &state, dcon::nation_id source, dcon::movement_id m)
 
void execute_suppress_movement (sys::state &state, dcon::nation_id source, dcon::issue_option_id iopt, dcon::national_identity_id tag)
 
void civilize_nation (sys::state &state, dcon::nation_id source)
 
bool can_civilize_nation (sys::state &state, dcon::nation_id source)
 
void execute_civilize_nation (sys::state &state, dcon::nation_id source)
 
void appoint_ruling_party (sys::state &state, dcon::nation_id source, dcon::political_party_id pa)
 
bool can_appoint_ruling_party (sys::state &state, dcon::nation_id source, dcon::political_party_id p)
 
void execute_appoint_ruling_party (sys::state &state, dcon::nation_id source, dcon::political_party_id p)
 
void enact_reform (sys::state &state, dcon::nation_id source, dcon::reform_option_id r)
 
bool can_enact_reform (sys::state &state, dcon::nation_id source, dcon::reform_option_id r)
 
void execute_enact_reform (sys::state &state, dcon::nation_id source, dcon::reform_option_id r)
 
void enact_issue (sys::state &state, dcon::nation_id source, dcon::issue_option_id i)
 
bool can_enact_issue (sys::state &state, dcon::nation_id source, dcon::issue_option_id i)
 
void execute_enact_issue (sys::state &state, dcon::nation_id source, dcon::issue_option_id i)
 
void become_interested_in_crisis (sys::state &state, dcon::nation_id source)
 
bool can_become_interested_in_crisis (sys::state &state, dcon::nation_id source)
 
void execute_become_interested_in_crisis (sys::state &state, dcon::nation_id source)
 
void take_sides_in_crisis (sys::state &state, dcon::nation_id source, bool join_attacker)
 
bool can_take_sides_in_crisis (sys::state &state, dcon::nation_id source, bool join_attacker)
 
void execute_take_sides_in_crisis (sys::state &state, dcon::nation_id source, bool join_attacker)
 
bool can_change_stockpile_settings (sys::state &state, dcon::nation_id source, dcon::commodity_id c, float target_amount, bool draw_on_stockpiles)
 
void change_stockpile_settings (sys::state &state, dcon::nation_id source, dcon::commodity_id c, float target_amount, bool draw_on_stockpiles)
 
void execute_change_stockpile_settings (sys::state &state, dcon::nation_id source, dcon::commodity_id c, float target_amount, bool draw_on_stockpiles)
 
void take_decision (sys::state &state, dcon::nation_id source, dcon::decision_id d)
 
bool can_take_decision (sys::state &state, dcon::nation_id source, dcon::decision_id d)
 
void execute_take_decision (sys::state &state, dcon::nation_id source, dcon::decision_id d)
 
void make_event_choice (sys::state &state, event::pending_human_n_event const &e, uint8_t option_id)
 
void make_event_choice (sys::state &state, event::pending_human_f_n_event const &e, uint8_t option_id)
 
void make_event_choice (sys::state &state, event::pending_human_p_event const &e, uint8_t option_id)
 
void make_event_choice (sys::state &state, event::pending_human_f_p_event const &e, uint8_t option_id)
 
void execute_make_event_choice (sys::state &state, dcon::nation_id source, pending_human_n_event_data const &e)
 
void execute_make_event_choice (sys::state &state, dcon::nation_id source, pending_human_f_n_event_data const &e)
 
void execute_make_event_choice (sys::state &state, dcon::nation_id source, pending_human_p_event_data const &e)
 
void execute_make_event_choice (sys::state &state, dcon::nation_id source, pending_human_f_p_event_data const &e)
 
void fabricate_cb (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id type, dcon::state_definition_id target_state)
 
bool valid_target_state_for_cb (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id type, dcon::state_definition_id target_state)
 
bool can_fabricate_cb (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id type, dcon::state_definition_id target_state)
 
void execute_fabricate_cb (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id type, dcon::state_definition_id target_state=dcon::state_definition_id{})
 
bool can_cancel_cb_fabrication (sys::state &state, dcon::nation_id source)
 
void cancel_cb_fabrication (sys::state &state, dcon::nation_id source)
 
void execute_cancel_cb_fabrication (sys::state &state, dcon::nation_id source)
 
void ask_for_military_access (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
bool can_ask_for_access (sys::state &state, dcon::nation_id asker, dcon::nation_id target, bool ignore_cost)
 
void execute_ask_for_access (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
void give_military_access (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
bool can_give_military_access (sys::state &state, dcon::nation_id asker, dcon::nation_id target, bool ignore_cost)
 
void execute_give_military_access (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
void ask_for_alliance (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
bool can_ask_for_alliance (sys::state &state, dcon::nation_id asker, dcon::nation_id target, bool ignore_cost)
 
void execute_ask_for_alliance (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
void toggle_interested_in_alliance (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
bool can_toggle_interested_in_alliance (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
void execute_toggle_interested_in_alliance (sys::state &state, dcon::nation_id asker, dcon::nation_id target)
 
void state_transfer (sys::state &state, dcon::nation_id asker, dcon::nation_id target, dcon::state_definition_id sid)
 
bool can_state_transfer (sys::state &state, dcon::nation_id asker, dcon::nation_id target, dcon::state_definition_id sid)
 
void execute_state_transfer (sys::state &state, dcon::nation_id asker, dcon::nation_id target, dcon::state_definition_id sid)
 
void call_to_arms (sys::state &state, dcon::nation_id asker, dcon::nation_id target, dcon::war_id w)
 
bool can_call_to_arms (sys::state &state, dcon::nation_id asker, dcon::nation_id target, dcon::war_id w, bool ignore_cost)
 
void execute_call_to_arms (sys::state &state, dcon::nation_id asker, dcon::nation_id target, dcon::war_id w)
 
void respond_to_diplomatic_message (sys::state &state, dcon::nation_id source, dcon::nation_id from, diplomatic_message::type type, bool accept)
 
void execute_respond_to_diplomatic_message (sys::state &state, dcon::nation_id source, dcon::nation_id from, diplomatic_message::type type, bool accept)
 
void cancel_military_access (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_cancel_military_access (sys::state &state, dcon::nation_id source, dcon::nation_id target, bool ignore_cost)
 
void execute_cancel_military_access (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void cancel_given_military_access (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_cancel_given_military_access (sys::state &state, dcon::nation_id source, dcon::nation_id target, bool ignore_cost)
 
void execute_cancel_given_military_access (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void cancel_alliance (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_cancel_alliance (sys::state &state, dcon::nation_id source, dcon::nation_id target, bool ignore_cost)
 
void execute_cancel_alliance (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void declare_war (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation, bool call_attacker_allies, bool run_conference)
 
bool can_declare_war (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
void execute_declare_war (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation, bool call_attacker_allies, bool run_conference)
 
void add_war_goal (sys::state &state, dcon::nation_id source, dcon::war_id w, dcon::nation_id target, dcon::cb_type_id cb_type, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
bool can_add_war_goal (sys::state &state, dcon::nation_id source, dcon::war_id w, dcon::nation_id target, dcon::cb_type_id cb_type, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
void execute_add_war_goal (sys::state &state, dcon::nation_id source, dcon::war_id w, dcon::nation_id target, dcon::cb_type_id cb_type, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
void start_peace_offer (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::war_id war, bool is_concession)
 
bool can_start_peace_offer (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::war_id war, bool is_concession)
 
void execute_start_peace_offer (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::war_id war, bool is_concession)
 
void start_crisis_peace_offer (sys::state &state, dcon::nation_id source, bool is_concession)
 
bool can_start_crisis_peace_offer (sys::state &state, dcon::nation_id source, bool is_concession)
 
void execute_start_crisis_peace_offer (sys::state &state, dcon::nation_id source, bool is_concession)
 
void add_to_peace_offer (sys::state &state, dcon::nation_id source, dcon::wargoal_id goal)
 
bool can_add_to_peace_offer (sys::state &state, dcon::nation_id source, dcon::wargoal_id goal)
 
void execute_add_to_peace_offer (sys::state &state, dcon::nation_id source, dcon::wargoal_id goal)
 
void add_to_crisis_peace_offer (sys::state &state, dcon::nation_id source, dcon::nation_id wargoal_from, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
bool can_add_to_crisis_peace_offer (sys::state &state, dcon::nation_id source, dcon::nation_id wargoal_from, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
void execute_add_to_crisis_peace_offer (sys::state &state, dcon::nation_id source, crisis_invitation_data const &data)
 
void send_peace_offer (sys::state &state, dcon::nation_id source)
 
bool can_send_peace_offer (sys::state &state, dcon::nation_id source)
 
void execute_send_peace_offer (sys::state &state, dcon::nation_id source)
 
void send_crisis_peace_offer (sys::state &state, dcon::nation_id source)
 
bool can_send_crisis_peace_offer (sys::state &state, dcon::nation_id source)
 
void execute_send_crisis_peace_offer (sys::state &state, dcon::nation_id source)
 
void move_army (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::province_id dest, bool reset)
 
bool can_partial_retreat_from (sys::state &state, dcon::land_battle_id b)
 
bool can_partial_retreat_from (sys::state &state, dcon::naval_battle_id b)
 
std::vector< dcon::province_id > can_move_army (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::province_id dest)
 
std::vector< dcon::province_id > calculate_army_path (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::province_id last_province, dcon::province_id dest)
 
void execute_move_army (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::province_id dest, bool reset)
 
void move_navy (sys::state &state, dcon::nation_id source, dcon::navy_id n, dcon::province_id dest, bool reset)
 
std::vector< dcon::province_id > can_move_navy (sys::state &state, dcon::nation_id source, dcon::navy_id n, dcon::province_id dest)
 
std::vector< dcon::province_id > calculate_navy_path (sys::state &state, dcon::nation_id source, dcon::navy_id n, dcon::province_id last_province, dcon::province_id dest)
 
void execute_move_navy (sys::state &state, dcon::nation_id source, dcon::navy_id n, dcon::province_id dest, bool reset)
 
void embark_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
bool can_embark_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_embark_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void merge_armies (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::army_id b)
 
bool can_merge_armies (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::army_id b)
 
void execute_merge_armies (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::army_id b)
 
void merge_navies (sys::state &state, dcon::nation_id source, dcon::navy_id a, dcon::navy_id b)
 
bool can_merge_navies (sys::state &state, dcon::nation_id source, dcon::navy_id a, dcon::navy_id b)
 
void execute_merge_navies (sys::state &state, dcon::nation_id source, dcon::navy_id a, dcon::navy_id b)
 
void disband_undermanned_regiments (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
bool can_disband_undermanned_regiments (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_disband_undermanned_regiments (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void toggle_rebel_hunting (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_toggle_rebel_hunting (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void toggle_unit_ai_control (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_toggle_unit_ai_control (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void toggle_mobilized_is_ai_controlled (sys::state &state, dcon::nation_id source)
 
void execute_toggle_mobilized_is_ai_controlled (sys::state &state, dcon::nation_id source)
 
void change_unit_type (sys::state &state, dcon::nation_id source, dcon::regiment_id regiments[num_packed_units], dcon::ship_id ships[num_packed_units], dcon::unit_type_id new_type)
 
bool can_change_unit_type (sys::state &state, dcon::nation_id source, dcon::regiment_id regiments[num_packed_units], dcon::ship_id ships[num_packed_units], dcon::unit_type_id new_type)
 
void execute_change_unit_type (sys::state &state, dcon::nation_id source, dcon::regiment_id regiments[num_packed_units], dcon::ship_id ships[num_packed_units], dcon::unit_type_id new_type)
 
void toggle_select_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
bool can_toggle_select_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
void execute_toggle_select_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
void toggle_immigrator_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
bool can_toggle_immigrator_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
void execute_toggle_immigrator_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
void release_subject (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_release_subject (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_release_subject (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void notify_console_command (sys::state &state)
 
void execute_console_command (sys::state &state)
 
void evenly_split_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
bool can_evenly_split_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_evenly_split_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void evenly_split_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
bool can_evenly_split_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
void execute_evenly_split_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
void split_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
bool can_split_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_split_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void split_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
bool can_split_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
void execute_split_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
void delete_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
bool can_delete_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void execute_delete_army (sys::state &state, dcon::nation_id source, dcon::army_id a)
 
void delete_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
bool can_delete_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
void execute_delete_navy (sys::state &state, dcon::nation_id source, dcon::navy_id a)
 
void change_general (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::leader_id l)
 
bool can_change_general (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::leader_id l)
 
void execute_change_general (sys::state &state, dcon::nation_id source, dcon::army_id a, dcon::leader_id l)
 
void change_admiral (sys::state &state, dcon::nation_id source, dcon::navy_id a, dcon::leader_id l)
 
bool can_change_admiral (sys::state &state, dcon::nation_id source, dcon::navy_id a, dcon::leader_id l)
 
void execute_change_admiral (sys::state &state, dcon::nation_id source, dcon::navy_id a, dcon::leader_id l)
 
void mark_regiments_to_split (sys::state &state, dcon::nation_id source, std::array< dcon::regiment_id, num_packed_units > const &list)
 
void execute_mark_regiments_to_split (sys::state &state, dcon::nation_id source, dcon::regiment_id const *regs)
 
void mark_ships_to_split (sys::state &state, dcon::nation_id source, std::array< dcon::ship_id, num_packed_units > const &list)
 
void execute_mark_ships_to_split (sys::state &state, dcon::nation_id source, dcon::ship_id const *regs)
 
void retreat_from_naval_battle (sys::state &state, dcon::nation_id source, dcon::naval_battle_id b)
 
bool can_retreat_from_naval_battle (sys::state &state, dcon::nation_id source, dcon::naval_battle_id b)
 
void execute_retreat_from_naval_battle (sys::state &state, dcon::nation_id source, dcon::naval_battle_id b)
 
void retreat_from_land_battle (sys::state &state, dcon::nation_id source, dcon::land_battle_id b)
 
bool can_retreat_from_land_battle (sys::state &state, dcon::nation_id source, dcon::land_battle_id b)
 
void execute_retreat_from_land_battle (sys::state &state, dcon::nation_id source, dcon::land_battle_id b)
 
void invite_to_crisis (sys::state &state, dcon::nation_id source, dcon::nation_id invitation_to, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
bool can_invite_to_crisis (sys::state &state, dcon::nation_id source, dcon::nation_id invitation_to, dcon::nation_id target, dcon::cb_type_id primary_cb, dcon::state_definition_id cb_state, dcon::national_identity_id cb_tag, dcon::nation_id cb_secondary_nation)
 
void execute_invite_to_crisis (sys::state &state, dcon::nation_id source, crisis_invitation_data const &data)
 
void queue_crisis_add_wargoal (sys::state &state, dcon::nation_id source, sys::full_wg wg)
 
void execute_crisis_add_wargoal (sys::state &state, dcon::nation_id source, new_war_goal_data const &data)
 
bool crisis_can_add_wargoal (sys::state &state, dcon::nation_id source, sys::full_wg wg)
 
void toggle_mobilization (sys::state &state, dcon::nation_id source)
 
void execute_toggle_mobilization (sys::state &state, dcon::nation_id source)
 
void enable_debt (sys::state &state, dcon::nation_id source, bool debt_is_enabled)
 
void execute_enable_debt (sys::state &state, dcon::nation_id source, bool debt_is_enabled)
 
void move_capital (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
bool can_move_capital (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void execute_move_capital (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void take_province (sys::state &state, dcon::nation_id source, dcon::province_id prov)
 
bool can_take_province (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void execute_take_province (sys::state &state, dcon::nation_id source, dcon::province_id p)
 
void use_province_button (sys::state &state, dcon::nation_id source, dcon::gui_def_id d, dcon::province_id i)
 
bool can_use_province_button (sys::state &state, dcon::nation_id source, dcon::gui_def_id d, dcon::province_id p)
 
void execute_use_province_button (sys::state &state, dcon::nation_id source, dcon::gui_def_id d, dcon::province_id p)
 
void use_nation_button (sys::state &state, dcon::nation_id source, dcon::gui_def_id d, dcon::nation_id n)
 
bool can_use_nation_button (sys::state &state, dcon::nation_id source, dcon::gui_def_id d, dcon::nation_id n)
 
void execute_use_nation_button (sys::state &state, dcon::nation_id source, dcon::gui_def_id d, dcon::nation_id n)
 
void post_chat_message (sys::state &state, ui::chat_message &m)
 
void chat_message (sys::state &state, dcon::nation_id source, std::string_view body, dcon::nation_id target)
 
bool can_chat_message (sys::state &state, dcon::nation_id source, std::string_view body, dcon::nation_id target)
 
void execute_chat_message (sys::state &state, dcon::nation_id source, std::string_view body, dcon::nation_id target)
 
void notify_player_joins (sys::state &state, dcon::nation_id source, sys::player_name &name)
 
bool can_notify_player_joins (sys::state &state, dcon::nation_id source, sys::player_name &name)
 
void execute_notify_player_joins (sys::state &state, dcon::nation_id source, sys::player_name &name, sys::player_password_raw &password)
 
void notify_player_leaves (sys::state &state, dcon::nation_id source, bool make_ai)
 
bool can_notify_player_leaves (sys::state &state, dcon::nation_id source, bool make_ai)
 
void execute_notify_player_leaves (sys::state &state, dcon::nation_id source, bool make_ai)
 
void notify_player_ban (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_notify_player_ban (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_notify_player_ban (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void notify_player_kick (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_notify_player_kick (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_notify_player_kick (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void notify_player_picks_nation (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
bool can_notify_player_picks_nation (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void execute_notify_player_picks_nation (sys::state &state, dcon::nation_id source, dcon::nation_id target)
 
void notify_player_oos (sys::state &state, dcon::nation_id source)
 
void execute_notify_player_oos (sys::state &state, dcon::nation_id source)
 
void advance_tick (sys::state &state, dcon::nation_id source)
 
void execute_advance_tick (sys::state &state, dcon::nation_id source, sys::checksum_key &k, int32_t speed)
 
void notify_save_loaded (sys::state &state, dcon::nation_id source)
 
void execute_notify_save_loaded (sys::state &state, dcon::nation_id source, sys::checksum_key &k)
 
void notify_reload (sys::state &state, dcon::nation_id source)
 
void execute_notify_reload (sys::state &state, dcon::nation_id source, sys::checksum_key &k)
 
void execute_notify_start_game (sys::state &state, dcon::nation_id source)
 
void notify_start_game (sys::state &state, dcon::nation_id source)
 
void execute_notify_stop_game (sys::state &state, dcon::nation_id source)
 
void notify_stop_game (sys::state &state, dcon::nation_id source)
 
void execute_notify_pause_game (sys::state &state, dcon::nation_id source)
 
void notify_pause_game (sys::state &state, dcon::nation_id source)
 
void network_inactivity_ping (sys::state &state, dcon::nation_id source, sys::date date)
 
void execute_network_inactivity_ping (sys::state &state, dcon::nation_id source, sys::date date)
 
bool can_perform_command (sys::state &state, payload &c)
 
void execute_command (sys::state &state, payload &c)
 
void execute_pending_commands (sys::state &state)
 
budget_settings_data make_empty_budget_settings ()
 
void notify_player_joins (sys::state &state, dcon::nation_id source, sys::player_name &name, sys::player_password_raw &password)
 

Variables

constexpr size_t num_packed_units = 10
 

Enumeration Type Documentation

◆ command_type

enum class command::command_type : uint8_t
strong
Enumerator
invalid 
change_nat_focus 
start_research 
make_leader 
begin_province_building_construction 
increase_relations 
decrease_relations 
begin_factory_building_construction 
begin_naval_unit_construction 
cancel_naval_unit_construction 
change_factory_settings 
delete_factory 
make_vassal 
release_and_play_nation 
war_subsidies 
cancel_war_subsidies 
change_budget 
start_election 
change_influence_priority 
discredit_advisors 
expel_advisors 
ban_embassy 
increase_opinion 
decrease_opinion 
add_to_sphere 
remove_from_sphere 
upgrade_colony_to_state 
invest_in_colony 
abandon_colony 
finish_colonization 
intervene_in_war 
suppress_movement 
civilize_nation 
appoint_ruling_party 
change_issue_option 
change_reform_option 
become_interested_in_crisis 
take_sides_in_crisis 
begin_land_unit_construction 
cancel_land_unit_construction 
change_stockpile_settings 
take_decision 
make_n_event_choice 
make_f_n_event_choice 
make_p_event_choice 
make_f_p_event_choice 
fabricate_cb 
cancel_cb_fabrication 
ask_for_military_access 
ask_for_alliance 
call_to_arms 
respond_to_diplomatic_message 
cancel_military_access 
cancel_alliance 
cancel_given_military_access 
declare_war 
add_war_goal 
start_peace_offer 
add_peace_offer_term 
send_peace_offer 
move_army 
move_navy 
embark_army 
merge_armies 
merge_navies 
split_army 
split_navy 
delete_army 
delete_navy 
designate_split_regiments 
designate_split_ships 
naval_retreat 
land_retreat 
start_crisis_peace_offer 
invite_to_crisis 
add_wargoal_to_crisis_offer 
send_crisis_peace_offer 
change_admiral 
change_general 
toggle_mobilization 
give_military_access 
set_rally_point 
save_game 
cancel_factory_building_construction 
disband_undermanned 
even_split_army 
even_split_navy 
toggle_hunt_rebels 
toggle_select_province 
toggle_immigrator_province 
state_transfer 
release_subject 
enable_debt 
move_capital 
toggle_unit_ai_control 
toggle_mobilized_is_ai_controlled 
toggle_interested_in_alliance 
pbutton_script 
nbutton_script 
set_factory_type_priority 
crisis_add_wargoal 
change_unit_type 
take_province 
grant_province 
notify_player_ban 
notify_player_kick 
notify_player_picks_nation 
notify_player_joins 
notify_player_leaves 
notify_player_oos 
notify_save_loaded 
notify_start_game 
notify_stop_game 
notify_pause_game 
notify_reload 
advance_tick 
chat_message 
network_inactivity_ping 
console_command 

Definition at line 9 of file commands.hpp.

Function Documentation

◆ abandon_colony()

void command::abandon_colony ( sys::state state,
dcon::nation_id  source,
dcon::province_id  pr 
)

Definition at line 1628 of file commands.cpp.

Here is the call graph for this function:

◆ add_to_command_queue()

void command::add_to_command_queue ( sys::state state,
payload p 
)

Definition at line 25 of file commands.cpp.

Here is the call graph for this function:

◆ add_to_crisis_peace_offer()

void command::add_to_crisis_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  wargoal_from,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 3076 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add_to_peace_offer()

void command::add_to_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::wargoal_id  goal 
)

Definition at line 3005 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add_to_sphere()

void command::add_to_sphere ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target 
)

Definition at line 1431 of file commands.cpp.

Here is the call graph for this function:

◆ add_war_goal()

void command::add_war_goal ( sys::state state,
dcon::nation_id  source,
dcon::war_id  w,
dcon::nation_id  target,
dcon::cb_type_id  cb_type,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 2824 of file commands.cpp.

Here is the call graph for this function:

◆ advance_tick()

void command::advance_tick ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5118 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ appoint_ruling_party()

void command::appoint_ruling_party ( sys::state state,
dcon::nation_id  source,
dcon::political_party_id  pa 
)

Definition at line 1843 of file commands.cpp.

Here is the call graph for this function:

◆ ask_for_alliance()

void command::ask_for_alliance ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2376 of file commands.cpp.

Here is the call graph for this function:

◆ ask_for_military_access()

void command::ask_for_military_access ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2301 of file commands.cpp.

Here is the call graph for this function:

◆ ban_embassy()

void command::ban_embassy ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1222 of file commands.cpp.

Here is the call graph for this function:

◆ become_interested_in_crisis()

void command::become_interested_in_crisis ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1932 of file commands.cpp.

Here is the call graph for this function:

◆ begin_factory_building_construction()

void command::begin_factory_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  location,
dcon::factory_type_id  type,
bool  is_upgrade 
)

Definition at line 501 of file commands.cpp.

Here is the call graph for this function:

◆ begin_province_building_construction()

void command::begin_province_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov,
economy::province_building_type  type 
)

Definition at line 414 of file commands.cpp.

Here is the call graph for this function:

◆ calculate_army_path()

std::vector< dcon::province_id > command::calculate_army_path ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::province_id  last_province,
dcon::province_id  dest 
)

Definition at line 3303 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_navy_path()

std::vector< dcon::province_id > command::calculate_navy_path ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  n,
dcon::province_id  last_province,
dcon::province_id  dest 
)

Definition at line 3541 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ call_to_arms()

void command::call_to_arms ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
dcon::war_id  w 
)

Definition at line 2508 of file commands.cpp.

Here is the call graph for this function:

◆ can_abandon_colony()

bool command::can_abandon_colony ( sys::state state,
dcon::nation_id  source,
dcon::province_id  pr 
)

Definition at line 1637 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_add_to_crisis_peace_offer()

bool command::can_add_to_crisis_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  wargoal_from,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 3091 of file commands.cpp.

Here is the caller graph for this function:

◆ can_add_to_peace_offer()

bool command::can_add_to_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::wargoal_id  goal 
)

Definition at line 3013 of file commands.cpp.

Here is the caller graph for this function:

◆ can_add_to_sphere()

bool command::can_add_to_sphere ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target 
)

Definition at line 1439 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_add_war_goal()

bool command::can_add_war_goal ( sys::state state,
dcon::nation_id  source,
dcon::war_id  w,
dcon::nation_id  target,
dcon::cb_type_id  cb_type,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 2838 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_appoint_ruling_party()

bool command::can_appoint_ruling_party ( sys::state state,
dcon::nation_id  source,
dcon::political_party_id  p 
)

Definition at line 1851 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_ask_for_access()

bool command::can_ask_for_access ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
bool  ignore_cost 
)

Definition at line 2309 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_ask_for_alliance()

bool command::can_ask_for_alliance ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
bool  ignore_cost 
)

Definition at line 2384 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_ban_embassy()

bool command::can_ban_embassy ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1231 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_become_interested_in_crisis()

bool command::can_become_interested_in_crisis ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1939 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_begin_factory_building_construction()

bool command::can_begin_factory_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  location,
dcon::factory_type_id  type,
bool  is_upgrade 
)

Definition at line 512 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_begin_province_building_construction()

bool command::can_begin_province_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p,
economy::province_building_type  type 
)

Definition at line 423 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_call_to_arms()

bool command::can_call_to_arms ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
dcon::war_id  w,
bool  ignore_cost 
)

Definition at line 2517 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_cancel_alliance()

bool command::can_cancel_alliance ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
bool  ignore_cost 
)

Definition at line 2665 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_cb_fabrication()

bool command::can_cancel_cb_fabrication ( sys::state state,
dcon::nation_id  source 
)

Definition at line 2282 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_factory_building_construction()

bool command::can_cancel_factory_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  location,
dcon::factory_type_id  type 
)

Definition at line 474 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_given_military_access()

bool command::can_cancel_given_military_access ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
bool  ignore_cost 
)

Definition at line 2626 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_land_unit_construction()

bool command::can_cancel_land_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::culture_id  soldier_culture,
dcon::unit_type_id  type 
)

Definition at line 778 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_military_access()

bool command::can_cancel_military_access ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
bool  ignore_cost 
)

Definition at line 2587 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_naval_unit_construction()

bool command::can_cancel_naval_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::unit_type_id  type 
)

Definition at line 754 of file commands.cpp.

Here is the caller graph for this function:

◆ can_cancel_war_subsidies()

bool command::can_cancel_war_subsidies ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 304 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_change_admiral()

bool command::can_change_admiral ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a,
dcon::leader_id  l 
)

Definition at line 4386 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_change_budget_settings()

bool command::can_change_budget_settings ( sys::state state,
dcon::nation_id  source,
budget_settings_data const &  values 
)
inline

Definition at line 967 of file commands.cpp.

Here is the caller graph for this function:

◆ can_change_factory_settings()

bool command::can_change_factory_settings ( sys::state state,
dcon::nation_id  source,
dcon::factory_id  f,
uint8_t  priority,
bool  subsidized 
)

Definition at line 845 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_change_general()

bool command::can_change_general ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::leader_id  l 
)

Definition at line 4367 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_change_influence_priority()

bool command::can_change_influence_priority ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
uint8_t  priority 
)

Definition at line 1049 of file commands.cpp.

Here is the caller graph for this function:

◆ can_change_stockpile_settings()

bool command::can_change_stockpile_settings ( sys::state state,
dcon::nation_id  source,
dcon::commodity_id  c,
float  target_amount,
bool  draw_on_stockpiles 
)

Definition at line 2021 of file commands.cpp.

Here is the caller graph for this function:

◆ can_change_unit_type()

bool command::can_change_unit_type ( sys::state state,
dcon::nation_id  source,
dcon::regiment_id  regiments[num_packed_units],
dcon::ship_id  ships[num_packed_units],
dcon::unit_type_id  new_type 
)

Definition at line 3909 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_chat_message()

bool command::can_chat_message ( sys::state state,
dcon::nation_id  source,
std::string_view  body,
dcon::nation_id  target 
)

Definition at line 4889 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_civilize_nation()

bool command::can_civilize_nation ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1836 of file commands.cpp.

Here is the caller graph for this function:

◆ can_declare_war()

bool command::can_declare_war ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 2709 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_decrease_opinion()

bool command::can_decrease_opinion ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1360 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_decrease_relations()

bool command::can_decrease_relations ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 386 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_delete_army()

bool command::can_delete_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4324 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_delete_factory()

bool command::can_delete_factory ( sys::state state,
dcon::nation_id  source,
dcon::factory_id  f 
)

Definition at line 802 of file commands.cpp.

Here is the caller graph for this function:

◆ can_delete_navy()

bool command::can_delete_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4345 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_disband_undermanned_regiments()

bool command::can_disband_undermanned_regiments ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3799 of file commands.cpp.

Here is the caller graph for this function:

◆ can_discredit_advisors()

bool command::can_discredit_advisors ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1086 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_embark_army()

bool command::can_embark_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3633 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_enact_issue()

bool command::can_enact_issue ( sys::state state,
dcon::nation_id  source,
dcon::issue_option_id  i 
)

Definition at line 1915 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_enact_reform()

bool command::can_enact_reform ( sys::state state,
dcon::nation_id  source,
dcon::reform_option_id  r 
)

Definition at line 1891 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_evenly_split_army()

bool command::can_evenly_split_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4118 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_evenly_split_navy()

bool command::can_evenly_split_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4174 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_expel_advisors()

bool command::can_expel_advisors ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1161 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_fabricate_cb()

bool command::can_fabricate_cb ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  type,
dcon::state_definition_id  target_state 
)

Definition at line 2224 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_finish_colonization()

bool command::can_finish_colonization ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 1660 of file commands.cpp.

Here is the caller graph for this function:

◆ can_give_military_access()

bool command::can_give_military_access ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
bool  ignore_cost 
)

Definition at line 2349 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_give_war_subsidies()

bool command::can_give_war_subsidies ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 259 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_increase_opinion()

bool command::can_increase_opinion ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target 
)

Definition at line 1302 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_increase_relations()

bool command::can_increase_relations ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 346 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_intervene_in_war()

bool command::can_intervene_in_war ( sys::state state,
dcon::nation_id  source,
dcon::war_id  w,
bool  for_attacker 
)

Definition at line 1697 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_invest_in_colony()

bool command::can_invest_in_colony ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 1591 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_invite_to_crisis()

bool command::can_invite_to_crisis ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  invitation_to,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 4506 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_make_leader()

bool command::can_make_leader ( sys::state state,
dcon::nation_id  source,
bool  general 
)

Definition at line 227 of file commands.cpp.

Here is the caller graph for this function:

◆ can_make_vassal()

bool command::can_make_vassal ( sys::state state,
dcon::nation_id  source,
dcon::national_identity_id  t 
)

Definition at line 904 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_merge_armies()

bool command::can_merge_armies ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::army_id  b 
)

Definition at line 3689 of file commands.cpp.

Here is the caller graph for this function:

◆ can_merge_navies()

bool command::can_merge_navies ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a,
dcon::navy_id  b 
)

Definition at line 3744 of file commands.cpp.

Here is the caller graph for this function:

◆ can_move_army()

std::vector< dcon::province_id > command::can_move_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::province_id  dest 
)

Definition at line 3284 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_move_capital()

bool command::can_move_capital ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 4713 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_move_navy()

std::vector< dcon::province_id > command::can_move_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  n,
dcon::province_id  dest 
)

Definition at line 3522 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_notify_player_ban()

bool command::can_notify_player_ban ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 4993 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_notify_player_joins()

bool command::can_notify_player_joins ( sys::state state,
dcon::nation_id  source,
sys::player_name name 
)

Definition at line 4909 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_notify_player_kick()

bool command::can_notify_player_kick ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 5027 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_notify_player_leaves()

bool command::can_notify_player_leaves ( sys::state state,
dcon::nation_id  source,
bool  make_ai 
)

Definition at line 4959 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_notify_player_picks_nation()

bool command::can_notify_player_picks_nation ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 5061 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_partial_retreat_from() [1/2]

bool command::can_partial_retreat_from ( sys::state state,
dcon::land_battle_id  b 
)

Definition at line 3269 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_partial_retreat_from() [2/2]

bool command::can_partial_retreat_from ( sys::state state,
dcon::naval_battle_id  b 
)

Definition at line 3276 of file commands.cpp.

Here is the call graph for this function:

◆ can_perform_command()

bool command::can_perform_command ( sys::state state,
payload c 
)

Definition at line 5293 of file commands.cpp.

Here is the caller graph for this function:

◆ can_release_and_play_as()

bool command::can_release_and_play_as ( sys::state state,
dcon::nation_id  source,
dcon::national_identity_id  t 
)

Definition at line 931 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_release_subject()

bool command::can_release_subject ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 4042 of file commands.cpp.

Here is the caller graph for this function:

◆ can_remove_from_sphere()

bool command::can_remove_from_sphere ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1499 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_retreat_from_land_battle()

bool command::can_retreat_from_land_battle ( sys::state state,
dcon::nation_id  source,
dcon::land_battle_id  b 
)

Definition at line 4472 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_retreat_from_naval_battle()

bool command::can_retreat_from_naval_battle ( sys::state state,
dcon::nation_id  source,
dcon::naval_battle_id  b 
)

Definition at line 4444 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_send_crisis_peace_offer()

bool command::can_send_crisis_peace_offer ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3222 of file commands.cpp.

Here is the caller graph for this function:

◆ can_send_peace_offer()

bool command::can_send_peace_offer ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3153 of file commands.cpp.

Here is the caller graph for this function:

◆ can_set_factory_type_priority()

bool command::can_set_factory_type_priority ( sys::state state,
dcon::nation_id  source,
dcon::factory_type_id  ftid,
float  value 
)

Definition at line 243 of file commands.cpp.

Here is the caller graph for this function:

◆ can_set_national_focus()

bool command::can_set_national_focus ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  target_state,
dcon::national_focus_id  focus 
)

Definition at line 122 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_split_army()

bool command::can_split_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4229 of file commands.cpp.

Here is the caller graph for this function:

◆ can_split_navy()

bool command::can_split_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4277 of file commands.cpp.

Here is the caller graph for this function:

◆ can_start_crisis_peace_offer()

bool command::can_start_crisis_peace_offer ( sys::state state,
dcon::nation_id  source,
bool  is_concession 
)

Definition at line 2989 of file commands.cpp.

Here is the caller graph for this function:

◆ can_start_election()

bool command::can_start_election ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1032 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_start_land_unit_construction()

bool command::can_start_land_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::culture_id  soldier_culture,
dcon::unit_type_id  type,
dcon::province_id  template_province 
)

Definition at line 705 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_start_naval_unit_construction()

bool command::can_start_naval_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::unit_type_id  type,
dcon::province_id  template_province 
)

Definition at line 646 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_start_peace_offer()

bool command::can_start_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::war_id  war,
bool  is_concession 
)

Definition at line 2932 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_start_research()

bool command::can_start_research ( sys::state state,
dcon::nation_id  source,
dcon::technology_id  tech 
)

Definition at line 188 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_state_transfer()

bool command::can_state_transfer ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
dcon::state_definition_id  sid 
)

Definition at line 2462 of file commands.cpp.

Here is the caller graph for this function:

◆ can_suppress_movement()

bool command::can_suppress_movement ( sys::state state,
dcon::nation_id  source,
dcon::movement_id  m 
)

Definition at line 1808 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_take_decision()

bool command::can_take_decision ( sys::state state,
dcon::nation_id  source,
dcon::decision_id  d 
)

Definition at line 2052 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_take_province()

bool command::can_take_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 4752 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_take_sides_in_crisis()

bool command::can_take_sides_in_crisis ( sys::state state,
dcon::nation_id  source,
bool  join_attacker 
)

Definition at line 1982 of file commands.cpp.

Here is the caller graph for this function:

◆ can_toggle_immigrator_province()

bool command::can_toggle_immigrator_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4023 of file commands.cpp.

Here is the caller graph for this function:

◆ can_toggle_interested_in_alliance()

bool command::can_toggle_interested_in_alliance ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2439 of file commands.cpp.

Here is the caller graph for this function:

◆ can_toggle_select_province()

bool command::can_toggle_select_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4004 of file commands.cpp.

Here is the caller graph for this function:

◆ can_upgrade_colony_to_state()

bool command::can_upgrade_colony_to_state ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  si 
)

Definition at line 1576 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_use_nation_button()

bool command::can_use_nation_button ( sys::state state,
dcon::nation_id  source,
dcon::gui_def_id  d,
dcon::nation_id  n 
)

Definition at line 4841 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ can_use_province_button()

bool command::can_use_province_button ( sys::state state,
dcon::nation_id  source,
dcon::gui_def_id  d,
dcon::province_id  p 
)

Definition at line 4816 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cancel_alliance()

void command::cancel_alliance ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 2657 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_cb_fabrication()

void command::cancel_cb_fabrication ( sys::state state,
dcon::nation_id  source 
)

Definition at line 2286 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_factory_building_construction()

void command::cancel_factory_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  location,
dcon::factory_type_id  type 
)

Definition at line 465 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_given_military_access()

void command::cancel_given_military_access ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 2618 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_land_unit_construction()

void command::cancel_land_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::culture_id  soldier_culture,
dcon::unit_type_id  type 
)

Definition at line 768 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_military_access()

void command::cancel_military_access ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 2579 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_naval_unit_construction()

void command::cancel_naval_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::unit_type_id  type 
)

Definition at line 744 of file commands.cpp.

Here is the call graph for this function:

◆ cancel_war_subsidies()

void command::cancel_war_subsidies ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 296 of file commands.cpp.

Here is the call graph for this function:

◆ change_admiral()

void command::change_admiral ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a,
dcon::leader_id  l 
)

Definition at line 4377 of file commands.cpp.

Here is the call graph for this function:

◆ change_budget_settings()

void command::change_budget_settings ( sys::state state,
dcon::nation_id  source,
budget_settings_data const &  values 
)

Definition at line 971 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ change_factory_settings()

void command::change_factory_settings ( sys::state state,
dcon::nation_id  source,
dcon::factory_id  f,
uint8_t  priority,
bool  subsidized 
)

Definition at line 834 of file commands.cpp.

Here is the call graph for this function:

◆ change_general()

void command::change_general ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::leader_id  l 
)

Definition at line 4358 of file commands.cpp.

Here is the call graph for this function:

◆ change_influence_priority()

void command::change_influence_priority ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
uint8_t  priority 
)

Definition at line 1040 of file commands.cpp.

Here is the call graph for this function:

◆ change_stockpile_settings()

void command::change_stockpile_settings ( sys::state state,
dcon::nation_id  source,
dcon::commodity_id  c,
float  target_amount,
bool  draw_on_stockpiles 
)

Definition at line 2026 of file commands.cpp.

Here is the call graph for this function:

◆ change_unit_type()

void command::change_unit_type ( sys::state state,
dcon::nation_id  source,
dcon::regiment_id  regiments[num_packed_units],
dcon::ship_id  ships[num_packed_units],
dcon::unit_type_id  new_type 
)

Definition at line 3892 of file commands.cpp.

Here is the call graph for this function:

◆ chat_message()

void command::chat_message ( sys::state state,
dcon::nation_id  source,
std::string_view  body,
dcon::nation_id  target 
)

Definition at line 4879 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ civilize_nation()

void command::civilize_nation ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1829 of file commands.cpp.

Here is the call graph for this function:

◆ crisis_can_add_wargoal()

bool command::crisis_can_add_wargoal ( sys::state state,
dcon::nation_id  source,
sys::full_wg  wg 
)

Definition at line 4625 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ declare_war()

void command::declare_war ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation,
bool  call_attacker_allies,
bool  run_conference 
)

Definition at line 2692 of file commands.cpp.

Here is the call graph for this function:

◆ decrease_opinion()

void command::decrease_opinion ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1351 of file commands.cpp.

Here is the call graph for this function:

◆ decrease_relations()

void command::decrease_relations ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 378 of file commands.cpp.

Here is the call graph for this function:

◆ delete_army()

void command::delete_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4316 of file commands.cpp.

Here is the call graph for this function:

◆ delete_factory()

void command::delete_factory ( sys::state state,
dcon::nation_id  source,
dcon::factory_id  f 
)

Definition at line 793 of file commands.cpp.

Here is the call graph for this function:

◆ delete_navy()

void command::delete_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4336 of file commands.cpp.

Here is the call graph for this function:

◆ disband_undermanned_regiments()

void command::disband_undermanned_regiments ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3791 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ discredit_advisors()

void command::discredit_advisors ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1077 of file commands.cpp.

Here is the call graph for this function:

◆ embark_army()

void command::embark_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3624 of file commands.cpp.

Here is the call graph for this function:

◆ enable_debt()

void command::enable_debt ( sys::state state,
dcon::nation_id  source,
bool  debt_is_enabled 
)

Definition at line 4691 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enact_issue()

void command::enact_issue ( sys::state state,
dcon::nation_id  source,
dcon::issue_option_id  i 
)

Definition at line 1907 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enact_reform()

void command::enact_reform ( sys::state state,
dcon::nation_id  source,
dcon::reform_option_id  r 
)

Definition at line 1883 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ evenly_split_army()

void command::evenly_split_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4110 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ evenly_split_navy()

void command::evenly_split_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4166 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_abandon_colony()

void command::execute_abandon_colony ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 1642 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_add_to_crisis_peace_offer()

void command::execute_add_to_crisis_peace_offer ( sys::state state,
dcon::nation_id  source,
crisis_invitation_data const &  data 
)

Definition at line 3133 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_add_to_peace_offer()

void command::execute_add_to_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::wargoal_id  goal 
)

Definition at line 3071 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_add_to_sphere()

void command::execute_add_to_sphere ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target 
)

Definition at line 1471 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_add_war_goal()

void command::execute_add_war_goal ( sys::state state,
dcon::nation_id  source,
dcon::war_id  w,
dcon::nation_id  target,
dcon::cb_type_id  cb_type,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 2906 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_advance_tick()

void command::execute_advance_tick ( sys::state state,
dcon::nation_id  source,
sys::checksum_key k,
int32_t  speed 
)

Definition at line 5130 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_appoint_ruling_party()

void command::execute_appoint_ruling_party ( sys::state state,
dcon::nation_id  source,
dcon::political_party_id  p 
)

Definition at line 1879 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_ask_for_access()

void command::execute_ask_for_access ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2329 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_ask_for_alliance()

void command::execute_ask_for_alliance ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2416 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_ban_embassy()

void command::execute_ban_embassy ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1266 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_become_interested_in_crisis()

void command::execute_become_interested_in_crisis ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1964 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_begin_factory_building_construction()

void command::execute_begin_factory_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  location,
dcon::factory_type_id  type,
bool  is_upgrade 
)

Definition at line 615 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_begin_province_building_construction()

void command::execute_begin_province_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p,
economy::province_building_type  type 
)

Definition at line 439 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_call_to_arms()

void command::execute_call_to_arms ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
dcon::war_id  w 
)

Definition at line 2538 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_cancel_alliance()

void command::execute_cancel_alliance ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 2685 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_cancel_cb_fabrication()

void command::execute_cancel_cb_fabrication ( sys::state state,
dcon::nation_id  source 
)

Definition at line 2293 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_cancel_factory_building_construction()

void command::execute_cancel_factory_building_construction ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  location,
dcon::factory_type_id  type 
)

Definition at line 487 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_cancel_given_military_access()

void command::execute_cancel_given_military_access ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 2637 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_cancel_land_unit_construction()

void command::execute_cancel_land_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::culture_id  soldier_culture,
dcon::unit_type_id  type 
)

Definition at line 781 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_cancel_military_access()

void command::execute_cancel_military_access ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 2600 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_cancel_naval_unit_construction()

void command::execute_cancel_naval_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::unit_type_id  type 
)

Definition at line 758 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_cancel_war_subsidies()

void command::execute_cancel_war_subsidies ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 318 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_change_admiral()

void command::execute_change_admiral ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a,
dcon::leader_id  l 
)

Definition at line 4392 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_change_budget_settings()

void command::execute_change_budget_settings ( sys::state state,
dcon::nation_id  source,
budget_settings_data const &  values 
)

Definition at line 979 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_change_factory_settings()

void command::execute_change_factory_settings ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::factory_type_id  type,
uint8_t  priority,
bool  subsidized 
)

Definition at line 867 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_change_general()

void command::execute_change_general ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::leader_id  l 
)

Definition at line 4373 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_change_influence_priority()

void command::execute_change_influence_priority ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
uint8_t  priority 
)

Definition at line 1053 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_change_stockpile_settings()

void command::execute_change_stockpile_settings ( sys::state state,
dcon::nation_id  source,
dcon::commodity_id  c,
float  target_amount,
bool  draw_on_stockpiles 
)

Definition at line 2038 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_change_unit_type()

void command::execute_change_unit_type ( sys::state state,
dcon::nation_id  source,
dcon::regiment_id  regiments[num_packed_units],
dcon::ship_id  ships[num_packed_units],
dcon::unit_type_id  new_type 
)

Definition at line 3979 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_chat_message()

void command::execute_chat_message ( sys::state state,
dcon::nation_id  source,
std::string_view  body,
dcon::nation_id  target 
)

Definition at line 4893 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_civilize_nation()

void command::execute_civilize_nation ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1839 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_command()

void command::execute_command ( sys::state state,
payload c 
)

Definition at line 5666 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_console_command()

void command::execute_console_command ( sys::state state)

Definition at line 4059 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_crisis_add_wargoal()

void command::execute_crisis_add_wargoal ( sys::state state,
dcon::nation_id  source,
new_war_goal_data const &  data 
)

Definition at line 4608 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_declare_war()

void command::execute_declare_war ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation,
bool  call_attacker_allies,
bool  run_conference 
)

Definition at line 2746 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_decrease_opinion()

void command::execute_decrease_opinion ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1404 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_decrease_relations()

void command::execute_decrease_relations ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 400 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_delete_army()

void command::execute_delete_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4329 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_delete_factory()

void command::execute_delete_factory ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::factory_type_id  type 
)

Definition at line 811 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_delete_navy()

void command::execute_delete_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4351 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_disband_undermanned_regiments()

void command::execute_disband_undermanned_regiments ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3803 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_discredit_advisors()

void command::execute_discredit_advisors ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1125 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_embark_army()

void command::execute_embark_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3653 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_enable_debt()

void command::execute_enable_debt ( sys::state state,
dcon::nation_id  source,
bool  debt_is_enabled 
)

Definition at line 4700 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_enact_issue()

void command::execute_enact_issue ( sys::state state,
dcon::nation_id  source,
dcon::issue_option_id  i 
)

Definition at line 1927 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_enact_reform()

void command::execute_enact_reform ( sys::state state,
dcon::nation_id  source,
dcon::reform_option_id  r 
)

Definition at line 1902 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_evenly_split_army()

void command::execute_evenly_split_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4121 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_evenly_split_navy()

void command::execute_evenly_split_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4177 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_expel_advisors()

void command::execute_expel_advisors ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1195 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_fabricate_cb()

void command::execute_fabricate_cb ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  type,
dcon::state_definition_id  target_state = dcon::state_definition_id{} 
)

Definition at line 2275 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_finish_colonization()

void command::execute_finish_colonization ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 1669 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_give_military_access()

void command::execute_give_military_access ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2365 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_give_war_subsidies()

void command::execute_give_war_subsidies ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 276 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_increase_opinion()

void command::execute_increase_opinion ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target 
)

Definition at line 1330 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_increase_relations()

void command::execute_increase_relations ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 364 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_intervene_in_war()

void command::execute_intervene_in_war ( sys::state state,
dcon::nation_id  source,
dcon::war_id  w,
bool  for_attacker 
)

Definition at line 1780 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_invest_in_colony()

void command::execute_invest_in_colony ( sys::state state,
dcon::nation_id  source,
dcon::province_id  pr 
)

Definition at line 1598 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_invite_to_crisis()

void command::execute_invite_to_crisis ( sys::state state,
dcon::nation_id  source,
crisis_invitation_data const &  data 
)

Definition at line 4573 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_make_event_choice() [1/4]

void command::execute_make_event_choice ( sys::state state,
dcon::nation_id  source,
pending_human_f_n_event_data const &  e 
)

Definition at line 2148 of file commands.cpp.

Here is the call graph for this function:

◆ execute_make_event_choice() [2/4]

void command::execute_make_event_choice ( sys::state state,
dcon::nation_id  source,
pending_human_f_p_event_data const &  e 
)

Definition at line 2159 of file commands.cpp.

Here is the call graph for this function:

◆ execute_make_event_choice() [3/4]

void command::execute_make_event_choice ( sys::state state,
dcon::nation_id  source,
pending_human_n_event_data const &  e 
)

Definition at line 2143 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_make_event_choice() [4/4]

void command::execute_make_event_choice ( sys::state state,
dcon::nation_id  source,
pending_human_p_event_data const &  e 
)

Definition at line 2152 of file commands.cpp.

Here is the call graph for this function:

◆ execute_make_leader()

void command::execute_make_leader ( sys::state state,
dcon::nation_id  source,
bool  general 
)

Definition at line 230 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_make_vassal()

void command::execute_make_vassal ( sys::state state,
dcon::nation_id  source,
dcon::national_identity_id  t 
)

Definition at line 907 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_mark_regiments_to_split()

void command::execute_mark_regiments_to_split ( sys::state state,
dcon::nation_id  source,
dcon::regiment_id const *  regs 
)

Definition at line 4406 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_mark_ships_to_split()

void command::execute_mark_ships_to_split ( sys::state state,
dcon::nation_id  source,
dcon::ship_id const *  regs 
)

Definition at line 4426 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_merge_armies()

void command::execute_merge_armies ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::army_id  b 
)

Definition at line 3711 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_merge_navies()

void command::execute_merge_navies ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a,
dcon::navy_id  b 
)

Definition at line 3761 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_move_army()

void command::execute_move_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::province_id  dest,
bool  reset 
)

Definition at line 3409 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_move_capital()

void command::execute_move_capital ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 4739 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_move_navy()

void command::execute_move_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  n,
dcon::province_id  dest,
bool  reset 
)

Definition at line 3561 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_network_inactivity_ping()

void command::execute_network_inactivity_ping ( sys::state state,
dcon::nation_id  source,
sys::date  date 
)

Definition at line 5281 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_pause_game()

void command::execute_notify_pause_game ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5261 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_player_ban()

void command::execute_notify_player_ban ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 4998 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_player_joins()

void command::execute_notify_player_joins ( sys::state state,
dcon::nation_id  source,
sys::player_name name,
sys::player_password_raw password 
)

Definition at line 4913 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_player_kick()

void command::execute_notify_player_kick ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 5032 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_player_leaves()

void command::execute_notify_player_leaves ( sys::state state,
dcon::nation_id  source,
bool  make_ai 
)

Definition at line 4962 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_player_oos()

void command::execute_notify_player_oos ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5093 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_player_picks_nation()

void command::execute_notify_player_picks_nation ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 5069 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_reload()

void command::execute_notify_reload ( sys::state state,
dcon::nation_id  source,
sys::checksum_key k 
)

Definition at line 5176 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_save_loaded()

void command::execute_notify_save_loaded ( sys::state state,
dcon::nation_id  source,
sys::checksum_key k 
)

Definition at line 5159 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_start_game()

void command::execute_notify_start_game ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5221 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_notify_stop_game()

void command::execute_notify_stop_game ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5247 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_pending_commands()

void command::execute_pending_commands ( sys::state state)

Definition at line 6047 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_release_and_play_as()

void command::execute_release_and_play_as ( sys::state state,
dcon::nation_id  source,
dcon::national_identity_id  t 
)

Definition at line 934 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_release_subject()

void command::execute_release_subject ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 4045 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_remove_from_sphere()

void command::execute_remove_from_sphere ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1532 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_respond_to_diplomatic_message()

void command::execute_respond_to_diplomatic_message ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  from,
diplomatic_message::type  type,
bool  accept 
)

Definition at line 2562 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_retreat_from_land_battle()

void command::execute_retreat_from_land_battle ( sys::state state,
dcon::nation_id  source,
dcon::land_battle_id  b 
)

Definition at line 4480 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_retreat_from_naval_battle()

void command::execute_retreat_from_naval_battle ( sys::state state,
dcon::nation_id  source,
dcon::naval_battle_id  b 
)

Definition at line 4452 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_save_game()

void command::execute_save_game ( sys::state state,
dcon::nation_id  source,
bool  and_quit 
)

Definition at line 103 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_send_crisis_peace_offer()

void command::execute_send_crisis_peace_offer ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3233 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_send_peace_offer()

void command::execute_send_peace_offer ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3159 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_set_factory_type_priority()

void command::execute_set_factory_type_priority ( sys::state state,
dcon::nation_id  source,
dcon::factory_type_id  ftid,
float  value 
)

Definition at line 246 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_set_national_focus()

void command::execute_set_national_focus ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  target_state,
dcon::national_focus_id  focus 
)

Definition at line 168 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_set_rally_point()

void command::execute_set_rally_point ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
bool  naval,
bool  enable 
)

Definition at line 83 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_split_army()

void command::execute_split_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4233 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_split_navy()

void command::execute_split_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4282 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_start_crisis_peace_offer()

void command::execute_start_crisis_peace_offer ( sys::state state,
dcon::nation_id  source,
bool  is_concession 
)

Definition at line 2998 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_start_election()

void command::execute_start_election ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1036 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_start_land_unit_construction()

void command::execute_start_land_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::culture_id  soldier_culture,
dcon::unit_type_id  type,
dcon::province_id  template_province 
)

Definition at line 736 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_start_naval_unit_construction()

void command::execute_start_naval_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::unit_type_id  type,
dcon::province_id  template_province 
)

Definition at line 688 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_start_peace_offer()

void command::execute_start_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::war_id  war,
bool  is_concession 
)

Definition at line 2973 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_start_research()

void command::execute_start_research ( sys::state state,
dcon::nation_id  source,
dcon::technology_id  tech 
)

Definition at line 213 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_state_transfer()

void command::execute_state_transfer ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
dcon::state_definition_id  sid 
)

Definition at line 2495 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_suppress_movement()

void command::execute_suppress_movement ( sys::state state,
dcon::nation_id  source,
dcon::issue_option_id  iopt,
dcon::national_identity_id  tag 
)

Definition at line 1815 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_take_decision()

void command::execute_take_decision ( sys::state state,
dcon::nation_id  source,
dcon::decision_id  d 
)

Definition at line 2065 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_take_province()

void command::execute_take_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  p 
)

Definition at line 4779 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_take_sides_in_crisis()

void command::execute_take_sides_in_crisis ( sys::state state,
dcon::nation_id  source,
bool  join_attacker 
)

Definition at line 1999 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_toggle_immigrator_province()

void command::execute_toggle_immigrator_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4030 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_toggle_interested_in_alliance()

void command::execute_toggle_interested_in_alliance ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2444 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_toggle_mobilization()

void command::execute_toggle_mobilization ( sys::state state,
dcon::nation_id  source 
)

Definition at line 4683 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_toggle_mobilized_is_ai_controlled()

void command::execute_toggle_mobilized_is_ai_controlled ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3888 of file commands.cpp.

Here is the caller graph for this function:

◆ execute_toggle_rebel_hunting()

void command::execute_toggle_rebel_hunting ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3822 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_toggle_select_province()

void command::execute_toggle_select_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4011 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_toggle_unit_ai_control()

void command::execute_toggle_unit_ai_control ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3854 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_upgrade_colony_to_state()

void command::execute_upgrade_colony_to_state ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  si 
)

Definition at line 1579 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_use_nation_button()

void command::execute_use_nation_button ( sys::state state,
dcon::nation_id  source,
dcon::gui_def_id  d,
dcon::nation_id  n 
)

Definition at line 4851 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_use_province_button()

void command::execute_use_province_button ( sys::state state,
dcon::nation_id  source,
dcon::gui_def_id  d,
dcon::province_id  p 
)

Definition at line 4826 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expel_advisors()

void command::expel_advisors ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1152 of file commands.cpp.

Here is the call graph for this function:

◆ fabricate_cb()

void command::fabricate_cb ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  type,
dcon::state_definition_id  target_state 
)

Definition at line 2167 of file commands.cpp.

Here is the call graph for this function:

◆ finish_colonization()

void command::finish_colonization ( sys::state state,
dcon::nation_id  source,
dcon::province_id  pr 
)

Definition at line 1652 of file commands.cpp.

Here is the call graph for this function:

◆ give_military_access()

void command::give_military_access ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2341 of file commands.cpp.

Here is the call graph for this function:

◆ give_war_subsidies()

void command::give_war_subsidies ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 251 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ increase_opinion()

void command::increase_opinion ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target 
)

Definition at line 1294 of file commands.cpp.

Here is the call graph for this function:

◆ increase_relations()

void command::increase_relations ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 338 of file commands.cpp.

Here is the call graph for this function:

◆ intervene_in_war()

void command::intervene_in_war ( sys::state state,
dcon::nation_id  source,
dcon::war_id  w,
bool  for_attacker 
)

Definition at line 1688 of file commands.cpp.

Here is the call graph for this function:

◆ invest_in_colony()

void command::invest_in_colony ( sys::state state,
dcon::nation_id  source,
dcon::province_id  pr 
)

Definition at line 1583 of file commands.cpp.

Here is the call graph for this function:

◆ invite_to_crisis()

void command::invite_to_crisis ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  invitation_to,
dcon::nation_id  target,
dcon::cb_type_id  primary_cb,
dcon::state_definition_id  cb_state,
dcon::national_identity_id  cb_tag,
dcon::nation_id  cb_secondary_nation 
)

Definition at line 4491 of file commands.cpp.

Here is the call graph for this function:

◆ is_console_command()

bool command::is_console_command ( command_type  t)

Definition at line 21 of file commands.cpp.

Here is the caller graph for this function:

◆ make_empty_budget_settings()

budget_settings_data command::make_empty_budget_settings ( )
inline

Definition at line 617 of file commands.hpp.

Here is the caller graph for this function:

◆ make_event_choice() [1/4]

void command::make_event_choice ( sys::state state,
event::pending_human_f_n_event const &  e,
uint8_t  option_id 
)

Definition at line 2103 of file commands.cpp.

Here is the call graph for this function:

◆ make_event_choice() [2/4]

void command::make_event_choice ( sys::state state,
event::pending_human_f_p_event const &  e,
uint8_t  option_id 
)

Definition at line 2130 of file commands.cpp.

Here is the call graph for this function:

◆ make_event_choice() [3/4]

void command::make_event_choice ( sys::state state,
event::pending_human_n_event const &  e,
uint8_t  option_id 
)

Definition at line 2087 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_event_choice() [4/4]

void command::make_event_choice ( sys::state state,
event::pending_human_p_event const &  e,
uint8_t  option_id 
)

Definition at line 2115 of file commands.cpp.

Here is the call graph for this function:

◆ make_leader()

void command::make_leader ( sys::state state,
dcon::nation_id  source,
bool  general 
)

Definition at line 219 of file commands.cpp.

Here is the call graph for this function:

◆ make_vassal()

void command::make_vassal ( sys::state state,
dcon::nation_id  source,
dcon::national_identity_id  t 
)

Definition at line 896 of file commands.cpp.

Here is the call graph for this function:

◆ mark_regiments_to_split()

void command::mark_regiments_to_split ( sys::state state,
dcon::nation_id  source,
std::array< dcon::regiment_id, num_packed_units > const &  list 
)

Definition at line 4396 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mark_ships_to_split()

void command::mark_ships_to_split ( sys::state state,
dcon::nation_id  source,
std::array< dcon::ship_id, num_packed_units > const &  list 
)

Definition at line 4417 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ merge_armies()

void command::merge_armies ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::army_id  b 
)

Definition at line 3680 of file commands.cpp.

Here is the call graph for this function:

◆ merge_navies()

void command::merge_navies ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a,
dcon::navy_id  b 
)

Definition at line 3735 of file commands.cpp.

Here is the call graph for this function:

◆ move_army()

void command::move_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a,
dcon::province_id  dest,
bool  reset 
)

Definition at line 3258 of file commands.cpp.

Here is the call graph for this function:

◆ move_capital()

void command::move_capital ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4704 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ move_navy()

void command::move_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  n,
dcon::province_id  dest,
bool  reset 
)

Definition at line 3512 of file commands.cpp.

Here is the call graph for this function:

◆ network_inactivity_ping()

void command::network_inactivity_ping ( sys::state state,
dcon::nation_id  source,
sys::date  date 
)

Definition at line 5273 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_console_command()

void command::notify_console_command ( sys::state state)

Definition at line 4051 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_pause_game()

void command::notify_pause_game ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5265 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_player_ban()

void command::notify_player_ban ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 4985 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_player_joins() [1/2]

void command::notify_player_joins ( sys::state state,
dcon::nation_id  source,
sys::player_name name 
)

Definition at line 4901 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_player_joins() [2/2]

void command::notify_player_joins ( sys::state state,
dcon::nation_id  source,
sys::player_name name,
sys::player_password_raw password 
)

◆ notify_player_kick()

void command::notify_player_kick ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 5019 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_player_leaves()

void command::notify_player_leaves ( sys::state state,
dcon::nation_id  source,
bool  make_ai 
)

Definition at line 4951 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_player_oos()

void command::notify_player_oos ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5084 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_player_picks_nation()

void command::notify_player_picks_nation ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 5053 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_reload()

void command::notify_reload ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5169 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_save_loaded()

void command::notify_save_loaded ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5151 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_start_game()

void command::notify_start_game ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5239 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify_stop_game()

void command::notify_stop_game ( sys::state state,
dcon::nation_id  source 
)

Definition at line 5253 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ post_chat_message()

void command::post_chat_message ( sys::state state,
ui::chat_message m 
)

Definition at line 4857 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ queue_crisis_add_wargoal()

void command::queue_crisis_add_wargoal ( sys::state state,
dcon::nation_id  source,
sys::full_wg  wg 
)

Definition at line 4595 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release_and_play_as()

void command::release_and_play_as ( sys::state state,
dcon::nation_id  source,
dcon::national_identity_id  t 
)

Definition at line 923 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release_subject()

void command::release_subject ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target 
)

Definition at line 4034 of file commands.cpp.

Here is the call graph for this function:

◆ remove_from_sphere()

void command::remove_from_sphere ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  influence_target,
dcon::nation_id  affected_gp 
)

Definition at line 1490 of file commands.cpp.

Here is the call graph for this function:

◆ respond_to_diplomatic_message()

void command::respond_to_diplomatic_message ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  from,
diplomatic_message::type  type,
bool  accept 
)

Definition at line 2551 of file commands.cpp.

Here is the call graph for this function:

◆ retreat_from_land_battle()

void command::retreat_from_land_battle ( sys::state state,
dcon::nation_id  source,
dcon::land_battle_id  b 
)

Definition at line 4463 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retreat_from_naval_battle()

void command::retreat_from_naval_battle ( sys::state state,
dcon::nation_id  source,
dcon::naval_battle_id  b 
)

Definition at line 4436 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save_game()

void command::save_game ( sys::state state,
dcon::nation_id  source,
bool  and_quit 
)

Definition at line 94 of file commands.cpp.

Here is the call graph for this function:

◆ send_crisis_peace_offer()

void command::send_crisis_peace_offer ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3215 of file commands.cpp.

Here is the call graph for this function:

◆ send_peace_offer()

void command::send_peace_offer ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3146 of file commands.cpp.

Here is the call graph for this function:

◆ set_factory_type_priority()

void command::set_factory_type_priority ( sys::state state,
dcon::nation_id  source,
dcon::factory_type_id  ftid,
float  value 
)

Definition at line 234 of file commands.cpp.

Here is the call graph for this function:

◆ set_national_focus()

void command::set_national_focus ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  target_state,
dcon::national_focus_id  focus 
)

Definition at line 111 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_rally_point()

void command::set_rally_point ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
bool  naval,
bool  enable 
)

Definition at line 72 of file commands.cpp.

Here is the call graph for this function:

◆ split_army()

void command::split_army ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 4221 of file commands.cpp.

Here is the call graph for this function:

◆ split_navy()

void command::split_navy ( sys::state state,
dcon::nation_id  source,
dcon::navy_id  a 
)

Definition at line 4269 of file commands.cpp.

Here is the call graph for this function:

◆ start_crisis_peace_offer()

void command::start_crisis_peace_offer ( sys::state state,
dcon::nation_id  source,
bool  is_concession 
)

Definition at line 2981 of file commands.cpp.

Here is the call graph for this function:

◆ start_election()

void command::start_election ( sys::state state,
dcon::nation_id  source 
)

Definition at line 1025 of file commands.cpp.

Here is the call graph for this function:

◆ start_land_unit_construction()

void command::start_land_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::culture_id  soldier_culture,
dcon::unit_type_id  type,
dcon::province_id  template_province 
)

Definition at line 694 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_naval_unit_construction()

void command::start_naval_unit_construction ( sys::state state,
dcon::nation_id  source,
dcon::province_id  location,
dcon::unit_type_id  type,
dcon::province_id  template_province 
)

Definition at line 635 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_peace_offer()

void command::start_peace_offer ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::war_id  war,
bool  is_concession 
)

Definition at line 2922 of file commands.cpp.

Here is the call graph for this function:

◆ start_research()

void command::start_research ( sys::state state,
dcon::nation_id  source,
dcon::technology_id  tech 
)

Definition at line 179 of file commands.cpp.

Here is the call graph for this function:

◆ state_transfer()

void command::state_transfer ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target,
dcon::state_definition_id  sid 
)

Definition at line 2453 of file commands.cpp.

Here is the call graph for this function:

◆ suppress_movement()

void command::suppress_movement ( sys::state state,
dcon::nation_id  source,
dcon::movement_id  m 
)

Definition at line 1799 of file commands.cpp.

Here is the call graph for this function:

◆ take_decision()

void command::take_decision ( sys::state state,
dcon::nation_id  source,
dcon::decision_id  d 
)

Definition at line 2044 of file commands.cpp.

Here is the call graph for this function:

◆ take_province()

void command::take_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4743 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ take_sides_in_crisis()

void command::take_sides_in_crisis ( sys::state state,
dcon::nation_id  source,
bool  join_attacker 
)

Definition at line 1974 of file commands.cpp.

Here is the call graph for this function:

◆ toggle_immigrator_province()

void command::toggle_immigrator_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 4015 of file commands.cpp.

Here is the call graph for this function:

◆ toggle_interested_in_alliance()

void command::toggle_interested_in_alliance ( sys::state state,
dcon::nation_id  asker,
dcon::nation_id  target 
)

Definition at line 2431 of file commands.cpp.

Here is the call graph for this function:

◆ toggle_mobilization()

void command::toggle_mobilization ( sys::state state,
dcon::nation_id  source 
)

Definition at line 4675 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggle_mobilized_is_ai_controlled()

void command::toggle_mobilized_is_ai_controlled ( sys::state state,
dcon::nation_id  source 
)

Definition at line 3881 of file commands.cpp.

Here is the call graph for this function:

◆ toggle_rebel_hunting()

void command::toggle_rebel_hunting ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3814 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggle_select_province()

void command::toggle_select_province ( sys::state state,
dcon::nation_id  source,
dcon::province_id  prov 
)

Definition at line 3996 of file commands.cpp.

Here is the call graph for this function:

◆ toggle_unit_ai_control()

void command::toggle_unit_ai_control ( sys::state state,
dcon::nation_id  source,
dcon::army_id  a 
)

Definition at line 3846 of file commands.cpp.

Here is the call graph for this function:

◆ upgrade_colony_to_state()

void command::upgrade_colony_to_state ( sys::state state,
dcon::nation_id  source,
dcon::state_instance_id  si 
)

Definition at line 1568 of file commands.cpp.

Here is the call graph for this function:

◆ use_nation_button()

void command::use_nation_button ( sys::state state,
dcon::nation_id  source,
dcon::gui_def_id  d,
dcon::nation_id  n 
)

Definition at line 4832 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ use_province_button()

void command::use_province_button ( sys::state state,
dcon::nation_id  source,
dcon::gui_def_id  d,
dcon::province_id  i 
)

Definition at line 4807 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valid_target_state_for_cb()

bool command::valid_target_state_for_cb ( sys::state state,
dcon::nation_id  source,
dcon::nation_id  target,
dcon::cb_type_id  type,
dcon::state_definition_id  target_state 
)

Definition at line 2178 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ num_packed_units

constexpr size_t command::num_packed_units = 10
inlineconstexpr

Definition at line 414 of file commands.hpp.