31 #ifndef CRAB_CHANGEVAL_H 32 #define CRAB_CHANGEVAL_H 34 #include "common/str.h" 35 #include "crab/loaders.h" 36 #include "crab/people/opinion.h" 40 using namespace pyrodactyl::people;
42 namespace pyrodactyl {
49 int _val[pyrodactyl::people::OPI_TOTAL];
53 _val[OPI_RESPECT] = 0;
61 void load(rapidxml::xml_node<char> *node) {
62 loadStr(_id,
"id", node);
63 loadNum(_val[OPI_LIKE],
"like", node);
64 loadNum(_val[OPI_RESPECT],
"respect", node);
65 loadNum(_val[OPI_FEAR],
"fear", node);
73 #endif // CRAB_CHANGEVAL_H
Definition: changeval.h:44
Definition: moveeffect.h:37