liuxq / strivegame Goto Github PK
View Code? Open in Web Editor NEWUnity5 + kbengine + ULUA(toLua) 一个KBE的Lua热更新客户端demo
Unity5 + kbengine + ULUA(toLua) 一个KBE的Lua热更新客户端demo
纠正错别字(ReLogin, DisableConnect, ConnectStatus )=> (relogin, disconnect… …
…ed, connectionState)
kbengine/kbengine_unity3d_demo@edd1ec0
看了下代码比较少,文件也有不一样,请问是自己写的插件吗?还是老版的。
放着什么都不做,一段时间之后就会在MessageReader.process这里面的
reader.msgid = reader.stream:readUint16()
报错,读出来一个不存在的message id 0。经查问题出在
elseif(msg.msglen == 0) then
-- 如果是0个参数的消息,那么没有后续内容可读了,处理本条消息并且直接跳到下一条消息
msg:handleMessage(stream);
state = KBEngineLua.READ_STATE_MSGID;
expectSize = 2;
这里,
state,expectSize应该改为
reader.state = KBEngineLua.READ_STATE_MSGID;
reader.expectSize = 2;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.