摘要: http://www.manew.com/thread-114496-1-1.html 谈到目前的代码热更方案:没什么特别的要求 <ignore_js_op> toLua(效率比sLua高) 打算以传统方式更新,热更仅仅用于紧急更新 / 希望战斗等性能敏感部分也能更新 xLua(性能在Lua系列中一 阅读全文
posted @ 2018-03-17 17:41 三页菌 阅读(4342) 评论(0) 推荐(0) 编辑
摘要: str = "testA()"loadstring(str)()function testA() end使用loadstring即可执行后面在xlua用了下发现不能调用loadstring这个函数,听说是因为没有注册这个函数?然后去调用lua虚拟机去调用了 CS.XLuaManager.Instan 阅读全文
posted @ 2018-03-17 09:37 三页菌 阅读(2904) 评论(0) 推荐(0) 编辑