BattleEvents.h 705 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * BattleEvents.h, 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. #pragma once
  11. #include <vcmi/events/BattleEvents.h>
  12. #include "../../LuaWrapper.h"
  13. #include "EventBusProxy.h"
  14. VCMI_LIB_NAMESPACE_BEGIN
  15. namespace scripting
  16. {
  17. namespace api
  18. {
  19. namespace events
  20. {
  21. class ApplyDamageProxy : public OpaqueWrapper<::events::ApplyDamage, ApplyDamageProxy>
  22. {
  23. public:
  24. using Wrapper = OpaqueWrapper<::events::ApplyDamage, ApplyDamageProxy>;
  25. static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
  26. };
  27. }
  28. }
  29. }
  30. VCMI_LIB_NAMESPACE_END