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

#include <parsers_declarations.hpp>

Inheritance diagram for parsers::modifier_base:
Collaboration diagram for parsers::modifier_base:

Public Member Functions

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
 

Public Attributes

uint32_t next_to_add_p = 0
 
uint32_t next_to_add_n = 0
 
uint8_t icon_index = 0
 

Protected Attributes

sys::national_modifier_definition constructed_definition_n
 
sys::provincial_modifier_definition constructed_definition_p
 

Detailed Description

Definition at line 595 of file parsers_declarations.hpp.

Member Function Documentation

◆ attacker()

template<typename T >
void parsers::modifier_base::attacker ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 780 of file parsers_declarations.hpp.

◆ defence()

template<typename T >
void parsers::modifier_base::defence ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 791 of file parsers_declarations.hpp.

◆ defender()

template<typename T >
void parsers::modifier_base::defender ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 769 of file parsers_declarations.hpp.

◆ finish()

template<typename T >
void parsers::modifier_base::finish ( T &  context)
inline

Definition at line 868 of file parsers_declarations.hpp.

◆ force_national_mod()

sys::national_modifier_definition parsers::modifier_base::force_national_mod ( ) const
inline

Definition at line 876 of file parsers_declarations.hpp.

Here is the caller graph for this function:

◆ global_population_growth()

template<typename T >
void parsers::modifier_base::global_population_growth ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 668 of file parsers_declarations.hpp.

◆ icon()

template<typename T >
void parsers::modifier_base::icon ( association_type  ,
uint32_t  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 605 of file parsers_declarations.hpp.

◆ immigration()

template<typename T >
void parsers::modifier_base::immigration ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 740 of file parsers_declarations.hpp.

◆ m_rgo_size()

template<typename T >
void parsers::modifier_base::m_rgo_size ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 711 of file parsers_declarations.hpp.

◆ peek_national_mod()

sys::national_modifier_definition const & parsers::modifier_base::peek_national_mod ( ) const
inline

Definition at line 873 of file parsers_declarations.hpp.

Here is the caller graph for this function:

◆ peek_province_mod()

sys::provincial_modifier_definition const & parsers::modifier_base::peek_province_mod ( ) const
inline

Definition at line 870 of file parsers_declarations.hpp.

Here is the caller graph for this function:

◆ pop_growth()

template<typename T >
void parsers::modifier_base::pop_growth ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 843 of file parsers_declarations.hpp.

◆ tax_efficiency()

template<typename T >
void parsers::modifier_base::tax_efficiency ( association_type  ,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 627 of file parsers_declarations.hpp.

◆ unit_start_experience()

template<typename T >
void parsers::modifier_base::unit_start_experience ( association_type  type,
float  v,
error_handler err,
int32_t  line,
T &  context 
)
inline

Definition at line 857 of file parsers_declarations.hpp.

Member Data Documentation

◆ constructed_definition_n

sys::national_modifier_definition parsers::modifier_base::constructed_definition_n
protected

Definition at line 597 of file parsers_declarations.hpp.

◆ constructed_definition_p

sys::provincial_modifier_definition parsers::modifier_base::constructed_definition_p
protected

Definition at line 598 of file parsers_declarations.hpp.

◆ icon_index

uint8_t parsers::modifier_base::icon_index = 0

Definition at line 603 of file parsers_declarations.hpp.

◆ next_to_add_n

uint32_t parsers::modifier_base::next_to_add_n = 0

Definition at line 602 of file parsers_declarations.hpp.

◆ next_to_add_p

uint32_t parsers::modifier_base::next_to_add_p = 0

Definition at line 601 of file parsers_declarations.hpp.


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