mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-18 11:21:29 +00:00
[Cleanup] Remove ExportVarComplex() from embparser.cpp/embparser.h (#3282)
# Notes - This is unused.
This commit is contained in:
parent
a7e95d7818
commit
c5c9985e0d
@ -835,25 +835,6 @@ void PerlembParser::ExportVar(const char *pkgprefix, const char *varname, float
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PerlembParser::ExportVarComplex(const char *pkgprefix, const char *varname, const char *value)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!perl) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
perl->eval(std::string("$").append(pkgprefix).append("::").append(varname).append("=").append(value).append(";").c_str());
|
|
||||||
}
|
|
||||||
catch (std::string e) {
|
|
||||||
AddError(
|
|
||||||
fmt::format(
|
|
||||||
"Error exporting Perl variable [{}]",
|
|
||||||
e
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void PerlembParser::ExportVar(const char *pkgprefix, const char *varname, const char *value)
|
void PerlembParser::ExportVar(const char *pkgprefix, const char *varname, const char *value)
|
||||||
{
|
{
|
||||||
if (!perl) {
|
if (!perl) {
|
||||||
|
|||||||
@ -145,7 +145,6 @@ private:
|
|||||||
void ExportVar(const char *pkgprefix, const char *varname, uint32 value);
|
void ExportVar(const char *pkgprefix, const char *varname, uint32 value);
|
||||||
void ExportVar(const char *pkgprefix, const char *varname, float value);
|
void ExportVar(const char *pkgprefix, const char *varname, float value);
|
||||||
void ExportVar(const char* pkgprefix, const char* varname, const char* classname, void* value);
|
void ExportVar(const char* pkgprefix, const char* varname, const char* classname, void* value);
|
||||||
void ExportVarComplex(const char *pkgprefix, const char *varname, const char *value);
|
|
||||||
|
|
||||||
int EventCommon(
|
int EventCommon(
|
||||||
QuestEventID event,
|
QuestEventID event,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user