2
0

Player.cpp 792 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * api/Player.cpp, 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. #include "StdInc.h"
  11. #include "Player.h"
  12. #include "Registry.h"
  13. #include "../LuaStack.h"
  14. #include "../LuaCallWrapper.h"
  15. namespace scripting
  16. {
  17. namespace api
  18. {
  19. VCMI_REGISTER_CORE_SCRIPT_API(PlayerProxy, "Player");
  20. const std::vector<PlayerProxy::CustomRegType> PlayerProxy::REGISTER_CUSTOM =
  21. {
  22. // virtual PlayerColor getColor() const = 0;
  23. // virtual TeamID getTeam() const = 0;
  24. // virtual bool isHuman() const = 0;
  25. // virtual const IBonusBearer * getBonusBearer() const = 0;
  26. // virtual int getResourceAmount(int type) const = 0;
  27. };
  28. }
  29. }
  30. VCMI_LIB_NAMESPACE_END