mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
18 lines
439 B
C++
Executable File
18 lines
439 B
C++
Executable File
#include "../client.h"
|
|
#include "../../common/file_util.h"
|
|
|
|
void command_reloadaa(Client *c, const Seperator *sep)
|
|
{
|
|
c->Message(Chat::White, "Reloading Alternate Advancement Data...");
|
|
zone->LoadAlternateAdvancement();
|
|
c->Message(Chat::White, "Alternate Advancement Data Reloaded");
|
|
entity_list.SendAlternateAdvancementStats();
|
|
}
|
|
|
|
inline bool file_exists(const std::string &name)
|
|
{
|
|
std::ifstream f(name.c_str());
|
|
return f.good();
|
|
}
|
|
|