Project Alice
Loading...
Searching...
No Matches
triggers.hpp File Reference
#include "script_constants.hpp"
#include "dcon_generated.hpp"
#include "container_types.hpp"
Include dependency graph for triggers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  trigger
 

Functions

float trigger::read_float_from_payload (uint16_t const *data)
 
int32_t trigger::read_int32_t_from_payload (uint16_t const *data)
 
int32_t trigger::to_generic (dcon::province_id v)
 
ve::tagged_vector< int32_t > trigger::to_generic (ve::tagged_vector< dcon::province_id > v)
 
ve::contiguous_tags< int32_t > trigger::to_generic (ve::contiguous_tags< dcon::province_id > v)
 
ve::unaligned_contiguous_tags< int32_t > trigger::to_generic (ve::unaligned_contiguous_tags< dcon::province_id > v)
 
ve::partial_contiguous_tags< int32_t > trigger::to_generic (ve::partial_contiguous_tags< dcon::province_id > v)
 
int32_t trigger::to_generic (dcon::nation_id v)
 
ve::tagged_vector< int32_t > trigger::to_generic (ve::tagged_vector< dcon::nation_id > v)
 
ve::contiguous_tags< int32_t > trigger::to_generic (ve::contiguous_tags< dcon::nation_id > v)
 
ve::unaligned_contiguous_tags< int32_t > trigger::to_generic (ve::unaligned_contiguous_tags< dcon::nation_id > v)
 
ve::partial_contiguous_tags< int32_t > trigger::to_generic (ve::partial_contiguous_tags< dcon::nation_id > v)
 
int32_t trigger::to_generic (dcon::pop_id v)
 
ve::tagged_vector< int32_t > trigger::to_generic (ve::tagged_vector< dcon::pop_id > v)
 
ve::contiguous_tags< int32_t > trigger::to_generic (ve::contiguous_tags< dcon::pop_id > v)
 
ve::unaligned_contiguous_tags< int32_t > trigger::to_generic (ve::unaligned_contiguous_tags< dcon::pop_id > v)
 
ve::partial_contiguous_tags< int32_t > trigger::to_generic (ve::partial_contiguous_tags< dcon::pop_id > v)
 
int32_t trigger::to_generic (dcon::state_instance_id v)
 
ve::tagged_vector< int32_t > trigger::to_generic (ve::tagged_vector< dcon::state_instance_id > v)
 
ve::contiguous_tags< int32_t > trigger::to_generic (ve::contiguous_tags< dcon::state_instance_id > v)
 
ve::unaligned_contiguous_tags< int32_t > trigger::to_generic (ve::unaligned_contiguous_tags< dcon::state_instance_id > v)
 
ve::partial_contiguous_tags< int32_t > trigger::to_generic (ve::partial_contiguous_tags< dcon::state_instance_id > v)
 
int32_t trigger::to_generic (dcon::rebel_faction_id v)
 
ve::tagged_vector< int32_t > trigger::to_generic (ve::tagged_vector< dcon::rebel_faction_id > v)
 
ve::contiguous_tags< int32_t > trigger::to_generic (ve::contiguous_tags< dcon::rebel_faction_id > v)
 
ve::unaligned_contiguous_tags< int32_t > trigger::to_generic (ve::unaligned_contiguous_tags< dcon::rebel_faction_id > v)
 
ve::partial_contiguous_tags< int32_t > trigger::to_generic (ve::partial_contiguous_tags< dcon::rebel_faction_id > v)
 
dcon::province_id trigger::to_prov (int32_t v)
 
ve::tagged_vector< dcon::province_id > trigger::to_prov (ve::tagged_vector< int32_t > v)
 
ve::contiguous_tags< dcon::province_id > trigger::to_prov (ve::contiguous_tags< int32_t > v)
 
ve::unaligned_contiguous_tags< dcon::province_id > trigger::to_prov (ve::unaligned_contiguous_tags< int32_t > v)
 
ve::partial_contiguous_tags< dcon::province_id > trigger::to_prov (ve::partial_contiguous_tags< int32_t > v)
 
dcon::nation_id trigger::to_nation (int32_t v)
 
ve::tagged_vector< dcon::nation_id > trigger::to_nation (ve::tagged_vector< int32_t > v)
 
ve::contiguous_tags< dcon::nation_id > trigger::to_nation (ve::contiguous_tags< int32_t > v)
 
ve::unaligned_contiguous_tags< dcon::nation_id > trigger::to_nation (ve::unaligned_contiguous_tags< int32_t > v)
 
ve::partial_contiguous_tags< dcon::nation_id > trigger::to_nation (ve::partial_contiguous_tags< int32_t > v)
 
dcon::pop_id trigger::to_pop (int32_t v)
 
