[LayaAir 2.0]微信小游戏下Laya.Browser.window.protobuf可以用吗?
let protoBuf = Laya.Browser.window.protobuf;
this.proto = await protoBuf.load("res/protobuf/game.proto");
var HeartBeatReq = this.proto.lookup("HeartBeatReq");
var body = HeartBeatReq.create({
"time":1
});
this.proto = await protoBuf.load("res/protobuf/game.proto");
var HeartBeatReq = this.proto.lookup("HeartBeatReq");
var body = HeartBeatReq.create({
"time":1
});
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自: