liblcf
RPG::TroopPageCondition::Flags Struct Reference

#include <rpg_trooppagecondition.h>

+ Collaboration diagram for RPG::TroopPageCondition::Flags:

Public Member Functions

 Flags () noexcept
 

Public Attributes

union {
   struct {
      bool   switch_a
 
      bool   switch_b
 
      bool   variable
 
      bool   turn
 
      bool   fatigue
 
      bool   enemy_hp
 
      bool   actor_hp
 
      bool   turn_enemy
 
      bool   turn_actor
 
      bool   command_actor
 
   } 
 
   std::array< bool, 10 >   flags
 
}; 
 

Detailed Description

Definition at line 25 of file rpg_trooppagecondition.h.

Constructor & Destructor Documentation

◆ Flags()

RPG::TroopPageCondition::Flags::Flags ( )
inlinenoexcept

Definition at line 42 of file rpg_trooppagecondition.h.

Member Data Documentation

◆ 

union { ... }

◆ actor_hp

bool RPG::TroopPageCondition::Flags::actor_hp

Definition at line 34 of file rpg_trooppagecondition.h.

◆ command_actor

bool RPG::TroopPageCondition::Flags::command_actor

Definition at line 37 of file rpg_trooppagecondition.h.

◆ enemy_hp

bool RPG::TroopPageCondition::Flags::enemy_hp

Definition at line 33 of file rpg_trooppagecondition.h.

◆ fatigue

bool RPG::TroopPageCondition::Flags::fatigue

Definition at line 32 of file rpg_trooppagecondition.h.

◆ flags

std::array<bool, 10> RPG::TroopPageCondition::Flags::flags

Definition at line 39 of file rpg_trooppagecondition.h.

Referenced by RPG::operator==().

◆ switch_a

bool RPG::TroopPageCondition::Flags::switch_a

Definition at line 28 of file rpg_trooppagecondition.h.

◆ switch_b

bool RPG::TroopPageCondition::Flags::switch_b

Definition at line 29 of file rpg_trooppagecondition.h.

◆ turn

bool RPG::TroopPageCondition::Flags::turn

Definition at line 31 of file rpg_trooppagecondition.h.

◆ turn_actor

bool RPG::TroopPageCondition::Flags::turn_actor

Definition at line 36 of file rpg_trooppagecondition.h.

◆ turn_enemy

bool RPG::TroopPageCondition::Flags::turn_enemy

Definition at line 35 of file rpg_trooppagecondition.h.

◆ variable

bool RPG::TroopPageCondition::Flags::variable

Definition at line 30 of file rpg_trooppagecondition.h.


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