4#include "dcon_generated.hpp"
48float party_total_support(
sys::state& state, dcon::pop_id pop, dcon::political_party_id par_id, dcon::nation_id nat_id, dcon::province_id prov_id);
void daily_party_loyalty_update(sys::state &state)
bool can_enact_social_reform(sys::state &state, dcon::nation_id n, dcon::issue_option_id o)
float pop_vote_weight(sys::state &state, dcon::pop_id p, dcon::nation_id n)
float get_military_reform_multiplier(sys::state &state, dcon::nation_id n)
float vote_total(sys::state &state, dcon::nation_id nation)
bool can_enact_political_reform(sys::state &state, dcon::nation_id nation, dcon::issue_option_id issue_option)
float get_economic_reform_multiplier(sys::state &state, dcon::nation_id n)
float get_voter_support(sys::state &state, dcon::nation_id nation, dcon::issue_option_id issue_option)
bool reform_is_selected(sys::state &state, dcon::nation_id nation, dcon::reform_option_id reform_option)
void recalculate_upper_house(sys::state &state, dcon::nation_id n)
dcon::issue_id get_issue_by_name(sys::state &state, std::string_view name)
sys::date next_election_date(sys::state &state, dcon::nation_id nation)
void force_ruling_party_ideology(sys::state &state, dcon::nation_id n, dcon::ideology_id id)
void force_nation_ideology(sys::state &state, dcon::nation_id n, dcon::ideology_id id)
dcon::reform_id get_reform_by_name(sys::state &state, std::string_view name)
bool can_appoint_ruling_party(sys::state &state, dcon::nation_id nation)
void set_issue_option(sys::state &state, dcon::nation_id n, dcon::issue_option_id opt)
bool political_party_is_active(sys::state &state, dcon::nation_id n, dcon::political_party_id p)
void change_government_type(sys::state &state, dcon::nation_id n, dcon::government_type_id new_type)
void update_displayed_identity(sys::state &state, dcon::nation_id id)
float get_popular_support(sys::state &state, dcon::nation_id nation, dcon::issue_option_id issue_option)
bool can_enact_military_reform(sys::state &state, dcon::nation_id n, dcon::reform_option_id o)
void set_reform_option(sys::state &state, dcon::nation_id n, dcon::reform_option_id opt)
bool issue_is_selected(sys::state &state, dcon::nation_id nation, dcon::issue_option_id issue_option)
bool has_elections(sys::state &state, dcon::nation_id nation)
float party_total_support(sys::state &state, dcon::pop_id pop, dcon::political_party_id par_id, dcon::nation_id nat_id, dcon::province_id prov_id)
void appoint_ruling_party(sys::state &state, dcon::nation_id n, dcon::political_party_id p)
void update_elections(sys::state &state)
void set_ruling_party(sys::state &state, dcon::nation_id n, dcon::political_party_id p)
void start_election(sys::state &state, dcon::nation_id n)
bool is_election_ongoing(sys::state &state, dcon::nation_id nation)
bool can_enact_economic_reform(sys::state &state, dcon::nation_id n, dcon::reform_option_id o)