@dcl/playground-assets 7.0.6-3808564125.commit-7a2650b → 7.0.6-3808797047.commit-ee7ea04
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alpha.d.ts +12 -12
- package/dist/beta.d.ts +12 -12
- package/dist/index.bundled.d.ts +12 -12
- package/dist/index.js +139 -126
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +8 -2
- package/dist/playground-assets.d.ts +12 -12
- package/etc/playground-assets.api.json +12 -12
- package/etc/playground-assets.api.md +12 -12
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7471,17 +7471,17 @@
|
|
|
7471
7471
|
}
|
|
7472
7472
|
}
|
|
7473
7473
|
return message;
|
|
7474
|
-
}
|
|
7474
|
+
},
|
|
7475
7475
|
};
|
|
7476
7476
|
function createBasePBAnimationState() {
|
|
7477
7477
|
return {
|
|
7478
|
-
name:
|
|
7479
|
-
clip:
|
|
7478
|
+
name: "",
|
|
7479
|
+
clip: "",
|
|
7480
7480
|
playing: undefined,
|
|
7481
7481
|
weight: undefined,
|
|
7482
7482
|
speed: undefined,
|
|
7483
7483
|
loop: undefined,
|
|
7484
|
-
shouldReset: undefined
|
|
7484
|
+
shouldReset: undefined,
|
|
7485
7485
|
};
|
|
7486
7486
|
}
|
|
7487
7487
|
/**
|
|
@@ -7489,10 +7489,10 @@
|
|
|
7489
7489
|
*/
|
|
7490
7490
|
const PBAnimationState = {
|
|
7491
7491
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
7492
|
-
if (message.name !==
|
|
7492
|
+
if (message.name !== "") {
|
|
7493
7493
|
writer.uint32(10).string(message.name);
|
|
7494
7494
|
}
|
|
7495
|
-
if (message.clip !==
|
|
7495
|
+
if (message.clip !== "") {
|
|
7496
7496
|
writer.uint32(18).string(message.clip);
|
|
7497
7497
|
}
|
|
7498
7498
|
if (message.playing !== undefined) {
|
|
@@ -7546,7 +7546,7 @@
|
|
|
7546
7546
|
}
|
|
7547
7547
|
}
|
|
7548
7548
|
return message;
|
|
7549
|
-
}
|
|
7549
|
+
},
|
|
7550
7550
|
};
|
|
7551
7551
|
|
|
7552
7552
|
/**
|
|
@@ -7570,7 +7570,7 @@
|
|
|
7570
7570
|
|
|
7571
7571
|
/* eslint-disable */
|
|
7572
7572
|
function createBasePBAudioSource() {
|
|
7573
|
-
return { playing: undefined, volume: undefined, loop: undefined, pitch: undefined, audioClipUrl:
|
|
7573
|
+
return { playing: undefined, volume: undefined, loop: undefined, pitch: undefined, audioClipUrl: "" };
|
|
7574
7574
|
}
|
|
7575
7575
|
/**
|
|
7576
7576
|
* Internal
|
|
@@ -7589,7 +7589,7 @@
|
|
|
7589
7589
|
if (message.pitch !== undefined) {
|
|
7590
7590
|
writer.uint32(37).float(message.pitch);
|
|
7591
7591
|
}
|
|
7592
|
-
if (message.audioClipUrl !==
|
|
7592
|
+
if (message.audioClipUrl !== "") {
|
|
7593
7593
|
writer.uint32(42).string(message.audioClipUrl);
|
|
7594
7594
|
}
|
|
7595
7595
|
return writer;
|
|
@@ -7622,7 +7622,7 @@
|
|
|
7622
7622
|
}
|
|
7623
7623
|
}
|
|
7624
7624
|
return message;
|
|
7625
|
-
}
|
|
7625
|
+
},
|
|
7626
7626
|
};
|
|
7627
7627
|
|
|
7628
7628
|
/**
|
|
@@ -7646,7 +7646,7 @@
|
|
|
7646
7646
|
|
|
7647
7647
|
/* eslint-disable */
|
|
7648
7648
|
function createBasePBAudioStream() {
|
|
7649
|
-
return { playing: undefined, volume: undefined, url:
|
|
7649
|
+
return { playing: undefined, volume: undefined, url: "" };
|
|
7650
7650
|
}
|
|
7651
7651
|
/**
|
|
7652
7652
|
* Internal
|
|
@@ -7659,7 +7659,7 @@
|
|
|
7659
7659
|
if (message.volume !== undefined) {
|
|
7660
7660
|
writer.uint32(21).float(message.volume);
|
|
7661
7661
|
}
|
|
7662
|
-
if (message.url !==
|
|
7662
|
+
if (message.url !== "") {
|
|
7663
7663
|
writer.uint32(26).string(message.url);
|
|
7664
7664
|
}
|
|
7665
7665
|
return writer;
|
|
@@ -7686,7 +7686,7 @@
|
|
|
7686
7686
|
}
|
|
7687
7687
|
}
|
|
7688
7688
|
return message;
|
|
7689
|
-
}
|
|
7689
|
+
},
|
|
7690
7690
|
};
|
|
7691
7691
|
|
|
7692
7692
|
/**
|
|
@@ -7717,14 +7717,14 @@
|
|
|
7717
7717
|
AvatarAnchorPointType[AvatarAnchorPointType["AAPT_RIGHT_HAND"] = 3] = "AAPT_RIGHT_HAND";
|
|
7718
7718
|
})(exports.AvatarAnchorPointType || (exports.AvatarAnchorPointType = {}));
|
|
7719
7719
|
function createBasePBAvatarAttach() {
|
|
7720
|
-
return { avatarId:
|
|
7720
|
+
return { avatarId: "", anchorPointId: 0 };
|
|
7721
7721
|
}
|
|
7722
7722
|
/**
|
|
7723
7723
|
* Internal
|
|
7724
7724
|
*/
|
|
7725
7725
|
const PBAvatarAttach = {
|
|
7726
7726
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
7727
|
-
if (message.avatarId !==
|
|
7727
|
+
if (message.avatarId !== "") {
|
|
7728
7728
|
writer.uint32(10).string(message.avatarId);
|
|
7729
7729
|
}
|
|
7730
7730
|
if (message.anchorPointId !== 0) {
|
|
@@ -7751,7 +7751,7 @@
|
|
|
7751
7751
|
}
|
|
7752
7752
|
}
|
|
7753
7753
|
return message;
|
|
7754
|
-
}
|
|
7754
|
+
},
|
|
7755
7755
|
};
|
|
7756
7756
|
|
|
7757
7757
|
/**
|
|
@@ -7815,7 +7815,7 @@
|
|
|
7815
7815
|
}
|
|
7816
7816
|
}
|
|
7817
7817
|
return message;
|
|
7818
|
-
}
|
|
7818
|
+
},
|
|
7819
7819
|
};
|
|
7820
7820
|
|
|
7821
7821
|
/* eslint-disable */
|
|
@@ -7875,7 +7875,7 @@
|
|
|
7875
7875
|
}
|
|
7876
7876
|
}
|
|
7877
7877
|
return message;
|
|
7878
|
-
}
|
|
7878
|
+
},
|
|
7879
7879
|
};
|
|
7880
7880
|
|
|
7881
7881
|
/**
|
|
@@ -9273,7 +9273,7 @@
|
|
|
9273
9273
|
}
|
|
9274
9274
|
}
|
|
9275
9275
|
return message;
|
|
9276
|
-
}
|
|
9276
|
+
},
|
|
9277
9277
|
};
|
|
9278
9278
|
function createBaseColor4() {
|
|
9279
9279
|
return { r: 0, g: 0, b: 0, a: 0 };
|
|
@@ -9322,13 +9322,13 @@
|
|
|
9322
9322
|
}
|
|
9323
9323
|
}
|
|
9324
9324
|
return message;
|
|
9325
|
-
}
|
|
9325
|
+
},
|
|
9326
9326
|
};
|
|
9327
9327
|
|
|
9328
9328
|
/* eslint-disable */
|
|
9329
9329
|
function createBasePBAvatarShape() {
|
|
9330
9330
|
return {
|
|
9331
|
-
id:
|
|
9331
|
+
id: "",
|
|
9332
9332
|
name: undefined,
|
|
9333
9333
|
bodyShape: undefined,
|
|
9334
9334
|
skinColor: undefined,
|
|
@@ -9338,7 +9338,7 @@
|
|
|
9338
9338
|
expressionTriggerTimestamp: undefined,
|
|
9339
9339
|
talking: undefined,
|
|
9340
9340
|
wearables: [],
|
|
9341
|
-
emotes: []
|
|
9341
|
+
emotes: [],
|
|
9342
9342
|
};
|
|
9343
9343
|
}
|
|
9344
9344
|
/**
|
|
@@ -9346,7 +9346,7 @@
|
|
|
9346
9346
|
*/
|
|
9347
9347
|
const PBAvatarShape = {
|
|
9348
9348
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
9349
|
-
if (message.id !==
|
|
9349
|
+
if (message.id !== "") {
|
|
9350
9350
|
writer.uint32(10).string(message.id);
|
|
9351
9351
|
}
|
|
9352
9352
|
if (message.name !== undefined) {
|
|
@@ -9427,22 +9427,26 @@
|
|
|
9427
9427
|
}
|
|
9428
9428
|
}
|
|
9429
9429
|
return message;
|
|
9430
|
-
}
|
|
9430
|
+
},
|
|
9431
9431
|
};
|
|
9432
|
-
var
|
|
9433
|
-
if (typeof globalThis
|
|
9434
|
-
return globalThis
|
|
9435
|
-
|
|
9432
|
+
var tsProtoGlobalThis$1 = (() => {
|
|
9433
|
+
if (typeof globalThis !== "undefined") {
|
|
9434
|
+
return globalThis;
|
|
9435
|
+
}
|
|
9436
|
+
if (typeof self !== "undefined") {
|
|
9436
9437
|
return self;
|
|
9437
|
-
|
|
9438
|
+
}
|
|
9439
|
+
if (typeof window !== "undefined") {
|
|
9438
9440
|
return window;
|
|
9439
|
-
|
|
9441
|
+
}
|
|
9442
|
+
if (typeof global !== "undefined") {
|
|
9440
9443
|
return global;
|
|
9441
|
-
|
|
9444
|
+
}
|
|
9445
|
+
throw "Unable to locate global object";
|
|
9442
9446
|
})();
|
|
9443
9447
|
function longToNumber$1(long) {
|
|
9444
9448
|
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
9445
|
-
throw new
|
|
9449
|
+
throw new tsProtoGlobalThis$1.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
9446
9450
|
}
|
|
9447
9451
|
return long.toNumber();
|
|
9448
9452
|
}
|
|
@@ -9511,7 +9515,7 @@
|
|
|
9511
9515
|
}
|
|
9512
9516
|
}
|
|
9513
9517
|
return message;
|
|
9514
|
-
}
|
|
9518
|
+
},
|
|
9515
9519
|
};
|
|
9516
9520
|
|
|
9517
9521
|
/**
|
|
@@ -9533,6 +9537,7 @@
|
|
|
9533
9537
|
}
|
|
9534
9538
|
};
|
|
9535
9539
|
|
|
9540
|
+
/* eslint-disable */
|
|
9536
9541
|
function createBasePBCameraMode() {
|
|
9537
9542
|
return { mode: 0 };
|
|
9538
9543
|
}
|
|
@@ -9562,7 +9567,7 @@
|
|
|
9562
9567
|
}
|
|
9563
9568
|
}
|
|
9564
9569
|
return message;
|
|
9565
|
-
}
|
|
9570
|
+
},
|
|
9566
9571
|
};
|
|
9567
9572
|
|
|
9568
9573
|
/**
|
|
@@ -9584,6 +9589,7 @@
|
|
|
9584
9589
|
}
|
|
9585
9590
|
};
|
|
9586
9591
|
|
|
9592
|
+
/* eslint-disable */
|
|
9587
9593
|
function createBasePBCameraModeArea() {
|
|
9588
9594
|
return { area: undefined, mode: 0 };
|
|
9589
9595
|
}
|
|
@@ -9619,7 +9625,7 @@
|
|
|
9619
9625
|
}
|
|
9620
9626
|
}
|
|
9621
9627
|
return message;
|
|
9622
|
-
}
|
|
9628
|
+
},
|
|
9623
9629
|
};
|
|
9624
9630
|
|
|
9625
9631
|
/**
|
|
@@ -9643,14 +9649,14 @@
|
|
|
9643
9649
|
|
|
9644
9650
|
/* eslint-disable */
|
|
9645
9651
|
function createBasePBGltfContainer() {
|
|
9646
|
-
return { src:
|
|
9652
|
+
return { src: "" };
|
|
9647
9653
|
}
|
|
9648
9654
|
/**
|
|
9649
9655
|
* Internal
|
|
9650
9656
|
*/
|
|
9651
9657
|
const PBGltfContainer = {
|
|
9652
9658
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
9653
|
-
if (message.src !==
|
|
9659
|
+
if (message.src !== "") {
|
|
9654
9660
|
writer.uint32(10).string(message.src);
|
|
9655
9661
|
}
|
|
9656
9662
|
return writer;
|
|
@@ -9671,7 +9677,7 @@
|
|
|
9671
9677
|
}
|
|
9672
9678
|
}
|
|
9673
9679
|
return message;
|
|
9674
|
-
}
|
|
9680
|
+
},
|
|
9675
9681
|
};
|
|
9676
9682
|
|
|
9677
9683
|
/**
|
|
@@ -9708,14 +9714,14 @@
|
|
|
9708
9714
|
TextureFilterMode[TextureFilterMode["TFM_TRILINEAR"] = 2] = "TFM_TRILINEAR";
|
|
9709
9715
|
})(exports.TextureFilterMode || (exports.TextureFilterMode = {}));
|
|
9710
9716
|
function createBaseTexture() {
|
|
9711
|
-
return { src:
|
|
9717
|
+
return { src: "", wrapMode: undefined, filterMode: undefined };
|
|
9712
9718
|
}
|
|
9713
9719
|
/**
|
|
9714
9720
|
* Internal
|
|
9715
9721
|
*/
|
|
9716
9722
|
const Texture = {
|
|
9717
9723
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
9718
|
-
if (message.src !==
|
|
9724
|
+
if (message.src !== "") {
|
|
9719
9725
|
writer.uint32(10).string(message.src);
|
|
9720
9726
|
}
|
|
9721
9727
|
if (message.wrapMode !== undefined) {
|
|
@@ -9748,17 +9754,17 @@
|
|
|
9748
9754
|
}
|
|
9749
9755
|
}
|
|
9750
9756
|
return message;
|
|
9751
|
-
}
|
|
9757
|
+
},
|
|
9752
9758
|
};
|
|
9753
9759
|
function createBaseAvatarTexture() {
|
|
9754
|
-
return { userId:
|
|
9760
|
+
return { userId: "", wrapMode: undefined, filterMode: undefined };
|
|
9755
9761
|
}
|
|
9756
9762
|
/**
|
|
9757
9763
|
* Internal
|
|
9758
9764
|
*/
|
|
9759
9765
|
const AvatarTexture = {
|
|
9760
9766
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
9761
|
-
if (message.userId !==
|
|
9767
|
+
if (message.userId !== "") {
|
|
9762
9768
|
writer.uint32(10).string(message.userId);
|
|
9763
9769
|
}
|
|
9764
9770
|
if (message.wrapMode !== undefined) {
|
|
@@ -9791,7 +9797,7 @@
|
|
|
9791
9797
|
}
|
|
9792
9798
|
}
|
|
9793
9799
|
return message;
|
|
9794
|
-
}
|
|
9800
|
+
},
|
|
9795
9801
|
};
|
|
9796
9802
|
function createBaseTextureUnion() {
|
|
9797
9803
|
return { tex: undefined };
|
|
@@ -9801,10 +9807,10 @@
|
|
|
9801
9807
|
*/
|
|
9802
9808
|
const TextureUnion = {
|
|
9803
9809
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
9804
|
-
if (message.tex?.$case ===
|
|
9810
|
+
if (message.tex?.$case === "texture") {
|
|
9805
9811
|
Texture.encode(message.tex.texture, writer.uint32(10).fork()).ldelim();
|
|
9806
9812
|
}
|
|
9807
|
-
if (message.tex?.$case ===
|
|
9813
|
+
if (message.tex?.$case === "avatarTexture") {
|
|
9808
9814
|
AvatarTexture.encode(message.tex.avatarTexture, writer.uint32(18).fork()).ldelim();
|
|
9809
9815
|
}
|
|
9810
9816
|
return writer;
|
|
@@ -9817,10 +9823,10 @@
|
|
|
9817
9823
|
const tag = reader.uint32();
|
|
9818
9824
|
switch (tag >>> 3) {
|
|
9819
9825
|
case 1:
|
|
9820
|
-
message.tex = { $case:
|
|
9826
|
+
message.tex = { $case: "texture", texture: Texture.decode(reader, reader.uint32()) };
|
|
9821
9827
|
break;
|
|
9822
9828
|
case 2:
|
|
9823
|
-
message.tex = { $case:
|
|
9829
|
+
message.tex = { $case: "avatarTexture", avatarTexture: AvatarTexture.decode(reader, reader.uint32()) };
|
|
9824
9830
|
break;
|
|
9825
9831
|
default:
|
|
9826
9832
|
reader.skipType(tag & 7);
|
|
@@ -9828,7 +9834,7 @@
|
|
|
9828
9834
|
}
|
|
9829
9835
|
}
|
|
9830
9836
|
return message;
|
|
9831
|
-
}
|
|
9837
|
+
},
|
|
9832
9838
|
};
|
|
9833
9839
|
|
|
9834
9840
|
/* eslint-disable */
|
|
@@ -9848,10 +9854,10 @@
|
|
|
9848
9854
|
*/
|
|
9849
9855
|
const PBMaterial = {
|
|
9850
9856
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
9851
|
-
if (message.material?.$case ===
|
|
9857
|
+
if (message.material?.$case === "unlit") {
|
|
9852
9858
|
PBMaterial_UnlitMaterial.encode(message.material.unlit, writer.uint32(10).fork()).ldelim();
|
|
9853
9859
|
}
|
|
9854
|
-
if (message.material?.$case ===
|
|
9860
|
+
if (message.material?.$case === "pbr") {
|
|
9855
9861
|
PBMaterial_PbrMaterial.encode(message.material.pbr, writer.uint32(18).fork()).ldelim();
|
|
9856
9862
|
}
|
|
9857
9863
|
return writer;
|
|
@@ -9864,10 +9870,10 @@
|
|
|
9864
9870
|
const tag = reader.uint32();
|
|
9865
9871
|
switch (tag >>> 3) {
|
|
9866
9872
|
case 1:
|
|
9867
|
-
message.material = { $case:
|
|
9873
|
+
message.material = { $case: "unlit", unlit: PBMaterial_UnlitMaterial.decode(reader, reader.uint32()) };
|
|
9868
9874
|
break;
|
|
9869
9875
|
case 2:
|
|
9870
|
-
message.material = { $case:
|
|
9876
|
+
message.material = { $case: "pbr", pbr: PBMaterial_PbrMaterial.decode(reader, reader.uint32()) };
|
|
9871
9877
|
break;
|
|
9872
9878
|
default:
|
|
9873
9879
|
reader.skipType(tag & 7);
|
|
@@ -9875,7 +9881,7 @@
|
|
|
9875
9881
|
}
|
|
9876
9882
|
}
|
|
9877
9883
|
return message;
|
|
9878
|
-
}
|
|
9884
|
+
},
|
|
9879
9885
|
};
|
|
9880
9886
|
function createBasePBMaterial_UnlitMaterial() {
|
|
9881
9887
|
return { texture: undefined, alphaTest: undefined, castShadows: undefined };
|
|
@@ -9918,7 +9924,7 @@
|
|
|
9918
9924
|
}
|
|
9919
9925
|
}
|
|
9920
9926
|
return message;
|
|
9921
|
-
}
|
|
9927
|
+
},
|
|
9922
9928
|
};
|
|
9923
9929
|
function createBasePBMaterial_PbrMaterial() {
|
|
9924
9930
|
return {
|
|
@@ -9937,7 +9943,7 @@
|
|
|
9937
9943
|
glossiness: undefined,
|
|
9938
9944
|
specularIntensity: undefined,
|
|
9939
9945
|
emissiveIntensity: undefined,
|
|
9940
|
-
directIntensity: undefined
|
|
9946
|
+
directIntensity: undefined,
|
|
9941
9947
|
};
|
|
9942
9948
|
}
|
|
9943
9949
|
/**
|
|
@@ -10056,7 +10062,7 @@
|
|
|
10056
10062
|
}
|
|
10057
10063
|
}
|
|
10058
10064
|
return message;
|
|
10059
|
-
}
|
|
10065
|
+
},
|
|
10060
10066
|
};
|
|
10061
10067
|
|
|
10062
10068
|
/**
|
|
@@ -10096,16 +10102,16 @@
|
|
|
10096
10102
|
if (message.collisionMask !== undefined) {
|
|
10097
10103
|
writer.uint32(8).int32(message.collisionMask);
|
|
10098
10104
|
}
|
|
10099
|
-
if (message.mesh?.$case ===
|
|
10105
|
+
if (message.mesh?.$case === "box") {
|
|
10100
10106
|
PBMeshCollider_BoxMesh.encode(message.mesh.box, writer.uint32(18).fork()).ldelim();
|
|
10101
10107
|
}
|
|
10102
|
-
if (message.mesh?.$case ===
|
|
10108
|
+
if (message.mesh?.$case === "sphere") {
|
|
10103
10109
|
PBMeshCollider_SphereMesh.encode(message.mesh.sphere, writer.uint32(26).fork()).ldelim();
|
|
10104
10110
|
}
|
|
10105
|
-
if (message.mesh?.$case ===
|
|
10111
|
+
if (message.mesh?.$case === "cylinder") {
|
|
10106
10112
|
PBMeshCollider_CylinderMesh.encode(message.mesh.cylinder, writer.uint32(34).fork()).ldelim();
|
|
10107
10113
|
}
|
|
10108
|
-
if (message.mesh?.$case ===
|
|
10114
|
+
if (message.mesh?.$case === "plane") {
|
|
10109
10115
|
PBMeshCollider_PlaneMesh.encode(message.mesh.plane, writer.uint32(42).fork()).ldelim();
|
|
10110
10116
|
}
|
|
10111
10117
|
return writer;
|
|
@@ -10121,16 +10127,16 @@
|
|
|
10121
10127
|
message.collisionMask = reader.int32();
|
|
10122
10128
|
break;
|
|
10123
10129
|
case 2:
|
|
10124
|
-
message.mesh = { $case:
|
|
10130
|
+
message.mesh = { $case: "box", box: PBMeshCollider_BoxMesh.decode(reader, reader.uint32()) };
|
|
10125
10131
|
break;
|
|
10126
10132
|
case 3:
|
|
10127
|
-
message.mesh = { $case:
|
|
10133
|
+
message.mesh = { $case: "sphere", sphere: PBMeshCollider_SphereMesh.decode(reader, reader.uint32()) };
|
|
10128
10134
|
break;
|
|
10129
10135
|
case 4:
|
|
10130
|
-
message.mesh = { $case:
|
|
10136
|
+
message.mesh = { $case: "cylinder", cylinder: PBMeshCollider_CylinderMesh.decode(reader, reader.uint32()) };
|
|
10131
10137
|
break;
|
|
10132
10138
|
case 5:
|
|
10133
|
-
message.mesh = { $case:
|
|
10139
|
+
message.mesh = { $case: "plane", plane: PBMeshCollider_PlaneMesh.decode(reader, reader.uint32()) };
|
|
10134
10140
|
break;
|
|
10135
10141
|
default:
|
|
10136
10142
|
reader.skipType(tag & 7);
|
|
@@ -10138,7 +10144,7 @@
|
|
|
10138
10144
|
}
|
|
10139
10145
|
}
|
|
10140
10146
|
return message;
|
|
10141
|
-
}
|
|
10147
|
+
},
|
|
10142
10148
|
};
|
|
10143
10149
|
function createBasePBMeshCollider_BoxMesh() {
|
|
10144
10150
|
return {};
|
|
@@ -10163,7 +10169,7 @@
|
|
|
10163
10169
|
}
|
|
10164
10170
|
}
|
|
10165
10171
|
return message;
|
|
10166
|
-
}
|
|
10172
|
+
},
|
|
10167
10173
|
};
|
|
10168
10174
|
function createBasePBMeshCollider_CylinderMesh() {
|
|
10169
10175
|
return { radiusTop: undefined, radiusBottom: undefined };
|
|
@@ -10200,7 +10206,7 @@
|
|
|
10200
10206
|
}
|
|
10201
10207
|
}
|
|
10202
10208
|
return message;
|
|
10203
|
-
}
|
|
10209
|
+
},
|
|
10204
10210
|
};
|
|
10205
10211
|
function createBasePBMeshCollider_PlaneMesh() {
|
|
10206
10212
|
return {};
|
|
@@ -10225,7 +10231,7 @@
|
|
|
10225
10231
|
}
|
|
10226
10232
|
}
|
|
10227
10233
|
return message;
|
|
10228
|
-
}
|
|
10234
|
+
},
|
|
10229
10235
|
};
|
|
10230
10236
|
function createBasePBMeshCollider_SphereMesh() {
|
|
10231
10237
|
return {};
|
|
@@ -10250,7 +10256,7 @@
|
|
|
10250
10256
|
}
|
|
10251
10257
|
}
|
|
10252
10258
|
return message;
|
|
10253
|
-
}
|
|
10259
|
+
},
|
|
10254
10260
|
};
|
|
10255
10261
|
|
|
10256
10262
|
/**
|
|
@@ -10281,16 +10287,16 @@
|
|
|
10281
10287
|
*/
|
|
10282
10288
|
const PBMeshRenderer = {
|
|
10283
10289
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
10284
|
-
if (message.mesh?.$case ===
|
|
10290
|
+
if (message.mesh?.$case === "box") {
|
|
10285
10291
|
PBMeshRenderer_BoxMesh.encode(message.mesh.box, writer.uint32(10).fork()).ldelim();
|
|
10286
10292
|
}
|
|
10287
|
-
if (message.mesh?.$case ===
|
|
10293
|
+
if (message.mesh?.$case === "sphere") {
|
|
10288
10294
|
PBMeshRenderer_SphereMesh.encode(message.mesh.sphere, writer.uint32(18).fork()).ldelim();
|
|
10289
10295
|
}
|
|
10290
|
-
if (message.mesh?.$case ===
|
|
10296
|
+
if (message.mesh?.$case === "cylinder") {
|
|
10291
10297
|
PBMeshRenderer_CylinderMesh.encode(message.mesh.cylinder, writer.uint32(26).fork()).ldelim();
|
|
10292
10298
|
}
|
|
10293
|
-
if (message.mesh?.$case ===
|
|
10299
|
+
if (message.mesh?.$case === "plane") {
|
|
10294
10300
|
PBMeshRenderer_PlaneMesh.encode(message.mesh.plane, writer.uint32(34).fork()).ldelim();
|
|
10295
10301
|
}
|
|
10296
10302
|
return writer;
|
|
@@ -10303,16 +10309,16 @@
|
|
|
10303
10309
|
const tag = reader.uint32();
|
|
10304
10310
|
switch (tag >>> 3) {
|
|
10305
10311
|
case 1:
|
|
10306
|
-
message.mesh = { $case:
|
|
10312
|
+
message.mesh = { $case: "box", box: PBMeshRenderer_BoxMesh.decode(reader, reader.uint32()) };
|
|
10307
10313
|
break;
|
|
10308
10314
|
case 2:
|
|
10309
|
-
message.mesh = { $case:
|
|
10315
|
+
message.mesh = { $case: "sphere", sphere: PBMeshRenderer_SphereMesh.decode(reader, reader.uint32()) };
|
|
10310
10316
|
break;
|
|
10311
10317
|
case 3:
|
|
10312
|
-
message.mesh = { $case:
|
|
10318
|
+
message.mesh = { $case: "cylinder", cylinder: PBMeshRenderer_CylinderMesh.decode(reader, reader.uint32()) };
|
|
10313
10319
|
break;
|
|
10314
10320
|
case 4:
|
|
10315
|
-
message.mesh = { $case:
|
|
10321
|
+
message.mesh = { $case: "plane", plane: PBMeshRenderer_PlaneMesh.decode(reader, reader.uint32()) };
|
|
10316
10322
|
break;
|
|
10317
10323
|
default:
|
|
10318
10324
|
reader.skipType(tag & 7);
|
|
@@ -10320,7 +10326,7 @@
|
|
|
10320
10326
|
}
|
|
10321
10327
|
}
|
|
10322
10328
|
return message;
|
|
10323
|
-
}
|
|
10329
|
+
},
|
|
10324
10330
|
};
|
|
10325
10331
|
function createBasePBMeshRenderer_BoxMesh() {
|
|
10326
10332
|
return { uvs: [] };
|
|
@@ -10361,7 +10367,7 @@
|
|
|
10361
10367
|
}
|
|
10362
10368
|
}
|
|
10363
10369
|
return message;
|
|
10364
|
-
}
|
|
10370
|
+
},
|
|
10365
10371
|
};
|
|
10366
10372
|
function createBasePBMeshRenderer_CylinderMesh() {
|
|
10367
10373
|
return { radiusTop: undefined, radiusBottom: undefined };
|
|
@@ -10398,7 +10404,7 @@
|
|
|
10398
10404
|
}
|
|
10399
10405
|
}
|
|
10400
10406
|
return message;
|
|
10401
|
-
}
|
|
10407
|
+
},
|
|
10402
10408
|
};
|
|
10403
10409
|
function createBasePBMeshRenderer_PlaneMesh() {
|
|
10404
10410
|
return { uvs: [] };
|
|
@@ -10439,7 +10445,7 @@
|
|
|
10439
10445
|
}
|
|
10440
10446
|
}
|
|
10441
10447
|
return message;
|
|
10442
|
-
}
|
|
10448
|
+
},
|
|
10443
10449
|
};
|
|
10444
10450
|
function createBasePBMeshRenderer_SphereMesh() {
|
|
10445
10451
|
return {};
|
|
@@ -10464,7 +10470,7 @@
|
|
|
10464
10470
|
}
|
|
10465
10471
|
}
|
|
10466
10472
|
return message;
|
|
10467
|
-
}
|
|
10473
|
+
},
|
|
10468
10474
|
};
|
|
10469
10475
|
|
|
10470
10476
|
/**
|
|
@@ -10514,14 +10520,14 @@
|
|
|
10514
10520
|
NftFrameType[NftFrameType["NFT_NONE"] = 22] = "NFT_NONE";
|
|
10515
10521
|
})(exports.NftFrameType || (exports.NftFrameType = {}));
|
|
10516
10522
|
function createBasePBNftShape() {
|
|
10517
|
-
return { src:
|
|
10523
|
+
return { src: "", style: undefined, color: undefined };
|
|
10518
10524
|
}
|
|
10519
10525
|
/**
|
|
10520
10526
|
* Internal
|
|
10521
10527
|
*/
|
|
10522
10528
|
const PBNftShape = {
|
|
10523
10529
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
10524
|
-
if (message.src !==
|
|
10530
|
+
if (message.src !== "") {
|
|
10525
10531
|
writer.uint32(10).string(message.src);
|
|
10526
10532
|
}
|
|
10527
10533
|
if (message.style !== undefined) {
|
|
@@ -10554,7 +10560,7 @@
|
|
|
10554
10560
|
}
|
|
10555
10561
|
}
|
|
10556
10562
|
return message;
|
|
10557
|
-
}
|
|
10563
|
+
},
|
|
10558
10564
|
};
|
|
10559
10565
|
|
|
10560
10566
|
/**
|
|
@@ -10576,6 +10582,7 @@
|
|
|
10576
10582
|
}
|
|
10577
10583
|
};
|
|
10578
10584
|
|
|
10585
|
+
/* eslint-disable */
|
|
10579
10586
|
exports.PointerEventType = void 0;
|
|
10580
10587
|
(function (PointerEventType) {
|
|
10581
10588
|
PointerEventType[PointerEventType["PET_UP"] = 0] = "PET_UP";
|
|
@@ -10612,7 +10619,7 @@
|
|
|
10612
10619
|
}
|
|
10613
10620
|
}
|
|
10614
10621
|
return message;
|
|
10615
|
-
}
|
|
10622
|
+
},
|
|
10616
10623
|
};
|
|
10617
10624
|
function createBasePBPointerEvents_Info() {
|
|
10618
10625
|
return { button: undefined, hoverText: undefined, maxDistance: undefined, showFeedback: undefined };
|
|
@@ -10661,7 +10668,7 @@
|
|
|
10661
10668
|
}
|
|
10662
10669
|
}
|
|
10663
10670
|
return message;
|
|
10664
|
-
}
|
|
10671
|
+
},
|
|
10665
10672
|
};
|
|
10666
10673
|
function createBasePBPointerEvents_Entry() {
|
|
10667
10674
|
return { eventType: 0, eventInfo: undefined };
|
|
@@ -10698,7 +10705,7 @@
|
|
|
10698
10705
|
}
|
|
10699
10706
|
}
|
|
10700
10707
|
return message;
|
|
10701
|
-
}
|
|
10708
|
+
},
|
|
10702
10709
|
};
|
|
10703
10710
|
|
|
10704
10711
|
/**
|
|
@@ -10768,7 +10775,7 @@
|
|
|
10768
10775
|
}
|
|
10769
10776
|
}
|
|
10770
10777
|
return message;
|
|
10771
|
-
}
|
|
10778
|
+
},
|
|
10772
10779
|
};
|
|
10773
10780
|
function createBaseRaycastHit() {
|
|
10774
10781
|
return {
|
|
@@ -10778,7 +10785,7 @@
|
|
|
10778
10785
|
normalHit: undefined,
|
|
10779
10786
|
length: 0,
|
|
10780
10787
|
meshName: undefined,
|
|
10781
|
-
entityId: undefined
|
|
10788
|
+
entityId: undefined,
|
|
10782
10789
|
};
|
|
10783
10790
|
}
|
|
10784
10791
|
/**
|
|
@@ -10843,22 +10850,26 @@
|
|
|
10843
10850
|
}
|
|
10844
10851
|
}
|
|
10845
10852
|
return message;
|
|
10846
|
-
}
|
|
10853
|
+
},
|
|
10847
10854
|
};
|
|
10848
|
-
var
|
|
10849
|
-
if (typeof globalThis
|
|
10850
|
-
return globalThis
|
|
10851
|
-
|
|
10855
|
+
var tsProtoGlobalThis = (() => {
|
|
10856
|
+
if (typeof globalThis !== "undefined") {
|
|
10857
|
+
return globalThis;
|
|
10858
|
+
}
|
|
10859
|
+
if (typeof self !== "undefined") {
|
|
10852
10860
|
return self;
|
|
10853
|
-
|
|
10861
|
+
}
|
|
10862
|
+
if (typeof window !== "undefined") {
|
|
10854
10863
|
return window;
|
|
10855
|
-
|
|
10864
|
+
}
|
|
10865
|
+
if (typeof global !== "undefined") {
|
|
10856
10866
|
return global;
|
|
10857
|
-
|
|
10867
|
+
}
|
|
10868
|
+
throw "Unable to locate global object";
|
|
10858
10869
|
})();
|
|
10859
10870
|
function longToNumber(long) {
|
|
10860
10871
|
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
10861
|
-
throw new
|
|
10872
|
+
throw new tsProtoGlobalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
10862
10873
|
}
|
|
10863
10874
|
return long.toNumber();
|
|
10864
10875
|
}
|
|
@@ -10867,6 +10878,7 @@
|
|
|
10867
10878
|
minimalExports.configure();
|
|
10868
10879
|
}
|
|
10869
10880
|
|
|
10881
|
+
/* eslint-disable */
|
|
10870
10882
|
function createBasePBPointerEventsResult() {
|
|
10871
10883
|
return { commands: [] };
|
|
10872
10884
|
}
|
|
@@ -10896,7 +10908,7 @@
|
|
|
10896
10908
|
}
|
|
10897
10909
|
}
|
|
10898
10910
|
return message;
|
|
10899
|
-
}
|
|
10911
|
+
},
|
|
10900
10912
|
};
|
|
10901
10913
|
function createBasePBPointerEventsResult_PointerCommand() {
|
|
10902
10914
|
return { button: 0, hit: undefined, state: 0, timestamp: 0, analog: undefined };
|
|
@@ -10951,7 +10963,7 @@
|
|
|
10951
10963
|
}
|
|
10952
10964
|
}
|
|
10953
10965
|
return message;
|
|
10954
|
-
}
|
|
10966
|
+
},
|
|
10955
10967
|
};
|
|
10956
10968
|
|
|
10957
10969
|
/**
|
|
@@ -11003,7 +11015,7 @@
|
|
|
11003
11015
|
}
|
|
11004
11016
|
}
|
|
11005
11017
|
return message;
|
|
11006
|
-
}
|
|
11018
|
+
},
|
|
11007
11019
|
};
|
|
11008
11020
|
|
|
11009
11021
|
/**
|
|
@@ -11078,7 +11090,7 @@
|
|
|
11078
11090
|
}
|
|
11079
11091
|
}
|
|
11080
11092
|
return message;
|
|
11081
|
-
}
|
|
11093
|
+
},
|
|
11082
11094
|
};
|
|
11083
11095
|
|
|
11084
11096
|
/**
|
|
@@ -11119,9 +11131,10 @@
|
|
|
11119
11131
|
}
|
|
11120
11132
|
};
|
|
11121
11133
|
|
|
11134
|
+
/* eslint-disable */
|
|
11122
11135
|
function createBasePBTextShape() {
|
|
11123
11136
|
return {
|
|
11124
|
-
text:
|
|
11137
|
+
text: "",
|
|
11125
11138
|
font: undefined,
|
|
11126
11139
|
fontSize: undefined,
|
|
11127
11140
|
fontAutoSize: undefined,
|
|
@@ -11141,7 +11154,7 @@
|
|
|
11141
11154
|
outlineWidth: undefined,
|
|
11142
11155
|
shadowColor: undefined,
|
|
11143
11156
|
outlineColor: undefined,
|
|
11144
|
-
textColor: undefined
|
|
11157
|
+
textColor: undefined,
|
|
11145
11158
|
};
|
|
11146
11159
|
}
|
|
11147
11160
|
/**
|
|
@@ -11149,7 +11162,7 @@
|
|
|
11149
11162
|
*/
|
|
11150
11163
|
const PBTextShape = {
|
|
11151
11164
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
11152
|
-
if (message.text !==
|
|
11165
|
+
if (message.text !== "") {
|
|
11153
11166
|
writer.uint32(10).string(message.text);
|
|
11154
11167
|
}
|
|
11155
11168
|
if (message.font !== undefined) {
|
|
@@ -11290,7 +11303,7 @@
|
|
|
11290
11303
|
}
|
|
11291
11304
|
}
|
|
11292
11305
|
return message;
|
|
11293
|
-
}
|
|
11306
|
+
},
|
|
11294
11307
|
};
|
|
11295
11308
|
|
|
11296
11309
|
/**
|
|
@@ -11360,7 +11373,7 @@
|
|
|
11360
11373
|
}
|
|
11361
11374
|
}
|
|
11362
11375
|
return message;
|
|
11363
|
-
}
|
|
11376
|
+
},
|
|
11364
11377
|
};
|
|
11365
11378
|
|
|
11366
11379
|
/* eslint-disable */
|
|
@@ -11448,7 +11461,7 @@
|
|
|
11448
11461
|
}
|
|
11449
11462
|
}
|
|
11450
11463
|
return message;
|
|
11451
|
-
}
|
|
11464
|
+
},
|
|
11452
11465
|
};
|
|
11453
11466
|
|
|
11454
11467
|
/**
|
|
@@ -11481,7 +11494,7 @@
|
|
|
11481
11494
|
color: undefined,
|
|
11482
11495
|
textAlign: undefined,
|
|
11483
11496
|
font: undefined,
|
|
11484
|
-
fontSize: undefined
|
|
11497
|
+
fontSize: undefined,
|
|
11485
11498
|
};
|
|
11486
11499
|
}
|
|
11487
11500
|
/**
|
|
@@ -11558,7 +11571,7 @@
|
|
|
11558
11571
|
}
|
|
11559
11572
|
}
|
|
11560
11573
|
return message;
|
|
11561
|
-
}
|
|
11574
|
+
},
|
|
11562
11575
|
};
|
|
11563
11576
|
|
|
11564
11577
|
/**
|
|
@@ -11610,7 +11623,7 @@
|
|
|
11610
11623
|
}
|
|
11611
11624
|
}
|
|
11612
11625
|
return message;
|
|
11613
|
-
}
|
|
11626
|
+
},
|
|
11614
11627
|
};
|
|
11615
11628
|
|
|
11616
11629
|
/**
|
|
@@ -11635,13 +11648,13 @@
|
|
|
11635
11648
|
/* eslint-disable */
|
|
11636
11649
|
function createBasePBUiInput() {
|
|
11637
11650
|
return {
|
|
11638
|
-
placeholder:
|
|
11651
|
+
placeholder: "",
|
|
11639
11652
|
color: undefined,
|
|
11640
11653
|
placeholderColor: undefined,
|
|
11641
11654
|
disabled: false,
|
|
11642
11655
|
textAlign: undefined,
|
|
11643
11656
|
font: undefined,
|
|
11644
|
-
fontSize: undefined
|
|
11657
|
+
fontSize: undefined,
|
|
11645
11658
|
};
|
|
11646
11659
|
}
|
|
11647
11660
|
/**
|
|
@@ -11649,7 +11662,7 @@
|
|
|
11649
11662
|
*/
|
|
11650
11663
|
const PBUiInput = {
|
|
11651
11664
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
11652
|
-
if (message.placeholder !==
|
|
11665
|
+
if (message.placeholder !== "") {
|
|
11653
11666
|
writer.uint32(10).string(message.placeholder);
|
|
11654
11667
|
}
|
|
11655
11668
|
if (message.color !== undefined) {
|
|
@@ -11706,7 +11719,7 @@
|
|
|
11706
11719
|
}
|
|
11707
11720
|
}
|
|
11708
11721
|
return message;
|
|
11709
|
-
}
|
|
11722
|
+
},
|
|
11710
11723
|
};
|
|
11711
11724
|
|
|
11712
11725
|
/**
|
|
@@ -11730,14 +11743,14 @@
|
|
|
11730
11743
|
|
|
11731
11744
|
/* eslint-disable */
|
|
11732
11745
|
function createBasePBUiInputResult() {
|
|
11733
|
-
return { value:
|
|
11746
|
+
return { value: "" };
|
|
11734
11747
|
}
|
|
11735
11748
|
/**
|
|
11736
11749
|
* Internal
|
|
11737
11750
|
*/
|
|
11738
11751
|
const PBUiInputResult = {
|
|
11739
11752
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
11740
|
-
if (message.value !==
|
|
11753
|
+
if (message.value !== "") {
|
|
11741
11754
|
writer.uint32(10).string(message.value);
|
|
11742
11755
|
}
|
|
11743
11756
|
return writer;
|
|
@@ -11758,7 +11771,7 @@
|
|
|
11758
11771
|
}
|
|
11759
11772
|
}
|
|
11760
11773
|
return message;
|
|
11761
|
-
}
|
|
11774
|
+
},
|
|
11762
11775
|
};
|
|
11763
11776
|
|
|
11764
11777
|
/**
|
|
@@ -11782,14 +11795,14 @@
|
|
|
11782
11795
|
|
|
11783
11796
|
/* eslint-disable */
|
|
11784
11797
|
function createBasePBUiText() {
|
|
11785
|
-
return { value:
|
|
11798
|
+
return { value: "", color: undefined, textAlign: undefined, font: undefined, fontSize: undefined };
|
|
11786
11799
|
}
|
|
11787
11800
|
/**
|
|
11788
11801
|
* Internal
|
|
11789
11802
|
*/
|
|
11790
11803
|
const PBUiText = {
|
|
11791
11804
|
encode(message, writer = minimalExports.Writer.create()) {
|
|
11792
|
-
if (message.value !==
|
|
11805
|
+
if (message.value !== "") {
|
|
11793
11806
|
writer.uint32(10).string(message.value);
|
|
11794
11807
|
}
|
|
11795
11808
|
if (message.color !== undefined) {
|
|
@@ -11834,7 +11847,7 @@
|
|
|
11834
11847
|
}
|
|
11835
11848
|
}
|
|
11836
11849
|
return message;
|
|
11837
|
-
}
|
|
11850
|
+
},
|
|
11838
11851
|
};
|
|
11839
11852
|
|
|
11840
11853
|
/**
|
|
@@ -11977,7 +11990,7 @@
|
|
|
11977
11990
|
paddingRightUnit: 0,
|
|
11978
11991
|
paddingRight: 0,
|
|
11979
11992
|
paddingBottomUnit: 0,
|
|
11980
|
-
paddingBottom: 0
|
|
11993
|
+
paddingBottom: 0,
|
|
11981
11994
|
};
|
|
11982
11995
|
}
|
|
11983
11996
|
/**
|
|
@@ -12306,7 +12319,7 @@
|
|
|
12306
12319
|
}
|
|
12307
12320
|
}
|
|
12308
12321
|
return message;
|
|
12309
|
-
}
|
|
12322
|
+
},
|
|
12310
12323
|
};
|
|
12311
12324
|
|
|
12312
12325
|
/**
|
|
@@ -12358,7 +12371,7 @@
|
|
|
12358
12371
|
}
|
|
12359
12372
|
}
|
|
12360
12373
|
return message;
|
|
12361
|
-
}
|
|
12374
|
+
},
|
|
12362
12375
|
};
|
|
12363
12376
|
|
|
12364
12377
|
/**
|