大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0020 秒)
... 更新岛 _proto.update = function(target){ var obj = {}; // 解析target switch (target.type) { case 1: obj.type = "mountain"; break; case 2: obj.type = "statue"; break; case 3: obj.type = "tower"; break; case 4: obj.type = "angel"; break; case 5: obj.type = "aeroboat"; break; default: alert("网...
来源: Laya_社区 发布时间: 20170720
... for (var name in msg) { if (protos[name]) { var proto:any = protos[name]; switch (proto.option) { case "optional": case "required": buffer.writeArrayBuffer(this.encodeTag(proto.type, proto.tag)); this.encodeProp(msg[name], proto.type, protos, buffer); break; case "repeated": if (!!msg[name] &&a...
来源: Laya_社区 发布时间: 20180119