mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 20:08:37 +00:00
[Databuckets] Add Zone Scoped Databuckets (#4690)
* [Databuckets] Add Zone Scoped Databuckets
* Add database indexes
* Update database_update_manifest.cpp
* Shutdown fix
* Testing
* Perf boost
* Revert "Perf boost"
This reverts commit 55d3e507d3.
* Update data_bucket.cpp
This commit is contained in:
@@ -141,6 +141,14 @@ public:
|
||||
void SetIsHotzone(bool is_hotzone);
|
||||
void ShowZoneGlobalLoot(Lua_Client c);
|
||||
|
||||
// data buckets
|
||||
void SetBucket(const std::string& bucket_name, const std::string& bucket_value);
|
||||
void SetBucket(const std::string& bucket_name, const std::string& bucket_value, const std::string& expiration = "");
|
||||
void DeleteBucket(const std::string& bucket_name);
|
||||
std::string GetBucket(const std::string& bucket_name);
|
||||
std::string GetBucketExpires(const std::string& bucket_name);
|
||||
std::string GetBucketRemaining(const std::string& bucket_name);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user