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

#include <parsers_declarations.hpp>

Inheritance diagram for parsers::invention_contents:
Collaboration diagram for parsers::invention_contents:

Public Member Functions

void limit (dcon::trigger_key value, error_handler &err, int32_t line, invention_context &context)
 
void chance (dcon::value_modifier_key value, error_handler &err, int32_t line, invention_context &context)
 
void effect (inv_effect const &value, error_handler &err, int32_t line, invention_context &context)
 
void shared_prestige (association_type, float value, error_handler &err, int32_t line, invention_context &context)
 
- Public Member Functions inherited from parsers::modifier_base
template<typename T >
void icon (association_type, uint32_t v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void tax_efficiency (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void global_population_growth (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void m_rgo_size (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void immigration (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void defender (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void attacker (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void defence (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void pop_growth (association_type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void unit_start_experience (association_type type, float v, error_handler &err, int32_t line, T &context)
 
template<typename T >
void finish (T &context)
 
sys::provincial_modifier_definition const & peek_province_mod () const
 
sys::national_modifier_definition const & peek_national_mod () const
 
sys::national_modifier_definition force_national_mod () const
 

Additional Inherited Members

- Public Attributes inherited from parsers::modifier_base
uint32_t next_to_add_p = 0
 
uint32_t next_to_add_n = 0
 
uint8_t icon_index = 0
 
- Protected Attributes inherited from parsers::modifier_base
sys::national_modifier_definition constructed_definition_n
 
sys::provincial_modifier_definition constructed_definition_p
 

Detailed Description

Definition at line 2058 of file parsers_declarations.hpp.

Member Function Documentation

◆ chance()

void parsers::invention_contents::chance ( dcon::value_modifier_key  value,
error_handler err,
int32_t  line,
invention_context context 
)

Definition at line 1785 of file parsers_declarations.cpp.

◆ effect()

void parsers::invention_contents::effect ( inv_effect const &  value,
error_handler err,
int32_t  line,
invention_context context 
)

Definition at line 1789 of file parsers_declarations.cpp.

◆ limit()

void parsers::invention_contents::limit ( dcon::trigger_key  value,
error_handler err,
int32_t  line,
invention_context context 
)

Definition at line 1781 of file parsers_declarations.cpp.

◆ shared_prestige()

void parsers::invention_contents::shared_prestige ( association_type  ,
float  value,
error_handler err,
int32_t  line,
invention_context context 
)

Definition at line 1777 of file parsers_declarations.cpp.


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