|
OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
[KNIGHTS] Knights are the clan/guild system of the game More...
#include <EbenezerModel.h>
Public Types | |
| using | BinderType = ebenezer_binder::Knights |
Public Member Functions | |
| const int16_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 | |
| int16_t | ID = {} |
| Column [IDNum]: Identification number. | |
| uint8_t | Flag = {} |
| Column [Flag]: Flag TODO. | |
| uint8_t | Nation = {} |
| Column [Nation]: Nation identifier. | |
| uint8_t | Ranking = {} |
| Column [Ranking]: Ranking by sum of members National Points. | |
| std::string | Name |
| Column [IDName]: Name of the Knights clan. | |
| int16_t | Members = {} |
| Column [Members]: Member count. | |
| std::string | Chief |
| Column [Chief]: Leader character identifier. | |
| std::optional< std::string > | ViceChief1 |
| Column [ViceChief_1]: Vice chief 1 character identifier. | |
| std::optional< std::string > | ViceChief2 |
| Column [ViceChief_2]: Vice chief 2 character identifier. | |
| std::optional< std::string > | ViceChief3 |
| Column [ViceChief_3]: Vice chief 3 character identifier. | |
| std::optional< std::string > | EnemyName |
| Column [strEnemyName]: Enemy Name TODO. | |
| uint8_t | OldWarResult = {} |
| Column [byOldWarResult]: Old war result. | |
| int32_t | WarEnemyId = {} |
| Column [nWarEnemyID]: War enemy identifier. | |
| int32_t | Victory = {} |
| Column [nVictory]: Victory TODO. | |
| int32_t | Lose = {} |
| Column [nLose]: Lose TODO. | |
| int64_t | Gold = {} |
| Column [Gold]: Gold. | |
| int16_t | Domination = {} |
| Column [Domination]: Domination TODO. | |
| int32_t | Points = {} |
| Column [Points]: National points. | |
| int16_t | MarkVersion = {} |
| Column [sMarkVersion]: Mark version. | |
| int16_t | MarkLength = {} |
| Column [sMarkLen]: Mark length. | |
| std::optional< std::vector< uint8_t > > | Mark |
| Column [Mark]: Mark image. | |
| uint8_t | SiegeFlag = {} |
| Column [bySiegeFlag]: Siege flag. | |
| int16_t | AllianceKnights = {} |
| Column [sAllianceKnights]: Alliance Knights TODO. | |
| int16_t | Cape = {} |
| Column [sCape]: Cape identifier. | |
[KNIGHTS] Knights are the clan/guild system of the game