Added HealRotation HOT methodology (Heal Override Target) and load/save/delete capabilities

This commit is contained in:
Uleat
2016-04-08 20:58:17 -04:00
parent e75a53b775
commit 6e11128cbc
12 changed files with 723 additions and 25 deletions
+20
View File
@@ -167,6 +167,17 @@ public:
bool LoadGroupedBotsByGroupID(const uint32 group_id, std::list<uint32>& group_list);
/* Bot heal rotation functions */
bool LoadHealRotationIDByBotID(const uint32 bot_id, uint32& hr_index);
bool LoadHealRotation(Bot* hr_member, std::list<uint32>& member_list, std::list<std::string>& target_list, bool& load_flag, bool& member_fail, bool& target_fail);
bool LoadHealRotationMembers(const uint32 hr_index, std::list<uint32>& member_list);
bool LoadHealRotationTargets(const uint32 hr_index, std::list<std::string>& target_list);
bool SaveHealRotation(Bot* hr_member, bool& member_fail, bool& target_fail);
bool DeleteHealRotation(const uint32 creator_id);
bool DeleteAllHealRotations(const uint32 owner_id);
/* Bot miscellaneous functions */
@@ -257,6 +268,15 @@ public:
/* fail::Bot group functions */
static const char* LoadGroupedBotsByGroupID();
/* fail::Bot heal rotation functions */
static const char* LoadHealRotationIDByBotID();
static const char* LoadHealRotation();
static const char* LoadHealRotationMembers();
static const char* LoadHealRotationTargets();
static const char* SaveHealRotation();
static const char* DeleteHealRotation();
static const char* DeleteAllHealRotations();
/* fail::Bot miscellaneous functions */
};