[Commands] Add #zonevariable Command (#4882)

* [Commands] Add #zonevariable Command

* Update zonevariable.cpp

* Argument safety

---------

Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
Alex KingandChris Miles authored and GitHub committed 2025-05-14 20:53:43 -05:00
1 parent 888a88f966
commit f29478c105
8 files changed
+116 -8

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ public:
int32 MobsAggroCount() { return aggroedmobs; }
DynamicZone *GetDynamicZone();
void ClearVariables();
bool ClearVariables();
bool DeleteVariable(const std::string& variable_name);
std::string GetVariable(const std::string& variable_name);
std::vector<std::string> GetVariables();