@dcl/protocol 1.0.0-5812097343.commit-8025576 → 1.0.0-6160718705.commit-03626d7
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/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +46 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +147 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +176 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/package.json +2 -2
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/public/sdk-components.proto +4 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Color3 } from "../../common/colors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
|
5
|
+
export interface PBAvatarBase {
|
|
6
|
+
skinColor: Color3 | undefined;
|
|
7
|
+
eyesColor: Color3 | undefined;
|
|
8
|
+
hairColor: Color3 | undefined;
|
|
9
|
+
bodyShapeUrn: string;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace PBAvatarBase {
|
|
13
|
+
function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
|
15
|
+
function fromJSON(object: any): PBAvatarBase;
|
|
16
|
+
function toJSON(message: PBAvatarBase): unknown;
|
|
17
|
+
function create<I extends Exact<DeepPartial<PBAvatarBase>, I>>(base?: I): PBAvatarBase;
|
|
18
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarBase>, I>>(object: I): PBAvatarBase;
|
|
19
|
+
}
|
|
20
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
21
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
22
|
+
$case: string;
|
|
23
|
+
} ? {
|
|
24
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
25
|
+
} & {
|
|
26
|
+
$case: T["$case"];
|
|
27
|
+
} : T extends {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PBAvatarBase = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
const colors_gen_1 = require("../../common/colors.gen");
|
|
10
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
11
|
+
function createBasePBAvatarBase() {
|
|
12
|
+
return { skinColor: undefined, eyesColor: undefined, hairColor: undefined, bodyShapeUrn: "", name: "" };
|
|
13
|
+
}
|
|
14
|
+
var PBAvatarBase;
|
|
15
|
+
(function (PBAvatarBase) {
|
|
16
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
17
|
+
if (message.skinColor !== undefined) {
|
|
18
|
+
colors_gen_1.Color3.encode(message.skinColor, writer.uint32(10).fork()).ldelim();
|
|
19
|
+
}
|
|
20
|
+
if (message.eyesColor !== undefined) {
|
|
21
|
+
colors_gen_1.Color3.encode(message.eyesColor, writer.uint32(18).fork()).ldelim();
|
|
22
|
+
}
|
|
23
|
+
if (message.hairColor !== undefined) {
|
|
24
|
+
colors_gen_1.Color3.encode(message.hairColor, writer.uint32(26).fork()).ldelim();
|
|
25
|
+
}
|
|
26
|
+
if (message.bodyShapeUrn !== "") {
|
|
27
|
+
writer.uint32(34).string(message.bodyShapeUrn);
|
|
28
|
+
}
|
|
29
|
+
if (message.name !== "") {
|
|
30
|
+
writer.uint32(42).string(message.name);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
}
|
|
34
|
+
PBAvatarBase.encode = encode;
|
|
35
|
+
function decode(input, length) {
|
|
36
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
37
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
38
|
+
const message = createBasePBAvatarBase();
|
|
39
|
+
while (reader.pos < end) {
|
|
40
|
+
const tag = reader.uint32();
|
|
41
|
+
switch (tag >>> 3) {
|
|
42
|
+
case 1:
|
|
43
|
+
if (tag !== 10) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
message.skinColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
47
|
+
continue;
|
|
48
|
+
case 2:
|
|
49
|
+
if (tag !== 18) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
message.eyesColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
53
|
+
continue;
|
|
54
|
+
case 3:
|
|
55
|
+
if (tag !== 26) {
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
message.hairColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
59
|
+
continue;
|
|
60
|
+
case 4:
|
|
61
|
+
if (tag !== 34) {
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
message.bodyShapeUrn = reader.string();
|
|
65
|
+
continue;
|
|
66
|
+
case 5:
|
|
67
|
+
if (tag !== 42) {
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
message.name = reader.string();
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
reader.skipType(tag & 7);
|
|
77
|
+
}
|
|
78
|
+
return message;
|
|
79
|
+
}
|
|
80
|
+
PBAvatarBase.decode = decode;
|
|
81
|
+
function fromJSON(object) {
|
|
82
|
+
return {
|
|
83
|
+
skinColor: isSet(object.skinColor) ? colors_gen_1.Color3.fromJSON(object.skinColor) : undefined,
|
|
84
|
+
eyesColor: isSet(object.eyesColor) ? colors_gen_1.Color3.fromJSON(object.eyesColor) : undefined,
|
|
85
|
+
hairColor: isSet(object.hairColor) ? colors_gen_1.Color3.fromJSON(object.hairColor) : undefined,
|
|
86
|
+
bodyShapeUrn: isSet(object.bodyShapeUrn) ? String(object.bodyShapeUrn) : "",
|
|
87
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
PBAvatarBase.fromJSON = fromJSON;
|
|
91
|
+
function toJSON(message) {
|
|
92
|
+
const obj = {};
|
|
93
|
+
message.skinColor !== undefined &&
|
|
94
|
+
(obj.skinColor = message.skinColor ? colors_gen_1.Color3.toJSON(message.skinColor) : undefined);
|
|
95
|
+
message.eyesColor !== undefined &&
|
|
96
|
+
(obj.eyesColor = message.eyesColor ? colors_gen_1.Color3.toJSON(message.eyesColor) : undefined);
|
|
97
|
+
message.hairColor !== undefined &&
|
|
98
|
+
(obj.hairColor = message.hairColor ? colors_gen_1.Color3.toJSON(message.hairColor) : undefined);
|
|
99
|
+
message.bodyShapeUrn !== undefined && (obj.bodyShapeUrn = message.bodyShapeUrn);
|
|
100
|
+
message.name !== undefined && (obj.name = message.name);
|
|
101
|
+
return obj;
|
|
102
|
+
}
|
|
103
|
+
PBAvatarBase.toJSON = toJSON;
|
|
104
|
+
function create(base) {
|
|
105
|
+
return PBAvatarBase.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
106
|
+
}
|
|
107
|
+
PBAvatarBase.create = create;
|
|
108
|
+
function fromPartial(object) {
|
|
109
|
+
var _a, _b;
|
|
110
|
+
const message = createBasePBAvatarBase();
|
|
111
|
+
message.skinColor = (object.skinColor !== undefined && object.skinColor !== null)
|
|
112
|
+
? colors_gen_1.Color3.fromPartial(object.skinColor)
|
|
113
|
+
: undefined;
|
|
114
|
+
message.eyesColor = (object.eyesColor !== undefined && object.eyesColor !== null)
|
|
115
|
+
? colors_gen_1.Color3.fromPartial(object.eyesColor)
|
|
116
|
+
: undefined;
|
|
117
|
+
message.hairColor = (object.hairColor !== undefined && object.hairColor !== null)
|
|
118
|
+
? colors_gen_1.Color3.fromPartial(object.hairColor)
|
|
119
|
+
: undefined;
|
|
120
|
+
message.bodyShapeUrn = (_a = object.bodyShapeUrn) !== null && _a !== void 0 ? _a : "";
|
|
121
|
+
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
122
|
+
return message;
|
|
123
|
+
}
|
|
124
|
+
PBAvatarBase.fromPartial = fromPartial;
|
|
125
|
+
})(PBAvatarBase || (exports.PBAvatarBase = PBAvatarBase = {}));
|
|
126
|
+
function isSet(value) {
|
|
127
|
+
return value !== null && value !== undefined;
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=avatar_base.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_base.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_base.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,wDAAiD;AAEpC,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAW7D,SAAS,sBAAsB;IAC7B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AAC1G,CAAC;AAED,IAAiB,YAAY,CAiH5B;AAjHD,WAAiB,YAAY;IAC3B,SAAgB,MAAM,CAAC,OAAqB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACpF,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE;YACnC,mBAAM,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SACrE;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE;YACnC,mBAAM,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,E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AAC;QACjC,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wBAAW,cAc1B,CAAA;AACH,CAAC,EAjHgB,YAAY,4BAAZ,YAAY,QAiH5B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
|
5
|
+
* avatar emotes playback.
|
|
6
|
+
*/
|
|
7
|
+
export interface PBAvatarEmoteCommand {
|
|
8
|
+
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface PBAvatarEmoteCommand_EmoteCommand {
|
|
11
|
+
emoteUrn: string;
|
|
12
|
+
loop: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace PBAvatarEmoteCommand {
|
|
15
|
+
function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
|
17
|
+
function fromJSON(object: any): PBAvatarEmoteCommand;
|
|
18
|
+
function toJSON(message: PBAvatarEmoteCommand): unknown;
|
|
19
|
+
function create<I extends Exact<DeepPartial<PBAvatarEmoteCommand>, I>>(base?: I): PBAvatarEmoteCommand;
|
|
20
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarEmoteCommand>, I>>(object: I): PBAvatarEmoteCommand;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
|
23
|
+
function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
|
25
|
+
function fromJSON(object: any): PBAvatarEmoteCommand_EmoteCommand;
|
|
26
|
+
function toJSON(message: PBAvatarEmoteCommand_EmoteCommand): unknown;
|
|
27
|
+
function create<I extends Exact<DeepPartial<PBAvatarEmoteCommand_EmoteCommand>, I>>(base?: I): PBAvatarEmoteCommand_EmoteCommand;
|
|
28
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarEmoteCommand_EmoteCommand>, I>>(object: I): PBAvatarEmoteCommand_EmoteCommand;
|
|
29
|
+
}
|
|
30
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
32
|
+
$case: string;
|
|
33
|
+
} ? {
|
|
34
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
35
|
+
} & {
|
|
36
|
+
$case: T["$case"];
|
|
37
|
+
} : T extends {} ? {
|
|
38
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
39
|
+
} : Partial<T>;
|
|
40
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
41
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
42
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
43
|
+
} & {
|
|
44
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PBAvatarEmoteCommand_EmoteCommand = exports.PBAvatarEmoteCommand = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBAvatarEmoteCommand() {
|
|
11
|
+
return { emoteCommand: undefined };
|
|
12
|
+
}
|
|
13
|
+
var PBAvatarEmoteCommand;
|
|
14
|
+
(function (PBAvatarEmoteCommand) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.emoteCommand !== undefined) {
|
|
17
|
+
PBAvatarEmoteCommand_EmoteCommand.encode(message.emoteCommand, writer.uint32(10).fork()).ldelim();
|
|
18
|
+
}
|
|
19
|
+
return writer;
|
|
20
|
+
}
|
|
21
|
+
PBAvatarEmoteCommand.encode = encode;
|
|
22
|
+
function decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasePBAvatarEmoteCommand();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
case 1:
|
|
30
|
+
if (tag !== 10) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
message.emoteCommand = PBAvatarEmoteCommand_EmoteCommand.decode(reader, reader.uint32());
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
}
|
|
41
|
+
return message;
|
|
42
|
+
}
|
|
43
|
+
PBAvatarEmoteCommand.decode = decode;
|
|
44
|
+
function fromJSON(object) {
|
|
45
|
+
return {
|
|
46
|
+
emoteCommand: isSet(object.emoteCommand)
|
|
47
|
+
? PBAvatarEmoteCommand_EmoteCommand.fromJSON(object.emoteCommand)
|
|
48
|
+
: undefined,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
PBAvatarEmoteCommand.fromJSON = fromJSON;
|
|
52
|
+
function toJSON(message) {
|
|
53
|
+
const obj = {};
|
|
54
|
+
message.emoteCommand !== undefined &&
|
|
55
|
+
(obj.emoteCommand = message.emoteCommand
|
|
56
|
+
? PBAvatarEmoteCommand_EmoteCommand.toJSON(message.emoteCommand)
|
|
57
|
+
: undefined);
|
|
58
|
+
return obj;
|
|
59
|
+
}
|
|
60
|
+
PBAvatarEmoteCommand.toJSON = toJSON;
|
|
61
|
+
function create(base) {
|
|
62
|
+
return PBAvatarEmoteCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
63
|
+
}
|
|
64
|
+
PBAvatarEmoteCommand.create = create;
|
|
65
|
+
function fromPartial(object) {
|
|
66
|
+
const message = createBasePBAvatarEmoteCommand();
|
|
67
|
+
message.emoteCommand = (object.emoteCommand !== undefined && object.emoteCommand !== null)
|
|
68
|
+
? PBAvatarEmoteCommand_EmoteCommand.fromPartial(object.emoteCommand)
|
|
69
|
+
: undefined;
|
|
70
|
+
return message;
|
|
71
|
+
}
|
|
72
|
+
PBAvatarEmoteCommand.fromPartial = fromPartial;
|
|
73
|
+
})(PBAvatarEmoteCommand || (exports.PBAvatarEmoteCommand = PBAvatarEmoteCommand = {}));
|
|
74
|
+
function createBasePBAvatarEmoteCommand_EmoteCommand() {
|
|
75
|
+
return { emoteUrn: "", loop: false };
|
|
76
|
+
}
|
|
77
|
+
var PBAvatarEmoteCommand_EmoteCommand;
|
|
78
|
+
(function (PBAvatarEmoteCommand_EmoteCommand) {
|
|
79
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
80
|
+
if (message.emoteUrn !== "") {
|
|
81
|
+
writer.uint32(10).string(message.emoteUrn);
|
|
82
|
+
}
|
|
83
|
+
if (message.loop === true) {
|
|
84
|
+
writer.uint32(16).bool(message.loop);
|
|
85
|
+
}
|
|
86
|
+
return writer;
|
|
87
|
+
}
|
|
88
|
+
PBAvatarEmoteCommand_EmoteCommand.encode = encode;
|
|
89
|
+
function decode(input, length) {
|
|
90
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
91
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
92
|
+
const message = createBasePBAvatarEmoteCommand_EmoteCommand();
|
|
93
|
+
while (reader.pos < end) {
|
|
94
|
+
const tag = reader.uint32();
|
|
95
|
+
switch (tag >>> 3) {
|
|
96
|
+
case 1:
|
|
97
|
+
if (tag !== 10) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
message.emoteUrn = reader.string();
|
|
101
|
+
continue;
|
|
102
|
+
case 2:
|
|
103
|
+
if (tag !== 16) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
message.loop = reader.bool();
|
|
107
|
+
continue;
|
|
108
|
+
}
|
|
109
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
reader.skipType(tag & 7);
|
|
113
|
+
}
|
|
114
|
+
return message;
|
|
115
|
+
}
|
|
116
|
+
PBAvatarEmoteCommand_EmoteCommand.decode = decode;
|
|
117
|
+
function fromJSON(object) {
|
|
118
|
+
return {
|
|
119
|
+
emoteUrn: isSet(object.emoteUrn) ? String(object.emoteUrn) : "",
|
|
120
|
+
loop: isSet(object.loop) ? Boolean(object.loop) : false,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
PBAvatarEmoteCommand_EmoteCommand.fromJSON = fromJSON;
|
|
124
|
+
function toJSON(message) {
|
|
125
|
+
const obj = {};
|
|
126
|
+
message.emoteUrn !== undefined && (obj.emoteUrn = message.emoteUrn);
|
|
127
|
+
message.loop !== undefined && (obj.loop = message.loop);
|
|
128
|
+
return obj;
|
|
129
|
+
}
|
|
130
|
+
PBAvatarEmoteCommand_EmoteCommand.toJSON = toJSON;
|
|
131
|
+
function create(base) {
|
|
132
|
+
return PBAvatarEmoteCommand_EmoteCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
133
|
+
}
|
|
134
|
+
PBAvatarEmoteCommand_EmoteCommand.create = create;
|
|
135
|
+
function fromPartial(object) {
|
|
136
|
+
var _a, _b;
|
|
137
|
+
const message = createBasePBAvatarEmoteCommand_EmoteCommand();
|
|
138
|
+
message.emoteUrn = (_a = object.emoteUrn) !== null && _a !== void 0 ? _a : "";
|
|
139
|
+
message.loop = (_b = object.loop) !== null && _b !== void 0 ? _b : false;
|
|
140
|
+
return message;
|
|
141
|
+
}
|
|
142
|
+
PBAvatarEmoteCommand_EmoteCommand.fromPartial = fromPartial;
|
|
143
|
+
})(PBAvatarEmoteCommand_EmoteCommand || (exports.PBAvatarEmoteCommand_EmoteCommand = PBAvatarEmoteCommand_EmoteCommand = {}));
|
|
144
|
+
function isSet(value) {
|
|
145
|
+
return value !== null && value !== undefined;
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=avatar_emote_command.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_emote_command.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAe7D,SAAS,8BAA8B;IACrC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;AACrC,CAAC;AAED,IAAiB,oBAAoB,CA2DpC;AA3DD,WAAiB,oBAAoB;IACnC,SAAgB,MAAM,CAAC,OAA6B,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC5F,IAAI,OAAO,CAAC,YAAY,KAAK,SAAS,EAAE;YACtC,iCAAiC,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;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B,CAAA;AACH,CAAC,EAxEgB,iCAAiC,iDAAjC,iCAAiC,QAwEjD;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* AvatarEquipData is used to read the information about the avatar's owneables.
|
|
5
|
+
* this component is written by the engine using the communications transports'
|
|
6
|
+
* data.
|
|
7
|
+
*/
|
|
8
|
+
export interface PBAvatarEquippedData {
|
|
9
|
+
wearableUrns: string[];
|
|
10
|
+
emotesUrns: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare namespace PBAvatarEquippedData {
|
|
13
|
+
function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
|
15
|
+
function fromJSON(object: any): PBAvatarEquippedData;
|
|
16
|
+
function toJSON(message: PBAvatarEquippedData): unknown;
|
|
17
|
+
function create<I extends Exact<DeepPartial<PBAvatarEquippedData>, I>>(base?: I): PBAvatarEquippedData;
|
|
18
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarEquippedData>, I>>(object: I): PBAvatarEquippedData;
|
|
19
|
+
}
|
|
20
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
21
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
22
|
+
$case: string;
|
|
23
|
+
} ? {
|
|
24
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
25
|
+
} & {
|
|
26
|
+
$case: T["$case"];
|
|
27
|
+
} : T extends {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PBAvatarEquippedData = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBAvatarEquippedData() {
|
|
11
|
+
return { wearableUrns: [], emotesUrns: [] };
|
|
12
|
+
}
|
|
13
|
+
var PBAvatarEquippedData;
|
|
14
|
+
(function (PBAvatarEquippedData) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
for (const v of message.wearableUrns) {
|
|
17
|
+
writer.uint32(10).string(v);
|
|
18
|
+
}
|
|
19
|
+
for (const v of message.emotesUrns) {
|
|
20
|
+
writer.uint32(18).string(v);
|
|
21
|
+
}
|
|
22
|
+
return writer;
|
|
23
|
+
}
|
|
24
|
+
PBAvatarEquippedData.encode = encode;
|
|
25
|
+
function decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasePBAvatarEquippedData();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.wearableUrns.push(reader.string());
|
|
37
|
+
continue;
|
|
38
|
+
case 2:
|
|
39
|
+
if (tag !== 18) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.emotesUrns.push(reader.string());
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
reader.skipType(tag & 7);
|
|
49
|
+
}
|
|
50
|
+
return message;
|
|
51
|
+
}
|
|
52
|
+
PBAvatarEquippedData.decode = decode;
|
|
53
|
+
function fromJSON(object) {
|
|
54
|
+
return {
|
|
55
|
+
wearableUrns: Array.isArray(object === null || object === void 0 ? void 0 : object.wearableUrns) ? object.wearableUrns.map((e) => String(e)) : [],
|
|
56
|
+
emotesUrns: Array.isArray(object === null || object === void 0 ? void 0 : object.emotesUrns) ? object.emotesUrns.map((e) => String(e)) : [],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
PBAvatarEquippedData.fromJSON = fromJSON;
|
|
60
|
+
function toJSON(message) {
|
|
61
|
+
const obj = {};
|
|
62
|
+
if (message.wearableUrns) {
|
|
63
|
+
obj.wearableUrns = message.wearableUrns.map((e) => e);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
obj.wearableUrns = [];
|
|
67
|
+
}
|
|
68
|
+
if (message.emotesUrns) {
|
|
69
|
+
obj.emotesUrns = message.emotesUrns.map((e) => e);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
obj.emotesUrns = [];
|
|
73
|
+
}
|
|
74
|
+
return obj;
|
|
75
|
+
}
|
|
76
|
+
PBAvatarEquippedData.toJSON = toJSON;
|
|
77
|
+
function create(base) {
|
|
78
|
+
return PBAvatarEquippedData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
79
|
+
}
|
|
80
|
+
PBAvatarEquippedData.create = create;
|
|
81
|
+
function fromPartial(object) {
|
|
82
|
+
var _a, _b;
|
|
83
|
+
const message = createBasePBAvatarEquippedData();
|
|
84
|
+
message.wearableUrns = ((_a = object.wearableUrns) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
85
|
+
message.emotesUrns = ((_b = object.emotesUrns) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
|
|
86
|
+
return message;
|
|
87
|
+
}
|
|
88
|
+
PBAvatarEquippedData.fromPartial = fromPartial;
|
|
89
|
+
})(PBAvatarEquippedData || (exports.PBAvatarEquippedData = PBAvatarEquippedData = {}));
|
|
90
|
+
//# sourceMappingURL=avatar_equipped_data.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_equipped_data.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAY7D,SAAS,8BAA8B;IACrC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;AAC9C,CAAC;AAED,IAAiB,oBAAoB,CAyEpC;AAzED,WAAiB,oBAAoB;IACnC,SAAgB,MAAM,CAAC,OAA6B,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC5F,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,YAAY,EAAE;YACpC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAE,CAAC,CAAC;SAC9B;QACD,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,EAAE;YAClC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAE,CAAC,CAAC;SAC9B;Q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8BAA8B,EAAE,CAAC;QACjD,OAAO,CAAC,YAAY,GAAG,CAAA,MAAA,MAAM,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAChE,OAAO,CAAC,UAAU,GAAG,CAAA,MAAA,MAAM,CAAC,UAAU,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC5D,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,gCAAW,cAK1B,CAAA;AACH,CAAC,EAzEgB,oBAAoB,oCAApB,oBAAoB,QAyEpC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* PlayerIdentityData is used to read the information about the avatar's
|
|
5
|
+
* identity. this component is written by the engine using the communications
|
|
6
|
+
* transports' data.
|
|
7
|
+
*/
|
|
8
|
+
export interface PBPlayerIdentityData {
|
|
9
|
+
/** ethereum address of this player */
|
|
10
|
+
address: string;
|
|
11
|
+
isGuest: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace PBPlayerIdentityData {
|
|
14
|
+
function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
|
16
|
+
function fromJSON(object: any): PBPlayerIdentityData;
|
|
17
|
+
function toJSON(message: PBPlayerIdentityData): unknown;
|
|
18
|
+
function create<I extends Exact<DeepPartial<PBPlayerIdentityData>, I>>(base?: I): PBPlayerIdentityData;
|
|
19
|
+
function fromPartial<I extends Exact<DeepPartial<PBPlayerIdentityData>, I>>(object: I): PBPlayerIdentityData;
|
|
20
|
+
}
|
|
21
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
22
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
23
|
+
$case: string;
|
|
24
|
+
} ? {
|
|
25
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
26
|
+
} & {
|
|
27
|
+
$case: T["$case"];
|
|
28
|
+
} : T extends {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PBPlayerIdentityData = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBPlayerIdentityData() {
|
|
11
|
+
return { address: "", isGuest: false };
|
|
12
|
+
}
|
|
13
|
+
var PBPlayerIdentityData;
|
|
14
|
+
(function (PBPlayerIdentityData) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.address !== "") {
|
|
17
|
+
writer.uint32(10).string(message.address);
|
|
18
|
+
}
|
|
19
|
+
if (message.isGuest === true) {
|
|
20
|
+
writer.uint32(24).bool(message.isGuest);
|
|
21
|
+
}
|
|
22
|
+
return writer;
|
|
23
|
+
}
|
|
24
|
+
PBPlayerIdentityData.encode = encode;
|
|
25
|
+
function decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasePBPlayerIdentityData();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.address = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
case 3:
|
|
39
|
+
if (tag !== 24) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.isGuest = reader.bool();
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
reader.skipType(tag & 7);
|
|
49
|
+
}
|
|
50
|
+
return message;
|
|
51
|
+
}
|
|
52
|
+
PBPlayerIdentityData.decode = decode;
|
|
53
|
+
function fromJSON(object) {
|
|
54
|
+
return {
|
|
55
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
56
|
+
isGuest: isSet(object.isGuest) ? Boolean(object.isGuest) : false,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
PBPlayerIdentityData.fromJSON = fromJSON;
|
|
60
|
+
function toJSON(message) {
|
|
61
|
+
const obj = {};
|
|
62
|
+
message.address !== undefined && (obj.address = message.address);
|
|
63
|
+
message.isGuest !== undefined && (obj.isGuest = message.isGuest);
|
|
64
|
+
return obj;
|
|
65
|
+
}
|
|
66
|
+
PBPlayerIdentityData.toJSON = toJSON;
|
|
67
|
+
function create(base) {
|
|
68
|
+
return PBPlayerIdentityData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
69
|
+
}
|
|
70
|
+
PBPlayerIdentityData.create = create;
|
|
71
|
+
function fromPartial(object) {
|
|
72
|
+
var _a, _b;
|
|
73
|
+
const message = createBasePBPlayerIdentityData();
|
|
74
|
+
message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
|
|
75
|
+
message.isGuest = (_b = object.isGuest) !== null && _b !== void 0 ? _b : false;
|
|
76
|
+
return message;
|
|
77
|
+
}
|
|
78
|
+
PBPlayerIdentityData.fromPartial = fromPartial;
|
|
79
|
+
})(PBPlayerIdentityData || (exports.PBPlayerIdentityData = PBPlayerIdentityData = {}));
|
|
80
|
+
function isSet(value) {
|
|
81
|
+
return value !== null && value !== undefined;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=player_identity_data.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player_identity_data.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/player_identity_data.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAa7D,SAAS,8BAA8B;IACrC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AACzC,CAAC;AAED,IAAiB,oBAAoB,CAiEpC;AAjED,WAAiB,oBAAoB;IACnC,SAAgB,MAAM,CAAC,OAA6B,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC5F,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE,EAAE;YAC1B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SAC3C;QACD,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,EAAE;YAC5B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SACzC;QACD,OAAO,MAAM,CAAC;IAChB,CA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