mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-07 21:03:35 +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:
1 parent
7a770e0e08
commit
ce907c9519
31 files changed
+3570
-2679
No files matched your search
@@ -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