Ejemplo n.º 1
0
        public static int GetReference(LuaBase luaObject)
        {
            Object reference = luaObject.GetType().InvokeMember(
                "_Reference",
                BindingFlags.Public |
                BindingFlags.NonPublic |
                BindingFlags.Instance |
                BindingFlags.GetField,
                null,
                luaObject,
                null
                );

            return((int)reference);
        }
Ejemplo n.º 2
0
 public LuaType GetLuaType(int iStackPos = -1)
 {
     return(LuaBase.GetType(iStackPos));
 }