2014-06-25 17:11:07 +03:00
|
|
|
/*
|
|
|
|
* IHandlerBase.cpp, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "StdInc.h"
|
|
|
|
#include "IHandlerBase.h"
|
2023-07-30 19:12:25 +02:00
|
|
|
#include "modding/IdentifierStorage.h"
|
|
|
|
#include "modding/ModScope.h"
|
|
|
|
#include "modding/CModHandler.h"
|
2014-06-25 17:11:07 +03:00
|
|
|
|
2022-07-26 15:07:42 +02:00
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
2023-03-13 23:26:44 +02:00
|
|
|
std::string IHandlerBase::getScopeBuiltin()
|
2022-12-07 15:18:19 +02:00
|
|
|
{
|
2023-07-30 19:12:25 +02:00
|
|
|
return ModScope::scopeBuiltin();
|
2022-12-07 15:18:19 +02:00
|
|
|
}
|
2014-06-25 17:11:07 +03:00
|
|
|
|
2023-03-13 23:26:44 +02:00
|
|
|
void IHandlerBase::registerObject(const std::string & scope, const std::string & type_name, const std::string & name, si32 index)
|
2014-06-25 17:11:07 +03:00
|
|
|
{
|
2023-08-25 21:36:00 +02:00
|
|
|
return VLC->identifiersHandler->registerObject(scope, type_name, name, index);
|
2014-06-25 17:11:07 +03:00
|
|
|
}
|
2016-02-21 19:58:09 +02:00
|
|
|
|
2022-07-26 15:07:42 +02:00
|
|
|
VCMI_LIB_NAMESPACE_END
|