Leviathan game engine
ScriptConversionHelpers.h File Reference
#include "Define.h"
#include "angelscript.h"
#include "add_on/scriptarray/scriptarray.h"
#include "ScriptExecutor.h"
#include <type_traits>
#include <vector>

Go to the source code of this file.


 The access mask controls which registered functions and classes a script sees.


template<class T >
CScriptArray * Leviathan::ConvertVectorToASArray (const std::vector< T > &data, asIScriptEngine *engine, const char *arraytype=nullptr)
 Converts a std::vector to an AngelScript array. More...
template<class T >
CScriptArray * Leviathan::ConvertIteratorToASArray (T begin, T end, asIScriptEngine *engine, const char *arraytype=nullptr)
 Variant that converts from iterator range to an AngelScript array. More...