|
OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
[MAGIC_TYPE6] Supports transformation magic More...
#include <EbenezerModel.h>
Public Types | |
| using | BinderType = ebenezer_binder::MagicType6 |
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 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. | |
| int16_t | Size = {} |
| Column [Size]: Size modifier. | |
| int16_t | TransformId = {} |
| Column [TransformID]: Transformation picture identifier (K_NPC.sPid) | |
| int16_t | Duration = {} |
| Column [Duration]: Duration. | |
| int16_t | MaxHp = {} |
| Column [MaxHp]: Maximum health. | |
| int16_t | MaxMp = {} |
| Column [MaxMp]: Maximum mana. | |
| uint8_t | Speed = {} |
| Column [Speed]: Movement speed. | |
| int16_t | AttackSpeed = {} |
| Column [AttackSpeed]: Attack speed. | |
| int16_t | TotalHit = {} |
| Column [TotalHit]: Total hit. | |
| int16_t | TotalArmor = {} |
| Column [TotalAc]: Total armor. | |
| int16_t | TotalHitRate = {} |
| Column [TotalHitRate]: Total hit rate. | |
| int16_t | TotalEvasionRate = {} |
| Column [TotalEvasionRate]: Total evasion rate. | |
| int16_t | TotalFireResist = {} |
| Column [TotalFireR]: Total fire resistance. | |
| int16_t | TotalColdResist = {} |
| Column [TotalColdR]: Total cold resistance. | |
| int16_t | TotalLightningResist = {} |
| Column [TotalLightningR]: Total lightning resistance. | |
| int16_t | TotalMagicResist = {} |
| Column [TotalMagicR]: Total magic resistance. | |
| int16_t | TotalDiseaseResist = {} |
| Column [TotalDiseaseR]: Total disease resistance. | |
| int16_t | TotalPoisonResist = {} |
| Column [TotalPoisonR]: Total poison resistance. | |
| int16_t | Class = {} |
| Column [Class]: Class. | |
| uint8_t | UserSkillUse = {} |
| Column [UserSkillUse]: User skill use TODO - allow skill use? | |
| uint8_t | NeedItem = {} |
| Column [NeedItem]: Needs item. | |
| uint8_t | SkillSuccessRate = {} |
| Column [SkillSuccessRate]: Skill success rate. | |
| uint8_t | MonsterFriendly = {} |
| Column [MonsterFriendly]: Do monsters ignore the player while transformed? | |
[MAGIC_TYPE6] Supports transformation magic