22 #ifndef DGDS_SCENE_CONDITION_H 23 #define DGDS_SCENE_CONDITION_H 25 #include "common/types.h" 26 #include "common/str.h" 32 kSceneCondLessThan = 1,
37 kSceneCondNeedItemSceneNum = 0x20,
38 kSceneCondNeedItemQuality = 0x40,
39 kSceneCondSceneState = 0x80
44 SceneConditions(uint16 num, SceneCondition cond, int16 val) : _num(num), _flags(cond), _val(val) {}
47 uint16 getNum()
const {
return _num; }
48 SceneCondition getCond()
const {
return _flags; }
49 int16 getVal()
const {
return _val; }
53 SceneCondition _flags;
59 #endif // DGDS_SCENE_CONDITION_H
Definition: scene_condition.h:42