add get result

This commit is contained in:
2025-06-09 14:54:51 +03:00
parent b5ec861332
commit 0215e46e4f
2 changed files with 9 additions and 2 deletions

View File

@@ -17,5 +17,12 @@ namespace VE
std::string m_id;
std::string m_event_log_message;
std::string m_event_id = hack::security::generate_uuid();
template<typename T>
T get_result()
{
auto r = std::any_cast<T>(m_result);
return r;
}
};
}