InfoWindow.h 799 B

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