liblcf
RPG::BattleCommand Class Reference

#include <rpg_battlecommand.h>

+ Collaboration diagram for RPG::BattleCommand:

Public Types

enum  Type {
  Type_attack = 0,
  Type_skill = 1,
  Type_subskill = 2,
  Type_defense = 3,
  Type_item = 4,
  Type_escape = 5,
  Type_special = 6
}
 

Public Attributes

int ID = 0
 
std::string name
 
int32_t type = 0
 

Static Public Attributes

static constexpr auto kTypeTags
 

Detailed Description

Definition at line 23 of file rpg_battlecommand.h.

Member Enumeration Documentation

◆ Type

Enumerator
Type_attack 
Type_skill 
Type_subskill 
Type_defense 
Type_item 
Type_escape 
Type_special 

Definition at line 25 of file rpg_battlecommand.h.

Member Data Documentation

◆ ID

int RPG::BattleCommand::ID = 0

Definition at line 44 of file rpg_battlecommand.h.

◆ kTypeTags

constexpr auto RPG::BattleCommand::kTypeTags
static
Initial value:
= makeEnumTags<Type>(
"attack",
"skill",
"subskill",
"defense",
"item",
"escape",
"special"
)

Definition at line 34 of file rpg_battlecommand.h.

◆ name

static TypedField< RPG::BattleCommand, std::string > static_name & RPG::BattleCommand::name

Definition at line 45 of file rpg_battlecommand.h.

Referenced by RPG::operator==().

◆ type

static TypedField< RPG::BattleCommand, int32_t > static_type & RPG::BattleCommand::type = 0

Definition at line 46 of file rpg_battlecommand.h.

Referenced by RPG::operator==().


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