rj-action-library-cpp/register_types.cpp

55 lines
1.4 KiB
C++

/* register_types.cpp */
#include "register_types.h"
#include "core/object/class_db.h"
#include "./RJNetworkNode.h"
#include "./RJAction.h"
#include "./RJSelector.h"
#include "./RJSensor.h"
#include "./RJSequenceAction.h"
#include "./RJUpdatable.h"
#include "./RJTimeLine.h"
#include "./RJTimeLineManager.h"
#include "./RJVirtualCamera3D.h"
#include "./RJVirtualCamera3DManager.h"
#include "./RJBoolProperty.h"
#include "./RJNodeProperty.h"
#include "./RJNumberProperty.h"
#include "./RJStringProperty.h"
void initialize_rokojori_action_library_module( ModuleInitializationLevel p_level )
{
if ( p_level != MODULE_INITIALIZATION_LEVEL_SCENE )
{
return;
}
ClassDB::register_class<RJNetworkNode>();
ClassDB::register_class<RJAction>();
ClassDB::register_class<RJSelector>();
ClassDB::register_class<RJSensor>();
ClassDB::register_class<RJSequenceAction>();
ClassDB::register_class<RJUpdatable>();
ClassDB::register_class<RJTimeLine>();
ClassDB::register_class<RJTimeLineManager>();
ClassDB::register_class<RJVirtualCamera3D>();
ClassDB::register_class<RJVirtualCamera3DManager>();
ClassDB::register_class<RJBoolProperty>();
ClassDB::register_class<RJNodeProperty>();
ClassDB::register_class<RJNumberProperty>();
ClassDB::register_class<RJStringProperty>();
}
void uninitialize_rokojori_action_library_module( ModuleInitializationLevel p_level )
{
if ( p_level != MODULE_INITIALIZATION_LEVEL_SCENE )
{
return;
}
}