mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Quest API] Add Entity Variable Methods to Perl/Lua. (#2609)
* [Quest API] Add Entity Variable Methods to Perl/Lua. # Perl - Add `$mob->ClearEntityVariables()`. - Add `$mob->DeleteEntityVariable(variable_name)`. - Add `$object->ClearEntityVariables()`. - Add `$object->DeleteEntityVariable(variable_name)`. # Lua - Add `mob:ClearEntityVariables()`. - Add `mob:DeleteEntityVariable(variable_name)`. - Add `object:ClearEntityVariables()`. - Add `object:DeleteEntityVariable(variable_name)`. # Notes - Allows operators to clear all entity variables or delete one by name, previously you just had to set to an empty value to clear after being set. * Cleanup.
This commit is contained in:
@@ -301,6 +301,8 @@ public:
|
||||
bool SetAA(int rank_id, int new_value, int charges);
|
||||
bool DivineAura();
|
||||
void SetOOCRegen(int64 new_ooc_regen);
|
||||
bool ClearEntityVariables();
|
||||
bool DeleteEntityVariable(std::string variable_name);
|
||||
std::string GetEntityVariable(std::string variable_name);
|
||||
luabind::object GetEntityVariables(lua_State* L);
|
||||
void SetEntityVariable(std::string variable_name, std::string variable_value);
|
||||
|
||||
Reference in New Issue
Block a user