Player.h 580 B

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