Project Alice
|
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 | 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) |
bool | can_fabricate_cb (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id type) |
void | execute_fabricate_cb (sys::state &state, dcon::nation_id source, dcon::nation_id target, dcon::cb_type_id type) |
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 | 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) |
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) |
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) |
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 | 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 | 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 | 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 | 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) |
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) |
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 () |
Variables | |
constexpr size_t | num_packed_units = 10 |
|
strong |
Definition at line 9 of file commands.hpp.
void command::abandon_colony | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | pr | ||
) |
void command::add_to_command_queue | ( | sys::state & | state, |
payload & | p | ||
) |
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 2990 of file commands.cpp.
void command::add_to_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::wargoal_id | goal | ||
) |
Definition at line 2919 of file commands.cpp.
void command::add_to_sphere | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target | ||
) |
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 | ||
) |
void command::advance_tick | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::appoint_ruling_party | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::political_party_id | pa | ||
) |
void command::ask_for_alliance | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
void command::ask_for_military_access | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
void command::ban_embassy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
dcon::nation_id | affected_gp | ||
) |
void command::become_interested_in_crisis | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 | ||
) |
void command::begin_province_building_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov, | ||
economy::province_building_type | type | ||
) |
void command::call_to_arms | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
dcon::war_id | w | ||
) |
bool command::can_abandon_colony | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | pr | ||
) |
Definition at line 1608 of file commands.cpp.
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 | ||
) |
bool command::can_add_to_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::wargoal_id | goal | ||
) |
bool command::can_add_to_sphere | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target | ||
) |
Definition at line 1410 of file commands.cpp.
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 2715 of file commands.cpp.
bool command::can_appoint_ruling_party | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::political_party_id | p | ||
) |
Definition at line 1822 of file commands.cpp.
bool command::can_ask_for_access | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
bool | ignore_cost | ||
) |
Definition at line 2222 of file commands.cpp.
bool command::can_ask_for_alliance | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
bool | ignore_cost | ||
) |
Definition at line 2297 of file commands.cpp.
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 1202 of file commands.cpp.
bool command::can_become_interested_in_crisis | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 1910 of file commands.cpp.
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 491 of file commands.cpp.
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 402 of file commands.cpp.
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 2430 of file commands.cpp.
bool command::can_cancel_alliance | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
bool | ignore_cost | ||
) |
bool command::can_cancel_cb_fabrication | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
bool command::can_cancel_factory_building_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | location, | ||
dcon::factory_type_id | type | ||
) |
bool command::can_cancel_given_military_access | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
bool | ignore_cost | ||
) |
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 | ||
) |
bool command::can_cancel_military_access | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
bool | ignore_cost | ||
) |
bool command::can_cancel_naval_unit_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | location, | ||
dcon::unit_type_id | type | ||
) |
bool command::can_cancel_war_subsidies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 283 of file commands.cpp.
bool command::can_change_admiral | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a, | ||
dcon::leader_id | l | ||
) |
Definition at line 4151 of file commands.cpp.
|
inline |
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 819 of file commands.cpp.
bool command::can_change_general | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::leader_id | l | ||
) |
Definition at line 4132 of file commands.cpp.
bool command::can_change_influence_priority | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
uint8_t | priority | ||
) |
bool command::can_change_stockpile_settings | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::commodity_id | c, | ||
float | target_amount, | ||
bool | draw_on_stockpiles | ||
) |
bool command::can_chat_message | ( | sys::state & | state, |
dcon::nation_id | source, | ||
std::string_view | body, | ||
dcon::nation_id | target | ||
) |
bool command::can_civilize_nation | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 2621 of file commands.cpp.
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 1331 of file commands.cpp.
bool command::can_decrease_relations | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 365 of file commands.cpp.
bool command::can_delete_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 4089 of file commands.cpp.
bool command::can_delete_factory | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::factory_id | f | ||
) |
bool command::can_delete_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
Definition at line 4110 of file commands.cpp.
bool command::can_disband_undermanned_regiments | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
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 1057 of file commands.cpp.
bool command::can_embark_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3502 of file commands.cpp.
bool command::can_enact_issue | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::issue_option_id | i | ||
) |
Definition at line 1886 of file commands.cpp.
bool command::can_enact_reform | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::reform_option_id | r | ||
) |
Definition at line 1862 of file commands.cpp.
bool command::can_evenly_split_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3883 of file commands.cpp.
bool command::can_evenly_split_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
Definition at line 3939 of file commands.cpp.
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 1132 of file commands.cpp.
bool command::can_fabricate_cb | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
dcon::cb_type_id | type | ||
) |
Definition at line 2147 of file commands.cpp.
bool command::can_finish_colonization | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | p | ||
) |
bool command::can_give_military_access | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
bool | ignore_cost | ||
) |
Definition at line 2262 of file commands.cpp.
bool command::can_give_war_subsidies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 238 of file commands.cpp.
bool command::can_increase_opinion | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target | ||
) |
Definition at line 1273 of file commands.cpp.
bool command::can_increase_relations | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 325 of file commands.cpp.
bool command::can_intervene_in_war | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::war_id | w, | ||
bool | for_attacker | ||
) |
Definition at line 1668 of file commands.cpp.
bool command::can_invest_in_colony | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | p | ||
) |
Definition at line 1562 of file commands.cpp.
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 4271 of file commands.cpp.
bool command::can_make_leader | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | general | ||
) |
bool command::can_make_vassal | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::national_identity_id | t | ||
) |
Definition at line 878 of file commands.cpp.
bool command::can_merge_armies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::army_id | b | ||
) |
bool command::can_merge_navies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a, | ||
dcon::navy_id | b | ||
) |
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 3166 of file commands.cpp.
bool command::can_move_capital | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | p | ||
) |
Definition at line 4384 of file commands.cpp.
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 3398 of file commands.cpp.
bool command::can_notify_player_ban | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
bool command::can_notify_player_joins | ( | sys::state & | state, |
dcon::nation_id | source, | ||
sys::player_name & | name | ||
) |
bool command::can_notify_player_kick | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
bool command::can_notify_player_leaves | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | make_ai | ||
) |
bool command::can_notify_player_picks_nation | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
bool command::can_partial_retreat_from | ( | sys::state & | state, |
dcon::land_battle_id | b | ||
) |
Definition at line 3151 of file commands.cpp.
bool command::can_partial_retreat_from | ( | sys::state & | state, |
dcon::naval_battle_id | b | ||
) |
bool command::can_perform_command | ( | sys::state & | state, |
payload & | c | ||
) |
bool command::can_release_and_play_as | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::national_identity_id | t | ||
) |
Definition at line 905 of file commands.cpp.
bool command::can_release_subject | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
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 1470 of file commands.cpp.
bool command::can_retreat_from_land_battle | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::land_battle_id | b | ||
) |
Definition at line 4237 of file commands.cpp.
bool command::can_retreat_from_naval_battle | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::naval_battle_id | b | ||
) |
Definition at line 4209 of file commands.cpp.
bool command::can_send_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
bool command::can_send_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 118 of file commands.cpp.
bool command::can_split_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
bool command::can_split_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
bool command::can_start_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | is_concession | ||
) |
bool command::can_start_election | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 1003 of file commands.cpp.
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 679 of file commands.cpp.
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 620 of file commands.cpp.
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 2809 of file commands.cpp.
bool command::can_start_research | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::technology_id | tech | ||
) |
Definition at line 183 of file commands.cpp.
bool command::can_state_transfer | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
dcon::state_definition_id | sid | ||
) |
bool command::can_suppress_movement | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::movement_id | m | ||
) |
Definition at line 1779 of file commands.cpp.
bool command::can_take_decision | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::decision_id | d | ||
) |
Definition at line 2023 of file commands.cpp.
bool command::can_take_sides_in_crisis | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | join_attacker | ||
) |
bool command::can_toggle_immigrator_province | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
bool command::can_toggle_interested_in_alliance | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
bool command::can_toggle_select_province | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
bool command::can_upgrade_colony_to_state | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | si | ||
) |
Definition at line 1547 of file commands.cpp.
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 4448 of file commands.cpp.
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 4423 of file commands.cpp.
void command::cancel_alliance | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::cancel_cb_fabrication | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::cancel_factory_building_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | location, | ||
dcon::factory_type_id | type | ||
) |
void command::cancel_given_military_access | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
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 | ||
) |
void command::cancel_military_access | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::cancel_naval_unit_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | location, | ||
dcon::unit_type_id | type | ||
) |
void command::cancel_war_subsidies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::change_admiral | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a, | ||
dcon::leader_id | l | ||
) |
void command::change_budget_settings | ( | sys::state & | state, |
dcon::nation_id | source, | ||
budget_settings_data const & | values | ||
) |
void command::change_factory_settings | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::factory_id | f, | ||
uint8_t | priority, | ||
bool | subsidized | ||
) |
void command::change_general | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::leader_id | l | ||
) |
void command::change_influence_priority | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
uint8_t | priority | ||
) |
void command::change_stockpile_settings | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::commodity_id | c, | ||
float | target_amount, | ||
bool | draw_on_stockpiles | ||
) |
void command::chat_message | ( | sys::state & | state, |
dcon::nation_id | source, | ||
std::string_view | body, | ||
dcon::nation_id | target | ||
) |
void command::civilize_nation | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 | ||
) |
void command::decrease_opinion | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
dcon::nation_id | affected_gp | ||
) |
void command::decrease_relations | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::delete_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
void command::delete_factory | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::factory_id | f | ||
) |
void command::delete_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
void command::disband_undermanned_regiments | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3660 of file commands.cpp.
void command::discredit_advisors | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
dcon::nation_id | affected_gp | ||
) |
void command::embark_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
void command::enable_debt | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | debt_is_enabled | ||
) |
void command::enact_issue | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::issue_option_id | i | ||
) |
Definition at line 1878 of file commands.cpp.
void command::enact_reform | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::reform_option_id | r | ||
) |
Definition at line 1854 of file commands.cpp.
void command::evenly_split_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3875 of file commands.cpp.
void command::evenly_split_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
Definition at line 3931 of file commands.cpp.
void command::execute_abandon_colony | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | p | ||
) |
void command::execute_add_to_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
crisis_invitation_data const & | data | ||
) |
void command::execute_add_to_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::wargoal_id | goal | ||
) |
void command::execute_add_to_sphere | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target | ||
) |
Definition at line 1442 of file commands.cpp.
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 2783 of file commands.cpp.
void command::execute_advance_tick | ( | sys::state & | state, |
dcon::nation_id | source, | ||
sys::checksum_key & | k, | ||
int32_t | speed | ||
) |
void command::execute_appoint_ruling_party | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::political_party_id | p | ||
) |
Definition at line 1850 of file commands.cpp.
void command::execute_ask_for_access | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
Definition at line 2242 of file commands.cpp.
void command::execute_ask_for_alliance | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
Definition at line 2329 of file commands.cpp.
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 1237 of file commands.cpp.
void command::execute_become_interested_in_crisis | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 589 of file commands.cpp.
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 418 of file commands.cpp.
void command::execute_call_to_arms | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
dcon::war_id | w | ||
) |
Definition at line 2451 of file commands.cpp.
void command::execute_cancel_alliance | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 2598 of file commands.cpp.
void command::execute_cancel_cb_fabrication | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::execute_cancel_factory_building_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | location, | ||
dcon::factory_type_id | type | ||
) |
void command::execute_cancel_given_military_access | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 2550 of file commands.cpp.
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 | ||
) |
void command::execute_cancel_military_access | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 2513 of file commands.cpp.
void command::execute_cancel_naval_unit_construction | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | location, | ||
dcon::unit_type_id | type | ||
) |
void command::execute_cancel_war_subsidies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 297 of file commands.cpp.
void command::execute_change_admiral | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a, | ||
dcon::leader_id | l | ||
) |
void command::execute_change_budget_settings | ( | sys::state & | state, |
dcon::nation_id | source, | ||
budget_settings_data const & | values | ||
) |
Definition at line 953 of file commands.cpp.
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 841 of file commands.cpp.
void command::execute_change_general | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::leader_id | l | ||
) |
void command::execute_change_influence_priority | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
uint8_t | priority | ||
) |
void command::execute_change_stockpile_settings | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::commodity_id | c, | ||
float | target_amount, | ||
bool | draw_on_stockpiles | ||
) |
void command::execute_chat_message | ( | sys::state & | state, |
dcon::nation_id | source, | ||
std::string_view | body, | ||
dcon::nation_id | target | ||
) |
void command::execute_civilize_nation | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 1810 of file commands.cpp.
void command::execute_command | ( | sys::state & | state, |
payload & | c | ||
) |
void command::execute_console_command | ( | sys::state & | state | ) |
Definition at line 3824 of file commands.cpp.
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 | ||
) |
Definition at line 2658 of file commands.cpp.
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 1375 of file commands.cpp.
void command::execute_decrease_relations | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 379 of file commands.cpp.
void command::execute_delete_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 4094 of file commands.cpp.
void command::execute_delete_factory | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | location, | ||
dcon::factory_type_id | type | ||
) |
void command::execute_delete_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
Definition at line 4116 of file commands.cpp.
void command::execute_disband_undermanned_regiments | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
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 1096 of file commands.cpp.
void command::execute_embark_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3522 of file commands.cpp.
void command::execute_enable_debt | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | debt_is_enabled | ||
) |
void command::execute_enact_issue | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::issue_option_id | i | ||
) |
Definition at line 1898 of file commands.cpp.
void command::execute_enact_reform | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::reform_option_id | r | ||
) |
Definition at line 1873 of file commands.cpp.
void command::execute_evenly_split_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
void command::execute_evenly_split_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
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 1166 of file commands.cpp.
void command::execute_fabricate_cb | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
dcon::cb_type_id | type | ||
) |
void command::execute_finish_colonization | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | p | ||
) |
Definition at line 1640 of file commands.cpp.
void command::execute_give_military_access | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
Definition at line 2278 of file commands.cpp.
void command::execute_give_war_subsidies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 255 of file commands.cpp.
void command::execute_increase_opinion | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target | ||
) |
Definition at line 1301 of file commands.cpp.
void command::execute_increase_relations | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 343 of file commands.cpp.
void command::execute_intervene_in_war | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::war_id | w, | ||
bool | for_attacker | ||
) |
Definition at line 1751 of file commands.cpp.
void command::execute_invest_in_colony | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | pr | ||
) |
Definition at line 1569 of file commands.cpp.
void command::execute_invite_to_crisis | ( | sys::state & | state, |
dcon::nation_id | source, | ||
crisis_invitation_data const & | data | ||
) |
Definition at line 4325 of file commands.cpp.
void command::execute_make_event_choice | ( | sys::state & | state, |
dcon::nation_id | source, | ||
pending_human_f_n_event_data const & | e | ||
) |
void command::execute_make_event_choice | ( | sys::state & | state, |
dcon::nation_id | source, | ||
pending_human_f_p_event_data const & | e | ||
) |
void command::execute_make_event_choice | ( | sys::state & | state, |
dcon::nation_id | source, | ||
pending_human_n_event_data const & | e | ||
) |
Definition at line 2114 of file commands.cpp.
void command::execute_make_event_choice | ( | sys::state & | state, |
dcon::nation_id | source, | ||
pending_human_p_event_data const & | e | ||
) |
void command::execute_make_leader | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | general | ||
) |
Definition at line 225 of file commands.cpp.
void command::execute_make_vassal | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::national_identity_id | t | ||
) |
Definition at line 881 of file commands.cpp.
void command::execute_mark_regiments_to_split | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::regiment_id const * | regs | ||
) |
void command::execute_mark_ships_to_split | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::ship_id const * | regs | ||
) |
void command::execute_merge_armies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::army_id | b | ||
) |
Definition at line 3580 of file commands.cpp.
void command::execute_merge_navies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a, | ||
dcon::navy_id | b | ||
) |
Definition at line 3630 of file commands.cpp.
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 3285 of file commands.cpp.
void command::execute_move_capital | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | p | ||
) |
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 3430 of file commands.cpp.
void command::execute_notify_pause_game | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::execute_notify_player_ban | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 4573 of file commands.cpp.
void command::execute_notify_player_joins | ( | sys::state & | state, |
dcon::nation_id | source, | ||
sys::player_name & | name | ||
) |
Definition at line 4520 of file commands.cpp.
void command::execute_notify_player_kick | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 4604 of file commands.cpp.
void command::execute_notify_player_leaves | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | make_ai | ||
) |
Definition at line 4547 of file commands.cpp.
void command::execute_notify_player_oos | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 4660 of file commands.cpp.
void command::execute_notify_player_picks_nation | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 4638 of file commands.cpp.
void command::execute_notify_reload | ( | sys::state & | state, |
dcon::nation_id | source, | ||
sys::checksum_key & | k | ||
) |
Definition at line 4724 of file commands.cpp.
void command::execute_notify_save_loaded | ( | sys::state & | state, |
dcon::nation_id | source, | ||
sys::checksum_key & | k | ||
) |
void command::execute_notify_start_game | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 4754 of file commands.cpp.
void command::execute_notify_stop_game | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 4780 of file commands.cpp.
void command::execute_pending_commands | ( | sys::state & | state | ) |
Definition at line 5524 of file commands.cpp.
void command::execute_release_and_play_as | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::national_identity_id | t | ||
) |
Definition at line 908 of file commands.cpp.
void command::execute_release_subject | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 3810 of file commands.cpp.
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 1503 of file commands.cpp.
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 2475 of file commands.cpp.
void command::execute_retreat_from_land_battle | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::land_battle_id | b | ||
) |
Definition at line 4245 of file commands.cpp.
void command::execute_retreat_from_naval_battle | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::naval_battle_id | b | ||
) |
Definition at line 4217 of file commands.cpp.
void command::execute_save_game | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | and_quit | ||
) |
Definition at line 99 of file commands.cpp.
void command::execute_send_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 3115 of file commands.cpp.
void command::execute_send_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 3071 of file commands.cpp.
void command::execute_set_national_focus | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | target_state, | ||
dcon::national_focus_id | focus | ||
) |
void command::execute_set_rally_point | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | location, | ||
bool | naval, | ||
bool | enable | ||
) |
void command::execute_split_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3998 of file commands.cpp.
void command::execute_split_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
Definition at line 4047 of file commands.cpp.
void command::execute_start_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | is_concession | ||
) |
void command::execute_start_election | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 1007 of file commands.cpp.
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 710 of file commands.cpp.
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 | ||
) |
void command::execute_start_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
dcon::war_id | war, | ||
bool | is_concession | ||
) |
void command::execute_start_research | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::technology_id | tech | ||
) |
void command::execute_state_transfer | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
dcon::state_definition_id | sid | ||
) |
Definition at line 2408 of file commands.cpp.
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 1786 of file commands.cpp.
void command::execute_take_decision | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::decision_id | d | ||
) |
Definition at line 2036 of file commands.cpp.
void command::execute_take_sides_in_crisis | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | join_attacker | ||
) |
Definition at line 1970 of file commands.cpp.
void command::execute_toggle_immigrator_province | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
Definition at line 3795 of file commands.cpp.
void command::execute_toggle_interested_in_alliance | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
Definition at line 2357 of file commands.cpp.
void command::execute_toggle_mobilization | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
Definition at line 4354 of file commands.cpp.
void command::execute_toggle_mobilized_is_ai_controlled | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::execute_toggle_rebel_hunting | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3691 of file commands.cpp.
void command::execute_toggle_select_province | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
Definition at line 3776 of file commands.cpp.
void command::execute_toggle_unit_ai_control | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3723 of file commands.cpp.
void command::execute_upgrade_colony_to_state | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | si | ||
) |
Definition at line 1550 of file commands.cpp.
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 4458 of file commands.cpp.
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 4433 of file commands.cpp.
void command::expel_advisors | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
dcon::nation_id | affected_gp | ||
) |
void command::fabricate_cb | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
dcon::cb_type_id | type | ||
) |
void command::finish_colonization | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | pr | ||
) |
void command::give_military_access | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
void command::give_war_subsidies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
Definition at line 230 of file commands.cpp.
void command::increase_opinion | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target | ||
) |
void command::increase_relations | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::intervene_in_war | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::war_id | w, | ||
bool | for_attacker | ||
) |
void command::invest_in_colony | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | pr | ||
) |
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 | ||
) |
bool command::is_console_command | ( | command_type | t | ) |
|
inline |
Definition at line 586 of file commands.hpp.
void command::make_event_choice | ( | sys::state & | state, |
event::pending_human_f_n_event const & | e, | ||
uint8_t | option_id | ||
) |
void command::make_event_choice | ( | sys::state & | state, |
event::pending_human_f_p_event const & | e, | ||
uint8_t | option_id | ||
) |
void command::make_event_choice | ( | sys::state & | state, |
event::pending_human_n_event const & | e, | ||
uint8_t | option_id | ||
) |
Definition at line 2058 of file commands.cpp.
void command::make_event_choice | ( | sys::state & | state, |
event::pending_human_p_event const & | e, | ||
uint8_t | option_id | ||
) |
void command::make_leader | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | general | ||
) |
void command::make_vassal | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::national_identity_id | t | ||
) |
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 4161 of file commands.cpp.
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 4182 of file commands.cpp.
void command::merge_armies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::army_id | b | ||
) |
void command::merge_navies | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a, | ||
dcon::navy_id | b | ||
) |
void command::move_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a, | ||
dcon::province_id | dest, | ||
bool | reset | ||
) |
void command::move_capital | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
void command::move_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | n, | ||
dcon::province_id | dest, | ||
bool | reset | ||
) |
void command::notify_console_command | ( | sys::state & | state | ) |
Definition at line 3816 of file commands.cpp.
void command::notify_pause_game | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::notify_player_ban | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::notify_player_joins | ( | sys::state & | state, |
dcon::nation_id | source, | ||
sys::player_name & | name | ||
) |
void command::notify_player_kick | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::notify_player_leaves | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | make_ai | ||
) |
void command::notify_player_oos | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::notify_player_picks_nation | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::notify_reload | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::notify_save_loaded | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::notify_start_game | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::notify_stop_game | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::release_and_play_as | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::national_identity_id | t | ||
) |
Definition at line 897 of file commands.cpp.
void command::release_subject | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target | ||
) |
void command::remove_from_sphere | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | influence_target, | ||
dcon::nation_id | affected_gp | ||
) |
void command::respond_to_diplomatic_message | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | from, | ||
diplomatic_message::type | type, | ||
bool | accept | ||
) |
void command::retreat_from_land_battle | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::land_battle_id | b | ||
) |
Definition at line 4228 of file commands.cpp.
void command::retreat_from_naval_battle | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::naval_battle_id | b | ||
) |
Definition at line 4201 of file commands.cpp.
void command::save_game | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | and_quit | ||
) |
void command::send_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::send_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 107 of file commands.cpp.
void command::set_rally_point | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | location, | ||
bool | naval, | ||
bool | enable | ||
) |
void command::split_army | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
void command::split_navy | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::navy_id | a | ||
) |
void command::start_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | is_concession | ||
) |
void command::start_election | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
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 668 of file commands.cpp.
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 609 of file commands.cpp.
void command::start_peace_offer | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::nation_id | target, | ||
dcon::war_id | war, | ||
bool | is_concession | ||
) |
void command::start_research | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::technology_id | tech | ||
) |
void command::state_transfer | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target, | ||
dcon::state_definition_id | sid | ||
) |
void command::suppress_movement | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::movement_id | m | ||
) |
void command::take_decision | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::decision_id | d | ||
) |
void command::take_sides_in_crisis | ( | sys::state & | state, |
dcon::nation_id | source, | ||
bool | join_attacker | ||
) |
void command::toggle_immigrator_province | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
void command::toggle_interested_in_alliance | ( | sys::state & | state, |
dcon::nation_id | asker, | ||
dcon::nation_id | target | ||
) |
void command::toggle_mobilization | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::toggle_mobilized_is_ai_controlled | ( | sys::state & | state, |
dcon::nation_id | source | ||
) |
void command::toggle_rebel_hunting | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
Definition at line 3683 of file commands.cpp.
void command::toggle_select_province | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::province_id | prov | ||
) |
void command::toggle_unit_ai_control | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::army_id | a | ||
) |
void command::upgrade_colony_to_state | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::state_instance_id | si | ||
) |
void command::use_nation_button | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::gui_def_id | d, | ||
dcon::nation_id | n | ||
) |
Definition at line 4439 of file commands.cpp.
void command::use_province_button | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::gui_def_id | d, | ||
dcon::province_id | i | ||
) |
Definition at line 4414 of file commands.cpp.
|
inlineconstexpr |
Definition at line 405 of file commands.hpp.