mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
Reworked BotDatabase into a functional add-on for ZoneDatabase
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#include "aa_ability.h"
|
||||
#include "event_codes.h"
|
||||
|
||||
#ifdef BOTS
|
||||
#include "bot_database.h"
|
||||
#endif
|
||||
|
||||
class Client;
|
||||
class Corpse;
|
||||
class Merc;
|
||||
@@ -535,6 +539,11 @@ public:
|
||||
/* Things which really dont belong here... */
|
||||
int16 CommandRequirement(const char* commandname);
|
||||
|
||||
#ifdef BOTS
|
||||
// bot database add-on to eliminate the need for a second database connection
|
||||
BotDatabase botdb;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
void ZDBInitVars();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user