static string makeKey(LuaDLL.RelationshipType type, string key, double d, string key2)
        {
            switch (type)
            {
            case LuaDLL.RelationshipType.TableValue:
                return(key == null ? ((LuaTypes)(int)d).ToString() : key);

            case LuaDLL.RelationshipType.NumberKeyTableValue:
                return(string.Format("[{0}]", d));

            case LuaDLL.RelationshipType.KeyOfTable:
                return(KEY_OF_TABLE);

            case LuaDLL.RelationshipType.Metatable:
                return(METATABLE_KEY);

            case LuaDLL.RelationshipType.Upvalue:
                return(string.Format("{0}:local {1}", key, key2));
            }
            return(UNKNOW_KEY);
        }
        static string makeKey(LuaDLL.RelationshipType type, string key, double d, string key2)
        {
            switch (type)
            {
            case LuaDLL.RelationshipType.TableValue:
                return(key ?? ((LuaTypes)(int)d).ToString());

            case LuaDLL.RelationshipType.NumberKeyTableValue:
                return($"[{d}]");

            case LuaDLL.RelationshipType.KeyOfTable:
                return(KEY_OF_TABLE);

            case LuaDLL.RelationshipType.Metatable:
                return(METATABLE_KEY);

            case LuaDLL.RelationshipType.Upvalue:
                return($"{key}:local {key2}");
            }
            return(UNKNOW_KEY);
        }