discord-protos 1.2.208 → 1.2.209
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/discord_protos/users/v1/User.proto +1 -0
- package/discord_protos/users/v1/UserData.proto +1 -0
- package/dist/discord_protos/users/v1/User.d.ts +4 -0
- package/dist/discord_protos/users/v1/User.js +8 -1
- package/dist/discord_protos/users/v1/UserData.d.ts +4 -0
- package/dist/discord_protos/users/v1/UserData.js +8 -1
- package/package.json +1 -1
|
@@ -256,6 +256,10 @@ export interface User_DisplayNameStyles {
|
|
|
256
256
|
* @generated from protobuf field: repeated uint32 colors = 3
|
|
257
257
|
*/
|
|
258
258
|
colors: number[];
|
|
259
|
+
/**
|
|
260
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue animated = 4
|
|
261
|
+
*/
|
|
262
|
+
animated?: BoolValue;
|
|
259
263
|
}
|
|
260
264
|
/**
|
|
261
265
|
* @generated from protobuf enum discord_protos.users.v1.User.ClassificationType
|
|
@@ -3003,7 +3003,8 @@ class User_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3003
3003
|
super("discord_protos.users.v1.User.DisplayNameStyles", [
|
|
3004
3004
|
{ no: 1, name: "font_id", kind: "enum", T: () => ["discord_protos.users.v1.User.DisplayNameFont", User_DisplayNameFont, "DISPLAY_NAME_FONT_"] },
|
|
3005
3005
|
{ no: 2, name: "effect_id", kind: "enum", T: () => ["discord_protos.users.v1.User.DisplayNameEffect", User_DisplayNameEffect, "DISPLAY_NAME_EFFECT_"] },
|
|
3006
|
-
{ no: 3, name: "colors", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ }
|
|
3006
|
+
{ no: 3, name: "colors", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ },
|
|
3007
|
+
{ no: 4, name: "animated", kind: "message", T: () => wrappers_1.BoolValue }
|
|
3007
3008
|
]);
|
|
3008
3009
|
}
|
|
3009
3010
|
create(value) {
|
|
@@ -3033,6 +3034,9 @@ class User_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3033
3034
|
else
|
|
3034
3035
|
message.colors.push(reader.uint32());
|
|
3035
3036
|
break;
|
|
3037
|
+
case /* optional google.protobuf.BoolValue animated */ 4:
|
|
3038
|
+
message.animated = wrappers_1.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.animated);
|
|
3039
|
+
break;
|
|
3036
3040
|
default:
|
|
3037
3041
|
let u = options.readUnknownField;
|
|
3038
3042
|
if (u === "throw")
|
|
@@ -3058,6 +3062,9 @@ class User_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3058
3062
|
writer.uint32(message.colors[i]);
|
|
3059
3063
|
writer.join();
|
|
3060
3064
|
}
|
|
3065
|
+
/* optional google.protobuf.BoolValue animated = 4; */
|
|
3066
|
+
if (message.animated)
|
|
3067
|
+
wrappers_1.BoolValue.internalBinaryWrite(message.animated, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3061
3068
|
let u = options.writeUnknownFields;
|
|
3062
3069
|
if (u !== false)
|
|
3063
3070
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -357,6 +357,10 @@ export interface UserData_DisplayNameStyles {
|
|
|
357
357
|
* @generated from protobuf field: repeated uint32 colors = 3
|
|
358
358
|
*/
|
|
359
359
|
colors: number[];
|
|
360
|
+
/**
|
|
361
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue animated = 4
|
|
362
|
+
*/
|
|
363
|
+
animated?: BoolValue;
|
|
360
364
|
}
|
|
361
365
|
/**
|
|
362
366
|
* @generated from protobuf message discord_protos.users.v1.UserData.StoreCountry
|
|
@@ -3727,7 +3727,8 @@ class UserData_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3727
3727
|
super("discord_protos.users.v1.UserData.DisplayNameStyles", [
|
|
3728
3728
|
{ no: 1, name: "font_id", kind: "enum", T: () => ["discord_protos.users.v1.UserData.DisplayNameFont", UserData_DisplayNameFont, "DISPLAY_NAME_FONT_"] },
|
|
3729
3729
|
{ no: 2, name: "effect_id", kind: "enum", T: () => ["discord_protos.users.v1.UserData.DisplayNameEffect", UserData_DisplayNameEffect, "DISPLAY_NAME_EFFECT_"] },
|
|
3730
|
-
{ no: 3, name: "colors", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ }
|
|
3730
|
+
{ no: 3, name: "colors", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ },
|
|
3731
|
+
{ no: 4, name: "animated", kind: "message", T: () => wrappers_2.BoolValue }
|
|
3731
3732
|
]);
|
|
3732
3733
|
}
|
|
3733
3734
|
create(value) {
|
|
@@ -3757,6 +3758,9 @@ class UserData_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3757
3758
|
else
|
|
3758
3759
|
message.colors.push(reader.uint32());
|
|
3759
3760
|
break;
|
|
3761
|
+
case /* optional google.protobuf.BoolValue animated */ 4:
|
|
3762
|
+
message.animated = wrappers_2.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.animated);
|
|
3763
|
+
break;
|
|
3760
3764
|
default:
|
|
3761
3765
|
let u = options.readUnknownField;
|
|
3762
3766
|
if (u === "throw")
|
|
@@ -3782,6 +3786,9 @@ class UserData_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3782
3786
|
writer.uint32(message.colors[i]);
|
|
3783
3787
|
writer.join();
|
|
3784
3788
|
}
|
|
3789
|
+
/* optional google.protobuf.BoolValue animated = 4; */
|
|
3790
|
+
if (message.animated)
|
|
3791
|
+
wrappers_2.BoolValue.internalBinaryWrite(message.animated, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3785
3792
|
let u = options.writeUnknownFields;
|
|
3786
3793
|
if (u !== false)
|
|
3787
3794
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|