MCPcopy Create free account
hub / github.com/Tencent/xLua / MethodWrapsCache

Method MethodWrapsCache

Assets/XLua/Src/MethodWarpsCache.cs:330–335  ·  view source on GitHub ↗
(ObjectTranslator translator, ObjectCheckers objCheckers, ObjectCasters objCasters)

Source from the content-addressed store, hash-verified

328 Dictionary<Type, LuaCSFunction> delegateCache = new Dictionary<Type, LuaCSFunction>();
329
330 public MethodWrapsCache(ObjectTranslator translator, ObjectCheckers objCheckers, ObjectCasters objCasters)
331 {
332 this.translator = translator;
333 this.objCheckers = objCheckers;
334 this.objCasters = objCasters;
335 }
336
337 public LuaCSFunction GetConstructorWrap(Type type)
338 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected