@dcl/ecs 7.31.0 → 7.31.1-39942109730.commit-afd7f79

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.
@@ -10,6 +10,8 @@ export interface PBAvatarBase {
10
10
  hairColor: Color3 | undefined;
11
11
  bodyShapeUrn: string;
12
12
  name: string;
13
+ /** true while the player is speaking in voice chat; unset when the engine does not report voice activity */
14
+ talking?: boolean | undefined;
13
15
  }
14
16
  /**
15
17
  * @public
@@ -3,7 +3,14 @@ import _m0 from "protobufjs/minimal";
3
3
  import { Color3 } from "../../common/colors.gen";
4
4
  const protobufPackageSarasa = "decentraland.sdk.components";
5
5
  function createBasePBAvatarBase() {
6
- return { skinColor: undefined, eyesColor: undefined, hairColor: undefined, bodyShapeUrn: "", name: "" };
6
+ return {
7
+ skinColor: undefined,
8
+ eyesColor: undefined,
9
+ hairColor: undefined,
10
+ bodyShapeUrn: "",
11
+ name: "",
12
+ talking: undefined,
13
+ };
7
14
  }
8
15
  /**
9
16
  * @public
@@ -26,6 +33,9 @@ export var PBAvatarBase;
26
33
  if (message.name !== "") {
27
34
  writer.uint32(42).string(message.name);
28
35
  }
36
+ if (message.talking !== undefined) {
37
+ writer.uint32(48).bool(message.talking);
38
+ }
29
39
  return writer;
30
40
  }
31
41
  PBAvatarBase.encode = encode;
@@ -66,6 +76,12 @@ export var PBAvatarBase;
66
76
  }
67
77
  message.name = reader.string();
68
78
  continue;
79
+ case 6:
80
+ if (tag !== 48) {
81
+ break;
82
+ }
83
+ message.talking = reader.bool();
84
+ continue;
69
85
  }
70
86
  if ((tag & 7) === 4 || tag === 0) {
71
87
  break;
@@ -10,6 +10,8 @@ export interface PBAvatarBase {
10
10
  hairColor: Color3 | undefined;
11
11
  bodyShapeUrn: string;
12
12
  name: string;
13
+ /** true while the player is speaking in voice chat; unset when the engine does not report voice activity */
14
+ talking?: boolean | undefined;
13
15
  }
14
16
  /**
15
17
  * @public
@@ -9,7 +9,14 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
9
  const colors_gen_1 = require("../../common/colors.gen");
10
10
  const protobufPackageSarasa = "decentraland.sdk.components";
11
11
  function createBasePBAvatarBase() {
12
- return { skinColor: undefined, eyesColor: undefined, hairColor: undefined, bodyShapeUrn: "", name: "" };
12
+ return {
13
+ skinColor: undefined,
14
+ eyesColor: undefined,
15
+ hairColor: undefined,
16
+ bodyShapeUrn: "",
17
+ name: "",
18
+ talking: undefined,
19
+ };
13
20
  }
14
21
  /**
15
22
  * @public
@@ -32,6 +39,9 @@ var PBAvatarBase;
32
39
  if (message.name !== "") {
33
40
  writer.uint32(42).string(message.name);
34
41
  }
42
+ if (message.talking !== undefined) {
43
+ writer.uint32(48).bool(message.talking);
44
+ }
35
45
  return writer;
36
46
  }
37
47
  PBAvatarBase.encode = encode;
@@ -72,6 +82,12 @@ var PBAvatarBase;
72
82
  }
73
83
  message.name = reader.string();
74
84
  continue;
85
+ case 6:
86
+ if (tag !== 48) {
87
+ break;
88
+ }
89
+ message.talking = reader.bool();
90
+ continue;
75
91
  }
76
92
  if ((tag & 7) === 4 || tag === 0) {
77
93
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.31.0",
4
+ "version": "7.31.1-39942109730.commit-afd7f79",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/ecs/issues",
7
7
  "files": [
@@ -34,5 +34,5 @@
34
34
  "dependencies": {},
35
35
  "types": "./dist/index.d.ts",
36
36
  "typings": "./dist/index.d.ts",
37
- "commit": "06bfc6c91343ebe71a3abc9aa9a9be06a9bda47b"
37
+ "commit": "afd7f79527216dcc3b3d155eb361b7f3aa1e850a"
38
38
  }