摘要:
参考链接: https://www.jianshu.com/p/78f0e050ddad TestRawGetSet.lua 1 function TestRawGetSet() 2 --rawget & rawset:绕过元表,直接获取或设置table的值 3 local a = {a1 = 10 阅读全文
摘要:
参考链接: https://www.jianshu.com/p/78f0e050ddad TestRawGetSet.lua 1 function TestRawGetSet() 2 --rawget & rawset:绕过元表,直接获取或设置table的值 3 local a = {a1 = 10 阅读全文
|