[Quest API] Add Mob-based data bucket methods to Perl/Lua. (#1237)

* Add Mob-based data bucket methods to Perl/Lua.

* Update mob.cpp

* Update perl_mob.cpp
This commit is contained in:
Alex
2021-02-09 00:06:33 -05:00
committed by GitHub
parent ef0398ebd3
commit f2b67ae969
7 changed files with 252 additions and 1 deletions
+6
View File
@@ -1197,6 +1197,12 @@ public:
bool CanOpenDoors() const;
void SetCanOpenDoors(bool can_open);
void DeleteBucket(std::string bucket_name);
std::string GetBucket(std::string bucket_name);
std::string GetBucketExpires(std::string bucket_name);
std::string GetBucketKey();
std::string GetBucketRemaining(std::string bucket_name);
void SetBucket(std::string bucket_name, std::string bucket_value, std::string expiration = "");
#ifdef BOTS
// Bots HealRotation methods