SubscriptionRegistryProxy.cpp 632 B

123456789101112131415161718192021222324252627
  1. /*
  2. * SubscriptionRegistryProxy.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 "SubscriptionRegistryProxy.h"
  12. #include "../Registry.h"
  13. namespace scripting
  14. {
  15. namespace api
  16. {
  17. namespace events
  18. {
  19. //No methods here, just an empty metatable for type safety.
  20. VCMI_REGISTER_CORE_SCRIPT_API(EventSubscriptionProxy, "EventSubscription");
  21. const std::vector<EventSubscriptionProxy::CustomRegType> EventSubscriptionProxy::REGISTER_CUSTOM = {};
  22. }
  23. }
  24. }