@dcl/protocol 1.0.0-16915195041.commit-e9319d0 → 1.0.0-18103449748.commit-258fabc
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 +0 -9
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +5 -55
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +2 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +6 -5
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +32 -1305
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +148 -6717
- 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 +2 -65
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +6 -5
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +1019 -8579
- package/package.json +3 -3
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +2 -8
- package/proto/decentraland/sdk/components/light_source.proto +1 -1
- package/proto/decentraland/sdk/components/mesh_collider.proto +2 -2
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +11 -538
- 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 {
|
|
@@ -71,7 +68,6 @@ export interface MovementCompressed {
|
|
|
71
68
|
export interface PlayerEmote {
|
|
72
69
|
incrementalId: number;
|
|
73
70
|
urn: string;
|
|
74
|
-
timestamp: number;
|
|
75
71
|
}
|
|
76
72
|
|
|
77
73
|
export interface SceneEmote {
|
|
@@ -96,11 +92,6 @@ export interface ProfileResponse {
|
|
|
96
92
|
export interface Chat {
|
|
97
93
|
message: string;
|
|
98
94
|
timestamp: number;
|
|
99
|
-
/**
|
|
100
|
-
* Extension: optional forwarded_from to identify the original sender when
|
|
101
|
-
* messages are forwarded through an SFU
|
|
102
|
-
*/
|
|
103
|
-
forwardedFrom?: string | undefined;
|
|
104
95
|
}
|
|
105
96
|
|
|
106
97
|
export interface Scene {
|
|
@@ -617,8 +608,6 @@ function createBaseMovement(): Movement {
|
|
|
617
608
|
isFalling: false,
|
|
618
609
|
isStunned: false,
|
|
619
610
|
rotationY: 0,
|
|
620
|
-
isInstant: false,
|
|
621
|
-
isEmoting: false,
|
|
622
611
|
};
|
|
623
612
|
}
|
|
624
613
|
|
|
@@ -672,12 +661,6 @@ export namespace Movement {
|
|
|
672
661
|
if (message.rotationY !== 0) {
|
|
673
662
|
writer.uint32(133).float(message.rotationY);
|
|
674
663
|
}
|
|
675
|
-
if (message.isInstant === true) {
|
|
676
|
-
writer.uint32(136).bool(message.isInstant);
|
|
677
|
-
}
|
|
678
|
-
if (message.isEmoting === true) {
|
|
679
|
-
writer.uint32(144).bool(message.isEmoting);
|
|
680
|
-
}
|
|
681
664
|
return writer;
|
|
682
665
|
}
|
|
683
666
|
|
|
@@ -800,20 +783,6 @@ export namespace Movement {
|
|
|
800
783
|
|
|
801
784
|
message.rotationY = reader.float();
|
|
802
785
|
continue;
|
|
803
|
-
case 17:
|
|
804
|
-
if (tag !== 136) {
|
|
805
|
-
break;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
message.isInstant = reader.bool();
|
|
809
|
-
continue;
|
|
810
|
-
case 18:
|
|
811
|
-
if (tag !== 144) {
|
|
812
|
-
break;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
message.isEmoting = reader.bool();
|
|
816
|
-
continue;
|
|
817
786
|
}
|
|
818
787
|
if ((tag & 7) === 4 || tag === 0) {
|
|
819
788
|
break;
|
|
@@ -841,8 +810,6 @@ export namespace Movement {
|
|
|
841
810
|
isFalling: isSet(object.isFalling) ? Boolean(object.isFalling) : false,
|
|
842
811
|
isStunned: isSet(object.isStunned) ? Boolean(object.isStunned) : false,
|
|
843
812
|
rotationY: isSet(object.rotationY) ? Number(object.rotationY) : 0,
|
|
844
|
-
isInstant: isSet(object.isInstant) ? Boolean(object.isInstant) : false,
|
|
845
|
-
isEmoting: isSet(object.isEmoting) ? Boolean(object.isEmoting) : false,
|
|
846
813
|
};
|
|
847
814
|
}
|
|
848
815
|
|
|
@@ -864,8 +831,6 @@ export namespace Movement {
|
|
|
864
831
|
message.isFalling !== undefined && (obj.isFalling = message.isFalling);
|
|
865
832
|
message.isStunned !== undefined && (obj.isStunned = message.isStunned);
|
|
866
833
|
message.rotationY !== undefined && (obj.rotationY = message.rotationY);
|
|
867
|
-
message.isInstant !== undefined && (obj.isInstant = message.isInstant);
|
|
868
|
-
message.isEmoting !== undefined && (obj.isEmoting = message.isEmoting);
|
|
869
834
|
return obj;
|
|
870
835
|
}
|
|
871
836
|
|
|
@@ -891,8 +856,6 @@ export namespace Movement {
|
|
|
891
856
|
message.isFalling = object.isFalling ?? false;
|
|
892
857
|
message.isStunned = object.isStunned ?? false;
|
|
893
858
|
message.rotationY = object.rotationY ?? 0;
|
|
894
|
-
message.isInstant = object.isInstant ?? false;
|
|
895
|
-
message.isEmoting = object.isEmoting ?? false;
|
|
896
859
|
return message;
|
|
897
860
|
}
|
|
898
861
|
}
|
|
@@ -969,7 +932,7 @@ export namespace MovementCompressed {
|
|
|
969
932
|
}
|
|
970
933
|
|
|
971
934
|
function createBasePlayerEmote(): PlayerEmote {
|
|
972
|
-
return { incrementalId: 0, urn: ""
|
|
935
|
+
return { incrementalId: 0, urn: "" };
|
|
973
936
|
}
|
|
974
937
|
|
|
975
938
|
export namespace PlayerEmote {
|
|
@@ -980,9 +943,6 @@ export namespace PlayerEmote {
|
|
|
980
943
|
if (message.urn !== "") {
|
|
981
944
|
writer.uint32(18).string(message.urn);
|
|
982
945
|
}
|
|
983
|
-
if (message.timestamp !== 0) {
|
|
984
|
-
writer.uint32(29).float(message.timestamp);
|
|
985
|
-
}
|
|
986
946
|
return writer;
|
|
987
947
|
}
|
|
988
948
|
|
|
@@ -1007,13 +967,6 @@ export namespace PlayerEmote {
|
|
|
1007
967
|
|
|
1008
968
|
message.urn = reader.string();
|
|
1009
969
|
continue;
|
|
1010
|
-
case 3:
|
|
1011
|
-
if (tag !== 29) {
|
|
1012
|
-
break;
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
message.timestamp = reader.float();
|
|
1016
|
-
continue;
|
|
1017
970
|
}
|
|
1018
971
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1019
972
|
break;
|
|
@@ -1027,7 +980,6 @@ export namespace PlayerEmote {
|
|
|
1027
980
|
return {
|
|
1028
981
|
incrementalId: isSet(object.incrementalId) ? Number(object.incrementalId) : 0,
|
|
1029
982
|
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
1030
|
-
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
1031
983
|
};
|
|
1032
984
|
}
|
|
1033
985
|
|
|
@@ -1035,7 +987,6 @@ export namespace PlayerEmote {
|
|
|
1035
987
|
const obj: any = {};
|
|
1036
988
|
message.incrementalId !== undefined && (obj.incrementalId = Math.round(message.incrementalId));
|
|
1037
989
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
1038
|
-
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
1039
990
|
return obj;
|
|
1040
991
|
}
|
|
1041
992
|
|
|
@@ -1047,7 +998,6 @@ export namespace PlayerEmote {
|
|
|
1047
998
|
const message = createBasePlayerEmote();
|
|
1048
999
|
message.incrementalId = object.incrementalId ?? 0;
|
|
1049
1000
|
message.urn = object.urn ?? "";
|
|
1050
|
-
message.timestamp = object.timestamp ?? 0;
|
|
1051
1001
|
return message;
|
|
1052
1002
|
}
|
|
1053
1003
|
}
|
|
@@ -1324,7 +1274,7 @@ export namespace ProfileResponse {
|
|
|
1324
1274
|
}
|
|
1325
1275
|
|
|
1326
1276
|
function createBaseChat(): Chat {
|
|
1327
|
-
return { message: "", timestamp: 0
|
|
1277
|
+
return { message: "", timestamp: 0 };
|
|
1328
1278
|
}
|
|
1329
1279
|
|
|
1330
1280
|
export namespace Chat {
|
|
@@ -1335,9 +1285,6 @@ export namespace Chat {
|
|
|
1335
1285
|
if (message.timestamp !== 0) {
|
|
1336
1286
|
writer.uint32(17).double(message.timestamp);
|
|
1337
1287
|
}
|
|
1338
|
-
if (message.forwardedFrom !== undefined) {
|
|
1339
|
-
writer.uint32(26).string(message.forwardedFrom);
|
|
1340
|
-
}
|
|
1341
1288
|
return writer;
|
|
1342
1289
|
}
|
|
1343
1290
|
|
|
@@ -1362,13 +1309,6 @@ export namespace Chat {
|
|
|
1362
1309
|
|
|
1363
1310
|
message.timestamp = reader.double();
|
|
1364
1311
|
continue;
|
|
1365
|
-
case 3:
|
|
1366
|
-
if (tag !== 26) {
|
|
1367
|
-
break;
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
message.forwardedFrom = reader.string();
|
|
1371
|
-
continue;
|
|
1372
1312
|
}
|
|
1373
1313
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1374
1314
|
break;
|
|
@@ -1382,7 +1322,6 @@ export namespace Chat {
|
|
|
1382
1322
|
return {
|
|
1383
1323
|
message: isSet(object.message) ? String(object.message) : "",
|
|
1384
1324
|
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
1385
|
-
forwardedFrom: isSet(object.forwardedFrom) ? String(object.forwardedFrom) : undefined,
|
|
1386
1325
|
};
|
|
1387
1326
|
}
|
|
1388
1327
|
|
|
@@ -1390,7 +1329,6 @@ export namespace Chat {
|
|
|
1390
1329
|
const obj: any = {};
|
|
1391
1330
|
message.message !== undefined && (obj.message = message.message);
|
|
1392
1331
|
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
1393
|
-
message.forwardedFrom !== undefined && (obj.forwardedFrom = message.forwardedFrom);
|
|
1394
1332
|
return obj;
|
|
1395
1333
|
}
|
|
1396
1334
|
|
|
@@ -1402,7 +1340,6 @@ export namespace Chat {
|
|
|
1402
1340
|
const message = createBaseChat();
|
|
1403
1341
|
message.message = object.message ?? "";
|
|
1404
1342
|
message.timestamp = object.timestamp ?? 0;
|
|
1405
|
-
message.forwardedFrom = object.forwardedFrom ?? undefined;
|
|
1406
1343
|
return message;
|
|
1407
1344
|
}
|
|
1408
1345
|
}
|
|
@@ -11,7 +11,8 @@ export enum ColliderLayer {
|
|
|
11
11
|
CL_POINTER = 1,
|
|
12
12
|
/** CL_PHYSICS - collision affecting your player's physics i.e. walls, floor, moving platfroms */
|
|
13
13
|
CL_PHYSICS = 2,
|
|
14
|
-
|
|
14
|
+
/** CL_PLAYER - layer corresponding to any player avatar */
|
|
15
|
+
CL_PLAYER = 4,
|
|
15
16
|
CL_RESERVED2 = 8,
|
|
16
17
|
CL_RESERVED3 = 16,
|
|
17
18
|
CL_RESERVED4 = 32,
|
|
@@ -40,8 +41,8 @@ export function colliderLayerFromJSON(object: any): ColliderLayer {
|
|
|
40
41
|
case "CL_PHYSICS":
|
|
41
42
|
return ColliderLayer.CL_PHYSICS;
|
|
42
43
|
case 4:
|
|
43
|
-
case "
|
|
44
|
-
return ColliderLayer.
|
|
44
|
+
case "CL_PLAYER":
|
|
45
|
+
return ColliderLayer.CL_PLAYER;
|
|
45
46
|
case 8:
|
|
46
47
|
case "CL_RESERVED2":
|
|
47
48
|
return ColliderLayer.CL_RESERVED2;
|
|
@@ -96,8 +97,8 @@ export function colliderLayerToJSON(object: ColliderLayer): string {
|
|
|
96
97
|
return "CL_POINTER";
|
|
97
98
|
case ColliderLayer.CL_PHYSICS:
|
|
98
99
|
return "CL_PHYSICS";
|
|
99
|
-
case ColliderLayer.
|
|
100
|
-
return "
|
|
100
|
+
case ColliderLayer.CL_PLAYER:
|
|
101
|
+
return "CL_PLAYER";
|
|
101
102
|
case ColliderLayer.CL_RESERVED2:
|
|
102
103
|
return "CL_RESERVED2";
|
|
103
104
|
case ColliderLayer.CL_RESERVED3:
|