Leviathan  0.8.0.0
Leviathan game engine
Leviathan::AngelScriptTypeIDResolver< T > Struct Template Reference

Helper for querying each type for their corresponding angelscript type once. More...

#include <ScriptTypeResolver.h>

Static Public Member Functions

static int Get (ScriptExecutor *resolver)
 

Detailed Description

template<class T>
struct Leviathan::AngelScriptTypeIDResolver< T >

Helper for querying each type for their corresponding angelscript type once.

Definition at line 49 of file ScriptTypeResolver.h.

Member Function Documentation

◆ Get()

template<class T >
static int Leviathan::AngelScriptTypeIDResolver< T >::Get ( ScriptExecutor resolver)
inlinestatic

Definition at line 51 of file ScriptTypeResolver.h.

52  {
53  static int cached = ResolveProxy(TypeToAngelScriptTypeString<T>::Type(), resolver);
54  return cached;
55  }
DLLEXPORT int ResolveProxy(const char *type, ScriptExecutor *resolver)
static constexpr const char * Type()

The documentation for this struct was generated from the following file: