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

#include <trigger_parsing.hpp>

Public Member Functions

void months (association_type, float value, error_handler &err, int32_t line, trigger_building_context &context)
 
void years (association_type, float value, error_handler &err, int32_t line, trigger_building_context &context)
 
void group (value_modifier_definition const &value, error_handler &err, int32_t line, trigger_building_context &context)
 
void finish (trigger_building_context &)
 

Public Attributes

std::optional< float > factor
 
float base = 0.0f
 

Detailed Description

Definition at line 6004 of file trigger_parsing.hpp.

Member Function Documentation

◆ finish()

void parsers::value_modifier_definition::finish ( trigger_building_context )
inline

Definition at line 6014 of file trigger_parsing.hpp.

◆ group()

void parsers::value_modifier_definition::group ( value_modifier_definition const &  value,
error_handler err,
int32_t  line,
trigger_building_context context 
)
inline

Definition at line 6013 of file trigger_parsing.hpp.

◆ months()

void parsers::value_modifier_definition::months ( association_type  ,
float  value,
error_handler err,
int32_t  line,
trigger_building_context context 
)
inline

Definition at line 6007 of file trigger_parsing.hpp.

◆ years()

void parsers::value_modifier_definition::years ( association_type  ,
float  value,
error_handler err,
int32_t  line,
trigger_building_context context 
)
inline

Definition at line 6010 of file trigger_parsing.hpp.

Member Data Documentation

◆ base

float parsers::value_modifier_definition::base = 0.0f

Definition at line 6006 of file trigger_parsing.hpp.

◆ factor

std::optional<float> parsers::value_modifier_definition::factor

Definition at line 6005 of file trigger_parsing.hpp.


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