mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
For now we reload all scripts. We should be smarter and only reload those scripts which are affected though.
66 lines
No EOL
1.9 KiB
C++
66 lines
No EOL
1.9 KiB
C++
// AUTOGENERATED file, created by the tool generate_stub.py, don't edit!
|
|
// If you want to add your own functionality, instead edit the stubPythonScriptFactory_custom.h file.
|
|
|
|
#include "rulesets/PythonScriptFactory.h"
|
|
#include "stubPythonScriptFactory_custom.h"
|
|
|
|
#ifndef STUB_RULESETS_PYTHONSCRIPTFACTORY_H
|
|
#define STUB_RULESETS_PYTHONSCRIPTFACTORY_H
|
|
|
|
#ifndef STUB_PythonScriptFactory_PythonScriptFactory
|
|
//#define STUB_PythonScriptFactory_PythonScriptFactory
|
|
template <typename T>
|
|
PythonScriptFactory<T>::PythonScriptFactory(const std::string & package, const std::string & type)
|
|
: ScriptKit(package, type)
|
|
{
|
|
|
|
}
|
|
#endif //STUB_PythonScriptFactory_PythonScriptFactory
|
|
|
|
#ifndef STUB_PythonScriptFactory_setup
|
|
//#define STUB_PythonScriptFactory_setup
|
|
template <typename T>
|
|
int PythonScriptFactory<T>::setup()
|
|
{
|
|
return 0;
|
|
}
|
|
#endif //STUB_PythonScriptFactory_setup
|
|
|
|
#ifndef STUB_PythonScriptFactory_package
|
|
//#define STUB_PythonScriptFactory_package
|
|
template <typename T>
|
|
const std::string& PythonScriptFactory<T>::package() const
|
|
{
|
|
static std::string instance; return instance;
|
|
}
|
|
#endif //STUB_PythonScriptFactory_package
|
|
|
|
#ifndef STUB_PythonScriptFactory_addScript
|
|
//#define STUB_PythonScriptFactory_addScript
|
|
template <typename T>
|
|
int PythonScriptFactory<T>::addScript(T * entity) const
|
|
{
|
|
return 0;
|
|
}
|
|
#endif //STUB_PythonScriptFactory_addScript
|
|
|
|
#ifndef STUB_PythonScriptFactory_refreshClass
|
|
//#define STUB_PythonScriptFactory_refreshClass
|
|
template <typename T>
|
|
int PythonScriptFactory<T>::refreshClass()
|
|
{
|
|
return 0;
|
|
}
|
|
#endif //STUB_PythonScriptFactory_refreshClass
|
|
|
|
#ifndef STUB_PythonScriptFactory_createScript
|
|
//#define STUB_PythonScriptFactory_createScript
|
|
template <typename T>
|
|
_object* PythonScriptFactory<T>::createScript(T * entity) const
|
|
{
|
|
return nullptr;
|
|
}
|
|
#endif //STUB_PythonScriptFactory_createScript
|
|
|
|
|
|
#endif |