@dcl/protocol 1.0.0-29276634715.commit-82dbfb0 → 1.0.0-29286492043.commit-0010e70
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/README.md +0 -217
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +0 -21
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +4 -124
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -8
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -35
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2 -166
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +0 -34
- package/package.json +6 -9
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +0 -11
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -5
- package/proto/decentraland/sdk/components/light_source.proto +1 -1
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/proto/decentraland/common/options.proto +0 -51
- package/proto/decentraland/common/quantization_example.proto +0 -164
- package/proto/decentraland/pulse/pulse_client.proto +0 -79
- package/proto/decentraland/pulse/pulse_server.proto +0 -144
- package/proto/decentraland/pulse/pulse_shared.proto +0 -57
- package/protoc-gen-bitwise/generator_csharp.js +0 -248
- package/protoc-gen-bitwise/options.js +0 -139
- package/protoc-gen-bitwise/plugin.js +0 -87
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +0 -70
- package/protoc-gen-bitwise/wire.js +0 -239
|
@@ -137,36 +137,6 @@ export interface PlayerEmote {
|
|
|
137
137
|
incrementalId: number;
|
|
138
138
|
urn: string;
|
|
139
139
|
timestamp: number;
|
|
140
|
-
/** true means the emote has been stopped in the sender's client */
|
|
141
|
-
isStopping?:
|
|
142
|
-
| boolean
|
|
143
|
-
| undefined;
|
|
144
|
-
/** true when it is not the first time the looping animation plays */
|
|
145
|
-
isRepeating?:
|
|
146
|
-
| boolean
|
|
147
|
-
| undefined;
|
|
148
|
-
/** identifies an interaction univocaly, established when the start animation is triggered */
|
|
149
|
-
interactionId?:
|
|
150
|
-
| number
|
|
151
|
-
| undefined;
|
|
152
|
-
/** -1 means it does not use an outcome animation */
|
|
153
|
-
socialEmoteOutcome?:
|
|
154
|
-
| number
|
|
155
|
-
| undefined;
|
|
156
|
-
/** to a social emote started by other user */
|
|
157
|
-
isReacting?:
|
|
158
|
-
| boolean
|
|
159
|
-
| undefined;
|
|
160
|
-
/** wallet address of the user that initiated social emote */
|
|
161
|
-
socialEmoteInitiator?:
|
|
162
|
-
| string
|
|
163
|
-
| undefined;
|
|
164
|
-
/** wallet address of the user whose avatar is the target of a directed emote */
|
|
165
|
-
targetAvatar?:
|
|
166
|
-
| string
|
|
167
|
-
| undefined;
|
|
168
|
-
/** mask for which bones an animation applies to. */
|
|
169
|
-
mask?: number | undefined;
|
|
170
140
|
}
|
|
171
141
|
|
|
172
142
|
export interface SceneEmote {
|
|
@@ -191,11 +161,6 @@ export interface ProfileResponse {
|
|
|
191
161
|
export interface Chat {
|
|
192
162
|
message: string;
|
|
193
163
|
timestamp: number;
|
|
194
|
-
/**
|
|
195
|
-
* Extension: optional forwarded_from to identify the original sender when
|
|
196
|
-
* messages are forwarded through an SFU
|
|
197
|
-
*/
|
|
198
|
-
forwardedFrom?: string | undefined;
|
|
199
164
|
}
|
|
200
165
|
|
|
201
166
|
export interface Scene {
|
|
@@ -1322,19 +1287,7 @@ export namespace MovementCompressed {
|
|
|
1322
1287
|
}
|
|
1323
1288
|
|
|
1324
1289
|
function createBasePlayerEmote(): PlayerEmote {
|
|
1325
|
-
return {
|
|
1326
|
-
incrementalId: 0,
|
|
1327
|
-
urn: "",
|
|
1328
|
-
timestamp: 0,
|
|
1329
|
-
isStopping: undefined,
|
|
1330
|
-
isRepeating: undefined,
|
|
1331
|
-
interactionId: undefined,
|
|
1332
|
-
socialEmoteOutcome: undefined,
|
|
1333
|
-
isReacting: undefined,
|
|
1334
|
-
socialEmoteInitiator: undefined,
|
|
1335
|
-
targetAvatar: undefined,
|
|
1336
|
-
mask: undefined,
|
|
1337
|
-
};
|
|
1290
|
+
return { incrementalId: 0, urn: "", timestamp: 0 };
|
|
1338
1291
|
}
|
|
1339
1292
|
|
|
1340
1293
|
export namespace PlayerEmote {
|
|
@@ -1348,30 +1301,6 @@ export namespace PlayerEmote {
|
|
|
1348
1301
|
if (message.timestamp !== 0) {
|
|
1349
1302
|
writer.uint32(29).float(message.timestamp);
|
|
1350
1303
|
}
|
|
1351
|
-
if (message.isStopping !== undefined) {
|
|
1352
|
-
writer.uint32(32).bool(message.isStopping);
|
|
1353
|
-
}
|
|
1354
|
-
if (message.isRepeating !== undefined) {
|
|
1355
|
-
writer.uint32(40).bool(message.isRepeating);
|
|
1356
|
-
}
|
|
1357
|
-
if (message.interactionId !== undefined) {
|
|
1358
|
-
writer.uint32(48).int32(message.interactionId);
|
|
1359
|
-
}
|
|
1360
|
-
if (message.socialEmoteOutcome !== undefined) {
|
|
1361
|
-
writer.uint32(56).int32(message.socialEmoteOutcome);
|
|
1362
|
-
}
|
|
1363
|
-
if (message.isReacting !== undefined) {
|
|
1364
|
-
writer.uint32(64).bool(message.isReacting);
|
|
1365
|
-
}
|
|
1366
|
-
if (message.socialEmoteInitiator !== undefined) {
|
|
1367
|
-
writer.uint32(74).string(message.socialEmoteInitiator);
|
|
1368
|
-
}
|
|
1369
|
-
if (message.targetAvatar !== undefined) {
|
|
1370
|
-
writer.uint32(82).string(message.targetAvatar);
|
|
1371
|
-
}
|
|
1372
|
-
if (message.mask !== undefined) {
|
|
1373
|
-
writer.uint32(88).uint32(message.mask);
|
|
1374
|
-
}
|
|
1375
1304
|
return writer;
|
|
1376
1305
|
}
|
|
1377
1306
|
|
|
@@ -1403,62 +1332,6 @@ export namespace PlayerEmote {
|
|
|
1403
1332
|
|
|
1404
1333
|
message.timestamp = reader.float();
|
|
1405
1334
|
continue;
|
|
1406
|
-
case 4:
|
|
1407
|
-
if (tag !== 32) {
|
|
1408
|
-
break;
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
message.isStopping = reader.bool();
|
|
1412
|
-
continue;
|
|
1413
|
-
case 5:
|
|
1414
|
-
if (tag !== 40) {
|
|
1415
|
-
break;
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
message.isRepeating = reader.bool();
|
|
1419
|
-
continue;
|
|
1420
|
-
case 6:
|
|
1421
|
-
if (tag !== 48) {
|
|
1422
|
-
break;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
message.interactionId = reader.int32();
|
|
1426
|
-
continue;
|
|
1427
|
-
case 7:
|
|
1428
|
-
if (tag !== 56) {
|
|
1429
|
-
break;
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
message.socialEmoteOutcome = reader.int32();
|
|
1433
|
-
continue;
|
|
1434
|
-
case 8:
|
|
1435
|
-
if (tag !== 64) {
|
|
1436
|
-
break;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
message.isReacting = reader.bool();
|
|
1440
|
-
continue;
|
|
1441
|
-
case 9:
|
|
1442
|
-
if (tag !== 74) {
|
|
1443
|
-
break;
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
message.socialEmoteInitiator = reader.string();
|
|
1447
|
-
continue;
|
|
1448
|
-
case 10:
|
|
1449
|
-
if (tag !== 82) {
|
|
1450
|
-
break;
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
message.targetAvatar = reader.string();
|
|
1454
|
-
continue;
|
|
1455
|
-
case 11:
|
|
1456
|
-
if (tag !== 88) {
|
|
1457
|
-
break;
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
message.mask = reader.uint32();
|
|
1461
|
-
continue;
|
|
1462
1335
|
}
|
|
1463
1336
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1464
1337
|
break;
|
|
@@ -1473,14 +1346,6 @@ export namespace PlayerEmote {
|
|
|
1473
1346
|
incrementalId: isSet(object.incrementalId) ? Number(object.incrementalId) : 0,
|
|
1474
1347
|
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
1475
1348
|
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
1476
|
-
isStopping: isSet(object.isStopping) ? Boolean(object.isStopping) : undefined,
|
|
1477
|
-
isRepeating: isSet(object.isRepeating) ? Boolean(object.isRepeating) : undefined,
|
|
1478
|
-
interactionId: isSet(object.interactionId) ? Number(object.interactionId) : undefined,
|
|
1479
|
-
socialEmoteOutcome: isSet(object.socialEmoteOutcome) ? Number(object.socialEmoteOutcome) : undefined,
|
|
1480
|
-
isReacting: isSet(object.isReacting) ? Boolean(object.isReacting) : undefined,
|
|
1481
|
-
socialEmoteInitiator: isSet(object.socialEmoteInitiator) ? String(object.socialEmoteInitiator) : undefined,
|
|
1482
|
-
targetAvatar: isSet(object.targetAvatar) ? String(object.targetAvatar) : undefined,
|
|
1483
|
-
mask: isSet(object.mask) ? Number(object.mask) : undefined,
|
|
1484
1349
|
};
|
|
1485
1350
|
}
|
|
1486
1351
|
|
|
@@ -1489,14 +1354,6 @@ export namespace PlayerEmote {
|
|
|
1489
1354
|
message.incrementalId !== undefined && (obj.incrementalId = Math.round(message.incrementalId));
|
|
1490
1355
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
1491
1356
|
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
1492
|
-
message.isStopping !== undefined && (obj.isStopping = message.isStopping);
|
|
1493
|
-
message.isRepeating !== undefined && (obj.isRepeating = message.isRepeating);
|
|
1494
|
-
message.interactionId !== undefined && (obj.interactionId = Math.round(message.interactionId));
|
|
1495
|
-
message.socialEmoteOutcome !== undefined && (obj.socialEmoteOutcome = Math.round(message.socialEmoteOutcome));
|
|
1496
|
-
message.isReacting !== undefined && (obj.isReacting = message.isReacting);
|
|
1497
|
-
message.socialEmoteInitiator !== undefined && (obj.socialEmoteInitiator = message.socialEmoteInitiator);
|
|
1498
|
-
message.targetAvatar !== undefined && (obj.targetAvatar = message.targetAvatar);
|
|
1499
|
-
message.mask !== undefined && (obj.mask = Math.round(message.mask));
|
|
1500
1357
|
return obj;
|
|
1501
1358
|
}
|
|
1502
1359
|
|
|
@@ -1509,14 +1366,6 @@ export namespace PlayerEmote {
|
|
|
1509
1366
|
message.incrementalId = object.incrementalId ?? 0;
|
|
1510
1367
|
message.urn = object.urn ?? "";
|
|
1511
1368
|
message.timestamp = object.timestamp ?? 0;
|
|
1512
|
-
message.isStopping = object.isStopping ?? undefined;
|
|
1513
|
-
message.isRepeating = object.isRepeating ?? undefined;
|
|
1514
|
-
message.interactionId = object.interactionId ?? undefined;
|
|
1515
|
-
message.socialEmoteOutcome = object.socialEmoteOutcome ?? undefined;
|
|
1516
|
-
message.isReacting = object.isReacting ?? undefined;
|
|
1517
|
-
message.socialEmoteInitiator = object.socialEmoteInitiator ?? undefined;
|
|
1518
|
-
message.targetAvatar = object.targetAvatar ?? undefined;
|
|
1519
|
-
message.mask = object.mask ?? undefined;
|
|
1520
1369
|
return message;
|
|
1521
1370
|
}
|
|
1522
1371
|
}
|
|
@@ -1793,7 +1642,7 @@ export namespace ProfileResponse {
|
|
|
1793
1642
|
}
|
|
1794
1643
|
|
|
1795
1644
|
function createBaseChat(): Chat {
|
|
1796
|
-
return { message: "", timestamp: 0
|
|
1645
|
+
return { message: "", timestamp: 0 };
|
|
1797
1646
|
}
|
|
1798
1647
|
|
|
1799
1648
|
export namespace Chat {
|
|
@@ -1804,9 +1653,6 @@ export namespace Chat {
|
|
|
1804
1653
|
if (message.timestamp !== 0) {
|
|
1805
1654
|
writer.uint32(17).double(message.timestamp);
|
|
1806
1655
|
}
|
|
1807
|
-
if (message.forwardedFrom !== undefined) {
|
|
1808
|
-
writer.uint32(26).string(message.forwardedFrom);
|
|
1809
|
-
}
|
|
1810
1656
|
return writer;
|
|
1811
1657
|
}
|
|
1812
1658
|
|
|
@@ -1831,13 +1677,6 @@ export namespace Chat {
|
|
|
1831
1677
|
|
|
1832
1678
|
message.timestamp = reader.double();
|
|
1833
1679
|
continue;
|
|
1834
|
-
case 3:
|
|
1835
|
-
if (tag !== 26) {
|
|
1836
|
-
break;
|
|
1837
|
-
}
|
|
1838
|
-
|
|
1839
|
-
message.forwardedFrom = reader.string();
|
|
1840
|
-
continue;
|
|
1841
1680
|
}
|
|
1842
1681
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1843
1682
|
break;
|
|
@@ -1851,7 +1690,6 @@ export namespace Chat {
|
|
|
1851
1690
|
return {
|
|
1852
1691
|
message: isSet(object.message) ? String(object.message) : "",
|
|
1853
1692
|
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
1854
|
-
forwardedFrom: isSet(object.forwardedFrom) ? String(object.forwardedFrom) : undefined,
|
|
1855
1693
|
};
|
|
1856
1694
|
}
|
|
1857
1695
|
|
|
@@ -1859,7 +1697,6 @@ export namespace Chat {
|
|
|
1859
1697
|
const obj: any = {};
|
|
1860
1698
|
message.message !== undefined && (obj.message = message.message);
|
|
1861
1699
|
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
1862
|
-
message.forwardedFrom !== undefined && (obj.forwardedFrom = message.forwardedFrom);
|
|
1863
1700
|
return obj;
|
|
1864
1701
|
}
|
|
1865
1702
|
|
|
@@ -1871,7 +1708,6 @@ export namespace Chat {
|
|
|
1871
1708
|
const message = createBaseChat();
|
|
1872
1709
|
message.message = object.message ?? "";
|
|
1873
1710
|
message.timestamp = object.timestamp ?? 0;
|
|
1874
|
-
message.forwardedFrom = object.forwardedFrom ?? undefined;
|
|
1875
1711
|
return message;
|
|
1876
1712
|
}
|
|
1877
1713
|
}
|
|
@@ -5,40 +5,6 @@ import { Color3 } from "../../common/colors.gen";
|
|
|
5
5
|
|
|
6
6
|
export const protobufPackage = "decentraland.sdk.components";
|
|
7
7
|
|
|
8
|
-
/** Mask for which bones an animation applies to. */
|
|
9
|
-
export enum AvatarEmoteMask {
|
|
10
|
-
AEM_FULL_BODY = 0,
|
|
11
|
-
AEM_UPPER_BODY = 1,
|
|
12
|
-
UNRECOGNIZED = -1,
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function avatarEmoteMaskFromJSON(object: any): AvatarEmoteMask {
|
|
16
|
-
switch (object) {
|
|
17
|
-
case 0:
|
|
18
|
-
case "AEM_FULL_BODY":
|
|
19
|
-
return AvatarEmoteMask.AEM_FULL_BODY;
|
|
20
|
-
case 1:
|
|
21
|
-
case "AEM_UPPER_BODY":
|
|
22
|
-
return AvatarEmoteMask.AEM_UPPER_BODY;
|
|
23
|
-
case -1:
|
|
24
|
-
case "UNRECOGNIZED":
|
|
25
|
-
default:
|
|
26
|
-
return AvatarEmoteMask.UNRECOGNIZED;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function avatarEmoteMaskToJSON(object: AvatarEmoteMask): string {
|
|
31
|
-
switch (object) {
|
|
32
|
-
case AvatarEmoteMask.AEM_FULL_BODY:
|
|
33
|
-
return "AEM_FULL_BODY";
|
|
34
|
-
case AvatarEmoteMask.AEM_UPPER_BODY:
|
|
35
|
-
return "AEM_UPPER_BODY";
|
|
36
|
-
case AvatarEmoteMask.UNRECOGNIZED:
|
|
37
|
-
default:
|
|
38
|
-
return "UNRECOGNIZED";
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
8
|
/**
|
|
43
9
|
* The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
44
10
|
* a simplified GLTF container for this specific case.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-29286492043.commit-0010e70",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"main": "index.js",
|
|
15
15
|
"scripts": {
|
|
16
|
-
"test": "./scripts/check-proto-compabitility.sh"
|
|
17
|
-
"gen:test": "node protoc-gen-bitwise/test/generator.test.js"
|
|
16
|
+
"test": "./scripts/check-proto-compabitility.sh"
|
|
18
17
|
},
|
|
19
18
|
"devDependencies": {
|
|
20
|
-
"@protobuf-ts/protoc": "^2.
|
|
19
|
+
"@protobuf-ts/protoc": "^2.8.1",
|
|
21
20
|
"proto-compatibility-tool": "^1.1.2-20220925163655.commit-25bd040",
|
|
22
21
|
"typescript": "^5.0.4"
|
|
23
22
|
},
|
|
@@ -29,12 +28,10 @@
|
|
|
29
28
|
"protobufjs": "7.2.4"
|
|
30
29
|
},
|
|
31
30
|
"files": [
|
|
32
|
-
"proto
|
|
31
|
+
"proto",
|
|
33
32
|
"out-ts",
|
|
34
33
|
"out-js",
|
|
35
|
-
"public"
|
|
36
|
-
"protoc-gen-bitwise/*.js",
|
|
37
|
-
"protoc-gen-bitwise/runtime"
|
|
34
|
+
"public"
|
|
38
35
|
],
|
|
39
|
-
"commit": "
|
|
36
|
+
"commit": "0010e703bec8702bbe2d5e5282c619220c2c1ca6"
|
|
40
37
|
}
|
package/proto/buf.yaml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
version: v1
|
|
2
|
+
breaking:
|
|
3
|
+
use:
|
|
4
|
+
- WIRE_JSON
|
|
5
|
+
ignore:
|
|
6
|
+
- google
|
|
7
|
+
lint:
|
|
8
|
+
use:
|
|
9
|
+
- DIRECTORY_SAME_PACKAGE
|
|
10
|
+
- PACKAGE_DEFINED
|
|
11
|
+
- PACKAGE_DIRECTORY_MATCH
|
|
12
|
+
- PACKAGE_SAME_DIRECTORY
|
|
13
|
+
- ENUM_PASCAL_CASE
|
|
14
|
+
- ENUM_VALUE_UPPER_SNAKE_CASE
|
|
15
|
+
- FIELD_LOWER_SNAKE_CASE
|
|
16
|
+
- MESSAGE_PASCAL_CASE
|
|
17
|
+
- ONEOF_LOWER_SNAKE_CASE
|
|
18
|
+
- PACKAGE_LOWER_SNAKE_CASE
|
|
19
|
+
- RPC_PASCAL_CASE
|
|
20
|
+
- SERVICE_PASCAL_CASE
|
|
21
|
+
- PACKAGE_SAME_CSHARP_NAMESPACE
|
|
22
|
+
- PACKAGE_SAME_GO_PACKAGE
|
|
23
|
+
- PACKAGE_SAME_JAVA_MULTIPLE_FILES
|
|
24
|
+
- PACKAGE_SAME_JAVA_PACKAGE
|
|
25
|
+
- PACKAGE_SAME_PHP_NAMESPACE
|
|
26
|
+
- PACKAGE_SAME_RUBY_PACKAGE
|
|
27
|
+
- PACKAGE_SAME_SWIFT_PREFIX
|
|
28
|
+
- ENUM_FIRST_VALUE_ZERO
|
|
29
|
+
- ENUM_NO_ALLOW_ALIAS
|
|
30
|
+
- IMPORT_NO_WEAK
|
|
31
|
+
- IMPORT_NO_PUBLIC
|
|
32
|
+
- IMPORT_USED
|
|
33
|
+
- FILE_LOWER_SNAKE_CASE
|
|
34
|
+
# Ignored:the default value is used
|
|
35
|
+
# - ENUM_ZERO_VALUE_SUFFIX
|
|
36
|
+
# Ignored: if a prefix is needed in the target language, implement a preprocessor
|
|
37
|
+
# - ENUM_VALUE_PREFIX
|
|
38
|
+
# Not wished
|
|
39
|
+
# - PACKAGE_VERSION_SUFFIX
|
|
40
|
+
# TODO: See if this needs to be added
|
|
41
|
+
# - RPC_REQUEST_RESPONSE_UNIQUE
|
|
42
|
+
# - RPC_REQUEST_STANDARD_NAME
|
|
43
|
+
# - RPC_RESPONSE_STANDARD_NAME
|
|
44
|
+
# - SERVICE_SUFFIX
|
|
45
|
+
ignore:
|
|
46
|
+
- google
|
|
47
|
+
- decentraland/renderer/engine_interface.proto
|
|
@@ -94,14 +94,6 @@ message PlayerEmote {
|
|
|
94
94
|
uint32 incremental_id = 1;
|
|
95
95
|
string urn = 2;
|
|
96
96
|
float timestamp = 3;
|
|
97
|
-
optional bool is_stopping = 4; // true means the emote has been stopped in the sender's client
|
|
98
|
-
optional bool is_repeating = 5; // true when it is not the first time the looping animation plays
|
|
99
|
-
optional int32 interaction_id = 6; // identifies an interaction univocaly, established when the start animation is triggered
|
|
100
|
-
optional int32 social_emote_outcome = 7; // -1 means it does not use an outcome animation
|
|
101
|
-
optional bool is_reacting = 8; // to a social emote started by other user
|
|
102
|
-
optional string social_emote_initiator = 9; // wallet address of the user that initiated social emote
|
|
103
|
-
optional string target_avatar = 10; // wallet address of the user whose avatar is the target of a directed emote
|
|
104
|
-
optional uint32 mask = 11; // mask for which bones an animation applies to.
|
|
105
97
|
}
|
|
106
98
|
|
|
107
99
|
message SceneEmote {
|
|
@@ -134,9 +126,6 @@ message ProfileResponse {
|
|
|
134
126
|
message Chat {
|
|
135
127
|
string message = 1;
|
|
136
128
|
double timestamp = 2;
|
|
137
|
-
// Extension: optional forwarded_from to identify the original sender when
|
|
138
|
-
// messages are forwarded through an SFU
|
|
139
|
-
optional string forwarded_from = 3;
|
|
140
129
|
}
|
|
141
130
|
|
|
142
131
|
message Scene {
|
|
@@ -25,4 +25,4 @@ message PBLightSource {
|
|
|
25
25
|
optional float inner_angle = 9; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179.
|
|
26
26
|
optional float outer_angle = 10; // default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179.
|
|
27
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|
|
@@ -10,9 +10,7 @@ option (common.ecs_component_id) = 1076;
|
|
|
10
10
|
// an 'instant' transition (like using speed/time = 0)
|
|
11
11
|
// * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
12
12
|
// the holding entity transform).
|
|
13
|
-
// * The fov defines the Field of View of the virtual camera
|
|
14
13
|
message PBVirtualCamera {
|
|
15
14
|
optional common.CameraTransition default_transition = 1;
|
|
16
15
|
optional uint32 look_at_entity = 2;
|
|
17
|
-
optional float fov = 3; // default: 60
|
|
18
16
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Copyright 2014, Google Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
|
4
|
+
modification, are permitted provided that the following conditions are
|
|
5
|
+
met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright
|
|
8
|
+
notice, this list of conditions and the following disclaimer.
|
|
9
|
+
* Redistributions in binary form must reproduce the above
|
|
10
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
11
|
+
in the documentation and/or other materials provided with the
|
|
12
|
+
distribution.
|
|
13
|
+
* Neither the name of Google Inc. nor the names of its
|
|
14
|
+
contributors may be used to endorse or promote products derived from
|
|
15
|
+
this software without specific prior written permission.
|
|
16
|
+
|
|
17
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This folder contains stripped and pre-parsed definitions of common Google types. These files are not used by protobuf.js directly but are here so you can use or include them where required.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nested": {
|
|
3
|
+
"google": {
|
|
4
|
+
"nested": {
|
|
5
|
+
"api": {
|
|
6
|
+
"nested": {
|
|
7
|
+
"http": {
|
|
8
|
+
"type": "HttpRule",
|
|
9
|
+
"id": 72295728,
|
|
10
|
+
"extend": "google.protobuf.MethodOptions"
|
|
11
|
+
},
|
|
12
|
+
"HttpRule": {
|
|
13
|
+
"oneofs": {
|
|
14
|
+
"pattern": {
|
|
15
|
+
"oneof": [
|
|
16
|
+
"get",
|
|
17
|
+
"put",
|
|
18
|
+
"post",
|
|
19
|
+
"delete",
|
|
20
|
+
"patch",
|
|
21
|
+
"custom"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"fields": {
|
|
26
|
+
"get": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"id": 2
|
|
29
|
+
},
|
|
30
|
+
"put": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"id": 3
|
|
33
|
+
},
|
|
34
|
+
"post": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"id": 4
|
|
37
|
+
},
|
|
38
|
+
"delete": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"id": 5
|
|
41
|
+
},
|
|
42
|
+
"patch": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"id": 6
|
|
45
|
+
},
|
|
46
|
+
"custom": {
|
|
47
|
+
"type": "CustomHttpPattern",
|
|
48
|
+
"id": 8
|
|
49
|
+
},
|
|
50
|
+
"selector": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"id": 1
|
|
53
|
+
},
|
|
54
|
+
"body": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"id": 7
|
|
57
|
+
},
|
|
58
|
+
"additionalBindings": {
|
|
59
|
+
"rule": "repeated",
|
|
60
|
+
"type": "HttpRule",
|
|
61
|
+
"id": 11
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"protobuf": {
|
|
68
|
+
"nested": {
|
|
69
|
+
"MethodOptions": {
|
|
70
|
+
"fields": {},
|
|
71
|
+
"extensions": [
|
|
72
|
+
[
|
|
73
|
+
1000,
|
|
74
|
+
536870911
|
|
75
|
+
]
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nested": {
|
|
3
|
+
"google": {
|
|
4
|
+
"nested": {
|
|
5
|
+
"api": {
|
|
6
|
+
"nested": {
|
|
7
|
+
"Http": {
|
|
8
|
+
"fields": {
|
|
9
|
+
"rules": {
|
|
10
|
+
"rule": "repeated",
|
|
11
|
+
"type": "HttpRule",
|
|
12
|
+
"id": 1
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"HttpRule": {
|
|
17
|
+
"oneofs": {
|
|
18
|
+
"pattern": {
|
|
19
|
+
"oneof": [
|
|
20
|
+
"get",
|
|
21
|
+
"put",
|
|
22
|
+
"post",
|
|
23
|
+
"delete",
|
|
24
|
+
"patch",
|
|
25
|
+
"custom"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"fields": {
|
|
30
|
+
"get": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"id": 2
|
|
33
|
+
},
|
|
34
|
+
"put": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"id": 3
|
|
37
|
+
},
|
|
38
|
+
"post": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"id": 4
|
|
41
|
+
},
|
|
42
|
+
"delete": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"id": 5
|
|
45
|
+
},
|
|
46
|
+
"patch": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"id": 6
|
|
49
|
+
},
|
|
50
|
+
"custom": {
|
|
51
|
+
"type": "CustomHttpPattern",
|
|
52
|
+
"id": 8
|
|
53
|
+
},
|
|
54
|
+
"selector": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"id": 1
|
|
57
|
+
},
|
|
58
|
+
"body": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"id": 7
|
|
61
|
+
},
|
|
62
|
+
"additionalBindings": {
|
|
63
|
+
"rule": "repeated",
|
|
64
|
+
"type": "HttpRule",
|
|
65
|
+
"id": 11
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"CustomHttpPattern": {
|
|
70
|
+
"fields": {
|
|
71
|
+
"kind": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"id": 1
|
|
74
|
+
},
|
|
75
|
+
"path": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"id": 2
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.api;
|
|
4
|
+
|
|
5
|
+
message Http {
|
|
6
|
+
|
|
7
|
+
repeated HttpRule rules = 1;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message HttpRule {
|
|
11
|
+
|
|
12
|
+
oneof pattern {
|
|
13
|
+
|
|
14
|
+
string get = 2;
|
|
15
|
+
string put = 3;
|
|
16
|
+
string post = 4;
|
|
17
|
+
string delete = 5;
|
|
18
|
+
string patch = 6;
|
|
19
|
+
CustomHttpPattern custom = 8;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
string selector = 1;
|
|
23
|
+
string body = 7;
|
|
24
|
+
repeated HttpRule additional_bindings = 11;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message CustomHttpPattern {
|
|
28
|
+
|
|
29
|
+
string kind = 1;
|
|
30
|
+
string path = 2;
|
|
31
|
+
}
|