大约有 89 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0081 秒)
... if (box2d.DEBUG && !a) {console.log(box2d.DEBUG); console.log(a); throw Error() } else { }; }; 匿名用户 • 2018-12-30 15:59 box2d.ENABLE_ASSERTS && box2d.b2Assert(0 < this.m_jointCount); 这句话 0<this.m_jointCount 灰太狼 • 2019-03-19 10:34 @匿名用户:就是这...
来源: Laya_社区 发布时间: 20181213
...kawazo 请教下 在生成build文件的时候发生错误: fs.js:159 throw new ERR_INVALID_CALLBACK(); ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at maybeCallback (fs.js:159:9) at Object.fs.writeFile (fs.js:1278:14) at /usr/local/lib/node_modules/compo...
来源: Laya_社区 发布时间: 20180109
...a\Roaming\npm\node_modules\layacmd\node_modules\electron\i nstall.js:48 throw err ^ Error: connect ETIMEDOUT 52.216.84.131:443 at Object._errnoException (util.js:1041:11) at _exceptionWithHostPort (util.js:1064:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1153:1...
来源: Laya_社区 发布时间: 20171027
... if (!channel || channel.isStopped) { throw new Error("音效通道创建失败"); } this.setupChannelHandlers(SoundType.Effect, url, channel, completeCallback, loop); return channel; ...
来源: Laya_社区 发布时间: 20250930
...URL(url), Laya.Laya.URL.formatURL(tempAtlasPngUrl), atlasJson); } } else { throw "传递的url没有获取到对应的图集数据信息,请确保图集已经过!"; } } } static postInfoToContext(url, atlaspngUrl, atlasJson) { var postData = { "frames": atlasJson.frames, &quo...
来源: Laya_社区 发布时间: 20200103
...rk complete finish. tsc -p . --outDir bin/js internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1024:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at LayaProjectCompiler.compile ...
来源: Laya_社区 发布时间: 20171211
...端一致 protobuf.load("./protobuf.proto", (err, root) => { if (err) throw err; // 获取消息类型 const ChatMessage = root.lookupType("ChatMessage"); // 创建 WebSocket 服务器,并定义了8080端口,需要与客户端请求的端口保持一致 const wss = new WebSocket.Server({ port...
来源: Laya3.0_文档 发布时间: 20251010
...etsLoaded); } private onAssetsLoaded(err: any, root: any): void { if (err) throw err; // 获得一个Message消息类型 var AwesomeMessage: any = root.lookupType("awesomepackage.AwesomeMessage"); console.log(AwesomeMessage); // 初始化数据 var payload: any = { awesomeField: "AwesomeString" }; c...
来源: Laya3.0_文档 发布时间: 20250104
...p; type !== Message.TYPE_RESPONSE && type !== Message.TYPE_PUSH) { throw new Error('unkonw message type: ' + type); } buffer.writeByte((type << 1) | (compressRoute ? 1 : 0)); }; } class Protocol{ public static strencode(str:string):Laya.Byte { var buffer:Laya.Byte = new Laya.Byte(); bu...
来源: Laya_社区 发布时间: 20180119