mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 11:28:25 +00:00
[Quest API] Add Native Database Querying Interface (#4531)
* Add database quest API API functions are named to be similar to LuaSQL and perl DBI New connections are made for Database objects. These can either use credentials from the server eqemu_config or manual connections. * Add option to use zone db connections
This commit is contained in:
+3
-1
@@ -42,6 +42,7 @@
|
||||
#include "lua_spawn.h"
|
||||
#include "lua_spell.h"
|
||||
#include "lua_stat_bonuses.h"
|
||||
#include "lua_database.h"
|
||||
|
||||
const char *LuaEvents[_LargestEventID] = {
|
||||
"event_say",
|
||||
@@ -1318,7 +1319,8 @@ void LuaParser::MapFunctions(lua_State *L) {
|
||||
lua_register_expedition(),
|
||||
lua_register_expedition_lock_messages(),
|
||||
lua_register_buff(),
|
||||
lua_register_exp_source()
|
||||
lua_register_exp_source(),
|
||||
lua_register_database()
|
||||
)];
|
||||
|
||||
} catch(std::exception &ex) {
|
||||
|
||||
Reference in New Issue
Block a user