@dcl/protocol 1.0.0-16721006271.commit-e03db90 → 1.0.0-16800835851.commit-2ec49fe
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/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +1 -9
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +11 -49
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +32 -1246
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +148 -6401
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +10 -59
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +1005 -8189
- package/package.json +3 -3
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +3 -8
- package/proto/decentraland/sdk/components/light_source.proto +6 -6
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +11 -515
- package/out-js/decentraland/social_service/errors.gen.d.ts +0 -96
- package/out-js/decentraland/social_service/errors.gen.js +0 -405
- package/out-js/decentraland/social_service/errors.gen.js.map +0 -1
- package/out-ts/decentraland/social_service/errors.gen.ts +0 -442
- package/proto/decentraland/social_service/errors.proto +0 -30
- package/proto/decentraland/social_service/v3/social_service_v3.proto +0 -51
|
@@ -56,9 +56,6 @@ export interface Movement {
|
|
|
56
56
|
isFalling: boolean;
|
|
57
57
|
isStunned: boolean;
|
|
58
58
|
rotationY: number;
|
|
59
|
-
/** interpolation */
|
|
60
|
-
isInstant: boolean;
|
|
61
|
-
isEmoting: boolean;
|
|
62
59
|
}
|
|
63
60
|
|
|
64
61
|
export interface MovementCompressed {
|
|
@@ -69,7 +66,7 @@ export interface MovementCompressed {
|
|
|
69
66
|
}
|
|
70
67
|
|
|
71
68
|
export interface PlayerEmote {
|
|
72
|
-
|
|
69
|
+
incrementalId: number;
|
|
73
70
|
urn: string;
|
|
74
71
|
}
|
|
75
72
|
|
|
@@ -95,11 +92,6 @@ export interface ProfileResponse {
|
|
|
95
92
|
export interface Chat {
|
|
96
93
|
message: string;
|
|
97
94
|
timestamp: number;
|
|
98
|
-
/**
|
|
99
|
-
* Extension: optional forwarded_from to identify the original sender when
|
|
100
|
-
* messages are forwarded through an SFU
|
|
101
|
-
*/
|
|
102
|
-
forwardedFrom?: string | undefined;
|
|
103
95
|
}
|
|
104
96
|
|
|
105
97
|
export interface Scene {
|
|
@@ -616,8 +608,6 @@ function createBaseMovement(): Movement {
|
|
|
616
608
|
isFalling: false,
|
|
617
609
|
isStunned: false,
|
|
618
610
|
rotationY: 0,
|
|
619
|
-
isInstant: false,
|
|
620
|
-
isEmoting: false,
|
|
621
611
|
};
|
|
622
612
|
}
|
|
623
613
|
|
|
@@ -671,12 +661,6 @@ export namespace Movement {
|
|
|
671
661
|
if (message.rotationY !== 0) {
|
|
672
662
|
writer.uint32(133).float(message.rotationY);
|
|
673
663
|
}
|
|
674
|
-
if (message.isInstant === true) {
|
|
675
|
-
writer.uint32(136).bool(message.isInstant);
|
|
676
|
-
}
|
|
677
|
-
if (message.isEmoting === true) {
|
|
678
|
-
writer.uint32(144).bool(message.isEmoting);
|
|
679
|
-
}
|
|
680
664
|
return writer;
|
|
681
665
|
}
|
|
682
666
|
|
|
@@ -799,20 +783,6 @@ export namespace Movement {
|
|
|
799
783
|
|
|
800
784
|
message.rotationY = reader.float();
|
|
801
785
|
continue;
|
|
802
|
-
case 17:
|
|
803
|
-
if (tag !== 136) {
|
|
804
|
-
break;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
message.isInstant = reader.bool();
|
|
808
|
-
continue;
|
|
809
|
-
case 18:
|
|
810
|
-
if (tag !== 144) {
|
|
811
|
-
break;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
message.isEmoting = reader.bool();
|
|
815
|
-
continue;
|
|
816
786
|
}
|
|
817
787
|
if ((tag & 7) === 4 || tag === 0) {
|
|
818
788
|
break;
|
|
@@ -840,8 +810,6 @@ export namespace Movement {
|
|
|
840
810
|
isFalling: isSet(object.isFalling) ? Boolean(object.isFalling) : false,
|
|
841
811
|
isStunned: isSet(object.isStunned) ? Boolean(object.isStunned) : false,
|
|
842
812
|
rotationY: isSet(object.rotationY) ? Number(object.rotationY) : 0,
|
|
843
|
-
isInstant: isSet(object.isInstant) ? Boolean(object.isInstant) : false,
|
|
844
|
-
isEmoting: isSet(object.isEmoting) ? Boolean(object.isEmoting) : false,
|
|
845
813
|
};
|
|
846
814
|
}
|
|
847
815
|
|
|
@@ -863,8 +831,6 @@ export namespace Movement {
|
|
|
863
831
|
message.isFalling !== undefined && (obj.isFalling = message.isFalling);
|
|
864
832
|
message.isStunned !== undefined && (obj.isStunned = message.isStunned);
|
|
865
833
|
message.rotationY !== undefined && (obj.rotationY = message.rotationY);
|
|
866
|
-
message.isInstant !== undefined && (obj.isInstant = message.isInstant);
|
|
867
|
-
message.isEmoting !== undefined && (obj.isEmoting = message.isEmoting);
|
|
868
834
|
return obj;
|
|
869
835
|
}
|
|
870
836
|
|
|
@@ -890,8 +856,6 @@ export namespace Movement {
|
|
|
890
856
|
message.isFalling = object.isFalling ?? false;
|
|
891
857
|
message.isStunned = object.isStunned ?? false;
|
|
892
858
|
message.rotationY = object.rotationY ?? 0;
|
|
893
|
-
message.isInstant = object.isInstant ?? false;
|
|
894
|
-
message.isEmoting = object.isEmoting ?? false;
|
|
895
859
|
return message;
|
|
896
860
|
}
|
|
897
861
|
}
|
|
@@ -968,13 +932,13 @@ export namespace MovementCompressed {
|
|
|
968
932
|
}
|
|
969
933
|
|
|
970
934
|
function createBasePlayerEmote(): PlayerEmote {
|
|
971
|
-
return {
|
|
935
|
+
return { incrementalId: 0, urn: "" };
|
|
972
936
|
}
|
|
973
937
|
|
|
974
938
|
export namespace PlayerEmote {
|
|
975
939
|
export function encode(message: PlayerEmote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
976
|
-
if (message.
|
|
977
|
-
writer.uint32(
|
|
940
|
+
if (message.incrementalId !== 0) {
|
|
941
|
+
writer.uint32(8).uint32(message.incrementalId);
|
|
978
942
|
}
|
|
979
943
|
if (message.urn !== "") {
|
|
980
944
|
writer.uint32(18).string(message.urn);
|
|
@@ -990,11 +954,11 @@ export namespace PlayerEmote {
|
|
|
990
954
|
const tag = reader.uint32();
|
|
991
955
|
switch (tag >>> 3) {
|
|
992
956
|
case 1:
|
|
993
|
-
if (tag !==
|
|
957
|
+
if (tag !== 8) {
|
|
994
958
|
break;
|
|
995
959
|
}
|
|
996
960
|
|
|
997
|
-
message.
|
|
961
|
+
message.incrementalId = reader.uint32();
|
|
998
962
|
continue;
|
|
999
963
|
case 2:
|
|
1000
964
|
if (tag !== 18) {
|
|
@@ -1014,14 +978,14 @@ export namespace PlayerEmote {
|
|
|
1014
978
|
|
|
1015
979
|
export function fromJSON(object: any): PlayerEmote {
|
|
1016
980
|
return {
|
|
1017
|
-
|
|
981
|
+
incrementalId: isSet(object.incrementalId) ? Number(object.incrementalId) : 0,
|
|
1018
982
|
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
1019
983
|
};
|
|
1020
984
|
}
|
|
1021
985
|
|
|
1022
986
|
export function toJSON(message: PlayerEmote): unknown {
|
|
1023
987
|
const obj: any = {};
|
|
1024
|
-
message.
|
|
988
|
+
message.incrementalId !== undefined && (obj.incrementalId = Math.round(message.incrementalId));
|
|
1025
989
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
1026
990
|
return obj;
|
|
1027
991
|
}
|
|
@@ -1032,7 +996,7 @@ export namespace PlayerEmote {
|
|
|
1032
996
|
|
|
1033
997
|
export function fromPartial<I extends Exact<DeepPartial<PlayerEmote>, I>>(object: I): PlayerEmote {
|
|
1034
998
|
const message = createBasePlayerEmote();
|
|
1035
|
-
message.
|
|
999
|
+
message.incrementalId = object.incrementalId ?? 0;
|
|
1036
1000
|
message.urn = object.urn ?? "";
|
|
1037
1001
|
return message;
|
|
1038
1002
|
}
|
|
@@ -1310,7 +1274,7 @@ export namespace ProfileResponse {
|
|
|
1310
1274
|
}
|
|
1311
1275
|
|
|
1312
1276
|
function createBaseChat(): Chat {
|
|
1313
|
-
return { message: "", timestamp: 0
|
|
1277
|
+
return { message: "", timestamp: 0 };
|
|
1314
1278
|
}
|
|
1315
1279
|
|
|
1316
1280
|
export namespace Chat {
|
|
@@ -1321,9 +1285,6 @@ export namespace Chat {
|
|
|
1321
1285
|
if (message.timestamp !== 0) {
|
|
1322
1286
|
writer.uint32(17).double(message.timestamp);
|
|
1323
1287
|
}
|
|
1324
|
-
if (message.forwardedFrom !== undefined) {
|
|
1325
|
-
writer.uint32(26).string(message.forwardedFrom);
|
|
1326
|
-
}
|
|
1327
1288
|
return writer;
|
|
1328
1289
|
}
|
|
1329
1290
|
|
|
@@ -1348,13 +1309,6 @@ export namespace Chat {
|
|
|
1348
1309
|
|
|
1349
1310
|
message.timestamp = reader.double();
|
|
1350
1311
|
continue;
|
|
1351
|
-
case 3:
|
|
1352
|
-
if (tag !== 26) {
|
|
1353
|
-
break;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
message.forwardedFrom = reader.string();
|
|
1357
|
-
continue;
|
|
1358
1312
|
}
|
|
1359
1313
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1360
1314
|
break;
|
|
@@ -1368,7 +1322,6 @@ export namespace Chat {
|
|
|
1368
1322
|
return {
|
|
1369
1323
|
message: isSet(object.message) ? String(object.message) : "",
|
|
1370
1324
|
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
1371
|
-
forwardedFrom: isSet(object.forwardedFrom) ? String(object.forwardedFrom) : undefined,
|
|
1372
1325
|
};
|
|
1373
1326
|
}
|
|
1374
1327
|
|
|
@@ -1376,7 +1329,6 @@ export namespace Chat {
|
|
|
1376
1329
|
const obj: any = {};
|
|
1377
1330
|
message.message !== undefined && (obj.message = message.message);
|
|
1378
1331
|
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
1379
|
-
message.forwardedFrom !== undefined && (obj.forwardedFrom = message.forwardedFrom);
|
|
1380
1332
|
return obj;
|
|
1381
1333
|
}
|
|
1382
1334
|
|
|
@@ -1388,7 +1340,6 @@ export namespace Chat {
|
|
|
1388
1340
|
const message = createBaseChat();
|
|
1389
1341
|
message.message = object.message ?? "";
|
|
1390
1342
|
message.timestamp = object.timestamp ?? 0;
|
|
1391
|
-
message.forwardedFrom = object.forwardedFrom ?? undefined;
|
|
1392
1343
|
return message;
|
|
1393
1344
|
}
|
|
1394
1345
|
}
|