mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Export quest::is_content_flag_enabled and quest::set_content_flag
This commit is contained in:
+1
-14
@@ -409,20 +409,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
content_service.SetExpansionContext();
|
||||
|
||||
std::vector<std::string> set_content_flags;
|
||||
auto content_flags = ContentFlagsRepository::GetWhere("enabled = 1");
|
||||
set_content_flags.reserve(content_flags.size());
|
||||
|
||||
for (auto &flags: content_flags) {
|
||||
set_content_flags.push_back(flags.flag_name);
|
||||
|
||||
LogInfo(
|
||||
"Enabled content flag [{}]",
|
||||
flags.flag_name
|
||||
);
|
||||
}
|
||||
|
||||
content_service.SetContentFlags(set_content_flags);
|
||||
ZoneStore::LoadContentFlags();
|
||||
|
||||
#ifdef BOTS
|
||||
LogInfo("Loading bot commands");
|
||||
|
||||
Reference in New Issue
Block a user