MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / registerOne

Method registerOne

ogsr_engine/COMMON_AI/script_engine_export.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24private:
25 template <typename T>
26 static void registerOne(lua_State* L, imdexlib::identity<T>)
27 {
28#ifdef DEBUG
29 Msg("Exporting [%s]", typeid(T).name());
30#endif
31 T::script_register(L);
32 }
33};
34
35void export_classes(lua_State* L) { Register<script_type_list>::_Register(L); }

Callers

nothing calls this directly

Calls 2

MsgFunction · 0.85
nameMethod · 0.45

Tested by

no test coverage detected