BattleUnitsChanged.h 764 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * api/netpacks/BattleUnitsChanged.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. namespace scripting
  13. {
  14. namespace api
  15. {
  16. namespace netpacks
  17. {
  18. class BattleUnitsChangedProxy : public SharedWrapper<BattleUnitsChanged, BattleUnitsChangedProxy>
  19. {
  20. public:
  21. using Wrapper = SharedWrapper<BattleUnitsChanged, BattleUnitsChangedProxy>;
  22. static const std::vector<typename Wrapper::CustomRegType> REGISTER_CUSTOM;
  23. static int add(lua_State * L);
  24. static int update(lua_State * L);
  25. static int resetState(lua_State * L);
  26. static int remove(lua_State * L);
  27. };
  28. }
  29. }
  30. }