mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 00:27:16 +00:00
Added get_data_expires function to both Perl and Lua to retrieve DataBucket expire time
This commit is contained in:
1 parent
9f039b47e9
commit
88debae660
4 files changed
+45
No files matched your search
@@ -822,6 +822,10 @@ std::string lua_get_data(std::string bucket_key) {
|
||||
return DataBucket::GetData(bucket_key);
|
||||
}
|
||||
|
||||
std::string lua_get_data_expires(std::string bucket_key) {
|
||||
return DataBucket::GetDataExpires(bucket_key);
|
||||
}
|
||||
|
||||
void lua_set_data(std::string bucket_key, std::string bucket_value) {
|
||||
DataBucket::SetData(bucket_key, bucket_value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user