OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
full_model::MagicType1 Class Referenceexport
module FullModel

[MAGIC_TYPE1] Supports melee abilities More...

Public Types

enum class  EnumType { Normal = 0 , AlwaysHit = 1 , IgnoreDefense = 2 }
 Known valid values for Type. More...
 
using BinderType = full_binder::MagicType1
 

Public Member Functions

const int32_t & MapKey () const
 Returns a value for use in map keys based on the table's primary key.
 

Static Public Member Functions

static const std::string & TableName ()
 Returns the table name.
 
static const std::unordered_set< std::string > & ColumnNames ()
 Returns a set of column names for the table.
 
static const std::vector< std::string > & OrderedColumnNames ()
 Returns an ordered vector of column names for the table.
 
static const std::unordered_set< std::string > & BlobColumns ()
 Returns a set of blob column names for the table.
 
static const modelUtil::DbType DbType ()
 Returns the associated database type for the table.
 
static const std::vector< std::string > & PrimaryKey ()
 Returns the columns associated with the table's Primary Key.
 

Public Attributes

int32_t ID = {}
 Column [iNum]: Magic identification number.
 
std::optional< std::string > Name
 Column [Name]: Name.
 
std::optional< std::string > Description
 Column [Description]: Description.
 
uint8_t Type = {}
 Column [Type]: Attack special type.
 
int16_t HitRateMod = {}
 Column [HitRate]: Hit chance modifier - 100 is normal.
 
int16_t DamageMod = {}
 Column [Hit]: Hit damage modifier - 100 is normal.
 
int16_t AddDamage = {}
 Column [AddDamage]: Additional flat damage caused by ability.
 
uint8_t Delay = {}
 Column [Delay]: Delay TODO.
 
uint8_t ComboType = {}
 Column [ComboType]: Combo type TODO.
 
uint8_t ComboCount = {}
 Column [ComboCount]: Combo count TODO.
 
int16_t ComboDamage = {}
 Column [ComboDamage]: Combo damage multiplier.
 
int16_t Range = {}
 Column [Range]: Maximum distance to target.
 

Detailed Description

[MAGIC_TYPE1] Supports melee abilities

GAME Database - Full Library
MAGIC_TYPE1 Supports melee abilities

Member Enumeration Documentation

◆ EnumType

Known valid values for Type.

Enumerator
Normal 

Subject to all normal defence checks.

AlwaysHit 

Ability always hits.

IgnoreDefense 

Ability ignores defense.

Member Data Documentation

◆ Type

uint8_t full_model::MagicType1::Type = {}

Column [Type]: Attack special type.

See also
EnumType

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