Lua 元表(Metatable) 在Lua table 中我们可以访问对应的key来得到value ... 如果__index包含一个函数的话,Lua就会调用那个函数,table和键会作为参数 ...
確定! 回上一頁