OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
[MAGIC_TYPE3] Supports Area of Effect and Damage over Time effects More...
Public Types | |
enum class | EnumDirectType { Unknown0 = 0 , FlatHp = 1 , FlatMana = 2 , FlatDurability = 4 , Unknown5 = 5 , AbsorbHp = 8 , PercentHp = 9 , Unknown11 = 11 , Unknown12 = 12 , Unknown255 = 255 } |
Known valid values for DirectType. More... | |
using | BinderType = full_binder::MagicType3 |
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 | Radius = {} |
Column [Radius]: Area of effect circle radius. | |
int16_t | Angle = {} |
Column [Angle]: Angle seems unused/unimplemented TODO. | |
uint8_t | DirectType = {} |
Column [DirectType]: Damage calculation type. | |
int16_t | FirstDamage = {} |
Column [FirstDamage]: Damage applied on hit. | |
int16_t | EndDamage = {} |
Column [EndDamage]: Damage taken at end of effect. | |
int16_t | TimeDamage = {} |
Column [TimeDamage]: Total damage dealt over Duration. | |
uint8_t | Duration = {} |
Column [Duration]: Duration of damage over time effects. | |
uint8_t | Attribute = {} |
Column [Attribute]: Attribute TODO. | |
[MAGIC_TYPE3] Supports Area of Effect and Damage over Time effects
|
strong |
Known valid values for DirectType.
uint8_t full_model::MagicType3::DirectType = {} |
Column [DirectType]: Damage calculation type.