more configurations

This commit is contained in:
Yunfan Li
2023-10-07 22:12:02 +08:00
parent 5b89437929
commit 4e56008b61
8 changed files with 77 additions and 26 deletions

View File

@@ -170,6 +170,12 @@ class PlayerbotAIConfig
bool downgradeMaxLevelBot;
bool equipmentPersistence;
int32 equipmentPersistenceLevel;
int32 groupInvitationPermission;
bool botReviveWhenSummon;
bool autoInitOnly;
float autoInitEquipLevelLimitRatio;
int32 addClassCommand;
std::string const GetTimestampStr();
bool hasLog(std::string const fileName) { return std::find(allowedLogFiles.begin(), allowedLogFiles.end(), fileName) != allowedLogFiles.end(); };
bool openLog(std::string const fileName, char const* mode = "a");