@dcl/protocol 1.0.0-16915195041.commit-e9319d0 → 1.0.0-17035288213.commit-7dae801
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/social_service/v2/social_service_v2.gen.d.ts +2 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +17 -3
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +19 -2
- package/package.json +2 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +1 -0
|
@@ -529,6 +529,8 @@ export interface JoinCommunityVoiceChatResponse_Ok {
|
|
|
529
529
|
/** Request to speak in community voice chat */
|
|
530
530
|
export interface RequestToSpeakInCommunityVoiceChatPayload {
|
|
531
531
|
communityId: string;
|
|
532
|
+
/** true to raise hand (request to speak), false to lower hand (withdraw request) */
|
|
533
|
+
isRaisingHand: boolean;
|
|
532
534
|
}
|
|
533
535
|
export interface RequestToSpeakInCommunityVoiceChatResponse {
|
|
534
536
|
response?: {
|
|
@@ -6573,7 +6573,7 @@ var JoinCommunityVoiceChatResponse_Ok;
|
|
|
6573
6573
|
JoinCommunityVoiceChatResponse_Ok.fromPartial = fromPartial;
|
|
6574
6574
|
})(JoinCommunityVoiceChatResponse_Ok || (exports.JoinCommunityVoiceChatResponse_Ok = JoinCommunityVoiceChatResponse_Ok = {}));
|
|
6575
6575
|
function createBaseRequestToSpeakInCommunityVoiceChatPayload() {
|
|
6576
|
-
return { communityId: "" };
|
|
6576
|
+
return { communityId: "", isRaisingHand: false };
|
|
6577
6577
|
}
|
|
6578
6578
|
var RequestToSpeakInCommunityVoiceChatPayload;
|
|
6579
6579
|
(function (RequestToSpeakInCommunityVoiceChatPayload) {
|
|
@@ -6581,6 +6581,9 @@ var RequestToSpeakInCommunityVoiceChatPayload;
|
|
|
6581
6581
|
if (message.communityId !== "") {
|
|
6582
6582
|
writer.uint32(10).string(message.communityId);
|
|
6583
6583
|
}
|
|
6584
|
+
if (message.isRaisingHand === true) {
|
|
6585
|
+
writer.uint32(16).bool(message.isRaisingHand);
|
|
6586
|
+
}
|
|
6584
6587
|
return writer;
|
|
6585
6588
|
}
|
|
6586
6589
|
RequestToSpeakInCommunityVoiceChatPayload.encode = encode;
|
|
@@ -6597,6 +6600,12 @@ var RequestToSpeakInCommunityVoiceChatPayload;
|
|
|
6597
6600
|
}
|
|
6598
6601
|
message.communityId = reader.string();
|
|
6599
6602
|
continue;
|
|
6603
|
+
case 2:
|
|
6604
|
+
if (tag !== 16) {
|
|
6605
|
+
break;
|
|
6606
|
+
}
|
|
6607
|
+
message.isRaisingHand = reader.bool();
|
|
6608
|
+
continue;
|
|
6600
6609
|
}
|
|
6601
6610
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6602
6611
|
break;
|
|
@@ -6607,12 +6616,16 @@ var RequestToSpeakInCommunityVoiceChatPayload;
|
|
|
6607
6616
|
}
|
|
6608
6617
|
RequestToSpeakInCommunityVoiceChatPayload.decode = decode;
|
|
6609
6618
|
function fromJSON(object) {
|
|
6610
|
-
return {
|
|
6619
|
+
return {
|
|
6620
|
+
communityId: isSet(object.communityId) ? String(object.communityId) : "",
|
|
6621
|
+
isRaisingHand: isSet(object.isRaisingHand) ? Boolean(object.isRaisingHand) : false,
|
|
6622
|
+
};
|
|
6611
6623
|
}
|
|
6612
6624
|
RequestToSpeakInCommunityVoiceChatPayload.fromJSON = fromJSON;
|
|
6613
6625
|
function toJSON(message) {
|
|
6614
6626
|
const obj = {};
|
|
6615
6627
|
message.communityId !== undefined && (obj.communityId = message.communityId);
|
|
6628
|
+
message.isRaisingHand !== undefined && (obj.isRaisingHand = message.isRaisingHand);
|
|
6616
6629
|
return obj;
|
|
6617
6630
|
}
|
|
6618
6631
|
RequestToSpeakInCommunityVoiceChatPayload.toJSON = toJSON;
|
|
@@ -6621,9 +6634,10 @@ var RequestToSpeakInCommunityVoiceChatPayload;
|
|
|
6621
6634
|
}
|
|
6622
6635
|
RequestToSpeakInCommunityVoiceChatPayload.create = create;
|
|
6623
6636
|
function fromPartial(object) {
|
|
6624
|
-
var _a;
|
|
6637
|
+
var _a, _b;
|
|
6625
6638
|
const message = createBaseRequestToSpeakInCommunityVoiceChatPayload();
|
|
6626
6639
|
message.communityId = (_a = object.communityId) !== null && _a !== void 0 ? _a : "";
|
|
6640
|
+
message.isRaisingHand = (_b = object.isRaisingHand) !== null && _b !== void 0 ? _b : false;
|
|
6627
6641
|
return message;
|
|
6628
6642
|
}
|
|
6629
6643
|
RequestToSpeakInCommunityVoiceChatPayload.fromPartial = fromPartial;
|