Skip to content

Commit

Permalink
Fix Lua after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Jan 21, 2025
1 parent 5cfd226 commit 3450d35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zone/lua_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3464,6 +3464,12 @@ void Lua_Client::SetAAEXPPercentage(uint8 percentage)
self->SetAAEXPPercentage(percentage);
}

void Lua_Client::SetAccountBucket(std::string bucket_name, std::string bucket_value)
{
Lua_Safe_Call_Void();
self->SetAccountBucket(bucket_name, bucket_value);
}

void Lua_Client::SetAccountBucket(std::string bucket_name, std::string bucket_value, std::string expiration)
{
Lua_Safe_Call_Void();
Expand Down
1 change: 1 addition & 0 deletions zone/lua_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ class Lua_Client : public Lua_Mob
void SetAAEXPPercentage(uint8 percentage);

// account data buckets
void SetAccountBucket(std::string bucket_name, std::string bucket_value);
void SetAccountBucket(std::string bucket_name, std::string bucket_value, std::string expiration = "");
void DeleteAccountBucket(std::string bucket_name);
std::string GetAccountBucket(std::string bucket_name);
Expand Down

0 comments on commit 3450d35

Please sign in to comment.