@@ -26,7 +26,7 @@ namespace lcf {
2626namespace rpg {
2727 class TroopPageCondition {
2828 public:
29- struct TroopPageCondition_Flags {
29+ struct Flags {
3030 union {
3131 struct {
3232 bool switch_a;
@@ -42,7 +42,7 @@ namespace rpg {
4242 };
4343 std::array<bool , 10 > flags;
4444 };
45- TroopPageCondition_Flags () noexcept : switch_a(false ), switch_b(false ), variable(false ), turn(false ), fatigue(false ), enemy_hp(false ), actor_hp(false ), turn_enemy(false ), turn_actor(false ), command_actor(false )
45+ Flags () noexcept : switch_a(false ), switch_b(false ), variable(false ), turn(false ), fatigue(false ), enemy_hp(false ), actor_hp(false ), turn_enemy(false ), turn_actor(false ), command_actor(false )
4646 {}
4747 } flags;
4848 int32_t switch_a_id = 1 ;
@@ -69,15 +69,15 @@ namespace rpg {
6969 int32_t command_id = 1 ;
7070 };
7171
72- inline bool operator ==(const TroopPageCondition::TroopPageCondition_Flags & l, const TroopPageCondition::TroopPageCondition_Flags & r) {
72+ inline bool operator ==(const TroopPageCondition::Flags & l, const TroopPageCondition::Flags & r) {
7373 return l.flags == r.flags ;
7474 }
7575
76- inline bool operator !=(const TroopPageCondition::TroopPageCondition_Flags & l, const TroopPageCondition::TroopPageCondition_Flags & r) {
76+ inline bool operator !=(const TroopPageCondition::Flags & l, const TroopPageCondition::Flags & r) {
7777 return !(l == r);
7878 }
7979
80- std::ostream& operator <<(std::ostream& os, const TroopPageCondition::TroopPageCondition_Flags & obj);
80+ std::ostream& operator <<(std::ostream& os, const TroopPageCondition::Flags & obj);
8181
8282 inline bool operator ==(const TroopPageCondition& l, const TroopPageCondition& r) {
8383 return l.flags == r.flags
0 commit comments