ve::tagged_vector< dcon::pop_id > trigger::to_pop (ve::tagged_vector< int32_t > v)
 
ve::contiguous_tags< dcon::pop_id > trigger::to_pop (ve::contiguous_tags< int32_t > v)
 
ve::unaligned_contiguous_tags< dcon::pop_id > trigger::to_pop (ve::unaligned_contiguous_tags< int32_t > v)
 
ve::partial_contiguous_tags< dcon::pop_id > trigger::to_pop (ve::partial_contiguous_tags< int32_t > v)
 
dcon::state_instance_id trigger::to_state (int32_t v)
 
ve::tagged_vector< dcon::state_instance_id > trigger::to_state (ve::tagged_vector< int32_t > v)
 
ve::contiguous_tags< dcon::state_instance_id > trigger::to_state (ve::contiguous_tags< int32_t > v)
 
ve::unaligned_contiguous_tags< dcon::state_instance_id > trigger::to_state (ve::unaligned_contiguous_tags< int32_t > v)
 
ve::partial_contiguous_tags< dcon::state_instance_id > trigger::to_state (ve::partial_contiguous_tags< int32_t > v)
 
dcon::rebel_faction_id trigger::to_rebel (int32_t v)
 
ve::tagged_vector< dcon::rebel_faction_id > trigger::to_rebel (ve::tagged_vector< int32_t > v)
 
ve::contiguous_tags< dcon::rebel_faction_id > trigger::to_rebel (ve::contiguous_tags< int32_t > v)
 
ve::unaligned_contiguous_tags< dcon::rebel_faction_id > trigger::to_rebel (ve::unaligned_contiguous_tags< int32_t > v)
 
ve::partial_contiguous_tags< dcon::rebel_faction_id > trigger::to_rebel (ve::partial_contiguous_tags< int32_t > v)
 
float trigger::evaluate_multiplicative_modifier (sys::state &state, dcon::value_modifier_key modifier, int32_t primary, int32_t this_slot, int32_t from_slot)
 
ve::fp_vector trigger::evaluate_multiplicative_modifier (sys::state &state, dcon::value_modifier_key modifier, ve::contiguous_tags< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
ve::fp_vector trigger::evaluate_multiplicative_modifier (sys::state &state, dcon::value_modifier_key modifier, ve::contiguous_tags< int32_t > primary, ve::contiguous_tags< int32_t > this_slot, int32_t from_slot)
 
ve::fp_vector trigger::evaluate_additive_modifier (sys::state &state, dcon::value_modifier_key modifier, ve::contiguous_tags< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
float trigger::evaluate_additive_modifier (sys::state &state, dcon::value_modifier_key modifier, int32_t primary, int32_t this_slot, int32_t from_slot)
 
ve::fp_vector trigger::evaluate_additive_modifier (sys::state &state, dcon::value_modifier_key modifier, ve::contiguous_tags< int32_t > primary, ve::contiguous_tags< int32_t > this_slot, int32_t from_slot)
 
ve::fp_vector trigger::evaluate_purely_additive_modifier (sys::state &state, dcon::value_modifier_key modifier, ve::contiguous_tags< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
float trigger::evaluate_purely_additive_modifier (sys::state &state, dcon::value_modifier_key modifier, int32_t primary, int32_t this_slot, int32_t from_slot)
 
ve::fp_vector trigger::evaluate_purely_additive_modifier (sys::state &state, dcon::value_modifier_key modifier, ve::contiguous_tags< int32_t > primary, ve::contiguous_tags< int32_t > this_slot, int32_t from_slot)
 
bool trigger::evaluate (sys::state &state, dcon::trigger_key key, int32_t primary, int32_t this_slot, int32_t from_slot)
 
bool trigger::evaluate (sys::state &state, uint16_t const *data, int32_t primary, int32_t this_slot, int32_t from_slot)
 
ve::mask_vector trigger::evaluate (sys::state &state, dcon::trigger_key key, ve::contiguous_tags< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
ve::mask_vector trigger::evaluate (sys::state &state, uint16_t const *data, ve::contiguous_tags< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
ve::mask_vector trigger::evaluate (sys::state &state, dcon::trigger_key key, ve::tagged_vector< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
ve::mask_vector trigger::evaluate (sys::state &state, uint16_t const *data, ve::tagged_vector< int32_t > primary, ve::tagged_vector< int32_t > this_slot, int32_t from_slot)
 
ve::mask_vector trigger::evaluate (sys::state &state, dcon::trigger_key key, ve::contiguous_tags< int32_t > primary, ve::contiguous_tags< int32_t > this_slot, int32_t from_slot)
 
ve::mask_vector trigger::evaluate (sys::state &state, uint16_t const *data, ve::contiguous_tags< int32_t > primary, ve::contiguous_tags< int32_t > this_slot, int32_t from_slot)