Spell.h 625 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * api/Spell.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/spells/Spell.h>
  12. #include "../LuaWrapper.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. namespace scripting
  15. {
  16. namespace api
  17. {
  18. class SpellProxy : public OpaqueWrapper<const ::spells::Spell, SpellProxy>
  19. {
  20. public:
  21. using Wrapper = OpaqueWrapper<const ::spells::Spell, SpellProxy>;
  22. static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
  23. };
  24. }
  25. }
  26. VCMI_LIB_NAMESPACE_END