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

#include <parsers_declarations.hpp>

Inheritance diagram for parsers::commodity_set:
Collaboration diagram for parsers::commodity_set:

Public Member Functions

void any_value (std::string_view name, association_type, float value, error_handler &err, int32_t line, scenario_building_context &context)
 
void finish (scenario_building_context &)
 

Public Attributes

int32_t num_added = 0
 
- Public Attributes inherited from economy::commodity_set
float commodity_amounts [set_size] = {0.0f}
 
dcon::commodity_id commodity_type [set_size] = {dcon::commodity_id{}}
 

Additional Inherited Members

- Static Public Attributes inherited from economy::commodity_set
static constexpr uint32_t set_size = 8
 

Detailed Description

Definition at line 1408 of file parsers_declarations.hpp.

Member Function Documentation

◆ any_value()

void parsers::commodity_set::any_value ( std::string_view  name,
association_type  ,
float  value,
error_handler err,
int32_t  line,
scenario_building_context context 
)

Definition at line 351 of file parsers_declarations.cpp.

◆ finish()

void parsers::commodity_set::finish ( scenario_building_context )
inline

Definition at line 1413 of file parsers_declarations.hpp.

Member Data Documentation

◆ num_added

int32_t parsers::commodity_set::num_added = 0

Definition at line 1409 of file parsers_declarations.hpp.


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