大约有 203 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
Laya_社区(166) Laya2.0_文档(15) Laya3.0_文档(10) laya_api(3) Laya2.0_api(3) Laya3.0_api(2) Laya2.0_示例(2) Laya_示例(2)
...xception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.乱起八糟也不知道什么错误,非得要我们自己手动的把substr改为原生的 每次更新库都得这样 问题2 另外一个 形状和形状的碰撞 这个好像...
来源: Laya_社区 发布时间: 20170408
...,数据对的。试过很多次,按网上的方法都做了,数据,message什么都是对的,但是就是显示不出来 附件 : --> wxgame.rar 2020-02-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 ...
来源: Laya_社区 发布时间: 20200210
...on(Event.CLOSE, this, OnDisconnect); this.on(Event.MESSAGE, this, OnRecv); this.on(Event.ERROR, this, OnError); } public function OnConnected(e:*=null):void { ...
来源: Laya_社区 发布时间: 20170920
...服务器的数据如何解析成proto对象? 如题。是把Laya.Event.MESSAGE处理函数的参数用writeArrayBuffer()写入Laya.Byte对象吗?然后Laya.Byte的对象如何解析成某个proto类对象? 而且如果是像官方例子那样动态解析.proto文件,速度慢就先不说了...
来源: Laya_社区 发布时间: 20171120
...2; style.width = 450; style.wordWrap = true; cell.divChat.innerHTML = data.message; cell.height = cell.divChat.contextHeight; 这是设置参数 文本内容是 "<img src = 'common/img_chat_5.png' style = 'width:53px;height:27px'></img><span style = 'color:#ff8135;font:22px;valig...
来源: Laya_社区 发布时间: 20171116
...a.Event.OPEN, this, openHandler); //建立连接 this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(even...
来源: Laya_社区 发布时间: 20181107
...ket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接...
来源: Laya_社区 发布时间: 20180210
...s.loop_shift_left(this.uint_add(a, m(b, c, d), x, t), s), b); }; } porcess_message(str: string) { const length = str.length; const length_of_zero = Math.ceil(length / 64) * 64 - length - 8 - 1; str += String.fromCharCode(0b10000000); const strArray = this.padding(str.split(""), length + 1 + length_o...
来源: Laya_社区 发布时间: 20190321
...-core\out\src\chrome\consoleHelper.js:138:22) at Object.formatConsoleMessage (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\consoleHelper.js:39:48) at ChromeDebugAdapter.onConsoleAPICalled (c:\Program Files (x86)\laya...
来源: Laya_社区 发布时间: 20170210
...st:8989");this.socket.on(Event.OPEN,this,openHandler);this.socket.on(Event.MESSAGE,this,receiveHandler);this.socket.on(Event.CLOSE,this,closeHandler);this.socket.on(Event.ERROR,this,errorHandler); 回到方法 成功失败。。 private function openHandler(event:Object = null):void{//正确建立...
来源: Laya_社区 发布时间: 20180514