EventBusProxy.cpp 686 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * EventBusProxy.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "EventBusProxy.h"
  12. #include "../../LuaStack.h"
  13. #include "../../LuaCallWrapper.h"
  14. #include "../Registry.h"
  15. VCMI_LIB_NAMESPACE_BEGIN
  16. namespace scripting
  17. {
  18. namespace api
  19. {
  20. namespace events
  21. {
  22. //No methods here, just an empty metatable for type safety.
  23. VCMI_REGISTER_CORE_SCRIPT_API(EventBusProxy, "EventBus");
  24. const std::vector<EventBusProxy::CustomRegType> EventBusProxy::REGISTER_CUSTOM = {};
  25. }
  26. }
  27. }
  28. VCMI_LIB_NAMESPACE_END