InfoWindow.h 741 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * api/netpacks/InfoWindow.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 "PackForClient.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. namespace scripting
  14. {
  15. namespace api
  16. {
  17. namespace netpacks
  18. {
  19. class InfoWindowProxy : public SharedWrapper<InfoWindow, InfoWindowProxy>
  20. {
  21. public:
  22. using Wrapper = SharedWrapper<InfoWindow, InfoWindowProxy>;
  23. static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
  24. static int addReplacement(lua_State * L);
  25. static int addText(lua_State * L);
  26. static int setPlayer(lua_State * L);
  27. };
  28. }
  29. }
  30. }
  31. VCMI_LIB_NAMESPACE_END