• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 92 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)

41. LayaCloud登陆后跳转空白页 [ 74%]

...yabox2","loginType":1,"queryParams":{},"spId":432,"logonKeyInfo":{"ret":0,"msg":"","data":{"signkey":"","signdata":"","AppId":""}}} layabox2.js?rand=20194322:108 SSO:{"result":0} layaSdk.js?channel=shanshanyao:71 尹小芃槑登录:{"ret":0,"msg":"","data":{"signkey":"","signdata":"","AppId":""}} ...

来源: Laya_社区 发布时间: 20181109

42. LayaBox二次开发 如何用到 activity的上下文对象Context [ 72%]

...c void init(final Context context) { this.context = context; } public void msg() { Log.d("layabox", "test"); Toast.makeText(context, "测试", Toast.LENGTH_SHORT).show(); } }该如何反射才能调到 msg 方法 2018-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

来源: Laya_社区 发布时间: 20180423

43. [LayaNative3]通过websocket实时获取base64字符串更新skin,内存一直在爆增状态 [ 72%]

...空缓存再加载,使内存保持稳定。     private receiveHandler(msg: any = null): void     {        try {           this.MyImage.skin = "data:image/jpeg;base64," +msg;        } catch (error) {                }       } 附件 : --> 2025-11-15 添加评论 免费...

来源: Laya_社区 发布时间: 20251115

44. Protobuf decode报错 [ 71%]

...受到服务区的消息     //已经加载完了.proto文件 var awesomMsg:any=root.lookup("com.lll.game.login.LoginRequest"); var message:any=awesomMsg.create( {username:'nk', password:'123', usertype:1} ); var buffer=awesomMsg.encode(message).finish(); //封装数据为约定的格式 length,id...

来源: Laya_社区 发布时间: 20171113

45. 在native中 HTMLDivElement中文堆叠在一起了 [ 71%]

...t;` + nickName + `:</span> <span style="color: #F4B400;">` + msg.msg + `</span> <br/><span> </span><br/>`; this.chatBox.appendHTML(chat); 附件 : --> 2018-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

来源: Laya_社区 发布时间: 20180803

46. WebSocket发送与接收数据(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 71%]

...vent: any = null): void { //正确建立连接; } private receiveHandler(msg: any = null): void { ///接收到数据触发函数 } private closeHandler(e: any = null): void { //关闭事件 } private errorHandler(e: any = null): void { //连接出错 } } new Game(); ``` 注意:我们看到实例...

来源: Laya2.0_文档 发布时间: 20210714

47. WebSocket发送与接收数据(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 70%]

...t = null):void { //正确建立连接; } private function receiveHandler(msg:Object = null):void { ///接收到数据触发函数 } private function closeHandler(e:Object= null):void { //关闭事件 } private function errorHandler(e:Object = null):void { //连接出错 } } } ``` ​ 注意:我...

来源: Laya2.0_文档 发布时间: 20210715

48. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...ayaAir WebSocket!"); } /** 接收数据回调 */ private onMessageReceived(msg: any): void { console.log("接收到消息:"); if (typeof msg === "string") { console.log("文本数据:", msg); } else { console.log("接收到非字符串数据", msg); } // 清除输入缓存,避免残留数据 t...

来源: Laya3.0_文档 发布时间: 20251010

49. [QQ小游戏适配] Laya.loader.create 在QQ安卓版本上 执行没有成功回调,也没有进度回调,监听了error 也没有。在ios版QQ上正常。 [ 69%]

...ompleteCallBack, this.loadProgressCallback, type).on("error",null,function(msg){ console.error("ERROR",msg) }) 2019-06-17 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 李长忠 赞同来自: 同一个世界!同...

来源: Laya_社区 发布时间: 20190617

50. 如何与服务端建立连接 [ 68%]

...ect = null):void{//正确建立连接; }private function receiveHandler(msg:Object = null):void{///接收到数据触发函数}private function closeHandler(e:Object= null):void{//关闭事件}private function errorHandler(e:Object = null):void{//连接出错} 发送 同byte 例如你的传输 js...

来源: Laya_社区 发布时间: 20180514