Leviathan  0.8.0.0
Leviathan game engine
ScriptCallingHelpers.h File Reference
#include "Common/ReferenceCounted.h"
#include "angelscript.h"
#include <type_traits>

Go to the source code of this file.

Namespaces

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

Functions

template<class T >
static constexpr bool Leviathan::IsTypeReferenceCounted ()
 Returns true of object type is reference counted. More...
 
template<class T >
static void Leviathan::IncrementRefCountIfRefCountedType (T *current)
 Increments refcount of obj if it is derived from ReferenceCounted or an angelscript type. More...
 
template<class T >
static void Leviathan::DecrementRefCountIfRefCountedType (T *current)
 Increments refcount of obj if it is derived from ReferenceCounted or an angelscript type. More...
 
template<class T >
static constexpr bool Leviathan::CanTypeRepresentAngelScriptTypes ()
 Returns true if type is an angelscript type that can represent different types of objects. More...