摘要: 客户端向服务端发送 请求: this.network.send("/////",) 上面这段代码要写在logic.js中,(关于服务端的东西全部扔到logic中); ////中写协议; 协议用来规定传输数据和返回数据的格式。 并且要在serverProto.js 和 clientProto.js 中 阅读全文