@dcl/ecs 7.9.2 → 7.9.3-16574576809.commit-c0a4156

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.
@@ -46,6 +46,8 @@ export interface PBAvatarShape {
46
46
  wearables: string[];
47
47
  /** available emotes (default empty) */
48
48
  emotes: string[];
49
+ /** hides the skin + hair + facial features (default: false) */
50
+ showOnlyWearables?: boolean | undefined;
49
51
  }
50
52
  /**
51
53
  * @public
@@ -16,6 +16,7 @@ function createBasePBAvatarShape() {
16
16
  talking: undefined,
17
17
  wearables: [],
18
18
  emotes: [],
19
+ showOnlyWearables: undefined,
19
20
  };
20
21
  }
21
22
  /**
@@ -57,6 +58,9 @@ export var PBAvatarShape;
57
58
  for (const v of message.emotes) {
58
59
  writer.uint32(90).string(v);
59
60
  }
61
+ if (message.showOnlyWearables !== undefined) {
62
+ writer.uint32(96).bool(message.showOnlyWearables);
63
+ }
60
64
  return writer;
61
65
  }
62
66
  PBAvatarShape.encode = encode;
@@ -133,6 +137,12 @@ export var PBAvatarShape;
133
137
  }
134
138
  message.emotes.push(reader.string());
135
139
  continue;
140
+ case 12:
141
+ if (tag !== 96) {
142
+ break;
143
+ }
144
+ message.showOnlyWearables = reader.bool();
145
+ continue;
136
146
  }
137
147
  if ((tag & 7) === 4 || tag === 0) {
138
148
  break;
@@ -46,6 +46,8 @@ export interface PBAvatarShape {
46
46
  wearables: string[];
47
47
  /** available emotes (default empty) */
48
48
  emotes: string[];
49
+ /** hides the skin + hair + facial features (default: false) */
50
+ showOnlyWearables?: boolean | undefined;
49
51
  }
50
52
  /**
51
53
  * @public
@@ -22,6 +22,7 @@ function createBasePBAvatarShape() {
22
22
  talking: undefined,
23
23
  wearables: [],
24
24
  emotes: [],
25
+ showOnlyWearables: undefined,
25
26
  };
26
27
  }
27
28
  /**
@@ -63,6 +64,9 @@ var PBAvatarShape;
63
64
  for (const v of message.emotes) {
64
65
  writer.uint32(90).string(v);
65
66
  }
67
+ if (message.showOnlyWearables !== undefined) {
68
+ writer.uint32(96).bool(message.showOnlyWearables);
69
+ }
66
70
  return writer;
67
71
  }
68
72
  PBAvatarShape.encode = encode;
@@ -139,6 +143,12 @@ var PBAvatarShape;
139
143
  }
140
144
  message.emotes.push(reader.string());
141
145
  continue;
146
+ case 12:
147
+ if (tag !== 96) {
148
+ break;
149
+ }
150
+ message.showOnlyWearables = reader.bool();
151
+ continue;
142
152
  }
143
153
  if ((tag & 7) === 4 || tag === 0) {
144
154
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.9.2",
4
+ "version": "7.9.3-16574576809.commit-c0a4156",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/ecs/issues",
7
7
  "files": [
@@ -33,5 +33,5 @@
33
33
  },
34
34
  "types": "./dist/index.d.ts",
35
35
  "typings": "./dist/index.d.ts",
36
- "commit": "f16406e770b497027a1ae24a9cde62a8b1a373ad"
36
+ "commit": "c0a41564ac1a69bd3b43dbda91b7d24979d14ce0"
37
37
  }