mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Bots] Convert Bot Database Methods to Repositories (#4023)
* [Bots] Convert Bot Database Methods to Repositories * Final push. * Cleanup. * Cleanup. * Update bot_database.cpp * Update bot_database.cpp * Update bot_database.cpp * Update bot_database.cpp * Update bot_database.cpp
This commit is contained in:
@@ -566,6 +566,9 @@ sub translate_mysql_data_type_to_c
|
||||
elsif ($mysql_data_type =~ /int/) {
|
||||
$struct_data_type = 'uint32_t';
|
||||
}
|
||||
elsif ($mysql_data_type =~ /float|decimal/) {
|
||||
$struct_data_type = 'float';
|
||||
}
|
||||
}
|
||||
elsif ($mysql_data_type =~ /bigint/) {
|
||||
$struct_data_type = 'int64_t';
|
||||
@@ -600,7 +603,8 @@ sub get_reserved_cpp_variable_names
|
||||
"int",
|
||||
"key",
|
||||
"rank",
|
||||
"range"
|
||||
"range",
|
||||
"interval"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user