2
0

IHandlerBase.cpp 756 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * IHandlerBase.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 "IHandlerBase.h"
  12. #include "modding/IdentifierStorage.h"
  13. #include "modding/ModScope.h"
  14. #include "modding/CModHandler.h"
  15. #include "GameLibrary.h"
  16. VCMI_LIB_NAMESPACE_BEGIN
  17. std::string IHandlerBase::getScopeBuiltin()
  18. {
  19. return ModScope::scopeBuiltin();
  20. }
  21. void IHandlerBase::registerObject(const std::string & scope, const std::string & type_name, const std::string & name, si32 index)
  22. {
  23. return LIBRARY->identifiersHandler->registerObject(scope, type_name, name, index);
  24. }
  25. VCMI_LIB_NAMESPACE_END