Project Alice
Loading...
Searching...
No Matches
parsers::event_option Struct Reference

#include <effect_parsing.hpp>

Inheritance diagram for parsers::event_option:
Collaboration diagram for parsers::event_option:

Public Member Functions

void name (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
- Public Member Functions inherited from parsers::effect_body
void finish (effect_building_context &)
 
void capital (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_core (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_core (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_region_name (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void trade_goods (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_accepted_culture (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void primary_culture (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_accepted_culture (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void set_culture (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void life_rating (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void religion (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void is_slave (association_type t, bool value, error_handler &err, int32_t line, effect_building_context &context)
 
void research_points (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void tech_school (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void government (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void treasury (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void war_exhaustion (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void prestige (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_tag (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_tag_no_core_switch (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void set_country_flag (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void clr_country_flag (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void country_event (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void province_event (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void military_access (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void badboy (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void secede_province (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void inherit (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void annex_to (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void release (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_controller (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void infrastructure (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void fort (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void naval_base (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void bank (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void university (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void province_selector (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void province_immigrator (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void money (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void leadership (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void create_vassal (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void end_military_access (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void leave_alliance (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void end_war (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void enable_ideology (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void ruling_party_ideology (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void plurality (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_province_modifier (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_country_modifier (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void create_alliance (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void release_vassal (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_province_name (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void enable_canal (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void set_global_flag (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void clr_global_flag (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void nationalvalue (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void civilized (association_type t, bool value, error_handler &err, int32_t line, effect_building_context &context)
 
void election (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void social_reform (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void political_reform (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_tax_relative_income (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void neutrality (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void reduce_pop (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void reduce_pop_abs (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void move_pop (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void pop_type (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void years_of_research (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void prestige_factor (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void military_reform (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void economic_reform (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_random_military_reforms (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_random_economic_reforms (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_crime (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void nationalize (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void build_factory_in_capital_state (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void activate_technology (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void great_wars_enabled (association_type t, bool value, error_handler &err, int32_t line, effect_building_context &context)
 
void world_wars_enabled (association_type t, bool value, error_handler &err, int32_t line, effect_building_context &context)
 
void assimilate (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void literacy (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_crisis_interest (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void flashpoint_tension (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_crisis_temperature (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void consciousness (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void militancy (association_type t, float value, error_handler &err, int32_t line, effect_building_context &context)
 
void rgo_size (association_type t, int32_t value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_province_modifier (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_country_modifier (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void trigger_revolt (ef_trigger_revolt const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void diplomatic_influence (ef_diplomatic_influence const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void relation (ef_relation const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_province_modifier (ef_add_province_modifier const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_country_modifier (ef_add_country_modifier const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void casus_belli (ef_casus_belli const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_casus_belli (ef_add_casus_belli const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void remove_casus_belli (ef_remove_casus_belli const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void this_remove_casus_belli (ef_this_remove_casus_belli const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void war (ef_war const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void country_event (ef_country_event const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void province_event (ef_province_event const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void sub_unit (ef_sub_unit const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void set_variable (ef_set_variable const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_variable (ef_change_variable const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void increment_variable (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void decrement_variable (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void set_variable_to_zero (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_terrain (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void masquerade_as_nation (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void ideology (ef_ideology const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void dominant_issue (ef_dominant_issue const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void upper_house (ef_upper_house const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void scaled_militancy (ef_scaled_militancy const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void scaled_consciousness (ef_scaled_consciousness const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void define_general (ef_define_general const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void define_admiral (ef_define_admiral const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void kill_leader (association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void add_war_goal (ef_add_war_goal const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void move_issue_percentage (ef_move_issue_percentage const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void party_loyalty (ef_party_loyalty const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_party_name (ef_change_party_name const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void change_party_position (ef_change_party_position const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void build_railway_in_capital (ef_build_railway_in_capital const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void build_bank_in_capital (ef_build_bank_in_capital const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void build_university_in_capital (ef_build_university_in_capital const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void build_fort_in_capital (ef_build_fort_in_capital const &value, error_handler &err, int32_t line, effect_building_context &context)
 
void any_value (std::string_view label, association_type t, std::string_view value, error_handler &err, int32_t line, effect_building_context &context)
 
void limit (dcon::trigger_key lim, error_handler &err, int32_t line, effect_building_context &context)
 

Public Attributes

dcon::value_modifier_key ai_chance
 
dcon::text_key name_
 
- Public Attributes inherited from parsers::effect_body
int32_t chance = 0
 

Detailed Description

Definition at line 3770 of file effect_parsing.hpp.

Member Function Documentation

◆ name()

void parsers::event_option::name ( association_type  t,
std::string_view  value,
error_handler err,
int32_t  line,
effect_building_context context 
)
inline

Definition at line 3774 of file effect_parsing.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ ai_chance

dcon::value_modifier_key parsers::event_option::ai_chance

Definition at line 3771 of file effect_parsing.hpp.

◆ name_

dcon::text_key parsers::event_option::name_

Definition at line 3772 of file effect_parsing.hpp.


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