@dcl/ecs 7.24.1-27387182535.commit-de44c20 → 7.24.1
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/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -6
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -30
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -8
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +0 -9
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
- package/dist/components/generated/pb/google/protobuf/descriptor.gen.d.ts +1 -640
- package/dist/components/generated/pb/google/protobuf/descriptor.gen.js +4 -260
- package/dist/systems/triggerArea.js +2 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -6
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -30
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -8
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +1 -10
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
- package/dist-cjs/components/generated/pb/google/protobuf/descriptor.gen.d.ts +1 -640
- package/dist-cjs/components/generated/pb/google/protobuf/descriptor.gen.js +5 -261
- package/dist-cjs/systems/triggerArea.js +2 -1
- package/package.json +2 -2
|
@@ -7,45 +7,23 @@ const protobufPackageSarasa = "google.protobuf";
|
|
|
7
7
|
*/
|
|
8
8
|
export var FieldDescriptorProto_Type;
|
|
9
9
|
(function (FieldDescriptorProto_Type) {
|
|
10
|
-
/**
|
|
11
|
-
* TYPE_DOUBLE - 0 is reserved for errors.
|
|
12
|
-
* Order is weird for historical reasons.
|
|
13
|
-
*/
|
|
14
10
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE";
|
|
15
11
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_FLOAT"] = 2] = "TYPE_FLOAT";
|
|
16
|
-
/**
|
|
17
|
-
* TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
18
|
-
* negative values are likely.
|
|
19
|
-
*/
|
|
20
12
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_INT64"] = 3] = "TYPE_INT64";
|
|
21
13
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_UINT64"] = 4] = "TYPE_UINT64";
|
|
22
|
-
/**
|
|
23
|
-
* TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
24
|
-
* negative values are likely.
|
|
25
|
-
*/
|
|
26
14
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_INT32"] = 5] = "TYPE_INT32";
|
|
27
15
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_FIXED64"] = 6] = "TYPE_FIXED64";
|
|
28
16
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_FIXED32"] = 7] = "TYPE_FIXED32";
|
|
29
17
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_BOOL"] = 8] = "TYPE_BOOL";
|
|
30
18
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_STRING"] = 9] = "TYPE_STRING";
|
|
31
|
-
/**
|
|
32
|
-
* TYPE_GROUP - Tag-delimited aggregate.
|
|
33
|
-
* Group type is deprecated and not supported in proto3. However, Proto3
|
|
34
|
-
* implementations should still be able to parse the group wire format and
|
|
35
|
-
* treat group fields as unknown fields.
|
|
36
|
-
*/
|
|
37
19
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_GROUP"] = 10] = "TYPE_GROUP";
|
|
38
|
-
/** TYPE_MESSAGE - Length-delimited aggregate. */
|
|
39
20
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_MESSAGE"] = 11] = "TYPE_MESSAGE";
|
|
40
|
-
/** TYPE_BYTES - New in version 2. */
|
|
41
21
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_BYTES"] = 12] = "TYPE_BYTES";
|
|
42
22
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_UINT32"] = 13] = "TYPE_UINT32";
|
|
43
23
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_ENUM"] = 14] = "TYPE_ENUM";
|
|
44
24
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SFIXED32"] = 15] = "TYPE_SFIXED32";
|
|
45
25
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SFIXED64"] = 16] = "TYPE_SFIXED64";
|
|
46
|
-
/** TYPE_SINT32 - Uses ZigZag encoding. */
|
|
47
26
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT32"] = 17] = "TYPE_SINT32";
|
|
48
|
-
/** TYPE_SINT64 - Uses ZigZag encoding. */
|
|
49
27
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
50
28
|
})(FieldDescriptorProto_Type || (FieldDescriptorProto_Type = {}));
|
|
51
29
|
/**
|
|
@@ -53,22 +31,17 @@ export var FieldDescriptorProto_Type;
|
|
|
53
31
|
*/
|
|
54
32
|
export var FieldDescriptorProto_Label;
|
|
55
33
|
(function (FieldDescriptorProto_Label) {
|
|
56
|
-
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
|
57
34
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL";
|
|
58
35
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
|
|
59
36
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
|
|
60
37
|
})(FieldDescriptorProto_Label || (FieldDescriptorProto_Label = {}));
|
|
61
|
-
/** Generated classes can be optimized for speed or code size. */
|
|
62
38
|
/**
|
|
63
39
|
* @public
|
|
64
40
|
*/
|
|
65
41
|
export var FileOptions_OptimizeMode;
|
|
66
42
|
(function (FileOptions_OptimizeMode) {
|
|
67
|
-
/** SPEED - Generate complete code for parsing, serialization, */
|
|
68
43
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
|
|
69
|
-
/** CODE_SIZE - etc. */
|
|
70
44
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
|
|
71
|
-
/** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
|
|
72
45
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
|
73
46
|
})(FileOptions_OptimizeMode || (FileOptions_OptimizeMode = {}));
|
|
74
47
|
/**
|
|
@@ -76,7 +49,6 @@ export var FileOptions_OptimizeMode;
|
|
|
76
49
|
*/
|
|
77
50
|
export var FieldOptions_CType;
|
|
78
51
|
(function (FieldOptions_CType) {
|
|
79
|
-
/** STRING - Default mode. */
|
|
80
52
|
FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
|
|
81
53
|
FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
|
|
82
54
|
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
@@ -86,29 +58,10 @@ export var FieldOptions_CType;
|
|
|
86
58
|
*/
|
|
87
59
|
export var FieldOptions_JSType;
|
|
88
60
|
(function (FieldOptions_JSType) {
|
|
89
|
-
/** JS_NORMAL - Use the default type. */
|
|
90
61
|
FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
|
|
91
|
-
/** JS_STRING - Use JavaScript strings. */
|
|
92
62
|
FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
|
|
93
|
-
/** JS_NUMBER - Use JavaScript numbers. */
|
|
94
63
|
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
95
64
|
})(FieldOptions_JSType || (FieldOptions_JSType = {}));
|
|
96
|
-
/**
|
|
97
|
-
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
98
|
-
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
99
|
-
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
100
|
-
*/
|
|
101
|
-
/**
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
export var MethodOptions_IdempotencyLevel;
|
|
105
|
-
(function (MethodOptions_IdempotencyLevel) {
|
|
106
|
-
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
|
|
107
|
-
/** NO_SIDE_EFFECTS - implies idempotent */
|
|
108
|
-
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
|
|
109
|
-
/** IDEMPOTENT - idempotent, but may have side effects */
|
|
110
|
-
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
|
111
|
-
})(MethodOptions_IdempotencyLevel || (MethodOptions_IdempotencyLevel = {}));
|
|
112
65
|
function createBaseFileDescriptorSet() {
|
|
113
66
|
return { file: [] };
|
|
114
67
|
}
|
|
@@ -446,7 +399,7 @@ export var DescriptorProto;
|
|
|
446
399
|
DescriptorProto.decode = decode;
|
|
447
400
|
})(DescriptorProto || (DescriptorProto = {}));
|
|
448
401
|
function createBaseDescriptorProto_ExtensionRange() {
|
|
449
|
-
return { start: 0, end: 0
|
|
402
|
+
return { start: 0, end: 0 };
|
|
450
403
|
}
|
|
451
404
|
/**
|
|
452
405
|
* @public
|
|
@@ -460,9 +413,6 @@ export var DescriptorProto_ExtensionRange;
|
|
|
460
413
|
if (message.end !== 0) {
|
|
461
414
|
writer.uint32(16).int32(message.end);
|
|
462
415
|
}
|
|
463
|
-
if (message.options !== undefined) {
|
|
464
|
-
ExtensionRangeOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
465
|
-
}
|
|
466
416
|
return writer;
|
|
467
417
|
}
|
|
468
418
|
DescriptorProto_ExtensionRange.encode = encode;
|
|
@@ -485,12 +435,6 @@ export var DescriptorProto_ExtensionRange;
|
|
|
485
435
|
}
|
|
486
436
|
message.end = reader.int32();
|
|
487
437
|
continue;
|
|
488
|
-
case 3:
|
|
489
|
-
if (tag !== 26) {
|
|
490
|
-
break;
|
|
491
|
-
}
|
|
492
|
-
message.options = ExtensionRangeOptions.decode(reader, reader.uint32());
|
|
493
|
-
continue;
|
|
494
438
|
}
|
|
495
439
|
if ((tag & 7) === 4 || tag === 0) {
|
|
496
440
|
break;
|
|
@@ -548,44 +492,6 @@ export var DescriptorProto_ReservedRange;
|
|
|
548
492
|
}
|
|
549
493
|
DescriptorProto_ReservedRange.decode = decode;
|
|
550
494
|
})(DescriptorProto_ReservedRange || (DescriptorProto_ReservedRange = {}));
|
|
551
|
-
function createBaseExtensionRangeOptions() {
|
|
552
|
-
return { uninterpretedOption: [] };
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* @public
|
|
556
|
-
*/
|
|
557
|
-
export var ExtensionRangeOptions;
|
|
558
|
-
(function (ExtensionRangeOptions) {
|
|
559
|
-
function encode(message, writer = _m0.Writer.create()) {
|
|
560
|
-
for (const v of message.uninterpretedOption) {
|
|
561
|
-
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
562
|
-
}
|
|
563
|
-
return writer;
|
|
564
|
-
}
|
|
565
|
-
ExtensionRangeOptions.encode = encode;
|
|
566
|
-
function decode(input, length) {
|
|
567
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
568
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
569
|
-
const message = createBaseExtensionRangeOptions();
|
|
570
|
-
while (reader.pos < end) {
|
|
571
|
-
const tag = reader.uint32();
|
|
572
|
-
switch (tag >>> 3) {
|
|
573
|
-
case 999:
|
|
574
|
-
if (tag !== 7994) {
|
|
575
|
-
break;
|
|
576
|
-
}
|
|
577
|
-
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
578
|
-
continue;
|
|
579
|
-
}
|
|
580
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
581
|
-
break;
|
|
582
|
-
}
|
|
583
|
-
reader.skipType(tag & 7);
|
|
584
|
-
}
|
|
585
|
-
return message;
|
|
586
|
-
}
|
|
587
|
-
ExtensionRangeOptions.decode = decode;
|
|
588
|
-
})(ExtensionRangeOptions || (ExtensionRangeOptions = {}));
|
|
589
495
|
function createBaseFieldDescriptorProto() {
|
|
590
496
|
return {
|
|
591
497
|
name: "",
|
|
@@ -598,7 +504,6 @@ function createBaseFieldDescriptorProto() {
|
|
|
598
504
|
oneofIndex: 0,
|
|
599
505
|
jsonName: "",
|
|
600
506
|
options: undefined,
|
|
601
|
-
proto3Optional: false,
|
|
602
507
|
};
|
|
603
508
|
}
|
|
604
509
|
/**
|
|
@@ -637,9 +542,6 @@ export var FieldDescriptorProto;
|
|
|
637
542
|
if (message.options !== undefined) {
|
|
638
543
|
FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim();
|
|
639
544
|
}
|
|
640
|
-
if (message.proto3Optional === true) {
|
|
641
|
-
writer.uint32(136).bool(message.proto3Optional);
|
|
642
|
-
}
|
|
643
545
|
return writer;
|
|
644
546
|
}
|
|
645
547
|
FieldDescriptorProto.encode = encode;
|
|
@@ -710,12 +612,6 @@ export var FieldDescriptorProto;
|
|
|
710
612
|
}
|
|
711
613
|
message.options = FieldOptions.decode(reader, reader.uint32());
|
|
712
614
|
continue;
|
|
713
|
-
case 17:
|
|
714
|
-
if (tag !== 136) {
|
|
715
|
-
break;
|
|
716
|
-
}
|
|
717
|
-
message.proto3Optional = reader.bool();
|
|
718
|
-
continue;
|
|
719
615
|
}
|
|
720
616
|
if ((tag & 7) === 4 || tag === 0) {
|
|
721
617
|
break;
|
|
@@ -774,7 +670,7 @@ export var OneofDescriptorProto;
|
|
|
774
670
|
OneofDescriptorProto.decode = decode;
|
|
775
671
|
})(OneofDescriptorProto || (OneofDescriptorProto = {}));
|
|
776
672
|
function createBaseEnumDescriptorProto() {
|
|
777
|
-
return { name: "", value: [], options: undefined
|
|
673
|
+
return { name: "", value: [], options: undefined };
|
|
778
674
|
}
|
|
779
675
|
/**
|
|
780
676
|
* @public
|
|
@@ -791,12 +687,6 @@ export var EnumDescriptorProto;
|
|
|
791
687
|
if (message.options !== undefined) {
|
|
792
688
|
EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
793
689
|
}
|
|
794
|
-
for (const v of message.reservedRange) {
|
|
795
|
-
EnumDescriptorProto_EnumReservedRange.encode(v, writer.uint32(34).fork()).ldelim();
|
|
796
|
-
}
|
|
797
|
-
for (const v of message.reservedName) {
|
|
798
|
-
writer.uint32(42).string(v);
|
|
799
|
-
}
|
|
800
690
|
return writer;
|
|
801
691
|
}
|
|
802
692
|
EnumDescriptorProto.encode = encode;
|
|
@@ -825,18 +715,6 @@ export var EnumDescriptorProto;
|
|
|
825
715
|
}
|
|
826
716
|
message.options = EnumOptions.decode(reader, reader.uint32());
|
|
827
717
|
continue;
|
|
828
|
-
case 4:
|
|
829
|
-
if (tag !== 34) {
|
|
830
|
-
break;
|
|
831
|
-
}
|
|
832
|
-
message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.decode(reader, reader.uint32()));
|
|
833
|
-
continue;
|
|
834
|
-
case 5:
|
|
835
|
-
if (tag !== 42) {
|
|
836
|
-
break;
|
|
837
|
-
}
|
|
838
|
-
message.reservedName.push(reader.string());
|
|
839
|
-
continue;
|
|
840
718
|
}
|
|
841
719
|
if ((tag & 7) === 4 || tag === 0) {
|
|
842
720
|
break;
|
|
@@ -847,53 +725,6 @@ export var EnumDescriptorProto;
|
|
|
847
725
|
}
|
|
848
726
|
EnumDescriptorProto.decode = decode;
|
|
849
727
|
})(EnumDescriptorProto || (EnumDescriptorProto = {}));
|
|
850
|
-
function createBaseEnumDescriptorProto_EnumReservedRange() {
|
|
851
|
-
return { start: 0, end: 0 };
|
|
852
|
-
}
|
|
853
|
-
/**
|
|
854
|
-
* @public
|
|
855
|
-
*/
|
|
856
|
-
export var EnumDescriptorProto_EnumReservedRange;
|
|
857
|
-
(function (EnumDescriptorProto_EnumReservedRange) {
|
|
858
|
-
function encode(message, writer = _m0.Writer.create()) {
|
|
859
|
-
if (message.start !== 0) {
|
|
860
|
-
writer.uint32(8).int32(message.start);
|
|
861
|
-
}
|
|
862
|
-
if (message.end !== 0) {
|
|
863
|
-
writer.uint32(16).int32(message.end);
|
|
864
|
-
}
|
|
865
|
-
return writer;
|
|
866
|
-
}
|
|
867
|
-
EnumDescriptorProto_EnumReservedRange.encode = encode;
|
|
868
|
-
function decode(input, length) {
|
|
869
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
870
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
871
|
-
const message = createBaseEnumDescriptorProto_EnumReservedRange();
|
|
872
|
-
while (reader.pos < end) {
|
|
873
|
-
const tag = reader.uint32();
|
|
874
|
-
switch (tag >>> 3) {
|
|
875
|
-
case 1:
|
|
876
|
-
if (tag !== 8) {
|
|
877
|
-
break;
|
|
878
|
-
}
|
|
879
|
-
message.start = reader.int32();
|
|
880
|
-
continue;
|
|
881
|
-
case 2:
|
|
882
|
-
if (tag !== 16) {
|
|
883
|
-
break;
|
|
884
|
-
}
|
|
885
|
-
message.end = reader.int32();
|
|
886
|
-
continue;
|
|
887
|
-
}
|
|
888
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
889
|
-
break;
|
|
890
|
-
}
|
|
891
|
-
reader.skipType(tag & 7);
|
|
892
|
-
}
|
|
893
|
-
return message;
|
|
894
|
-
}
|
|
895
|
-
EnumDescriptorProto_EnumReservedRange.decode = decode;
|
|
896
|
-
})(EnumDescriptorProto_EnumReservedRange || (EnumDescriptorProto_EnumReservedRange = {}));
|
|
897
728
|
function createBaseEnumValueDescriptorProto() {
|
|
898
729
|
return { name: "", number: 0, options: undefined };
|
|
899
730
|
}
|
|
@@ -1108,16 +939,10 @@ function createBaseFileOptions() {
|
|
|
1108
939
|
ccGenericServices: false,
|
|
1109
940
|
javaGenericServices: false,
|
|
1110
941
|
pyGenericServices: false,
|
|
1111
|
-
phpGenericServices: false,
|
|
1112
942
|
deprecated: false,
|
|
1113
943
|
ccEnableArenas: false,
|
|
1114
944
|
objcClassPrefix: "",
|
|
1115
945
|
csharpNamespace: "",
|
|
1116
|
-
swiftPrefix: "",
|
|
1117
|
-
phpClassPrefix: "",
|
|
1118
|
-
phpNamespace: "",
|
|
1119
|
-
phpMetadataNamespace: "",
|
|
1120
|
-
rubyPackage: "",
|
|
1121
946
|
uninterpretedOption: [],
|
|
1122
947
|
};
|
|
1123
948
|
}
|
|
@@ -1157,9 +982,6 @@ export var FileOptions;
|
|
|
1157
982
|
if (message.pyGenericServices === true) {
|
|
1158
983
|
writer.uint32(144).bool(message.pyGenericServices);
|
|
1159
984
|
}
|
|
1160
|
-
if (message.phpGenericServices === true) {
|
|
1161
|
-
writer.uint32(336).bool(message.phpGenericServices);
|
|
1162
|
-
}
|
|
1163
985
|
if (message.deprecated === true) {
|
|
1164
986
|
writer.uint32(184).bool(message.deprecated);
|
|
1165
987
|
}
|
|
@@ -1172,21 +994,6 @@ export var FileOptions;
|
|
|
1172
994
|
if (message.csharpNamespace !== "") {
|
|
1173
995
|
writer.uint32(298).string(message.csharpNamespace);
|
|
1174
996
|
}
|
|
1175
|
-
if (message.swiftPrefix !== "") {
|
|
1176
|
-
writer.uint32(314).string(message.swiftPrefix);
|
|
1177
|
-
}
|
|
1178
|
-
if (message.phpClassPrefix !== "") {
|
|
1179
|
-
writer.uint32(322).string(message.phpClassPrefix);
|
|
1180
|
-
}
|
|
1181
|
-
if (message.phpNamespace !== "") {
|
|
1182
|
-
writer.uint32(330).string(message.phpNamespace);
|
|
1183
|
-
}
|
|
1184
|
-
if (message.phpMetadataNamespace !== "") {
|
|
1185
|
-
writer.uint32(354).string(message.phpMetadataNamespace);
|
|
1186
|
-
}
|
|
1187
|
-
if (message.rubyPackage !== "") {
|
|
1188
|
-
writer.uint32(362).string(message.rubyPackage);
|
|
1189
|
-
}
|
|
1190
997
|
for (const v of message.uninterpretedOption) {
|
|
1191
998
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
1192
999
|
}
|
|
@@ -1260,12 +1067,6 @@ export var FileOptions;
|
|
|
1260
1067
|
}
|
|
1261
1068
|
message.pyGenericServices = reader.bool();
|
|
1262
1069
|
continue;
|
|
1263
|
-
case 42:
|
|
1264
|
-
if (tag !== 336) {
|
|
1265
|
-
break;
|
|
1266
|
-
}
|
|
1267
|
-
message.phpGenericServices = reader.bool();
|
|
1268
|
-
continue;
|
|
1269
1070
|
case 23:
|
|
1270
1071
|
if (tag !== 184) {
|
|
1271
1072
|
break;
|
|
@@ -1290,36 +1091,6 @@ export var FileOptions;
|
|
|
1290
1091
|
}
|
|
1291
1092
|
message.csharpNamespace = reader.string();
|
|
1292
1093
|
continue;
|
|
1293
|
-
case 39:
|
|
1294
|
-
if (tag !== 314) {
|
|
1295
|
-
break;
|
|
1296
|
-
}
|
|
1297
|
-
message.swiftPrefix = reader.string();
|
|
1298
|
-
continue;
|
|
1299
|
-
case 40:
|
|
1300
|
-
if (tag !== 322) {
|
|
1301
|
-
break;
|
|
1302
|
-
}
|
|
1303
|
-
message.phpClassPrefix = reader.string();
|
|
1304
|
-
continue;
|
|
1305
|
-
case 41:
|
|
1306
|
-
if (tag !== 330) {
|
|
1307
|
-
break;
|
|
1308
|
-
}
|
|
1309
|
-
message.phpNamespace = reader.string();
|
|
1310
|
-
continue;
|
|
1311
|
-
case 44:
|
|
1312
|
-
if (tag !== 354) {
|
|
1313
|
-
break;
|
|
1314
|
-
}
|
|
1315
|
-
message.phpMetadataNamespace = reader.string();
|
|
1316
|
-
continue;
|
|
1317
|
-
case 45:
|
|
1318
|
-
if (tag !== 362) {
|
|
1319
|
-
break;
|
|
1320
|
-
}
|
|
1321
|
-
message.rubyPackage = reader.string();
|
|
1322
|
-
continue;
|
|
1323
1094
|
case 999:
|
|
1324
1095
|
if (tag !== 7994) {
|
|
1325
1096
|
break;
|
|
@@ -1417,16 +1188,7 @@ export var MessageOptions;
|
|
|
1417
1188
|
MessageOptions.decode = decode;
|
|
1418
1189
|
})(MessageOptions || (MessageOptions = {}));
|
|
1419
1190
|
function createBaseFieldOptions() {
|
|
1420
|
-
return {
|
|
1421
|
-
ctype: 0,
|
|
1422
|
-
packed: false,
|
|
1423
|
-
jstype: 0,
|
|
1424
|
-
lazy: false,
|
|
1425
|
-
unverifiedLazy: false,
|
|
1426
|
-
deprecated: false,
|
|
1427
|
-
weak: false,
|
|
1428
|
-
uninterpretedOption: [],
|
|
1429
|
-
};
|
|
1191
|
+
return { ctype: 0, packed: false, jstype: 0, lazy: false, deprecated: false, weak: false, uninterpretedOption: [] };
|
|
1430
1192
|
}
|
|
1431
1193
|
/**
|
|
1432
1194
|
* @public
|
|
@@ -1446,9 +1208,6 @@ export var FieldOptions;
|
|
|
1446
1208
|
if (message.lazy === true) {
|
|
1447
1209
|
writer.uint32(40).bool(message.lazy);
|
|
1448
1210
|
}
|
|
1449
|
-
if (message.unverifiedLazy === true) {
|
|
1450
|
-
writer.uint32(120).bool(message.unverifiedLazy);
|
|
1451
|
-
}
|
|
1452
1211
|
if (message.deprecated === true) {
|
|
1453
1212
|
writer.uint32(24).bool(message.deprecated);
|
|
1454
1213
|
}
|
|
@@ -1492,12 +1251,6 @@ export var FieldOptions;
|
|
|
1492
1251
|
}
|
|
1493
1252
|
message.lazy = reader.bool();
|
|
1494
1253
|
continue;
|
|
1495
|
-
case 15:
|
|
1496
|
-
if (tag !== 120) {
|
|
1497
|
-
break;
|
|
1498
|
-
}
|
|
1499
|
-
message.unverifiedLazy = reader.bool();
|
|
1500
|
-
continue;
|
|
1501
1254
|
case 3:
|
|
1502
1255
|
if (tag !== 24) {
|
|
1503
1256
|
break;
|
|
@@ -1715,7 +1468,7 @@ export var ServiceOptions;
|
|
|
1715
1468
|
ServiceOptions.decode = decode;
|
|
1716
1469
|
})(ServiceOptions || (ServiceOptions = {}));
|
|
1717
1470
|
function createBaseMethodOptions() {
|
|
1718
|
-
return { deprecated: false,
|
|
1471
|
+
return { deprecated: false, uninterpretedOption: [] };
|
|
1719
1472
|
}
|
|
1720
1473
|
/**
|
|
1721
1474
|
* @public
|
|
@@ -1726,9 +1479,6 @@ export var MethodOptions;
|
|
|
1726
1479
|
if (message.deprecated === true) {
|
|
1727
1480
|
writer.uint32(264).bool(message.deprecated);
|
|
1728
1481
|
}
|
|
1729
|
-
if (message.idempotencyLevel !== 0) {
|
|
1730
|
-
writer.uint32(272).int32(message.idempotencyLevel);
|
|
1731
|
-
}
|
|
1732
1482
|
for (const v of message.uninterpretedOption) {
|
|
1733
1483
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
1734
1484
|
}
|
|
@@ -1748,12 +1498,6 @@ export var MethodOptions;
|
|
|
1748
1498
|
}
|
|
1749
1499
|
message.deprecated = reader.bool();
|
|
1750
1500
|
continue;
|
|
1751
|
-
case 34:
|
|
1752
|
-
if (tag !== 272) {
|
|
1753
|
-
break;
|
|
1754
|
-
}
|
|
1755
|
-
message.idempotencyLevel = reader.int32();
|
|
1756
|
-
continue;
|
|
1757
1501
|
case 999:
|
|
1758
1502
|
if (tag !== 7994) {
|
|
1759
1503
|
break;
|
|
@@ -177,7 +177,8 @@ export function createTriggerAreaEventsSystem(engine) {
|
|
|
177
177
|
// Pass 2: synthesize per-tick onStay callbacks
|
|
178
178
|
// -----------------------------------------------------------------------
|
|
179
179
|
// Only run if an onStay callback is registered and there are tracked triggerers.
|
|
180
|
-
if (data.triggerCallbackMap.has(1 /* TriggerAreaEventType.TAET_STAY */) &&
|
|
180
|
+
if (data.triggerCallbackMap.has(1 /* TriggerAreaEventType.TAET_STAY */) &&
|
|
181
|
+
data.insideTriggerers.size > 0) {
|
|
181
182
|
const onStay = data.triggerCallbackMap.get(1 /* TriggerAreaEventType.TAET_STAY */);
|
|
182
183
|
const currentTimestamp = Date.now();
|
|
183
184
|
for (const [triggererEntity, cachedResult] of data.insideTriggerers) {
|
|
@@ -19,12 +19,6 @@ export interface PBAvatarLocomotionSettings {
|
|
|
19
19
|
runJumpHeight?: number | undefined;
|
|
20
20
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
21
21
|
hardLandingCooldown?: number | undefined;
|
|
22
|
-
/** Height of the double jump (in meters) */
|
|
23
|
-
doubleJumpHeight?: number | undefined;
|
|
24
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
25
|
-
glidingSpeed?: number | undefined;
|
|
26
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
27
|
-
glidingFallingSpeed?: number | undefined;
|
|
28
22
|
}
|
|
29
23
|
/**
|
|
30
24
|
* @public
|
|
@@ -15,9 +15,6 @@ function createBasePBAvatarLocomotionSettings() {
|
|
|
15
15
|
jumpHeight: undefined,
|
|
16
16
|
runJumpHeight: undefined,
|
|
17
17
|
hardLandingCooldown: undefined,
|
|
18
|
-
doubleJumpHeight: undefined,
|
|
19
|
-
glidingSpeed: undefined,
|
|
20
|
-
glidingFallingSpeed: undefined,
|
|
21
18
|
};
|
|
22
19
|
}
|
|
23
20
|
/**
|
|
@@ -44,15 +41,6 @@ var PBAvatarLocomotionSettings;
|
|
|
44
41
|
if (message.hardLandingCooldown !== undefined) {
|
|
45
42
|
writer.uint32(53).float(message.hardLandingCooldown);
|
|
46
43
|
}
|
|
47
|
-
if (message.doubleJumpHeight !== undefined) {
|
|
48
|
-
writer.uint32(61).float(message.doubleJumpHeight);
|
|
49
|
-
}
|
|
50
|
-
if (message.glidingSpeed !== undefined) {
|
|
51
|
-
writer.uint32(69).float(message.glidingSpeed);
|
|
52
|
-
}
|
|
53
|
-
if (message.glidingFallingSpeed !== undefined) {
|
|
54
|
-
writer.uint32(77).float(message.glidingFallingSpeed);
|
|
55
|
-
}
|
|
56
44
|
return writer;
|
|
57
45
|
}
|
|
58
46
|
PBAvatarLocomotionSettings.encode = encode;
|
|
@@ -99,24 +87,6 @@ var PBAvatarLocomotionSettings;
|
|
|
99
87
|
}
|
|
100
88
|
message.hardLandingCooldown = reader.float();
|
|
101
89
|
continue;
|
|
102
|
-
case 7:
|
|
103
|
-
if (tag !== 61) {
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
message.doubleJumpHeight = reader.float();
|
|
107
|
-
continue;
|
|
108
|
-
case 8:
|
|
109
|
-
if (tag !== 69) {
|
|
110
|
-
break;
|
|
111
|
-
}
|
|
112
|
-
message.glidingSpeed = reader.float();
|
|
113
|
-
continue;
|
|
114
|
-
case 9:
|
|
115
|
-
if (tag !== 77) {
|
|
116
|
-
break;
|
|
117
|
-
}
|
|
118
|
-
message.glidingFallingSpeed = reader.float();
|
|
119
|
-
continue;
|
|
120
90
|
}
|
|
121
91
|
if ((tag & 7) === 4 || tag === 0) {
|
|
122
92
|
break;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Color3 } from "../../common/colors.gen";
|
|
3
|
-
/** Mask for which bones an animation applies to. */
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare const enum AvatarEmoteMask {
|
|
8
|
-
AEM_FULL_BODY = 0,
|
|
9
|
-
AEM_UPPER_BODY = 1
|
|
10
|
-
}
|
|
11
3
|
/**
|
|
12
4
|
* The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
13
5
|
* a simplified GLTF container for this specific case.
|
|
@@ -3,21 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PBAvatarShape =
|
|
6
|
+
exports.PBAvatarShape = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
10
|
const colors_gen_1 = require("../../common/colors.gen");
|
|
11
11
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
12
|
-
/** Mask for which bones an animation applies to. */
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
var AvatarEmoteMask;
|
|
17
|
-
(function (AvatarEmoteMask) {
|
|
18
|
-
AvatarEmoteMask[AvatarEmoteMask["AEM_FULL_BODY"] = 0] = "AEM_FULL_BODY";
|
|
19
|
-
AvatarEmoteMask[AvatarEmoteMask["AEM_UPPER_BODY"] = 1] = "AEM_UPPER_BODY";
|
|
20
|
-
})(AvatarEmoteMask = exports.AvatarEmoteMask || (exports.AvatarEmoteMask = {}));
|
|
21
12
|
function createBasePBAvatarShape() {
|
|
22
13
|
return {
|
|
23
14
|
id: "",
|
package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
6
6
|
* an 'instant' transition (like using speed/time = 0)
|
|
7
7
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
8
8
|
* the holding entity transform).
|
|
9
|
-
* * The fov defines the Field of View of the virtual camera
|
|
10
9
|
*/
|
|
11
10
|
/**
|
|
12
11
|
* @public
|
|
@@ -14,8 +13,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
14
13
|
export interface PBVirtualCamera {
|
|
15
14
|
defaultTransition?: CameraTransition | undefined;
|
|
16
15
|
lookAtEntity?: number | undefined;
|
|
17
|
-
/** default: 60 */
|
|
18
|
-
fov?: number | undefined;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* @public
|
|
@@ -9,7 +9,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
9
9
|
const camera_transition_gen_1 = require("./common/camera_transition.gen");
|
|
10
10
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
11
11
|
function createBasePBVirtualCamera() {
|
|
12
|
-
return { defaultTransition: undefined, lookAtEntity: undefined
|
|
12
|
+
return { defaultTransition: undefined, lookAtEntity: undefined };
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
@@ -23,9 +23,6 @@ var PBVirtualCamera;
|
|
|
23
23
|
if (message.lookAtEntity !== undefined) {
|
|
24
24
|
writer.uint32(16).uint32(message.lookAtEntity);
|
|
25
25
|
}
|
|
26
|
-
if (message.fov !== undefined) {
|
|
27
|
-
writer.uint32(29).float(message.fov);
|
|
28
|
-
}
|
|
29
26
|
return writer;
|
|
30
27
|
}
|
|
31
28
|
PBVirtualCamera.encode = encode;
|
|
@@ -48,12 +45,6 @@ var PBVirtualCamera;
|
|
|
48
45
|
}
|
|
49
46
|
message.lookAtEntity = reader.uint32();
|
|
50
47
|
continue;
|
|
51
|
-
case 3:
|
|
52
|
-
if (tag !== 29) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
message.fov = reader.float();
|
|
56
|
-
continue;
|
|
57
48
|
}
|
|
58
49
|
if ((tag & 7) === 4 || tag === 0) {
|
|
59
50
|
break;
|