import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
//#region src/generated/web/v2/tiktok-schema.ts
const protobufPackage = "TikTok";
let AuditStatus = /* @__PURE__ */ function(AuditStatus) {
	AuditStatus[AuditStatus["AUDITSTATUSUNKNOWN"] = 0] = "AUDITSTATUSUNKNOWN";
	AuditStatus[AuditStatus["AUDITSTATUSPASS"] = 1] = "AUDITSTATUSPASS";
	AuditStatus[AuditStatus["AUDITSTATUSFAILED"] = 2] = "AUDITSTATUSFAILED";
	AuditStatus[AuditStatus["AUDITSTATUSREVIEWING"] = 3] = "AUDITSTATUSREVIEWING";
	AuditStatus[AuditStatus["AUDITSTATUSFORBIDDEN"] = 4] = "AUDITSTATUSFORBIDDEN";
	AuditStatus[AuditStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return AuditStatus;
}({});
let EmoteType = /* @__PURE__ */ function(EmoteType) {
	EmoteType[EmoteType["EMOTETYPENORMAL"] = 0] = "EMOTETYPENORMAL";
	EmoteType[EmoteType["EMOTETYPEWITHSTICKER"] = 1] = "EMOTETYPEWITHSTICKER";
	EmoteType[EmoteType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmoteType;
}({});
let ContentSource = /* @__PURE__ */ function(ContentSource) {
	ContentSource[ContentSource["CONTENTSOURCEUNKNOWN"] = 0] = "CONTENTSOURCEUNKNOWN";
	ContentSource[ContentSource["CONTENTSOURCENORMAL"] = 1] = "CONTENTSOURCENORMAL";
	ContentSource[ContentSource["CONTENTSOURCECAMERA"] = 2] = "CONTENTSOURCECAMERA";
	ContentSource[ContentSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ContentSource;
}({});
let EmotePrivateType = /* @__PURE__ */ function(EmotePrivateType) {
	EmotePrivateType[EmotePrivateType["EMOTE_PRIVATE_TYPE_NORMAL"] = 0] = "EMOTE_PRIVATE_TYPE_NORMAL";
	EmotePrivateType[EmotePrivateType["EMOTE_PRIVATE_TYPE_SUB_WAVE"] = 1] = "EMOTE_PRIVATE_TYPE_SUB_WAVE";
	EmotePrivateType[EmotePrivateType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmotePrivateType;
}({});
let TextType = /* @__PURE__ */ function(TextType) {
	TextType[TextType["DISPLAY_TEXT"] = 0] = "DISPLAY_TEXT";
	TextType[TextType["CONTENT"] = 1] = "CONTENT";
	TextType[TextType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TextType;
}({});
let LinkmicApplierSortSetting = /* @__PURE__ */ function(LinkmicApplierSortSetting) {
	LinkmicApplierSortSetting[LinkmicApplierSortSetting["LINKMIC_APPLIER_SORT_SETTING_NONE"] = 0] = "LINKMIC_APPLIER_SORT_SETTING_NONE";
	LinkmicApplierSortSetting[LinkmicApplierSortSetting["LINKMIC_APPLIER_SORT_SETTING_BY_GIFT_SCORE"] = 1] = "LINKMIC_APPLIER_SORT_SETTING_BY_GIFT_SCORE";
	LinkmicApplierSortSetting[LinkmicApplierSortSetting["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicApplierSortSetting;
}({});
let HashtagNamespace = /* @__PURE__ */ function(HashtagNamespace) {
	HashtagNamespace[HashtagNamespace["GLOBAL"] = 0] = "GLOBAL";
	HashtagNamespace[HashtagNamespace["GAMING"] = 1] = "GAMING";
	HashtagNamespace[HashtagNamespace["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return HashtagNamespace;
}({});
let AgreeStatus = /* @__PURE__ */ function(AgreeStatus) {
	AgreeStatus[AgreeStatus["AGREE_UNKNOWN"] = 0] = "AGREE_UNKNOWN";
	AgreeStatus[AgreeStatus["AGREE"] = 1] = "AGREE";
	AgreeStatus[AgreeStatus["REJECT"] = 2] = "REJECT";
	AgreeStatus[AgreeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return AgreeStatus;
}({});
let KickoutReason = /* @__PURE__ */ function(KickoutReason) {
	KickoutReason[KickoutReason["KICKOUT_REASON_UNKNOWN"] = 0] = "KICKOUT_REASON_UNKNOWN";
	KickoutReason[KickoutReason["KICKOUT_REASON_FIRST_FRAME_TIMEOUT"] = 1] = "KICKOUT_REASON_FIRST_FRAME_TIMEOUT";
	KickoutReason[KickoutReason["KICKOUT_REASON_BY_HOST"] = 2] = "KICKOUT_REASON_BY_HOST";
	KickoutReason[KickoutReason["KICKOUT_REASON_RTC_LOST_CONNECTION"] = 3] = "KICKOUT_REASON_RTC_LOST_CONNECTION";
	KickoutReason[KickoutReason["KICKOUT_REASON_BY_PUNISH"] = 4] = "KICKOUT_REASON_BY_PUNISH";
	KickoutReason[KickoutReason["KICKOUT_REASON_BY_ADMIN"] = 5] = "KICKOUT_REASON_BY_ADMIN";
	KickoutReason[KickoutReason["KICKOUT_REASON_HOST_REMOVE_ALL_GUESTS"] = 6] = "KICKOUT_REASON_HOST_REMOVE_ALL_GUESTS";
	KickoutReason[KickoutReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return KickoutReason;
}({});
let GroupStatus = /* @__PURE__ */ function(GroupStatus) {
	GroupStatus[GroupStatus["GROUP_STATUS_UNKNOWN"] = 0] = "GROUP_STATUS_UNKNOWN";
	GroupStatus[GroupStatus["GROUP_STATUS_WAITING"] = 1] = "GROUP_STATUS_WAITING";
	GroupStatus[GroupStatus["GROUP_STATUS_LINKED"] = 3] = "GROUP_STATUS_LINKED";
	GroupStatus[GroupStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GroupStatus;
}({});
let BusinessCase = /* @__PURE__ */ function(BusinessCase) {
	BusinessCase[BusinessCase["BUSINESS_NOT_SET"] = 0] = "BUSINESS_NOT_SET";
	BusinessCase[BusinessCase["APPLY_BIZ_CONTENT"] = 1] = "APPLY_BIZ_CONTENT";
	BusinessCase[BusinessCase["INVITE_BIZ_CONTENT"] = 2] = "INVITE_BIZ_CONTENT";
	BusinessCase[BusinessCase["REPLY_BIZ_CONTENT"] = 3] = "REPLY_BIZ_CONTENT";
	BusinessCase[BusinessCase["PERMIT_BIZ_CONTENT"] = 4] = "PERMIT_BIZ_CONTENT";
	BusinessCase[BusinessCase["JOIN_DIRECT_BIZ_CONTENT"] = 5] = "JOIN_DIRECT_BIZ_CONTENT";
	BusinessCase[BusinessCase["KICK_OUT_BIZ_CONTENT"] = 6] = "KICK_OUT_BIZ_CONTENT";
	BusinessCase[BusinessCase["LIST_CHANGE_BIZ_CONTENT"] = 11] = "LIST_CHANGE_BIZ_CONTENT";
	BusinessCase[BusinessCase["MULTI_LIVE_CONTENT"] = 100] = "MULTI_LIVE_CONTENT";
	BusinessCase[BusinessCase["COHOST_CONTENT"] = 200] = "COHOST_CONTENT";
	BusinessCase[BusinessCase["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BusinessCase;
}({});
let ReplyStatus = /* @__PURE__ */ function(ReplyStatus) {
	ReplyStatus[ReplyStatus["REPLY_STATUS_UNKNOWN"] = 0] = "REPLY_STATUS_UNKNOWN";
	ReplyStatus[ReplyStatus["REPLY_STATUS_AGREE"] = 1] = "REPLY_STATUS_AGREE";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_PERSONALLY"] = 2] = "REPLY_STATUS_REFUSE_PERSONALLY";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_TYPE_NOT_SUPPORT"] = 3] = "REPLY_STATUS_REFUSE_TYPE_NOT_SUPPORT";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_PROCESSING_INVITATION"] = 4] = "REPLY_STATUS_REFUSE_PROCESSING_INVITATION";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_BY_TIMEOUT"] = 5] = "REPLY_STATUS_REFUSE_BY_TIMEOUT";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_EXCEPTION"] = 6] = "REPLY_STATUS_REFUSE_EXCEPTION";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_SYSTEM_NOT_SUPPORTED"] = 7] = "REPLY_STATUS_REFUSE_SYSTEM_NOT_SUPPORTED";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_SUBTYPE_DIFFERENCE"] = 8] = "REPLY_STATUS_REFUSE_SUBTYPE_DIFFERENCE";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_IN_MICROOM"] = 9] = "REPLY_STATUS_REFUSE_IN_MICROOM";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_NOT_LOAD_PLUGIN"] = 10] = "REPLY_STATUS_REFUSE_NOT_LOAD_PLUGIN";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_IN_MULTI_GUEST"] = 11] = "REPLY_STATUS_REFUSE_IN_MULTI_GUEST";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_PAUSE_LIVE"] = 12] = "REPLY_STATUS_REFUSE_PAUSE_LIVE";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_OPEN_CAMERA_DIALOG_SHOWING"] = 13] = "REPLY_STATUS_REFUSE_OPEN_CAMERA_DIALOG_SHOWING";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_DRAW_GUESSING"] = 14] = "REPLY_STATUS_REFUSE_DRAW_GUESSING";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_RANDOM_MATCHING"] = 15] = "REPLY_STATUS_REFUSE_RANDOM_MATCHING";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_IN_MATCH_PROCESSING"] = 16] = "REPLY_STATUS_REFUSE_IN_MATCH_PROCESSING";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_IN_MICROOM_FOR_MULTI_COHOST"] = 17] = "REPLY_STATUS_REFUSE_IN_MICROOM_FOR_MULTI_COHOST";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_COHOST_FINISHED"] = 18] = "REPLY_STATUS_REFUSE_COHOST_FINISHED";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_NOT_CONNECTED"] = 19] = "REPLY_STATUS_REFUSE_NOT_CONNECTED";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_LINKMIC_FULL"] = 20] = "REPLY_STATUS_REFUSE_LINKMIC_FULL";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_ARC_INCOMPATIBLE"] = 21] = "REPLY_STATUS_REFUSE_ARC_INCOMPATIBLE";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_PROCESSING_OTHER_INVITE"] = 22] = "REPLY_STATUS_REFUSE_PROCESSING_OTHER_INVITE";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_PROCESSING_OTHER_APPLY"] = 23] = "REPLY_STATUS_REFUSE_PROCESSING_OTHER_APPLY";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_IN_ANCHOR_COHOST"] = 24] = "REPLY_STATUS_REFUSE_IN_ANCHOR_COHOST";
	ReplyStatus[ReplyStatus["REPLY_STATUS_REFUSE_TOPIC_PAIRING"] = 25] = "REPLY_STATUS_REFUSE_TOPIC_PAIRING";
	ReplyStatus[ReplyStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ReplyStatus;
}({});
let SubscribeType = /* @__PURE__ */ function(SubscribeType) {
	SubscribeType[SubscribeType["SUBSCRIBETYPE_ONCE"] = 0] = "SUBSCRIBETYPE_ONCE";
	SubscribeType[SubscribeType["SUBSCRIBETYPE_AUTO"] = 1] = "SUBSCRIBETYPE_AUTO";
	SubscribeType[SubscribeType["SUBSCRIBETYPE_DEFAULT"] = 100] = "SUBSCRIBETYPE_DEFAULT";
	SubscribeType[SubscribeType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubscribeType;
}({});
let OldSubscribeStatus = /* @__PURE__ */ function(OldSubscribeStatus) {
	OldSubscribeStatus[OldSubscribeStatus["OLD_SUBSCRIBE_STATUS_FIRST"] = 0] = "OLD_SUBSCRIBE_STATUS_FIRST";
	OldSubscribeStatus[OldSubscribeStatus["OLD_SUBSCRIBE_STATUS_RESUB"] = 1] = "OLD_SUBSCRIBE_STATUS_RESUB";
	OldSubscribeStatus[OldSubscribeStatus["OLD_SUBSCRIBE_STATUS_SUBIN_GRACE_PERIOD"] = 2] = "OLD_SUBSCRIBE_STATUS_SUBIN_GRACE_PERIOD";
	OldSubscribeStatus[OldSubscribeStatus["OLD_SUBSCRIBE_STATUS_SUB_NOTIN_GRACE_PERIOD"] = 3] = "OLD_SUBSCRIBE_STATUS_SUB_NOTIN_GRACE_PERIOD";
	OldSubscribeStatus[OldSubscribeStatus["OLD_SUBSCRIBE_STATUS_DEFAULT"] = 100] = "OLD_SUBSCRIBE_STATUS_DEFAULT";
	OldSubscribeStatus[OldSubscribeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return OldSubscribeStatus;
}({});
let SubscribingStatus = /* @__PURE__ */ function(SubscribingStatus) {
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_UNKNOWN"] = 0] = "SUBSCRIBING_STATUS_UNKNOWN";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_ONCE"] = 1] = "SUBSCRIBING_STATUS_ONCE";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_CIRCLE"] = 2] = "SUBSCRIBING_STATUS_CIRCLE";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_CIRCLE_CANCEL"] = 3] = "SUBSCRIBING_STATUS_CIRCLE_CANCEL";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_REFUND"] = 4] = "SUBSCRIBING_STATUS_REFUND";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_IN_GRACE_PERIOD"] = 5] = "SUBSCRIBING_STATUS_IN_GRACE_PERIOD";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_NOT_IN_GRACE_PERIOD"] = 6] = "SUBSCRIBING_STATUS_NOT_IN_GRACE_PERIOD";
	SubscribingStatus[SubscribingStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubscribingStatus;
}({});
let LinkmicStatus = /* @__PURE__ */ function(LinkmicStatus) {
	LinkmicStatus[LinkmicStatus["Disable"] = 0] = "Disable";
	LinkmicStatus[LinkmicStatus["Enable"] = 1] = "Enable";
	LinkmicStatus[LinkmicStatus["Just_Following"] = 2] = "Just_Following";
	LinkmicStatus[LinkmicStatus["Multi_Linking"] = 3] = "Multi_Linking";
	LinkmicStatus[LinkmicStatus["Multi_Linking_Only_Following"] = 4] = "Multi_Linking_Only_Following";
	LinkmicStatus[LinkmicStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicStatus;
}({});
let MemberMessageAction = /* @__PURE__ */ function(MemberMessageAction) {
	MemberMessageAction[MemberMessageAction["UNKNOWN"] = 0] = "UNKNOWN";
	/** JOINED - User Joined the Stream */
	MemberMessageAction[MemberMessageAction["JOINED"] = 1] = "JOINED";
	/** SUBSCRIBED - User Subscribed to the Host */
	MemberMessageAction[MemberMessageAction["SUBSCRIBED"] = 3] = "SUBSCRIBED";
	MemberMessageAction[MemberMessageAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MemberMessageAction;
}({});
let ControlAction = /* @__PURE__ */ function(ControlAction) {
	ControlAction[ControlAction["CONTROL_ACTION_FALLBACK_UNKNOWN"] = 0] = "CONTROL_ACTION_FALLBACK_UNKNOWN";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_PAUSED"] = 1] = "CONTROL_ACTION_STREAM_PAUSED";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_UNPAUSED"] = 2] = "CONTROL_ACTION_STREAM_UNPAUSED";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_ENDED"] = 3] = "CONTROL_ACTION_STREAM_ENDED";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_SUSPENDED"] = 4] = "CONTROL_ACTION_STREAM_SUSPENDED";
	ControlAction[ControlAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ControlAction;
}({});
let LinkLayerMessageType = /* @__PURE__ */ function(LinkLayerMessageType) {
	LinkLayerMessageType[LinkLayerMessageType["Linker_Unknown"] = 0] = "Linker_Unknown";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Create"] = 1] = "Linker_Create";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Invite"] = 2] = "Linker_Invite";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Apply"] = 3] = "Linker_Apply";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Permit"] = 4] = "Linker_Permit";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Reply"] = 5] = "Linker_Reply";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Kick_Out"] = 6] = "Linker_Kick_Out";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Cancel_Apply"] = 7] = "Linker_Cancel_Apply";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Cancel_Invite"] = 8] = "Linker_Cancel_Invite";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Leave"] = 9] = "Linker_Leave";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Finish"] = 10] = "Linker_Finish";
	LinkLayerMessageType[LinkLayerMessageType["Linker_List_Change"] = 11] = "Linker_List_Change";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Join_Direct"] = 12] = "Linker_Join_Direct";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Join_Group"] = 13] = "Linker_Join_Group";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Permit_Group"] = 14] = "Linker_Permit_Group";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Cancel_Group"] = 15] = "Linker_Cancel_Group";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Leave_Group"] = 16] = "Linker_Leave_Group";
	LinkLayerMessageType[LinkLayerMessageType["Linker_P2P_Group_Change"] = 17] = "Linker_P2P_Group_Change";
	LinkLayerMessageType[LinkLayerMessageType["Linker_Group_Change"] = 18] = "Linker_Group_Change";
	LinkLayerMessageType[LinkLayerMessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkLayerMessageType;
}({});
let BarrageType = /* @__PURE__ */ function(BarrageType) {
	BarrageType[BarrageType["BarrageType_Unknown"] = 0] = "BarrageType_Unknown";
	BarrageType[BarrageType["EComOrdering"] = 1] = "EComOrdering";
	BarrageType[BarrageType["EComBuying"] = 2] = "EComBuying";
	BarrageType[BarrageType["Normal"] = 3] = "Normal";
	BarrageType[BarrageType["Subscribe"] = 4] = "Subscribe";
	BarrageType[BarrageType["EventView"] = 5] = "EventView";
	BarrageType[BarrageType["EventRegistered"] = 6] = "EventRegistered";
	BarrageType[BarrageType["SubscribeGift"] = 7] = "SubscribeGift";
	BarrageType[BarrageType["UserUpgrade"] = 8] = "UserUpgrade";
	BarrageType[BarrageType["GradeUserEntranceNotification"] = 9] = "GradeUserEntranceNotification";
	BarrageType[BarrageType["FansLevelUpgrade"] = 10] = "FansLevelUpgrade";
	BarrageType[BarrageType["FansLevelEntrance"] = 11] = "FansLevelEntrance";
	BarrageType[BarrageType["GamePartnership"] = 12] = "GamePartnership";
	BarrageType[BarrageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BarrageType;
}({});
let EnvelopeBusinessType = /* @__PURE__ */ function(EnvelopeBusinessType) {
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypeUnknown"] = 0] = "BusinessTypeUnknown";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypeUserDiamond"] = 1] = "BusinessTypeUserDiamond";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypePlatformDiamond"] = 2] = "BusinessTypePlatformDiamond";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypePlatformShell"] = 3] = "BusinessTypePlatformShell";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypePortal"] = 4] = "BusinessTypePortal";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypePlatformMerch"] = 5] = "BusinessTypePlatformMerch";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypeEoYDiamond"] = 6] = "BusinessTypeEoYDiamond";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypeFanClubGtM"] = 7] = "BusinessTypeFanClubGtM";
	EnvelopeBusinessType[EnvelopeBusinessType["BusinessTypeSuperFanBox"] = 19] = "BusinessTypeSuperFanBox";
	EnvelopeBusinessType[EnvelopeBusinessType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EnvelopeBusinessType;
}({});
let EnvelopeFollowShowStatus = /* @__PURE__ */ function(EnvelopeFollowShowStatus) {
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["ENVELOPE_FOLLOW_SHOW_STATUS_ENVELOPE_FOLLOW_SHOW_UNKNOWN"] = 0] = "ENVELOPE_FOLLOW_SHOW_STATUS_ENVELOPE_FOLLOW_SHOW_UNKNOWN";
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["ENVELOPE_FOLLOW_SHOW_STATUS_ENVELOPE_FOLLOW_SHOW"] = 1] = "ENVELOPE_FOLLOW_SHOW_STATUS_ENVELOPE_FOLLOW_SHOW";
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["ENVELOPE_FOLLOW_SHOW_STATUS_ENVELOPE_FOLLOW_NOT_SHOW"] = 2] = "ENVELOPE_FOLLOW_SHOW_STATUS_ENVELOPE_FOLLOW_NOT_SHOW";
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EnvelopeFollowShowStatus;
}({});
let EnvelopeDisplay = /* @__PURE__ */ function(EnvelopeDisplay) {
	EnvelopeDisplay[EnvelopeDisplay["ENVELOPE_DISPLAY_UNKNOWN"] = 0] = "ENVELOPE_DISPLAY_UNKNOWN";
	EnvelopeDisplay[EnvelopeDisplay["ENVELOPE_DISPLAY_NEW"] = 1] = "ENVELOPE_DISPLAY_NEW";
	EnvelopeDisplay[EnvelopeDisplay["ENVELOPE_DISPLAY_HIDE"] = 2] = "ENVELOPE_DISPLAY_HIDE";
	EnvelopeDisplay[EnvelopeDisplay["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EnvelopeDisplay;
}({});
let CommonContentCase = /* @__PURE__ */ function(CommonContentCase) {
	CommonContentCase[CommonContentCase["COMMON_CONTENT_NOT_SET"] = 0] = "COMMON_CONTENT_NOT_SET";
	CommonContentCase[CommonContentCase["CREATE_CHANNEL_CONTENT"] = 100] = "CREATE_CHANNEL_CONTENT";
	CommonContentCase[CommonContentCase["LIST_CHANGE_CONTENT"] = 102] = "LIST_CHANGE_CONTENT";
	CommonContentCase[CommonContentCase["INVITE_CONTENT"] = 103] = "INVITE_CONTENT";
	CommonContentCase[CommonContentCase["APPLY_CONTENT"] = 104] = "APPLY_CONTENT";
	CommonContentCase[CommonContentCase["PERMIT_APPLY_CONTENT"] = 105] = "PERMIT_APPLY_CONTENT";
	CommonContentCase[CommonContentCase["REPLY_INVITE_CONTENT"] = 106] = "REPLY_INVITE_CONTENT";
	CommonContentCase[CommonContentCase["KICK_OUT_CONTENT"] = 107] = "KICK_OUT_CONTENT";
	CommonContentCase[CommonContentCase["CANCEL_APPLY_CONTENT"] = 108] = "CANCEL_APPLY_CONTENT";
	CommonContentCase[CommonContentCase["CANCEL_INVITE_CONTENT"] = 109] = "CANCEL_INVITE_CONTENT";
	CommonContentCase[CommonContentCase["LEAVE_CONTENT"] = 110] = "LEAVE_CONTENT";
	CommonContentCase[CommonContentCase["FINISH_CONTENT"] = 111] = "FINISH_CONTENT";
	CommonContentCase[CommonContentCase["JOIN_DIRECT_CONTENT"] = 112] = "JOIN_DIRECT_CONTENT";
	CommonContentCase[CommonContentCase["JOIN_GROUP_CONTENT"] = 113] = "JOIN_GROUP_CONTENT";
	CommonContentCase[CommonContentCase["PERMIT_GROUP_CONTENT"] = 114] = "PERMIT_GROUP_CONTENT";
	CommonContentCase[CommonContentCase["CANCEL_GROUP_CONTENT"] = 115] = "CANCEL_GROUP_CONTENT";
	CommonContentCase[CommonContentCase["LEAVE_GROUP_CONTENT"] = 116] = "LEAVE_GROUP_CONTENT";
	CommonContentCase[CommonContentCase["P2P_GROUP_CHANGE_CONTENT"] = 117] = "P2P_GROUP_CHANGE_CONTENT";
	CommonContentCase[CommonContentCase["GROUP_CHANGE_CONTENT"] = 118] = "GROUP_CHANGE_CONTENT";
	CommonContentCase[CommonContentCase["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CommonContentCase;
}({});
let LinkMessageType = /* @__PURE__ */ function(LinkMessageType) {
	LinkMessageType[LinkMessageType["TYPE_LINKER_UNKNOWN"] = 0] = "TYPE_LINKER_UNKNOWN";
	LinkMessageType[LinkMessageType["TYPE_LINKER_CREATE"] = 1] = "TYPE_LINKER_CREATE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_CLOSE"] = 2] = "TYPE_LINKER_CLOSE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_INVITE"] = 3] = "TYPE_LINKER_INVITE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_APPLY"] = 4] = "TYPE_LINKER_APPLY";
	LinkMessageType[LinkMessageType["TYPE_LINKER_REPLY"] = 5] = "TYPE_LINKER_REPLY";
	LinkMessageType[LinkMessageType["TYPE_LINKER_ENTER"] = 6] = "TYPE_LINKER_ENTER";
	LinkMessageType[LinkMessageType["TYPE_LINKER_LEAVE"] = 7] = "TYPE_LINKER_LEAVE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_PERMIT"] = 8] = "TYPE_LINKER_PERMIT";
	LinkMessageType[LinkMessageType["TYPE_LINKER_CANCEL_INVITE"] = 9] = "TYPE_LINKER_CANCEL_INVITE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_WAITING_LIST_CHANGE"] = 10] = "TYPE_LINKER_WAITING_LIST_CHANGE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_LINKED_LIST_CHANGE"] = 11] = "TYPE_LINKER_LINKED_LIST_CHANGE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_UPDATE_USER"] = 12] = "TYPE_LINKER_UPDATE_USER";
	LinkMessageType[LinkMessageType["TYPE_LINKER_KICK_OUT"] = 13] = "TYPE_LINKER_KICK_OUT";
	LinkMessageType[LinkMessageType["TYPE_LINKER_CANCEL_APPLY"] = 14] = "TYPE_LINKER_CANCEL_APPLY";
	LinkMessageType[LinkMessageType["TYPE_LINKER_MUTE"] = 15] = "TYPE_LINKER_MUTE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_MATCH"] = 16] = "TYPE_LINKER_MATCH";
	LinkMessageType[LinkMessageType["TYPE_LINKER_UPDATE_USER_SETTING"] = 17] = "TYPE_LINKER_UPDATE_USER_SETTING";
	LinkMessageType[LinkMessageType["TYPE_LINKER_MIC_IDX_UPDATE"] = 18] = "TYPE_LINKER_MIC_IDX_UPDATE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_LEAVE_V2"] = 19] = "TYPE_LINKER_LEAVE_V2";
	LinkMessageType[LinkMessageType["TYPE_LINKER_WAITING_LIST_CHANGE_V2"] = 20] = "TYPE_LINKER_WAITING_LIST_CHANGE_V2";
	LinkMessageType[LinkMessageType["TYPE_LINKER_LINKED_LIST_CHANGE_V2"] = 21] = "TYPE_LINKER_LINKED_LIST_CHANGE_V2";
	LinkMessageType[LinkMessageType["TYPE_LINKER_COHOST_LIST_CHANGE"] = 22] = "TYPE_LINKER_COHOST_LIST_CHANGE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_MEDIA_CHANGE"] = 23] = "TYPE_LINKER_MEDIA_CHANGE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_ACCEPT_NOTICE"] = 24] = "TYPE_LINKER_ACCEPT_NOTICE";
	LinkMessageType[LinkMessageType["TYPE_LINKER_SYS_KICK_OUT"] = 101] = "TYPE_LINKER_SYS_KICK_OUT";
	LinkMessageType[LinkMessageType["TYPE_LINKMIC_USER_TOAST"] = 102] = "TYPE_LINKMIC_USER_TOAST";
	LinkMessageType[LinkMessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkMessageType;
}({});
let MessageType = /* @__PURE__ */ function(MessageType) {
	MessageType[MessageType["MESSAGE_TYPE_SUB_SUCCESS"] = 0] = "MESSAGE_TYPE_SUB_SUCCESS";
	MessageType[MessageType["MESSAGE_TYPE_ANCHOR_REMINDER"] = 1] = "MESSAGE_TYPE_ANCHOR_REMINDER";
	MessageType[MessageType["MESSAGE_TYPE_ENTER_ROOM_EXPIRE_SOON"] = 2] = "MESSAGE_TYPE_ENTER_ROOM_EXPIRE_SOON";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GOAL_CREATE_TO_ANCHOR"] = 3] = "MESSAGE_TYPE_SUB_GOAL_CREATE_TO_ANCHOR";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GOAL_COMPLETE_TO_AUDIENCE"] = 4] = "MESSAGE_TYPE_SUB_GOAL_COMPLETE_TO_AUDIENCE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GOAL_COMPLETE_TO_ANCHOR"] = 5] = "MESSAGE_TYPE_SUB_GOAL_COMPLETE_TO_ANCHOR";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFT_TIK_TOK_2_USER_NOTICE"] = 6] = "MESSAGE_TYPE_SUB_GIFT_TIK_TOK_2_USER_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFT_TIK_TOK_2_ANCHOR_NOTICE"] = 7] = "MESSAGE_TYPE_SUB_GIFT_TIK_TOK_2_ANCHOR_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFT_T_RECEIVES_END_NOTICE"] = 8] = "MESSAGE_TYPE_SUB_GIFT_T_RECEIVES_END_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFTS_END_SUCCEED_ROOM_MESSAGE"] = 9] = "MESSAGE_TYPE_SUB_GIFTS_END_SUCCEED_ROOM_MESSAGE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFTS_END_SUCCEED_ANCHOR_NOTICE"] = 10] = "MESSAGE_TYPE_SUB_GIFTS_END_SUCCEED_ANCHOR_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFT_LOW_VERSION_UPGRADE_NOTICE"] = 11] = "MESSAGE_TYPE_SUB_GIFT_LOW_VERSION_UPGRADE_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_GIFT_USER_BUY_AU_TH_NOTICE"] = 12] = "MESSAGE_TYPE_SUB_GIFT_USER_BUY_AU_TH_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_COMMON_TEXT_NOTICE"] = 13] = "MESSAGE_TYPE_SUB_COMMON_TEXT_NOTICE";
	MessageType[MessageType["MESSAGE_TYPE_SUB_MODERATOR_PIN_PERK"] = 14] = "MESSAGE_TYPE_SUB_MODERATOR_PIN_PERK";
	MessageType[MessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MessageType;
}({});
let Scene = /* @__PURE__ */ function(Scene) {
	Scene[Scene["SCENE_UNKNOWN"] = 0] = "SCENE_UNKNOWN";
	Scene[Scene["SCENE_CO_HOST"] = 2] = "SCENE_CO_HOST";
	Scene[Scene["SCENE_MULTI_LIVE"] = 4] = "SCENE_MULTI_LIVE";
	Scene[Scene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Scene;
}({});
let RewardCondition = /* @__PURE__ */ function(RewardCondition) {
	RewardCondition[RewardCondition["REWARD_CONDITION_SUBSCRIPTION"] = 0] = "REWARD_CONDITION_SUBSCRIPTION";
	RewardCondition[RewardCondition["REWARD_CONDITION_SUB_WAVE_CUSTOM"] = 1] = "REWARD_CONDITION_SUB_WAVE_CUSTOM";
	RewardCondition[RewardCondition["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RewardCondition;
}({});
let UserEmoteUploadSource = /* @__PURE__ */ function(UserEmoteUploadSource) {
	UserEmoteUploadSource[UserEmoteUploadSource["USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_ANCHOR"] = 0] = "USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_ANCHOR";
	UserEmoteUploadSource[UserEmoteUploadSource["USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_SUBSCRIBER"] = 1] = "USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_SUBSCRIBER";
	UserEmoteUploadSource[UserEmoteUploadSource["USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_MODERATOR"] = 2] = "USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_MODERATOR";
	UserEmoteUploadSource[UserEmoteUploadSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEmoteUploadSource;
}({});
let EmoteScene = /* @__PURE__ */ function(EmoteScene) {
	EmoteScene[EmoteScene["EMOTE_SCENE_SUBSCRIPTION"] = 0] = "EMOTE_SCENE_SUBSCRIPTION";
	EmoteScene[EmoteScene["EMOTE_SCENE_GAME"] = 1] = "EMOTE_SCENE_GAME";
	EmoteScene[EmoteScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmoteScene;
}({});
let PunishTypeId = /* @__PURE__ */ function(PunishTypeId) {
	PunishTypeId[PunishTypeId["PUNISH_TYPE_IDUN_KNOWN"] = 0] = "PUNISH_TYPE_IDUN_KNOWN";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_BAN_LINK_MIC"] = 9] = "PUNISH_TYPE_ID_BAN_LINK_MIC";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_BAN_GAME_PARTNERSHIP"] = 25] = "PUNISH_TYPE_ID_BAN_GAME_PARTNERSHIP";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_REMOVE_GAME_PARTNERSHIP"] = 26] = "PUNISH_TYPE_ID_REMOVE_GAME_PARTNERSHIP";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_BANCO_HOST_LINK_MIC"] = 55] = "PUNISH_TYPE_ID_BANCO_HOST_LINK_MIC";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_AUTHORITY_LIMIT_MATCH"] = 57] = "PUNISH_TYPE_ID_AUTHORITY_LIMIT_MATCH";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_BAN_VOICE_CHAT"] = 59] = "PUNISH_TYPE_ID_BAN_VOICE_CHAT";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_BAN_LIVE_GOAL"] = 64] = "PUNISH_TYPE_ID_BAN_LIVE_GOAL";
	PunishTypeId[PunishTypeId["PUNISH_TYPE_ID_VIEWER_LIMIT"] = 70] = "PUNISH_TYPE_ID_VIEWER_LIMIT";
	PunishTypeId[PunishTypeId["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PunishTypeId;
}({});
let MultiplierType = /* @__PURE__ */ function(MultiplierType) {
	MultiplierType[MultiplierType["MULTIPLIER_TYPE_UNSPECIFIED"] = 0] = "MULTIPLIER_TYPE_UNSPECIFIED";
	MultiplierType[MultiplierType["MULTIPLIER_TYPE_CRITICAL_STRIKE"] = 1] = "MULTIPLIER_TYPE_CRITICAL_STRIKE";
	MultiplierType[MultiplierType["MULTIPLIER_TYPE_TOP_2"] = 2] = "MULTIPLIER_TYPE_TOP_2";
	MultiplierType[MultiplierType["MULTIPLIER_TYPE_TOP_3"] = 3] = "MULTIPLIER_TYPE_TOP_3";
	MultiplierType[MultiplierType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MultiplierType;
}({});
let LinkmicGiftExpressionStrategy = /* @__PURE__ */ function(LinkmicGiftExpressionStrategy) {
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["LINKMIC_GIFT_EXPRESSION_STRATEGY_CONTROL_V_1"] = 0] = "LINKMIC_GIFT_EXPRESSION_STRATEGY_CONTROL_V_1";
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["LINKMIC_GIFT_EXPRESSION_STRATEGY_EXPERIMENT_V_1"] = 1] = "LINKMIC_GIFT_EXPRESSION_STRATEGY_EXPERIMENT_V_1";
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["LINKMIC_GIFT_EXPRESSION_STRATEGY_EXPERIMENT_V_2"] = 2] = "LINKMIC_GIFT_EXPRESSION_STRATEGY_EXPERIMENT_V_2";
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicGiftExpressionStrategy;
}({});
let GiftMessageVersion = /* @__PURE__ */ function(GiftMessageVersion) {
	GiftMessageVersion[GiftMessageVersion["GIFT_MESSAGE_VERSION_0"] = 0] = "GIFT_MESSAGE_VERSION_0";
	GiftMessageVersion[GiftMessageVersion["GIFT_MESSAGE_VERSION_1"] = 1] = "GIFT_MESSAGE_VERSION_1";
	GiftMessageVersion[GiftMessageVersion["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftMessageVersion;
}({});
let TagType = /* @__PURE__ */ function(TagType) {
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_UNKNOWN"] = 0] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_UNKNOWN";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_USER_GRADE"] = 1] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_USER_GRADE";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FANS_LEVEL"] = 2] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FANS_LEVEL";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_WATCH_ME_DAYS_AGO"] = 3] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_WATCH_ME_DAYS_AGO";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_CUSTOM"] = 4] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_CUSTOM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_TITLE_GIFT"] = 5] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_TITLE_GIFT";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FIRST_JOINED_TEAM"] = 6] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FIRST_JOINED_TEAM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_PAY_ACCOMPANY_DAYS"] = 7] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_PAY_ACCOMPANY_DAYS";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_SPONSOR_GIFT_LAST_ROOM"] = 8] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_SPONSOR_GIFT_LAST_ROOM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_MATCH_MVP_LAST_ROOM"] = 9] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_MATCH_MVP_LAST_ROOM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_LARGE_AMOUNT_GIFT_LAST_ROOM"] = 10] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_LARGE_AMOUNT_GIFT_LAST_ROOM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_COMMENT_LAST_ROOM"] = 11] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_COMMENT_LAST_ROOM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_TITLED_GIFT"] = 12] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_TITLED_GIFT";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_MEET_ANNIVERSARY"] = 13] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_MEET_ANNIVERSARY";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FANS_SLEEP"] = 14] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FANS_SLEEP";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_NOT_SEND_HEART_ME"] = 15] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_NOT_SEND_HEART_ME";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_NOT_JOIN_TEAM"] = 16] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_NOT_JOIN_TEAM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FIRST_WATCH_LIVE"] = 17] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FIRST_WATCH_LIVE";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_COMMENT"] = 18] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_COMMENT";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_GIFT_TIMES"] = 19] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_GIFT_TIMES";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_WATCH_LIVE_DURATION"] = 20] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_WATCH_LIVE_DURATION";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_GIFT"] = 21] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_GIFT";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_LIVE_CONTRIBUTION_TOP"] = 22] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_RECENT_LIVE_CONTRIBUTION_TOP";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_JUST_UPGRADE"] = 28] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_JUST_UPGRADE";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FAN_TOTAL_WATCH_DURATION"] = 29] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FAN_TOTAL_WATCH_DURATION";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FAN_TOTAL_COMMENT_NUM"] = 30] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FAN_TOTAL_COMMENT_NUM";
	TagType[TagType["TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FAN_TOTAL_GIFT_SENT_NUM"] = 31] = "TAG_TYPE_CREATOR_CR_M_TAG_TYPE_FAN_TOTAL_GIFT_SENT_NUM";
	TagType[TagType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TagType;
}({});
let TopicActionType = /* @__PURE__ */ function(TopicActionType) {
	TopicActionType[TopicActionType["TOPIC_ACTION_TYPE_UNKNOWN"] = 0] = "TOPIC_ACTION_TYPE_UNKNOWN";
	TopicActionType[TopicActionType["TOPIC_ACTION_TYPE_FOLLOW"] = 1] = "TOPIC_ACTION_TYPE_FOLLOW";
	TopicActionType[TopicActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TopicActionType;
}({});
let UserMetricsType = /* @__PURE__ */ function(UserMetricsType) {
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_UNKNOWN"] = 0] = "USER_METRICS_TYPE_UNKNOWN";
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_GRADE"] = 1] = "USER_METRICS_TYPE_GRADE";
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_SUBSCRIBE"] = 2] = "USER_METRICS_TYPE_SUBSCRIBE";
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_FOLLOW"] = 3] = "USER_METRICS_TYPE_FOLLOW";
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_FANS_CLUB"] = 4] = "USER_METRICS_TYPE_FANS_CLUB";
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_TOP_VIEWER"] = 5] = "USER_METRICS_TYPE_TOP_VIEWER";
	UserMetricsType[UserMetricsType["USER_METRICS_TYPE_GIFT"] = 6] = "USER_METRICS_TYPE_GIFT";
	UserMetricsType[UserMetricsType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserMetricsType;
}({});
let GiftMessageIgnoreConfig = /* @__PURE__ */ function(GiftMessageIgnoreConfig) {
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["GIFT_MESSAGE_IGNORE_CONFIG_NOT_IGNORE"] = 0] = "GIFT_MESSAGE_IGNORE_CONFIG_NOT_IGNORE";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["GIFT_MESSAGE_IGNORE_CONFIG_IGNORE_TRAY"] = 1] = "GIFT_MESSAGE_IGNORE_CONFIG_IGNORE_TRAY";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["GIFT_MESSAGE_IGNORE_CONFIG_IGNORE_PS_M"] = 2] = "GIFT_MESSAGE_IGNORE_CONFIG_IGNORE_PS_M";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["GIFT_MESSAGE_IGNORE_CONFIG_IGNORE_TRAY_AND_PS_M"] = 3] = "GIFT_MESSAGE_IGNORE_CONFIG_IGNORE_TRAY_AND_PS_M";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftMessageIgnoreConfig;
}({});
let HorizontalOnclickTriggerType = /* @__PURE__ */ function(HorizontalOnclickTriggerType) {
	HorizontalOnclickTriggerType[HorizontalOnclickTriggerType["HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_UNKNOWN"] = 0] = "HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_UNKNOWN";
	HorizontalOnclickTriggerType[HorizontalOnclickTriggerType["HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_LEFT"] = 1] = "HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_LEFT";
	HorizontalOnclickTriggerType[HorizontalOnclickTriggerType["HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_MIDDLE"] = 2] = "HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_MIDDLE";
	HorizontalOnclickTriggerType[HorizontalOnclickTriggerType["HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_RIGHT"] = 3] = "HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_RIGHT";
	HorizontalOnclickTriggerType[HorizontalOnclickTriggerType["HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_ALL_AREA"] = 4] = "HORIZONTAL_ONCLICK_TRIGGER_TYPE_ONCLICK_TRIGGER_TYPE_ALL_AREA";
	HorizontalOnclickTriggerType[HorizontalOnclickTriggerType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return HorizontalOnclickTriggerType;
}({});
let ShowType = /* @__PURE__ */ function(ShowType) {
	ShowType[ShowType["SHOW_TYPE_NORMAL"] = 0] = "SHOW_TYPE_NORMAL";
	ShowType[ShowType["SHOW_TYPE_FADE_IN_OUT"] = 1] = "SHOW_TYPE_FADE_IN_OUT";
	ShowType[ShowType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ShowType;
}({});
let RenderType = /* @__PURE__ */ function(RenderType) {
	RenderType[RenderType["RENDER_TYPE_NATIVE"] = 0] = "RENDER_TYPE_NATIVE";
	RenderType[RenderType["RENDER_TYPE_HYBRID"] = 1] = "RENDER_TYPE_HYBRID";
	RenderType[RenderType["RENDER_TYPE_ALPHA"] = 2] = "RENDER_TYPE_ALPHA";
	RenderType[RenderType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RenderType;
}({});
let IconDisplayType = /* @__PURE__ */ function(IconDisplayType) {
	IconDisplayType[IconDisplayType["ICON_DISPLAY_TYPE_IMAGE"] = 0] = "ICON_DISPLAY_TYPE_IMAGE";
	IconDisplayType[IconDisplayType["ICON_DISPLAY_TYPE_BADGE"] = 1] = "ICON_DISPLAY_TYPE_BADGE";
	IconDisplayType[IconDisplayType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return IconDisplayType;
}({});
let CommentTag = /* @__PURE__ */ function(CommentTag) {
	CommentTag[CommentTag["COMMENT_TAG_NORMAL"] = 0] = "COMMENT_TAG_NORMAL";
	CommentTag[CommentTag["COMMENT_TAG_CANDIDATE"] = 1] = "COMMENT_TAG_CANDIDATE";
	CommentTag[CommentTag["COMMENT_TAG_OVERAGE"] = 2] = "COMMENT_TAG_OVERAGE";
	CommentTag[CommentTag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CommentTag;
}({});
let PerceptionDialogIconType = /* @__PURE__ */ function(PerceptionDialogIconType) {
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_NONE"] = 0] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_NONE";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_WARNING"] = 1] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_WARNING";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_LINK_MIC"] = 2] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_LINK_MIC";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_GUEST_LINK_MIC"] = 3] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_GUEST_LINK_MIC";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_LIVE"] = 4] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_LIVE";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_TREASURE_BOX"] = 5] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_TREASURE_BOX";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_MUTE"] = 6] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_MUTE";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_GAMEPAD_ACCESS_REVOKED"] = 7] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_GAMEPAD_ACCESS_REVOKED";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_BAN_REPORT_LIVE_SINGLE_ROOM"] = 8] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_BAN_REPORT_LIVE_SINGLE_ROOM";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_BAN_REPORT_LIVE_ALL_ROOM"] = 9] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_BAN_REPORT_LIVE_ALL_ROOM";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_BAN_REPORT_LIVE_GREEN_SCREEN"] = 10] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_BAN_REPORT_LIVE_GREEN_SCREEN";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_GIFT"] = 11] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_GIFT";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_APPEAL_SUCCESS"] = 12] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_APPEAL_SUCCESS";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_MATCH"] = 13] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_MATCH";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_LIVE_GOAL"] = 14] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_LIVE_GOAL";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_SUBSCRIPTION"] = 15] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_SUBSCRIPTION";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_STAR_COMMENT"] = 16] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_STAR_COMMENT";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_RANKING"] = 17] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_RANKING";
	PerceptionDialogIconType[PerceptionDialogIconType["PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_COMMON"] = 18] = "PERCEPTION_DIALOG_ICON_TYPE_ICON_TYPE_COMMON";
	PerceptionDialogIconType[PerceptionDialogIconType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PerceptionDialogIconType;
}({});
let GoalMessageSource = /* @__PURE__ */ function(GoalMessageSource) {
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_UNKNOWN"] = 0] = "GOAL_MESSAGE_SOURCE_UNKNOWN";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_COMMIT"] = 1] = "GOAL_MESSAGE_SOURCE_COMMIT";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_PROGRESS_UPDATE"] = 2] = "GOAL_MESSAGE_SOURCE_PROGRESS_UPDATE";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_PIN"] = 3] = "GOAL_MESSAGE_SOURCE_PIN";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_UNPIN"] = 4] = "GOAL_MESSAGE_SOURCE_UNPIN";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_REVIEW_CALLBACK"] = 5] = "GOAL_MESSAGE_SOURCE_REVIEW_CALLBACK";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_SUSPEND"] = 6] = "GOAL_MESSAGE_SOURCE_SUSPEND";
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_CHALLENGE_PROMPT"] = 7] = "GOAL_MESSAGE_SOURCE_CHALLENGE_PROMPT";
	GoalMessageSource[GoalMessageSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GoalMessageSource;
}({});
let ExhibitionType = /* @__PURE__ */ function(ExhibitionType) {
	ExhibitionType[ExhibitionType["EXHIBITION_TYPE_DEFAULT"] = 0] = "EXHIBITION_TYPE_DEFAULT";
	ExhibitionType[ExhibitionType["EXHIBITION_TYPE_FOLD"] = 1] = "EXHIBITION_TYPE_FOLD";
	ExhibitionType[ExhibitionType["EXHIBITION_TYPE_PUBLIC_SCREEN"] = 2] = "EXHIBITION_TYPE_PUBLIC_SCREEN";
	ExhibitionType[ExhibitionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ExhibitionType;
}({});
let GiftSource = /* @__PURE__ */ function(GiftSource) {
	GiftSource[GiftSource["GIFT_SOURCE_UNKNOWN"] = 0] = "GIFT_SOURCE_UNKNOWN";
	GiftSource[GiftSource["GIFT_SOURCE_PLATFORM"] = 1] = "GIFT_SOURCE_PLATFORM";
	GiftSource[GiftSource["GIFT_SOURCE_USER_BUY_RANDOM"] = 2] = "GIFT_SOURCE_USER_BUY_RANDOM";
	GiftSource[GiftSource["GIFT_SOURCE_USER_BUY_SPECIFIC"] = 3] = "GIFT_SOURCE_USER_BUY_SPECIFIC";
	GiftSource[GiftSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftSource;
}({});
let MessageDisplayStyle = /* @__PURE__ */ function(MessageDisplayStyle) {
	MessageDisplayStyle[MessageDisplayStyle["MESSAGE_DISPLAY_STYLE_DEFAULT"] = 0] = "MESSAGE_DISPLAY_STYLE_DEFAULT";
	MessageDisplayStyle[MessageDisplayStyle["MESSAGE_DISPLAY_STYLE_POPUP"] = 1] = "MESSAGE_DISPLAY_STYLE_POPUP";
	MessageDisplayStyle[MessageDisplayStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MessageDisplayStyle;
}({});
let ProfitRankType = /* @__PURE__ */ function(ProfitRankType) {
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_HOURLY_RANK"] = 0] = "PROFIT_RANK_TYPE_TYPE_HOURLY_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_RANK"] = 1] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_HOURLY_STAR_RANK"] = 2] = "PROFIT_RANK_TYPE_TYPE_HOURLY_STAR_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_RISING_RANK_ACTIVITY"] = 3] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_RISING_RANK_ACTIVITY";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_RISING_RANK"] = 4] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_RISING_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_ROOKIE"] = 5] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_ROOKIE";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_E_COMMERCE_WEEKLY"] = 6] = "PROFIT_RANK_TYPE_TYPE_E_COMMERCE_WEEKLY";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_E_COMMERCE_DAILY"] = 7] = "PROFIT_RANK_TYPE_TYPE_E_COMMERCE_DAILY";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_DAILY_RANK"] = 8] = "PROFIT_RANK_TYPE_TYPE_DAILY_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_FIRST_GIFT_RANK"] = 9] = "PROFIT_RANK_TYPE_TYPE_FIRST_GIFT_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_GAME_RANK"] = 10] = "PROFIT_RANK_TYPE_TYPE_GAME_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_DAILY_GAME"] = 11] = "PROFIT_RANK_TYPE_TYPE_DAILY_GAME";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_HALL_OF_FAME_RANK"] = 12] = "PROFIT_RANK_TYPE_TYPE_HALL_OF_FAME_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_RANK_LEAGUE"] = 13] = "PROFIT_RANK_TYPE_TYPE_RANK_LEAGUE";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_DAILY_ROOKIE"] = 14] = "PROFIT_RANK_TYPE_DAILY_ROOKIE";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_TEAM_RANK"] = 15] = "PROFIT_RANK_TYPE_TYPE_TEAM_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_CLASS_RANK"] = 16] = "PROFIT_RANK_TYPE_TYPE_CLASS_RANK";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_DAILY_GAME_PUB_G"] = 20] = "PROFIT_RANK_TYPE_TYPE_DAILY_GAME_PUB_G";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_DAILY_GAME_MLB_B"] = 21] = "PROFIT_RANK_TYPE_TYPE_DAILY_GAME_MLB_B";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_DAILY_GAME_FREE_FIRE"] = 22] = "PROFIT_RANK_TYPE_TYPE_DAILY_GAME_FREE_FIRE";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_GAME_SUBCATEGORY_ONE"] = 23] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_GAME_SUBCATEGORY_ONE";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_GAME_SUBCATEGORY_TWO"] = 24] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_GAME_SUBCATEGORY_TWO";
	ProfitRankType[ProfitRankType["PROFIT_RANK_TYPE_TYPE_WEEKLY_GAME_SUBCATEGORY_THREE"] = 25] = "PROFIT_RANK_TYPE_TYPE_WEEKLY_GAME_SUBCATEGORY_THREE";
	ProfitRankType[ProfitRankType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ProfitRankType;
}({});
let UnionAnimationInfoType = /* @__PURE__ */ function(UnionAnimationInfoType) {
	UnionAnimationInfoType[UnionAnimationInfoType["UNION_ANIMATION_INFO_TYPE_NO_UNION_ANIMATION"] = 0] = "UNION_ANIMATION_INFO_TYPE_NO_UNION_ANIMATION";
	UnionAnimationInfoType[UnionAnimationInfoType["UNION_ANIMATION_INFO_TYPE_LOOP"] = 1] = "UNION_ANIMATION_INFO_TYPE_LOOP";
	UnionAnimationInfoType[UnionAnimationInfoType["UNION_ANIMATION_INFO_TYPE_LOCK"] = 2] = "UNION_ANIMATION_INFO_TYPE_LOCK";
	UnionAnimationInfoType[UnionAnimationInfoType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UnionAnimationInfoType;
}({});
let DisplayStyle = /* @__PURE__ */ function(DisplayStyle) {
	DisplayStyle[DisplayStyle["DISPLAY_STYLE_NORMAL"] = 0] = "DISPLAY_STYLE_NORMAL";
	DisplayStyle[DisplayStyle["DISPLAY_STYLE_STAY"] = 1] = "DISPLAY_STYLE_STAY";
	DisplayStyle[DisplayStyle["DISPLAY_STYLE_CHAT"] = 2] = "DISPLAY_STYLE_CHAT";
	DisplayStyle[DisplayStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return DisplayStyle;
}({});
let HitABStatus = /* @__PURE__ */ function(HitABStatus) {
	HitABStatus[HitABStatus["HIT_A_B_STATUS_HIT_AB_STATUS_NO_HIT"] = 0] = "HIT_A_B_STATUS_HIT_AB_STATUS_NO_HIT";
	HitABStatus[HitABStatus["HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_EXTERNAL_LINK_NEW_TEXT"] = 1] = "HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_EXTERNAL_LINK_NEW_TEXT";
	HitABStatus[HitABStatus["HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_RE_POST_NEW_TEXT"] = 2] = "HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_RE_POST_NEW_TEXT";
	HitABStatus[HitABStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return HitABStatus;
}({});
let PollKind = /* @__PURE__ */ function(PollKind) {
	PollKind[PollKind["POLL_KIND_NORMAL"] = 0] = "POLL_KIND_NORMAL";
	PollKind[PollKind["POLL_KIND_GIFT"] = 1] = "POLL_KIND_GIFT";
	PollKind[PollKind["POLL_KIND_CUSTOMIZABLE"] = 2] = "POLL_KIND_CUSTOMIZABLE";
	PollKind[PollKind["POLL_KIND_CUSTOMIZABLE_GIFT"] = 3] = "POLL_KIND_CUSTOMIZABLE_GIFT";
	PollKind[PollKind["POLL_KIND_QUICK_GIFT"] = 4] = "POLL_KIND_QUICK_GIFT";
	PollKind[PollKind["POLL_KIND_EMOTE"] = 5] = "POLL_KIND_EMOTE";
	PollKind[PollKind["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollKind;
}({});
let PollTemplateStatus = /* @__PURE__ */ function(PollTemplateStatus) {
	PollTemplateStatus[PollTemplateStatus["POLL_TEMPLATE_STATUS_TO_BE_REVIEWED"] = 0] = "POLL_TEMPLATE_STATUS_TO_BE_REVIEWED";
	PollTemplateStatus[PollTemplateStatus["POLL_TEMPLATE_STATUS_UNDER_REVIEW"] = 1] = "POLL_TEMPLATE_STATUS_UNDER_REVIEW";
	PollTemplateStatus[PollTemplateStatus["POLL_TEMPLATE_STATUS_REVIEWED"] = 2] = "POLL_TEMPLATE_STATUS_REVIEWED";
	PollTemplateStatus[PollTemplateStatus["POLL_TEMPLATE_STATUS_REFUSED"] = 3] = "POLL_TEMPLATE_STATUS_REFUSED";
	PollTemplateStatus[PollTemplateStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollTemplateStatus;
}({});
let PollAppealStatus = /* @__PURE__ */ function(PollAppealStatus) {
	PollAppealStatus[PollAppealStatus["POLL_APPEAL_STATUS_UNKNOWN"] = 0] = "POLL_APPEAL_STATUS_UNKNOWN";
	PollAppealStatus[PollAppealStatus["POLL_APPEAL_STATUS_PASS"] = 1] = "POLL_APPEAL_STATUS_PASS";
	PollAppealStatus[PollAppealStatus["POLL_APPEAL_STATUS_FAIL"] = 2] = "POLL_APPEAL_STATUS_FAIL";
	PollAppealStatus[PollAppealStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollAppealStatus;
}({});
let RankTestMessageScene = /* @__PURE__ */ function(RankTestMessageScene) {
	RankTestMessageScene[RankTestMessageScene["RANK_TEST_MESSAGE_SCENE_UNKNOWN"] = 0] = "RANK_TEST_MESSAGE_SCENE_UNKNOWN";
	RankTestMessageScene[RankTestMessageScene["RANK_TEST_MESSAGE_SCENE_ONLINE_AUDIENCE_TOP_N_UPDATE_PUBLIC_SCREEN"] = 1] = "RANK_TEST_MESSAGE_SCENE_ONLINE_AUDIENCE_TOP_N_UPDATE_PUBLIC_SCREEN";
	RankTestMessageScene[RankTestMessageScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RankTestMessageScene;
}({});
let TriggerReason = /* @__PURE__ */ function(TriggerReason) {
	TriggerReason[TriggerReason["TRIGGER_REASON_UNKNOWN"] = 0] = "TRIGGER_REASON_UNKNOWN";
	TriggerReason[TriggerReason["TRIGGER_REASON_SCORE_UPDATE"] = 1] = "TRIGGER_REASON_SCORE_UPDATE";
	TriggerReason[TriggerReason["TRIGGER_REASON_BATTLE_END"] = 2] = "TRIGGER_REASON_BATTLE_END";
	TriggerReason[TriggerReason["TRIGGER_REASON_OPT_OUT_UPDATE"] = 3] = "TRIGGER_REASON_OPT_OUT_UPDATE";
	TriggerReason[TriggerReason["TRIGGER_REASON_KEEP_ALIVE"] = 4] = "TRIGGER_REASON_KEEP_ALIVE";
	TriggerReason[TriggerReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TriggerReason;
}({});
let Reason = /* @__PURE__ */ function(Reason) {
	Reason[Reason["REASON_TIME_UP"] = 0] = "REASON_TIME_UP";
	Reason[Reason["REASON_CUT_SHORT"] = 1] = "REASON_CUT_SHORT";
	Reason[Reason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Reason;
}({});
let BattleTaskMessageType = /* @__PURE__ */ function(BattleTaskMessageType) {
	BattleTaskMessageType[BattleTaskMessageType["BATTLE_TASK_MESSAGE_TYPE_START"] = 0] = "BATTLE_TASK_MESSAGE_TYPE_START";
	BattleTaskMessageType[BattleTaskMessageType["BATTLE_TASK_MESSAGE_TYPE_TASK_UPDATE"] = 1] = "BATTLE_TASK_MESSAGE_TYPE_TASK_UPDATE";
	BattleTaskMessageType[BattleTaskMessageType["BATTLE_TASK_MESSAGE_TYPE_TASK_SETTLE"] = 2] = "BATTLE_TASK_MESSAGE_TYPE_TASK_SETTLE";
	BattleTaskMessageType[BattleTaskMessageType["BATTLE_TASK_MESSAGE_TYPE_REWARD_SETTLE"] = 3] = "BATTLE_TASK_MESSAGE_TYPE_REWARD_SETTLE";
	BattleTaskMessageType[BattleTaskMessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleTaskMessageType;
}({});
let RewardStatus = /* @__PURE__ */ function(RewardStatus) {
	RewardStatus[RewardStatus["REWARD_STATUS_SUCCEED"] = 0] = "REWARD_STATUS_SUCCEED";
	RewardStatus[RewardStatus["REWARD_STATUS_FAILED"] = 1] = "REWARD_STATUS_FAILED";
	RewardStatus[RewardStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RewardStatus;
}({});
let BattleAction = /* @__PURE__ */ function(BattleAction) {
	BattleAction[BattleAction["BATTLE_ACTION_UNKNOWN"] = 0] = "BATTLE_ACTION_UNKNOWN";
	BattleAction[BattleAction["BATTLE_ACTION_INVITE"] = 1] = "BATTLE_ACTION_INVITE";
	BattleAction[BattleAction["BATTLE_ACTION_REJECT"] = 2] = "BATTLE_ACTION_REJECT";
	BattleAction[BattleAction["BATTLE_ACTION_CANCEL"] = 3] = "BATTLE_ACTION_CANCEL";
	BattleAction[BattleAction["BATTLE_ACTION_OPEN"] = 4] = "BATTLE_ACTION_OPEN";
	BattleAction[BattleAction["BATTLE_ACTION_FINISH"] = 5] = "BATTLE_ACTION_FINISH";
	BattleAction[BattleAction["BATTLE_ACTION_CUT_SHORT"] = 6] = "BATTLE_ACTION_CUT_SHORT";
	BattleAction[BattleAction["BATTLE_ACTION_ACCEPT"] = 7] = "BATTLE_ACTION_ACCEPT";
	BattleAction[BattleAction["BATTLE_ACTION_QUIT_APPLY"] = 8] = "BATTLE_ACTION_QUIT_APPLY";
	BattleAction[BattleAction["BATTLE_ACTION_DECLINE_QUIT"] = 9] = "BATTLE_ACTION_DECLINE_QUIT";
	BattleAction[BattleAction["BATTLE_ACTION_DECLINE_OFF_QUIT"] = 10] = "BATTLE_ACTION_DECLINE_OFF_QUIT";
	BattleAction[BattleAction["BATTLE_ACTION_LEAVE_LINK_MIC"] = 11] = "BATTLE_ACTION_LEAVE_LINK_MIC";
	BattleAction[BattleAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleAction;
}({});
let Result = /* @__PURE__ */ function(Result) {
	Result[Result["RESULT_WIN"] = 0] = "RESULT_WIN";
	Result[Result["RESULT_LOSE"] = 1] = "RESULT_LOSE";
	Result[Result["RESULT_DRAW"] = 2] = "RESULT_DRAW";
	Result[Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Result;
}({});
let GiftPermissionType = /* @__PURE__ */ function(GiftPermissionType) {
	GiftPermissionType[GiftPermissionType["GIFT_PERMISSION_TYPE_UNKNOWN_TYPE"] = 0] = "GIFT_PERMISSION_TYPE_UNKNOWN_TYPE";
	GiftPermissionType[GiftPermissionType["GIFT_PERMISSION_TYPE_NO_GIFT_PERMISSION"] = 1] = "GIFT_PERMISSION_TYPE_NO_GIFT_PERMISSION";
	GiftPermissionType[GiftPermissionType["GIFT_PERMISSION_TYPE_ANCHOR_CLOSE"] = 2] = "GIFT_PERMISSION_TYPE_ANCHOR_CLOSE";
	GiftPermissionType[GiftPermissionType["GIFT_PERMISSION_TYPE_HAS_GIFT_PERMISSION"] = 3] = "GIFT_PERMISSION_TYPE_HAS_GIFT_PERMISSION";
	GiftPermissionType[GiftPermissionType["GIFT_PERMISSION_TYPE_ANCHOR_BANNED"] = 4] = "GIFT_PERMISSION_TYPE_ANCHOR_BANNED";
	GiftPermissionType[GiftPermissionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftPermissionType;
}({});
let BattleABTestType = /* @__PURE__ */ function(BattleABTestType) {
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_UNKNOWN_AB_TEST_TYPE"] = 0] = "BATTLE_A_B_TEST_TYPE_UNKNOWN_AB_TEST_TYPE";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_MEANWHILE_INVITE"] = 1] = "BATTLE_A_B_TEST_TYPE_MEANWHILE_INVITE";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_SPECIFIED_GIFT"] = 2] = "BATTLE_A_B_TEST_TYPE_SPECIFIED_GIFT";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_RT_C_MESSAGE_CHANNEL"] = 3] = "BATTLE_A_B_TEST_TYPE_RT_C_MESSAGE_CHANNEL";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_CONNECTION_TIME_OUT"] = 4] = "BATTLE_A_B_TEST_TYPE_CONNECTION_TIME_OUT";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_REMATCH_SKIP_TEAMMATE"] = 5] = "BATTLE_A_B_TEST_TYPE_REMATCH_SKIP_TEAMMATE";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_OPT_INVITEE_4048"] = 6] = "BATTLE_A_B_TEST_TYPE_OPT_INVITEE_4048";
	BattleABTestType[BattleABTestType["BATTLE_A_B_TEST_TYPE_BATTLE_AB_TEST_TYPE_TIME_CALIBRATE"] = 7] = "BATTLE_A_B_TEST_TYPE_BATTLE_AB_TEST_TYPE_TIME_CALIBRATE";
	BattleABTestType[BattleABTestType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleABTestType;
}({});
let PlayScene = /* @__PURE__ */ function(PlayScene) {
	PlayScene[PlayScene["PLAY_SCENE_UNKNOWN"] = 0] = "PLAY_SCENE_UNKNOWN";
	PlayScene[PlayScene["PLAY_SCENE_COUNTDOWN_FOR_ALL"] = 1] = "PLAY_SCENE_COUNTDOWN_FOR_ALL";
	PlayScene[PlayScene["PLAY_SCENE_COUNTDOWN_FOR_SINGLE"] = 2] = "PLAY_SCENE_COUNTDOWN_FOR_SINGLE";
	PlayScene[PlayScene["PLAY_SCENE_LIVE_SHOW"] = 3] = "PLAY_SCENE_LIVE_SHOW";
	PlayScene[PlayScene["PLAY_SCENE_AIG_C"] = 4] = "PLAY_SCENE_AIG_C";
	PlayScene[PlayScene["PLAY_SCENE_KARAOKE"] = 5] = "PLAY_SCENE_KARAOKE";
	PlayScene[PlayScene["PLAY_SCENE_DRAW_GUESS"] = 6] = "PLAY_SCENE_DRAW_GUESS";
	PlayScene[PlayScene["PLAY_SCENE_ENLARGE_GRID"] = 7] = "PLAY_SCENE_ENLARGE_GRID";
	PlayScene[PlayScene["PLAY_SCENE_GIFT_PRIORITY_LINK"] = 8] = "PLAY_SCENE_GIFT_PRIORITY_LINK";
	PlayScene[PlayScene["PLAY_SCENE_GIFT_THRESHOLD_LINK"] = 9] = "PLAY_SCENE_GIFT_THRESHOLD_LINK";
	PlayScene[PlayScene["PLAY_SCENE_NOTICE_BOARD"] = 10] = "PLAY_SCENE_NOTICE_BOARD";
	PlayScene[PlayScene["PLAY_SCENE_PLAY_BOOK"] = 11] = "PLAY_SCENE_PLAY_BOOK";
	PlayScene[PlayScene["PLAY_SCENE_GUEST_SHOWDOWN"] = 12] = "PLAY_SCENE_GUEST_SHOWDOWN";
	PlayScene[PlayScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PlayScene;
}({});
let LinkType = /* @__PURE__ */ function(LinkType) {
	LinkType[LinkType["LINK_TYPE_TYPE_UNKNOWN"] = 0] = "LINK_TYPE_TYPE_UNKNOWN";
	LinkType[LinkType["LINK_TYPE_TYPE_VIDEO"] = 1] = "LINK_TYPE_TYPE_VIDEO";
	LinkType[LinkType["LINK_TYPE_TYPE_AUDIO"] = 2] = "LINK_TYPE_TYPE_AUDIO";
	LinkType[LinkType["LINK_TYPE_TYPE_VIRTUAL"] = 3] = "LINK_TYPE_TYPE_VIRTUAL";
	LinkType[LinkType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkType;
}({});
let LinkSilenceStatus = /* @__PURE__ */ function(LinkSilenceStatus) {
	LinkSilenceStatus[LinkSilenceStatus["LINK_SILENCE_STATUS_STATUS_UN_SILENCE"] = 0] = "LINK_SILENCE_STATUS_STATUS_UN_SILENCE";
	LinkSilenceStatus[LinkSilenceStatus["LINK_SILENCE_STATUS_STATUS_SILENCE_BY_SELF"] = 1] = "LINK_SILENCE_STATUS_STATUS_SILENCE_BY_SELF";
	LinkSilenceStatus[LinkSilenceStatus["LINK_SILENCE_STATUS_STATUS_SILENCE_BY_OWNER"] = 2] = "LINK_SILENCE_STATUS_STATUS_SILENCE_BY_OWNER";
	LinkSilenceStatus[LinkSilenceStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkSilenceStatus;
}({});
let LinkmicRoleType = /* @__PURE__ */ function(LinkmicRoleType) {
	LinkmicRoleType[LinkmicRoleType["LINKMIC_ROLE_TYPE_ROLE_TYPE_UNKOWN"] = 0] = "LINKMIC_ROLE_TYPE_ROLE_TYPE_UNKOWN";
	LinkmicRoleType[LinkmicRoleType["LINKMIC_ROLE_TYPE_LEADER"] = 1] = "LINKMIC_ROLE_TYPE_LEADER";
	LinkmicRoleType[LinkmicRoleType["LINKMIC_ROLE_TYPE_PLAYER"] = 2] = "LINKMIC_ROLE_TYPE_PLAYER";
	LinkmicRoleType[LinkmicRoleType["LINKMIC_ROLE_TYPE_INVITEE"] = 3] = "LINKMIC_ROLE_TYPE_INVITEE";
	LinkmicRoleType[LinkmicRoleType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicRoleType;
}({});
let LinkRoleType = /* @__PURE__ */ function(LinkRoleType) {
	LinkRoleType[LinkRoleType["LINK_ROLE_TYPE_TYPE_ROLE_TYPE_UNKOWN"] = 0] = "LINK_ROLE_TYPE_TYPE_ROLE_TYPE_UNKOWN";
	LinkRoleType[LinkRoleType["LINK_ROLE_TYPE_TYPE_LEADER"] = 1] = "LINK_ROLE_TYPE_TYPE_LEADER";
	LinkRoleType[LinkRoleType["LINK_ROLE_TYPE_TYPE_PLAYER"] = 2] = "LINK_ROLE_TYPE_TYPE_PLAYER";
	LinkRoleType[LinkRoleType["LINK_ROLE_TYPE_TYPE_INVITEE"] = 3] = "LINK_ROLE_TYPE_TYPE_INVITEE";
	LinkRoleType[LinkRoleType["LINK_ROLE_TYPE_TYPE_APPLIER"] = 4] = "LINK_ROLE_TYPE_TYPE_APPLIER";
	LinkRoleType[LinkRoleType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkRoleType;
}({});
let MuteStatus = /* @__PURE__ */ function(MuteStatus) {
	MuteStatus[MuteStatus["MUTE_STATUS_MUTE"] = 0] = "MUTE_STATUS_MUTE";
	MuteStatus[MuteStatus["MUTE_STATUS_UN_MUTE"] = 1] = "MUTE_STATUS_UN_MUTE";
	MuteStatus[MuteStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MuteStatus;
}({});
let GuestMicCameraManageOp = /* @__PURE__ */ function(GuestMicCameraManageOp) {
	GuestMicCameraManageOp[GuestMicCameraManageOp["GUEST_MIC_CAMERA_MANAGE_OP_OPEN_MIC"] = 0] = "GUEST_MIC_CAMERA_MANAGE_OP_OPEN_MIC";
	GuestMicCameraManageOp[GuestMicCameraManageOp["GUEST_MIC_CAMERA_MANAGE_OP_OPEN_CAMERA"] = 1] = "GUEST_MIC_CAMERA_MANAGE_OP_OPEN_CAMERA";
	GuestMicCameraManageOp[GuestMicCameraManageOp["GUEST_MIC_CAMERA_MANAGE_OP_CLOSE_MIC"] = 2] = "GUEST_MIC_CAMERA_MANAGE_OP_CLOSE_MIC";
	GuestMicCameraManageOp[GuestMicCameraManageOp["GUEST_MIC_CAMERA_MANAGE_OP_CLOSE_CAMERA"] = 3] = "GUEST_MIC_CAMERA_MANAGE_OP_CLOSE_CAMERA";
	GuestMicCameraManageOp[GuestMicCameraManageOp["GUEST_MIC_CAMERA_MANAGE_OP_CLOSE_MIC_PUNISH"] = 4] = "GUEST_MIC_CAMERA_MANAGE_OP_CLOSE_MIC_PUNISH";
	GuestMicCameraManageOp[GuestMicCameraManageOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GuestMicCameraManageOp;
}({});
let GuestMicCameraChangeScene = /* @__PURE__ */ function(GuestMicCameraChangeScene) {
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["GUEST_MIC_CAMERA_CHANGE_SCENE_CHANGE_SCENE_UNKNOWN"] = 0] = "GUEST_MIC_CAMERA_CHANGE_SCENE_CHANGE_SCENE_UNKNOWN";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["GUEST_MIC_CAMERA_CHANGE_SCENE_LIVE_SHOW_BY_ANCHOR_AUTO"] = 1] = "GUEST_MIC_CAMERA_CHANGE_SCENE_LIVE_SHOW_BY_ANCHOR_AUTO";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["GUEST_MIC_CAMERA_CHANGE_SCENE_LIVE_SHOW_BY_SERVER_NORMAL"] = 2] = "GUEST_MIC_CAMERA_CHANGE_SCENE_LIVE_SHOW_BY_SERVER_NORMAL";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["GUEST_MIC_CAMERA_CHANGE_SCENE_LIVE_SHOW_BY_SHOW_END"] = 3] = "GUEST_MIC_CAMERA_CHANGE_SCENE_LIVE_SHOW_BY_SHOW_END";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GuestMicCameraChangeScene;
}({});
let LinkMicUserAdminType = /* @__PURE__ */ function(LinkMicUserAdminType) {
	LinkMicUserAdminType[LinkMicUserAdminType["LINK_MIC_USER_ADMIN_TYPE_UNDEFINED_TYPE"] = 0] = "LINK_MIC_USER_ADMIN_TYPE_UNDEFINED_TYPE";
	LinkMicUserAdminType[LinkMicUserAdminType["LINK_MIC_USER_ADMIN_TYPE_MANAGER_TYPE"] = 1] = "LINK_MIC_USER_ADMIN_TYPE_MANAGER_TYPE";
	LinkMicUserAdminType[LinkMicUserAdminType["LINK_MIC_USER_ADMIN_TYPE_HOST_TYPE"] = 2] = "LINK_MIC_USER_ADMIN_TYPE_HOST_TYPE";
	LinkMicUserAdminType[LinkMicUserAdminType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkMicUserAdminType;
}({});
let LinkmicMultiLiveEnum = /* @__PURE__ */ function(LinkmicMultiLiveEnum) {
	LinkmicMultiLiveEnum[LinkmicMultiLiveEnum["LINKMIC_MULTI_LIVE_ENUM_DEFAULT"] = 0] = "LINKMIC_MULTI_LIVE_ENUM_DEFAULT";
	LinkmicMultiLiveEnum[LinkmicMultiLiveEnum["LINKMIC_MULTI_LIVE_ENUM_ANCHOR_USE_NEW_LAYOUT"] = 1] = "LINKMIC_MULTI_LIVE_ENUM_ANCHOR_USE_NEW_LAYOUT";
	LinkmicMultiLiveEnum[LinkmicMultiLiveEnum["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicMultiLiveEnum;
}({});
let PollEndType = /* @__PURE__ */ function(PollEndType) {
	PollEndType[PollEndType["POLL_END_TYPE_POLL_END_BY_TIME"] = 0] = "POLL_END_TYPE_POLL_END_BY_TIME";
	PollEndType[PollEndType["POLL_END_TYPE_POLL_END_BY_OWNER"] = 1] = "POLL_END_TYPE_POLL_END_BY_OWNER";
	PollEndType[PollEndType["POLL_END_TYPE_POLL_END_BY_OTHER"] = 2] = "POLL_END_TYPE_POLL_END_BY_OTHER";
	PollEndType[PollEndType["POLL_END_TYPE_POLL_END_BY_ADMIN"] = 3] = "POLL_END_TYPE_POLL_END_BY_ADMIN";
	PollEndType[PollEndType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollEndType;
}({});
let CohostABTestType = /* @__PURE__ */ function(CohostABTestType) {
	CohostABTestType[CohostABTestType["COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_UNKNOWN"] = 0] = "COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_UNKNOWN";
	CohostABTestType[CohostABTestType["COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_LINK_TIME_OUT_STRATEGY"] = 1] = "COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_LINK_TIME_OUT_STRATEGY";
	CohostABTestType[CohostABTestType["COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_COHOST_RESERVATION"] = 2] = "COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_COHOST_RESERVATION";
	CohostABTestType[CohostABTestType["COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_QUICK_PAIR_NEW_ARCH_SWITCH"] = 3] = "COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_QUICK_PAIR_NEW_ARCH_SWITCH";
	CohostABTestType[CohostABTestType["COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_COHOST_INVITATION_TEXT"] = 4] = "COHOST_A_B_TEST_TYPE_COHOST_AB_TEST_TYPE_COHOST_INVITATION_TEXT";
	CohostABTestType[CohostABTestType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CohostABTestType;
}({});
let OptPairStatus = /* @__PURE__ */ function(OptPairStatus) {
	OptPairStatus[OptPairStatus["OPT_PAIR_STATUS_UNKNOWN"] = 0] = "OPT_PAIR_STATUS_UNKNOWN";
	OptPairStatus[OptPairStatus["OPT_PAIR_STATUS_OFFLINE"] = 1] = "OPT_PAIR_STATUS_OFFLINE";
	OptPairStatus[OptPairStatus["OPT_PAIR_STATUS_FINISHED"] = 2] = "OPT_PAIR_STATUS_FINISHED";
	OptPairStatus[OptPairStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return OptPairStatus;
}({});
let ContentPositionType = /* @__PURE__ */ function(ContentPositionType) {
	ContentPositionType[ContentPositionType["CONTENT_POSITION_TYPE_UNKNOWN"] = 0] = "CONTENT_POSITION_TYPE_UNKNOWN";
	ContentPositionType[ContentPositionType["CONTENT_POSITION_TYPE_STREAM"] = 1] = "CONTENT_POSITION_TYPE_STREAM";
	ContentPositionType[ContentPositionType["CONTENT_POSITION_TYPE_LIVE_STUDIO_STREAM_PORTRAIT"] = 2] = "CONTENT_POSITION_TYPE_LIVE_STUDIO_STREAM_PORTRAIT";
	ContentPositionType[ContentPositionType["CONTENT_POSITION_TYPE_LIVE_STUDIO_STREAM_LANDSCAPE"] = 3] = "CONTENT_POSITION_TYPE_LIVE_STUDIO_STREAM_LANDSCAPE";
	ContentPositionType[ContentPositionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ContentPositionType;
}({});
let MultiGuestOutsideRoomInviteSource = /* @__PURE__ */ function(MultiGuestOutsideRoomInviteSource) {
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_UNKNOWN"] = 0] = "MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_UNKNOWN";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_PANEL"] = 1] = "MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_PANEL";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_CAPSULE"] = 2] = "MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_CAPSULE";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_EMPTY_POSITION"] = 3] = "MULTI_GUEST_OUTSIDE_ROOM_INVITE_SOURCE_OUTSIDE_ROOM_INVITE_SOURCE_EMPTY_POSITION";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MultiGuestOutsideRoomInviteSource;
}({});
let LinkUserType = /* @__PURE__ */ function(LinkUserType) {
	LinkUserType[LinkUserType["LINK_USER_TYPE_DEFAULT"] = 0] = "LINK_USER_TYPE_DEFAULT";
	LinkUserType[LinkUserType["LINK_USER_TYPE_KARAOKE"] = 1] = "LINK_USER_TYPE_KARAOKE";
	LinkUserType[LinkUserType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkUserType;
}({});
let ContentInviteSource = /* @__PURE__ */ function(ContentInviteSource) {
	ContentInviteSource[ContentInviteSource["CONTENT_INVITE_SOURCE_INVITE_SOURCE_UNKNOWN"] = 0] = "CONTENT_INVITE_SOURCE_INVITE_SOURCE_UNKNOWN";
	ContentInviteSource[ContentInviteSource["CONTENT_INVITE_SOURCE_INVITE_SOURCE_PANEL_GO_LIVE"] = 1] = "CONTENT_INVITE_SOURCE_INVITE_SOURCE_PANEL_GO_LIVE";
	ContentInviteSource[ContentInviteSource["CONTENT_INVITE_SOURCE_INVITE_SOURCE_MUTUAL_NOTICE"] = 2] = "CONTENT_INVITE_SOURCE_INVITE_SOURCE_MUTUAL_NOTICE";
	ContentInviteSource[ContentInviteSource["CONTENT_INVITE_SOURCE_INVITE_SOURCE_USER_PROFILE"] = 3] = "CONTENT_INVITE_SOURCE_INVITE_SOURCE_USER_PROFILE";
	ContentInviteSource[ContentInviteSource["CONTENT_INVITE_SOURCE_INVITE_SOURCE_RESERVE"] = 4] = "CONTENT_INVITE_SOURCE_INVITE_SOURCE_RESERVE";
	ContentInviteSource[ContentInviteSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ContentInviteSource;
}({});
let LinkmicShareRevenueSetting = /* @__PURE__ */ function(LinkmicShareRevenueSetting) {
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["LINKMIC_SHARE_REVENUE_SETTING_LINK_MIC_SHARE_REVENUE_NOT_SET"] = 0] = "LINKMIC_SHARE_REVENUE_SETTING_LINK_MIC_SHARE_REVENUE_NOT_SET";
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["LINKMIC_SHARE_REVENUE_SETTING_LINK_MIC_SHARE_REVENUE_OPEN"] = 1] = "LINKMIC_SHARE_REVENUE_SETTING_LINK_MIC_SHARE_REVENUE_OPEN";
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["LINKMIC_SHARE_REVENUE_SETTING_LINK_MIC_SHARE_REVENUE_CLOSE"] = 2] = "LINKMIC_SHARE_REVENUE_SETTING_LINK_MIC_SHARE_REVENUE_CLOSE";
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicShareRevenueSetting;
}({});
let PosIdentityType = /* @__PURE__ */ function(PosIdentityType) {
	PosIdentityType[PosIdentityType["POS_IDENTITY_TYPE_IDENTITY_EMPTY_SLOT"] = 0] = "POS_IDENTITY_TYPE_IDENTITY_EMPTY_SLOT";
	PosIdentityType[PosIdentityType["POS_IDENTITY_TYPE_IDENTITY_RT_C_USER_ID"] = 1] = "POS_IDENTITY_TYPE_IDENTITY_RT_C_USER_ID";
	PosIdentityType[PosIdentityType["POS_IDENTITY_TYPE_IDENTITY_RT_C_STREAM_ID"] = 2] = "POS_IDENTITY_TYPE_IDENTITY_RT_C_STREAM_ID";
	PosIdentityType[PosIdentityType["POS_IDENTITY_TYPE_IDENTITY_LIVE_USER_ID"] = 3] = "POS_IDENTITY_TYPE_IDENTITY_LIVE_USER_ID";
	PosIdentityType[PosIdentityType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PosIdentityType;
}({});
let JoinType = /* @__PURE__ */ function(JoinType) {
	JoinType[JoinType["JOIN_TYPE_UNKNOWN"] = 0] = "JOIN_TYPE_UNKNOWN";
	JoinType[JoinType["JOIN_TYPE_CHANNEL_APPLY"] = 1] = "JOIN_TYPE_CHANNEL_APPLY";
	JoinType[JoinType["JOIN_TYPE_CHANNEL_INVITE"] = 2] = "JOIN_TYPE_CHANNEL_INVITE";
	JoinType[JoinType["JOIN_TYPE_GROUP_APPLY"] = 100] = "JOIN_TYPE_GROUP_APPLY";
	JoinType[JoinType["JOIN_TYPE_GROUP_APPLY_FOLLOW"] = 101] = "JOIN_TYPE_GROUP_APPLY_FOLLOW";
	JoinType[JoinType["JOIN_TYPE_GROUP_INVITE"] = 102] = "JOIN_TYPE_GROUP_INVITE";
	JoinType[JoinType["JOIN_TYPE_GROUP_INVITE_FOLLOW"] = 103] = "JOIN_TYPE_GROUP_INVITE_FOLLOW";
	JoinType[JoinType["JOIN_TYPE_GROUP_OWNER_JOIN"] = 104] = "JOIN_TYPE_GROUP_OWNER_JOIN";
	JoinType[JoinType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return JoinType;
}({});
let CohostLayoutMode = /* @__PURE__ */ function(CohostLayoutMode) {
	CohostLayoutMode[CohostLayoutMode["COHOST_LAYOUT_MODE_NORMAL"] = 0] = "COHOST_LAYOUT_MODE_NORMAL";
	CohostLayoutMode[CohostLayoutMode["COHOST_LAYOUT_MODE_SCREEN_SHARE"] = 1] = "COHOST_LAYOUT_MODE_SCREEN_SHARE";
	CohostLayoutMode[CohostLayoutMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CohostLayoutMode;
}({});
let TagClassification = /* @__PURE__ */ function(TagClassification) {
	TagClassification[TagClassification["TAG_CLASSIFICATION_UNKNOWN"] = 0] = "TAG_CLASSIFICATION_UNKNOWN";
	TagClassification[TagClassification["TAG_CLASSIFICATION_COHOST_HISTORY"] = 1] = "TAG_CLASSIFICATION_COHOST_HISTORY";
	TagClassification[TagClassification["TAG_CLASSIFICATION_FIRST_DEGREE_RELATION"] = 2] = "TAG_CLASSIFICATION_FIRST_DEGREE_RELATION";
	TagClassification[TagClassification["TAG_CLASSIFICATION_SECOND_DEGREE_RELATION"] = 3] = "TAG_CLASSIFICATION_SECOND_DEGREE_RELATION";
	TagClassification[TagClassification["TAG_CLASSIFICATION_RANK"] = 4] = "TAG_CLASSIFICATION_RANK";
	TagClassification[TagClassification["TAG_CLASSIFICATION_SIMILAR_INTERESTS"] = 5] = "TAG_CLASSIFICATION_SIMILAR_INTERESTS";
	TagClassification[TagClassification["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TagClassification;
}({});
let SourceType = /* @__PURE__ */ function(SourceType) {
	SourceType[SourceType["SOURCE_TYPE_UNKNOWN"] = 0] = "SOURCE_TYPE_UNKNOWN";
	SourceType[SourceType["SOURCE_TYPE_FRIEND_LIST"] = 1] = "SOURCE_TYPE_FRIEND_LIST";
	SourceType[SourceType["SOURCE_TYPE_RECOMMEND_LIST"] = 2] = "SOURCE_TYPE_RECOMMEND_LIST";
	SourceType[SourceType["SOURCE_TYPE_RECENT"] = 3] = "SOURCE_TYPE_RECENT";
	SourceType[SourceType["SOURCE_TYPE_OTHER_FOLLOW"] = 4] = "SOURCE_TYPE_OTHER_FOLLOW";
	SourceType[SourceType["SOURCE_TYPE_QUICK_PAIR"] = 5] = "SOURCE_TYPE_QUICK_PAIR";
	SourceType[SourceType["SOURCE_TYPE_ACTIVITY"] = 6] = "SOURCE_TYPE_ACTIVITY";
	SourceType[SourceType["SOURCE_TYPE_QUICK_RECOMMEND"] = 7] = "SOURCE_TYPE_QUICK_RECOMMEND";
	SourceType[SourceType["SOURCE_TYPE_OFFICIAL_CHANNEL"] = 8] = "SOURCE_TYPE_OFFICIAL_CHANNEL";
	SourceType[SourceType["SOURCE_TYPE_BEST_TEAMMATE"] = 9] = "SOURCE_TYPE_BEST_TEAMMATE";
	SourceType[SourceType["SOURCE_TYPE_RESERVATION"] = 10] = "SOURCE_TYPE_RESERVATION";
	SourceType[SourceType["SOURCE_TYPE_PAIRING"] = 11] = "SOURCE_TYPE_PAIRING";
	SourceType[SourceType["SOURCE_TYPE_PAIRING_ON_RESERVATION"] = 12] = "SOURCE_TYPE_PAIRING_ON_RESERVATION";
	SourceType[SourceType["SOURCE_TYPE_TOPIC_QUICK_PAIR"] = 13] = "SOURCE_TYPE_TOPIC_QUICK_PAIR";
	SourceType[SourceType["SOURCE_TYPE_TOPIC_QUICK_RECOMMEND"] = 14] = "SOURCE_TYPE_TOPIC_QUICK_RECOMMEND";
	SourceType[SourceType["SOURCE_TYPE_ONLINE_FRIEND_CAPSULE"] = 15] = "SOURCE_TYPE_ONLINE_FRIEND_CAPSULE";
	SourceType[SourceType["SOURCE_TYPE_WEEKLY_RANK"] = 20] = "SOURCE_TYPE_WEEKLY_RANK";
	SourceType[SourceType["SOURCE_TYPE_HOURLY_RANK"] = 21] = "SOURCE_TYPE_HOURLY_RANK";
	SourceType[SourceType["SOURCE_TYPE_WEEKLY_RISING"] = 23] = "SOURCE_TYPE_WEEKLY_RISING";
	SourceType[SourceType["SOURCE_TYPE_WEEKLY_ROOKIE"] = 24] = "SOURCE_TYPE_WEEKLY_ROOKIE";
	SourceType[SourceType["SOURCE_TYPE_CONNECTION_LIST"] = 25] = "SOURCE_TYPE_CONNECTION_LIST";
	SourceType[SourceType["SOURCE_TYPE_DAILY_RANK"] = 26] = "SOURCE_TYPE_DAILY_RANK";
	SourceType[SourceType["SOURCE_TYPE_DAILY_RANK_HALL_OF_FAME"] = 27] = "SOURCE_TYPE_DAILY_RANK_HALL_OF_FAME";
	SourceType[SourceType["SOURCE_TYPE_RESERVATION_BUBBLE"] = 28] = "SOURCE_TYPE_RESERVATION_BUBBLE";
	SourceType[SourceType["SOURCE_TYPE_PAIRING_BUBBLE"] = 29] = "SOURCE_TYPE_PAIRING_BUBBLE";
	SourceType[SourceType["SOURCE_TYPE_LEAGUE_PHASE_ONE"] = 30] = "SOURCE_TYPE_LEAGUE_PHASE_ONE";
	SourceType[SourceType["SOURCE_TYPE_LEAGUE_PHASE_TWO"] = 31] = "SOURCE_TYPE_LEAGUE_PHASE_TWO";
	SourceType[SourceType["SOURCE_TYPE_LEAGUE_PHASE_THREE"] = 32] = "SOURCE_TYPE_LEAGUE_PHASE_THREE";
	SourceType[SourceType["SOURCE_TYPE_DAILY_ROOKIE"] = 33] = "SOURCE_TYPE_DAILY_ROOKIE";
	SourceType[SourceType["SOURCE_TYPE_MAY_KNOW_LIST"] = 34] = "SOURCE_TYPE_MAY_KNOW_LIST";
	SourceType[SourceType["SOURCE_TYPE_BANNER"] = 35] = "SOURCE_TYPE_BANNER";
	SourceType[SourceType["SOURCE_TYPE_FANS_TEAM_RANK"] = 36] = "SOURCE_TYPE_FANS_TEAM_RANK";
	SourceType[SourceType["SOURCE_TYPE_SEARCH"] = 37] = "SOURCE_TYPE_SEARCH";
	SourceType[SourceType["SOURCE_TYPE_E_OY_RANK_LIST"] = 38] = "SOURCE_TYPE_E_OY_RANK_LIST";
	SourceType[SourceType["SOURCE_TYPE_LEAGUE_CAMPAIGN_RANK"] = 39] = "SOURCE_TYPE_LEAGUE_CAMPAIGN_RANK";
	SourceType[SourceType["SOURCE_TYPE_CREATOR_CLASS_RANK"] = 40] = "SOURCE_TYPE_CREATOR_CLASS_RANK";
	SourceType[SourceType["SOURCE_TYPE_HISTORY"] = 41] = "SOURCE_TYPE_HISTORY";
	SourceType[SourceType["SOURCE_TYPE_QUICK_RECOMMEND_DURING_COHOST"] = 43] = "SOURCE_TYPE_QUICK_RECOMMEND_DURING_COHOST";
	SourceType[SourceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SourceType;
}({});
let BattleType = /* @__PURE__ */ function(BattleType) {
	BattleType[BattleType["BATTLE_TYPE_UNKNOWN_BATTLE_TYPE"] = 0] = "BATTLE_TYPE_UNKNOWN_BATTLE_TYPE";
	BattleType[BattleType["BATTLE_TYPE_NORMAL_BATTLE"] = 1] = "BATTLE_TYPE_NORMAL_BATTLE";
	BattleType[BattleType["BATTLE_TYPE_TEAM_BATTLE"] = 2] = "BATTLE_TYPE_TEAM_BATTLE";
	BattleType[BattleType["BATTLE_TYPE_INDIVIDUAL_BATTLE"] = 3] = "BATTLE_TYPE_INDIVIDUAL_BATTLE";
	BattleType[BattleType["BATTLE_TYPE_1_V_N"] = 4] = "BATTLE_TYPE_1_V_N";
	BattleType[BattleType["BATTLE_TYPE_TAKE_THE_STAGE"] = 51] = "BATTLE_TYPE_TAKE_THE_STAGE";
	BattleType[BattleType["BATTLE_TYPE_GROUP_SHOW"] = 52] = "BATTLE_TYPE_GROUP_SHOW";
	BattleType[BattleType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleType;
}({});
let BattleInviteType = /* @__PURE__ */ function(BattleInviteType) {
	BattleInviteType[BattleInviteType["BATTLE_INVITE_TYPE_NORMAL"] = 0] = "BATTLE_INVITE_TYPE_NORMAL";
	BattleInviteType[BattleInviteType["BATTLE_INVITE_TYPE_AGAIN"] = 1] = "BATTLE_INVITE_TYPE_AGAIN";
	BattleInviteType[BattleInviteType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleInviteType;
}({});
let CommonMessageData_IMDispatchStrategy = /* @__PURE__ */ function(CommonMessageData_IMDispatchStrategy) {
	CommonMessageData_IMDispatchStrategy[CommonMessageData_IMDispatchStrategy["IM_DISPATCH_STRATEGY_DEFAULT"] = 0] = "IM_DISPATCH_STRATEGY_DEFAULT";
	CommonMessageData_IMDispatchStrategy[CommonMessageData_IMDispatchStrategy["IM_DISPATCH_STRATEGY_BYPASS_DISPATCH_QUEUE"] = 1] = "IM_DISPATCH_STRATEGY_BYPASS_DISPATCH_QUEUE";
	CommonMessageData_IMDispatchStrategy[CommonMessageData_IMDispatchStrategy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CommonMessageData_IMDispatchStrategy;
}({});
let Text_ShowType = /* @__PURE__ */ function(Text_ShowType) {
	Text_ShowType[Text_ShowType["SHOW_TYPE_NORMAL"] = 0] = "SHOW_TYPE_NORMAL";
	Text_ShowType[Text_ShowType["SHOW_TYPE_FADE_IN_OUT"] = 1] = "SHOW_TYPE_FADE_IN_OUT";
	Text_ShowType[Text_ShowType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Text_ShowType;
}({});
let BadgeStruct_BadgePriorityType = /* @__PURE__ */ function(BadgeStruct_BadgePriorityType) {
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["BADGE_PRIORITY_TYPE_UNKNOWN"] = 0] = "BADGE_PRIORITY_TYPE_UNKNOWN";
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["BADGE_PRIORITY_TYPE_STRONG_RELATION"] = 10] = "BADGE_PRIORITY_TYPE_STRONG_RELATION";
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["BADGE_PRIORITY_TYPE_PLATFORM"] = 20] = "BADGE_PRIORITY_TYPE_PLATFORM";
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["BADGE_PRIORITY_TYPE_RELATION"] = 30] = "BADGE_PRIORITY_TYPE_RELATION";
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["BADGE_PRIORITY_TYPE_ACTIVITY"] = 40] = "BADGE_PRIORITY_TYPE_ACTIVITY";
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["BADGE_PRIORITY_TYPE_RANK_LIST"] = 50] = "BADGE_PRIORITY_TYPE_RANK_LIST";
	BadgeStruct_BadgePriorityType[BadgeStruct_BadgePriorityType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_BadgePriorityType;
}({});
let BadgeStruct_BadgeSceneType = /* @__PURE__ */ function(BadgeStruct_BadgeSceneType) {
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_UNKNOWN"] = 0] = "BADGE_SCENE_TYPE_UNKNOWN";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_ADMIN"] = 1] = "BADGE_SCENE_TYPE_ADMIN";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_FIRST_RECHARGE"] = 2] = "BADGE_SCENE_TYPE_FIRST_RECHARGE";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_FRIENDS"] = 3] = "BADGE_SCENE_TYPE_FRIENDS";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_SUBSCRIBER"] = 4] = "BADGE_SCENE_TYPE_SUBSCRIBER";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_ACTIVITY"] = 5] = "BADGE_SCENE_TYPE_ACTIVITY";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_RANK_LIST"] = 6] = "BADGE_SCENE_TYPE_RANK_LIST";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_NEW_SUBSCRIBER"] = 7] = "BADGE_SCENE_TYPE_NEW_SUBSCRIBER";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_USER_GRADE"] = 8] = "BADGE_SCENE_TYPE_USER_GRADE";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_STATE_CONTROLLED_MEDIA"] = 9] = "BADGE_SCENE_TYPE_STATE_CONTROLLED_MEDIA";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_FANS"] = 10] = "BADGE_SCENE_TYPE_FANS";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_LIVE_PRO"] = 11] = "BADGE_SCENE_TYPE_LIVE_PRO";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["BADGE_SCENE_TYPE_ANCHOR"] = 12] = "BADGE_SCENE_TYPE_ANCHOR";
	BadgeStruct_BadgeSceneType[BadgeStruct_BadgeSceneType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_BadgeSceneType;
}({});
let BadgeStruct_DisplayStatus = /* @__PURE__ */ function(BadgeStruct_DisplayStatus) {
	BadgeStruct_DisplayStatus[BadgeStruct_DisplayStatus["DISPLAY_STATUS_NORMAL"] = 0] = "DISPLAY_STATUS_NORMAL";
	BadgeStruct_DisplayStatus[BadgeStruct_DisplayStatus["DISPLAY_STATUS_SHADOW"] = 1] = "DISPLAY_STATUS_SHADOW";
	BadgeStruct_DisplayStatus[BadgeStruct_DisplayStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_DisplayStatus;
}({});
let BadgeStruct_BadgeExhibitionType = /* @__PURE__ */ function(BadgeStruct_BadgeExhibitionType) {
	BadgeStruct_BadgeExhibitionType[BadgeStruct_BadgeExhibitionType["BADGE_EXHIBITION_TYPE_BADGE"] = 0] = "BADGE_EXHIBITION_TYPE_BADGE";
	BadgeStruct_BadgeExhibitionType[BadgeStruct_BadgeExhibitionType["BADGE_EXHIBITION_TYPE_IDENTITY_LABEL"] = 1] = "BADGE_EXHIBITION_TYPE_IDENTITY_LABEL";
	BadgeStruct_BadgeExhibitionType[BadgeStruct_BadgeExhibitionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_BadgeExhibitionType;
}({});
let BadgeStruct_Position = /* @__PURE__ */ function(BadgeStruct_Position) {
	BadgeStruct_Position[BadgeStruct_Position["POSITIONUNKNOWN"] = 0] = "POSITIONUNKNOWN";
	BadgeStruct_Position[BadgeStruct_Position["POSITIONLEFT"] = 1] = "POSITIONLEFT";
	BadgeStruct_Position[BadgeStruct_Position["POSITIONRIGHT"] = 2] = "POSITIONRIGHT";
	BadgeStruct_Position[BadgeStruct_Position["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_Position;
}({});
let BadgeStruct_HorizontalPaddingRule = /* @__PURE__ */ function(BadgeStruct_HorizontalPaddingRule) {
	BadgeStruct_HorizontalPaddingRule[BadgeStruct_HorizontalPaddingRule["HORIZONTAL_PADDING_RULE_USE_MIDDLE_AND_WIDTH"] = 0] = "HORIZONTAL_PADDING_RULE_USE_MIDDLE_AND_WIDTH";
	BadgeStruct_HorizontalPaddingRule[BadgeStruct_HorizontalPaddingRule["HORIZONTAL_PADDING_RULE_USE_LEFT_AND_MIDDLE_AND_RIGHT"] = 1] = "HORIZONTAL_PADDING_RULE_USE_LEFT_AND_MIDDLE_AND_RIGHT";
	BadgeStruct_HorizontalPaddingRule[BadgeStruct_HorizontalPaddingRule["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_HorizontalPaddingRule;
}({});
let BadgeStruct_VerticalPaddingRule = /* @__PURE__ */ function(BadgeStruct_VerticalPaddingRule) {
	BadgeStruct_VerticalPaddingRule[BadgeStruct_VerticalPaddingRule["VERTICAL_PADDING_RULE_USE_DEFAULT"] = 0] = "VERTICAL_PADDING_RULE_USE_DEFAULT";
	BadgeStruct_VerticalPaddingRule[BadgeStruct_VerticalPaddingRule["VERTICAL_PADDING_RULE_USE_TOP_AND_BOTTOM"] = 1] = "VERTICAL_PADDING_RULE_USE_TOP_AND_BOTTOM";
	BadgeStruct_VerticalPaddingRule[BadgeStruct_VerticalPaddingRule["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeStruct_VerticalPaddingRule;
}({});
/**
* @EventPayMethod
* webcast.data.LiveEventInfo
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_LiveEventInfo_EventPayMethod = /* @__PURE__ */ function(User_LiveEventInfo_EventPayMethod) {
	User_LiveEventInfo_EventPayMethod[User_LiveEventInfo_EventPayMethod["EVENTPAYMETHODINVALID"] = 0] = "EVENTPAYMETHODINVALID";
	User_LiveEventInfo_EventPayMethod[User_LiveEventInfo_EventPayMethod["EVENTPAYMETHODCOINS"] = 1] = "EVENTPAYMETHODCOINS";
	User_LiveEventInfo_EventPayMethod[User_LiveEventInfo_EventPayMethod["EVENTPAYMETHODCASH"] = 2] = "EVENTPAYMETHODCASH";
	User_LiveEventInfo_EventPayMethod[User_LiveEventInfo_EventPayMethod["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_LiveEventInfo_EventPayMethod;
}({});
/**
* @CreatorType
* webcast.data.User.EcommerceEntrance
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_EcommerceEntrance_CreatorType = /* @__PURE__ */ function(User_EcommerceEntrance_CreatorType) {
	User_EcommerceEntrance_CreatorType[User_EcommerceEntrance_CreatorType["UNDEFINED"] = 0] = "UNDEFINED";
	User_EcommerceEntrance_CreatorType[User_EcommerceEntrance_CreatorType["OFFICIAL"] = 1] = "OFFICIAL";
	User_EcommerceEntrance_CreatorType[User_EcommerceEntrance_CreatorType["MARKET"] = 2] = "MARKET";
	User_EcommerceEntrance_CreatorType[User_EcommerceEntrance_CreatorType["NORMAL"] = 3] = "NORMAL";
	User_EcommerceEntrance_CreatorType[User_EcommerceEntrance_CreatorType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_EcommerceEntrance_CreatorType;
}({});
/**
* @EntranceType
* webcast.data.User.EcommerceEntrance
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_EcommerceEntrance_EntranceType = /* @__PURE__ */ function(User_EcommerceEntrance_EntranceType) {
	User_EcommerceEntrance_EntranceType[User_EcommerceEntrance_EntranceType["PROFILE"] = 0] = "PROFILE";
	User_EcommerceEntrance_EntranceType[User_EcommerceEntrance_EntranceType["SHOWCASE"] = 1] = "SHOWCASE";
	User_EcommerceEntrance_EntranceType[User_EcommerceEntrance_EntranceType["SHOP"] = 2] = "SHOP";
	User_EcommerceEntrance_EntranceType[User_EcommerceEntrance_EntranceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_EcommerceEntrance_EntranceType;
}({});
/**
* @StoreBrandLabelType
* webcast.data.User.EcommerceEntrance.ShopEntranceInfo.StoreLabel
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType = /* @__PURE__ */ function(User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType) {
	User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType[User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType["NONE"] = 0] = "NONE";
	User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType[User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType["OFFICIAL"] = 1] = "OFFICIAL";
	User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType[User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType["AUTHORIZED"] = 2] = "AUTHORIZED";
	User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType[User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType["STORE_BRAND_LABEL_TYPE_BLUE_V"] = 3] = "STORE_BRAND_LABEL_TYPE_BLUE_V";
	User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType[User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType["STORE_BRAND_LABEL_TYPE_TOP_CHOICE"] = 4] = "STORE_BRAND_LABEL_TYPE_TOP_CHOICE";
	User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType[User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType;
}({});
/**
* @PreferntialType
* webcast.data.User.FansClub
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_FansClub_PreferntialType = /* @__PURE__ */ function(User_FansClub_PreferntialType) {
	User_FansClub_PreferntialType[User_FansClub_PreferntialType["PRESONALPROFILE"] = 0] = "PRESONALPROFILE";
	User_FansClub_PreferntialType[User_FansClub_PreferntialType["OTHERROOM"] = 1] = "OTHERROOM";
	User_FansClub_PreferntialType[User_FansClub_PreferntialType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_FansClub_PreferntialType;
}({});
/**
* @BadgeIcon
* webcast.data.User.FansClub.FansClubData
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_FansClub_FansClubData_BadgeIcon = /* @__PURE__ */ function(User_FansClub_FansClubData_BadgeIcon) {
	User_FansClub_FansClubData_BadgeIcon[User_FansClub_FansClubData_BadgeIcon["UNKNOWN"] = 0] = "UNKNOWN";
	User_FansClub_FansClubData_BadgeIcon[User_FansClub_FansClubData_BadgeIcon["ICON"] = 1] = "ICON";
	User_FansClub_FansClubData_BadgeIcon[User_FansClub_FansClubData_BadgeIcon["SMALLICON"] = 2] = "SMALLICON";
	User_FansClub_FansClubData_BadgeIcon[User_FansClub_FansClubData_BadgeIcon["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_FansClub_FansClubData_BadgeIcon;
}({});
/**
* @UserFansClubStatus
* webcast.data.User.FansClub.FansClubData
* C:\Users\ja\RiderProjects\TikTokProBufferGenerator\Application\output\sources\test.js
*/
let User_FansClub_FansClubData_UserFansClubStatus = /* @__PURE__ */ function(User_FansClub_FansClubData_UserFansClubStatus) {
	User_FansClub_FansClubData_UserFansClubStatus[User_FansClub_FansClubData_UserFansClubStatus["NOTJOINED"] = 0] = "NOTJOINED";
	User_FansClub_FansClubData_UserFansClubStatus[User_FansClub_FansClubData_UserFansClubStatus["ACTIVE"] = 1] = "ACTIVE";
	User_FansClub_FansClubData_UserFansClubStatus[User_FansClub_FansClubData_UserFansClubStatus["INACTIVE"] = 2] = "INACTIVE";
	User_FansClub_FansClubData_UserFansClubStatus[User_FansClub_FansClubData_UserFansClubStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return User_FansClub_FansClubData_UserFansClubStatus;
}({});
let Emote_AuditInfo_AuditTaskType = /* @__PURE__ */ function(Emote_AuditInfo_AuditTaskType) {
	Emote_AuditInfo_AuditTaskType[Emote_AuditInfo_AuditTaskType["AUDIT_TASK_TYPE_DEFAULT"] = 0] = "AUDIT_TASK_TYPE_DEFAULT";
	Emote_AuditInfo_AuditTaskType[Emote_AuditInfo_AuditTaskType["AUDIT_TASK_TYPE_APPEAL"] = 1] = "AUDIT_TASK_TYPE_APPEAL";
	Emote_AuditInfo_AuditTaskType[Emote_AuditInfo_AuditTaskType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Emote_AuditInfo_AuditTaskType;
}({});
let WebcastChatMessage_CommentTag = /* @__PURE__ */ function(WebcastChatMessage_CommentTag) {
	WebcastChatMessage_CommentTag[WebcastChatMessage_CommentTag["COMMENT_TAG_NORMAL"] = 0] = "COMMENT_TAG_NORMAL";
	WebcastChatMessage_CommentTag[WebcastChatMessage_CommentTag["COMMENT_TAG_CANDIDATE"] = 1] = "COMMENT_TAG_CANDIDATE";
	WebcastChatMessage_CommentTag[WebcastChatMessage_CommentTag["COMMENT_TAG_OVERAGE"] = 2] = "COMMENT_TAG_OVERAGE";
	WebcastChatMessage_CommentTag[WebcastChatMessage_CommentTag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastChatMessage_CommentTag;
}({});
let EmoteUploadInfo_UserEmoteUploadSource = /* @__PURE__ */ function(EmoteUploadInfo_UserEmoteUploadSource) {
	EmoteUploadInfo_UserEmoteUploadSource[EmoteUploadInfo_UserEmoteUploadSource["USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_ANCHOR"] = 0] = "USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_ANCHOR";
	EmoteUploadInfo_UserEmoteUploadSource[EmoteUploadInfo_UserEmoteUploadSource["USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_SUBSCRIBER"] = 1] = "USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_SUBSCRIBER";
	EmoteUploadInfo_UserEmoteUploadSource[EmoteUploadInfo_UserEmoteUploadSource["USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_MODERATOR"] = 2] = "USER_EMOTE_UPLOAD_SOURCE_EMOTE_UPLOAD_SOURCE_MODERATOR";
	EmoteUploadInfo_UserEmoteUploadSource[EmoteUploadInfo_UserEmoteUploadSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmoteUploadInfo_UserEmoteUploadSource;
}({});
let WebcastMemberMessage_DisplayStyle = /* @__PURE__ */ function(WebcastMemberMessage_DisplayStyle) {
	WebcastMemberMessage_DisplayStyle[WebcastMemberMessage_DisplayStyle["DISPLAY_STYLE_NORMAL"] = 0] = "DISPLAY_STYLE_NORMAL";
	WebcastMemberMessage_DisplayStyle[WebcastMemberMessage_DisplayStyle["DISPLAY_STYLE_STAY"] = 1] = "DISPLAY_STYLE_STAY";
	WebcastMemberMessage_DisplayStyle[WebcastMemberMessage_DisplayStyle["DISPLAY_STYLE_CHAT"] = 2] = "DISPLAY_STYLE_CHAT";
	WebcastMemberMessage_DisplayStyle[WebcastMemberMessage_DisplayStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastMemberMessage_DisplayStyle;
}({});
let WebcastMemberMessage_HitABStatus = /* @__PURE__ */ function(WebcastMemberMessage_HitABStatus) {
	WebcastMemberMessage_HitABStatus[WebcastMemberMessage_HitABStatus["HIT_A_B_STATUS_HIT_AB_STATUS_NO_HIT"] = 0] = "HIT_A_B_STATUS_HIT_AB_STATUS_NO_HIT";
	WebcastMemberMessage_HitABStatus[WebcastMemberMessage_HitABStatus["HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_EXTERNAL_LINK_NEW_TEXT"] = 1] = "HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_EXTERNAL_LINK_NEW_TEXT";
	WebcastMemberMessage_HitABStatus[WebcastMemberMessage_HitABStatus["HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_RE_POST_NEW_TEXT"] = 2] = "HIT_A_B_STATUS_HIT_AB_STATUS_ENTER_FROM_RE_POST_NEW_TEXT";
	WebcastMemberMessage_HitABStatus[WebcastMemberMessage_HitABStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastMemberMessage_HitABStatus;
}({});
let WebcastBarrageMessage_BarrageType = /* @__PURE__ */ function(WebcastBarrageMessage_BarrageType) {
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_UNKNOWN"] = 0] = "BARRAGE_TYPE_UNKNOWN";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_E_COM_ORDERING"] = 1] = "BARRAGE_TYPE_E_COM_ORDERING";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_E_COM_BUYING"] = 2] = "BARRAGE_TYPE_E_COM_BUYING";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_NORMAL"] = 3] = "BARRAGE_TYPE_NORMAL";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_SUBSCRIBE"] = 4] = "BARRAGE_TYPE_SUBSCRIBE";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_EVENT_VIEW"] = 5] = "BARRAGE_TYPE_EVENT_VIEW";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_EVENT_REGISTERED"] = 6] = "BARRAGE_TYPE_EVENT_REGISTERED";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_SUBSCRIBE_GIFT"] = 7] = "BARRAGE_TYPE_SUBSCRIBE_GIFT";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_USER_UPGRADE"] = 8] = "BARRAGE_TYPE_USER_UPGRADE";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_GRADE_USER_ENTRANCE_NOTIFICATION"] = 9] = "BARRAGE_TYPE_GRADE_USER_ENTRANCE_NOTIFICATION";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_FANS_LEVEL_UPGRADE"] = 10] = "BARRAGE_TYPE_FANS_LEVEL_UPGRADE";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_FANS_LEVEL_ENTRANCE"] = 11] = "BARRAGE_TYPE_FANS_LEVEL_ENTRANCE";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_GAME_PARTNERSHIP"] = 12] = "BARRAGE_TYPE_GAME_PARTNERSHIP";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_GIFT_GALLERY"] = 13] = "BARRAGE_TYPE_GIFT_GALLERY";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_E_COM_BOUGHT"] = 14] = "BARRAGE_TYPE_E_COM_BOUGHT";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["BARRAGE_TYPE_COMMON_BARRAGE"] = 100] = "BARRAGE_TYPE_COMMON_BARRAGE";
	WebcastBarrageMessage_BarrageType[WebcastBarrageMessage_BarrageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastBarrageMessage_BarrageType;
}({});
let WebcastBarrageMessage_ShowType = /* @__PURE__ */ function(WebcastBarrageMessage_ShowType) {
	WebcastBarrageMessage_ShowType[WebcastBarrageMessage_ShowType["SHOW_TYPE_NORMAL"] = 0] = "SHOW_TYPE_NORMAL";
	WebcastBarrageMessage_ShowType[WebcastBarrageMessage_ShowType["SHOW_TYPE_FADE_IN_OUT"] = 1] = "SHOW_TYPE_FADE_IN_OUT";
	WebcastBarrageMessage_ShowType[WebcastBarrageMessage_ShowType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastBarrageMessage_ShowType;
}({});
let WebcastBarrageMessage_RenderType = /* @__PURE__ */ function(WebcastBarrageMessage_RenderType) {
	WebcastBarrageMessage_RenderType[WebcastBarrageMessage_RenderType["RENDER_TYPE_NATIVE"] = 0] = "RENDER_TYPE_NATIVE";
	WebcastBarrageMessage_RenderType[WebcastBarrageMessage_RenderType["RENDER_TYPE_HYBRID"] = 1] = "RENDER_TYPE_HYBRID";
	WebcastBarrageMessage_RenderType[WebcastBarrageMessage_RenderType["RENDER_TYPE_ALPHA"] = 2] = "RENDER_TYPE_ALPHA";
	WebcastBarrageMessage_RenderType[WebcastBarrageMessage_RenderType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastBarrageMessage_RenderType;
}({});
let WebcastBarrageMessage_IconDisplayType = /* @__PURE__ */ function(WebcastBarrageMessage_IconDisplayType) {
	WebcastBarrageMessage_IconDisplayType[WebcastBarrageMessage_IconDisplayType["ICON_DISPLAY_TYPE_IMAGE"] = 0] = "ICON_DISPLAY_TYPE_IMAGE";
	WebcastBarrageMessage_IconDisplayType[WebcastBarrageMessage_IconDisplayType["ICON_DISPLAY_TYPE_BADGE"] = 1] = "ICON_DISPLAY_TYPE_BADGE";
	WebcastBarrageMessage_IconDisplayType[WebcastBarrageMessage_IconDisplayType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastBarrageMessage_IconDisplayType;
}({});
let WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result = /* @__PURE__ */ function(WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result) {
	WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result[WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result["RESULT_SUCCEED"] = 0] = "RESULT_SUCCEED";
	WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result[WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result["RESULT_FAILED"] = 1] = "RESULT_FAILED";
	WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result[WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result["RESULT_BOTH_SUCCEED"] = 2] = "RESULT_BOTH_SUCCEED";
	WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result[WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result;
}({});
function createBaseCommonMessageData() {
	return {
		method: "",
		msgId: "0",
		roomId: "0",
		createTime: "0",
		monitor: 0,
		isShowMsg: false,
		describe: "",
		displayText: void 0,
		foldType: "0",
		anchorFoldType: "0",
		priorityScore: "0",
		logId: "",
		msgProcessFilterK: "",
		msgProcessFilterV: "",
		fromIdc: "",
		toIdc: "",
		filterMsgTagsList: [],
		sei: void 0,
		dependRootId: void 0,
		dependId: void 0,
		anchorPriorityScore: "0",
		roomMessageHeatLevel: "0",
		foldTypeForWeb: "0",
		anchorFoldTypeForWeb: "0",
		clientSendTime: "0",
		dispatchStrategy: 0
	};
}
const CommonMessageData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.method !== "") writer.uint32(10).string(message.method);
		if (message.msgId !== "0") writer.uint32(16).int64(message.msgId);
		if (message.roomId !== "0") writer.uint32(24).int64(message.roomId);
		if (message.createTime !== "0") writer.uint32(32).int64(message.createTime);
		if (message.monitor !== 0) writer.uint32(40).int32(message.monitor);
		if (message.isShowMsg !== false) writer.uint32(48).bool(message.isShowMsg);
		if (message.describe !== "") writer.uint32(58).string(message.describe);
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(66).fork()).join();
		if (message.foldType !== "0") writer.uint32(72).int64(message.foldType);
		if (message.anchorFoldType !== "0") writer.uint32(80).int64(message.anchorFoldType);
		if (message.priorityScore !== "0") writer.uint32(88).int64(message.priorityScore);
		if (message.logId !== "") writer.uint32(98).string(message.logId);
		if (message.msgProcessFilterK !== "") writer.uint32(106).string(message.msgProcessFilterK);
		if (message.msgProcessFilterV !== "") writer.uint32(114).string(message.msgProcessFilterV);
		if (message.fromIdc !== "") writer.uint32(122).string(message.fromIdc);
		if (message.toIdc !== "") writer.uint32(130).string(message.toIdc);
		for (const v of message.filterMsgTagsList) writer.uint32(138).string(v);
		if (message.sei !== void 0) CommonMessageData_LiveMessageSEI.encode(message.sei, writer.uint32(146).fork()).join();
		if (message.dependRootId !== void 0) CommonMessageData_LiveMessageID.encode(message.dependRootId, writer.uint32(154).fork()).join();
		if (message.dependId !== void 0) CommonMessageData_LiveMessageID.encode(message.dependId, writer.uint32(162).fork()).join();
		if (message.anchorPriorityScore !== "0") writer.uint32(168).int64(message.anchorPriorityScore);
		if (message.roomMessageHeatLevel !== "0") writer.uint32(176).int64(message.roomMessageHeatLevel);
		if (message.foldTypeForWeb !== "0") writer.uint32(184).int64(message.foldTypeForWeb);
		if (message.anchorFoldTypeForWeb !== "0") writer.uint32(192).int64(message.anchorFoldTypeForWeb);
		if (message.clientSendTime !== "0") writer.uint32(200).int64(message.clientSendTime);
		if (message.dispatchStrategy !== 0) writer.uint32(208).int32(message.dispatchStrategy);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommonMessageData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.method = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.msgId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.roomId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.createTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.monitor = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isShowMsg = reader.bool();
					continue;
				case 7:
					if (tag !== 58) break;
					message.describe = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.foldType = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.anchorFoldType = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.priorityScore = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.logId = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.msgProcessFilterK = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.msgProcessFilterV = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.fromIdc = reader.string();
					continue;
				case 16:
					if (tag !== 130) break;
					message.toIdc = reader.string();
					continue;
				case 17:
					if (tag !== 138) break;
					message.filterMsgTagsList.push(reader.string());
					continue;
				case 18:
					if (tag !== 146) break;
					message.sei = CommonMessageData_LiveMessageSEI.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.dependRootId = CommonMessageData_LiveMessageID.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.dependId = CommonMessageData_LiveMessageID.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.anchorPriorityScore = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 176) break;
					message.roomMessageHeatLevel = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 184) break;
					message.foldTypeForWeb = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 192) break;
					message.anchorFoldTypeForWeb = reader.int64().toString();
					continue;
				case 25:
					if (tag !== 200) break;
					message.clientSendTime = reader.int64().toString();
					continue;
				case 26:
					if (tag !== 208) break;
					message.dispatchStrategy = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommonMessageData_LiveMessageSEI() {
	return {
		uniqueId: void 0,
		timestamp: "0"
	};
}
const CommonMessageData_LiveMessageSEI = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uniqueId !== void 0) CommonMessageData_LiveMessageID.encode(message.uniqueId, writer.uint32(10).fork()).join();
		if (message.timestamp !== "0") writer.uint32(16).int64(message.timestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommonMessageData_LiveMessageSEI();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.uniqueId = CommonMessageData_LiveMessageID.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.timestamp = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommonMessageData_LiveMessageID() {
	return {
		primaryId: "",
		messageScene: ""
	};
}
const CommonMessageData_LiveMessageID = {
	encode(message, writer = new BinaryWriter()) {
		if (message.primaryId !== "") writer.uint32(10).string(message.primaryId);
		if (message.messageScene !== "") writer.uint32(18).string(message.messageScene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommonMessageData_LiveMessageID();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.primaryId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.messageScene = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText() {
	return {
		displayType: "",
		defaultPattern: "",
		defaultFormat: void 0,
		piecesList: []
	};
}
const Text = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== "") writer.uint32(10).string(message.displayType);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		if (message.defaultFormat !== void 0) Text_TextFormat.encode(message.defaultFormat, writer.uint32(26).fork()).join();
		for (const v of message.piecesList) Text_TextPiece.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayType = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.defaultFormat = Text_TextFormat.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.piecesList.push(Text_TextPiece.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText_TextPiece() {
	return {
		type: 0,
		format: void 0,
		stringValue: "",
		userValue: void 0,
		giftValue: void 0,
		patternRefValue: void 0
	};
}
const Text_TextPiece = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.format !== void 0) Text_TextFormat.encode(message.format, writer.uint32(18).fork()).join();
		if (message.stringValue !== "") writer.uint32(90).string(message.stringValue);
		if (message.userValue !== void 0) Text_TextPieceUser.encode(message.userValue, writer.uint32(170).fork()).join();
		if (message.giftValue !== void 0) Text_TextPieceGift.encode(message.giftValue, writer.uint32(178).fork()).join();
		if (message.patternRefValue !== void 0) Text_TextPiecePatternRef.encode(message.patternRefValue, writer.uint32(194).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText_TextPiece();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.format = Text_TextFormat.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.stringValue = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.userValue = Text_TextPieceUser.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.giftValue = Text_TextPieceGift.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.patternRefValue = Text_TextPiecePatternRef.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText_TextFormat() {
	return {
		color: "",
		bold: false,
		italic: false,
		weight: 0,
		italicAngle: 0,
		fontSize: 0,
		useHeighLightColor: false,
		useRemoteClor: false
	};
}
const Text_TextFormat = {
	encode(message, writer = new BinaryWriter()) {
		if (message.color !== "") writer.uint32(10).string(message.color);
		if (message.bold !== false) writer.uint32(16).bool(message.bold);
		if (message.italic !== false) writer.uint32(24).bool(message.italic);
		if (message.weight !== 0) writer.uint32(32).int32(message.weight);
		if (message.italicAngle !== 0) writer.uint32(40).int32(message.italicAngle);
		if (message.fontSize !== 0) writer.uint32(48).int32(message.fontSize);
		if (message.useHeighLightColor !== false) writer.uint32(56).bool(message.useHeighLightColor);
		if (message.useRemoteClor !== false) writer.uint32(64).bool(message.useRemoteClor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText_TextFormat();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.color = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.bold = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.italic = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.weight = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.italicAngle = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.fontSize = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.useHeighLightColor = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.useRemoteClor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText_TextPieceGift() {
	return {
		giftId: 0,
		nameRef: void 0,
		showType: 0,
		colorId: "0"
	};
}
const Text_TextPieceGift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== 0) writer.uint32(8).int32(message.giftId);
		if (message.nameRef !== void 0) Text_PatternRef.encode(message.nameRef, writer.uint32(18).fork()).join();
		if (message.showType !== 0) writer.uint32(24).int32(message.showType);
		if (message.colorId !== "0") writer.uint32(32).int64(message.colorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText_TextPieceGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nameRef = Text_PatternRef.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.showType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.colorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText_TextPiecePatternRef() {
	return {
		key: "",
		defaultPattern: ""
	};
}
const Text_TextPiecePatternRef = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText_TextPiecePatternRef();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText_TextPieceUser() {
	return {
		user: void 0,
		withColon: false
	};
}
const Text_TextPieceUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.withColon !== false) writer.uint32(16).bool(message.withColon);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText_TextPieceUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.withColon = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText_PatternRef() {
	return {
		key: "",
		defaultPattern: ""
	};
}
const Text_PatternRef = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText_PatternRef();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImage() {
	return {
		url: [],
		mUri: "",
		height: 0,
		width: 0,
		avgColor: "",
		imageType: 0,
		schema: "",
		content: void 0,
		isAnimated: false
	};
}
const Image = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.url) writer.uint32(10).string(v);
		if (message.mUri !== "") writer.uint32(18).string(message.mUri);
		if (message.height !== 0) writer.uint32(24).int32(message.height);
		if (message.width !== 0) writer.uint32(32).int32(message.width);
		if (message.avgColor !== "") writer.uint32(42).string(message.avgColor);
		if (message.imageType !== 0) writer.uint32(48).int32(message.imageType);
		if (message.schema !== "") writer.uint32(58).string(message.schema);
		if (message.content !== void 0) Image_Content.encode(message.content, writer.uint32(66).fork()).join();
		if (message.isAnimated !== false) writer.uint32(72).bool(message.isAnimated);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.url.push(reader.string());
					continue;
				case 2:
					if (tag !== 18) break;
					message.mUri = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.width = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avgColor = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.imageType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.schema = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.content = Image_Content.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.isAnimated = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImage_Content() {
	return {
		name: "",
		fontColor: "",
		level: "0"
	};
}
const Image_Content = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.fontColor !== "") writer.uint32(18).string(message.fontColor);
		if (message.level !== "0") writer.uint32(24).int64(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImage_Content();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fontColor = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.level = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct() {
	return {
		badgePriorityType: 0,
		badgeScene: 0,
		position: 0,
		displayStatus: 0,
		greyedByClient: "0",
		exhibitionType: 0,
		schemaUrl: "",
		display: false,
		logExtra: void 0,
		image: void 0,
		text: void 0,
		str: void 0,
		combine: void 0,
		isCustomized: false
	};
}
const BadgeStruct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.badgePriorityType !== 0) writer.uint32(16).int32(message.badgePriorityType);
		if (message.badgeScene !== 0) writer.uint32(24).int32(message.badgeScene);
		if (message.position !== 0) writer.uint32(32).int32(message.position);
		if (message.displayStatus !== 0) writer.uint32(40).int32(message.displayStatus);
		if (message.greyedByClient !== "0") writer.uint32(48).int64(message.greyedByClient);
		if (message.exhibitionType !== 0) writer.uint32(56).int32(message.exhibitionType);
		if (message.schemaUrl !== "") writer.uint32(82).string(message.schemaUrl);
		if (message.display !== false) writer.uint32(88).bool(message.display);
		if (message.logExtra !== void 0) PrivilegeLogExtra.encode(message.logExtra, writer.uint32(98).fork()).join();
		if (message.image !== void 0) BadgeStruct_ImageBadge.encode(message.image, writer.uint32(162).fork()).join();
		if (message.text !== void 0) BadgeStruct_TextBadge.encode(message.text, writer.uint32(170).fork()).join();
		if (message.str !== void 0) BadgeStruct_StringBadge.encode(message.str, writer.uint32(178).fork()).join();
		if (message.combine !== void 0) BadgeStruct_CombineBadge.encode(message.combine, writer.uint32(186).fork()).join();
		if (message.isCustomized !== false) writer.uint32(192).bool(message.isCustomized);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 16) break;
					message.badgePriorityType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.badgeScene = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.position = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.displayStatus = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.greyedByClient = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.exhibitionType = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.schemaUrl = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.display = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.logExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.image = BadgeStruct_ImageBadge.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.text = BadgeStruct_TextBadge.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.str = BadgeStruct_StringBadge.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.combine = BadgeStruct_CombineBadge.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 192) break;
					message.isCustomized = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_CombineBadge() {
	return {
		badgeDisplayType: 0,
		icon: void 0,
		text: void 0,
		str: "",
		padding: void 0,
		fontStyle: void 0,
		profileCardPanel: void 0,
		background: void 0,
		backgroundDarkMode: void 0,
		iconAutoMirrored: false,
		bgAutoMirrored: false,
		publicScreenShowStyle: 0,
		personalCardShowStyle: 0,
		rankListOnlineAudienceShowStyle: 0,
		multiGuestShowStyle: 0,
		arrowConfig: void 0,
		paddingNewFont: void 0
	};
}
const BadgeStruct_CombineBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.badgeDisplayType !== 0) writer.uint32(8).int32(message.badgeDisplayType);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.text !== void 0) BadgeStruct_TextBadge.encode(message.text, writer.uint32(26).fork()).join();
		if (message.str !== "") writer.uint32(34).string(message.str);
		if (message.padding !== void 0) BadgeStruct_PaddingInfo.encode(message.padding, writer.uint32(42).fork()).join();
		if (message.fontStyle !== void 0) FontStyle.encode(message.fontStyle, writer.uint32(50).fork()).join();
		if (message.profileCardPanel !== void 0) BadgeStruct_ProfileCardPanel.encode(message.profileCardPanel, writer.uint32(58).fork()).join();
		if (message.background !== void 0) BadgeStruct_CombineBadgeBackground.encode(message.background, writer.uint32(90).fork()).join();
		if (message.backgroundDarkMode !== void 0) BadgeStruct_CombineBadgeBackground.encode(message.backgroundDarkMode, writer.uint32(98).fork()).join();
		if (message.iconAutoMirrored !== false) writer.uint32(104).bool(message.iconAutoMirrored);
		if (message.bgAutoMirrored !== false) writer.uint32(112).bool(message.bgAutoMirrored);
		if (message.publicScreenShowStyle !== 0) writer.uint32(120).int32(message.publicScreenShowStyle);
		if (message.personalCardShowStyle !== 0) writer.uint32(128).int32(message.personalCardShowStyle);
		if (message.rankListOnlineAudienceShowStyle !== 0) writer.uint32(136).int32(message.rankListOnlineAudienceShowStyle);
		if (message.multiGuestShowStyle !== 0) writer.uint32(144).int32(message.multiGuestShowStyle);
		if (message.arrowConfig !== void 0) BadgeStruct_ArrowConfig.encode(message.arrowConfig, writer.uint32(154).fork()).join();
		if (message.paddingNewFont !== void 0) BadgeStruct_PaddingInfo.encode(message.paddingNewFont, writer.uint32(162).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_CombineBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.badgeDisplayType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.text = BadgeStruct_TextBadge.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.str = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.padding = BadgeStruct_PaddingInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.fontStyle = FontStyle.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.profileCardPanel = BadgeStruct_ProfileCardPanel.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.background = BadgeStruct_CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.backgroundDarkMode = BadgeStruct_CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 104) break;
					message.iconAutoMirrored = reader.bool();
					continue;
				case 14:
					if (tag !== 112) break;
					message.bgAutoMirrored = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.publicScreenShowStyle = reader.int32();
					continue;
				case 16:
					if (tag !== 128) break;
					message.personalCardShowStyle = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.rankListOnlineAudienceShowStyle = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.multiGuestShowStyle = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.arrowConfig = BadgeStruct_ArrowConfig.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.paddingNewFont = BadgeStruct_PaddingInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_ArrowConfig() {
	return { icon: void 0 };
}
const BadgeStruct_ArrowConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_ArrowConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_ProfileContent() {
	return {
		useContent: false,
		iconList: [],
		numberConfig: void 0
	};
}
const BadgeStruct_ProfileContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useContent !== false) writer.uint32(8).bool(message.useContent);
		for (const v of message.iconList) BadgeStruct_IconConfig.encode(v, writer.uint32(18).fork()).join();
		if (message.numberConfig !== void 0) BadgeStruct_NumberConfig.encode(message.numberConfig, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_ProfileContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useContent = reader.bool();
					continue;
				case 2:
					if (tag !== 18) break;
					message.iconList.push(BadgeStruct_IconConfig.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.numberConfig = BadgeStruct_NumberConfig.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_ProjectionConfig() {
	return {
		useProjection: false,
		icon: void 0
	};
}
const BadgeStruct_ProjectionConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useProjection !== false) writer.uint32(8).bool(message.useProjection);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_ProjectionConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useProjection = reader.bool();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_NumberConfig() {
	return {
		number: "0",
		fontStyle: void 0,
		background: void 0
	};
}
const BadgeStruct_NumberConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.number !== "0") writer.uint32(8).int64(message.number);
		if (message.fontStyle !== void 0) FontStyle.encode(message.fontStyle, writer.uint32(18).fork()).join();
		if (message.background !== void 0) BadgeStruct_CombineBadgeBackground.encode(message.background, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_NumberConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.number = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fontStyle = FontStyle.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.background = BadgeStruct_CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_ProfileCardPanel() {
	return {
		useNewProfileCardStyle: false,
		projectionConfig: void 0,
		profileContent: void 0
	};
}
const BadgeStruct_ProfileCardPanel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useNewProfileCardStyle !== false) writer.uint32(8).bool(message.useNewProfileCardStyle);
		if (message.projectionConfig !== void 0) BadgeStruct_ProjectionConfig.encode(message.projectionConfig, writer.uint32(26).fork()).join();
		if (message.profileContent !== void 0) BadgeStruct_ProfileContent.encode(message.profileContent, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_ProfileCardPanel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useNewProfileCardStyle = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.projectionConfig = BadgeStruct_ProjectionConfig.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.profileContent = BadgeStruct_ProfileContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_CombineBadgeBackground() {
	return {
		image: void 0,
		backgroundColorCode: "",
		borderColorCode: ""
	};
}
const BadgeStruct_CombineBadgeBackground = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) Image.encode(message.image, writer.uint32(10).fork()).join();
		if (message.backgroundColorCode !== "") writer.uint32(18).string(message.backgroundColorCode);
		if (message.borderColorCode !== "") writer.uint32(26).string(message.borderColorCode);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_CombineBadgeBackground();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.image = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.backgroundColorCode = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.borderColorCode = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_ImageBadge() {
	return { image: void 0 };
}
const BadgeStruct_ImageBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) Image.encode(message.image, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_ImageBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.image = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_TextBadge() {
	return {
		key: "",
		defaultPattern: "",
		pieces: []
	};
}
const BadgeStruct_TextBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(18).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(26).string(message.defaultPattern);
		for (const v of message.pieces) writer.uint32(34).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_TextBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.key = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.defaultPattern = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.pieces.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_IconConfig() {
	return {
		icon: void 0,
		background: void 0
	};
}
const BadgeStruct_IconConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.background !== void 0) BadgeStruct_CombineBadgeBackground.encode(message.background, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_IconConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.background = BadgeStruct_CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_StringBadge() {
	return { str: "" };
}
const BadgeStruct_StringBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.str !== "") writer.uint32(18).string(message.str);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_StringBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.str = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct_PaddingInfo() {
	return {
		useSpecific: false,
		middlePadding: 0,
		badgeWidth: 0,
		leftPadding: 0,
		rightPadding: 0,
		iconTopPadding: 0,
		iconBottomPadding: 0,
		horizontalPaddingRule: 0,
		verticalPaddingRule: 0
	};
}
const BadgeStruct_PaddingInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useSpecific !== false) writer.uint32(8).bool(message.useSpecific);
		if (message.middlePadding !== 0) writer.uint32(16).int32(message.middlePadding);
		if (message.badgeWidth !== 0) writer.uint32(24).int32(message.badgeWidth);
		if (message.leftPadding !== 0) writer.uint32(32).int32(message.leftPadding);
		if (message.rightPadding !== 0) writer.uint32(40).int32(message.rightPadding);
		if (message.iconTopPadding !== 0) writer.uint32(48).int32(message.iconTopPadding);
		if (message.iconBottomPadding !== 0) writer.uint32(56).int32(message.iconBottomPadding);
		if (message.horizontalPaddingRule !== 0) writer.uint32(64).int32(message.horizontalPaddingRule);
		if (message.verticalPaddingRule !== 0) writer.uint32(72).int32(message.verticalPaddingRule);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct_PaddingInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useSpecific = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.middlePadding = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.badgeWidth = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.leftPadding = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.rightPadding = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.iconTopPadding = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.iconBottomPadding = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.horizontalPaddingRule = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.verticalPaddingRule = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift() {
	return {
		giftImage: void 0,
		describe: "",
		duration: 0,
		id: "0",
		forLinkMic: false,
		combo: false,
		giftType: 0,
		diamondCount: 0,
		isDisplayedOnPanel: false,
		primaryEffectId: "0",
		giftLabelIcon: void 0,
		giftName: "",
		icon: void 0,
		goldEffect: "",
		previewImage: void 0,
		giftPanelBanner: void 0,
		isBroadcastGift: false,
		isEffectBefview: false,
		isRandomGift: false,
		isBoxGift: false,
		canPutInGiftBox: false,
		giftBoxInfo: void 0
	};
}
const Gift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftImage !== void 0) Image.encode(message.giftImage, writer.uint32(10).fork()).join();
		if (message.describe !== "") writer.uint32(18).string(message.describe);
		if (message.duration !== 0) writer.uint32(32).int32(message.duration);
		if (message.id !== "0") writer.uint32(40).int64(message.id);
		if (message.forLinkMic !== false) writer.uint32(56).bool(message.forLinkMic);
		if (message.combo !== false) writer.uint32(80).bool(message.combo);
		if (message.giftType !== 0) writer.uint32(88).int32(message.giftType);
		if (message.diamondCount !== 0) writer.uint32(96).int32(message.diamondCount);
		if (message.isDisplayedOnPanel !== false) writer.uint32(104).bool(message.isDisplayedOnPanel);
		if (message.primaryEffectId !== "0") writer.uint32(112).int64(message.primaryEffectId);
		if (message.giftLabelIcon !== void 0) Image.encode(message.giftLabelIcon, writer.uint32(122).fork()).join();
		if (message.giftName !== "") writer.uint32(130).string(message.giftName);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(170).fork()).join();
		if (message.goldEffect !== "") writer.uint32(194).string(message.goldEffect);
		if (message.previewImage !== void 0) Image.encode(message.previewImage, writer.uint32(378).fork()).join();
		if (message.giftPanelBanner !== void 0) Gift_GiftPanelBanner.encode(message.giftPanelBanner, writer.uint32(386).fork()).join();
		if (message.isBroadcastGift !== false) writer.uint32(392).bool(message.isBroadcastGift);
		if (message.isEffectBefview !== false) writer.uint32(400).bool(message.isEffectBefview);
		if (message.isRandomGift !== false) writer.uint32(408).bool(message.isRandomGift);
		if (message.isBoxGift !== false) writer.uint32(416).bool(message.isBoxGift);
		if (message.canPutInGiftBox !== false) writer.uint32(424).bool(message.canPutInGiftBox);
		if (message.giftBoxInfo !== void 0) Gift_GiftBoxInfo.encode(message.giftBoxInfo, writer.uint32(434).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftImage = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.describe = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.duration = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.id = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.forLinkMic = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.combo = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.giftType = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.diamondCount = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isDisplayedOnPanel = reader.bool();
					continue;
				case 14:
					if (tag !== 112) break;
					message.primaryEffectId = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 122) break;
					message.giftLabelIcon = Image.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.giftName = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.goldEffect = reader.string();
					continue;
				case 47:
					if (tag !== 378) break;
					message.previewImage = Image.decode(reader, reader.uint32());
					continue;
				case 48:
					if (tag !== 386) break;
					message.giftPanelBanner = Gift_GiftPanelBanner.decode(reader, reader.uint32());
					continue;
				case 49:
					if (tag !== 392) break;
					message.isBroadcastGift = reader.bool();
					continue;
				case 50:
					if (tag !== 400) break;
					message.isEffectBefview = reader.bool();
					continue;
				case 51:
					if (tag !== 408) break;
					message.isRandomGift = reader.bool();
					continue;
				case 52:
					if (tag !== 416) break;
					message.isBoxGift = reader.bool();
					continue;
				case 53:
					if (tag !== 424) break;
					message.canPutInGiftBox = reader.bool();
					continue;
				case 54:
					if (tag !== 434) break;
					message.giftBoxInfo = Gift_GiftBoxInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftPanelBanner() {
	return {
		displayText: void 0,
		leftIcon: void 0,
		schemaUrl: "",
		bgColors: [],
		bannerLynxUrl: "",
		bannerPriority: 0,
		bannerLynxExtra: "",
		bgImage: void 0
	};
}
const Gift_GiftPanelBanner = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(10).fork()).join();
		if (message.leftIcon !== void 0) Image.encode(message.leftIcon, writer.uint32(18).fork()).join();
		if (message.schemaUrl !== "") writer.uint32(26).string(message.schemaUrl);
		for (const v of message.bgColors) writer.uint32(42).string(v);
		if (message.bannerLynxUrl !== "") writer.uint32(50).string(message.bannerLynxUrl);
		if (message.bannerPriority !== 0) writer.uint32(56).int32(message.bannerPriority);
		if (message.bannerLynxExtra !== "") writer.uint32(66).string(message.bannerLynxExtra);
		if (message.bgImage !== void 0) Image.encode(message.bgImage, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftPanelBanner();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.leftIcon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.schemaUrl = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.bgColors.push(reader.string());
					continue;
				case 6:
					if (tag !== 50) break;
					message.bannerLynxUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.bannerPriority = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.bannerLynxExtra = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.bgImage = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_BatchGiftInfo() {
	return {
		canBatchSend: false,
		availableCounts: []
	};
}
const Gift_BatchGiftInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.canBatchSend !== false) writer.uint32(8).bool(message.canBatchSend);
		writer.uint32(18).fork();
		for (const v of message.availableCounts) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_BatchGiftInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.canBatchSend = reader.bool();
					continue;
				case 2:
					if (tag === 16) {
						message.availableCounts.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.availableCounts.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_CrossScreenEffectInfo() {
	return {
		singleActionEffectIds: {},
		actionEffectIds: {},
		reactionEffectIds: {}
	};
}
const Gift_CrossScreenEffectInfo = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.singleActionEffectIds).forEach(([key, value]) => {
			Gift_CrossScreenEffectInfo_SingleActionEffectIdsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		globalThis.Object.entries(message.actionEffectIds).forEach(([key, value]) => {
			Gift_CrossScreenEffectInfo_ActionEffectIdsEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		globalThis.Object.entries(message.reactionEffectIds).forEach(([key, value]) => {
			Gift_CrossScreenEffectInfo_ReactionEffectIdsEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_CrossScreenEffectInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = Gift_CrossScreenEffectInfo_SingleActionEffectIdsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.singleActionEffectIds[entry1.key] = entry1.value;
					continue;
				}
				case 2: {
					if (tag !== 18) break;
					const entry2 = Gift_CrossScreenEffectInfo_ActionEffectIdsEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.actionEffectIds[entry2.key] = entry2.value;
					continue;
				}
				case 3: {
					if (tag !== 26) break;
					const entry3 = Gift_CrossScreenEffectInfo_ReactionEffectIdsEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.reactionEffectIds[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_CrossScreenEffectInfo_SingleActionEffectIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const Gift_CrossScreenEffectInfo_SingleActionEffectIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_CrossScreenEffectInfo_SingleActionEffectIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_CrossScreenEffectInfo_ActionEffectIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const Gift_CrossScreenEffectInfo_ActionEffectIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_CrossScreenEffectInfo_ActionEffectIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_CrossScreenEffectInfo_ReactionEffectIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const Gift_CrossScreenEffectInfo_ReactionEffectIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_CrossScreenEffectInfo_ReactionEffectIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftSponsorInfo() {
	return {
		sponsorId: "0",
		sponsorCount: "0",
		currentCount: "0",
		leftCountToSponsor: "0",
		canSponsor: false
	};
}
const Gift_GiftSponsorInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sponsorId !== "0") writer.uint32(8).int64(message.sponsorId);
		if (message.sponsorCount !== "0") writer.uint32(16).int64(message.sponsorCount);
		if (message.currentCount !== "0") writer.uint32(24).int64(message.currentCount);
		if (message.leftCountToSponsor !== "0") writer.uint32(32).int64(message.leftCountToSponsor);
		if (message.canSponsor !== false) writer.uint32(40).bool(message.canSponsor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftSponsorInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sponsorId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sponsorCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.currentCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.leftCountToSponsor = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.canSponsor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_UGGiftStructInfo() {
	return {
		isUgGift: false,
		ugPointsCost: "0"
	};
}
const Gift_UGGiftStructInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isUgGift !== false) writer.uint32(8).bool(message.isUgGift);
		if (message.ugPointsCost !== "0") writer.uint32(16).int64(message.ugPointsCost);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_UGGiftStructInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isUgGift = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.ugPointsCost = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftSkin() {
	return {
		giftSkinId: "0",
		giftSkinName: "",
		staticImage: void 0,
		animatedImage: void 0
	};
}
const Gift_GiftSkin = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSkinId !== "0") writer.uint32(8).int64(message.giftSkinId);
		if (message.giftSkinName !== "") writer.uint32(18).string(message.giftSkinName);
		if (message.staticImage !== void 0) Image.encode(message.staticImage, writer.uint32(26).fork()).join();
		if (message.animatedImage !== void 0) Image.encode(message.animatedImage, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftSkin();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSkinId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftSkinName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.staticImage = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.animatedImage = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftText() {
	return {
		giftTextId: "0",
		giftTextName: ""
	};
}
const Gift_GiftText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftTextId !== "0") writer.uint32(8).int64(message.giftTextId);
		if (message.giftTextName !== "") writer.uint32(18).string(message.giftTextName);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftTextId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftTextName = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftSkinToGiftTextsInfo() {
	return {
		giftSkinId: "0",
		giftTextIds: []
	};
}
const Gift_GiftSkinToGiftTextsInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSkinId !== "0") writer.uint32(8).int64(message.giftSkinId);
		writer.uint32(18).fork();
		for (const v of message.giftTextIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftSkinToGiftTextsInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSkinId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.giftTextIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.giftTextIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftBoxInfo() {
	return {
		capacity: "0",
		isPrimaryBox: false,
		schemeUrl: ""
	};
}
const Gift_GiftBoxInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.capacity !== "0") writer.uint32(8).int64(message.capacity);
		if (message.isPrimaryBox !== false) writer.uint32(16).bool(message.isPrimaryBox);
		if (message.schemeUrl !== "") writer.uint32(26).string(message.schemeUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftBoxInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.capacity = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isPrimaryBox = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.schemeUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser() {
	return {
		userId: "0",
		nickname: "",
		bioDescription: "",
		profilePicture: void 0,
		profilePictureMedium: void 0,
		profilePictureLarge: void 0,
		verified: false,
		status: 0,
		createTime: "0",
		modifyTime: "0",
		secret: 0,
		shareQrcodeUri: "",
		badgeImageList: [],
		followInfo: void 0,
		userHonor: void 0,
		fansClub: void 0,
		border: void 0,
		specialId: "",
		avatarBorder: void 0,
		medal: void 0,
		userBadges: [],
		newUserBadges: [],
		topVipNo: 0,
		userAttr: void 0,
		ownRoom: void 0,
		payScore: "0",
		fanTicketCount: "0",
		anchorInfo: void 0,
		linkMicStats: 0,
		uniqueId: "",
		enableShowCommerceSale: false,
		withFusionShopEntry: false,
		payScores: "0",
		anchorLevel: void 0,
		verifiedContent: "",
		authorInfo: void 0,
		topFans: [],
		secUid: "",
		userRole: 0,
		rewardInfo: void 0,
		personalCard: void 0,
		authenticationInfo: void 0,
		mediaBadgeImageList: [],
		commerceWebcastConfigIds: [],
		borders: [],
		comboBadgeInfo: void 0,
		subscribeInfo: void 0,
		badges: [],
		mintTypeLabel: [],
		fansClubInfo: void 0,
		allowFindByContacts: false,
		allowOthersDownloadVideo: false,
		allowOthersDownloadWhenSharingVideo: false,
		allowShareShowProfile: false,
		allowShowInGossip: false,
		allowShowMyAction: false,
		allowStrangeComment: false,
		allowUnfollowerComment: false,
		allowUseLinkmic: false,
		avatarJpg: void 0,
		backgroundImgUrl: "",
		blockStatus: 0,
		commentRestrict: 0,
		constellation: "",
		disableIchat: 0,
		enableIchatImg: "0",
		exp: 0,
		foldStrangerChat: false,
		followStatus: "0",
		ichatRestrictType: 0,
		idStr: "",
		isFollower: false,
		isFollowing: false,
		needProfileGuide: false,
		pushCommentStatus: false,
		pushDigg: false,
		pushFollow: false,
		pushFriendAction: false,
		pushIchat: false,
		pushStatus: false,
		pushVideoPost: false,
		pushVideoRecommend: false,
		verifiedReason: "",
		enableCarManagementPermission: false,
		upcomingEventList: [],
		scmLabel: "",
		ecommerceEntrance: void 0,
		isBlock: false,
		isSubscribe: false,
		isAnchorMarked: false
	};
}
const User = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickname !== "") writer.uint32(26).string(message.nickname);
		if (message.bioDescription !== "") writer.uint32(42).string(message.bioDescription);
		if (message.profilePicture !== void 0) Image.encode(message.profilePicture, writer.uint32(74).fork()).join();
		if (message.profilePictureMedium !== void 0) Image.encode(message.profilePictureMedium, writer.uint32(82).fork()).join();
		if (message.profilePictureLarge !== void 0) Image.encode(message.profilePictureLarge, writer.uint32(90).fork()).join();
		if (message.verified !== false) writer.uint32(96).bool(message.verified);
		if (message.status !== 0) writer.uint32(120).int32(message.status);
		if (message.createTime !== "0") writer.uint32(128).int64(message.createTime);
		if (message.modifyTime !== "0") writer.uint32(136).int64(message.modifyTime);
		if (message.secret !== 0) writer.uint32(144).int32(message.secret);
		if (message.shareQrcodeUri !== "") writer.uint32(154).string(message.shareQrcodeUri);
		for (const v of message.badgeImageList) Image.encode(v, writer.uint32(170).fork()).join();
		if (message.followInfo !== void 0) User_FollowInfo.encode(message.followInfo, writer.uint32(178).fork()).join();
		if (message.userHonor !== void 0) UserHonor.encode(message.userHonor, writer.uint32(186).fork()).join();
		if (message.fansClub !== void 0) FansClubMember.encode(message.fansClub, writer.uint32(194).fork()).join();
		if (message.border !== void 0) BorderInfo.encode(message.border, writer.uint32(202).fork()).join();
		if (message.specialId !== "") writer.uint32(210).string(message.specialId);
		if (message.avatarBorder !== void 0) Image.encode(message.avatarBorder, writer.uint32(218).fork()).join();
		if (message.medal !== void 0) Image.encode(message.medal, writer.uint32(226).fork()).join();
		for (const v of message.userBadges) Image.encode(v, writer.uint32(234).fork()).join();
		for (const v of message.newUserBadges) Image.encode(v, writer.uint32(242).fork()).join();
		if (message.topVipNo !== 0) writer.uint32(248).int32(message.topVipNo);
		if (message.userAttr !== void 0) User_UserAttr.encode(message.userAttr, writer.uint32(258).fork()).join();
		if (message.ownRoom !== void 0) User_OwnRoom.encode(message.ownRoom, writer.uint32(266).fork()).join();
		if (message.payScore !== "0") writer.uint32(272).int64(message.payScore);
		if (message.fanTicketCount !== "0") writer.uint32(280).int64(message.fanTicketCount);
		if (message.anchorInfo !== void 0) User_AnchorLevel.encode(message.anchorInfo, writer.uint32(290).fork()).join();
		if (message.linkMicStats !== 0) writer.uint32(296).int32(message.linkMicStats);
		if (message.uniqueId !== "") writer.uint32(306).string(message.uniqueId);
		if (message.enableShowCommerceSale !== false) writer.uint32(312).bool(message.enableShowCommerceSale);
		if (message.withFusionShopEntry !== false) writer.uint32(320).bool(message.withFusionShopEntry);
		if (message.payScores !== "0") writer.uint32(328).int64(message.payScores);
		if (message.anchorLevel !== void 0) User_AnchorLevel.encode(message.anchorLevel, writer.uint32(338).fork()).join();
		if (message.verifiedContent !== "") writer.uint32(346).string(message.verifiedContent);
		if (message.authorInfo !== void 0) Author.encode(message.authorInfo, writer.uint32(354).fork()).join();
		for (const v of message.topFans) User.encode(v, writer.uint32(362).fork()).join();
		if (message.secUid !== "") writer.uint32(370).string(message.secUid);
		if (message.userRole !== 0) writer.uint32(376).int32(message.userRole);
		if (message.rewardInfo !== void 0) User_ActivityInfo.encode(message.rewardInfo, writer.uint32(394).fork()).join();
		if (message.personalCard !== void 0) Image.encode(message.personalCard, writer.uint32(418).fork()).join();
		if (message.authenticationInfo !== void 0) User_AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(426).fork()).join();
		for (const v of message.mediaBadgeImageList) Image.encode(v, writer.uint32(458).fork()).join();
		writer.uint32(482).fork();
		for (const v of message.commerceWebcastConfigIds) writer.int64(v);
		writer.join();
		for (const v of message.borders) BorderInfo.encode(v, writer.uint32(490).fork()).join();
		if (message.comboBadgeInfo !== void 0) User_ComboBadgeInfo.encode(message.comboBadgeInfo, writer.uint32(498).fork()).join();
		if (message.subscribeInfo !== void 0) User_SubscribeInfo.encode(message.subscribeInfo, writer.uint32(506).fork()).join();
		for (const v of message.badges) BadgeStruct.encode(v, writer.uint32(514).fork()).join();
		writer.uint32(522).fork();
		for (const v of message.mintTypeLabel) writer.int64(v);
		writer.join();
		if (message.fansClubInfo !== void 0) User_FansClubInfo.encode(message.fansClubInfo, writer.uint32(530).fork()).join();
		if (message.allowFindByContacts !== false) writer.uint32(8016).bool(message.allowFindByContacts);
		if (message.allowOthersDownloadVideo !== false) writer.uint32(8024).bool(message.allowOthersDownloadVideo);
		if (message.allowOthersDownloadWhenSharingVideo !== false) writer.uint32(8032).bool(message.allowOthersDownloadWhenSharingVideo);
		if (message.allowShareShowProfile !== false) writer.uint32(8040).bool(message.allowShareShowProfile);
		if (message.allowShowInGossip !== false) writer.uint32(8048).bool(message.allowShowInGossip);
		if (message.allowShowMyAction !== false) writer.uint32(8056).bool(message.allowShowMyAction);
		if (message.allowStrangeComment !== false) writer.uint32(8064).bool(message.allowStrangeComment);
		if (message.allowUnfollowerComment !== false) writer.uint32(8072).bool(message.allowUnfollowerComment);
		if (message.allowUseLinkmic !== false) writer.uint32(8080).bool(message.allowUseLinkmic);
		if (message.avatarJpg !== void 0) Image.encode(message.avatarJpg, writer.uint32(8098).fork()).join();
		if (message.backgroundImgUrl !== "") writer.uint32(8106).string(message.backgroundImgUrl);
		if (message.blockStatus !== 0) writer.uint32(8128).int32(message.blockStatus);
		if (message.commentRestrict !== 0) writer.uint32(8136).int32(message.commentRestrict);
		if (message.constellation !== "") writer.uint32(8146).string(message.constellation);
		if (message.disableIchat !== 0) writer.uint32(8152).int32(message.disableIchat);
		if (message.enableIchatImg !== "0") writer.uint32(8160).int64(message.enableIchatImg);
		if (message.exp !== 0) writer.uint32(8168).int32(message.exp);
		if (message.foldStrangerChat !== false) writer.uint32(8184).bool(message.foldStrangerChat);
		if (message.followStatus !== "0") writer.uint32(8192).int64(message.followStatus);
		if (message.ichatRestrictType !== 0) writer.uint32(8216).int32(message.ichatRestrictType);
		if (message.idStr !== "") writer.uint32(8226).string(message.idStr);
		if (message.isFollower !== false) writer.uint32(8232).bool(message.isFollower);
		if (message.isFollowing !== false) writer.uint32(8240).bool(message.isFollowing);
		if (message.needProfileGuide !== false) writer.uint32(8248).bool(message.needProfileGuide);
		if (message.pushCommentStatus !== false) writer.uint32(8264).bool(message.pushCommentStatus);
		if (message.pushDigg !== false) writer.uint32(8272).bool(message.pushDigg);
		if (message.pushFollow !== false) writer.uint32(8280).bool(message.pushFollow);
		if (message.pushFriendAction !== false) writer.uint32(8288).bool(message.pushFriendAction);
		if (message.pushIchat !== false) writer.uint32(8296).bool(message.pushIchat);
		if (message.pushStatus !== false) writer.uint32(8304).bool(message.pushStatus);
		if (message.pushVideoPost !== false) writer.uint32(8312).bool(message.pushVideoPost);
		if (message.pushVideoRecommend !== false) writer.uint32(8320).bool(message.pushVideoRecommend);
		if (message.verifiedReason !== "") writer.uint32(8346).string(message.verifiedReason);
		if (message.enableCarManagementPermission !== false) writer.uint32(8352).bool(message.enableCarManagementPermission);
		for (const v of message.upcomingEventList) User_LiveEventInfo.encode(v, writer.uint32(8362).fork()).join();
		if (message.scmLabel !== "") writer.uint32(8370).string(message.scmLabel);
		if (message.ecommerceEntrance !== void 0) User_EcommerceEntrance.encode(message.ecommerceEntrance, writer.uint32(8378).fork()).join();
		if (message.isBlock !== false) writer.uint32(8384).bool(message.isBlock);
		if (message.isSubscribe !== false) writer.uint32(8720).bool(message.isSubscribe);
		if (message.isAnchorMarked !== false) writer.uint32(8728).bool(message.isAnchorMarked);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickname = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.bioDescription = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.profilePicture = Image.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.profilePictureMedium = Image.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.profilePictureLarge = Image.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.verified = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.status = reader.int32();
					continue;
				case 16:
					if (tag !== 128) break;
					message.createTime = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 136) break;
					message.modifyTime = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 144) break;
					message.secret = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.shareQrcodeUri = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.badgeImageList.push(Image.decode(reader, reader.uint32()));
					continue;
				case 22:
					if (tag !== 178) break;
					message.followInfo = User_FollowInfo.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.userHonor = UserHonor.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.fansClub = FansClubMember.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 202) break;
					message.border = BorderInfo.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 210) break;
					message.specialId = reader.string();
					continue;
				case 27:
					if (tag !== 218) break;
					message.avatarBorder = Image.decode(reader, reader.uint32());
					continue;
				case 28:
					if (tag !== 226) break;
					message.medal = Image.decode(reader, reader.uint32());
					continue;
				case 29:
					if (tag !== 234) break;
					message.userBadges.push(Image.decode(reader, reader.uint32()));
					continue;
				case 30:
					if (tag !== 242) break;
					message.newUserBadges.push(Image.decode(reader, reader.uint32()));
					continue;
				case 31:
					if (tag !== 248) break;
					message.topVipNo = reader.int32();
					continue;
				case 32:
					if (tag !== 258) break;
					message.userAttr = User_UserAttr.decode(reader, reader.uint32());
					continue;
				case 33:
					if (tag !== 266) break;
					message.ownRoom = User_OwnRoom.decode(reader, reader.uint32());
					continue;
				case 34:
					if (tag !== 272) break;
					message.payScore = reader.int64().toString();
					continue;
				case 35:
					if (tag !== 280) break;
					message.fanTicketCount = reader.int64().toString();
					continue;
				case 36:
					if (tag !== 290) break;
					message.anchorInfo = User_AnchorLevel.decode(reader, reader.uint32());
					continue;
				case 37:
					if (tag !== 296) break;
					message.linkMicStats = reader.int32();
					continue;
				case 38:
					if (tag !== 306) break;
					message.uniqueId = reader.string();
					continue;
				case 39:
					if (tag !== 312) break;
					message.enableShowCommerceSale = reader.bool();
					continue;
				case 40:
					if (tag !== 320) break;
					message.withFusionShopEntry = reader.bool();
					continue;
				case 41:
					if (tag !== 328) break;
					message.payScores = reader.int64().toString();
					continue;
				case 42:
					if (tag !== 338) break;
					message.anchorLevel = User_AnchorLevel.decode(reader, reader.uint32());
					continue;
				case 43:
					if (tag !== 346) break;
					message.verifiedContent = reader.string();
					continue;
				case 44:
					if (tag !== 354) break;
					message.authorInfo = Author.decode(reader, reader.uint32());
					continue;
				case 45:
					if (tag !== 362) break;
					message.topFans.push(User.decode(reader, reader.uint32()));
					continue;
				case 46:
					if (tag !== 370) break;
					message.secUid = reader.string();
					continue;
				case 47:
					if (tag !== 376) break;
					message.userRole = reader.int32();
					continue;
				case 49:
					if (tag !== 394) break;
					message.rewardInfo = User_ActivityInfo.decode(reader, reader.uint32());
					continue;
				case 52:
					if (tag !== 418) break;
					message.personalCard = Image.decode(reader, reader.uint32());
					continue;
				case 53:
					if (tag !== 426) break;
					message.authenticationInfo = User_AuthenticationInfo.decode(reader, reader.uint32());
					continue;
				case 57:
					if (tag !== 458) break;
					message.mediaBadgeImageList.push(Image.decode(reader, reader.uint32()));
					continue;
				case 60:
					if (tag === 480) {
						message.commerceWebcastConfigIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 482) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.commerceWebcastConfigIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 61:
					if (tag !== 490) break;
					message.borders.push(BorderInfo.decode(reader, reader.uint32()));
					continue;
				case 62:
					if (tag !== 498) break;
					message.comboBadgeInfo = User_ComboBadgeInfo.decode(reader, reader.uint32());
					continue;
				case 63:
					if (tag !== 506) break;
					message.subscribeInfo = User_SubscribeInfo.decode(reader, reader.uint32());
					continue;
				case 64:
					if (tag !== 514) break;
					message.badges.push(BadgeStruct.decode(reader, reader.uint32()));
					continue;
				case 65:
					if (tag === 520) {
						message.mintTypeLabel.push(reader.int64().toString());
						continue;
					}
					if (tag === 522) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.mintTypeLabel.push(reader.int64().toString());
						continue;
					}
					break;
				case 66:
					if (tag !== 530) break;
					message.fansClubInfo = User_FansClubInfo.decode(reader, reader.uint32());
					continue;
				case 1002:
					if (tag !== 8016) break;
					message.allowFindByContacts = reader.bool();
					continue;
				case 1003:
					if (tag !== 8024) break;
					message.allowOthersDownloadVideo = reader.bool();
					continue;
				case 1004:
					if (tag !== 8032) break;
					message.allowOthersDownloadWhenSharingVideo = reader.bool();
					continue;
				case 1005:
					if (tag !== 8040) break;
					message.allowShareShowProfile = reader.bool();
					continue;
				case 1006:
					if (tag !== 8048) break;
					message.allowShowInGossip = reader.bool();
					continue;
				case 1007:
					if (tag !== 8056) break;
					message.allowShowMyAction = reader.bool();
					continue;
				case 1008:
					if (tag !== 8064) break;
					message.allowStrangeComment = reader.bool();
					continue;
				case 1009:
					if (tag !== 8072) break;
					message.allowUnfollowerComment = reader.bool();
					continue;
				case 1010:
					if (tag !== 8080) break;
					message.allowUseLinkmic = reader.bool();
					continue;
				case 1012:
					if (tag !== 8098) break;
					message.avatarJpg = Image.decode(reader, reader.uint32());
					continue;
				case 1013:
					if (tag !== 8106) break;
					message.backgroundImgUrl = reader.string();
					continue;
				case 1016:
					if (tag !== 8128) break;
					message.blockStatus = reader.int32();
					continue;
				case 1017:
					if (tag !== 8136) break;
					message.commentRestrict = reader.int32();
					continue;
				case 1018:
					if (tag !== 8146) break;
					message.constellation = reader.string();
					continue;
				case 1019:
					if (tag !== 8152) break;
					message.disableIchat = reader.int32();
					continue;
				case 1020:
					if (tag !== 8160) break;
					message.enableIchatImg = reader.int64().toString();
					continue;
				case 1021:
					if (tag !== 8168) break;
					message.exp = reader.int32();
					continue;
				case 1023:
					if (tag !== 8184) break;
					message.foldStrangerChat = reader.bool();
					continue;
				case 1024:
					if (tag !== 8192) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 1027:
					if (tag !== 8216) break;
					message.ichatRestrictType = reader.int32();
					continue;
				case 1028:
					if (tag !== 8226) break;
					message.idStr = reader.string();
					continue;
				case 1029:
					if (tag !== 8232) break;
					message.isFollower = reader.bool();
					continue;
				case 1030:
					if (tag !== 8240) break;
					message.isFollowing = reader.bool();
					continue;
				case 1031:
					if (tag !== 8248) break;
					message.needProfileGuide = reader.bool();
					continue;
				case 1033:
					if (tag !== 8264) break;
					message.pushCommentStatus = reader.bool();
					continue;
				case 1034:
					if (tag !== 8272) break;
					message.pushDigg = reader.bool();
					continue;
				case 1035:
					if (tag !== 8280) break;
					message.pushFollow = reader.bool();
					continue;
				case 1036:
					if (tag !== 8288) break;
					message.pushFriendAction = reader.bool();
					continue;
				case 1037:
					if (tag !== 8296) break;
					message.pushIchat = reader.bool();
					continue;
				case 1038:
					if (tag !== 8304) break;
					message.pushStatus = reader.bool();
					continue;
				case 1039:
					if (tag !== 8312) break;
					message.pushVideoPost = reader.bool();
					continue;
				case 1040:
					if (tag !== 8320) break;
					message.pushVideoRecommend = reader.bool();
					continue;
				case 1043:
					if (tag !== 8346) break;
					message.verifiedReason = reader.string();
					continue;
				case 1044:
					if (tag !== 8352) break;
					message.enableCarManagementPermission = reader.bool();
					continue;
				case 1045:
					if (tag !== 8362) break;
					message.upcomingEventList.push(User_LiveEventInfo.decode(reader, reader.uint32()));
					continue;
				case 1046:
					if (tag !== 8370) break;
					message.scmLabel = reader.string();
					continue;
				case 1047:
					if (tag !== 8378) break;
					message.ecommerceEntrance = User_EcommerceEntrance.decode(reader, reader.uint32());
					continue;
				case 1048:
					if (tag !== 8384) break;
					message.isBlock = reader.bool();
					continue;
				case 1090:
					if (tag !== 8720) break;
					message.isSubscribe = reader.bool();
					continue;
				case 1091:
					if (tag !== 8728) break;
					message.isAnchorMarked = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_LiveEventInfo() {
	return {
		eventId: "0",
		startTime: "0",
		duration: "0",
		title: "",
		description: "",
		hasSubscribed: false,
		isPaidEvent: false,
		ticketAmount: "0",
		payMethod: "0"
	};
}
const User_LiveEventInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.eventId !== "0") writer.uint32(8).int64(message.eventId);
		if (message.startTime !== "0") writer.uint32(16).int64(message.startTime);
		if (message.duration !== "0") writer.uint32(24).int64(message.duration);
		if (message.title !== "") writer.uint32(34).string(message.title);
		if (message.description !== "") writer.uint32(42).string(message.description);
		if (message.hasSubscribed !== false) writer.uint32(48).bool(message.hasSubscribed);
		if (message.isPaidEvent !== false) writer.uint32(56).bool(message.isPaidEvent);
		if (message.ticketAmount !== "0") writer.uint32(64).int64(message.ticketAmount);
		if (message.payMethod !== "0") writer.uint32(72).int64(message.payMethod);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_LiveEventInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.eventId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.startTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.duration = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.title = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.description = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.hasSubscribed = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isPaidEvent = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.ticketAmount = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.payMethod = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_LiveEventInfo_WalletPackage() {
	return {
		iapId: "",
		usdPriceShow: ""
	};
}
const User_LiveEventInfo_WalletPackage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iapId !== "") writer.uint32(10).string(message.iapId);
		if (message.usdPriceShow !== "") writer.uint32(18).string(message.usdPriceShow);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_LiveEventInfo_WalletPackage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.iapId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.usdPriceShow = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_ActivityInfo() {
	return {
		badge: void 0,
		storytag: void 0
	};
}
const User_ActivityInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.badge !== void 0) Image.encode(message.badge, writer.uint32(10).fork()).join();
		if (message.storytag !== void 0) Image.encode(message.storytag, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_ActivityInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.badge = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.storytag = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_AnchorLevel() {
	return {
		level: "0",
		experience: "0",
		lowestExperienceThisLevel: "0",
		highestExperienceThisLevel: "0",
		taskStartExperience: "0",
		taskStartTime: "0",
		taskDecreaseExperience: "0",
		taskTargetExperience: "0",
		taskEndTime: "0",
		profileDialogBg: void 0,
		profileDialogBgBack: void 0,
		stageLevel: void 0,
		smallIcon: void 0
	};
}
const User_AnchorLevel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.level !== "0") writer.uint32(8).int64(message.level);
		if (message.experience !== "0") writer.uint32(16).int64(message.experience);
		if (message.lowestExperienceThisLevel !== "0") writer.uint32(24).int64(message.lowestExperienceThisLevel);
		if (message.highestExperienceThisLevel !== "0") writer.uint32(32).int64(message.highestExperienceThisLevel);
		if (message.taskStartExperience !== "0") writer.uint32(40).int64(message.taskStartExperience);
		if (message.taskStartTime !== "0") writer.uint32(48).int64(message.taskStartTime);
		if (message.taskDecreaseExperience !== "0") writer.uint32(56).int64(message.taskDecreaseExperience);
		if (message.taskTargetExperience !== "0") writer.uint32(64).int64(message.taskTargetExperience);
		if (message.taskEndTime !== "0") writer.uint32(72).int64(message.taskEndTime);
		if (message.profileDialogBg !== void 0) Image.encode(message.profileDialogBg, writer.uint32(82).fork()).join();
		if (message.profileDialogBgBack !== void 0) Image.encode(message.profileDialogBgBack, writer.uint32(90).fork()).join();
		if (message.stageLevel !== void 0) Image.encode(message.stageLevel, writer.uint32(98).fork()).join();
		if (message.smallIcon !== void 0) Image.encode(message.smallIcon, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_AnchorLevel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.level = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.experience = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.lowestExperienceThisLevel = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.highestExperienceThisLevel = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.taskStartExperience = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.taskStartTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.taskDecreaseExperience = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.taskTargetExperience = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.taskEndTime = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.profileDialogBg = Image.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.profileDialogBgBack = Image.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.stageLevel = Image.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.smallIcon = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_AuthenticationInfo() {
	return {
		customVerify: "",
		enterpriseVerifyReason: "",
		authenticationBadge: void 0
	};
}
const User_AuthenticationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.customVerify !== "") writer.uint32(10).string(message.customVerify);
		if (message.enterpriseVerifyReason !== "") writer.uint32(18).string(message.enterpriseVerifyReason);
		if (message.authenticationBadge !== void 0) Image.encode(message.authenticationBadge, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_AuthenticationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.customVerify = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.enterpriseVerifyReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.authenticationBadge = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_AuthorStats() {
	return {
		videoTotalCount: "0",
		videoTotalPlayCount: "0",
		videoTotalShareCount: "0",
		videoTotalSeriesCount: "0",
		varietyShowPlayCount: "0",
		videoTotalFavoriteCount: "0"
	};
}
const User_AuthorStats = {
	encode(message, writer = new BinaryWriter()) {
		if (message.videoTotalCount !== "0") writer.uint32(8).int64(message.videoTotalCount);
		if (message.videoTotalPlayCount !== "0") writer.uint32(16).int64(message.videoTotalPlayCount);
		if (message.videoTotalShareCount !== "0") writer.uint32(24).int64(message.videoTotalShareCount);
		if (message.videoTotalSeriesCount !== "0") writer.uint32(32).int64(message.videoTotalSeriesCount);
		if (message.varietyShowPlayCount !== "0") writer.uint32(40).int64(message.varietyShowPlayCount);
		if (message.videoTotalFavoriteCount !== "0") writer.uint32(48).int64(message.videoTotalFavoriteCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_AuthorStats();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.videoTotalCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.videoTotalPlayCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.videoTotalShareCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.videoTotalSeriesCount = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.varietyShowPlayCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.videoTotalFavoriteCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_Border() {
	return {
		icon: void 0,
		level: "0",
		source: "",
		profileDecorationRibbon: void 0,
		avatarBackgroundColor: "",
		avatarBackgroundBorderColor: ""
	};
}
const User_Border = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.level !== "0") writer.uint32(16).int64(message.level);
		if (message.source !== "") writer.uint32(26).string(message.source);
		if (message.profileDecorationRibbon !== void 0) Image.encode(message.profileDecorationRibbon, writer.uint32(34).fork()).join();
		if (message.avatarBackgroundColor !== "") writer.uint32(58).string(message.avatarBackgroundColor);
		if (message.avatarBackgroundBorderColor !== "") writer.uint32(66).string(message.avatarBackgroundBorderColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_Border();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.level = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.source = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.profileDecorationRibbon = Image.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.avatarBackgroundColor = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.avatarBackgroundBorderColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_ComboBadgeInfo() {
	return {
		icon: void 0,
		comboCount: "0"
	};
}
const User_ComboBadgeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.comboCount !== "0") writer.uint32(16).int64(message.comboCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_ComboBadgeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.comboCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_EcommerceEntrance() {
	return {
		entranceType: 0,
		creatorType: 0,
		schema: "",
		shopEntranceInfo: void 0,
		showcaseEntranceInfo: void 0
	};
}
const User_EcommerceEntrance = {
	encode(message, writer = new BinaryWriter()) {
		if (message.entranceType !== 0) writer.uint32(8).int32(message.entranceType);
		if (message.creatorType !== 0) writer.uint32(16).int32(message.creatorType);
		if (message.schema !== "") writer.uint32(26).string(message.schema);
		if (message.shopEntranceInfo !== void 0) User_EcommerceEntrance_ShopEntranceInfo.encode(message.shopEntranceInfo, writer.uint32(34).fork()).join();
		if (message.showcaseEntranceInfo !== void 0) User_EcommerceEntrance_ShowcaseEntranceInfo.encode(message.showcaseEntranceInfo, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_EcommerceEntrance();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.entranceType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.creatorType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.schema = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.shopEntranceInfo = User_EcommerceEntrance_ShopEntranceInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.showcaseEntranceInfo = User_EcommerceEntrance_ShowcaseEntranceInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_EcommerceEntrance_ShopEntranceInfo() {
	return {
		shopId: "",
		shopName: "",
		shopRating: "",
		storeLabel: void 0,
		formatSoldCount: "",
		soldCount: "0",
		expRatePercentile: 0,
		expRateTopDisplay: "",
		rateDisplayStyle: 0,
		showRateNotApplicable: false
	};
}
const User_EcommerceEntrance_ShopEntranceInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.shopId !== "") writer.uint32(10).string(message.shopId);
		if (message.shopName !== "") writer.uint32(18).string(message.shopName);
		if (message.shopRating !== "") writer.uint32(26).string(message.shopRating);
		if (message.storeLabel !== void 0) User_EcommerceEntrance_ShopEntranceInfo_StoreLabel.encode(message.storeLabel, writer.uint32(34).fork()).join();
		if (message.formatSoldCount !== "") writer.uint32(42).string(message.formatSoldCount);
		if (message.soldCount !== "0") writer.uint32(48).int64(message.soldCount);
		if (message.expRatePercentile !== 0) writer.uint32(56).int32(message.expRatePercentile);
		if (message.expRateTopDisplay !== "") writer.uint32(66).string(message.expRateTopDisplay);
		if (message.rateDisplayStyle !== 0) writer.uint32(72).int32(message.rateDisplayStyle);
		if (message.showRateNotApplicable !== false) writer.uint32(80).bool(message.showRateNotApplicable);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_EcommerceEntrance_ShopEntranceInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.shopId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.shopName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.shopRating = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.storeLabel = User_EcommerceEntrance_ShopEntranceInfo_StoreLabel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.formatSoldCount = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.soldCount = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.expRatePercentile = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.expRateTopDisplay = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.rateDisplayStyle = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.showRateNotApplicable = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_EcommerceEntrance_ShopEntranceInfo_StoreLabel() {
	return {
		officialLabel: void 0,
		isBytemall: false
	};
}
const User_EcommerceEntrance_ShopEntranceInfo_StoreLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.officialLabel !== void 0) User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel.encode(message.officialLabel, writer.uint32(10).fork()).join();
		if (message.isBytemall !== false) writer.uint32(16).bool(message.isBytemall);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_EcommerceEntrance_ShopEntranceInfo_StoreLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.officialLabel = User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.isBytemall = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel() {
	return {
		labelImageLight: void 0,
		labelImageDark: void 0,
		labelType: "0",
		labelTypeStr: ""
	};
}
const User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.labelImageLight !== void 0) User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage.encode(message.labelImageLight, writer.uint32(10).fork()).join();
		if (message.labelImageDark !== void 0) User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage.encode(message.labelImageDark, writer.uint32(18).fork()).join();
		if (message.labelType !== "0") writer.uint32(24).int64(message.labelType);
		if (message.labelTypeStr !== "") writer.uint32(34).string(message.labelTypeStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.labelImageLight = User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.labelImageDark = User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.labelType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.labelTypeStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage() {
	return {
		height: 0,
		width: 0,
		minetype: "",
		thumbUri: "",
		thumbUriList: [],
		uri: "",
		urlList: [],
		color: ""
	};
}
const User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.height !== 0) writer.uint32(8).int32(message.height);
		if (message.width !== 0) writer.uint32(16).int32(message.width);
		if (message.minetype !== "") writer.uint32(26).string(message.minetype);
		if (message.thumbUri !== "") writer.uint32(34).string(message.thumbUri);
		for (const v of message.thumbUriList) writer.uint32(42).string(v);
		if (message.uri !== "") writer.uint32(50).string(message.uri);
		for (const v of message.urlList) writer.uint32(58).string(v);
		if (message.color !== "") writer.uint32(66).string(message.color);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.height = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.width = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.minetype = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.thumbUri = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.thumbUriList.push(reader.string());
					continue;
				case 6:
					if (tag !== 50) break;
					message.uri = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.urlList.push(reader.string());
					continue;
				case 8:
					if (tag !== 66) break;
					message.color = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_EcommerceEntrance_ShowcaseEntranceInfo() {
	return {
		formatSoldCount: "",
		soldCount: "0"
	};
}
const User_EcommerceEntrance_ShowcaseEntranceInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.formatSoldCount !== "") writer.uint32(10).string(message.formatSoldCount);
		if (message.soldCount !== "0") writer.uint32(16).int64(message.soldCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_EcommerceEntrance_ShowcaseEntranceInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.formatSoldCount = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.soldCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_FansClub() {
	return { data: void 0 };
}
const User_FansClub = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data !== void 0) User_FansClub_FansClubData.encode(message.data, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_FansClub();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.data = User_FansClub_FansClubData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_FansClub_FansClubData() {
	return {
		clubName: "",
		level: 0,
		userFansClubStatus: 0,
		availableGiftIdsList: [],
		anchorId: "0"
	};
}
const User_FansClub_FansClubData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.clubName !== "") writer.uint32(10).string(message.clubName);
		if (message.level !== 0) writer.uint32(16).int32(message.level);
		if (message.userFansClubStatus !== 0) writer.uint32(24).int32(message.userFansClubStatus);
		writer.uint32(42).fork();
		for (const v of message.availableGiftIdsList) writer.int64(v);
		writer.join();
		if (message.anchorId !== "0") writer.uint32(48).int64(message.anchorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_FansClub_FansClubData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.clubName = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.level = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.userFansClubStatus = reader.int32();
					continue;
				case 5:
					if (tag === 40) {
						message.availableGiftIdsList.push(reader.int64().toString());
						continue;
					}
					if (tag === 42) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.availableGiftIdsList.push(reader.int64().toString());
						continue;
					}
					break;
				case 6:
					if (tag !== 48) break;
					message.anchorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_FansClubInfo() {
	return {
		isSleeping: false,
		fansLevel: "0",
		fansScore: "0",
		badge: void 0,
		fansCount: "0",
		fansClubName: ""
	};
}
const User_FansClubInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isSleeping !== false) writer.uint32(8).bool(message.isSleeping);
		if (message.fansLevel !== "0") writer.uint32(16).int64(message.fansLevel);
		if (message.fansScore !== "0") writer.uint32(24).int64(message.fansScore);
		if (message.badge !== void 0) Image.encode(message.badge, writer.uint32(34).fork()).join();
		if (message.fansCount !== "0") writer.uint32(40).int64(message.fansCount);
		if (message.fansClubName !== "") writer.uint32(50).string(message.fansClubName);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_FansClubInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isSleeping = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fansLevel = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fansScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.badge = Image.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.fansCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.fansClubName = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_FollowInfo() {
	return {
		followingCount: "0",
		followerCount: "0",
		followStatus: "0",
		pushStatus: "0"
	};
}
const User_FollowInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.followingCount !== "0") writer.uint32(8).int64(message.followingCount);
		if (message.followerCount !== "0") writer.uint32(16).int64(message.followerCount);
		if (message.followStatus !== "0") writer.uint32(24).int64(message.followStatus);
		if (message.pushStatus !== "0") writer.uint32(32).int64(message.pushStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_FollowInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.followingCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.followerCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.pushStatus = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_OwnRoom() {
	return {
		roomIdsList: [],
		roomIdsStrList: []
	};
}
const User_OwnRoom = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.roomIdsList) writer.int64(v);
		writer.join();
		for (const v of message.roomIdsStrList) writer.uint32(18).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_OwnRoom();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.roomIdsList.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.roomIdsList.push(reader.int64().toString());
						continue;
					}
					break;
				case 2:
					if (tag !== 18) break;
					message.roomIdsStrList.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_PayGrade() {
	return {
		diamondIcon: void 0,
		name: "",
		icon: void 0,
		nextName: "",
		level: "0",
		nextIcon: void 0,
		gradeDescribe: "",
		gradeIconList: [],
		screenChatType: "0",
		imIcon: void 0,
		imIconWithLevel: void 0,
		liveIcon: void 0,
		newImIconWithLevel: void 0,
		newLiveIcon: void 0,
		upgradeNeedConsume: "0",
		nextPrivileges: "",
		background: void 0,
		backgroundBack: void 0,
		score: "0",
		gradeBanner: "",
		profileDialogBg: void 0,
		profileDialogBgBack: void 0
	};
}
const User_PayGrade = {
	encode(message, writer = new BinaryWriter()) {
		if (message.diamondIcon !== void 0) Image.encode(message.diamondIcon, writer.uint32(18).fork()).join();
		if (message.name !== "") writer.uint32(26).string(message.name);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(34).fork()).join();
		if (message.nextName !== "") writer.uint32(42).string(message.nextName);
		if (message.level !== "0") writer.uint32(48).int64(message.level);
		if (message.nextIcon !== void 0) Image.encode(message.nextIcon, writer.uint32(58).fork()).join();
		if (message.gradeDescribe !== "") writer.uint32(106).string(message.gradeDescribe);
		for (const v of message.gradeIconList) GradeIcon.encode(v, writer.uint32(114).fork()).join();
		if (message.screenChatType !== "0") writer.uint32(120).int64(message.screenChatType);
		if (message.imIcon !== void 0) Image.encode(message.imIcon, writer.uint32(130).fork()).join();
		if (message.imIconWithLevel !== void 0) Image.encode(message.imIconWithLevel, writer.uint32(138).fork()).join();
		if (message.liveIcon !== void 0) Image.encode(message.liveIcon, writer.uint32(146).fork()).join();
		if (message.newImIconWithLevel !== void 0) Image.encode(message.newImIconWithLevel, writer.uint32(154).fork()).join();
		if (message.newLiveIcon !== void 0) Image.encode(message.newLiveIcon, writer.uint32(162).fork()).join();
		if (message.upgradeNeedConsume !== "0") writer.uint32(168).int64(message.upgradeNeedConsume);
		if (message.nextPrivileges !== "") writer.uint32(178).string(message.nextPrivileges);
		if (message.background !== void 0) Image.encode(message.background, writer.uint32(186).fork()).join();
		if (message.backgroundBack !== void 0) Image.encode(message.backgroundBack, writer.uint32(194).fork()).join();
		if (message.score !== "0") writer.uint32(200).int64(message.score);
		if (message.gradeBanner !== "") writer.uint32(8010).string(message.gradeBanner);
		if (message.profileDialogBg !== void 0) Image.encode(message.profileDialogBg, writer.uint32(8018).fork()).join();
		if (message.profileDialogBgBack !== void 0) Image.encode(message.profileDialogBgBack, writer.uint32(8026).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_PayGrade();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.diamondIcon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.name = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.nextName = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.level = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.nextIcon = Image.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.gradeDescribe = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.gradeIconList.push(GradeIcon.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 120) break;
					message.screenChatType = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 130) break;
					message.imIcon = Image.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.imIconWithLevel = Image.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.liveIcon = Image.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.newImIconWithLevel = Image.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.newLiveIcon = Image.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.upgradeNeedConsume = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 178) break;
					message.nextPrivileges = reader.string();
					continue;
				case 23:
					if (tag !== 186) break;
					message.background = Image.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.backgroundBack = Image.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 200) break;
					message.score = reader.int64().toString();
					continue;
				case 1001:
					if (tag !== 8010) break;
					message.gradeBanner = reader.string();
					continue;
				case 1002:
					if (tag !== 8018) break;
					message.profileDialogBg = Image.decode(reader, reader.uint32());
					continue;
				case 1003:
					if (tag !== 8026) break;
					message.profileDialogBgBack = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_SubscribeBadge() {
	return {
		originImg: void 0,
		previewImg: void 0
	};
}
const User_SubscribeBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.originImg !== void 0) Image.encode(message.originImg, writer.uint32(26).fork()).join();
		if (message.previewImg !== void 0) Image.encode(message.previewImg, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_SubscribeBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 3:
					if (tag !== 26) break;
					message.originImg = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.previewImg = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_SubscribeInfo() {
	return {
		qualification: false,
		isSubscribe: false,
		badge: void 0,
		enableSubscription: false,
		subscriberCount: "0",
		isInGracePeriod: false,
		isSubscribedToAnchor: false,
		userGiftSubAuth: false,
		anchorGiftSubAuth: false
	};
}
const User_SubscribeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.qualification !== false) writer.uint32(8).bool(message.qualification);
		if (message.isSubscribe !== false) writer.uint32(16).bool(message.isSubscribe);
		if (message.badge !== void 0) User_SubscribeBadge.encode(message.badge, writer.uint32(26).fork()).join();
		if (message.enableSubscription !== false) writer.uint32(32).bool(message.enableSubscription);
		if (message.subscriberCount !== "0") writer.uint32(40).int64(message.subscriberCount);
		if (message.isInGracePeriod !== false) writer.uint32(48).bool(message.isInGracePeriod);
		if (message.isSubscribedToAnchor !== false) writer.uint32(56).bool(message.isSubscribedToAnchor);
		if (message.userGiftSubAuth !== false) writer.uint32(72).bool(message.userGiftSubAuth);
		if (message.anchorGiftSubAuth !== false) writer.uint32(80).bool(message.anchorGiftSubAuth);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_SubscribeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.qualification = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscribe = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.badge = User_SubscribeBadge.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.enableSubscription = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.subscriberCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isInGracePeriod = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isSubscribedToAnchor = reader.bool();
					continue;
				case 9:
					if (tag !== 72) break;
					message.userGiftSubAuth = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.anchorGiftSubAuth = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_UserAttr() {
	return {
		isMuted: false,
		isAdmin: false,
		isSuperAdmin: false,
		muteDuration: "0"
	};
}
const User_UserAttr = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isMuted !== false) writer.uint32(8).bool(message.isMuted);
		if (message.isAdmin !== false) writer.uint32(16).bool(message.isAdmin);
		if (message.isSuperAdmin !== false) writer.uint32(24).bool(message.isSuperAdmin);
		if (message.muteDuration !== "0") writer.uint32(32).int64(message.muteDuration);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_UserAttr();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isMuted = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isAdmin = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isSuperAdmin = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.muteDuration = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUser_UserStats() {
	return {
		id: "0",
		idStr: "",
		followingCount: "0",
		followerCount: "0",
		recordCount: "0",
		totalDuration: "0",
		dailyFanTicketCount: "0",
		dailyIncome: "0",
		itemCount: "0",
		favoriteItemCount: "0",
		diamondConsumedCount: "0",
		tuwenItemCount: "0"
	};
}
const User_UserStats = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.idStr !== "") writer.uint32(18).string(message.idStr);
		if (message.followingCount !== "0") writer.uint32(24).int64(message.followingCount);
		if (message.followerCount !== "0") writer.uint32(32).int64(message.followerCount);
		if (message.recordCount !== "0") writer.uint32(40).int64(message.recordCount);
		if (message.totalDuration !== "0") writer.uint32(48).int64(message.totalDuration);
		if (message.dailyFanTicketCount !== "0") writer.uint32(56).int64(message.dailyFanTicketCount);
		if (message.dailyIncome !== "0") writer.uint32(64).int64(message.dailyIncome);
		if (message.itemCount !== "0") writer.uint32(72).int64(message.itemCount);
		if (message.favoriteItemCount !== "0") writer.uint32(80).int64(message.favoriteItemCount);
		if (message.diamondConsumedCount !== "0") writer.uint32(96).int64(message.diamondConsumedCount);
		if (message.tuwenItemCount !== "0") writer.uint32(104).int64(message.tuwenItemCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser_UserStats();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.idStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.followingCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.followerCount = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.recordCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.totalDuration = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.dailyFanTicketCount = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.dailyIncome = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.itemCount = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.favoriteItemCount = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.diamondConsumedCount = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.tuwenItemCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmote() {
	return {
		emoteId: "",
		image: void 0,
		auditStatus: 0,
		uuid: "",
		emoteType: 0,
		contentSource: 0,
		emotePrivateType: 0,
		packageId: "",
		auditInfo: void 0,
		rewardCondition: 0,
		emoteUploadInfo: void 0,
		createTime: "0",
		emoteScene: 0
	};
}
const Emote = {
	encode(message, writer = new BinaryWriter()) {
		if (message.emoteId !== "") writer.uint32(10).string(message.emoteId);
		if (message.image !== void 0) Image.encode(message.image, writer.uint32(18).fork()).join();
		if (message.auditStatus !== 0) writer.uint32(24).int32(message.auditStatus);
		if (message.uuid !== "") writer.uint32(34).string(message.uuid);
		if (message.emoteType !== 0) writer.uint32(40).int32(message.emoteType);
		if (message.contentSource !== 0) writer.uint32(48).int32(message.contentSource);
		if (message.emotePrivateType !== 0) writer.uint32(56).int32(message.emotePrivateType);
		if (message.packageId !== "") writer.uint32(66).string(message.packageId);
		if (message.auditInfo !== void 0) Emote_AuditInfo.encode(message.auditInfo, writer.uint32(74).fork()).join();
		if (message.rewardCondition !== 0) writer.uint32(80).int32(message.rewardCondition);
		if (message.emoteUploadInfo !== void 0) Emote_EmoteUploadInfo.encode(message.emoteUploadInfo, writer.uint32(90).fork()).join();
		if (message.createTime !== "0") writer.uint32(96).int64(message.createTime);
		if (message.emoteScene !== 0) writer.uint32(104).int32(message.emoteScene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmote();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.emoteId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.image = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.auditStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.uuid = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.emoteType = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.contentSource = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.emotePrivateType = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.packageId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.auditInfo = Emote_AuditInfo.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.rewardCondition = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.emoteUploadInfo = Emote_EmoteUploadInfo.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.createTime = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.emoteScene = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmote_AuditInfo() {
	return {
		violationId: "0",
		taskType: 0
	};
}
const Emote_AuditInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.violationId !== "0") writer.uint32(8).int64(message.violationId);
		if (message.taskType !== 0) writer.uint32(16).int32(message.taskType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmote_AuditInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.violationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmote_EmoteUploadInfo() {
	return {
		userId: "0",
		emoteUploadSource: 0,
		userInfo: void 0,
		userIdStr: ""
	};
}
const Emote_EmoteUploadInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.emoteUploadSource !== 0) writer.uint32(16).int32(message.emoteUploadSource);
		if (message.userInfo !== void 0) User.encode(message.userInfo, writer.uint32(26).fork()).join();
		if (message.userIdStr !== "") writer.uint32(34).string(message.userIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmote_EmoteUploadInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.emoteUploadSource = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.userIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePunishEventInfo() {
	return {
		punishType: "",
		punishReason: "",
		punishId: "",
		violationUid: "0",
		punishTypeId: 0,
		duration: "0",
		punishPerceptionCode: "",
		violationUidStr: "",
		showReason: ""
	};
}
const PunishEventInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.punishType !== "") writer.uint32(10).string(message.punishType);
		if (message.punishReason !== "") writer.uint32(18).string(message.punishReason);
		if (message.punishId !== "") writer.uint32(26).string(message.punishId);
		if (message.violationUid !== "0") writer.uint32(32).int64(message.violationUid);
		if (message.punishTypeId !== 0) writer.uint32(40).int32(message.punishTypeId);
		if (message.duration !== "0") writer.uint32(48).int64(message.duration);
		if (message.punishPerceptionCode !== "") writer.uint32(58).string(message.punishPerceptionCode);
		if (message.violationUidStr !== "") writer.uint32(74).string(message.violationUidStr);
		if (message.showReason !== "") writer.uint32(82).string(message.showReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePunishEventInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.punishType = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.punishReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.punishId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.violationUid = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.punishTypeId = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.duration = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.punishPerceptionCode = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.violationUidStr = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.showReason = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMsgFilter() {
	return {
		isGifter: false,
		isSubscribedToAnchor: false
	};
}
const MsgFilter = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isGifter !== false) writer.uint32(8).bool(message.isGifter);
		if (message.isSubscribedToAnchor !== false) writer.uint32(16).bool(message.isSubscribedToAnchor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMsgFilter();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isGifter = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscribedToAnchor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserIdentity() {
	return {
		isGiftGiverOfAnchor: false,
		isSubscriberOfAnchor: false,
		isMutualFollowingWithAnchor: false,
		isFollowerOfAnchor: false,
		isModeratorOfAnchor: false,
		isAnchor: false
	};
}
const UserIdentity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isGiftGiverOfAnchor !== false) writer.uint32(8).bool(message.isGiftGiverOfAnchor);
		if (message.isSubscriberOfAnchor !== false) writer.uint32(16).bool(message.isSubscriberOfAnchor);
		if (message.isMutualFollowingWithAnchor !== false) writer.uint32(24).bool(message.isMutualFollowingWithAnchor);
		if (message.isFollowerOfAnchor !== false) writer.uint32(32).bool(message.isFollowerOfAnchor);
		if (message.isModeratorOfAnchor !== false) writer.uint32(40).bool(message.isModeratorOfAnchor);
		if (message.isAnchor !== false) writer.uint32(48).bool(message.isAnchor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserIdentity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isGiftGiverOfAnchor = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscriberOfAnchor = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isMutualFollowingWithAnchor = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isFollowerOfAnchor = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isModeratorOfAnchor = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isAnchor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal() {
	return {
		id: "0",
		type: 0,
		status: 0,
		subGoals: [],
		description: "",
		auditStatus: 0,
		cycleType: 0,
		startTime: "0",
		expireTime: "0",
		realFinishTime: "0",
		contributors: [],
		contributorsLength: 0,
		idStr: "",
		auditDescription: "",
		stats: void 0,
		goalExtraInfo: "",
		mode: 0,
		auditInfo: void 0,
		challengeType: "",
		isUneditable: false
	};
}
const LiveStreamGoal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.type !== 0) writer.uint32(16).int32(message.type);
		if (message.status !== 0) writer.uint32(24).int32(message.status);
		for (const v of message.subGoals) LiveStreamGoal_LiveStreamSubGoal.encode(v, writer.uint32(34).fork()).join();
		if (message.description !== "") writer.uint32(42).string(message.description);
		if (message.auditStatus !== 0) writer.uint32(48).int32(message.auditStatus);
		if (message.cycleType !== 0) writer.uint32(56).int32(message.cycleType);
		if (message.startTime !== "0") writer.uint32(64).int64(message.startTime);
		if (message.expireTime !== "0") writer.uint32(72).int64(message.expireTime);
		if (message.realFinishTime !== "0") writer.uint32(80).int64(message.realFinishTime);
		for (const v of message.contributors) LiveStreamGoal_LiveStreamGoalContributor.encode(v, writer.uint32(90).fork()).join();
		if (message.contributorsLength !== 0) writer.uint32(96).int32(message.contributorsLength);
		if (message.idStr !== "") writer.uint32(106).string(message.idStr);
		if (message.auditDescription !== "") writer.uint32(114).string(message.auditDescription);
		if (message.stats !== void 0) LiveStreamGoal_GoalStats.encode(message.stats, writer.uint32(122).fork()).join();
		if (message.goalExtraInfo !== "") writer.uint32(130).string(message.goalExtraInfo);
		if (message.mode !== 0) writer.uint32(136).int32(message.mode);
		if (message.auditInfo !== void 0) LiveStreamGoal_AuditInfo.encode(message.auditInfo, writer.uint32(146).fork()).join();
		if (message.challengeType !== "") writer.uint32(162).string(message.challengeType);
		if (message.isUneditable !== false) writer.uint32(168).bool(message.isUneditable);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.type = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.status = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.subGoals.push(LiveStreamGoal_LiveStreamSubGoal.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.description = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.auditStatus = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.cycleType = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.startTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.expireTime = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.realFinishTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.contributors.push(LiveStreamGoal_LiveStreamGoalContributor.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 96) break;
					message.contributorsLength = reader.int32();
					continue;
				case 13:
					if (tag !== 106) break;
					message.idStr = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.auditDescription = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.stats = LiveStreamGoal_GoalStats.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.goalExtraInfo = reader.string();
					continue;
				case 17:
					if (tag !== 136) break;
					message.mode = reader.int32();
					continue;
				case 18:
					if (tag !== 146) break;
					message.auditInfo = LiveStreamGoal_AuditInfo.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.challengeType = reader.string();
					continue;
				case 21:
					if (tag !== 168) break;
					message.isUneditable = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_AuditInfo() {
	return {
		violationId: "0",
		taskType: 0
	};
}
const LiveStreamGoal_AuditInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.violationId !== "0") writer.uint32(8).int64(message.violationId);
		if (message.taskType !== 0) writer.uint32(16).int32(message.taskType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_AuditInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.violationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_LiveStreamSubGoal() {
	return {
		type: 0,
		id: "0",
		progress: "0",
		target: "0",
		gift: void 0,
		idStr: "",
		pinInfo: void 0,
		source: 0,
		recommendedText: "",
		recommendedHeader: ""
	};
}
const LiveStreamGoal_LiveStreamSubGoal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.id !== "0") writer.uint32(16).int64(message.id);
		if (message.progress !== "0") writer.uint32(24).int64(message.progress);
		if (message.target !== "0") writer.uint32(32).int64(message.target);
		if (message.gift !== void 0) LiveStreamGoal_LiveStreamSubGoalGift.encode(message.gift, writer.uint32(42).fork()).join();
		if (message.idStr !== "") writer.uint32(50).string(message.idStr);
		if (message.pinInfo !== void 0) LiveStreamGoal_LiveStreamSubGoal_SubGoalPinInfo.encode(message.pinInfo, writer.uint32(58).fork()).join();
		if (message.source !== 0) writer.uint32(64).int32(message.source);
		if (message.recommendedText !== "") writer.uint32(74).string(message.recommendedText);
		if (message.recommendedHeader !== "") writer.uint32(82).string(message.recommendedHeader);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_LiveStreamSubGoal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.id = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.progress = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.target = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.gift = LiveStreamGoal_LiveStreamSubGoalGift.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.idStr = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.pinInfo = LiveStreamGoal_LiveStreamSubGoal_SubGoalPinInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.source = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.recommendedText = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.recommendedHeader = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_LiveStreamSubGoal_SubGoalPinInfo() {
	return {
		pinStartTime: "0",
		pinEndTime: "0",
		pinReadyTime: "0"
	};
}
const LiveStreamGoal_LiveStreamSubGoal_SubGoalPinInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pinStartTime !== "0") writer.uint32(8).int64(message.pinStartTime);
		if (message.pinEndTime !== "0") writer.uint32(16).int64(message.pinEndTime);
		if (message.pinReadyTime !== "0") writer.uint32(24).int64(message.pinReadyTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_LiveStreamSubGoal_SubGoalPinInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.pinStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.pinEndTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pinReadyTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_LiveStreamSubGoalGift() {
	return {
		name: "",
		icon: void 0,
		diamondCount: "0",
		type: 0
	};
}
const LiveStreamGoal_LiveStreamSubGoalGift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.diamondCount !== "0") writer.uint32(24).int64(message.diamondCount);
		if (message.type !== 0) writer.uint32(32).int32(message.type);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_LiveStreamSubGoalGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.diamondCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.type = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_LiveStreamGoalContributor() {
	return {
		userId: "0",
		avatar: void 0,
		displayId: "",
		score: "0",
		userIdStr: "",
		inRoom: false,
		isFriend: false,
		followByOwner: false,
		isFistContribute: false,
		subGoalContributions: []
	};
}
const LiveStreamGoal_LiveStreamGoalContributor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.avatar !== void 0) Image.encode(message.avatar, writer.uint32(18).fork()).join();
		if (message.displayId !== "") writer.uint32(26).string(message.displayId);
		if (message.score !== "0") writer.uint32(32).int64(message.score);
		if (message.userIdStr !== "") writer.uint32(42).string(message.userIdStr);
		if (message.inRoom !== false) writer.uint32(48).bool(message.inRoom);
		if (message.isFriend !== false) writer.uint32(56).bool(message.isFriend);
		if (message.followByOwner !== false) writer.uint32(72).bool(message.followByOwner);
		if (message.isFistContribute !== false) writer.uint32(80).bool(message.isFistContribute);
		for (const v of message.subGoalContributions) LiveStreamGoal_LiveStreamGoalContributor_SubGoalContribution.encode(v, writer.uint32(90).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_LiveStreamGoalContributor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.avatar = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.score = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.userIdStr = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.inRoom = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isFriend = reader.bool();
					continue;
				case 9:
					if (tag !== 72) break;
					message.followByOwner = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.isFistContribute = reader.bool();
					continue;
				case 11:
					if (tag !== 90) break;
					message.subGoalContributions.push(LiveStreamGoal_LiveStreamGoalContributor_SubGoalContribution.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_LiveStreamGoalContributor_SubGoalContribution() {
	return {
		id: "",
		contributionCount: "0"
	};
}
const LiveStreamGoal_LiveStreamGoalContributor_SubGoalContribution = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "") writer.uint32(10).string(message.id);
		if (message.contributionCount !== "0") writer.uint32(16).int64(message.contributionCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_LiveStreamGoalContributor_SubGoalContribution();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.id = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contributionCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_GoalStats() {
	return {
		totalCoins: "0",
		totalContributor: "0",
		comparison: void 0,
		totalNewFans: "0"
	};
}
const LiveStreamGoal_GoalStats = {
	encode(message, writer = new BinaryWriter()) {
		if (message.totalCoins !== "0") writer.uint32(8).int64(message.totalCoins);
		if (message.totalContributor !== "0") writer.uint32(16).int64(message.totalContributor);
		if (message.comparison !== void 0) LiveStreamGoal_GoalStats_GoalComparison.encode(message.comparison, writer.uint32(26).fork()).join();
		if (message.totalNewFans !== "0") writer.uint32(32).int64(message.totalNewFans);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_GoalStats();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.totalCoins = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.totalContributor = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.comparison = LiveStreamGoal_GoalStats_GoalComparison.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.totalNewFans = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal_GoalStats_GoalComparison() {
	return {
		coinsIncr: "0",
		contributorIncr: "0"
	};
}
const LiveStreamGoal_GoalStats_GoalComparison = {
	encode(message, writer = new BinaryWriter()) {
		if (message.coinsIncr !== "0") writer.uint32(8).int64(message.coinsIncr);
		if (message.contributorIncr !== "0") writer.uint32(16).int64(message.contributorIncr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal_GoalStats_GoalComparison();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.coinsIncr = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contributorIncr = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoalIndicator() {
	return {
		key: "",
		op: 0
	};
}
const LiveStreamGoalIndicator = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.op !== 0) writer.uint32(16).int32(message.op);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoalIndicator();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.op = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRanking() {
	return {
		type: "",
		label: "",
		color: void 0,
		details: []
	};
}
const Ranking = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== "") writer.uint32(10).string(message.type);
		if (message.label !== "") writer.uint32(18).string(message.label);
		if (message.color !== void 0) TikTokColor.encode(message.color, writer.uint32(26).fork()).join();
		for (const v of message.details) ValueLabel.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRanking();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.type = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.label = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.color = TikTokColor.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.details.push(ValueLabel.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTikTokColor() {
	return {
		color: "",
		id: "0",
		data1: 0
	};
}
const TikTokColor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.color !== "") writer.uint32(10).string(message.color);
		if (message.id !== "0") writer.uint32(32).uint64(message.id);
		if (message.data1 !== 0) writer.uint32(48).uint32(message.data1);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTikTokColor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.color = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.id = reader.uint64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.data1 = reader.uint32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseValueLabel() {
	return {
		data: 0,
		label: "",
		label2: "",
		label3: ""
	};
}
const ValueLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data !== 0) writer.uint32(8).uint32(message.data);
		if (message.label !== "") writer.uint32(18).string(message.label);
		if (message.label2 !== "") writer.uint32(26).string(message.label2);
		if (message.label3 !== "") writer.uint32(90).string(message.label3);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseValueLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.data = reader.uint32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.label = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.label2 = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.label3 = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTimeStampContainer() {
	return {
		timestamp1: "0",
		timestamp2: "0",
		timestamp3: "0"
	};
}
const TimeStampContainer = {
	encode(message, writer = new BinaryWriter()) {
		if (message.timestamp1 !== "0") writer.uint32(8).uint64(message.timestamp1);
		if (message.timestamp2 !== "0") writer.uint32(16).uint64(message.timestamp2);
		if (message.timestamp3 !== "0") writer.uint32(24).uint64(message.timestamp3);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTimeStampContainer();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.timestamp1 = reader.uint64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.timestamp2 = reader.uint64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.timestamp3 = reader.uint64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollStartContent() {
	return {
		StartTime: "0",
		EndTime: "0",
		OptionList: [],
		Title: "",
		Operator: void 0
	};
}
const PollStartContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.StartTime !== "0") writer.uint32(8).int64(message.StartTime);
		if (message.EndTime !== "0") writer.uint32(16).int64(message.EndTime);
		for (const v of message.OptionList) PollOptionInfo.encode(v, writer.uint32(26).fork()).join();
		if (message.Title !== "") writer.uint32(34).string(message.Title);
		if (message.Operator !== void 0) User.encode(message.Operator, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollStartContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.StartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.EndTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.OptionList.push(PollOptionInfo.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.Title = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.Operator = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollEndContent() {
	return {
		EndType: 0,
		OptionList: [],
		Operator: void 0
	};
}
const PollEndContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.EndType !== 0) writer.uint32(8).int32(message.EndType);
		for (const v of message.OptionList) PollOptionInfo.encode(v, writer.uint32(18).fork()).join();
		if (message.Operator !== void 0) User.encode(message.Operator, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollEndContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.EndType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.OptionList.push(PollOptionInfo.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.Operator = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollOptionInfo() {
	return {
		Votes: 0,
		DisplayContent: "",
		OptionIdx: 0,
		VoteUserList: []
	};
}
const PollOptionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.Votes !== 0) writer.uint32(8).int32(message.Votes);
		if (message.DisplayContent !== "") writer.uint32(18).string(message.DisplayContent);
		if (message.OptionIdx !== 0) writer.uint32(24).int32(message.OptionIdx);
		for (const v of message.VoteUserList) VoteUser.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollOptionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.Votes = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.DisplayContent = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.OptionIdx = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.VoteUserList.push(VoteUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVoteUser() {
	return {
		UserId: "0",
		NickName: "",
		AvatarThumb: void 0
	};
}
const VoteUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.UserId !== "0") writer.uint32(8).int64(message.UserId);
		if (message.NickName !== "") writer.uint32(18).string(message.NickName);
		if (message.AvatarThumb !== void 0) Image.encode(message.AvatarThumb, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVoteUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.UserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.NickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.AvatarThumb = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollUpdateVotesContent() {
	return { OptionList: [] };
}
const PollUpdateVotesContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.OptionList) PollOptionInfo.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollUpdateVotesContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.OptionList.push(PollOptionInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserFanTicket() {
	return {
		UserId: "0",
		FanTicket: "0",
		MatchTotalScore: "0",
		MatchRank: 0
	};
}
const UserFanTicket = {
	encode(message, writer = new BinaryWriter()) {
		if (message.UserId !== "0") writer.uint32(8).int64(message.UserId);
		if (message.FanTicket !== "0") writer.uint32(16).int64(message.FanTicket);
		if (message.MatchTotalScore !== "0") writer.uint32(24).int64(message.MatchTotalScore);
		if (message.MatchRank !== 0) writer.uint32(32).int32(message.MatchRank);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserFanTicket();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.UserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.FanTicket = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.MatchTotalScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.MatchRank = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFanTicketRoomNoticeContent() {
	return {
		UserFanTicketList: [],
		TotalLinkMicFanTicket: "0",
		MatchId: "0",
		EventTime: "0",
		FanTicketIconUrl: "",
		playId: "0",
		playScene: 0
	};
}
const FanTicketRoomNoticeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.UserFanTicketList) UserFanTicket.encode(v, writer.uint32(10).fork()).join();
		if (message.TotalLinkMicFanTicket !== "0") writer.uint32(16).int64(message.TotalLinkMicFanTicket);
		if (message.MatchId !== "0") writer.uint32(24).int64(message.MatchId);
		if (message.EventTime !== "0") writer.uint32(32).int64(message.EventTime);
		if (message.FanTicketIconUrl !== "") writer.uint32(42).string(message.FanTicketIconUrl);
		if (message.playId !== "0") writer.uint32(48).int64(message.playId);
		if (message.playScene !== 0) writer.uint32(56).int32(message.playScene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFanTicketRoomNoticeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.UserFanTicketList.push(UserFanTicket.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.TotalLinkMicFanTicket = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.MatchId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.EventTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.FanTicketIconUrl = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.playId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.playScene = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerAcceptNoticeContent() {
	return {
		fromUserId: "0",
		fromRoomId: "0",
		toUserId: "0"
	};
}
const LinkerAcceptNoticeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.fromRoomId !== "0") writer.uint32(16).int64(message.fromRoomId);
		if (message.toUserId !== "0") writer.uint32(24).int64(message.toUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerAcceptNoticeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.toUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerCancelContent() {
	return {
		fromUserId: "0",
		toUserId: "0",
		cancelType: "0",
		actionId: "0"
	};
}
const LinkerCancelContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		if (message.cancelType !== "0") writer.uint32(24).int64(message.cancelType);
		if (message.actionId !== "0") writer.uint32(32).int64(message.actionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerCancelContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.cancelType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.actionId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListUser() {
	return {
		user: void 0,
		linkmicId: "0",
		linkmicIdStr: "",
		linkStatus: 0,
		linkType: new Uint8Array(0),
		userPosition: 0,
		silenceStatus: 0,
		modifyTime: "0",
		linkerId: "0",
		roleType: new Uint8Array(0)
	};
}
const ListUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.linkmicId !== "0") writer.uint32(16).int64(message.linkmicId);
		if (message.linkmicIdStr !== "") writer.uint32(26).string(message.linkmicIdStr);
		if (message.linkStatus !== 0) writer.uint32(32).int32(message.linkStatus);
		if (message.linkType.length !== 0) writer.uint32(42).bytes(message.linkType);
		if (message.userPosition !== 0) writer.uint32(48).int32(message.userPosition);
		if (message.silenceStatus !== 0) writer.uint32(56).int32(message.silenceStatus);
		if (message.modifyTime !== "0") writer.uint32(64).int64(message.modifyTime);
		if (message.linkerId !== "0") writer.uint32(72).int64(message.linkerId);
		if (message.roleType.length !== 0) writer.uint32(82).bytes(message.roleType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.linkmicId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkStatus = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.linkType = reader.bytes();
					continue;
				case 6:
					if (tag !== 48) break;
					message.userPosition = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.silenceStatus = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.modifyTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.linkerId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.roleType = reader.bytes();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerCloseContent() {
	return {};
}
const LinkerCloseContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerCloseContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerCreateContent() {
	return {
		ownerId: "0",
		ownerRoomId: "0",
		linkType: "0"
	};
}
const LinkerCreateContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.ownerId !== "0") writer.uint32(8).int64(message.ownerId);
		if (message.ownerRoomId !== "0") writer.uint32(16).int64(message.ownerRoomId);
		if (message.linkType !== "0") writer.uint32(24).int64(message.linkType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerCreateContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.ownerId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.ownerRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.linkType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerEnterContent() {
	return {
		linkedUsersList: [],
		anchorMultiLiveEnum: 0,
		anchorSettingInfo: void 0
	};
}
const LinkerEnterContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedUsersList) ListUser.encode(v, writer.uint32(10).fork()).join();
		if (message.anchorMultiLiveEnum !== 0) writer.uint32(16).int32(message.anchorMultiLiveEnum);
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerEnterContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.linkedUsersList.push(ListUser.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorMultiLiveEnum = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent() {
	return {
		fromUserId: "0",
		fromRoomId: "0",
		toRtcExtInfo: "",
		rtcJoinChannel: false,
		vendor: "0",
		secFromUserId: "",
		toLinkmicIdStr: "",
		fromUser: void 0,
		requiredMicIdx: "0",
		rtcExtInfoMap: {},
		multiLiveLayoutEnable: 0,
		multiLiveSetting: void 0,
		fromLinkmicIdStr: "",
		fromTopHostInfo: void 0,
		actionId: "0",
		linkedUsers: [],
		dialogInfo: void 0,
		punishEventInfo: void 0,
		fromRoomAgeRestricted: 0,
		abTestSetting: [],
		linkerInviteMsgExtra: void 0
	};
}
const LinkerInviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.fromRoomId !== "0") writer.uint32(16).int64(message.fromRoomId);
		if (message.toRtcExtInfo !== "") writer.uint32(26).string(message.toRtcExtInfo);
		if (message.rtcJoinChannel !== false) writer.uint32(32).bool(message.rtcJoinChannel);
		if (message.vendor !== "0") writer.uint32(40).int64(message.vendor);
		if (message.secFromUserId !== "") writer.uint32(50).string(message.secFromUserId);
		if (message.toLinkmicIdStr !== "") writer.uint32(58).string(message.toLinkmicIdStr);
		if (message.fromUser !== void 0) User.encode(message.fromUser, writer.uint32(66).fork()).join();
		if (message.requiredMicIdx !== "0") writer.uint32(72).int64(message.requiredMicIdx);
		globalThis.Object.entries(message.rtcExtInfoMap).forEach(([key, value]) => {
			LinkerInviteContent_RtcExtInfoMapEntry.encode({
				key,
				value
			}, writer.uint32(82).fork()).join();
		});
		if (message.multiLiveLayoutEnable !== 0) writer.uint32(88).int32(message.multiLiveLayoutEnable);
		if (message.multiLiveSetting !== void 0) MultiLiveAnchorPanelSettings.encode(message.multiLiveSetting, writer.uint32(98).fork()).join();
		if (message.fromLinkmicIdStr !== "") writer.uint32(106).string(message.fromLinkmicIdStr);
		if (message.fromTopHostInfo !== void 0) LinkerInviteContent_InviteTopHostInfo.encode(message.fromTopHostInfo, writer.uint32(130).fork()).join();
		if (message.actionId !== "0") writer.uint32(136).int64(message.actionId);
		for (const v of message.linkedUsers) LinkerInviteContent_LinkmicUserInfo.encode(v, writer.uint32(146).fork()).join();
		if (message.dialogInfo !== void 0) LinkerInviteContent_PerceptionDialogInfo.encode(message.dialogInfo, writer.uint32(154).fork()).join();
		if (message.punishEventInfo !== void 0) PunishEventInfo.encode(message.punishEventInfo, writer.uint32(162).fork()).join();
		if (message.fromRoomAgeRestricted !== 0) writer.uint32(168).int32(message.fromRoomAgeRestricted);
		for (const v of message.abTestSetting) LinkerInviteContent_CohostABTestSetting.encode(v, writer.uint32(186).fork()).join();
		if (message.linkerInviteMsgExtra !== void 0) LinkerInviteContent_LinkerInviteMessageExtra.encode(message.linkerInviteMsgExtra, writer.uint32(810).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.toRtcExtInfo = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rtcJoinChannel = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.vendor = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.secFromUserId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.toLinkmicIdStr = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.fromUser = User.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.requiredMicIdx = reader.int64().toString();
					continue;
				case 10: {
					if (tag !== 82) break;
					const entry10 = LinkerInviteContent_RtcExtInfoMapEntry.decode(reader, reader.uint32());
					if (entry10.value !== void 0) message.rtcExtInfoMap[entry10.key] = entry10.value;
					continue;
				}
				case 11:
					if (tag !== 88) break;
					message.multiLiveLayoutEnable = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.multiLiveSetting = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.fromLinkmicIdStr = reader.string();
					continue;
				case 16:
					if (tag !== 130) break;
					message.fromTopHostInfo = LinkerInviteContent_InviteTopHostInfo.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 136) break;
					message.actionId = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 146) break;
					message.linkedUsers.push(LinkerInviteContent_LinkmicUserInfo.decode(reader, reader.uint32()));
					continue;
				case 19:
					if (tag !== 154) break;
					message.dialogInfo = LinkerInviteContent_PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.punishEventInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.fromRoomAgeRestricted = reader.int32();
					continue;
				case 23:
					if (tag !== 186) break;
					message.abTestSetting.push(LinkerInviteContent_CohostABTestSetting.decode(reader, reader.uint32()));
					continue;
				case 101:
					if (tag !== 810) break;
					message.linkerInviteMsgExtra = LinkerInviteContent_LinkerInviteMessageExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_RtcExtInfoMapEntry() {
	return {
		key: "0",
		value: ""
	};
}
const LinkerInviteContent_RtcExtInfoMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_RtcExtInfoMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_InviteTopHostInfo() {
	return {
		rankType: "",
		topIndex: "0"
	};
}
const LinkerInviteContent_InviteTopHostInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== "") writer.uint32(10).string(message.rankType);
		if (message.topIndex !== "0") writer.uint32(16).int64(message.topIndex);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_InviteTopHostInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rankType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.topIndex = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkmicUserInfo() {
	return {
		userId: "0",
		linkmicIdStr: "",
		roomId: "0",
		linkedTime: "0"
	};
}
const LinkerInviteContent_LinkmicUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.linkmicIdStr !== "") writer.uint32(18).string(message.linkmicIdStr);
		if (message.roomId !== "0") writer.uint32(24).int64(message.roomId);
		if (message.linkedTime !== "0") writer.uint32(32).int64(message.linkedTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkmicUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.roomId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkedTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_PerceptionDialogInfo() {
	return {
		iconType: 0,
		title: void 0,
		subTitle: void 0,
		adviceActionText: void 0,
		defaultActionText: void 0,
		violationDetailUrl: "",
		scene: 0,
		targetUserId: "0",
		targetRoomId: "0",
		countDownTime: "0",
		showFeedback: false,
		feedbackOptions: [],
		policyTip: "0",
		appealPopup: 0
	};
}
const LinkerInviteContent_PerceptionDialogInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iconType !== 0) writer.uint32(8).int32(message.iconType);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(18).fork()).join();
		if (message.subTitle !== void 0) Text.encode(message.subTitle, writer.uint32(26).fork()).join();
		if (message.adviceActionText !== void 0) Text.encode(message.adviceActionText, writer.uint32(34).fork()).join();
		if (message.defaultActionText !== void 0) Text.encode(message.defaultActionText, writer.uint32(42).fork()).join();
		if (message.violationDetailUrl !== "") writer.uint32(50).string(message.violationDetailUrl);
		if (message.scene !== 0) writer.uint32(56).int32(message.scene);
		if (message.targetUserId !== "0") writer.uint32(64).int64(message.targetUserId);
		if (message.targetRoomId !== "0") writer.uint32(72).int64(message.targetRoomId);
		if (message.countDownTime !== "0") writer.uint32(80).int64(message.countDownTime);
		if (message.showFeedback !== false) writer.uint32(88).bool(message.showFeedback);
		for (const v of message.feedbackOptions) LinkerInviteContent_PerceptionDialogInfo_PerceptionFeedbackOption.encode(v, writer.uint32(98).fork()).join();
		if (message.policyTip !== "0") writer.uint32(104).int64(message.policyTip);
		if (message.appealPopup !== 0) writer.uint32(112).int32(message.appealPopup);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_PerceptionDialogInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.iconType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.subTitle = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.adviceActionText = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.defaultActionText = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationDetailUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.scene = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.targetUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.targetRoomId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.countDownTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.showFeedback = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.feedbackOptions.push(LinkerInviteContent_PerceptionDialogInfo_PerceptionFeedbackOption.decode(reader, reader.uint32()));
					continue;
				case 13:
					if (tag !== 104) break;
					message.policyTip = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.appealPopup = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_PerceptionDialogInfo_PerceptionFeedbackOption() {
	return {
		id: "0",
		contentKey: ""
	};
}
const LinkerInviteContent_PerceptionDialogInfo_PerceptionFeedbackOption = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.contentKey !== "") writer.uint32(18).string(message.contentKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_PerceptionDialogInfo_PerceptionFeedbackOption();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.contentKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_CohostABTestSetting() {
	return {
		key: "0",
		value: void 0
	};
}
const LinkerInviteContent_CohostABTestSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) LinkerInviteContent_CohostABTestSetting_CohostABTestList.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_CohostABTestSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = LinkerInviteContent_CohostABTestSetting_CohostABTestList.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_CohostABTestSetting_CohostABTestList() {
	return { abTestList: [] };
}
const LinkerInviteContent_CohostABTestSetting_CohostABTestList = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.abTestList) LinkerInviteContent_CohostABTestSetting_CohostABTestList_CohostABTest.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_CohostABTestSetting_CohostABTestList();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.abTestList.push(LinkerInviteContent_CohostABTestSetting_CohostABTestList_CohostABTest.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_CohostABTestSetting_CohostABTestList_CohostABTest() {
	return {
		abTestType: 0,
		group: "0"
	};
}
const LinkerInviteContent_CohostABTestSetting_CohostABTestList_CohostABTest = {
	encode(message, writer = new BinaryWriter()) {
		if (message.abTestType !== 0) writer.uint32(8).int32(message.abTestType);
		if (message.group !== "0") writer.uint32(16).int64(message.group);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_CohostABTestSetting_CohostABTestList_CohostABTest();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.abTestType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.group = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkerInviteMessageExtra() {
	return {
		matchType: 0,
		inviteType: 0,
		subType: 0,
		theme: "",
		duration: 0,
		layout: 0,
		tips: "",
		inviterRivalExtra: void 0,
		otherRivalExtra: [],
		topicInfo: void 0,
		algoRequestId: ""
	};
}
const LinkerInviteContent_LinkerInviteMessageExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.matchType !== 0) writer.uint32(8).int32(message.matchType);
		if (message.inviteType !== 0) writer.uint32(16).int32(message.inviteType);
		if (message.subType !== 0) writer.uint32(24).int32(message.subType);
		if (message.theme !== "") writer.uint32(34).string(message.theme);
		if (message.duration !== 0) writer.uint32(40).int32(message.duration);
		if (message.layout !== 0) writer.uint32(48).int32(message.layout);
		if (message.tips !== "") writer.uint32(58).string(message.tips);
		if (message.inviterRivalExtra !== void 0) LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra.encode(message.inviterRivalExtra, writer.uint32(66).fork()).join();
		for (const v of message.otherRivalExtra) LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra.encode(v, writer.uint32(74).fork()).join();
		if (message.topicInfo !== void 0) CohostTopic.encode(message.topicInfo, writer.uint32(82).fork()).join();
		if (message.algoRequestId !== "") writer.uint32(90).string(message.algoRequestId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkerInviteMessageExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.matchType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.inviteType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.subType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.theme = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.duration = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.layout = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.tips = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.inviterRivalExtra = LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.otherRivalExtra.push(LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra.decode(reader, reader.uint32()));
					continue;
				case 10:
					if (tag !== 82) break;
					message.topicInfo = CohostTopic.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.algoRequestId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra() {
	return {
		textType: 0,
		text: "",
		label: "",
		userCount: 0,
		avatarThumb: void 0,
		displayId: "",
		authenticationInfo: void 0,
		nickname: "",
		followStatus: "0",
		mHashtag: void 0,
		userId: "0",
		isBestTeammate: false,
		optPairInfo: void 0,
		followerCount: "0"
	};
}
const LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.textType !== 0) writer.uint32(8).int32(message.textType);
		if (message.text !== "") writer.uint32(18).string(message.text);
		if (message.label !== "") writer.uint32(26).string(message.label);
		if (message.userCount !== 0) writer.uint32(32).int32(message.userCount);
		if (message.avatarThumb !== void 0) Image.encode(message.avatarThumb, writer.uint32(42).fork()).join();
		if (message.displayId !== "") writer.uint32(50).string(message.displayId);
		if (message.authenticationInfo !== void 0) LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(58).fork()).join();
		if (message.nickname !== "") writer.uint32(66).string(message.nickname);
		if (message.followStatus !== "0") writer.uint32(72).int64(message.followStatus);
		if (message.mHashtag !== void 0) LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_Hashtag.encode(message.mHashtag, writer.uint32(82).fork()).join();
		if (message.userId !== "0") writer.uint32(96).int64(message.userId);
		if (message.isBestTeammate !== false) writer.uint32(104).bool(message.isBestTeammate);
		if (message.optPairInfo !== void 0) LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo.encode(message.optPairInfo, writer.uint32(114).fork()).join();
		if (message.followerCount !== "0") writer.uint32(120).int64(message.followerCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.textType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.text = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.label = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.userCount = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avatarThumb = Image.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.displayId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.authenticationInfo = LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_AuthenticationInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.nickname = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.mHashtag = LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_Hashtag.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.userId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isBestTeammate = reader.bool();
					continue;
				case 14:
					if (tag !== 114) break;
					message.optPairInfo = LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 120) break;
					message.followerCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_AuthenticationInfo() {
	return {
		customVerify: "",
		enterpriseVerifyReason: "",
		authenticationBadge: void 0
	};
}
const LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_AuthenticationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.customVerify !== "") writer.uint32(10).string(message.customVerify);
		if (message.enterpriseVerifyReason !== "") writer.uint32(18).string(message.enterpriseVerifyReason);
		if (message.authenticationBadge !== void 0) Image.encode(message.authenticationBadge, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_AuthenticationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.customVerify = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.enterpriseVerifyReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.authenticationBadge = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_Hashtag() {
	return {
		id: "0",
		title: "",
		image: void 0,
		namespace: 0
	};
}
const LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_Hashtag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.image !== void 0) Image.encode(message.image, writer.uint32(26).fork()).join();
		if (message.namespace !== 0) writer.uint32(32).int32(message.namespace);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_Hashtag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.image = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.namespace = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo() {
	return {
		mappingId: "0",
		displayUserList: [],
		buttonNoticeType: 0,
		expectedTimeSec: "0",
		optPairType: "0"
	};
}
const LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.mappingId !== "0") writer.uint32(8).int64(message.mappingId);
		for (const v of message.displayUserList) LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo_OptPairUser.encode(v, writer.uint32(18).fork()).join();
		if (message.buttonNoticeType !== 0) writer.uint32(24).int32(message.buttonNoticeType);
		if (message.expectedTimeSec !== "0") writer.uint32(32).int64(message.expectedTimeSec);
		if (message.optPairType !== "0") writer.uint32(40).int64(message.optPairType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.mappingId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayUserList.push(LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo_OptPairUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.buttonNoticeType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.expectedTimeSec = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.optPairType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo_OptPairUser() {
	return {
		user: void 0,
		roomId: "0"
	};
}
const LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo_OptPairUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo_OptPairUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostTopic() {
	return {
		id: "0",
		titleKey: "",
		titleText: "",
		liked: false,
		totalHeat: "0",
		totalRivals: "0",
		rivalsAvatar: []
	};
}
const CohostTopic = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.titleKey !== "") writer.uint32(18).string(message.titleKey);
		if (message.titleText !== "") writer.uint32(26).string(message.titleText);
		if (message.liked !== false) writer.uint32(168).bool(message.liked);
		if (message.totalHeat !== "0") writer.uint32(176).int64(message.totalHeat);
		if (message.totalRivals !== "0") writer.uint32(184).int64(message.totalRivals);
		for (const v of message.rivalsAvatar) Image.encode(v, writer.uint32(194).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostTopic();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.titleKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.titleText = reader.string();
					continue;
				case 21:
					if (tag !== 168) break;
					message.liked = reader.bool();
					continue;
				case 22:
					if (tag !== 176) break;
					message.totalHeat = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 184) break;
					message.totalRivals = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 194) break;
					message.rivalsAvatar.push(Image.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerKickOutContent() {
	return {
		fromUserId: "0",
		kickoutReason: 0
	};
}
const LinkerKickOutContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.kickoutReason !== 0) writer.uint32(16).int32(message.kickoutReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerKickOutContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.kickoutReason = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerLeaveContent() {
	return {
		userId: "0",
		linkmicIdStr: "",
		sendLeaveUid: "0",
		leaveReason: "0"
	};
}
const LinkerLeaveContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.linkmicIdStr !== "") writer.uint32(18).string(message.linkmicIdStr);
		if (message.sendLeaveUid !== "0") writer.uint32(24).int64(message.sendLeaveUid);
		if (message.leaveReason !== "0") writer.uint32(32).int64(message.leaveReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerLeaveContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendLeaveUid = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.leaveReason = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerLinkedListChangeContent() {
	return {};
}
const LinkerLinkedListChangeContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerLinkedListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostListChangeContent() {
	return {};
}
const CohostListChangeContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerListChangeContent() {
	return {
		linkedUsers: [],
		appliedUsers: [],
		connectingUsers: []
	};
}
const LinkerListChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedUsers) ListUser.encode(v, writer.uint32(10).fork()).join();
		for (const v of message.appliedUsers) ListUser.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.connectingUsers) ListUser.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.linkedUsers.push(ListUser.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.appliedUsers.push(ListUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.connectingUsers.push(ListUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMediaChangeContent() {
	return {
		op: 0,
		toUserId: "0",
		anchorId: "0",
		roomId: "0",
		changeScene: 0,
		operatorInfo: void 0
	};
}
const LinkerMediaChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.op !== 0) writer.uint32(8).int32(message.op);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		if (message.anchorId !== "0") writer.uint32(24).int64(message.anchorId);
		if (message.roomId !== "0") writer.uint32(32).int64(message.roomId);
		if (message.changeScene !== 0) writer.uint32(40).int32(message.changeScene);
		if (message.operatorInfo !== void 0) LinkerMediaChangeContent_LinkerMediaChangeOperator.encode(message.operatorInfo, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMediaChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.op = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.roomId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.changeScene = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.operatorInfo = LinkerMediaChangeContent_LinkerMediaChangeOperator.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMediaChangeContent_LinkerMediaChangeOperator() {
	return {
		userId: "0",
		operatorType: 0,
		nickName: "",
		displayId: ""
	};
}
const LinkerMediaChangeContent_LinkerMediaChangeOperator = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.operatorType !== 0) writer.uint32(16).int32(message.operatorType);
		if (message.nickName !== "") writer.uint32(26).string(message.nickName);
		if (message.displayId !== "") writer.uint32(34).string(message.displayId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMediaChangeContent_LinkerMediaChangeOperator();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.operatorType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickName = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.displayId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMicIdxUpdateContent() {
	return {};
}
const LinkerMicIdxUpdateContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMicIdxUpdateContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMuteContent() {
	return {
		userId: "0",
		status: 0
	};
}
const LinkerMuteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.status !== 0) writer.uint32(16).int32(message.status);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMuteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.status = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerRandomMatchContent() {
	return {
		user: void 0,
		roomId: "0",
		inviteType: "0",
		matchId: "",
		innerChannelId: "0"
	};
}
const LinkerRandomMatchContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.inviteType !== "0") writer.uint32(24).int64(message.inviteType);
		if (message.matchId !== "") writer.uint32(34).string(message.matchId);
		if (message.innerChannelId !== "0") writer.uint32(40).int64(message.innerChannelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerRandomMatchContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.inviteType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.matchId = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.innerChannelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerReplyContent() {
	return {
		fromUserId: "0",
		fromRoomId: "0",
		fromUserLinkmicInfo: void 0,
		toUserId: "0",
		toUserLinkmicInfo: void 0,
		linkType: "0",
		replyStatus: "0",
		linkerSetting: void 0,
		fromUser: void 0,
		toUser: void 0
	};
}
const LinkerReplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.fromRoomId !== "0") writer.uint32(16).int64(message.fromRoomId);
		if (message.fromUserLinkmicInfo !== void 0) LinkerReplyContent_LinkmicInfo.encode(message.fromUserLinkmicInfo, writer.uint32(26).fork()).join();
		if (message.toUserId !== "0") writer.uint32(32).int64(message.toUserId);
		if (message.toUserLinkmicInfo !== void 0) LinkerReplyContent_LinkmicInfo.encode(message.toUserLinkmicInfo, writer.uint32(42).fork()).join();
		if (message.linkType !== "0") writer.uint32(48).int64(message.linkType);
		if (message.replyStatus !== "0") writer.uint32(56).int64(message.replyStatus);
		if (message.linkerSetting !== void 0) LinkerSetting.encode(message.linkerSetting, writer.uint32(66).fork()).join();
		if (message.fromUser !== void 0) User.encode(message.fromUser, writer.uint32(74).fork()).join();
		if (message.toUser !== void 0) User.encode(message.toUser, writer.uint32(82).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerReplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.fromUserLinkmicInfo = LinkerReplyContent_LinkmicInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.toUserLinkmicInfo = LinkerReplyContent_LinkmicInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.linkType = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.replyStatus = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.linkerSetting = LinkerSetting.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.fromUser = User.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.toUser = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerReplyContent_LinkmicInfo() {
	return {
		accessKey: "",
		linkMicId: "0",
		joinable: false,
		confluenceType: 0,
		rtcExtInfo: "",
		rtcAppId: "",
		rtcAppSign: "",
		linkmicIdStr: "",
		vendor: "0"
	};
}
const LinkerReplyContent_LinkmicInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.accessKey !== "") writer.uint32(10).string(message.accessKey);
		if (message.linkMicId !== "0") writer.uint32(16).int64(message.linkMicId);
		if (message.joinable !== false) writer.uint32(24).bool(message.joinable);
		if (message.confluenceType !== 0) writer.uint32(32).int32(message.confluenceType);
		if (message.rtcExtInfo !== "") writer.uint32(42).string(message.rtcExtInfo);
		if (message.rtcAppId !== "") writer.uint32(50).string(message.rtcAppId);
		if (message.rtcAppSign !== "") writer.uint32(58).string(message.rtcAppSign);
		if (message.linkmicIdStr !== "") writer.uint32(66).string(message.linkmicIdStr);
		if (message.vendor !== "0") writer.uint32(72).int64(message.vendor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerReplyContent_LinkmicInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.accessKey = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.linkMicId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.joinable = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.confluenceType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.rtcExtInfo = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.rtcAppId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.rtcAppSign = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.vendor = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerSetting() {
	return {
		MaxMemberLimit: "0",
		LinkType: "0",
		Scene: 0,
		OwnerUserId: "0",
		OwnerRoomId: "0",
		Vendor: "0"
	};
}
const LinkerSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.MaxMemberLimit !== "0") writer.uint32(8).int64(message.MaxMemberLimit);
		if (message.LinkType !== "0") writer.uint32(16).int64(message.LinkType);
		if (message.Scene !== 0) writer.uint32(24).int32(message.Scene);
		if (message.OwnerUserId !== "0") writer.uint32(32).int64(message.OwnerUserId);
		if (message.OwnerRoomId !== "0") writer.uint32(40).int64(message.OwnerRoomId);
		if (message.Vendor !== "0") writer.uint32(48).int64(message.Vendor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.MaxMemberLimit = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.LinkType = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.Scene = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.OwnerUserId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.OwnerRoomId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.Vendor = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerSysKickOutContent() {
	return {
		userId: "0",
		linkmicIdStr: ""
	};
}
const LinkerSysKickOutContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.linkmicIdStr !== "") writer.uint32(18).string(message.linkmicIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerSysKickOutContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicUserToastContent() {
	return {
		userId: "0",
		roomId: "0",
		displayText: void 0,
		leavedUserId: "0"
	};
}
const LinkmicUserToastContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(26).fork()).join();
		if (message.leavedUserId !== "0") writer.uint32(32).int64(message.leavedUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicUserToastContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.leavedUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerUpdateUserContent() {
	return {
		fromUserId: "0",
		toUserId: "0",
		updateInfo: {}
	};
}
const LinkerUpdateUserContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		globalThis.Object.entries(message.updateInfo).forEach(([key, value]) => {
			LinkerUpdateUserContent_UpdateInfoEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerUpdateUserContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = LinkerUpdateUserContent_UpdateInfoEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.updateInfo[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerUpdateUserContent_UpdateInfoEntry() {
	return {
		key: "",
		value: ""
	};
}
const LinkerUpdateUserContent_UpdateInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerUpdateUserContent_UpdateInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerUpdateUserSettingContent() {
	return { multiLiveAnchorPanelSettings: void 0 };
}
const LinkerUpdateUserSettingContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.multiLiveAnchorPanelSettings !== void 0) MultiLiveAnchorPanelSettings.encode(message.multiLiveAnchorPanelSettings, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerUpdateUserSettingContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.multiLiveAnchorPanelSettings = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerWaitingListChangeContent() {
	return {};
}
const LinkerWaitingListChangeContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerWaitingListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveAnchorPanelSettings() {
	return {
		userId: "0",
		layout: "0",
		fixMicNum: "0",
		allowRequestFromUser: "0",
		allowRequestFromFollowerOnly: "0",
		applierSortSetting: 0,
		applierSortGiftScoreThreshold: "0",
		allowRequestFromFriends: 0,
		allowRequestFromFollowers: 0,
		allowRequestFromOthers: 0,
		enableShowMultiGuestLayout: 0
	};
}
const MultiLiveAnchorPanelSettings = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.layout !== "0") writer.uint32(16).int64(message.layout);
		if (message.fixMicNum !== "0") writer.uint32(24).int64(message.fixMicNum);
		if (message.allowRequestFromUser !== "0") writer.uint32(32).int64(message.allowRequestFromUser);
		if (message.allowRequestFromFollowerOnly !== "0") writer.uint32(40).int64(message.allowRequestFromFollowerOnly);
		if (message.applierSortSetting !== 0) writer.uint32(56).int32(message.applierSortSetting);
		if (message.applierSortGiftScoreThreshold !== "0") writer.uint32(64).int64(message.applierSortGiftScoreThreshold);
		if (message.allowRequestFromFriends !== 0) writer.uint32(72).int32(message.allowRequestFromFriends);
		if (message.allowRequestFromFollowers !== 0) writer.uint32(80).int32(message.allowRequestFromFollowers);
		if (message.allowRequestFromOthers !== 0) writer.uint32(88).int32(message.allowRequestFromOthers);
		if (message.enableShowMultiGuestLayout !== 0) writer.uint32(96).int32(message.enableShowMultiGuestLayout);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveAnchorPanelSettings();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.layout = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fixMicNum = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.allowRequestFromUser = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.allowRequestFromFollowerOnly = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.applierSortSetting = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.applierSortGiftScoreThreshold = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.allowRequestFromFriends = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.allowRequestFromFollowers = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.allowRequestFromOthers = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.enableShowMultiGuestLayout = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePlayer() {
	return {
		roomId: "0",
		userId: "0"
	};
}
const Player = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomId !== "0") writer.uint32(8).int64(message.roomId);
		if (message.userId !== "0") writer.uint32(16).int64(message.userId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePlayer();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.userId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAllListUser() {
	return {
		linkedList: [],
		appliedList: [],
		invitedList: [],
		readyList: []
	};
}
const AllListUser = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedList) LinkLayerListUser.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.appliedList) LinkLayerListUser.encode(v, writer.uint32(26).fork()).join();
		for (const v of message.invitedList) LinkLayerListUser.encode(v, writer.uint32(34).fork()).join();
		for (const v of message.readyList) LinkLayerListUser.encode(v, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAllListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.linkedList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.appliedList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.invitedList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.readyList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkLayerListUser() {
	return {
		user: void 0,
		linkmicId: "",
		pos: void 0,
		linkedTimeNano: "0",
		appVersion: "",
		magicNumber1: "0"
	};
}
const LinkLayerListUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.linkmicId !== "") writer.uint32(18).string(message.linkmicId);
		if (message.pos !== void 0) Position.encode(message.pos, writer.uint32(26).fork()).join();
		if (message.linkedTimeNano !== "0") writer.uint32(32).int64(message.linkedTimeNano);
		if (message.appVersion !== "") writer.uint32(42).string(message.appVersion);
		if (message.magicNumber1 !== "0") writer.uint32(56).int64(message.magicNumber1);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkLayerListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.pos = Position.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkedTimeNano = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.appVersion = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.magicNumber1 = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePosition() {
	return {
		type: 0,
		link: void 0
	};
}
const Position = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.link !== void 0) LinkPosition.encode(message.link, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePosition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.link = LinkPosition.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkPosition() {
	return {
		position: 0,
		opt: 0
	};
}
const LinkPosition = {
	encode(message, writer = new BinaryWriter()) {
		if (message.position !== 0) writer.uint32(8).int32(message.position);
		if (message.opt !== 0) writer.uint32(16).int32(message.opt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkPosition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.position = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.opt = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGroupPlayer() {
	return {
		channelId: "0",
		user: void 0
	};
}
const GroupPlayer = {
	encode(message, writer = new BinaryWriter()) {
		if (message.channelId !== "0") writer.uint32(8).int64(message.channelId);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupPlayer();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.channelId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDSLConfig() {
	return {
		sceneVersion: 0,
		layoutId: ""
	};
}
const DSLConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sceneVersion !== 0) writer.uint32(8).int32(message.sceneVersion);
		if (message.layoutId !== "") writer.uint32(18).string(message.layoutId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDSLConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sceneVersion = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.layoutId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGroupChannelAllUser() {
	return {
		groupChannelId: "0",
		userList: [],
		contentVersion: "0"
	};
}
const GroupChannelAllUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupChannelId !== "0") writer.uint32(8).int64(message.groupChannelId);
		for (const v of message.userList) GroupChannelUser.encode(v, writer.uint32(18).fork()).join();
		if (message.contentVersion !== "0") writer.uint32(24).int64(message.contentVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupChannelAllUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.userList.push(GroupChannelUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.contentVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGroupChannelUser() {
	return {
		channelId: "0",
		status: 0,
		type: 0,
		allUser: void 0,
		joinTime: "0",
		linkedTime: "0",
		ownerUser: void 0,
		groupLinkmicId: ""
	};
}
const GroupChannelUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.channelId !== "0") writer.uint32(8).int64(message.channelId);
		if (message.status !== 0) writer.uint32(16).int32(message.status);
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		if (message.allUser !== void 0) AllListUser.encode(message.allUser, writer.uint32(34).fork()).join();
		if (message.joinTime !== "0") writer.uint32(40).int64(message.joinTime);
		if (message.linkedTime !== "0") writer.uint32(48).int64(message.linkedTime);
		if (message.ownerUser !== void 0) GroupPlayer.encode(message.ownerUser, writer.uint32(58).fork()).join();
		if (message.groupLinkmicId !== "") writer.uint32(66).string(message.groupLinkmicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupChannelUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.channelId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.status = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.allUser = AllListUser.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.joinTime = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.linkedTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.ownerUser = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.groupLinkmicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo() {
	return {
		liveRtcEngineConfig: void 0,
		liveRtcVideoParamList: [],
		rtcBitrateMap: void 0,
		rtcFps: 0,
		rtcMixBase: void 0,
		byteRtcExtInfo: void 0,
		rtcInfoExtra: void 0,
		rtcBusinessId: "",
		rtcOther: void 0,
		interactClientType: 0
	};
}
const RTCExtraInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.liveRtcEngineConfig !== void 0) RTCExtraInfo_RTCEngineConfig.encode(message.liveRtcEngineConfig, writer.uint32(10).fork()).join();
		for (const v of message.liveRtcVideoParamList) RTCExtraInfo_RTCLiveVideoParam.encode(v, writer.uint32(18).fork()).join();
		if (message.rtcBitrateMap !== void 0) RTCExtraInfo_RTCBitrateMap.encode(message.rtcBitrateMap, writer.uint32(26).fork()).join();
		if (message.rtcFps !== 0) writer.uint32(32).int32(message.rtcFps);
		if (message.rtcMixBase !== void 0) RTCExtraInfo_RTCMixBase.encode(message.rtcMixBase, writer.uint32(42).fork()).join();
		if (message.byteRtcExtInfo !== void 0) RTCExtraInfo_ByteRTCExtInfo.encode(message.byteRtcExtInfo, writer.uint32(50).fork()).join();
		if (message.rtcInfoExtra !== void 0) RTCExtraInfo_RTCInfoExtra.encode(message.rtcInfoExtra, writer.uint32(58).fork()).join();
		if (message.rtcBusinessId !== "") writer.uint32(66).string(message.rtcBusinessId);
		if (message.rtcOther !== void 0) RTCExtraInfo_RTCOther.encode(message.rtcOther, writer.uint32(74).fork()).join();
		if (message.interactClientType !== 0) writer.uint32(80).int32(message.interactClientType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.liveRtcEngineConfig = RTCExtraInfo_RTCEngineConfig.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.liveRtcVideoParamList.push(RTCExtraInfo_RTCLiveVideoParam.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.rtcBitrateMap = RTCExtraInfo_RTCBitrateMap.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.rtcFps = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.rtcMixBase = RTCExtraInfo_RTCMixBase.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.byteRtcExtInfo = RTCExtraInfo_ByteRTCExtInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.rtcInfoExtra = RTCExtraInfo_RTCInfoExtra.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.rtcBusinessId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.rtcOther = RTCExtraInfo_RTCOther.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.interactClientType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCMixBase() {
	return { bitrate: 0 };
}
const RTCExtraInfo_RTCMixBase = {
	encode(message, writer = new BinaryWriter()) {
		if (message.bitrate !== 0) writer.uint32(8).int32(message.bitrate);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCMixBase();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.bitrate = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_ByteRTCExtInfo() {
	return { defaultSignaling: 0 };
}
const RTCExtraInfo_ByteRTCExtInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.defaultSignaling !== 0) writer.uint32(8).int32(message.defaultSignaling);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_ByteRTCExtInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.defaultSignaling = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCInfoExtra() {
	return { version: "" };
}
const RTCExtraInfo_RTCInfoExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCInfoExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCOther() {
	return { transCodingSecond: 0 };
}
const RTCExtraInfo_RTCOther = {
	encode(message, writer = new BinaryWriter()) {
		if (message.transCodingSecond !== 0) writer.uint32(8).int32(message.transCodingSecond);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCOther();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.transCodingSecond = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCEngineConfig() {
	return {
		rtcAppId: "",
		rtcUserId: "",
		rtcToken: "",
		rtcChannelId: "0"
	};
}
const RTCExtraInfo_RTCEngineConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rtcAppId !== "") writer.uint32(10).string(message.rtcAppId);
		if (message.rtcUserId !== "") writer.uint32(18).string(message.rtcUserId);
		if (message.rtcToken !== "") writer.uint32(26).string(message.rtcToken);
		if (message.rtcChannelId !== "0") writer.uint32(32).int64(message.rtcChannelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCEngineConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rtcAppId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.rtcUserId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.rtcToken = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rtcChannelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCLiveVideoParam() {
	return {
		strategyId: 0,
		params: void 0
	};
}
const RTCExtraInfo_RTCLiveVideoParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.strategyId !== 0) writer.uint32(8).int32(message.strategyId);
		if (message.params !== void 0) RTCExtraInfo_RTCVideoParam.encode(message.params, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCLiveVideoParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.strategyId = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.params = RTCExtraInfo_RTCVideoParam.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCVideoParam() {
	return {
		width: 0,
		height: 0,
		fps: 0,
		bitrateKbps: 0
	};
}
const RTCExtraInfo_RTCVideoParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.width !== 0) writer.uint32(8).int32(message.width);
		if (message.height !== 0) writer.uint32(16).int32(message.height);
		if (message.fps !== 0) writer.uint32(24).int32(message.fps);
		if (message.bitrateKbps !== 0) writer.uint32(32).int32(message.bitrateKbps);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCVideoParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.width = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.height = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fps = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.bitrateKbps = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo_RTCBitrateMap() {
	return {
		xx1: 0,
		xx2: 0,
		xx3: 0,
		xx4: 0
	};
}
const RTCExtraInfo_RTCBitrateMap = {
	encode(message, writer = new BinaryWriter()) {
		if (message.xx1 !== 0) writer.uint32(8).int32(message.xx1);
		if (message.xx2 !== 0) writer.uint32(16).int32(message.xx2);
		if (message.xx3 !== 0) writer.uint32(24).int32(message.xx3);
		if (message.xx4 !== 0) writer.uint32(32).int32(message.xx4);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo_RTCBitrateMap();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.xx1 = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.xx2 = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.xx3 = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.xx4 = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreateChannelContent() {
	return {
		owner: void 0,
		ownerLinkMicId: ""
	};
}
const CreateChannelContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.owner !== void 0) Player.encode(message.owner, writer.uint32(10).fork()).join();
		if (message.ownerLinkMicId !== "") writer.uint32(18).string(message.ownerLinkMicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreateChannelContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.owner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.ownerLinkMicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListChangeContent() {
	return {
		listChangeType: 0,
		userList: void 0,
		linkedUserUiPositions: [],
		contentPos: []
	};
}
const ListChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.listChangeType !== 0) writer.uint32(8).int32(message.listChangeType);
		if (message.userList !== void 0) AllListUser.encode(message.userList, writer.uint32(18).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(26).string(v);
		for (const v of message.contentPos) ContentPosition.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.listChangeType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.userList = AllListUser.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentPos.push(ContentPosition.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseContentPosition() {
	return {
		contentID: "",
		contentType: 0,
		pos: void 0,
		contentLinkmicID: "",
		startTimeNano: "0"
	};
}
const ContentPosition = {
	encode(message, writer = new BinaryWriter()) {
		if (message.contentID !== "") writer.uint32(10).string(message.contentID);
		if (message.contentType !== 0) writer.uint32(16).int32(message.contentType);
		if (message.pos !== void 0) MicPositionData.encode(message.pos, writer.uint32(26).fork()).join();
		if (message.contentLinkmicID !== "") writer.uint32(34).string(message.contentLinkmicID);
		if (message.startTimeNano !== "0") writer.uint32(40).int64(message.startTimeNano);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseContentPosition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.contentID = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contentType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.pos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentLinkmicID = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.startTimeNano = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMicPositionData() {
	return {
		type: 0,
		linkPosition: void 0
	};
}
const MicPositionData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.linkPosition !== void 0) LinkPosition.encode(message.linkPosition, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMicPositionData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkPosition = LinkPosition.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent() {
	return {
		applyBizContent: void 0,
		inviteBizContent: void 0,
		replyBizContent: void 0,
		permitBizContent: void 0,
		joinDirectBizContent: void 0,
		kickOutBizContent: void 0
	};
}
const MultiLiveContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applyBizContent !== void 0) MultiLiveContent_ApplyBizContent.encode(message.applyBizContent, writer.uint32(10).fork()).join();
		if (message.inviteBizContent !== void 0) MultiLiveContent_InviteBizContent.encode(message.inviteBizContent, writer.uint32(18).fork()).join();
		if (message.replyBizContent !== void 0) MultiLiveContent_ReplyBizContent.encode(message.replyBizContent, writer.uint32(26).fork()).join();
		if (message.permitBizContent !== void 0) MultiLiveContent_PermitBizContent.encode(message.permitBizContent, writer.uint32(34).fork()).join();
		if (message.joinDirectBizContent !== void 0) MultiLiveContent_JoinDirectBizContent.encode(message.joinDirectBizContent, writer.uint32(42).fork()).join();
		if (message.kickOutBizContent !== void 0) MultiLiveContent_KickOutBizContent.encode(message.kickOutBizContent, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applyBizContent = MultiLiveContent_ApplyBizContent.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.inviteBizContent = MultiLiveContent_InviteBizContent.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.replyBizContent = MultiLiveContent_ReplyBizContent.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.permitBizContent = MultiLiveContent_PermitBizContent.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.joinDirectBizContent = MultiLiveContent_JoinDirectBizContent.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.kickOutBizContent = MultiLiveContent_KickOutBizContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent_ApplyBizContent() {
	return { user: void 0 };
}
const MultiLiveContent_ApplyBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent_ApplyBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent_JoinDirectBizContent() {
	return {
		replyImMsgId: "0",
		outsideRoomInviteSource: 0
	};
}
const MultiLiveContent_JoinDirectBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.replyImMsgId !== "0") writer.uint32(8).int64(message.replyImMsgId);
		if (message.outsideRoomInviteSource !== 0) writer.uint32(16).int32(message.outsideRoomInviteSource);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent_JoinDirectBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.replyImMsgId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.outsideRoomInviteSource = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent_InviteBizContent() {
	return {
		anchorSettingInfo: void 0,
		inviteSource: 0,
		operatorUserInfo: void 0,
		operatorLinkAdminType: 0,
		inviteeUserInfo: void 0,
		shareRevenueSetting: 0
	};
}
const MultiLiveContent_InviteBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(10).fork()).join();
		if (message.inviteSource !== 0) writer.uint32(16).int32(message.inviteSource);
		if (message.operatorUserInfo !== void 0) User.encode(message.operatorUserInfo, writer.uint32(26).fork()).join();
		if (message.operatorLinkAdminType !== 0) writer.uint32(32).int32(message.operatorLinkAdminType);
		if (message.inviteeUserInfo !== void 0) User.encode(message.inviteeUserInfo, writer.uint32(42).fork()).join();
		if (message.shareRevenueSetting !== 0) writer.uint32(48).int32(message.shareRevenueSetting);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent_InviteBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.inviteSource = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.operatorUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.operatorLinkAdminType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.inviteeUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.shareRevenueSetting = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent_ReplyBizContent() {
	return {
		linkType: 0,
		isTurnOffInvitation: 0,
		replyUserInfo: void 0
	};
}
const MultiLiveContent_ReplyBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.linkType !== 0) writer.uint32(8).int32(message.linkType);
		if (message.isTurnOffInvitation !== 0) writer.uint32(16).int32(message.isTurnOffInvitation);
		if (message.replyUserInfo !== void 0) User.encode(message.replyUserInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent_ReplyBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.linkType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isTurnOffInvitation = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.replyUserInfo = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent_PermitBizContent() {
	return {
		anchorSettingInfo: void 0,
		expireTimestamp: "0",
		operatorUserInfo: void 0,
		operatorLinkAdminType: 0,
		linkUserType: 0
	};
}
const MultiLiveContent_PermitBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(10).fork()).join();
		if (message.expireTimestamp !== "0") writer.uint32(16).int64(message.expireTimestamp);
		if (message.operatorUserInfo !== void 0) User.encode(message.operatorUserInfo, writer.uint32(26).fork()).join();
		if (message.operatorLinkAdminType !== 0) writer.uint32(32).int32(message.operatorLinkAdminType);
		if (message.linkUserType !== 0) writer.uint32(40).int32(message.linkUserType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent_PermitBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.expireTimestamp = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.operatorUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.operatorLinkAdminType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.linkUserType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent_KickOutBizContent() {
	return {
		operatorUserInfo: void 0,
		operatorLinkAdminType: 0,
		kickPlayerUserInfo: void 0
	};
}
const MultiLiveContent_KickOutBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.operatorUserInfo !== void 0) User.encode(message.operatorUserInfo, writer.uint32(10).fork()).join();
		if (message.operatorLinkAdminType !== 0) writer.uint32(16).int32(message.operatorLinkAdminType);
		if (message.kickPlayerUserInfo !== void 0) User.encode(message.kickPlayerUserInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent_KickOutBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.operatorUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.operatorLinkAdminType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.kickPlayerUserInfo = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseInviteContent() {
	return {
		invitor: void 0,
		inviteeRtcExtInfo: void 0,
		invitorLinkMicId: "",
		inviteeLinkMicId: "",
		isOwner: false,
		pos: void 0,
		dsl: void 0,
		invitee: void 0,
		operator: void 0
	};
}
const InviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.invitor !== void 0) Player.encode(message.invitor, writer.uint32(10).fork()).join();
		if (message.inviteeRtcExtInfo !== void 0) RTCExtraInfo.encode(message.inviteeRtcExtInfo, writer.uint32(18).fork()).join();
		if (message.invitorLinkMicId !== "") writer.uint32(26).string(message.invitorLinkMicId);
		if (message.inviteeLinkMicId !== "") writer.uint32(34).string(message.inviteeLinkMicId);
		if (message.isOwner !== false) writer.uint32(40).bool(message.isOwner);
		if (message.pos !== void 0) Position.encode(message.pos, writer.uint32(50).fork()).join();
		if (message.dsl !== void 0) DSLConfig.encode(message.dsl, writer.uint32(58).fork()).join();
		if (message.invitee !== void 0) User.encode(message.invitee, writer.uint32(66).fork()).join();
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.invitor = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.inviteeRtcExtInfo = RTCExtraInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.invitorLinkMicId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.inviteeLinkMicId = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isOwner = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.pos = Position.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.dsl = DSLConfig.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.invitee = User.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseApplyContent() {
	return {
		applier: void 0,
		applierLinkMicId: ""
	};
}
const ApplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applier !== void 0) Player.encode(message.applier, writer.uint32(10).fork()).join();
		if (message.applierLinkMicId !== "") writer.uint32(18).string(message.applierLinkMicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseApplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applier = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.applierLinkMicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePermitApplyContent() {
	return {
		permiter: void 0,
		permiterLinkMicId: "",
		applierPos: void 0,
		replyStatus: 0,
		dsl: void 0,
		applier: void 0,
		operator: void 0,
		applierLinkMicId: ""
	};
}
const PermitApplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.permiter !== void 0) Player.encode(message.permiter, writer.uint32(10).fork()).join();
		if (message.permiterLinkMicId !== "") writer.uint32(18).string(message.permiterLinkMicId);
		if (message.applierPos !== void 0) Position.encode(message.applierPos, writer.uint32(26).fork()).join();
		if (message.replyStatus !== 0) writer.uint32(32).int32(message.replyStatus);
		if (message.dsl !== void 0) DSLConfig.encode(message.dsl, writer.uint32(42).fork()).join();
		if (message.applier !== void 0) User.encode(message.applier, writer.uint32(50).fork()).join();
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(58).fork()).join();
		if (message.applierLinkMicId !== "") writer.uint32(66).string(message.applierLinkMicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePermitApplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.permiter = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.permiterLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.applierPos = Position.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.replyStatus = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.dsl = DSLConfig.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.applier = User.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.applierLinkMicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseReplyInviteContent() {
	return {
		invitee: void 0,
		replyStatus: 0,
		inviteeLinkMicId: "",
		inviteePos: void 0,
		inviteOperatorUser: void 0,
		linkedUserUiPositions: [],
		uiPos: []
	};
}
const ReplyInviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.invitee !== void 0) Player.encode(message.invitee, writer.uint32(10).fork()).join();
		if (message.replyStatus !== 0) writer.uint32(16).int32(message.replyStatus);
		if (message.inviteeLinkMicId !== "") writer.uint32(26).string(message.inviteeLinkMicId);
		if (message.inviteePos !== void 0) Position.encode(message.inviteePos, writer.uint32(34).fork()).join();
		if (message.inviteOperatorUser !== void 0) Player.encode(message.inviteOperatorUser, writer.uint32(42).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(50).string(v);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseReplyInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.invitee = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.replyStatus = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.inviteeLinkMicId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.inviteePos = Position.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.inviteOperatorUser = Player.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 7:
					if (tag !== 58) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseKickOutContent() {
	return {
		offliner: void 0,
		kickoutReason: 0,
		linkedUserUiPositions: [],
		uiPos: []
	};
}
const KickOutContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.offliner !== void 0) Player.encode(message.offliner, writer.uint32(10).fork()).join();
		if (message.kickoutReason !== 0) writer.uint32(16).int32(message.kickoutReason);
		for (const v of message.linkedUserUiPositions) writer.uint32(26).string(v);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseKickOutContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.offliner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.kickoutReason = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePosIdentity() {
	return {
		type: 0,
		value: ""
	};
}
const PosIdentity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePosIdentity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCancelApplyContent() {
	return {
		applier: void 0,
		applierLinkMicId: ""
	};
}
const CancelApplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applier !== void 0) Player.encode(message.applier, writer.uint32(10).fork()).join();
		if (message.applierLinkMicId !== "") writer.uint32(18).string(message.applierLinkMicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCancelApplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applier = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.applierLinkMicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCancelInviteContent() {
	return {
		invitor: void 0,
		invitorLinkMicId: "",
		inviteeLinkMicId: "",
		inviteSeqId: "0",
		invitee: void 0
	};
}
const CancelInviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.invitor !== void 0) Player.encode(message.invitor, writer.uint32(10).fork()).join();
		if (message.invitorLinkMicId !== "") writer.uint32(18).string(message.invitorLinkMicId);
		if (message.inviteeLinkMicId !== "") writer.uint32(26).string(message.inviteeLinkMicId);
		if (message.inviteSeqId !== "0") writer.uint32(32).int64(message.inviteSeqId);
		if (message.invitee !== void 0) Player.encode(message.invitee, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCancelInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.invitor = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.invitorLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.inviteeLinkMicId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.inviteSeqId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.invitee = Player.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLeaveContent() {
	return {
		leaver: void 0,
		leaveReason: "0",
		linkedUserUiPositions: [],
		uiPos: []
	};
}
const LeaveContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.leaver !== void 0) Player.encode(message.leaver, writer.uint32(10).fork()).join();
		if (message.leaveReason !== "0") writer.uint32(16).int64(message.leaveReason);
		for (const v of message.linkedUserUiPositions) writer.uint32(26).string(v);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLeaveContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.leaver = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.leaveReason = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFinishChannelContent() {
	return {
		owner: void 0,
		finishReason: "0"
	};
}
const FinishChannelContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.owner !== void 0) Player.encode(message.owner, writer.uint32(10).fork()).join();
		if (message.finishReason !== "0") writer.uint32(16).int64(message.finishReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFinishChannelContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.owner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.finishReason = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinDirectContent() {
	return {
		joiner: void 0,
		allUsers: void 0
	};
}
const JoinDirectContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.joiner !== void 0) LinkLayerListUser.encode(message.joiner, writer.uint32(10).fork()).join();
		if (message.allUsers !== void 0) AllListUser.encode(message.allUsers, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinDirectContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.joiner = LinkLayerListUser.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.allUsers = AllListUser.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLeaveJoinGroupContent() {
	return {
		operator: void 0,
		groupChannelId: "0",
		leaveSource: "",
		linkedUserUiPositions: []
	};
}
const LeaveJoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.operator !== void 0) GroupPlayer.encode(message.operator, writer.uint32(10).fork()).join();
		if (message.groupChannelId !== "0") writer.uint32(16).int64(message.groupChannelId);
		if (message.leaveSource !== "") writer.uint32(26).string(message.leaveSource);
		for (const v of message.linkedUserUiPositions) writer.uint32(34).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLeaveJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.operator = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.leaveSource = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePermitJoinGroupContent() {
	return {
		approver: void 0,
		agreeStatus: 0,
		type: 0,
		groupExtInfoList: [],
		groupUser: void 0,
		migrationDetails: void 0,
		linkedUserUiPositions: []
	};
}
const PermitJoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.approver !== void 0) GroupPlayer.encode(message.approver, writer.uint32(10).fork()).join();
		if (message.agreeStatus !== 0) writer.uint32(16).int32(message.agreeStatus);
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		for (const v of message.groupExtInfoList) RTCExtraInfo.encode(v, writer.uint32(34).fork()).join();
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(42).fork()).join();
		if (message.migrationDetails !== void 0) MigrationDetails.encode(message.migrationDetails, writer.uint32(50).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(58).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePermitJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.approver = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.agreeStatus = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.groupExtInfoList.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.migrationDetails = MigrationDetails.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMigrationDetails() {
	return {
		isMigrate: false,
		sourceGroupChannelId: "0",
		targetGroupChannelId: "0"
	};
}
const MigrationDetails = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isMigrate !== false) writer.uint32(8).bool(message.isMigrate);
		if (message.sourceGroupChannelId !== "0") writer.uint32(16).int64(message.sourceGroupChannelId);
		if (message.targetGroupChannelId !== "0") writer.uint32(24).int64(message.targetGroupChannelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMigrationDetails();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isMigrate = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceGroupChannelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.targetGroupChannelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCancelJoinGroupContent() {
	return {
		leaverList: [],
		operator: void 0,
		type: 0,
		groupUser: void 0
	};
}
const CancelJoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.leaverList) GroupPlayer.encode(v, writer.uint32(10).fork()).join();
		if (message.operator !== void 0) GroupPlayer.encode(message.operator, writer.uint32(18).fork()).join();
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCancelJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.leaverList.push(GroupPlayer.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.operator = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseP2PGroupChangeContent() {
	return {
		groupExtInfoList: [],
		groupUser: void 0,
		migrationDetails: void 0,
		contentPos: []
	};
}
const P2PGroupChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.groupExtInfoList) RTCExtraInfo.encode(v, writer.uint32(10).fork()).join();
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(18).fork()).join();
		if (message.migrationDetails !== void 0) MigrationDetails.encode(message.migrationDetails, writer.uint32(26).fork()).join();
		for (const v of message.contentPos) ContentPosition.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseP2PGroupChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupExtInfoList.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.migrationDetails = MigrationDetails.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentPos.push(ContentPosition.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGroupChangeContent() {
	return {
		groupUser: void 0,
		linkedUserUiPositions: []
	};
}
const GroupChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(10).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(18).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent() {
	return {
		overLength: "0",
		multiLiveContent: void 0,
		cohostContent: void 0
	};
}
const BusinessContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.overLength !== "0") writer.uint32(8).int64(message.overLength);
		if (message.multiLiveContent !== void 0) MultiLiveContent.encode(message.multiLiveContent, writer.uint32(802).fork()).join();
		if (message.cohostContent !== void 0) BusinessContent_CohostContent.encode(message.cohostContent, writer.uint32(1602).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.overLength = reader.int64().toString();
					continue;
				case 100:
					if (tag !== 802) break;
					message.multiLiveContent = MultiLiveContent.decode(reader, reader.uint32());
					continue;
				case 200:
					if (tag !== 1602) break;
					message.cohostContent = BusinessContent_CohostContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_CohostContent() {
	return {
		joinGroupBizContent: void 0,
		permitJoinGroupBizContent: void 0,
		listChangeBizContent: void 0
	};
}
const BusinessContent_CohostContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.joinGroupBizContent !== void 0) BusinessContent_JoinGroupBizContent.encode(message.joinGroupBizContent, writer.uint32(10).fork()).join();
		if (message.permitJoinGroupBizContent !== void 0) BusinessContent_PermitJoinGroupBizContent.encode(message.permitJoinGroupBizContent, writer.uint32(18).fork()).join();
		if (message.listChangeBizContent !== void 0) BusinessContent_ListChangeBizContent.encode(message.listChangeBizContent, writer.uint32(90).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_CohostContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.joinGroupBizContent = BusinessContent_JoinGroupBizContent.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.permitJoinGroupBizContent = BusinessContent_PermitJoinGroupBizContent.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.listChangeBizContent = BusinessContent_ListChangeBizContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_PermitJoinGroupBizContent() {
	return {
		replyStatus: 0,
		sourceType: 0
	};
}
const BusinessContent_PermitJoinGroupBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.replyStatus !== 0) writer.uint32(8).int32(message.replyStatus);
		if (message.sourceType !== 0) writer.uint32(16).int32(message.sourceType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_PermitJoinGroupBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.replyStatus = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_ListChangeBizContent() {
	return {
		userInfos: {},
		waitingUsers: []
	};
}
const BusinessContent_ListChangeBizContent = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.userInfos).forEach(([key, value]) => {
			BusinessContent_ListChangeBizContent_UserInfosEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		for (const v of message.waitingUsers) BusinessContent_ListChangeBizContent_VirtualWaitingUser.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_ListChangeBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = BusinessContent_ListChangeBizContent_UserInfosEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.userInfos[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.waitingUsers.push(BusinessContent_ListChangeBizContent_VirtualWaitingUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_ListChangeBizContent_UserInfosEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const BusinessContent_ListChangeBizContent_UserInfosEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BusinessContent_CohostUserInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_ListChangeBizContent_UserInfosEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BusinessContent_CohostUserInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_ListChangeBizContent_VirtualWaitingUser() {
	return {
		userId: "0",
		timestamp: "0",
		avatars: []
	};
}
const BusinessContent_ListChangeBizContent_VirtualWaitingUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.timestamp !== "0") writer.uint32(16).int64(message.timestamp);
		for (const v of message.avatars) Image.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_ListChangeBizContent_VirtualWaitingUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.timestamp = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatars.push(Image.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_CohostUserInfo() {
	return {
		permissionType: "0",
		sourceType: 0,
		isLowVersion: false,
		bestTeammateUid: "0",
		hasTopicPerm: false,
		streamConfig: void 0,
		inDifferentInviteTypeControlGroup: false,
		nickname: "",
		displayId: "",
		avatarThumb: void 0,
		followStatus: "0",
		userIdStr: ""
	};
}
const BusinessContent_CohostUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.permissionType !== "0") writer.uint32(8).int64(message.permissionType);
		if (message.sourceType !== 0) writer.uint32(16).int32(message.sourceType);
		if (message.isLowVersion !== false) writer.uint32(24).bool(message.isLowVersion);
		if (message.bestTeammateUid !== "0") writer.uint32(32).int64(message.bestTeammateUid);
		if (message.hasTopicPerm !== false) writer.uint32(40).bool(message.hasTopicPerm);
		if (message.streamConfig !== void 0) BusinessContent_CohostUserInfo_CohostStreamConfig.encode(message.streamConfig, writer.uint32(50).fork()).join();
		if (message.inDifferentInviteTypeControlGroup !== false) writer.uint32(56).bool(message.inDifferentInviteTypeControlGroup);
		if (message.nickname !== "") writer.uint32(90).string(message.nickname);
		if (message.displayId !== "") writer.uint32(98).string(message.displayId);
		if (message.avatarThumb !== void 0) Image.encode(message.avatarThumb, writer.uint32(106).fork()).join();
		if (message.followStatus !== "0") writer.uint32(112).int64(message.followStatus);
		if (message.userIdStr !== "") writer.uint32(122).string(message.userIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_CohostUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.permissionType = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isLowVersion = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.bestTeammateUid = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.hasTopicPerm = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.streamConfig = BusinessContent_CohostUserInfo_CohostStreamConfig.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.inDifferentInviteTypeControlGroup = reader.bool();
					continue;
				case 11:
					if (tag !== 90) break;
					message.nickname = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.displayId = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.avatarThumb = Image.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 112) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 122) break;
					message.userIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_CohostUserInfo_CohostStreamConfig() {
	return { screenShareStreamId: "" };
}
const BusinessContent_CohostUserInfo_CohostStreamConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.screenShareStreamId !== "") writer.uint32(10).string(message.screenShareStreamId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_CohostUserInfo_CohostStreamConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.screenShareStreamId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupBizContent() {
	return {
		fromRoomAgeRestricted: 0,
		fromTag: void 0,
		dialog: void 0,
		punishInfo: void 0,
		topicInfo: void 0,
		algoRequestId: "",
		cohostLayoutMode: 0,
		tag: void 0,
		gameTag: void 0,
		newUserEducation: "",
		joinGroupMsgExtra: void 0
	};
}
const BusinessContent_JoinGroupBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromRoomAgeRestricted !== 0) writer.uint32(8).int32(message.fromRoomAgeRestricted);
		if (message.fromTag !== void 0) BusinessContent_Tag.encode(message.fromTag, writer.uint32(18).fork()).join();
		if (message.dialog !== void 0) BusinessContent_PerceptionDialogInfo.encode(message.dialog, writer.uint32(26).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(34).fork()).join();
		if (message.topicInfo !== void 0) CohostTopic.encode(message.topicInfo, writer.uint32(42).fork()).join();
		if (message.algoRequestId !== "") writer.uint32(50).string(message.algoRequestId);
		if (message.cohostLayoutMode !== 0) writer.uint32(56).int32(message.cohostLayoutMode);
		if (message.tag !== void 0) BusinessContent_JoinGroupBizContent_TagV2.encode(message.tag, writer.uint32(66).fork()).join();
		if (message.gameTag !== void 0) BusinessContent_JoinGroupBizContent_RivalsGameTag.encode(message.gameTag, writer.uint32(74).fork()).join();
		if (message.newUserEducation !== "") writer.uint32(90).string(message.newUserEducation);
		if (message.joinGroupMsgExtra !== void 0) BusinessContent_JoinGroupMessageExtra.encode(message.joinGroupMsgExtra, writer.uint32(810).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromRoomAgeRestricted = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fromTag = BusinessContent_Tag.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.dialog = BusinessContent_PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.topicInfo = CohostTopic.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.algoRequestId = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.cohostLayoutMode = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.tag = BusinessContent_JoinGroupBizContent_TagV2.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.gameTag = BusinessContent_JoinGroupBizContent_RivalsGameTag.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.newUserEducation = reader.string();
					continue;
				case 101:
					if (tag !== 810) break;
					message.joinGroupMsgExtra = BusinessContent_JoinGroupMessageExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupBizContent_RivalsGameTag() {
	return {
		tagId: "0",
		tagDisplayText: ""
	};
}
const BusinessContent_JoinGroupBizContent_RivalsGameTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagId !== "0") writer.uint32(8).int64(message.tagId);
		if (message.tagDisplayText !== "") writer.uint32(18).string(message.tagDisplayText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupBizContent_RivalsGameTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagDisplayText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupBizContent_TagV2() {
	return {
		tagClassification: 0,
		tagType: 0,
		tagValue: "",
		starlingKey: "",
		secondDegreeRelationContent: void 0,
		cohostHistoryDay: "0",
		similarInterestContent: void 0
	};
}
const BusinessContent_JoinGroupBizContent_TagV2 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagClassification !== 0) writer.uint32(8).int32(message.tagClassification);
		if (message.tagType !== 0) writer.uint32(16).int32(message.tagType);
		if (message.tagValue !== "") writer.uint32(26).string(message.tagValue);
		if (message.starlingKey !== "") writer.uint32(34).string(message.starlingKey);
		if (message.secondDegreeRelationContent !== void 0) BusinessContent_JoinGroupBizContent_TagV2_SecondDegreeRelationContent.encode(message.secondDegreeRelationContent, writer.uint32(82).fork()).join();
		if (message.cohostHistoryDay !== "0") writer.uint32(88).int64(message.cohostHistoryDay);
		if (message.similarInterestContent !== void 0) BusinessContent_JoinGroupBizContent_TagV2_SimilarInterestContent.encode(message.similarInterestContent, writer.uint32(98).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupBizContent_TagV2();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagClassification = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.tagType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tagValue = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.starlingKey = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.secondDegreeRelationContent = BusinessContent_JoinGroupBizContent_TagV2_SecondDegreeRelationContent.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.cohostHistoryDay = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.similarInterestContent = BusinessContent_JoinGroupBizContent_TagV2_SimilarInterestContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupBizContent_TagV2_UserInfo() {
	return {
		userId: "0",
		nickName: "",
		avatarThumb: void 0
	};
}
const BusinessContent_JoinGroupBizContent_TagV2_UserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatarThumb !== void 0) Image.encode(message.avatarThumb, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupBizContent_TagV2_UserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatarThumb = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupBizContent_TagV2_SecondDegreeRelationContent() {
	return {
		relatedUsers: [],
		totalRelatedUserCnt: "0"
	};
}
const BusinessContent_JoinGroupBizContent_TagV2_SecondDegreeRelationContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.relatedUsers) BusinessContent_JoinGroupBizContent_TagV2_UserInfo.encode(v, writer.uint32(10).fork()).join();
		if (message.totalRelatedUserCnt !== "0") writer.uint32(16).int64(message.totalRelatedUserCnt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupBizContent_TagV2_SecondDegreeRelationContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.relatedUsers.push(BusinessContent_JoinGroupBizContent_TagV2_UserInfo.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.totalRelatedUserCnt = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupBizContent_TagV2_SimilarInterestContent() {
	return {
		contentId: "0",
		displayText: ""
	};
}
const BusinessContent_JoinGroupBizContent_TagV2_SimilarInterestContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.contentId !== "0") writer.uint32(8).int64(message.contentId);
		if (message.displayText !== "") writer.uint32(18).string(message.displayText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupBizContent_TagV2_SimilarInterestContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.contentId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_Tag() {
	return {
		tagType: 0,
		tagValue: "",
		tagText: ""
	};
}
const BusinessContent_Tag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagType !== 0) writer.uint32(8).int32(message.tagType);
		if (message.tagValue !== "") writer.uint32(18).string(message.tagValue);
		if (message.tagText !== "") writer.uint32(26).string(message.tagText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_Tag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagValue = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tagText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_PerceptionDialogInfo() {
	return {
		iconType: "0",
		title: void 0,
		subTitle: void 0,
		adviceActionText: void 0,
		defaultActionText: void 0,
		violationDetailUrl: "",
		scene: 0,
		targetUserId: "0",
		targetRoomId: "0",
		countDownTime: "0",
		showFeedback: false,
		feedbackOptionsList: [],
		policyTip: "0"
	};
}
const BusinessContent_PerceptionDialogInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iconType !== "0") writer.uint32(8).int64(message.iconType);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(18).fork()).join();
		if (message.subTitle !== void 0) Text.encode(message.subTitle, writer.uint32(26).fork()).join();
		if (message.adviceActionText !== void 0) Text.encode(message.adviceActionText, writer.uint32(34).fork()).join();
		if (message.defaultActionText !== void 0) Text.encode(message.defaultActionText, writer.uint32(42).fork()).join();
		if (message.violationDetailUrl !== "") writer.uint32(50).string(message.violationDetailUrl);
		if (message.scene !== 0) writer.uint32(56).int32(message.scene);
		if (message.targetUserId !== "0") writer.uint32(64).int64(message.targetUserId);
		if (message.targetRoomId !== "0") writer.uint32(72).int64(message.targetRoomId);
		if (message.countDownTime !== "0") writer.uint32(80).int64(message.countDownTime);
		if (message.showFeedback !== false) writer.uint32(88).bool(message.showFeedback);
		for (const v of message.feedbackOptionsList) BusinessContent_PerceptionFeedbackOption.encode(v, writer.uint32(98).fork()).join();
		if (message.policyTip !== "0") writer.uint32(104).int64(message.policyTip);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_PerceptionDialogInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.iconType = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.subTitle = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.adviceActionText = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.defaultActionText = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationDetailUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.scene = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.targetUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.targetRoomId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.countDownTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.showFeedback = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.feedbackOptionsList.push(BusinessContent_PerceptionFeedbackOption.decode(reader, reader.uint32()));
					continue;
				case 13:
					if (tag !== 104) break;
					message.policyTip = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_PerceptionFeedbackOption() {
	return {
		id: "0",
		contentKey: ""
	};
}
const BusinessContent_PerceptionFeedbackOption = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.contentKey !== "") writer.uint32(18).string(message.contentKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_PerceptionFeedbackOption();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.contentKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupMessageExtra() {
	return {
		sourceType: "0",
		extra: void 0,
		otherUsersList: []
	};
}
const BusinessContent_JoinGroupMessageExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sourceType !== "0") writer.uint32(8).int64(message.sourceType);
		if (message.extra !== void 0) BusinessContent_JoinGroupMessageExtra_RivalExtra.encode(message.extra, writer.uint32(18).fork()).join();
		for (const v of message.otherUsersList) BusinessContent_JoinGroupMessageExtra_RivalExtra.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupMessageExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sourceType = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.extra = BusinessContent_JoinGroupMessageExtra_RivalExtra.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.otherUsersList.push(BusinessContent_JoinGroupMessageExtra_RivalExtra.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupMessageExtra_RivalExtra() {
	return {
		userCount: "0",
		avatarThumb: void 0,
		displayId: "",
		authenticationInfo: void 0,
		nickname: "",
		followStatus: "0",
		hashtag: void 0,
		topHostInfo: void 0,
		userId: "0",
		isBestTeammate: false
	};
}
const BusinessContent_JoinGroupMessageExtra_RivalExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userCount !== "0") writer.uint32(32).int64(message.userCount);
		if (message.avatarThumb !== void 0) Image.encode(message.avatarThumb, writer.uint32(42).fork()).join();
		if (message.displayId !== "") writer.uint32(50).string(message.displayId);
		if (message.authenticationInfo !== void 0) BusinessContent_JoinGroupMessageExtra_RivalExtra_AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(58).fork()).join();
		if (message.nickname !== "") writer.uint32(66).string(message.nickname);
		if (message.followStatus !== "0") writer.uint32(72).int64(message.followStatus);
		if (message.hashtag !== void 0) BusinessContent_Hashtag.encode(message.hashtag, writer.uint32(82).fork()).join();
		if (message.topHostInfo !== void 0) BusinessContent_TopHostInfo.encode(message.topHostInfo, writer.uint32(90).fork()).join();
		if (message.userId !== "0") writer.uint32(96).int64(message.userId);
		if (message.isBestTeammate !== false) writer.uint32(104).bool(message.isBestTeammate);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupMessageExtra_RivalExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 4:
					if (tag !== 32) break;
					message.userCount = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avatarThumb = Image.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.displayId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.authenticationInfo = BusinessContent_JoinGroupMessageExtra_RivalExtra_AuthenticationInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.nickname = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.hashtag = BusinessContent_Hashtag.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.topHostInfo = BusinessContent_TopHostInfo.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.userId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isBestTeammate = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_JoinGroupMessageExtra_RivalExtra_AuthenticationInfo() {
	return {
		customVerify: "",
		enterpriseVerifyReason: "",
		authenticationBadge: void 0
	};
}
const BusinessContent_JoinGroupMessageExtra_RivalExtra_AuthenticationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.customVerify !== "") writer.uint32(10).string(message.customVerify);
		if (message.enterpriseVerifyReason !== "") writer.uint32(18).string(message.enterpriseVerifyReason);
		if (message.authenticationBadge !== void 0) Image.encode(message.authenticationBadge, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_JoinGroupMessageExtra_RivalExtra_AuthenticationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.customVerify = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.enterpriseVerifyReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.authenticationBadge = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_Hashtag() {
	return {
		id: "0",
		title: "",
		image: void 0,
		namespace: 0
	};
}
const BusinessContent_Hashtag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.image !== void 0) Image.encode(message.image, writer.uint32(26).fork()).join();
		if (message.namespace !== 0) writer.uint32(32).int32(message.namespace);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_Hashtag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.image = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.namespace = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent_TopHostInfo() {
	return {
		rankType: "",
		topIndex: "0"
	};
}
const BusinessContent_TopHostInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== "") writer.uint32(10).string(message.rankType);
		if (message.topIndex !== "0") writer.uint32(16).int64(message.topIndex);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent_TopHostInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rankType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.topIndex = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupContent() {
	return {
		groupUser: void 0,
		joinUser: void 0,
		type: 0,
		groupExtInfo: []
	};
}
const JoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(10).fork()).join();
		if (message.joinUser !== void 0) GroupPlayer.encode(message.joinUser, writer.uint32(18).fork()).join();
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		for (const v of message.groupExtInfo) RTCExtraInfo.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.joinUser = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.groupExtInfo.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePrivilegeLogExtra() {
	return {
		dataVersion: "",
		privilegeId: "",
		privilegeVersion: "",
		privilegeOrderId: "",
		level: ""
	};
}
const PrivilegeLogExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.dataVersion !== "") writer.uint32(10).string(message.dataVersion);
		if (message.privilegeId !== "") writer.uint32(18).string(message.privilegeId);
		if (message.privilegeVersion !== "") writer.uint32(26).string(message.privilegeVersion);
		if (message.privilegeOrderId !== "") writer.uint32(34).string(message.privilegeOrderId);
		if (message.level !== "") writer.uint32(42).string(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePrivilegeLogExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.dataVersion = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.privilegeId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.privilegeVersion = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.privilegeOrderId = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.level = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFontStyle() {
	return {
		fontSize: 0,
		fontWidth: 0,
		fontColor: "",
		borderColor: ""
	};
}
const FontStyle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fontSize !== 0) writer.uint32(8).int32(message.fontSize);
		if (message.fontWidth !== 0) writer.uint32(16).int32(message.fontWidth);
		if (message.fontColor !== "") writer.uint32(26).string(message.fontColor);
		if (message.borderColor !== "") writer.uint32(34).string(message.borderColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFontStyle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fontSize = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fontWidth = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.fontColor = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.borderColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserHonor() {
	return {
		totalDiamond: "0",
		diamondIcon: void 0,
		currentHonorName: "",
		currentHonorIcon: void 0,
		nextHonorName: "",
		level: 0,
		nextHonorIcon: void 0,
		currentDiamond: "0",
		thisGradeMinDiamond: "0",
		thisGradeMaxDiamond: "0",
		gradeDescribe: "",
		gradeIconList: [],
		screenChatType: "0",
		imIcon: void 0,
		imIconWithLevel: void 0,
		liveIcon: void 0,
		newImIconWithLevel: void 0,
		newLiveIcon: void 0,
		upgradeNeedConsume: "0",
		nextPrivileges: "",
		profileDialogBg: void 0,
		profileDialogBackBg: void 0,
		score: "0",
		gradeBanner: ""
	};
}
const UserHonor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.totalDiamond !== "0") writer.uint32(8).int64(message.totalDiamond);
		if (message.diamondIcon !== void 0) Image.encode(message.diamondIcon, writer.uint32(18).fork()).join();
		if (message.currentHonorName !== "") writer.uint32(26).string(message.currentHonorName);
		if (message.currentHonorIcon !== void 0) Image.encode(message.currentHonorIcon, writer.uint32(34).fork()).join();
		if (message.nextHonorName !== "") writer.uint32(42).string(message.nextHonorName);
		if (message.level !== 0) writer.uint32(48).int32(message.level);
		if (message.nextHonorIcon !== void 0) Image.encode(message.nextHonorIcon, writer.uint32(58).fork()).join();
		if (message.currentDiamond !== "0") writer.uint32(72).int64(message.currentDiamond);
		if (message.thisGradeMinDiamond !== "0") writer.uint32(80).int64(message.thisGradeMinDiamond);
		if (message.thisGradeMaxDiamond !== "0") writer.uint32(88).int64(message.thisGradeMaxDiamond);
		if (message.gradeDescribe !== "") writer.uint32(106).string(message.gradeDescribe);
		for (const v of message.gradeIconList) GradeIcon.encode(v, writer.uint32(114).fork()).join();
		if (message.screenChatType !== "0") writer.uint32(120).int64(message.screenChatType);
		if (message.imIcon !== void 0) Image.encode(message.imIcon, writer.uint32(130).fork()).join();
		if (message.imIconWithLevel !== void 0) Image.encode(message.imIconWithLevel, writer.uint32(138).fork()).join();
		if (message.liveIcon !== void 0) Image.encode(message.liveIcon, writer.uint32(146).fork()).join();
		if (message.newImIconWithLevel !== void 0) Image.encode(message.newImIconWithLevel, writer.uint32(154).fork()).join();
		if (message.newLiveIcon !== void 0) Image.encode(message.newLiveIcon, writer.uint32(162).fork()).join();
		if (message.upgradeNeedConsume !== "0") writer.uint32(168).int64(message.upgradeNeedConsume);
		if (message.nextPrivileges !== "") writer.uint32(178).string(message.nextPrivileges);
		if (message.profileDialogBg !== void 0) Image.encode(message.profileDialogBg, writer.uint32(186).fork()).join();
		if (message.profileDialogBackBg !== void 0) Image.encode(message.profileDialogBackBg, writer.uint32(194).fork()).join();
		if (message.score !== "0") writer.uint32(200).int64(message.score);
		if (message.gradeBanner !== "") writer.uint32(8010).string(message.gradeBanner);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserHonor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.totalDiamond = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.diamondIcon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.currentHonorName = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.currentHonorIcon = Image.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.nextHonorName = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.level = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.nextHonorIcon = Image.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.currentDiamond = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.thisGradeMinDiamond = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.thisGradeMaxDiamond = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.gradeDescribe = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.gradeIconList.push(GradeIcon.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 120) break;
					message.screenChatType = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 130) break;
					message.imIcon = Image.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.imIconWithLevel = Image.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.liveIcon = Image.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.newImIconWithLevel = Image.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.newLiveIcon = Image.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.upgradeNeedConsume = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 178) break;
					message.nextPrivileges = reader.string();
					continue;
				case 23:
					if (tag !== 186) break;
					message.profileDialogBg = Image.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.profileDialogBackBg = Image.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 200) break;
					message.score = reader.int64().toString();
					continue;
				case 1001:
					if (tag !== 8010) break;
					message.gradeBanner = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGradeIcon() {
	return {
		icon: void 0,
		iconDiamond: "0",
		level: "0",
		levelStr: ""
	};
}
const GradeIcon = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.iconDiamond !== "0") writer.uint32(16).int64(message.iconDiamond);
		if (message.level !== "0") writer.uint32(24).int64(message.level);
		if (message.levelStr !== "") writer.uint32(34).string(message.levelStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGradeIcon();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.iconDiamond = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.level = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.levelStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBorderInfo() {
	return {
		icon: void 0,
		level: "0",
		source: "",
		profileDecorationRibbon: void 0,
		borderLogExtra: void 0,
		ribbonLogExtra: void 0,
		avatarBackgroundColor: "",
		avatarBackgroundBorderColor: ""
	};
}
const BorderInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.level !== "0") writer.uint32(16).int64(message.level);
		if (message.source !== "") writer.uint32(26).string(message.source);
		if (message.profileDecorationRibbon !== void 0) Image.encode(message.profileDecorationRibbon, writer.uint32(34).fork()).join();
		if (message.borderLogExtra !== void 0) PrivilegeLogExtra.encode(message.borderLogExtra, writer.uint32(42).fork()).join();
		if (message.ribbonLogExtra !== void 0) PrivilegeLogExtra.encode(message.ribbonLogExtra, writer.uint32(50).fork()).join();
		if (message.avatarBackgroundColor !== "") writer.uint32(58).string(message.avatarBackgroundColor);
		if (message.avatarBackgroundBorderColor !== "") writer.uint32(66).string(message.avatarBackgroundBorderColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBorderInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.level = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.source = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.profileDecorationRibbon = Image.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.borderLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.ribbonLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.avatarBackgroundColor = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.avatarBackgroundBorderColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubMember() {
	return {
		data: void 0,
		preferData: {}
	};
}
const FansClubMember = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data !== void 0) FansClubData.encode(message.data, writer.uint32(10).fork()).join();
		globalThis.Object.entries(message.preferData).forEach(([key, value]) => {
			FansClubMember_PreferDataEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubMember();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.data = FansClubData.decode(reader, reader.uint32());
					continue;
				case 2: {
					if (tag !== 18) break;
					const entry2 = FansClubMember_PreferDataEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.preferData[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubMember_PreferDataEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const FansClubMember_PreferDataEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) FansClubData.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubMember_PreferDataEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = FansClubData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubData() {
	return {
		clubName: "",
		level: 0,
		userFansClubStatus: 0,
		badge: void 0,
		availableGiftIds: [],
		anchorId: "0"
	};
}
const FansClubData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.clubName !== "") writer.uint32(10).string(message.clubName);
		if (message.level !== 0) writer.uint32(16).int32(message.level);
		if (message.userFansClubStatus !== 0) writer.uint32(24).int32(message.userFansClubStatus);
		if (message.badge !== void 0) FansClubData_UserBadge.encode(message.badge, writer.uint32(34).fork()).join();
		writer.uint32(42).fork();
		for (const v of message.availableGiftIds) writer.int64(v);
		writer.join();
		if (message.anchorId !== "0") writer.uint32(48).int64(message.anchorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.clubName = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.level = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.userFansClubStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.badge = FansClubData_UserBadge.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag === 40) {
						message.availableGiftIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 42) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.availableGiftIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 6:
					if (tag !== 48) break;
					message.anchorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubData_UserBadge() {
	return {
		icons: {},
		title: ""
	};
}
const FansClubData_UserBadge = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.icons).forEach(([key, value]) => {
			FansClubData_UserBadge_IconsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		if (message.title !== "") writer.uint32(18).string(message.title);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubData_UserBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = FansClubData_UserBadge_IconsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.icons[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubData_UserBadge_IconsEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const FansClubData_UserBadge_IconsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) Image.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubData_UserBadge_IconsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuthor() {
	return {
		videoTotalCount: "0",
		videoTotalPlayCount: "0",
		videoTotalFavoriteCount: "0"
	};
}
const Author = {
	encode(message, writer = new BinaryWriter()) {
		if (message.videoTotalCount !== "0") writer.uint32(8).int64(message.videoTotalCount);
		if (message.videoTotalPlayCount !== "0") writer.uint32(16).int64(message.videoTotalPlayCount);
		if (message.videoTotalFavoriteCount !== "0") writer.uint32(48).int64(message.videoTotalFavoriteCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuthor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.videoTotalCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.videoTotalPlayCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.videoTotalFavoriteCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaCommon() {
	return {
		userLabel: void 0,
		userConsumeInRoom: "0"
	};
}
const PublicAreaCommon = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userLabel !== void 0) Image.encode(message.userLabel, writer.uint32(10).fork()).join();
		if (message.userConsumeInRoom !== "0") writer.uint32(16).int64(message.userConsumeInRoom);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaCommon();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userLabel = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.userConsumeInRoom = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon() {
	return {
		scrollGapCount: "0",
		anchorScrollGapCount: "0",
		releaseToScrollArea: false,
		anchorReleaseToScrollArea: false,
		isAnchorMarked: false,
		creatorSuccessInfo: void 0,
		portraitInfo: void 0,
		userInteractionInfo: void 0,
		adminFoldType: "0"
	};
}
const PublicAreaMessageCommon = {
	encode(message, writer = new BinaryWriter()) {
		if (message.scrollGapCount !== "0") writer.uint32(8).int64(message.scrollGapCount);
		if (message.anchorScrollGapCount !== "0") writer.uint32(16).int64(message.anchorScrollGapCount);
		if (message.releaseToScrollArea !== false) writer.uint32(24).bool(message.releaseToScrollArea);
		if (message.anchorReleaseToScrollArea !== false) writer.uint32(32).bool(message.anchorReleaseToScrollArea);
		if (message.isAnchorMarked !== false) writer.uint32(40).bool(message.isAnchorMarked);
		if (message.creatorSuccessInfo !== void 0) PublicAreaMessageCommon_CreatorSuccessInfo.encode(message.creatorSuccessInfo, writer.uint32(50).fork()).join();
		if (message.portraitInfo !== void 0) PublicAreaMessageCommon_PortraitInfo.encode(message.portraitInfo, writer.uint32(58).fork()).join();
		if (message.userInteractionInfo !== void 0) PublicAreaMessageCommon_UserInteractionInfo.encode(message.userInteractionInfo, writer.uint32(66).fork()).join();
		if (message.adminFoldType !== "0") writer.uint32(72).int64(message.adminFoldType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.scrollGapCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorScrollGapCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.releaseToScrollArea = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.anchorReleaseToScrollArea = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isAnchorMarked = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.creatorSuccessInfo = PublicAreaMessageCommon_CreatorSuccessInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.portraitInfo = PublicAreaMessageCommon_PortraitInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.userInteractionInfo = PublicAreaMessageCommon_UserInteractionInfo.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.adminFoldType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_TagItem() {
	return {
		tagType: 0,
		tagText: void 0
	};
}
const PublicAreaMessageCommon_TagItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagType !== 0) writer.uint32(8).int32(message.tagType);
		if (message.tagText !== void 0) Text.encode(message.tagText, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_TagItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagText = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_Topic() {
	return {
		topicActionType: 0,
		topicText: void 0,
		topicTips: void 0
	};
}
const PublicAreaMessageCommon_Topic = {
	encode(message, writer = new BinaryWriter()) {
		if (message.topicActionType !== 0) writer.uint32(8).int32(message.topicActionType);
		if (message.topicText !== void 0) Text.encode(message.topicText, writer.uint32(18).fork()).join();
		if (message.topicTips !== void 0) Text.encode(message.topicTips, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_Topic();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.topicActionType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.topicText = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.topicTips = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_CreatorSuccessInfo() {
	return {
		tags: [],
		topic: void 0
	};
}
const PublicAreaMessageCommon_CreatorSuccessInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.tags) PublicAreaMessageCommon_TagItem.encode(v, writer.uint32(10).fork()).join();
		if (message.topic !== void 0) PublicAreaMessageCommon_Topic.encode(message.topic, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_CreatorSuccessInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tags.push(PublicAreaMessageCommon_TagItem.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.topic = PublicAreaMessageCommon_Topic.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_UserMetrics() {
	return {
		type: 0,
		metricsValue: ""
	};
}
const PublicAreaMessageCommon_UserMetrics = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.metricsValue !== "") writer.uint32(18).string(message.metricsValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_UserMetrics();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.metricsValue = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_PortraitTag() {
	return {
		tagId: "",
		priority: "0",
		showValue: "",
		showArgs: ""
	};
}
const PublicAreaMessageCommon_PortraitTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagId !== "") writer.uint32(10).string(message.tagId);
		if (message.priority !== "0") writer.uint32(16).int64(message.priority);
		if (message.showValue !== "") writer.uint32(26).string(message.showValue);
		if (message.showArgs !== "") writer.uint32(34).string(message.showArgs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_PortraitTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tagId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.priority = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.showValue = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.showArgs = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_PortraitInfo() {
	return {
		userMetrics: [],
		portraitTag: []
	};
}
const PublicAreaMessageCommon_PortraitInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.userMetrics) PublicAreaMessageCommon_UserMetrics.encode(v, writer.uint32(10).fork()).join();
		for (const v of message.portraitTag) PublicAreaMessageCommon_PortraitTag.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_PortraitInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userMetrics.push(PublicAreaMessageCommon_UserMetrics.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.portraitTag.push(PublicAreaMessageCommon_PortraitTag.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon_UserInteractionInfo() {
	return {
		likeCnt: "0",
		commentCnt: "0",
		shareCnt: "0"
	};
}
const PublicAreaMessageCommon_UserInteractionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.likeCnt !== "0") writer.uint32(8).int64(message.likeCnt);
		if (message.commentCnt !== "0") writer.uint32(16).int64(message.commentCnt);
		if (message.shareCnt !== "0") writer.uint32(24).int64(message.shareCnt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon_UserInteractionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.likeCnt = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.commentCnt = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.shareCnt = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftModeMeta() {
	return {
		giftId: "0",
		giftNameKey: "",
		giftIconImage: void 0,
		giftModeDesc: void 0
	};
}
const GiftModeMeta = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.giftNameKey !== "") writer.uint32(18).string(message.giftNameKey);
		if (message.giftIconImage !== void 0) Image.encode(message.giftIconImage, writer.uint32(26).fork()).join();
		if (message.giftModeDesc !== void 0) Text.encode(message.giftModeDesc, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftModeMeta();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftNameKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.giftIconImage = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.giftModeDesc = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTeamUser() {
	return {
		userId: "0",
		score: "0",
		userIdStr: ""
	};
}
const BattleTeamUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		if (message.userIdStr !== "") writer.uint32(26).string(message.userIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTeamUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleSetting() {
	return {
		battleId: "0",
		startTimeMs: "0",
		duration: 0,
		channelId: "0",
		status: 0,
		inviteType: 0,
		giftModeMeta: void 0,
		battleType: 0,
		extraDurationSecond: "0",
		endTimeMs: "0"
	};
}
const BattleSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.battleId !== "0") writer.uint32(8).int64(message.battleId);
		if (message.startTimeMs !== "0") writer.uint32(16).int64(message.startTimeMs);
		if (message.duration !== 0) writer.uint32(24).int32(message.duration);
		if (message.channelId !== "0") writer.uint32(32).int64(message.channelId);
		if (message.status !== 0) writer.uint32(40).int32(message.status);
		if (message.inviteType !== 0) writer.uint32(48).int32(message.inviteType);
		if (message.giftModeMeta !== void 0) GiftModeMeta.encode(message.giftModeMeta, writer.uint32(58).fork()).join();
		if (message.battleType !== 0) writer.uint32(64).int32(message.battleType);
		if (message.extraDurationSecond !== "0") writer.uint32(72).int64(message.extraDurationSecond);
		if (message.endTimeMs !== "0") writer.uint32(80).int64(message.endTimeMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.battleId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.startTimeMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.duration = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.channelId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.status = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.inviteType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.giftModeMeta = GiftModeMeta.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.battleType = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.extraDurationSecond = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.endTimeMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTeamUserArmies() {
	return {
		teamId: "0",
		teamUsers: [],
		teamTotalScore: "0",
		userArmies: void 0,
		hostRank: "0"
	};
}
const BattleTeamUserArmies = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		for (const v of message.teamUsers) BattleTeamUser.encode(v, writer.uint32(18).fork()).join();
		if (message.teamTotalScore !== "0") writer.uint32(24).int64(message.teamTotalScore);
		if (message.userArmies !== void 0) BattleUserArmies.encode(message.userArmies, writer.uint32(34).fork()).join();
		if (message.hostRank !== "0") writer.uint32(40).int64(message.hostRank);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTeamUserArmies();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.teamUsers.push(BattleTeamUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.teamTotalScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.userArmies = BattleUserArmies.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.hostRank = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserArmies() {
	return {
		userArmy: [],
		hostScore: "0",
		anchorIdStr: ""
	};
}
const BattleUserArmies = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.userArmy) BattleUserArmy.encode(v, writer.uint32(10).fork()).join();
		if (message.hostScore !== "0") writer.uint32(16).int64(message.hostScore);
		if (message.anchorIdStr !== "") writer.uint32(26).string(message.anchorIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserArmies();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userArmy.push(BattleUserArmy.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.hostScore = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.anchorIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserArmy() {
	return {
		userId: "0",
		score: "0",
		nickname: "",
		avatarThumb: void 0,
		diamondScore: "0",
		userIdStr: ""
	};
}
const BattleUserArmy = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		if (message.nickname !== "") writer.uint32(26).string(message.nickname);
		if (message.avatarThumb !== void 0) Image.encode(message.avatarThumb, writer.uint32(34).fork()).join();
		if (message.diamondScore !== "0") writer.uint32(40).int64(message.diamondScore);
		if (message.userIdStr !== "") writer.uint32(50).string(message.userIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserArmy();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickname = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.avatarThumb = Image.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.diamondScore = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.userIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseHighScoreControlCfg() {
	return {
		normalControlApplied: false,
		threshold: "0",
		originDisplayToUserList: []
	};
}
const HighScoreControlCfg = {
	encode(message, writer = new BinaryWriter()) {
		if (message.normalControlApplied !== false) writer.uint32(8).bool(message.normalControlApplied);
		if (message.threshold !== "0") writer.uint32(16).int64(message.threshold);
		writer.uint32(26).fork();
		for (const v of message.originDisplayToUserList) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHighScoreControlCfg();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.normalControlApplied = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.threshold = reader.int64().toString();
					continue;
				case 3:
					if (tag === 24) {
						message.originDisplayToUserList.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.originDisplayToUserList.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseHeartbeatMessage() {
	return {
		roomId: "0",
		sendPacketSeqId: "0"
	};
}
const HeartbeatMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomId !== "0") writer.uint32(8).uint64(message.roomId);
		if (message.sendPacketSeqId !== "0") writer.uint32(16).uint64(message.sendPacketSeqId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHeartbeatMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomId = reader.uint64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sendPacketSeqId = reader.uint64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPushFrame() {
	return {
		seqId: "0",
		logId: "0",
		service: "0",
		method: "0",
		headers: {},
		payloadEncoding: "",
		payloadType: "",
		payload: new Uint8Array(0)
	};
}
const WebcastPushFrame = {
	encode(message, writer = new BinaryWriter()) {
		if (message.seqId !== "0") writer.uint32(8).int64(message.seqId);
		if (message.logId !== "0") writer.uint32(16).int64(message.logId);
		if (message.service !== "0") writer.uint32(24).int64(message.service);
		if (message.method !== "0") writer.uint32(32).int64(message.method);
		globalThis.Object.entries(message.headers).forEach(([key, value]) => {
			WebcastPushFrame_HeadersEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.payloadEncoding !== "") writer.uint32(50).string(message.payloadEncoding);
		if (message.payloadType !== "") writer.uint32(58).string(message.payloadType);
		if (message.payload.length !== 0) writer.uint32(66).bytes(message.payload);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPushFrame();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.seqId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.logId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.service = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.method = reader.int64().toString();
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = WebcastPushFrame_HeadersEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.headers[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 50) break;
					message.payloadEncoding = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.payloadType = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.payload = reader.bytes();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPushFrame_HeadersEntry() {
	return {
		key: "",
		value: ""
	};
}
const WebcastPushFrame_HeadersEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPushFrame_HeadersEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMessage() {
	return {
		type: "",
		binary: new Uint8Array(0)
	};
}
const Message = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== "") writer.uint32(10).string(message.type);
		if (message.binary.length !== 0) writer.uint32(18).bytes(message.binary);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.type = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.binary = reader.bytes();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebsocketParam() {
	return {
		name: "",
		value: ""
	};
}
const WebsocketParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebsocketParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomUserSeqMessage() {
	return {
		common: void 0,
		viewerCount: 0,
		ranksList: [],
		popStr: "",
		seatsList: [],
		popularity: "0",
		totalUser: 0,
		anonymous: "0"
	};
}
const WebcastRoomUserSeqMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.viewerCount !== 0) writer.uint32(24).int32(message.viewerCount);
		for (const v of message.ranksList) WebcastRoomUserSeqMessage_Contributor.encode(v, writer.uint32(18).fork()).join();
		if (message.popStr !== "") writer.uint32(34).string(message.popStr);
		for (const v of message.seatsList) WebcastRoomUserSeqMessage_Contributor.encode(v, writer.uint32(42).fork()).join();
		if (message.popularity !== "0") writer.uint32(48).int64(message.popularity);
		if (message.totalUser !== 0) writer.uint32(56).int32(message.totalUser);
		if (message.anonymous !== "0") writer.uint32(64).int64(message.anonymous);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomUserSeqMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.viewerCount = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.ranksList.push(WebcastRoomUserSeqMessage_Contributor.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.popStr = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.seatsList.push(WebcastRoomUserSeqMessage_Contributor.decode(reader, reader.uint32()));
					continue;
				case 6:
					if (tag !== 48) break;
					message.popularity = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.totalUser = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.anonymous = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomUserSeqMessage_Contributor() {
	return {
		coinCount: 0,
		user: void 0,
		rank: 0,
		delta: "0"
	};
}
const WebcastRoomUserSeqMessage_Contributor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.coinCount !== 0) writer.uint32(8).int32(message.coinCount);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.rank !== 0) writer.uint32(24).int32(message.rank);
		if (message.delta !== "0") writer.uint32(32).int64(message.delta);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomUserSeqMessage_Contributor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.coinCount = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.rank = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.delta = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImageModel() {
	return {
		mUrls: [],
		mUri: "",
		height: 0,
		width: 0,
		avgColor: "",
		imageType: 0,
		schema: "",
		content: void 0,
		isAnimated: false
	};
}
const ImageModel = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.mUrls) writer.uint32(10).string(v);
		if (message.mUri !== "") writer.uint32(18).string(message.mUri);
		if (message.height !== 0) writer.uint32(24).int32(message.height);
		if (message.width !== 0) writer.uint32(32).int32(message.width);
		if (message.avgColor !== "") writer.uint32(42).string(message.avgColor);
		if (message.imageType !== 0) writer.uint32(48).int32(message.imageType);
		if (message.schema !== "") writer.uint32(58).string(message.schema);
		if (message.content !== void 0) ImageModel_Content.encode(message.content, writer.uint32(66).fork()).join();
		if (message.isAnimated !== false) writer.uint32(72).bool(message.isAnimated);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImageModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.mUrls.push(reader.string());
					continue;
				case 2:
					if (tag !== 18) break;
					message.mUri = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.width = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avgColor = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.imageType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.schema = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.content = ImageModel_Content.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.isAnimated = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImageModel_Content() {
	return {
		name: "",
		fontColor: "",
		level: "0"
	};
}
const ImageModel_Content = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.fontColor !== "") writer.uint32(18).string(message.fontColor);
		if (message.level !== "0") writer.uint32(24).int64(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImageModel_Content();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fontColor = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.level = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastChatMessage() {
	return {
		common: void 0,
		user: void 0,
		comment: "",
		visibleToSender: false,
		background: void 0,
		fullScreenTextColor: "",
		backgroundImageV2: void 0,
		publicAreaCommon: void 0,
		giftImage: void 0,
		inputType: 0,
		atUser: void 0,
		emotes: [],
		contentLanguage: "",
		msgFilter: void 0,
		quickChatScene: 0,
		communityflaggedStatus: 0,
		commentQualityScores: [],
		userIdentity: void 0,
		commentTag: [],
		publicAreaMessageCommon: void 0,
		screenTime: "0",
		signature: "",
		signatureVersion: "",
		ecStreamerKey: ""
	};
}
const WebcastChatMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.comment !== "") writer.uint32(26).string(message.comment);
		if (message.visibleToSender !== false) writer.uint32(32).bool(message.visibleToSender);
		if (message.background !== void 0) ImageModel.encode(message.background, writer.uint32(42).fork()).join();
		if (message.fullScreenTextColor !== "") writer.uint32(50).string(message.fullScreenTextColor);
		if (message.backgroundImageV2 !== void 0) ImageModel.encode(message.backgroundImageV2, writer.uint32(58).fork()).join();
		if (message.publicAreaCommon !== void 0) PublicAreaCommon.encode(message.publicAreaCommon, writer.uint32(74).fork()).join();
		if (message.giftImage !== void 0) ImageModel.encode(message.giftImage, writer.uint32(82).fork()).join();
		if (message.inputType !== 0) writer.uint32(88).int32(message.inputType);
		if (message.atUser !== void 0) User.encode(message.atUser, writer.uint32(98).fork()).join();
		for (const v of message.emotes) WebcastSubEmote.encode(v, writer.uint32(106).fork()).join();
		if (message.contentLanguage !== "") writer.uint32(114).string(message.contentLanguage);
		if (message.msgFilter !== void 0) MsgFilter.encode(message.msgFilter, writer.uint32(122).fork()).join();
		if (message.quickChatScene !== 0) writer.uint32(128).int32(message.quickChatScene);
		if (message.communityflaggedStatus !== 0) writer.uint32(136).int32(message.communityflaggedStatus);
		for (const v of message.commentQualityScores) WebcastChatMessage_CommentQualityScore.encode(v, writer.uint32(154).fork()).join();
		if (message.userIdentity !== void 0) WebcastChatMessage_UserIdentity.encode(message.userIdentity, writer.uint32(146).fork()).join();
		writer.uint32(162).fork();
		for (const v of message.commentTag) writer.int32(v);
		writer.join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(170).fork()).join();
		if (message.screenTime !== "0") writer.uint32(176).int64(message.screenTime);
		if (message.signature !== "") writer.uint32(186).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(194).string(message.signatureVersion);
		if (message.ecStreamerKey !== "") writer.uint32(202).string(message.ecStreamerKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastChatMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.comment = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.visibleToSender = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.background = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.fullScreenTextColor = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.backgroundImageV2 = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.publicAreaCommon = PublicAreaCommon.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.giftImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.inputType = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.atUser = User.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.emotes.push(WebcastSubEmote.decode(reader, reader.uint32()));
					continue;
				case 14:
					if (tag !== 114) break;
					message.contentLanguage = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.msgFilter = MsgFilter.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.quickChatScene = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.communityflaggedStatus = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.commentQualityScores.push(WebcastChatMessage_CommentQualityScore.decode(reader, reader.uint32()));
					continue;
				case 18:
					if (tag !== 146) break;
					message.userIdentity = WebcastChatMessage_UserIdentity.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag === 160) {
						message.commentTag.push(reader.int32());
						continue;
					}
					if (tag === 162) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.commentTag.push(reader.int32());
						continue;
					}
					break;
				case 21:
					if (tag !== 170) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 176) break;
					message.screenTime = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 186) break;
					message.signature = reader.string();
					continue;
				case 24:
					if (tag !== 194) break;
					message.signatureVersion = reader.string();
					continue;
				case 25:
					if (tag !== 202) break;
					message.ecStreamerKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastChatMessage_UserIdentity() {
	return {
		isGiftGiverOfAnchor: false,
		isSubscriberOfAnchor: false,
		isMutualFollowingWithAnchor: false,
		isFollowerOfAnchor: false,
		isModeratorOfAnchor: false,
		isAnchor: false
	};
}
const WebcastChatMessage_UserIdentity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isGiftGiverOfAnchor !== false) writer.uint32(8).bool(message.isGiftGiverOfAnchor);
		if (message.isSubscriberOfAnchor !== false) writer.uint32(16).bool(message.isSubscriberOfAnchor);
		if (message.isMutualFollowingWithAnchor !== false) writer.uint32(24).bool(message.isMutualFollowingWithAnchor);
		if (message.isFollowerOfAnchor !== false) writer.uint32(32).bool(message.isFollowerOfAnchor);
		if (message.isModeratorOfAnchor !== false) writer.uint32(40).bool(message.isModeratorOfAnchor);
		if (message.isAnchor !== false) writer.uint32(48).bool(message.isAnchor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastChatMessage_UserIdentity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isGiftGiverOfAnchor = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscriberOfAnchor = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isMutualFollowingWithAnchor = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isFollowerOfAnchor = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isModeratorOfAnchor = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isAnchor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastChatMessage_CommentQualityScore() {
	return {
		version: "",
		score: "0"
	};
}
const WebcastChatMessage_CommentQualityScore = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastChatMessage_CommentQualityScore();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmoteUploadInfo() {
	return {
		userId: "0",
		emoteUploadSource: void 0,
		userInfo: void 0,
		userIdStr: ""
	};
}
const EmoteUploadInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.emoteUploadSource !== void 0) writer.uint32(16).int32(message.emoteUploadSource);
		if (message.userInfo !== void 0) User.encode(message.userInfo, writer.uint32(26).fork()).join();
		if (message.userIdStr !== "") writer.uint32(34).string(message.userIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteUploadInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.emoteUploadSource = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.userIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastEmoteChatMessage() {
	return {
		common: void 0,
		user: void 0,
		emoteList: [],
		msgFilter: void 0,
		userIdentity: void 0
	};
}
const WebcastEmoteChatMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		for (const v of message.emoteList) Emote.encode(v, writer.uint32(26).fork()).join();
		if (message.msgFilter !== void 0) MsgFilter.encode(message.msgFilter, writer.uint32(34).fork()).join();
		if (message.userIdentity !== void 0) UserIdentity.encode(message.userIdentity, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastEmoteChatMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.emoteList.push(Emote.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.msgFilter = MsgFilter.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.userIdentity = UserIdentity.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSubEmote() {
	return {
		placeInComment: 0,
		emote: void 0
	};
}
const WebcastSubEmote = {
	encode(message, writer = new BinaryWriter()) {
		if (message.placeInComment !== 0) writer.uint32(8).int32(message.placeInComment);
		if (message.emote !== void 0) EmoteDetails.encode(message.emote, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSubEmote();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.placeInComment = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.emote = EmoteDetails.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage() {
	return {
		common: void 0,
		user: void 0,
		action: 0,
		memberCount: 0,
		operator: void 0,
		isSetToAdmin: false,
		isTopUser: false,
		rankScore: "0",
		topUserNo: "0",
		enterType: "0",
		actionDescription: "",
		userId: "0",
		effectConfig: void 0,
		popStr: "",
		enterEffectConfig: void 0,
		backgroundImage: void 0,
		backgroundImageV2: void 0,
		anchorDisplayText: void 0,
		clientEnterSource: "",
		clientEnterType: "",
		clientLiveReason: "",
		actionDuration: "0",
		userShareType: "",
		displayStyle: 0,
		adminPermissions: {},
		kickSource: 0,
		allowPreviewTime: "0",
		lastSubscriptionAction: "0",
		publicAreaMessageCommon: void 0,
		liveSubOnlyTier: "0",
		liveSubOnlyMonth: "0",
		ecStreamerKey: "",
		showWave: "0",
		waveAlgorithmData: void 0,
		hitAbStatus: 0
	};
}
const WebcastMemberMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.action !== 0) writer.uint32(80).int32(message.action);
		if (message.memberCount !== 0) writer.uint32(24).int32(message.memberCount);
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(34).fork()).join();
		if (message.isSetToAdmin !== false) writer.uint32(40).bool(message.isSetToAdmin);
		if (message.isTopUser !== false) writer.uint32(48).bool(message.isTopUser);
		if (message.rankScore !== "0") writer.uint32(56).int64(message.rankScore);
		if (message.topUserNo !== "0") writer.uint32(64).int64(message.topUserNo);
		if (message.enterType !== "0") writer.uint32(72).int64(message.enterType);
		if (message.actionDescription !== "") writer.uint32(90).string(message.actionDescription);
		if (message.userId !== "0") writer.uint32(96).int64(message.userId);
		if (message.effectConfig !== void 0) WebcastMemberMessage_EffectConfig.encode(message.effectConfig, writer.uint32(106).fork()).join();
		if (message.popStr !== "") writer.uint32(114).string(message.popStr);
		if (message.enterEffectConfig !== void 0) WebcastMemberMessage_EffectConfig.encode(message.enterEffectConfig, writer.uint32(122).fork()).join();
		if (message.backgroundImage !== void 0) Image.encode(message.backgroundImage, writer.uint32(130).fork()).join();
		if (message.backgroundImageV2 !== void 0) Image.encode(message.backgroundImageV2, writer.uint32(138).fork()).join();
		if (message.anchorDisplayText !== void 0) Text.encode(message.anchorDisplayText, writer.uint32(146).fork()).join();
		if (message.clientEnterSource !== "") writer.uint32(154).string(message.clientEnterSource);
		if (message.clientEnterType !== "") writer.uint32(162).string(message.clientEnterType);
		if (message.clientLiveReason !== "") writer.uint32(170).string(message.clientLiveReason);
		if (message.actionDuration !== "0") writer.uint32(176).int64(message.actionDuration);
		if (message.userShareType !== "") writer.uint32(186).string(message.userShareType);
		if (message.displayStyle !== 0) writer.uint32(192).int32(message.displayStyle);
		globalThis.Object.entries(message.adminPermissions).forEach(([key, value]) => {
			WebcastMemberMessage_AdminPermissionsEntry.encode({
				key,
				value
			}, writer.uint32(202).fork()).join();
		});
		if (message.kickSource !== 0) writer.uint32(208).int32(message.kickSource);
		if (message.allowPreviewTime !== "0") writer.uint32(216).int64(message.allowPreviewTime);
		if (message.lastSubscriptionAction !== "0") writer.uint32(224).int64(message.lastSubscriptionAction);
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(234).fork()).join();
		if (message.liveSubOnlyTier !== "0") writer.uint32(240).int64(message.liveSubOnlyTier);
		if (message.liveSubOnlyMonth !== "0") writer.uint32(248).int64(message.liveSubOnlyMonth);
		if (message.ecStreamerKey !== "") writer.uint32(258).string(message.ecStreamerKey);
		if (message.showWave !== "0") writer.uint32(264).int64(message.showWave);
		if (message.waveAlgorithmData !== void 0) WebcastMemberMessage_WaveAlgorithmData.encode(message.waveAlgorithmData, writer.uint32(274).fork()).join();
		if (message.hitAbStatus !== 0) writer.uint32(280).int32(message.hitAbStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.memberCount = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.isSetToAdmin = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isTopUser = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.rankScore = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.topUserNo = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.enterType = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.actionDescription = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.userId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.effectConfig = WebcastMemberMessage_EffectConfig.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.popStr = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.enterEffectConfig = WebcastMemberMessage_EffectConfig.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.backgroundImage = Image.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.backgroundImageV2 = Image.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.anchorDisplayText = Text.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.clientEnterSource = reader.string();
					continue;
				case 20:
					if (tag !== 162) break;
					message.clientEnterType = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.clientLiveReason = reader.string();
					continue;
				case 22:
					if (tag !== 176) break;
					message.actionDuration = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 186) break;
					message.userShareType = reader.string();
					continue;
				case 24:
					if (tag !== 192) break;
					message.displayStyle = reader.int32();
					continue;
				case 25: {
					if (tag !== 202) break;
					const entry25 = WebcastMemberMessage_AdminPermissionsEntry.decode(reader, reader.uint32());
					if (entry25.value !== void 0) message.adminPermissions[entry25.key] = entry25.value;
					continue;
				}
				case 26:
					if (tag !== 208) break;
					message.kickSource = reader.int32();
					continue;
				case 27:
					if (tag !== 216) break;
					message.allowPreviewTime = reader.int64().toString();
					continue;
				case 28:
					if (tag !== 224) break;
					message.lastSubscriptionAction = reader.int64().toString();
					continue;
				case 29:
					if (tag !== 234) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 30:
					if (tag !== 240) break;
					message.liveSubOnlyTier = reader.int64().toString();
					continue;
				case 31:
					if (tag !== 248) break;
					message.liveSubOnlyMonth = reader.int64().toString();
					continue;
				case 32:
					if (tag !== 258) break;
					message.ecStreamerKey = reader.string();
					continue;
				case 33:
					if (tag !== 264) break;
					message.showWave = reader.int64().toString();
					continue;
				case 34:
					if (tag !== 274) break;
					message.waveAlgorithmData = WebcastMemberMessage_WaveAlgorithmData.decode(reader, reader.uint32());
					continue;
				case 35:
					if (tag !== 280) break;
					message.hitAbStatus = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage_AdminPermissionsEntry() {
	return {
		key: 0,
		value: 0
	};
}
const WebcastMemberMessage_AdminPermissionsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage_AdminPermissionsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage_EffectConfig() {
	return {
		type: "0",
		icon: void 0,
		avatarPos: "0",
		text: void 0,
		textIcon: void 0,
		stayTime: 0,
		animAssetId: "0",
		badge: void 0,
		flexSettingArrayList: []
	};
}
const WebcastMemberMessage_EffectConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== "0") writer.uint32(8).int64(message.type);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.avatarPos !== "0") writer.uint32(24).int64(message.avatarPos);
		if (message.text !== void 0) Text.encode(message.text, writer.uint32(34).fork()).join();
		if (message.textIcon !== void 0) Image.encode(message.textIcon, writer.uint32(42).fork()).join();
		if (message.stayTime !== 0) writer.uint32(48).int32(message.stayTime);
		if (message.animAssetId !== "0") writer.uint32(56).int64(message.animAssetId);
		if (message.badge !== void 0) Image.encode(message.badge, writer.uint32(66).fork()).join();
		writer.uint32(74).fork();
		for (const v of message.flexSettingArrayList) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage_EffectConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.avatarPos = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.text = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.textIcon = Image.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.stayTime = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.animAssetId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.badge = Image.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag === 72) {
						message.flexSettingArrayList.push(reader.int64().toString());
						continue;
					}
					if (tag === 74) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.flexSettingArrayList.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage_WaveAlgorithmData() {
	return {
		algorithmVersion: "",
		isAlgHit: false,
		predictScore: "",
		isRewatch: false,
		isFollow: false
	};
}
const WebcastMemberMessage_WaveAlgorithmData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.algorithmVersion !== "") writer.uint32(10).string(message.algorithmVersion);
		if (message.isAlgHit !== false) writer.uint32(16).bool(message.isAlgHit);
		if (message.predictScore !== "") writer.uint32(26).string(message.predictScore);
		if (message.isRewatch !== false) writer.uint32(32).bool(message.isRewatch);
		if (message.isFollow !== false) writer.uint32(40).bool(message.isFollow);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage_WaveAlgorithmData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.algorithmVersion = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isAlgHit = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.predictScore = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isRewatch = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isFollow = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage_EffectConfigBean() {
	return {
		type: 0,
		icon: void 0,
		textKey: void 0,
		badge: void 0
	};
}
const WebcastMemberMessage_EffectConfigBean = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.textKey !== void 0) Text.encode(message.textKey, writer.uint32(34).fork()).join();
		if (message.badge !== void 0) ImageModel.encode(message.badge, writer.uint32(66).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage_EffectConfigBean();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.textKey = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.badge = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage() {
	return {
		common: void 0,
		giftId: 0,
		user: void 0,
		repeatEnd: 0,
		groupId: "0",
		giftDetails: void 0,
		monitorExtra: "",
		fanTicketCount: "0",
		groupCount: 0,
		repeatCount: 0,
		comboCount: 0,
		toUser: void 0,
		textEffect: void 0,
		incomeTaskgifts: "0",
		roomFanTicketCount: "0",
		priority: void 0,
		logId: "",
		sendType: "0",
		publicAreaCommon: void 0,
		trayDisplayText: void 0,
		bannedDisplayEffects: "0",
		mTrayInfo: void 0,
		giftExtra: void 0,
		colorId: "0",
		isFirstSent: false,
		displayTextForAnchor: void 0,
		displayTextForAudience: void 0,
		orderId: "",
		giftsInBox: void 0,
		msgFilter: void 0,
		lynxExtra: [],
		userIdentity: void 0,
		matchInfo: void 0,
		linkmicGiftExpressionStrategy: 0,
		flyingMicResources: void 0,
		disableGiftTracking: false,
		asset: void 0,
		version: 0,
		sponsorshipInfo: [],
		flyingMicResourcesV2: void 0,
		publicAreaMessageCommon: void 0,
		signature: "",
		signatureVersion: "",
		multiGenerateMessage: false,
		toMemberId: "",
		toMemberIdInt: "0",
		toMemberNickname: "",
		interactiveGiftInfo: void 0
	};
}
const WebcastGiftMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.giftId !== 0) writer.uint32(16).int32(message.giftId);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(58).fork()).join();
		if (message.repeatEnd !== 0) writer.uint32(72).int32(message.repeatEnd);
		if (message.groupId !== "0") writer.uint32(88).uint64(message.groupId);
		if (message.giftDetails !== void 0) Gift.encode(message.giftDetails, writer.uint32(122).fork()).join();
		if (message.monitorExtra !== "") writer.uint32(178).string(message.monitorExtra);
		if (message.fanTicketCount !== "0") writer.uint32(24).int64(message.fanTicketCount);
		if (message.groupCount !== 0) writer.uint32(32).int32(message.groupCount);
		if (message.repeatCount !== 0) writer.uint32(40).int32(message.repeatCount);
		if (message.comboCount !== 0) writer.uint32(48).int32(message.comboCount);
		if (message.toUser !== void 0) User.encode(message.toUser, writer.uint32(66).fork()).join();
		if (message.textEffect !== void 0) WebcastGiftMessage_TextEffect.encode(message.textEffect, writer.uint32(82).fork()).join();
		if (message.incomeTaskgifts !== "0") writer.uint32(96).int64(message.incomeTaskgifts);
		if (message.roomFanTicketCount !== "0") writer.uint32(104).int64(message.roomFanTicketCount);
		if (message.priority !== void 0) WebcastGiftMessage_GiftIMPriority.encode(message.priority, writer.uint32(114).fork()).join();
		if (message.logId !== "") writer.uint32(130).string(message.logId);
		if (message.sendType !== "0") writer.uint32(136).int64(message.sendType);
		if (message.publicAreaCommon !== void 0) PublicAreaCommon.encode(message.publicAreaCommon, writer.uint32(146).fork()).join();
		if (message.trayDisplayText !== void 0) Text.encode(message.trayDisplayText, writer.uint32(154).fork()).join();
		if (message.bannedDisplayEffects !== "0") writer.uint32(160).int64(message.bannedDisplayEffects);
		if (message.mTrayInfo !== void 0) WebcastGiftMessage_GiftTrayInfo.encode(message.mTrayInfo, writer.uint32(170).fork()).join();
		if (message.giftExtra !== void 0) WebcastGiftMessage_GiftMonitorInfo.encode(message.giftExtra, writer.uint32(186).fork()).join();
		if (message.colorId !== "0") writer.uint32(192).int64(message.colorId);
		if (message.isFirstSent !== false) writer.uint32(200).bool(message.isFirstSent);
		if (message.displayTextForAnchor !== void 0) Text.encode(message.displayTextForAnchor, writer.uint32(210).fork()).join();
		if (message.displayTextForAudience !== void 0) Text.encode(message.displayTextForAudience, writer.uint32(218).fork()).join();
		if (message.orderId !== "") writer.uint32(226).string(message.orderId);
		if (message.giftsInBox !== void 0) WebcastGiftMessage_GiftsBoxInfo.encode(message.giftsInBox, writer.uint32(234).fork()).join();
		if (message.msgFilter !== void 0) MsgFilter.encode(message.msgFilter, writer.uint32(242).fork()).join();
		for (const v of message.lynxExtra) WebcastGiftMessage_LynxGiftExtra.encode(v, writer.uint32(250).fork()).join();
		if (message.userIdentity !== void 0) UserIdentity.encode(message.userIdentity, writer.uint32(258).fork()).join();
		if (message.matchInfo !== void 0) WebcastGiftMessage_MatchInfo.encode(message.matchInfo, writer.uint32(266).fork()).join();
		if (message.linkmicGiftExpressionStrategy !== 0) writer.uint32(272).int32(message.linkmicGiftExpressionStrategy);
		if (message.flyingMicResources !== void 0) WebcastGiftMessage_FlyingMicResources.encode(message.flyingMicResources, writer.uint32(282).fork()).join();
		if (message.disableGiftTracking !== false) writer.uint32(288).bool(message.disableGiftTracking);
		if (message.asset !== void 0) WebcastGiftMessage_AssetsModel.encode(message.asset, writer.uint32(298).fork()).join();
		if (message.version !== 0) writer.uint32(304).int32(message.version);
		for (const v of message.sponsorshipInfo) WebcastGiftMessage_SponsorshipInfo.encode(v, writer.uint32(314).fork()).join();
		if (message.flyingMicResourcesV2 !== void 0) WebcastGiftMessage_FlyingMicResources.encode(message.flyingMicResourcesV2, writer.uint32(322).fork()).join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(330).fork()).join();
		if (message.signature !== "") writer.uint32(338).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(346).string(message.signatureVersion);
		if (message.multiGenerateMessage !== false) writer.uint32(352).bool(message.multiGenerateMessage);
		if (message.toMemberId !== "") writer.uint32(362).string(message.toMemberId);
		if (message.toMemberIdInt !== "0") writer.uint32(368).int64(message.toMemberIdInt);
		if (message.toMemberNickname !== "") writer.uint32(378).string(message.toMemberNickname);
		if (message.interactiveGiftInfo !== void 0) WebcastGiftMessage_InteractiveGiftInfo.encode(message.interactiveGiftInfo, writer.uint32(386).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftId = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.repeatEnd = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.groupId = reader.uint64().toString();
					continue;
				case 15:
					if (tag !== 122) break;
					message.giftDetails = Gift.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.monitorExtra = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fanTicketCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.groupCount = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.repeatCount = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.comboCount = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.toUser = User.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.textEffect = WebcastGiftMessage_TextEffect.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.incomeTaskgifts = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.roomFanTicketCount = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 114) break;
					message.priority = WebcastGiftMessage_GiftIMPriority.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.logId = reader.string();
					continue;
				case 17:
					if (tag !== 136) break;
					message.sendType = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 146) break;
					message.publicAreaCommon = PublicAreaCommon.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.trayDisplayText = Text.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.bannedDisplayEffects = reader.int64().toString();
					continue;
				case 21:
					if (tag !== 170) break;
					message.mTrayInfo = WebcastGiftMessage_GiftTrayInfo.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.giftExtra = WebcastGiftMessage_GiftMonitorInfo.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 192) break;
					message.colorId = reader.int64().toString();
					continue;
				case 25:
					if (tag !== 200) break;
					message.isFirstSent = reader.bool();
					continue;
				case 26:
					if (tag !== 210) break;
					message.displayTextForAnchor = Text.decode(reader, reader.uint32());
					continue;
				case 27:
					if (tag !== 218) break;
					message.displayTextForAudience = Text.decode(reader, reader.uint32());
					continue;
				case 28:
					if (tag !== 226) break;
					message.orderId = reader.string();
					continue;
				case 29:
					if (tag !== 234) break;
					message.giftsInBox = WebcastGiftMessage_GiftsBoxInfo.decode(reader, reader.uint32());
					continue;
				case 30:
					if (tag !== 242) break;
					message.msgFilter = MsgFilter.decode(reader, reader.uint32());
					continue;
				case 31:
					if (tag !== 250) break;
					message.lynxExtra.push(WebcastGiftMessage_LynxGiftExtra.decode(reader, reader.uint32()));
					continue;
				case 32:
					if (tag !== 258) break;
					message.userIdentity = UserIdentity.decode(reader, reader.uint32());
					continue;
				case 33:
					if (tag !== 266) break;
					message.matchInfo = WebcastGiftMessage_MatchInfo.decode(reader, reader.uint32());
					continue;
				case 34:
					if (tag !== 272) break;
					message.linkmicGiftExpressionStrategy = reader.int32();
					continue;
				case 35:
					if (tag !== 282) break;
					message.flyingMicResources = WebcastGiftMessage_FlyingMicResources.decode(reader, reader.uint32());
					continue;
				case 36:
					if (tag !== 288) break;
					message.disableGiftTracking = reader.bool();
					continue;
				case 37:
					if (tag !== 298) break;
					message.asset = WebcastGiftMessage_AssetsModel.decode(reader, reader.uint32());
					continue;
				case 38:
					if (tag !== 304) break;
					message.version = reader.int32();
					continue;
				case 39:
					if (tag !== 314) break;
					message.sponsorshipInfo.push(WebcastGiftMessage_SponsorshipInfo.decode(reader, reader.uint32()));
					continue;
				case 40:
					if (tag !== 322) break;
					message.flyingMicResourcesV2 = WebcastGiftMessage_FlyingMicResources.decode(reader, reader.uint32());
					continue;
				case 41:
					if (tag !== 330) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 42:
					if (tag !== 338) break;
					message.signature = reader.string();
					continue;
				case 43:
					if (tag !== 346) break;
					message.signatureVersion = reader.string();
					continue;
				case 44:
					if (tag !== 352) break;
					message.multiGenerateMessage = reader.bool();
					continue;
				case 45:
					if (tag !== 362) break;
					message.toMemberId = reader.string();
					continue;
				case 46:
					if (tag !== 368) break;
					message.toMemberIdInt = reader.int64().toString();
					continue;
				case 47:
					if (tag !== 378) break;
					message.toMemberNickname = reader.string();
					continue;
				case 48:
					if (tag !== 386) break;
					message.interactiveGiftInfo = WebcastGiftMessage_InteractiveGiftInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_InteractiveGiftInfo() {
	return {
		crossScreenDelay: "0",
		crossScreenRole: "0",
		ignoreConfig: 0,
		uniqId: "0",
		toUserTeamId: "0"
	};
}
const WebcastGiftMessage_InteractiveGiftInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.crossScreenDelay !== "0") writer.uint32(8).int64(message.crossScreenDelay);
		if (message.crossScreenRole !== "0") writer.uint32(16).int64(message.crossScreenRole);
		if (message.ignoreConfig !== 0) writer.uint32(24).int32(message.ignoreConfig);
		if (message.uniqId !== "0") writer.uint32(32).int64(message.uniqId);
		if (message.toUserTeamId !== "0") writer.uint32(40).int64(message.toUserTeamId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_InteractiveGiftInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.crossScreenDelay = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.crossScreenRole = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.ignoreConfig = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.uniqId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.toUserTeamId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftIMPriority() {
	return {
		queueSizesList: [],
		selfQueuePriority: "0",
		priority: "0"
	};
}
const WebcastGiftMessage_GiftIMPriority = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.queueSizesList) writer.int64(v);
		writer.join();
		if (message.selfQueuePriority !== "0") writer.uint32(16).int64(message.selfQueuePriority);
		if (message.priority !== "0") writer.uint32(24).int64(message.priority);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftIMPriority();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.queueSizesList.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.queueSizesList.push(reader.int64().toString());
						continue;
					}
					break;
				case 2:
					if (tag !== 16) break;
					message.selfQueuePriority = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.priority = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_TextEffect() {
	return {
		portraitDetail: void 0,
		landscapeDetail: void 0
	};
}
const WebcastGiftMessage_TextEffect = {
	encode(message, writer = new BinaryWriter()) {
		if (message.portraitDetail !== void 0) WebcastGiftMessage_TextEffect_Detail.encode(message.portraitDetail, writer.uint32(10).fork()).join();
		if (message.landscapeDetail !== void 0) WebcastGiftMessage_TextEffect_Detail.encode(message.landscapeDetail, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_TextEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.portraitDetail = WebcastGiftMessage_TextEffect_Detail.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.landscapeDetail = WebcastGiftMessage_TextEffect_Detail.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_TextEffect_Detail() {
	return {
		text: void 0,
		textFontSize: 0,
		background: void 0,
		start: "0",
		duration: "0",
		x: 0,
		y: 0,
		width: 0,
		height: 0,
		shadowDx: 0,
		shadowDy: 0,
		shadowRadius: 0,
		shadowColor: "",
		strokeColor: "",
		strokeWidth: 0
	};
}
const WebcastGiftMessage_TextEffect_Detail = {
	encode(message, writer = new BinaryWriter()) {
		if (message.text !== void 0) Text.encode(message.text, writer.uint32(10).fork()).join();
		if (message.textFontSize !== 0) writer.uint32(16).int32(message.textFontSize);
		if (message.background !== void 0) Image.encode(message.background, writer.uint32(26).fork()).join();
		if (message.start !== "0") writer.uint32(32).int64(message.start);
		if (message.duration !== "0") writer.uint32(40).int64(message.duration);
		if (message.x !== 0) writer.uint32(48).int32(message.x);
		if (message.y !== 0) writer.uint32(56).int32(message.y);
		if (message.width !== 0) writer.uint32(64).int32(message.width);
		if (message.height !== 0) writer.uint32(72).int32(message.height);
		if (message.shadowDx !== 0) writer.uint32(80).int32(message.shadowDx);
		if (message.shadowDy !== 0) writer.uint32(88).int32(message.shadowDy);
		if (message.shadowRadius !== 0) writer.uint32(96).int32(message.shadowRadius);
		if (message.shadowColor !== "") writer.uint32(106).string(message.shadowColor);
		if (message.strokeColor !== "") writer.uint32(114).string(message.strokeColor);
		if (message.strokeWidth !== 0) writer.uint32(120).int32(message.strokeWidth);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_TextEffect_Detail();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.text = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.textFontSize = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.background = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.start = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.duration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.x = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.y = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.width = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.height = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.shadowDx = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.shadowDy = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.shadowRadius = reader.int32();
					continue;
				case 13:
					if (tag !== 106) break;
					message.shadowColor = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.strokeColor = reader.string();
					continue;
				case 15:
					if (tag !== 120) break;
					message.strokeWidth = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftTrayInfo() {
	return {
		mDynamicImg: void 0,
		canMirror: false,
		trayNormalBgImg: void 0,
		trayNormalBgColor: [],
		traySmallBgImg: void 0,
		traySmallBgColor: [],
		rightTagText: void 0,
		rightTagBgImg: void 0,
		rightTagBgColor: [],
		trayNameTextColor: "",
		trayDescTextColor: "",
		rightTagJumpSchema: ""
	};
}
const WebcastGiftMessage_GiftTrayInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.mDynamicImg !== void 0) Image.encode(message.mDynamicImg, writer.uint32(10).fork()).join();
		if (message.canMirror !== false) writer.uint32(16).bool(message.canMirror);
		if (message.trayNormalBgImg !== void 0) Image.encode(message.trayNormalBgImg, writer.uint32(26).fork()).join();
		for (const v of message.trayNormalBgColor) writer.uint32(34).string(v);
		if (message.traySmallBgImg !== void 0) Image.encode(message.traySmallBgImg, writer.uint32(42).fork()).join();
		for (const v of message.traySmallBgColor) writer.uint32(50).string(v);
		if (message.rightTagText !== void 0) Text.encode(message.rightTagText, writer.uint32(58).fork()).join();
		if (message.rightTagBgImg !== void 0) Image.encode(message.rightTagBgImg, writer.uint32(66).fork()).join();
		for (const v of message.rightTagBgColor) writer.uint32(74).string(v);
		if (message.trayNameTextColor !== "") writer.uint32(82).string(message.trayNameTextColor);
		if (message.trayDescTextColor !== "") writer.uint32(90).string(message.trayDescTextColor);
		if (message.rightTagJumpSchema !== "") writer.uint32(98).string(message.rightTagJumpSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftTrayInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.mDynamicImg = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.canMirror = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.trayNormalBgImg = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.trayNormalBgColor.push(reader.string());
					continue;
				case 5:
					if (tag !== 42) break;
					message.traySmallBgImg = Image.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.traySmallBgColor.push(reader.string());
					continue;
				case 7:
					if (tag !== 58) break;
					message.rightTagText = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.rightTagBgImg = Image.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.rightTagBgColor.push(reader.string());
					continue;
				case 10:
					if (tag !== 82) break;
					message.trayNameTextColor = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.trayDescTextColor = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.rightTagJumpSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftMonitorInfo() {
	return {
		anchorId: "0",
		profitApiMessageDur: "0",
		sendGiftProfitApiStartMs: "0",
		sendGiftProfitCoreStartMs: "0",
		sendGiftReqStartMs: "0",
		sendGiftSendMessageSuccessMs: "0",
		sendProfitApiDur: "0",
		toUserId: "0",
		sendGiftStartClientLocalMs: "0",
		fromPlatform: "",
		fromVersion: ""
	};
}
const WebcastGiftMessage_GiftMonitorInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.anchorId !== "0") writer.uint32(8).int64(message.anchorId);
		if (message.profitApiMessageDur !== "0") writer.uint32(16).int64(message.profitApiMessageDur);
		if (message.sendGiftProfitApiStartMs !== "0") writer.uint32(24).int64(message.sendGiftProfitApiStartMs);
		if (message.sendGiftProfitCoreStartMs !== "0") writer.uint32(32).int64(message.sendGiftProfitCoreStartMs);
		if (message.sendGiftReqStartMs !== "0") writer.uint32(40).int64(message.sendGiftReqStartMs);
		if (message.sendGiftSendMessageSuccessMs !== "0") writer.uint32(48).int64(message.sendGiftSendMessageSuccessMs);
		if (message.sendProfitApiDur !== "0") writer.uint32(56).int64(message.sendProfitApiDur);
		if (message.toUserId !== "0") writer.uint32(64).int64(message.toUserId);
		if (message.sendGiftStartClientLocalMs !== "0") writer.uint32(72).int64(message.sendGiftStartClientLocalMs);
		if (message.fromPlatform !== "") writer.uint32(82).string(message.fromPlatform);
		if (message.fromVersion !== "") writer.uint32(90).string(message.fromVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftMonitorInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.profitApiMessageDur = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendGiftProfitApiStartMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.sendGiftProfitCoreStartMs = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.sendGiftReqStartMs = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.sendGiftSendMessageSuccessMs = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.sendProfitApiDur = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.sendGiftStartClientLocalMs = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.fromPlatform = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.fromVersion = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_MatchInfo() {
	return {
		critical: "0",
		effectCardInUse: false,
		multiplierType: 0,
		multiplierValue: "0"
	};
}
const WebcastGiftMessage_MatchInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.critical !== "0") writer.uint32(8).int64(message.critical);
		if (message.effectCardInUse !== false) writer.uint32(16).bool(message.effectCardInUse);
		if (message.multiplierType !== 0) writer.uint32(24).int32(message.multiplierType);
		if (message.multiplierValue !== "0") writer.uint32(32).int64(message.multiplierValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_MatchInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.critical = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectCardInUse = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.multiplierType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.multiplierValue = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo() {
	return { gifts: [] };
}
const WebcastGiftMessage_GiftsBoxInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.gifts) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gifts.push(WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox() {
	return {
		giftId: "0",
		effectId: "0",
		colorId: "0",
		remainTimes: 0,
		asset: void 0
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.effectId !== "0") writer.uint32(16).int64(message.effectId);
		if (message.colorId !== "0") writer.uint32(24).int64(message.colorId);
		if (message.remainTimes !== 0) writer.uint32(32).int32(message.remainTimes);
		if (message.asset !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel.encode(message.asset, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.colorId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.remainTimes = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.asset = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel() {
	return {
		name: "",
		resourceUri: "",
		resourceModel: void 0,
		describe: "",
		id: "0",
		resourceType: 0,
		md5: "",
		size: "0",
		lokiExtraContent: void 0,
		downloadType: 0,
		resourceByteVC1Model: void 0,
		bytevc1Md5: "",
		videoResourceList: [],
		faceRecognitionArchiveMeta: void 0,
		lynxUrlSettingsKey: "",
		downgradeResourceType: 0,
		assetExtra: void 0,
		stickerAssetVariant: 0,
		immediateDownload: false,
		stickerAssetVariantReason: 0
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.resourceUri !== "") writer.uint32(18).string(message.resourceUri);
		if (message.resourceModel !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel.encode(message.resourceModel, writer.uint32(34).fork()).join();
		if (message.describe !== "") writer.uint32(42).string(message.describe);
		if (message.id !== "0") writer.uint32(48).int64(message.id);
		if (message.resourceType !== 0) writer.uint32(56).int32(message.resourceType);
		if (message.md5 !== "") writer.uint32(66).string(message.md5);
		if (message.size !== "0") writer.uint32(72).int64(message.size);
		if (message.lokiExtraContent !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent.encode(message.lokiExtraContent, writer.uint32(82).fork()).join();
		if (message.downloadType !== 0) writer.uint32(208).int32(message.downloadType);
		if (message.resourceByteVC1Model !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel.encode(message.resourceByteVC1Model, writer.uint32(226).fork()).join();
		if (message.bytevc1Md5 !== "") writer.uint32(234).string(message.bytevc1Md5);
		for (const v of message.videoResourceList) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_VideoResource.encode(v, writer.uint32(242).fork()).join();
		if (message.faceRecognitionArchiveMeta !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_FaceRecognitionMeta.encode(message.faceRecognitionArchiveMeta, writer.uint32(250).fork()).join();
		if (message.lynxUrlSettingsKey !== "") writer.uint32(258).string(message.lynxUrlSettingsKey);
		if (message.downgradeResourceType !== 0) writer.uint32(264).int32(message.downgradeResourceType);
		if (message.assetExtra !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_AssetExtra.encode(message.assetExtra, writer.uint32(274).fork()).join();
		if (message.stickerAssetVariant !== 0) writer.uint32(280).int32(message.stickerAssetVariant);
		if (message.immediateDownload !== false) writer.uint32(288).bool(message.immediateDownload);
		if (message.stickerAssetVariantReason !== 0) writer.uint32(296).int32(message.stickerAssetVariantReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resourceUri = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.resourceModel = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.describe = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.id = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.resourceType = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.md5 = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.size = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.lokiExtraContent = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 208) break;
					message.downloadType = reader.int32();
					continue;
				case 28:
					if (tag !== 226) break;
					message.resourceByteVC1Model = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel.decode(reader, reader.uint32());
					continue;
				case 29:
					if (tag !== 234) break;
					message.bytevc1Md5 = reader.string();
					continue;
				case 30:
					if (tag !== 242) break;
					message.videoResourceList.push(WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_VideoResource.decode(reader, reader.uint32()));
					continue;
				case 31:
					if (tag !== 250) break;
					message.faceRecognitionArchiveMeta = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_FaceRecognitionMeta.decode(reader, reader.uint32());
					continue;
				case 32:
					if (tag !== 258) break;
					message.lynxUrlSettingsKey = reader.string();
					continue;
				case 33:
					if (tag !== 264) break;
					message.downgradeResourceType = reader.int32();
					continue;
				case 34:
					if (tag !== 274) break;
					message.assetExtra = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_AssetExtra.decode(reader, reader.uint32());
					continue;
				case 35:
					if (tag !== 280) break;
					message.stickerAssetVariant = reader.int32();
					continue;
				case 36:
					if (tag !== 288) break;
					message.immediateDownload = reader.bool();
					continue;
				case 37:
					if (tag !== 296) break;
					message.stickerAssetVariantReason = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_AssetExtra() {
	return { effectStarlingKey: "" };
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_AssetExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.effectStarlingKey !== "") writer.uint32(10).string(message.effectStarlingKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_AssetExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.effectStarlingKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel() {
	return {
		urlList: [],
		uri: ""
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.urlList) writer.uint32(10).string(v);
		if (message.uri !== "") writer.uint32(18).string(message.uri);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.urlList.push(reader.string());
					continue;
				case 2:
					if (tag !== 18) break;
					message.uri = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent() {
	return {
		giftType: "",
		giftDuration: "0",
		needScreenShot: false,
		ismultiFrame: false,
		viewOverlay: "",
		befViewRenderSize: void 0,
		befViewRenderFPS: 0,
		befViewFitMode: 0,
		modelNames: "",
		requirements: []
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftType !== "") writer.uint32(10).string(message.giftType);
		if (message.giftDuration !== "0") writer.uint32(16).int64(message.giftDuration);
		if (message.needScreenShot !== false) writer.uint32(24).bool(message.needScreenShot);
		if (message.ismultiFrame !== false) writer.uint32(32).bool(message.ismultiFrame);
		if (message.viewOverlay !== "") writer.uint32(42).string(message.viewOverlay);
		if (message.befViewRenderSize !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent_BEFViewRenderSize.encode(message.befViewRenderSize, writer.uint32(50).fork()).join();
		if (message.befViewRenderFPS !== 0) writer.uint32(56).int32(message.befViewRenderFPS);
		if (message.befViewFitMode !== 0) writer.uint32(64).int32(message.befViewFitMode);
		if (message.modelNames !== "") writer.uint32(74).string(message.modelNames);
		for (const v of message.requirements) writer.uint32(82).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftDuration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.needScreenShot = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.ismultiFrame = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.viewOverlay = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.befViewRenderSize = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent_BEFViewRenderSize.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.befViewRenderFPS = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.befViewFitMode = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.modelNames = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.requirements.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent_BEFViewRenderSize() {
	return {
		with: 0,
		height: 0
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent_BEFViewRenderSize = {
	encode(message, writer = new BinaryWriter()) {
		if (message.with !== 0) writer.uint32(8).int32(message.with);
		if (message.height !== 0) writer.uint32(16).int32(message.height);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent_BEFViewRenderSize();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.with = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.height = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_VideoResource() {
	return {
		videoTypeName: "",
		videoUrl: void 0,
		videoMd5: ""
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_VideoResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.videoTypeName !== "") writer.uint32(10).string(message.videoTypeName);
		if (message.videoUrl !== void 0) WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel.encode(message.videoUrl, writer.uint32(18).fork()).join();
		if (message.videoMd5 !== "") writer.uint32(26).string(message.videoMd5);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_VideoResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.videoTypeName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.videoUrl = WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.videoMd5 = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_FaceRecognitionMeta() {
	return {
		version: "",
		requirements: [],
		modelNames: "",
		sdkExtra: ""
	};
}
const WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_FaceRecognitionMeta = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		for (const v of message.requirements) writer.uint32(18).string(v);
		if (message.modelNames !== "") writer.uint32(26).string(message.modelNames);
		if (message.sdkExtra !== "") writer.uint32(34).string(message.sdkExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_FaceRecognitionMeta();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.requirements.push(reader.string());
					continue;
				case 3:
					if (tag !== 26) break;
					message.modelNames = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sdkExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel() {
	return {
		name: "",
		resourceUri: "",
		resourceModel: void 0,
		describe: "",
		id: "0",
		resourceType: 0,
		md5: "",
		size: "0",
		lokiExtraContent: void 0,
		downloadType: 0,
		resourceByteVC1Model: void 0,
		bytevc1Md5: "",
		videoResourceList: [],
		faceRecognitionArchiveMeta: void 0,
		lynxUrlSettingsKey: "",
		downgradeResourceType: 0,
		assetExtra: void 0,
		stickerAssetVariant: 0,
		immediateDownload: false,
		stickerAssetVariantReason: 0
	};
}
const WebcastGiftMessage_AssetsModel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.resourceUri !== "") writer.uint32(18).string(message.resourceUri);
		if (message.resourceModel !== void 0) WebcastGiftMessage_AssetsModel_ResourceModel.encode(message.resourceModel, writer.uint32(34).fork()).join();
		if (message.describe !== "") writer.uint32(42).string(message.describe);
		if (message.id !== "0") writer.uint32(48).int64(message.id);
		if (message.resourceType !== 0) writer.uint32(56).int32(message.resourceType);
		if (message.md5 !== "") writer.uint32(66).string(message.md5);
		if (message.size !== "0") writer.uint32(72).int64(message.size);
		if (message.lokiExtraContent !== void 0) WebcastGiftMessage_AssetsModel_LokiExtraContent.encode(message.lokiExtraContent, writer.uint32(82).fork()).join();
		if (message.downloadType !== 0) writer.uint32(208).int32(message.downloadType);
		if (message.resourceByteVC1Model !== void 0) WebcastGiftMessage_AssetsModel_ResourceModel.encode(message.resourceByteVC1Model, writer.uint32(226).fork()).join();
		if (message.bytevc1Md5 !== "") writer.uint32(234).string(message.bytevc1Md5);
		for (const v of message.videoResourceList) WebcastGiftMessage_AssetsModel_VideoResource.encode(v, writer.uint32(242).fork()).join();
		if (message.faceRecognitionArchiveMeta !== void 0) WebcastGiftMessage_AssetsModel_FaceRecognitionMeta.encode(message.faceRecognitionArchiveMeta, writer.uint32(250).fork()).join();
		if (message.lynxUrlSettingsKey !== "") writer.uint32(258).string(message.lynxUrlSettingsKey);
		if (message.downgradeResourceType !== 0) writer.uint32(264).int32(message.downgradeResourceType);
		if (message.assetExtra !== void 0) WebcastGiftMessage_AssetsModel_AssetExtra.encode(message.assetExtra, writer.uint32(274).fork()).join();
		if (message.stickerAssetVariant !== 0) writer.uint32(280).int32(message.stickerAssetVariant);
		if (message.immediateDownload !== false) writer.uint32(288).bool(message.immediateDownload);
		if (message.stickerAssetVariantReason !== 0) writer.uint32(296).int32(message.stickerAssetVariantReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resourceUri = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.resourceModel = WebcastGiftMessage_AssetsModel_ResourceModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.describe = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.id = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.resourceType = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.md5 = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.size = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.lokiExtraContent = WebcastGiftMessage_AssetsModel_LokiExtraContent.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 208) break;
					message.downloadType = reader.int32();
					continue;
				case 28:
					if (tag !== 226) break;
					message.resourceByteVC1Model = WebcastGiftMessage_AssetsModel_ResourceModel.decode(reader, reader.uint32());
					continue;
				case 29:
					if (tag !== 234) break;
					message.bytevc1Md5 = reader.string();
					continue;
				case 30:
					if (tag !== 242) break;
					message.videoResourceList.push(WebcastGiftMessage_AssetsModel_VideoResource.decode(reader, reader.uint32()));
					continue;
				case 31:
					if (tag !== 250) break;
					message.faceRecognitionArchiveMeta = WebcastGiftMessage_AssetsModel_FaceRecognitionMeta.decode(reader, reader.uint32());
					continue;
				case 32:
					if (tag !== 258) break;
					message.lynxUrlSettingsKey = reader.string();
					continue;
				case 33:
					if (tag !== 264) break;
					message.downgradeResourceType = reader.int32();
					continue;
				case 34:
					if (tag !== 274) break;
					message.assetExtra = WebcastGiftMessage_AssetsModel_AssetExtra.decode(reader, reader.uint32());
					continue;
				case 35:
					if (tag !== 280) break;
					message.stickerAssetVariant = reader.int32();
					continue;
				case 36:
					if (tag !== 288) break;
					message.immediateDownload = reader.bool();
					continue;
				case 37:
					if (tag !== 296) break;
					message.stickerAssetVariantReason = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel_AssetExtra() {
	return { effectStarlingKey: "" };
}
const WebcastGiftMessage_AssetsModel_AssetExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.effectStarlingKey !== "") writer.uint32(10).string(message.effectStarlingKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel_AssetExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.effectStarlingKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel_ResourceModel() {
	return {
		urlList: [],
		uri: ""
	};
}
const WebcastGiftMessage_AssetsModel_ResourceModel = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.urlList) writer.uint32(10).string(v);
		if (message.uri !== "") writer.uint32(18).string(message.uri);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel_ResourceModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.urlList.push(reader.string());
					continue;
				case 2:
					if (tag !== 18) break;
					message.uri = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel_LokiExtraContent() {
	return {
		giftType: "",
		giftDuration: "0",
		needScreenShot: false,
		ismultiFrame: false,
		viewOverlay: "",
		befViewRenderSize: void 0,
		befViewRenderFPS: 0,
		befViewFitMode: 0,
		modelNames: "",
		requirements: []
	};
}
const WebcastGiftMessage_AssetsModel_LokiExtraContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftType !== "") writer.uint32(10).string(message.giftType);
		if (message.giftDuration !== "0") writer.uint32(16).int64(message.giftDuration);
		if (message.needScreenShot !== false) writer.uint32(24).bool(message.needScreenShot);
		if (message.ismultiFrame !== false) writer.uint32(32).bool(message.ismultiFrame);
		if (message.viewOverlay !== "") writer.uint32(42).string(message.viewOverlay);
		if (message.befViewRenderSize !== void 0) WebcastGiftMessage_AssetsModel_LokiExtraContent_BEFViewRenderSize.encode(message.befViewRenderSize, writer.uint32(50).fork()).join();
		if (message.befViewRenderFPS !== 0) writer.uint32(56).int32(message.befViewRenderFPS);
		if (message.befViewFitMode !== 0) writer.uint32(64).int32(message.befViewFitMode);
		if (message.modelNames !== "") writer.uint32(74).string(message.modelNames);
		for (const v of message.requirements) writer.uint32(82).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel_LokiExtraContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftDuration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.needScreenShot = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.ismultiFrame = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.viewOverlay = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.befViewRenderSize = WebcastGiftMessage_AssetsModel_LokiExtraContent_BEFViewRenderSize.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.befViewRenderFPS = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.befViewFitMode = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.modelNames = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.requirements.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel_LokiExtraContent_BEFViewRenderSize() {
	return {
		with: 0,
		height: 0
	};
}
const WebcastGiftMessage_AssetsModel_LokiExtraContent_BEFViewRenderSize = {
	encode(message, writer = new BinaryWriter()) {
		if (message.with !== 0) writer.uint32(8).int32(message.with);
		if (message.height !== 0) writer.uint32(16).int32(message.height);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel_LokiExtraContent_BEFViewRenderSize();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.with = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.height = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel_VideoResource() {
	return {
		videoTypeName: "",
		videoUrl: void 0,
		videoMd5: ""
	};
}
const WebcastGiftMessage_AssetsModel_VideoResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.videoTypeName !== "") writer.uint32(10).string(message.videoTypeName);
		if (message.videoUrl !== void 0) WebcastGiftMessage_AssetsModel_ResourceModel.encode(message.videoUrl, writer.uint32(18).fork()).join();
		if (message.videoMd5 !== "") writer.uint32(26).string(message.videoMd5);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel_VideoResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.videoTypeName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.videoUrl = WebcastGiftMessage_AssetsModel_ResourceModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.videoMd5 = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_AssetsModel_FaceRecognitionMeta() {
	return {
		version: "",
		requirements: [],
		modelNames: "",
		sdkExtra: ""
	};
}
const WebcastGiftMessage_AssetsModel_FaceRecognitionMeta = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		for (const v of message.requirements) writer.uint32(18).string(v);
		if (message.modelNames !== "") writer.uint32(26).string(message.modelNames);
		if (message.sdkExtra !== "") writer.uint32(34).string(message.sdkExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_AssetsModel_FaceRecognitionMeta();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.requirements.push(reader.string());
					continue;
				case 3:
					if (tag !== 26) break;
					message.modelNames = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sdkExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_LynxGiftExtra() {
	return {
		id: "0",
		code: "0",
		type: "0",
		params: [],
		extra: ""
	};
}
const WebcastGiftMessage_LynxGiftExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.code !== "0") writer.uint32(16).int64(message.code);
		if (message.type !== "0") writer.uint32(24).int64(message.type);
		for (const v of message.params) writer.uint32(34).string(v);
		if (message.extra !== "") writer.uint32(42).string(message.extra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_LynxGiftExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.code = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.params.push(reader.string());
					continue;
				case 5:
					if (tag !== 42) break;
					message.extra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_FlyingMicResources() {
	return {
		pathImage: void 0,
		micImage: void 0,
		transitionConfigs: []
	};
}
const WebcastGiftMessage_FlyingMicResources = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pathImage !== void 0) Image.encode(message.pathImage, writer.uint32(10).fork()).join();
		if (message.micImage !== void 0) Image.encode(message.micImage, writer.uint32(18).fork()).join();
		for (const v of message.transitionConfigs) WebcastGiftMessage_FlyingMicResources_TransitionConfig.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_FlyingMicResources();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.pathImage = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.micImage = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.transitionConfigs.push(WebcastGiftMessage_FlyingMicResources_TransitionConfig.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_FlyingMicResources_TransitionConfig() {
	return {
		configId: "0",
		resourceImage: void 0
	};
}
const WebcastGiftMessage_FlyingMicResources_TransitionConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.configId !== "0") writer.uint32(8).int64(message.configId);
		if (message.resourceImage !== void 0) Image.encode(message.resourceImage, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_FlyingMicResources_TransitionConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.configId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resourceImage = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage_SponsorshipInfo() {
	return {
		giftId: "0",
		sponsorId: "0",
		lightGiftUp: false,
		unlightedGiftIcon: "",
		giftGalleryDetailPageSchemeUrl: "",
		giftGalleryClickSponsor: false,
		becomeAllSponsored: false
	};
}
const WebcastGiftMessage_SponsorshipInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.sponsorId !== "0") writer.uint32(16).int64(message.sponsorId);
		if (message.lightGiftUp !== false) writer.uint32(24).bool(message.lightGiftUp);
		if (message.unlightedGiftIcon !== "") writer.uint32(34).string(message.unlightedGiftIcon);
		if (message.giftGalleryDetailPageSchemeUrl !== "") writer.uint32(42).string(message.giftGalleryDetailPageSchemeUrl);
		if (message.giftGalleryClickSponsor !== false) writer.uint32(48).bool(message.giftGalleryClickSponsor);
		if (message.becomeAllSponsored !== false) writer.uint32(168).bool(message.becomeAllSponsored);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage_SponsorshipInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sponsorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.lightGiftUp = reader.bool();
					continue;
				case 4:
					if (tag !== 34) break;
					message.unlightedGiftIcon = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.giftGalleryDetailPageSchemeUrl = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.giftGalleryClickSponsor = reader.bool();
					continue;
				case 21:
					if (tag !== 168) break;
					message.becomeAllSponsored = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle() {
	return {
		common: void 0,
		battleId: "0",
		battleSetting: void 0,
		action: 0,
		battleResult: {},
		mBattleDisplayConfig: void 0,
		inviteeGiftPermissionType: 0,
		armies: {},
		anchorInfo: {},
		bubbleText: "",
		supportedActions: [],
		battleCombos: {},
		teamUsers: [],
		inviteeGiftPermissionTypes: [],
		actionByUserId: "0",
		teamBattleResult: [],
		teamArmies: [],
		abtestSettings: [],
		teamMatchCampaign: void 0,
		fuzzyDisplayConfigV2: void 0
	};
}
const WebcastLinkMicBattle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.battleId !== "0") writer.uint32(16).int64(message.battleId);
		if (message.battleSetting !== void 0) BattleSetting.encode(message.battleSetting, writer.uint32(26).fork()).join();
		if (message.action !== 0) writer.uint32(32).int32(message.action);
		globalThis.Object.entries(message.battleResult).forEach(([key, value]) => {
			WebcastLinkMicBattle_BattleResultEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.mBattleDisplayConfig !== void 0) WebcastLinkMicBattle_BattleDisplayConfig.encode(message.mBattleDisplayConfig, writer.uint32(50).fork()).join();
		if (message.inviteeGiftPermissionType !== 0) writer.uint32(64).int32(message.inviteeGiftPermissionType);
		globalThis.Object.entries(message.armies).forEach(([key, value]) => {
			WebcastLinkMicBattle_ArmiesEntry.encode({
				key,
				value
			}, writer.uint32(74).fork()).join();
		});
		globalThis.Object.entries(message.anchorInfo).forEach(([key, value]) => {
			WebcastLinkMicBattle_AnchorInfoEntry.encode({
				key,
				value
			}, writer.uint32(82).fork()).join();
		});
		if (message.bubbleText !== "") writer.uint32(90).string(message.bubbleText);
		for (const v of message.supportedActions) WebcastLinkMicBattle_SupportedActionsWrapper.encode(v, writer.uint32(98).fork()).join();
		globalThis.Object.entries(message.battleCombos).forEach(([key, value]) => {
			WebcastLinkMicBattle_BattleCombosEntry.encode({
				key,
				value
			}, writer.uint32(106).fork()).join();
		});
		for (const v of message.teamUsers) WebcastLinkMicBattle_TeamUsersInfo.encode(v, writer.uint32(114).fork()).join();
		for (const v of message.inviteeGiftPermissionTypes) WebcastLinkMicBattle_BattleInviteeGiftPermission.encode(v, writer.uint32(122).fork()).join();
		if (message.actionByUserId !== "0") writer.uint32(128).int64(message.actionByUserId);
		for (const v of message.teamBattleResult) WebcastLinkMicBattle_BattleTeamResult.encode(v, writer.uint32(138).fork()).join();
		for (const v of message.teamArmies) BattleTeamUserArmies.encode(v, writer.uint32(146).fork()).join();
		for (const v of message.abtestSettings) WebcastLinkMicBattle_BattleABTestSetting.encode(v, writer.uint32(154).fork()).join();
		if (message.teamMatchCampaign !== void 0) WebcastLinkMicBattle_TeamMatchCampaign.encode(message.teamMatchCampaign, writer.uint32(162).fork()).join();
		if (message.fuzzyDisplayConfigV2 !== void 0) HighScoreControlCfg.encode(message.fuzzyDisplayConfigV2, writer.uint32(170).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.battleId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.battleSetting = BattleSetting.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.action = reader.int32();
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = WebcastLinkMicBattle_BattleResultEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.battleResult[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 50) break;
					message.mBattleDisplayConfig = WebcastLinkMicBattle_BattleDisplayConfig.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.inviteeGiftPermissionType = reader.int32();
					continue;
				case 9: {
					if (tag !== 74) break;
					const entry9 = WebcastLinkMicBattle_ArmiesEntry.decode(reader, reader.uint32());
					if (entry9.value !== void 0) message.armies[entry9.key] = entry9.value;
					continue;
				}
				case 10: {
					if (tag !== 82) break;
					const entry10 = WebcastLinkMicBattle_AnchorInfoEntry.decode(reader, reader.uint32());
					if (entry10.value !== void 0) message.anchorInfo[entry10.key] = entry10.value;
					continue;
				}
				case 11:
					if (tag !== 90) break;
					message.bubbleText = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.supportedActions.push(WebcastLinkMicBattle_SupportedActionsWrapper.decode(reader, reader.uint32()));
					continue;
				case 13: {
					if (tag !== 106) break;
					const entry13 = WebcastLinkMicBattle_BattleCombosEntry.decode(reader, reader.uint32());
					if (entry13.value !== void 0) message.battleCombos[entry13.key] = entry13.value;
					continue;
				}
				case 14:
					if (tag !== 114) break;
					message.teamUsers.push(WebcastLinkMicBattle_TeamUsersInfo.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 122) break;
					message.inviteeGiftPermissionTypes.push(WebcastLinkMicBattle_BattleInviteeGiftPermission.decode(reader, reader.uint32()));
					continue;
				case 16:
					if (tag !== 128) break;
					message.actionByUserId = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 138) break;
					message.teamBattleResult.push(WebcastLinkMicBattle_BattleTeamResult.decode(reader, reader.uint32()));
					continue;
				case 18:
					if (tag !== 146) break;
					message.teamArmies.push(BattleTeamUserArmies.decode(reader, reader.uint32()));
					continue;
				case 19:
					if (tag !== 154) break;
					message.abtestSettings.push(WebcastLinkMicBattle_BattleABTestSetting.decode(reader, reader.uint32()));
					continue;
				case 20:
					if (tag !== 162) break;
					message.teamMatchCampaign = WebcastLinkMicBattle_TeamMatchCampaign.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.fuzzyDisplayConfigV2 = HighScoreControlCfg.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleResultEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_BattleResultEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) WebcastLinkMicBattle_BattleResult.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleResultEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = WebcastLinkMicBattle_BattleResult.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_ArmiesEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_ArmiesEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleUserArmies.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_ArmiesEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleUserArmies.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_AnchorInfoEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_AnchorInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) WebcastLinkMicBattle_BattleUserInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_AnchorInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = WebcastLinkMicBattle_BattleUserInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleCombosEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_BattleCombosEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) WebcastLinkMicBattle_BattleComboInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleCombosEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = WebcastLinkMicBattle_BattleComboInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_TeamMatchCampaign() {
	return {
		bestTeammateRelation: [],
		startSfxTeamId: [],
		hasTeamMatchMvpSfx: false
	};
}
const WebcastLinkMicBattle_TeamMatchCampaign = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.bestTeammateRelation) WebcastLinkMicBattle_TeamMatchCampaign_BestTeammateRelation.encode(v, writer.uint32(10).fork()).join();
		writer.uint32(18).fork();
		for (const v of message.startSfxTeamId) writer.int64(v);
		writer.join();
		if (message.hasTeamMatchMvpSfx !== false) writer.uint32(24).bool(message.hasTeamMatchMvpSfx);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_TeamMatchCampaign();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.bestTeammateRelation.push(WebcastLinkMicBattle_TeamMatchCampaign_BestTeammateRelation.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag === 16) {
						message.startSfxTeamId.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.startSfxTeamId.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag !== 24) break;
					message.hasTeamMatchMvpSfx = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_TeamMatchCampaign_BestTeammateRelation() {
	return {
		userId: "0",
		bestTeammateId: "0"
	};
}
const WebcastLinkMicBattle_TeamMatchCampaign_BestTeammateRelation = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.bestTeammateId !== "0") writer.uint32(16).int64(message.bestTeammateId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_TeamMatchCampaign_BestTeammateRelation();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.bestTeammateId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleTeamResult() {
	return {
		teamId: "0",
		teamUsers: [],
		result: 0,
		totalScore: "0"
	};
}
const WebcastLinkMicBattle_BattleTeamResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		for (const v of message.teamUsers) BattleTeamUser.encode(v, writer.uint32(18).fork()).join();
		if (message.result !== 0) writer.uint32(24).int32(message.result);
		if (message.totalScore !== "0") writer.uint32(32).int64(message.totalScore);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleTeamResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.teamUsers.push(BattleTeamUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.result = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.totalScore = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleInviteeGiftPermission() {
	return {
		userId: "0",
		giftPermissionType: 0
	};
}
const WebcastLinkMicBattle_BattleInviteeGiftPermission = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.giftPermissionType !== 0) writer.uint32(16).int32(message.giftPermissionType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleInviteeGiftPermission();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftPermissionType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_SupportedActionsWrapper() {
	return { actionType: "0" };
}
const WebcastLinkMicBattle_SupportedActionsWrapper = {
	encode(message, writer = new BinaryWriter()) {
		if (message.actionType !== "0") writer.uint32(8).int64(message.actionType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_SupportedActionsWrapper();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.actionType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_TeamUsersInfo() {
	return {
		teamId: "0",
		userIds: []
	};
}
const WebcastLinkMicBattle_TeamUsersInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		writer.uint32(18).fork();
		for (const v of message.userIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_TeamUsersInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.userIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.userIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleComboInfo() {
	return {
		userId: "0",
		comboStatus: "0",
		comboCount: "0",
		comboIconUrl: "",
		comboType: 0,
		comboRuleGuideSchema: ""
	};
}
const WebcastLinkMicBattle_BattleComboInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.comboStatus !== "0") writer.uint32(16).int64(message.comboStatus);
		if (message.comboCount !== "0") writer.uint32(24).int64(message.comboCount);
		if (message.comboIconUrl !== "") writer.uint32(34).string(message.comboIconUrl);
		if (message.comboType !== 0) writer.uint32(40).int32(message.comboType);
		if (message.comboRuleGuideSchema !== "") writer.uint32(50).string(message.comboRuleGuideSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleComboInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.comboStatus = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.comboCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.comboIconUrl = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.comboType = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.comboRuleGuideSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleResult() {
	return {
		userId: "0",
		result: 0,
		score: "0"
	};
}
const WebcastLinkMicBattle_BattleResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.result !== 0) writer.uint32(16).int32(message.result);
		if (message.score !== "0") writer.uint32(24).int64(message.score);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.result = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.score = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleDisplayConfig() {
	return {
		threshold: 0,
		text: "",
		diffThreshold: 0,
		diffText: "",
		exemptStrategy: void 0
	};
}
const WebcastLinkMicBattle_BattleDisplayConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.threshold !== 0) writer.uint32(8).int32(message.threshold);
		if (message.text !== "") writer.uint32(18).string(message.text);
		if (message.diffThreshold !== 0) writer.uint32(24).int32(message.diffThreshold);
		if (message.diffText !== "") writer.uint32(34).string(message.diffText);
		if (message.exemptStrategy !== void 0) WebcastLinkMicBattle_BattleDisplayConfig_ExemptStrategy.encode(message.exemptStrategy, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleDisplayConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.threshold = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.text = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.diffThreshold = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.diffText = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.exemptStrategy = WebcastLinkMicBattle_BattleDisplayConfig_ExemptStrategy.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleDisplayConfig_ExemptStrategy() {
	return {
		exemptBothHost: false,
		exemptAudienceTop: 0
	};
}
const WebcastLinkMicBattle_BattleDisplayConfig_ExemptStrategy = {
	encode(message, writer = new BinaryWriter()) {
		if (message.exemptBothHost !== false) writer.uint32(8).bool(message.exemptBothHost);
		if (message.exemptAudienceTop !== 0) writer.uint32(16).int32(message.exemptAudienceTop);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleDisplayConfig_ExemptStrategy();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.exemptBothHost = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.exemptAudienceTop = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleUserInfo() {
	return {
		user: void 0,
		tags: []
	};
}
const WebcastLinkMicBattle_BattleUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) WebcastLinkMicBattle_BattleUserInfo_BattleBaseUserInfo.encode(message.user, writer.uint32(10).fork()).join();
		for (const v of message.tags) WebcastLinkMicBattle_BattleUserInfo_BattleRivalTag.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = WebcastLinkMicBattle_BattleUserInfo_BattleBaseUserInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.tags.push(WebcastLinkMicBattle_BattleUserInfo_BattleRivalTag.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleUserInfo_BattleBaseUserInfo() {
	return {
		userId: "0",
		nickName: "",
		avatarThumb: void 0,
		displayId: ""
	};
}
const WebcastLinkMicBattle_BattleUserInfo_BattleBaseUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatarThumb !== void 0) Image.encode(message.avatarThumb, writer.uint32(26).fork()).join();
		if (message.displayId !== "") writer.uint32(34).string(message.displayId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleUserInfo_BattleBaseUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatarThumb = Image.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.displayId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleUserInfo_BattleRivalTag() {
	return {
		bgImage: void 0,
		iconImage: void 0,
		content: ""
	};
}
const WebcastLinkMicBattle_BattleUserInfo_BattleRivalTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.bgImage !== void 0) Image.encode(message.bgImage, writer.uint32(10).fork()).join();
		if (message.iconImage !== void 0) Image.encode(message.iconImage, writer.uint32(18).fork()).join();
		if (message.content !== "") writer.uint32(26).string(message.content);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleUserInfo_BattleRivalTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.bgImage = Image.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.iconImage = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.content = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleABTestSetting() {
	return {
		uid: "0",
		abTestList: void 0
	};
}
const WebcastLinkMicBattle_BattleABTestSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uid !== "0") writer.uint32(8).int64(message.uid);
		if (message.abTestList !== void 0) WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList.encode(message.abTestList, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleABTestSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.uid = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.abTestList = WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleABTestSetting_BattleABTestList() {
	return { abTestList: [] };
}
const WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.abTestList) WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList_BattleABTest.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleABTestSetting_BattleABTestList();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.abTestList.push(WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList_BattleABTest.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleABTestSetting_BattleABTestList_BattleABTest() {
	return {
		abTestType: 0,
		group: 0
	};
}
const WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList_BattleABTest = {
	encode(message, writer = new BinaryWriter()) {
		if (message.abTestType !== 0) writer.uint32(8).int32(message.abTestType);
		if (message.group !== 0) writer.uint32(16).int32(message.group);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleABTestSetting_BattleABTestList_BattleABTest();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.abTestType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.group = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicArmies() {
	return {
		common: void 0,
		battleId: "0",
		battleItems: {},
		channelId: "0",
		giftSentTime: "0",
		scoreUpdateTime: "0",
		battleStatus: 0,
		fromUserId: "0",
		giftId: "0",
		giftCount: 0,
		gifIconImage: void 0,
		totalDiamondCount: 0,
		repeatCount: 0,
		teamArmies: [],
		triggerCriticalStrike: false,
		hasTeamMatchMvpSfx: false,
		logId: "",
		battleSettings: void 0,
		fuzzyDisplayConfigV2: void 0
	};
}
const WebcastLinkMicArmies = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.battleId !== "0") writer.uint32(16).int64(message.battleId);
		globalThis.Object.entries(message.battleItems).forEach(([key, value]) => {
			WebcastLinkMicArmies_BattleItemsEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		if (message.channelId !== "0") writer.uint32(32).int64(message.channelId);
		if (message.giftSentTime !== "0") writer.uint32(40).int64(message.giftSentTime);
		if (message.scoreUpdateTime !== "0") writer.uint32(48).int64(message.scoreUpdateTime);
		if (message.battleStatus !== 0) writer.uint32(56).int32(message.battleStatus);
		if (message.fromUserId !== "0") writer.uint32(64).int64(message.fromUserId);
		if (message.giftId !== "0") writer.uint32(72).int64(message.giftId);
		if (message.giftCount !== 0) writer.uint32(80).int32(message.giftCount);
		if (message.gifIconImage !== void 0) Image.encode(message.gifIconImage, writer.uint32(90).fork()).join();
		if (message.totalDiamondCount !== 0) writer.uint32(96).int32(message.totalDiamondCount);
		if (message.repeatCount !== 0) writer.uint32(104).int32(message.repeatCount);
		for (const v of message.teamArmies) BattleTeamUserArmies.encode(v, writer.uint32(114).fork()).join();
		if (message.triggerCriticalStrike !== false) writer.uint32(120).bool(message.triggerCriticalStrike);
		if (message.hasTeamMatchMvpSfx !== false) writer.uint32(128).bool(message.hasTeamMatchMvpSfx);
		if (message.logId !== "") writer.uint32(138).string(message.logId);
		if (message.battleSettings !== void 0) BattleSetting.encode(message.battleSettings, writer.uint32(146).fork()).join();
		if (message.fuzzyDisplayConfigV2 !== void 0) HighScoreControlCfg.encode(message.fuzzyDisplayConfigV2, writer.uint32(154).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicArmies();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.battleId = reader.int64().toString();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = WebcastLinkMicArmies_BattleItemsEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.battleItems[entry3.key] = entry3.value;
					continue;
				}
				case 4:
					if (tag !== 32) break;
					message.channelId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.giftSentTime = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.scoreUpdateTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.battleStatus = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.giftId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.giftCount = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.gifIconImage = Image.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.totalDiamondCount = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.repeatCount = reader.int32();
					continue;
				case 14:
					if (tag !== 114) break;
					message.teamArmies.push(BattleTeamUserArmies.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 120) break;
					message.triggerCriticalStrike = reader.bool();
					continue;
				case 16:
					if (tag !== 128) break;
					message.hasTeamMatchMvpSfx = reader.bool();
					continue;
				case 17:
					if (tag !== 138) break;
					message.logId = reader.string();
					continue;
				case 18:
					if (tag !== 146) break;
					message.battleSettings = BattleSetting.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.fuzzyDisplayConfigV2 = HighScoreControlCfg.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicArmies_BattleItemsEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicArmies_BattleItemsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleUserArmies.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicArmies_BattleItemsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleUserArmies.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicArmiesItems() {
	return {
		hostUserId: "0",
		battleGroups: []
	};
}
const WebcastLinkMicArmiesItems = {
	encode(message, writer = new BinaryWriter()) {
		if (message.hostUserId !== "0") writer.uint32(8).uint64(message.hostUserId);
		for (const v of message.battleGroups) WebcastLinkMicArmiesGroup.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicArmiesItems();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.hostUserId = reader.uint64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.battleGroups.push(WebcastLinkMicArmiesGroup.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicArmiesGroup() {
	return {
		users: [],
		points: 0
	};
}
const WebcastLinkMicArmiesGroup = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.users) User.encode(v, writer.uint32(10).fork()).join();
		if (message.points !== 0) writer.uint32(16).int32(message.points);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicArmiesGroup();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.users.push(User.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.points = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSocialMessage() {
	return {
		common: void 0,
		user: void 0,
		shareType: "0",
		action: "0",
		shareTarget: "",
		followCount: 0,
		shareDisplayStyle: "0",
		shareCount: 0,
		publicAreaMessageCommon: void 0,
		signature: "",
		signatureVersion: "",
		showDurationMs: "0"
	};
}
const WebcastSocialMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.shareType !== "0") writer.uint32(24).int64(message.shareType);
		if (message.action !== "0") writer.uint32(32).int64(message.action);
		if (message.shareTarget !== "") writer.uint32(42).string(message.shareTarget);
		if (message.followCount !== 0) writer.uint32(48).int32(message.followCount);
		if (message.shareDisplayStyle !== "0") writer.uint32(56).int64(message.shareDisplayStyle);
		if (message.shareCount !== 0) writer.uint32(64).int32(message.shareCount);
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(74).fork()).join();
		if (message.signature !== "") writer.uint32(82).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(90).string(message.signatureVersion);
		if (message.showDurationMs !== "0") writer.uint32(96).int64(message.showDurationMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSocialMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.shareType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.action = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.shareTarget = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.followCount = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.shareDisplayStyle = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.shareCount = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.signature = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.signatureVersion = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.showDurationMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLikeMessage() {
	return {
		common: void 0,
		likeCount: 0,
		totalLikeCount: 0,
		color: 0,
		user: void 0,
		icon: "",
		icons: [],
		specifiedDisplayText: [],
		effectCnt: "0",
		likeEffect: [],
		publicAreaMessageCommon: void 0,
		roomMessageHeatLevel: "0"
	};
}
const WebcastLikeMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.likeCount !== 0) writer.uint32(16).int32(message.likeCount);
		if (message.totalLikeCount !== 0) writer.uint32(24).int32(message.totalLikeCount);
		if (message.color !== 0) writer.uint32(32).int32(message.color);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(42).fork()).join();
		if (message.icon !== "") writer.uint32(50).string(message.icon);
		for (const v of message.icons) Image.encode(v, writer.uint32(58).fork()).join();
		for (const v of message.specifiedDisplayText) SpecifiedDisplayText.encode(v, writer.uint32(66).fork()).join();
		if (message.effectCnt !== "0") writer.uint32(72).int64(message.effectCnt);
		for (const v of message.likeEffect) LikeEffect.encode(v, writer.uint32(82).fork()).join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(90).fork()).join();
		if (message.roomMessageHeatLevel !== "0") writer.uint32(96).int64(message.roomMessageHeatLevel);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLikeMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.likeCount = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.totalLikeCount = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.color = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.icon = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.icons.push(Image.decode(reader, reader.uint32()));
					continue;
				case 8:
					if (tag !== 66) break;
					message.specifiedDisplayText.push(SpecifiedDisplayText.decode(reader, reader.uint32()));
					continue;
				case 9:
					if (tag !== 72) break;
					message.effectCnt = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.likeEffect.push(LikeEffect.decode(reader, reader.uint32()));
					continue;
				case 11:
					if (tag !== 90) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.roomMessageHeatLevel = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSpecifiedDisplayText() {
	return {
		uid: "0",
		displayText: void 0
	};
}
const SpecifiedDisplayText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uid !== "0") writer.uint32(8).int64(message.uid);
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSpecifiedDisplayText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.uid = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLikeEffect() {
	return {
		version: "0",
		effectCnt: "0",
		effectIntervalMs: "0",
		level: "0"
	};
}
const LikeEffect = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "0") writer.uint32(8).int64(message.version);
		if (message.effectCnt !== "0") writer.uint32(16).int64(message.effectCnt);
		if (message.effectIntervalMs !== "0") writer.uint32(24).int64(message.effectIntervalMs);
		if (message.level !== "0") writer.uint32(32).int64(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLikeEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.version = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectCnt = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.effectIntervalMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.level = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastQuestionNewMessage() {
	return {
		common: void 0,
		details: void 0
	};
}
const WebcastQuestionNewMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.details !== void 0) WebcastQuestionNewMessage_Question.encode(message.details, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastQuestionNewMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.details = WebcastQuestionNewMessage_Question.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastQuestionNewMessage_Question() {
	return {
		questionId: "0",
		questionText: "",
		answerStatus: 0,
		createTime: "0",
		user: void 0,
		createFrom: 0,
		answerFrom: 0
	};
}
const WebcastQuestionNewMessage_Question = {
	encode(message, writer = new BinaryWriter()) {
		if (message.questionId !== "0") writer.uint32(8).int64(message.questionId);
		if (message.questionText !== "") writer.uint32(18).string(message.questionText);
		if (message.answerStatus !== 0) writer.uint32(24).int32(message.answerStatus);
		if (message.createTime !== "0") writer.uint32(32).int64(message.createTime);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(42).fork()).join();
		if (message.createFrom !== 0) writer.uint32(160).int32(message.createFrom);
		if (message.answerFrom !== 0) writer.uint32(168).int32(message.answerFrom);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastQuestionNewMessage_Question();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.questionId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.questionText = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.answerStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.createTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.createFrom = reader.int32();
					continue;
				case 21:
					if (tag !== 168) break;
					message.answerFrom = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMessageEventDetails() {
	return {
		displayType: "",
		label: ""
	};
}
const WebcastMessageEventDetails = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== "") writer.uint32(10).string(message.displayType);
		if (message.label !== "") writer.uint32(18).string(message.label);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMessageEventDetails();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayType = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.label = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLiveIntroMessage() {
	return {
		common: void 0,
		roomId: "0",
		auditStatus: 0,
		description: "",
		host: void 0,
		introMode: 0,
		badges: [],
		language: ""
	};
}
const WebcastLiveIntroMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.auditStatus !== 0) writer.uint32(24).int32(message.auditStatus);
		if (message.description !== "") writer.uint32(34).string(message.description);
		if (message.host !== void 0) User.encode(message.host, writer.uint32(42).fork()).join();
		if (message.introMode !== 0) writer.uint32(48).int32(message.introMode);
		for (const v of message.badges) BadgeStruct.encode(v, writer.uint32(58).fork()).join();
		if (message.language !== "") writer.uint32(66).string(message.language);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLiveIntroMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.auditStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.description = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.host = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.introMode = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.badges.push(BadgeStruct.decode(reader, reader.uint32()));
					continue;
				case 8:
					if (tag !== 66) break;
					message.language = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSystemMessage() {
	return { description: "" };
}
const SystemMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.description !== "") writer.uint32(18).string(message.description);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSystemMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.description = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRankItem() {
	return {
		colour: "",
		id: "0"
	};
}
const RankItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.colour !== "") writer.uint32(10).string(message.colour);
		if (message.id !== "0") writer.uint32(32).uint64(message.id);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRankItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.colour = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.id = reader.uint64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastHourlyRankMessage() {
	return {
		data: void 0,
		common: void 0,
		data2: 0
	};
}
const WebcastHourlyRankMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data !== void 0) WebcastHourlyRankMessage_RankContainer.encode(message.data, writer.uint32(18).fork()).join();
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.data2 !== 0) writer.uint32(24).uint32(message.data2);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastHourlyRankMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.data = WebcastHourlyRankMessage_RankContainer.decode(reader, reader.uint32());
					continue;
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.data2 = reader.uint32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastHourlyRankMessage_RankContainer() {
	return {
		data1: 0,
		rankingData: void 0,
		data2: 0,
		rankings: void 0,
		rankingData2: void 0,
		data3: 0,
		data4: 0
	};
}
const WebcastHourlyRankMessage_RankContainer = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data1 !== 0) writer.uint32(8).uint32(message.data1);
		if (message.rankingData !== void 0) WebcastHourlyRankMessage_RankContainer_RankingData.encode(message.rankingData, writer.uint32(18).fork()).join();
		if (message.data2 !== 0) writer.uint32(24).uint32(message.data2);
		if (message.rankings !== void 0) Ranking.encode(message.rankings, writer.uint32(34).fork()).join();
		if (message.rankingData2 !== void 0) WebcastHourlyRankMessage_RankContainer_RankingData2.encode(message.rankingData2, writer.uint32(42).fork()).join();
		if (message.data3 !== 0) writer.uint32(48).uint32(message.data3);
		if (message.data4 !== 0) writer.uint32(56).uint32(message.data4);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastHourlyRankMessage_RankContainer();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.data1 = reader.uint32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.rankingData = WebcastHourlyRankMessage_RankContainer_RankingData.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.data2 = reader.uint32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.rankings = Ranking.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.rankingData2 = WebcastHourlyRankMessage_RankContainer_RankingData2.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.data3 = reader.uint32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.data4 = reader.uint32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastHourlyRankMessage_RankContainer_RankingData() {
	return {
		data1: 0,
		rankdata: void 0,
		data2: ""
	};
}
const WebcastHourlyRankMessage_RankContainer_RankingData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data1 !== 0) writer.uint32(8).uint32(message.data1);
		if (message.rankdata !== void 0) Ranking.encode(message.rankdata, writer.uint32(18).fork()).join();
		if (message.data2 !== "") writer.uint32(26).string(message.data2);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastHourlyRankMessage_RankContainer_RankingData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.data1 = reader.uint32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.rankdata = Ranking.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.data2 = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastHourlyRankMessage_RankContainer_RankingData2() {
	return {
		data1: 0,
		data2: 0,
		rankdata: void 0,
		data3: "",
		data4: 0,
		data5: 0
	};
}
const WebcastHourlyRankMessage_RankContainer_RankingData2 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data1 !== 0) writer.uint32(8).uint32(message.data1);
		if (message.data2 !== 0) writer.uint32(16).uint32(message.data2);
		if (message.rankdata !== void 0) Ranking.encode(message.rankdata, writer.uint32(26).fork()).join();
		if (message.data3 !== "") writer.uint32(34).string(message.data3);
		if (message.data4 !== 0) writer.uint32(40).uint32(message.data4);
		if (message.data5 !== 0) writer.uint32(48).uint32(message.data5);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastHourlyRankMessage_RankContainer_RankingData2();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.data1 = reader.uint32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.data2 = reader.uint32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.rankdata = Ranking.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.data3 = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.data4 = reader.uint32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.data5 = reader.uint32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmoteDetails() {
	return {
		emoteId: "",
		image: void 0
	};
}
const EmoteDetails = {
	encode(message, writer = new BinaryWriter()) {
		if (message.emoteId !== "") writer.uint32(10).string(message.emoteId);
		if (message.image !== void 0) EmoteImage.encode(message.image, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteDetails();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.emoteId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.image = EmoteImage.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmoteImage() {
	return { imageUrl: "" };
}
const EmoteImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.imageUrl !== "") writer.uint32(10).string(message.imageUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.imageUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastEnvelopeMessage() {
	return {
		common: void 0,
		envelopeInfo: void 0,
		display: 0
	};
}
const WebcastEnvelopeMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.envelopeInfo !== void 0) WebcastEnvelopeMessage_EnvelopeInfo.encode(message.envelopeInfo, writer.uint32(18).fork()).join();
		if (message.display !== 0) writer.uint32(24).int32(message.display);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastEnvelopeMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.envelopeInfo = WebcastEnvelopeMessage_EnvelopeInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.display = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastEnvelopeMessage_EnvelopeInfo() {
	return {
		envelopeId: "",
		businessType: 0,
		envelopeIdc: "",
		sendUserName: "",
		diamondCount: 0,
		peopleCount: 0,
		unpackAt: 0,
		sendUserId: "",
		sendUserAvatar: void 0,
		createAt: "",
		roomId: "",
		followShowStatus: 0,
		skinId: 0
	};
}
const WebcastEnvelopeMessage_EnvelopeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.envelopeId !== "") writer.uint32(10).string(message.envelopeId);
		if (message.businessType !== 0) writer.uint32(16).int32(message.businessType);
		if (message.envelopeIdc !== "") writer.uint32(26).string(message.envelopeIdc);
		if (message.sendUserName !== "") writer.uint32(34).string(message.sendUserName);
		if (message.diamondCount !== 0) writer.uint32(40).int32(message.diamondCount);
		if (message.peopleCount !== 0) writer.uint32(48).int32(message.peopleCount);
		if (message.unpackAt !== 0) writer.uint32(56).int32(message.unpackAt);
		if (message.sendUserId !== "") writer.uint32(66).string(message.sendUserId);
		if (message.sendUserAvatar !== void 0) Image.encode(message.sendUserAvatar, writer.uint32(74).fork()).join();
		if (message.createAt !== "") writer.uint32(82).string(message.createAt);
		if (message.roomId !== "") writer.uint32(90).string(message.roomId);
		if (message.followShowStatus !== 0) writer.uint32(96).int32(message.followShowStatus);
		if (message.skinId !== 0) writer.uint32(104).int32(message.skinId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastEnvelopeMessage_EnvelopeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.envelopeId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.businessType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.envelopeIdc = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUserName = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.diamondCount = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.peopleCount = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.unpackAt = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.sendUserId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.sendUserAvatar = Image.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.createAt = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.roomId = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.followShowStatus = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.skinId = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTreasureBoxData() {
	return {
		coins: 0,
		canOpen: 0,
		timestamp: "0"
	};
}
const TreasureBoxData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.coins !== 0) writer.uint32(40).uint32(message.coins);
		if (message.canOpen !== 0) writer.uint32(48).uint32(message.canOpen);
		if (message.timestamp !== "0") writer.uint32(56).uint64(message.timestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTreasureBoxData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 5:
					if (tag !== 40) break;
					message.coins = reader.uint32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.canOpen = reader.uint32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.timestamp = reader.uint64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFollowInfo() {
	return {
		followingCount: 0,
		followerCount: 0,
		followStatus: 0,
		pushStatus: 0
	};
}
const FollowInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.followingCount !== 0) writer.uint32(8).int32(message.followingCount);
		if (message.followerCount !== 0) writer.uint32(16).int32(message.followerCount);
		if (message.followStatus !== 0) writer.uint32(24).int32(message.followStatus);
		if (message.pushStatus !== 0) writer.uint32(32).int32(message.pushStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFollowInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.followingCount = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.followerCount = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.followStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.pushStatus = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfilePicture() {
	return { urls: [] };
}
const ProfilePicture = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.urls) writer.uint32(10).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfilePicture();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.urls.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserBadgesAttributes() {
	return {
		badgeSceneType: 0,
		imageBadges: [],
		badges: [],
		privilegeLogExtra: void 0
	};
}
const UserBadgesAttributes = {
	encode(message, writer = new BinaryWriter()) {
		if (message.badgeSceneType !== 0) writer.uint32(24).int32(message.badgeSceneType);
		for (const v of message.imageBadges) UserImageBadge.encode(v, writer.uint32(162).fork()).join();
		for (const v of message.badges) UserBadge.encode(v, writer.uint32(170).fork()).join();
		if (message.privilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.privilegeLogExtra, writer.uint32(98).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserBadgesAttributes();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 3:
					if (tag !== 24) break;
					message.badgeSceneType = reader.int32();
					continue;
				case 20:
					if (tag !== 162) break;
					message.imageBadges.push(UserImageBadge.decode(reader, reader.uint32()));
					continue;
				case 21:
					if (tag !== 170) break;
					message.badges.push(UserBadge.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 98) break;
					message.privilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserBadge() {
	return {
		type: "",
		name: ""
	};
}
const UserBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== "") writer.uint32(18).string(message.type);
		if (message.name !== "") writer.uint32(26).string(message.name);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.type = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.name = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserImageBadge() {
	return {
		displayType: 0,
		image: void 0
	};
}
const UserImageBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== 0) writer.uint32(8).int32(message.displayType);
		if (message.image !== void 0) UserImageBadgeImage.encode(message.image, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserImageBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.displayType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.image = UserImageBadgeImage.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserImageBadgeImage() {
	return { url: "" };
}
const UserImageBadgeImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.url !== "") writer.uint32(10).string(message.url);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserImageBadgeImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.url = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage() {
	return {
		common: void 0,
		event: void 0,
		msgType: void 0,
		icon: void 0,
		duration: "0",
		backGround: void 0,
		rightIcon: void 0,
		displayConfig: 0,
		galleryGiftId: "0",
		useMarquee: false,
		showType: void 0,
		renderType: void 0,
		leftIconDisplayType: void 0,
		ribbonAnimation: void 0,
		hybridUrl: "",
		schema: "",
		subType: "",
		privilegeLogExtra: void 0,
		content: void 0,
		scene: 0,
		control: void 0,
		rightLabel: void 0,
		badge: void 0,
		animationData: void 0,
		commonBarrageContent: void 0,
		userGradeParam: void 0,
		fansLevelParam: void 0,
		subscribeGiftParam: void 0,
		giftGalleryParams: void 0
	};
}
const WebcastBarrageMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.event !== void 0) WebcastBarrageMessage_BarrageEvent.encode(message.event, writer.uint32(18).fork()).join();
		if (message.msgType !== void 0) writer.uint32(24).int32(message.msgType);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(34).fork()).join();
		if (message.duration !== "0") writer.uint32(48).int64(message.duration);
		if (message.backGround !== void 0) ImageModel.encode(message.backGround, writer.uint32(58).fork()).join();
		if (message.rightIcon !== void 0) ImageModel.encode(message.rightIcon, writer.uint32(66).fork()).join();
		if (message.displayConfig !== 0) writer.uint32(72).int32(message.displayConfig);
		if (message.galleryGiftId !== "0") writer.uint32(80).int64(message.galleryGiftId);
		if (message.useMarquee !== false) writer.uint32(112).bool(message.useMarquee);
		if (message.showType !== void 0) writer.uint32(120).int32(message.showType);
		if (message.renderType !== void 0) writer.uint32(136).int32(message.renderType);
		if (message.leftIconDisplayType !== void 0) writer.uint32(144).int32(message.leftIconDisplayType);
		if (message.ribbonAnimation !== void 0) ImageModel.encode(message.ribbonAnimation, writer.uint32(154).fork()).join();
		if (message.hybridUrl !== "") writer.uint32(170).string(message.hybridUrl);
		if (message.schema !== "") writer.uint32(178).string(message.schema);
		if (message.subType !== "") writer.uint32(186).string(message.subType);
		if (message.privilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.privilegeLogExtra, writer.uint32(826).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(42).fork()).join();
		if (message.scene !== 0) writer.uint32(88).int32(message.scene);
		if (message.control !== void 0) WebcastBarrageMessage_DisplayControl.encode(message.control, writer.uint32(98).fork()).join();
		if (message.rightLabel !== void 0) WebcastBarrageMessage_RightLabel.encode(message.rightLabel, writer.uint32(106).fork()).join();
		if (message.badge !== void 0) BadgeStruct.encode(message.badge, writer.uint32(130).fork()).join();
		if (message.animationData !== void 0) WebcastBarrageMessage_AnimationData.encode(message.animationData, writer.uint32(162).fork()).join();
		if (message.commonBarrageContent !== void 0) Text.encode(message.commonBarrageContent, writer.uint32(194).fork()).join();
		if (message.userGradeParam !== void 0) WebcastBarrageMessage_BarrageTypeUserGradeParam.encode(message.userGradeParam, writer.uint32(802).fork()).join();
		if (message.fansLevelParam !== void 0) WebcastBarrageMessage_BarrageTypeFansLevelParam.encode(message.fansLevelParam, writer.uint32(810).fork()).join();
		if (message.subscribeGiftParam !== void 0) WebcastBarrageMessage_BarrageTypeSubscribeGiftParam.encode(message.subscribeGiftParam, writer.uint32(818).fork()).join();
		if (message.giftGalleryParams !== void 0) WebcastBarrageMessage_BarrageTypeGiftGalleryParam.encode(message.giftGalleryParams, writer.uint32(834).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.event = WebcastBarrageMessage_BarrageEvent.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.msgType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.duration = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.backGround = ImageModel.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.rightIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.displayConfig = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.galleryGiftId = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.useMarquee = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.showType = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.renderType = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.leftIconDisplayType = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.ribbonAnimation = ImageModel.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.hybridUrl = reader.string();
					continue;
				case 22:
					if (tag !== 178) break;
					message.schema = reader.string();
					continue;
				case 23:
					if (tag !== 186) break;
					message.subType = reader.string();
					continue;
				case 103:
					if (tag !== 826) break;
					message.privilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.scene = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.control = WebcastBarrageMessage_DisplayControl.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.rightLabel = WebcastBarrageMessage_RightLabel.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.badge = BadgeStruct.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.animationData = WebcastBarrageMessage_AnimationData.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.commonBarrageContent = Text.decode(reader, reader.uint32());
					continue;
				case 100:
					if (tag !== 802) break;
					message.userGradeParam = WebcastBarrageMessage_BarrageTypeUserGradeParam.decode(reader, reader.uint32());
					continue;
				case 101:
					if (tag !== 810) break;
					message.fansLevelParam = WebcastBarrageMessage_BarrageTypeFansLevelParam.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.subscribeGiftParam = WebcastBarrageMessage_BarrageTypeSubscribeGiftParam.decode(reader, reader.uint32());
					continue;
				case 104:
					if (tag !== 834) break;
					message.giftGalleryParams = WebcastBarrageMessage_BarrageTypeGiftGalleryParam.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_BarrageEvent() {
	return {
		eventName: "",
		params: {}
	};
}
const WebcastBarrageMessage_BarrageEvent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.eventName !== "") writer.uint32(10).string(message.eventName);
		globalThis.Object.entries(message.params).forEach(([key, value]) => {
			WebcastBarrageMessage_BarrageEvent_ParamsEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_BarrageEvent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.eventName = reader.string();
					continue;
				case 2: {
					if (tag !== 18) break;
					const entry2 = WebcastBarrageMessage_BarrageEvent_ParamsEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.params[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_BarrageEvent_ParamsEntry() {
	return {
		key: "",
		value: ""
	};
}
const WebcastBarrageMessage_BarrageEvent_ParamsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_BarrageEvent_ParamsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_BarrageTypeUserGradeParam() {
	return {
		currentGrade: 0,
		displayConfig: 0,
		userId: "",
		user: void 0
	};
}
const WebcastBarrageMessage_BarrageTypeUserGradeParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.currentGrade !== 0) writer.uint32(8).int32(message.currentGrade);
		if (message.displayConfig !== 0) writer.uint32(16).int32(message.displayConfig);
		if (message.userId !== "") writer.uint32(26).string(message.userId);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_BarrageTypeUserGradeParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.currentGrade = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayConfig = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_BarrageTypeFansLevelParam() {
	return {
		currentGrade: 0,
		displayConfig: 0,
		user: void 0
	};
}
const WebcastBarrageMessage_BarrageTypeFansLevelParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.currentGrade !== 0) writer.uint32(8).int32(message.currentGrade);
		if (message.displayConfig !== 0) writer.uint32(16).int32(message.displayConfig);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_BarrageTypeFansLevelParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.currentGrade = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayConfig = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_BarrageTypeSubscribeGiftParam() {
	return {
		giftSubCount: "0",
		showGiftSubCount: false
	};
}
const WebcastBarrageMessage_BarrageTypeSubscribeGiftParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSubCount !== "0") writer.uint32(8).int64(message.giftSubCount);
		if (message.showGiftSubCount !== false) writer.uint32(16).bool(message.showGiftSubCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_BarrageTypeSubscribeGiftParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSubCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.showGiftSubCount = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_AnimationData() {
	return {
		geckoChannelName: "",
		fileName: "",
		height: "0",
		width: "0",
		rightOffset: "0"
	};
}
const WebcastBarrageMessage_AnimationData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.geckoChannelName !== "") writer.uint32(10).string(message.geckoChannelName);
		if (message.fileName !== "") writer.uint32(18).string(message.fileName);
		if (message.height !== "0") writer.uint32(24).int64(message.height);
		if (message.width !== "0") writer.uint32(32).int64(message.width);
		if (message.rightOffset !== "0") writer.uint32(40).int64(message.rightOffset);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_AnimationData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.geckoChannelName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fileName = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.width = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.rightOffset = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_BarrageTypeGiftGalleryParam() {
	return {
		fromUserId: "0",
		toUserId: "0"
	};
}
const WebcastBarrageMessage_BarrageTypeGiftGalleryParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_BarrageTypeGiftGalleryParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_DisplayControl() {
	return {
		priority: 0,
		duration: "0",
		targetGroupShowRst: {},
		horizontalTriggerType: 0
	};
}
const WebcastBarrageMessage_DisplayControl = {
	encode(message, writer = new BinaryWriter()) {
		if (message.priority !== 0) writer.uint32(8).int32(message.priority);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		globalThis.Object.entries(message.targetGroupShowRst).forEach(([key, value]) => {
			WebcastBarrageMessage_DisplayControl_TargetGroupShowRstEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		if (message.horizontalTriggerType !== 0) writer.uint32(32).int32(message.horizontalTriggerType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_DisplayControl();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.priority = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = WebcastBarrageMessage_DisplayControl_TargetGroupShowRstEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.targetGroupShowRst[entry3.key] = entry3.value;
					continue;
				}
				case 4:
					if (tag !== 32) break;
					message.horizontalTriggerType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_DisplayControl_TargetGroupShowRstEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const WebcastBarrageMessage_DisplayControl_TargetGroupShowRstEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) WebcastBarrageMessage_DisplayControl_ShowResult.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_DisplayControl_TargetGroupShowRstEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = WebcastBarrageMessage_DisplayControl_ShowResult.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_DisplayControl_ShowResult() {
	return { banned: false };
}
const WebcastBarrageMessage_DisplayControl_ShowResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.banned !== false) writer.uint32(8).bool(message.banned);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_DisplayControl_ShowResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.banned = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage_RightLabel() {
	return {
		backgroundColor: "",
		content: void 0,
		height: "0"
	};
}
const WebcastBarrageMessage_RightLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.backgroundColor !== "") writer.uint32(10).string(message.backgroundColor);
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(18).fork()).join();
		if (message.height !== "0") writer.uint32(24).int64(message.height);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage_RightLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.backgroundColor = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProtoMessageFetchResult() {
	return {
		messages: [],
		cursor: "",
		fetchInterval: "0",
		now: "0",
		internalExt: "",
		fetchType: 0,
		wsParams: {},
		heartBeatDuration: 0,
		needsAck: false,
		wsUrl: "",
		isFirst: false,
		historyCommentCursor: "",
		historyNoMore: false
	};
}
const ProtoMessageFetchResult = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.messages) BaseProtoMessage.encode(v, writer.uint32(10).fork()).join();
		if (message.cursor !== "") writer.uint32(18).string(message.cursor);
		if (message.fetchInterval !== "0") writer.uint32(24).int64(message.fetchInterval);
		if (message.now !== "0") writer.uint32(32).int64(message.now);
		if (message.internalExt !== "") writer.uint32(42).string(message.internalExt);
		if (message.fetchType !== 0) writer.uint32(48).int32(message.fetchType);
		globalThis.Object.entries(message.wsParams).forEach(([key, value]) => {
			ProtoMessageFetchResult_WsParamsEntry.encode({
				key,
				value
			}, writer.uint32(58).fork()).join();
		});
		if (message.heartBeatDuration !== 0) writer.uint32(64).int32(message.heartBeatDuration);
		if (message.needsAck !== false) writer.uint32(72).bool(message.needsAck);
		if (message.wsUrl !== "") writer.uint32(82).string(message.wsUrl);
		if (message.isFirst !== false) writer.uint32(88).bool(message.isFirst);
		if (message.historyCommentCursor !== "") writer.uint32(98).string(message.historyCommentCursor);
		if (message.historyNoMore !== false) writer.uint32(104).bool(message.historyNoMore);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProtoMessageFetchResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.messages.push(BaseProtoMessage.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.cursor = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fetchInterval = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.now = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.internalExt = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.fetchType = reader.int32();
					continue;
				case 7: {
					if (tag !== 58) break;
					const entry7 = ProtoMessageFetchResult_WsParamsEntry.decode(reader, reader.uint32());
					if (entry7.value !== void 0) message.wsParams[entry7.key] = entry7.value;
					continue;
				}
				case 8:
					if (tag !== 64) break;
					message.heartBeatDuration = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.needsAck = reader.bool();
					continue;
				case 10:
					if (tag !== 82) break;
					message.wsUrl = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.isFirst = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.historyCommentCursor = reader.string();
					continue;
				case 13:
					if (tag !== 104) break;
					message.historyNoMore = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProtoMessageFetchResult_WsParamsEntry() {
	return {
		key: "",
		value: ""
	};
}
const ProtoMessageFetchResult_WsParamsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProtoMessageFetchResult_WsParamsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBaseProtoMessage() {
	return {
		type: "",
		payload: new Uint8Array(0),
		msgId: "0",
		msgType: 0,
		offset: "0",
		isHistory: false
	};
}
const BaseProtoMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== "") writer.uint32(10).string(message.type);
		if (message.payload.length !== 0) writer.uint32(18).bytes(message.payload);
		if (message.msgId !== "0") writer.uint32(24).int64(message.msgId);
		if (message.msgType !== 0) writer.uint32(32).int32(message.msgType);
		if (message.offset !== "0") writer.uint32(40).int64(message.offset);
		if (message.isHistory !== false) writer.uint32(48).bool(message.isHistory);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBaseProtoMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.type = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.payload = reader.bytes();
					continue;
				case 3:
					if (tag !== 24) break;
					message.msgId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.msgType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.offset = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isHistory = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomMessage() {
	return {
		common: void 0,
		content: "",
		supportLandscape: false,
		source: "0",
		icon: void 0,
		scene: 0,
		isWelcome: false,
		publicAreaCommon: void 0,
		showDurationMs: "0",
		subScene: ""
	};
}
const WebcastRoomMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.content !== "") writer.uint32(18).string(message.content);
		if (message.supportLandscape !== false) writer.uint32(24).bool(message.supportLandscape);
		if (message.source !== "0") writer.uint32(32).int64(message.source);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(42).fork()).join();
		if (message.scene !== 0) writer.uint32(48).int32(message.scene);
		if (message.isWelcome !== false) writer.uint32(56).bool(message.isWelcome);
		if (message.publicAreaCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaCommon, writer.uint32(66).fork()).join();
		if (message.showDurationMs !== "0") writer.uint32(72).int64(message.showDurationMs);
		if (message.subScene !== "") writer.uint32(82).string(message.subScene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.supportLandscape = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.source = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.scene = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isWelcome = reader.bool();
					continue;
				case 8:
					if (tag !== 66) break;
					message.publicAreaCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.showDurationMs = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.subScene = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastCaptionMessage() {
	return {
		common: void 0,
		timestampMs: "0",
		durationMs: "0",
		content: [],
		sentenceId: "0",
		sequenceId: "0",
		definite: false
	};
}
const WebcastCaptionMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.timestampMs !== "0") writer.uint32(16).int64(message.timestampMs);
		if (message.durationMs !== "0") writer.uint32(24).int64(message.durationMs);
		for (const v of message.content) WebcastCaptionMessage_CaptionContent.encode(v, writer.uint32(34).fork()).join();
		if (message.sentenceId !== "0") writer.uint32(40).int64(message.sentenceId);
		if (message.sequenceId !== "0") writer.uint32(48).int64(message.sequenceId);
		if (message.definite !== false) writer.uint32(56).bool(message.definite);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastCaptionMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.timestampMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.durationMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.content.push(WebcastCaptionMessage_CaptionContent.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 40) break;
					message.sentenceId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.sequenceId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.definite = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastCaptionMessage_CaptionContent() {
	return {
		lang: "",
		content: ""
	};
}
const WebcastCaptionMessage_CaptionContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.lang !== "") writer.uint32(10).string(message.lang);
		if (message.content !== "") writer.uint32(18).string(message.content);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastCaptionMessage_CaptionContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.lang = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastControlMessage() {
	return {
		common: void 0,
		action: 0,
		tips: "",
		extra: void 0,
		perceptionDialog: void 0,
		perceptionAudienceText: void 0,
		punishInfo: void 0,
		floatText: void 0,
		floatStyle: 0
	};
}
const WebcastControlMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.action !== 0) writer.uint32(16).int32(message.action);
		if (message.tips !== "") writer.uint32(26).string(message.tips);
		if (message.extra !== void 0) WebcastControlMessage_Extra.encode(message.extra, writer.uint32(34).fork()).join();
		if (message.perceptionDialog !== void 0) WebcastControlMessage_PerceptionDialogInfo.encode(message.perceptionDialog, writer.uint32(42).fork()).join();
		if (message.perceptionAudienceText !== void 0) Text.encode(message.perceptionAudienceText, writer.uint32(50).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(58).fork()).join();
		if (message.floatText !== void 0) Text.encode(message.floatText, writer.uint32(66).fork()).join();
		if (message.floatStyle !== 0) writer.uint32(72).int32(message.floatStyle);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastControlMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tips = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.extra = WebcastControlMessage_Extra.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.perceptionDialog = WebcastControlMessage_PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.perceptionAudienceText = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.floatText = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.floatStyle = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastControlMessage_Extra() {
	return {
		banInfoUrl: "",
		reasonNo: "0",
		title: void 0,
		violationReason: void 0,
		content: void 0,
		gotItButton: void 0,
		banDetailButton: void 0,
		source: ""
	};
}
const WebcastControlMessage_Extra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.banInfoUrl !== "") writer.uint32(10).string(message.banInfoUrl);
		if (message.reasonNo !== "0") writer.uint32(16).int64(message.reasonNo);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(26).fork()).join();
		if (message.violationReason !== void 0) Text.encode(message.violationReason, writer.uint32(34).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(42).fork()).join();
		if (message.gotItButton !== void 0) Text.encode(message.gotItButton, writer.uint32(50).fork()).join();
		if (message.banDetailButton !== void 0) Text.encode(message.banDetailButton, writer.uint32(58).fork()).join();
		if (message.source !== "") writer.uint32(66).string(message.source);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastControlMessage_Extra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.banInfoUrl = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.reasonNo = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.violationReason = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.gotItButton = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.banDetailButton = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.source = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastControlMessage_PerceptionDialogInfo() {
	return {
		iconType: 0,
		title: void 0,
		subTitle: void 0,
		adviceActionText: void 0,
		defaultActionText: void 0,
		violationDetailUrl: "",
		scene: 0,
		targetUserId: "0",
		targetRoomId: "0",
		countDownTime: "0",
		showFeedback: false,
		feedbackOptions: [],
		policyTip: "0",
		appealPopup: 0
	};
}
const WebcastControlMessage_PerceptionDialogInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iconType !== 0) writer.uint32(8).int32(message.iconType);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(18).fork()).join();
		if (message.subTitle !== void 0) Text.encode(message.subTitle, writer.uint32(26).fork()).join();
		if (message.adviceActionText !== void 0) Text.encode(message.adviceActionText, writer.uint32(34).fork()).join();
		if (message.defaultActionText !== void 0) Text.encode(message.defaultActionText, writer.uint32(42).fork()).join();
		if (message.violationDetailUrl !== "") writer.uint32(50).string(message.violationDetailUrl);
		if (message.scene !== 0) writer.uint32(56).int32(message.scene);
		if (message.targetUserId !== "0") writer.uint32(64).int64(message.targetUserId);
		if (message.targetRoomId !== "0") writer.uint32(72).int64(message.targetRoomId);
		if (message.countDownTime !== "0") writer.uint32(80).int64(message.countDownTime);
		if (message.showFeedback !== false) writer.uint32(88).bool(message.showFeedback);
		for (const v of message.feedbackOptions) WebcastControlMessage_PerceptionDialogInfo_PerceptionFeedbackOption.encode(v, writer.uint32(98).fork()).join();
		if (message.policyTip !== "0") writer.uint32(104).int64(message.policyTip);
		if (message.appealPopup !== 0) writer.uint32(112).int32(message.appealPopup);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastControlMessage_PerceptionDialogInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.iconType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.subTitle = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.adviceActionText = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.defaultActionText = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationDetailUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.scene = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.targetUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.targetRoomId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.countDownTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.showFeedback = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.feedbackOptions.push(WebcastControlMessage_PerceptionDialogInfo_PerceptionFeedbackOption.decode(reader, reader.uint32()));
					continue;
				case 13:
					if (tag !== 104) break;
					message.policyTip = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.appealPopup = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastControlMessage_PerceptionDialogInfo_PerceptionFeedbackOption() {
	return {
		id: "0",
		contentKey: ""
	};
}
const WebcastControlMessage_PerceptionDialogInfo_PerceptionFeedbackOption = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.contentKey !== "") writer.uint32(18).string(message.contentKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastControlMessage_PerceptionDialogInfo_PerceptionFeedbackOption();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.contentKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGoalUpdateMessage() {
	return {
		common: void 0,
		indicator: void 0,
		goal: void 0,
		contributorId: "0",
		contributorAvatar: void 0,
		contributorDisplayId: "",
		contributeSubgoal: void 0,
		contributeCount: "0",
		contributeScore: "0",
		giftRepeatCount: "0",
		contributorIdStr: "",
		pin: false,
		unpin: false,
		pinInfo: void 0,
		updateSource: 0,
		goalExtra: ""
	};
}
const WebcastGoalUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.indicator !== void 0) LiveStreamGoalIndicator.encode(message.indicator, writer.uint32(18).fork()).join();
		if (message.goal !== void 0) LiveStreamGoal.encode(message.goal, writer.uint32(26).fork()).join();
		if (message.contributorId !== "0") writer.uint32(32).int64(message.contributorId);
		if (message.contributorAvatar !== void 0) Image.encode(message.contributorAvatar, writer.uint32(42).fork()).join();
		if (message.contributorDisplayId !== "") writer.uint32(50).string(message.contributorDisplayId);
		if (message.contributeSubgoal !== void 0) WebcastGoalUpdateMessage_LiveStreamSubGoal.encode(message.contributeSubgoal, writer.uint32(58).fork()).join();
		if (message.contributeCount !== "0") writer.uint32(72).int64(message.contributeCount);
		if (message.contributeScore !== "0") writer.uint32(80).int64(message.contributeScore);
		if (message.giftRepeatCount !== "0") writer.uint32(88).int64(message.giftRepeatCount);
		if (message.contributorIdStr !== "") writer.uint32(98).string(message.contributorIdStr);
		if (message.pin !== false) writer.uint32(104).bool(message.pin);
		if (message.unpin !== false) writer.uint32(112).bool(message.unpin);
		if (message.pinInfo !== void 0) WebcastGoalUpdateMessage_GoalPinInfo.encode(message.pinInfo, writer.uint32(122).fork()).join();
		if (message.updateSource !== 0) writer.uint32(128).int32(message.updateSource);
		if (message.goalExtra !== "") writer.uint32(138).string(message.goalExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGoalUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.indicator = LiveStreamGoalIndicator.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.goal = LiveStreamGoal.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.contributorId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.contributorAvatar = Image.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.contributorDisplayId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.contributeSubgoal = WebcastGoalUpdateMessage_LiveStreamSubGoal.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.contributeCount = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.contributeScore = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.giftRepeatCount = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.contributorIdStr = reader.string();
					continue;
				case 13:
					if (tag !== 104) break;
					message.pin = reader.bool();
					continue;
				case 14:
					if (tag !== 112) break;
					message.unpin = reader.bool();
					continue;
				case 15:
					if (tag !== 122) break;
					message.pinInfo = WebcastGoalUpdateMessage_GoalPinInfo.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.updateSource = reader.int32();
					continue;
				case 17:
					if (tag !== 138) break;
					message.goalExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGoalUpdateMessage_LiveStreamSubGoal() {
	return {
		type: 0,
		id: "0",
		progress: "0",
		target: "0",
		gift: void 0,
		idStr: "",
		pinInfo: void 0,
		source: 0,
		recommendedText: "",
		recommendedCommon: ""
	};
}
const WebcastGoalUpdateMessage_LiveStreamSubGoal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.id !== "0") writer.uint32(16).int64(message.id);
		if (message.progress !== "0") writer.uint32(24).int64(message.progress);
		if (message.target !== "0") writer.uint32(32).int64(message.target);
		if (message.gift !== void 0) WebcastGoalUpdateMessage_LiveStreamSubGoal_LiveStreamSubGoalGift.encode(message.gift, writer.uint32(42).fork()).join();
		if (message.idStr !== "") writer.uint32(50).string(message.idStr);
		if (message.pinInfo !== void 0) WebcastGoalUpdateMessage_LiveStreamSubGoal_SubGoalPinInfo.encode(message.pinInfo, writer.uint32(58).fork()).join();
		if (message.source !== 0) writer.uint32(64).int32(message.source);
		if (message.recommendedText !== "") writer.uint32(74).string(message.recommendedText);
		if (message.recommendedCommon !== "") writer.uint32(82).string(message.recommendedCommon);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGoalUpdateMessage_LiveStreamSubGoal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.id = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.progress = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.target = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.gift = WebcastGoalUpdateMessage_LiveStreamSubGoal_LiveStreamSubGoalGift.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.idStr = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.pinInfo = WebcastGoalUpdateMessage_LiveStreamSubGoal_SubGoalPinInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.source = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.recommendedText = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.recommendedCommon = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGoalUpdateMessage_LiveStreamSubGoal_LiveStreamSubGoalGift() {
	return {
		name: "",
		icon: void 0,
		diamondCount: "0",
		type: 0
	};
}
const WebcastGoalUpdateMessage_LiveStreamSubGoal_LiveStreamSubGoalGift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.diamondCount !== "0") writer.uint32(24).int64(message.diamondCount);
		if (message.type !== 0) writer.uint32(32).int32(message.type);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGoalUpdateMessage_LiveStreamSubGoal_LiveStreamSubGoalGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.diamondCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.type = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGoalUpdateMessage_LiveStreamSubGoal_SubGoalPinInfo() {
	return {
		pinStartTime: "0",
		pinEndTime: "0",
		pinReadyTime: "0"
	};
}
const WebcastGoalUpdateMessage_LiveStreamSubGoal_SubGoalPinInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pinStartTime !== "0") writer.uint32(8).int64(message.pinStartTime);
		if (message.pinEndTime !== "0") writer.uint32(16).int64(message.pinEndTime);
		if (message.pinReadyTime !== "0") writer.uint32(24).int64(message.pinReadyTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGoalUpdateMessage_LiveStreamSubGoal_SubGoalPinInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.pinStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.pinEndTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pinReadyTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGoalUpdateMessage_GoalPinInfo() {
	return {
		pin: false,
		unpin: false,
		pinEndTime: "0",
		subGoalId: "0",
		subGoalIdStr: ""
	};
}
const WebcastGoalUpdateMessage_GoalPinInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pin !== false) writer.uint32(8).bool(message.pin);
		if (message.unpin !== false) writer.uint32(16).bool(message.unpin);
		if (message.pinEndTime !== "0") writer.uint32(24).int64(message.pinEndTime);
		if (message.subGoalId !== "0") writer.uint32(32).int64(message.subGoalId);
		if (message.subGoalIdStr !== "") writer.uint32(42).string(message.subGoalIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGoalUpdateMessage_GoalPinInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.pin = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.unpin = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pinEndTime = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.subGoalId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.subGoalIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastImDeleteMessage() {
	return {
		common: void 0,
		deleteMsgIdsList: [],
		deleteUserIdsList: []
	};
}
const WebcastImDeleteMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		writer.uint32(18).fork();
		for (const v of message.deleteMsgIdsList) writer.int64(v);
		writer.join();
		writer.uint32(26).fork();
		for (const v of message.deleteUserIdsList) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastImDeleteMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag === 16) {
						message.deleteMsgIdsList.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.deleteMsgIdsList.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag === 24) {
						message.deleteUserIdsList.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.deleteUserIdsList.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastInRoomBannerMessage() {
	return {
		common: void 0,
		jsonData: ""
	};
}
const WebcastInRoomBannerMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.jsonData !== "") writer.uint32(18).string(message.jsonData);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastInRoomBannerMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.jsonData = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankUpdateMessage() {
	return {
		common: void 0,
		updatesList: [],
		groupType: "0",
		priority: "0",
		tabsList: [],
		isAnimationLoopPlay: false,
		animationLoopForOff: false,
		unionAnimation: [],
		tabInfo: []
	};
}
const WebcastRankUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		for (const v of message.updatesList) WebcastRankUpdateMessage_RankUpdate.encode(v, writer.uint32(18).fork()).join();
		if (message.groupType !== "0") writer.uint32(24).int64(message.groupType);
		if (message.priority !== "0") writer.uint32(40).int64(message.priority);
		for (const v of message.tabsList) WebcastRankUpdateMessage_RankTabInfo.encode(v, writer.uint32(50).fork()).join();
		if (message.isAnimationLoopPlay !== false) writer.uint32(56).bool(message.isAnimationLoopPlay);
		if (message.animationLoopForOff !== false) writer.uint32(64).bool(message.animationLoopForOff);
		for (const v of message.unionAnimation) WebcastRankUpdateMessage_UnionAnimationInfo.encode(v, writer.uint32(74).fork()).join();
		for (const v of message.tabInfo) WebcastRankUpdateMessage_RankListTabInfo.encode(v, writer.uint32(82).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.updatesList.push(WebcastRankUpdateMessage_RankUpdate.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.groupType = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.priority = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.tabsList.push(WebcastRankUpdateMessage_RankTabInfo.decode(reader, reader.uint32()));
					continue;
				case 7:
					if (tag !== 56) break;
					message.isAnimationLoopPlay = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.animationLoopForOff = reader.bool();
					continue;
				case 9:
					if (tag !== 74) break;
					message.unionAnimation.push(WebcastRankUpdateMessage_UnionAnimationInfo.decode(reader, reader.uint32()));
					continue;
				case 10:
					if (tag !== 82) break;
					message.tabInfo.push(WebcastRankUpdateMessage_RankListTabInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankUpdateMessage_UnionAnimationInfo() {
	return {
		unionType: 0,
		rankTypeArray: 0,
		supportedVersion: "0"
	};
}
const WebcastRankUpdateMessage_UnionAnimationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.unionType !== 0) writer.uint32(8).int32(message.unionType);
		if (message.rankTypeArray !== 0) writer.uint32(16).int32(message.rankTypeArray);
		if (message.supportedVersion !== "0") writer.uint32(24).int64(message.supportedVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankUpdateMessage_UnionAnimationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.unionType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.rankTypeArray = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.supportedVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankUpdateMessage_RankListTabInfo() {
	return {
		tabs: [],
		supportedVersion: "0"
	};
}
const WebcastRankUpdateMessage_RankListTabInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.tabs) WebcastRankUpdateMessage_RankTabInfo.encode(v, writer.uint32(10).fork()).join();
		if (message.supportedVersion !== "0") writer.uint32(16).int64(message.supportedVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankUpdateMessage_RankListTabInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tabs.push(WebcastRankUpdateMessage_RankTabInfo.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.supportedVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankUpdateMessage_RankTabInfo() {
	return {
		rankType: 0,
		title: "",
		titleText: void 0,
		listLynxType: "0"
	};
}
const WebcastRankUpdateMessage_RankTabInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== 0) writer.uint32(8).int32(message.rankType);
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.titleText !== void 0) Text.encode(message.titleText, writer.uint32(26).fork()).join();
		if (message.listLynxType !== "0") writer.uint32(32).int64(message.listLynxType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankUpdateMessage_RankTabInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.rankType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.titleText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.listLynxType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankUpdateMessage_RankUpdate() {
	return {
		rankType: "0",
		ownerRank: "0",
		defaultContent: void 0,
		showEntranceAnimation: false,
		countdown: "0",
		relatedTabRankType: "0",
		requestFirstShowType: "0",
		supportedVersion: "0",
		owneronrank: false
	};
}
const WebcastRankUpdateMessage_RankUpdate = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== "0") writer.uint32(8).int64(message.rankType);
		if (message.ownerRank !== "0") writer.uint32(16).int64(message.ownerRank);
		if (message.defaultContent !== void 0) Text.encode(message.defaultContent, writer.uint32(26).fork()).join();
		if (message.showEntranceAnimation !== false) writer.uint32(40).bool(message.showEntranceAnimation);
		if (message.countdown !== "0") writer.uint32(48).int64(message.countdown);
		if (message.relatedTabRankType !== "0") writer.uint32(64).int64(message.relatedTabRankType);
		if (message.requestFirstShowType !== "0") writer.uint32(72).int64(message.requestFirstShowType);
		if (message.supportedVersion !== "0") writer.uint32(80).int64(message.supportedVersion);
		if (message.owneronrank !== false) writer.uint32(88).bool(message.owneronrank);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankUpdateMessage_RankUpdate();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.rankType = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.ownerRank = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.defaultContent = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.showEntranceAnimation = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.countdown = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.relatedTabRankType = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.requestFirstShowType = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.supportedVersion = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.owneronrank = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPollMessage() {
	return {
		common: void 0,
		messageType: 0,
		pollId: "0",
		startContent: void 0,
		endContent: void 0,
		updateContent: void 0,
		pollKind: 0,
		pollBasicInfo: void 0,
		templateContent: void 0
	};
}
const WebcastPollMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== 0) writer.uint32(16).int32(message.messageType);
		if (message.pollId !== "0") writer.uint32(24).int64(message.pollId);
		if (message.startContent !== void 0) PollStartContent.encode(message.startContent, writer.uint32(34).fork()).join();
		if (message.endContent !== void 0) PollEndContent.encode(message.endContent, writer.uint32(42).fork()).join();
		if (message.updateContent !== void 0) PollUpdateVotesContent.encode(message.updateContent, writer.uint32(50).fork()).join();
		if (message.pollKind !== 0) writer.uint32(56).int32(message.pollKind);
		if (message.pollBasicInfo !== void 0) WebcastPollMessage_PollBasicInfo.encode(message.pollBasicInfo, writer.uint32(66).fork()).join();
		if (message.templateContent !== void 0) WebcastPollMessage_TemplateContent.encode(message.templateContent, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPollMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pollId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.startContent = PollStartContent.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.endContent = PollEndContent.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.updateContent = PollUpdateVotesContent.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.pollKind = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.pollBasicInfo = WebcastPollMessage_PollBasicInfo.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.templateContent = WebcastPollMessage_TemplateContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPollMessage_TemplateContent() {
	return {
		templateId: "0",
		templateIdStr: "",
		status: 0,
		pollKind: 0,
		appealStatus: 0,
		violationIdStr: ""
	};
}
const WebcastPollMessage_TemplateContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.templateId !== "0") writer.uint32(8).int64(message.templateId);
		if (message.templateIdStr !== "") writer.uint32(18).string(message.templateIdStr);
		if (message.status !== 0) writer.uint32(24).int32(message.status);
		if (message.pollKind !== 0) writer.uint32(32).int32(message.pollKind);
		if (message.appealStatus !== 0) writer.uint32(40).int32(message.appealStatus);
		if (message.violationIdStr !== "") writer.uint32(50).string(message.violationIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPollMessage_TemplateContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.templateId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.templateIdStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.status = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.pollKind = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.appealStatus = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPollMessage_PollBasicInfo() {
	return {
		pollSponsor: "",
		giftId: "0",
		title: "",
		isSuggestedQuestion: false,
		userCnt: "0",
		gift: void 0,
		pollIdStr: "",
		suggestedQuestionKey: "",
		pollDuration: "0",
		timeRemain: "0",
		pollIndex: "0",
		templateId: "0"
	};
}
const WebcastPollMessage_PollBasicInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pollSponsor !== "") writer.uint32(10).string(message.pollSponsor);
		if (message.giftId !== "0") writer.uint32(16).int64(message.giftId);
		if (message.title !== "") writer.uint32(26).string(message.title);
		if (message.isSuggestedQuestion !== false) writer.uint32(32).bool(message.isSuggestedQuestion);
		if (message.userCnt !== "0") writer.uint32(40).int64(message.userCnt);
		if (message.gift !== void 0) Gift.encode(message.gift, writer.uint32(50).fork()).join();
		if (message.pollIdStr !== "") writer.uint32(58).string(message.pollIdStr);
		if (message.suggestedQuestionKey !== "") writer.uint32(66).string(message.suggestedQuestionKey);
		if (message.pollDuration !== "0") writer.uint32(72).int64(message.pollDuration);
		if (message.timeRemain !== "0") writer.uint32(80).int64(message.timeRemain);
		if (message.pollIndex !== "0") writer.uint32(88).int64(message.pollIndex);
		if (message.templateId !== "0") writer.uint32(96).int64(message.templateId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPollMessage_PollBasicInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.pollSponsor = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.title = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isSuggestedQuestion = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.userCnt = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.gift = Gift.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.pollIdStr = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.suggestedQuestionKey = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.pollDuration = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.timeRemain = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.pollIndex = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.templateId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankTextMessage() {
	return {
		common: void 0,
		scene: 0,
		ownerIdxBeforeUpdate: "0",
		ownerIdxAfterUpdate: "0",
		selfGetBadgeMsg: void 0,
		otherGetBadgeMsg: void 0,
		curUserId: "0"
	};
}
const WebcastRankTextMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.scene !== 0) writer.uint32(16).int32(message.scene);
		if (message.ownerIdxBeforeUpdate !== "0") writer.uint32(24).int64(message.ownerIdxBeforeUpdate);
		if (message.ownerIdxAfterUpdate !== "0") writer.uint32(32).int64(message.ownerIdxAfterUpdate);
		if (message.selfGetBadgeMsg !== void 0) Text.encode(message.selfGetBadgeMsg, writer.uint32(42).fork()).join();
		if (message.otherGetBadgeMsg !== void 0) Text.encode(message.otherGetBadgeMsg, writer.uint32(50).fork()).join();
		if (message.curUserId !== "0") writer.uint32(56).int64(message.curUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankTextMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.scene = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.ownerIdxBeforeUpdate = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.ownerIdxAfterUpdate = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.selfGetBadgeMsg = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.otherGetBadgeMsg = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.curUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattlePunishFinish() {
	return {
		common: void 0,
		channelId: "0",
		opUid: "0",
		reason: 0,
		battleId: "0",
		battleSettings: void 0
	};
}
const WebcastLinkMicBattlePunishFinish = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.channelId !== "0") writer.uint32(16).int64(message.channelId);
		if (message.opUid !== "0") writer.uint32(24).int64(message.opUid);
		if (message.reason !== 0) writer.uint32(32).int32(message.reason);
		if (message.battleId !== "0") writer.uint32(40).int64(message.battleId);
		if (message.battleSettings !== void 0) BattleSetting.encode(message.battleSettings, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattlePunishFinish();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.channelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.opUid = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.reason = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.battleId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.battleSettings = BattleSetting.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage() {
	return {
		common: void 0,
		battleTaskMessageType: 0,
		taskStart: void 0,
		taskUpdate: void 0,
		taskSettle: void 0,
		rewardSettle: void 0,
		battleId: "0"
	};
}
const WebcastLinkmicBattleTaskMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.battleTaskMessageType !== 0) writer.uint32(16).int32(message.battleTaskMessageType);
		if (message.taskStart !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskStart.encode(message.taskStart, writer.uint32(26).fork()).join();
		if (message.taskUpdate !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskUpdate.encode(message.taskUpdate, writer.uint32(34).fork()).join();
		if (message.taskSettle !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskSettle.encode(message.taskSettle, writer.uint32(42).fork()).join();
		if (message.rewardSettle !== void 0) WebcastLinkmicBattleTaskMessage_BattleRewardSettle.encode(message.rewardSettle, writer.uint32(50).fork()).join();
		if (message.battleId !== "0") writer.uint32(160).int64(message.battleId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.battleTaskMessageType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.taskStart = WebcastLinkmicBattleTaskMessage_BattleTaskStart.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.taskUpdate = WebcastLinkmicBattleTaskMessage_BattleTaskUpdate.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.taskSettle = WebcastLinkmicBattleTaskMessage_BattleTaskSettle.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.rewardSettle = WebcastLinkmicBattleTaskMessage_BattleRewardSettle.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.battleId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattlePrompt() {
	return {
		promptKey: "",
		promptElements: []
	};
}
const WebcastLinkmicBattleTaskMessage_BattlePrompt = {
	encode(message, writer = new BinaryWriter()) {
		if (message.promptKey !== "") writer.uint32(10).string(message.promptKey);
		for (const v of message.promptElements) WebcastLinkmicBattleTaskMessage_BattlePrompt_BattlePromptElem.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattlePrompt();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.promptKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.promptElements.push(WebcastLinkmicBattleTaskMessage_BattlePrompt_BattlePromptElem.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattlePrompt_BattlePromptElem() {
	return {
		promptFieldKey: "",
		promptFieldValue: ""
	};
}
const WebcastLinkmicBattleTaskMessage_BattlePrompt_BattlePromptElem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.promptFieldKey !== "") writer.uint32(10).string(message.promptFieldKey);
		if (message.promptFieldValue !== "") writer.uint32(18).string(message.promptFieldValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattlePrompt_BattlePromptElem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.promptFieldKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.promptFieldValue = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart() {
	return { battleBonusConfig: void 0 };
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart = {
	encode(message, writer = new BinaryWriter()) {
		if (message.battleBonusConfig !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig.encode(message.battleBonusConfig, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.battleBonusConfig = WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig() {
	return {
		previewStartTime: "0",
		previewPeriodConfig: [],
		taskPeriodConfig: void 0,
		rewardPeriodConfig: void 0,
		taskGiftGuide: {},
		previewStartTimestamp: "0",
		previewClickActionSchemaUrl: ""
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.previewStartTime !== "0") writer.uint32(8).int64(message.previewStartTime);
		for (const v of message.previewPeriodConfig) WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_PreviewPeriod.encode(v, writer.uint32(18).fork()).join();
		if (message.taskPeriodConfig !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskPeriodConfig.encode(message.taskPeriodConfig, writer.uint32(26).fork()).join();
		if (message.rewardPeriodConfig !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_RewardPeriodConfig.encode(message.rewardPeriodConfig, writer.uint32(34).fork()).join();
		globalThis.Object.entries(message.taskGiftGuide).forEach(([key, value]) => {
			WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskGiftGuideEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.previewStartTimestamp !== "0") writer.uint32(48).int64(message.previewStartTimestamp);
		if (message.previewClickActionSchemaUrl !== "") writer.uint32(58).string(message.previewClickActionSchemaUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.previewStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.previewPeriodConfig.push(WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_PreviewPeriod.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.taskPeriodConfig = WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskPeriodConfig.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.rewardPeriodConfig = WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_RewardPeriodConfig.decode(reader, reader.uint32());
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskGiftGuideEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.taskGiftGuide[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 48) break;
					message.previewStartTimestamp = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.previewClickActionSchemaUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskGiftGuideEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskGiftGuideEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_BattleTaskGiftAmountGuide.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskGiftGuideEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_BattleTaskGiftAmountGuide.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_PreviewPeriod() {
	return {
		duration: "0",
		promot: void 0,
		icon: void 0
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_PreviewPeriod = {
	encode(message, writer = new BinaryWriter()) {
		if (message.duration !== "0") writer.uint32(8).int64(message.duration);
		if (message.promot !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.promot, writer.uint32(18).fork()).join();
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(202).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_PreviewPeriod();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.duration = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.promot = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 202) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskPeriodConfig() {
	return {
		taskStartTime: "0",
		duration: "0",
		targetStartTimestamp: "0",
		clickAction: 0,
		clickToastPrompt: void 0,
		promptType: 0,
		taskStaticPrompt: void 0,
		progressTarget: "0",
		targetType: 0,
		icon: void 0,
		clickActionSchemaUrl: ""
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskPeriodConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.taskStartTime !== "0") writer.uint32(8).int64(message.taskStartTime);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		if (message.targetStartTimestamp !== "0") writer.uint32(24).int64(message.targetStartTimestamp);
		if (message.clickAction !== 0) writer.uint32(88).int32(message.clickAction);
		if (message.clickToastPrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.clickToastPrompt, writer.uint32(98).fork()).join();
		if (message.promptType !== 0) writer.uint32(168).int32(message.promptType);
		if (message.taskStaticPrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.taskStaticPrompt, writer.uint32(178).fork()).join();
		if (message.progressTarget !== "0") writer.uint32(184).int64(message.progressTarget);
		if (message.targetType !== 0) writer.uint32(192).int32(message.targetType);
		if (message.icon !== void 0) Image.encode(message.icon, writer.uint32(202).fork()).join();
		if (message.clickActionSchemaUrl !== "") writer.uint32(210).string(message.clickActionSchemaUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskPeriodConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.taskStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.targetStartTimestamp = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.clickAction = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.clickToastPrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.promptType = reader.int32();
					continue;
				case 22:
					if (tag !== 178) break;
					message.taskStaticPrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 184) break;
					message.progressTarget = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 192) break;
					message.targetType = reader.int32();
					continue;
				case 25:
					if (tag !== 202) break;
					message.icon = Image.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 210) break;
					message.clickActionSchemaUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_RewardPeriodConfig() {
	return {
		rewardStartTime: "0",
		duration: "0",
		rewardMultiple: 0,
		rewardStartTimestamp: "0",
		rewardPraparePrompt: void 0,
		rewardingPrompt: void 0,
		clickPrompt: void 0
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_RewardPeriodConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rewardStartTime !== "0") writer.uint32(8).int64(message.rewardStartTime);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		if (message.rewardMultiple !== 0) writer.uint32(24).int32(message.rewardMultiple);
		if (message.rewardStartTimestamp !== "0") writer.uint32(32).int64(message.rewardStartTimestamp);
		if (message.rewardPraparePrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.rewardPraparePrompt, writer.uint32(90).fork()).join();
		if (message.rewardingPrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.rewardingPrompt, writer.uint32(98).fork()).join();
		if (message.clickPrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.clickPrompt, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_RewardPeriodConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.rewardStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.rewardMultiple = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rewardStartTimestamp = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.rewardPraparePrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.rewardingPrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.clickPrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_BattleTaskGiftAmountGuide() {
	return {
		guidePrompt: void 0,
		promptType: 0,
		disappearDuration: 0,
		iconImage: void 0,
		giftImage: void 0,
		recommendGiftId: "0",
		recommendGiftCount: 0,
		guideContent: void 0
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_BattleTaskGiftAmountGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.guidePrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.guidePrompt, writer.uint32(10).fork()).join();
		if (message.promptType !== 0) writer.uint32(16).int32(message.promptType);
		if (message.disappearDuration !== 0) writer.uint32(24).int32(message.disappearDuration);
		if (message.iconImage !== void 0) Image.encode(message.iconImage, writer.uint32(90).fork()).join();
		if (message.giftImage !== void 0) Image.encode(message.giftImage, writer.uint32(98).fork()).join();
		if (message.recommendGiftId !== "0") writer.uint32(168).int64(message.recommendGiftId);
		if (message.recommendGiftCount !== 0) writer.uint32(176).int32(message.recommendGiftCount);
		if (message.guideContent !== void 0) Text.encode(message.guideContent, writer.uint32(186).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_BattleTaskGiftAmountGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.guidePrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.promptType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.disappearDuration = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.iconImage = Image.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.giftImage = Image.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.recommendGiftId = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 176) break;
					message.recommendGiftCount = reader.int32();
					continue;
				case 23:
					if (tag !== 186) break;
					message.guideContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskUpdate() {
	return {
		taskProgress: "0",
		fromUserUid: "0",
		promptKey: "",
		logId: ""
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskUpdate = {
	encode(message, writer = new BinaryWriter()) {
		if (message.taskProgress !== "0") writer.uint32(8).int64(message.taskProgress);
		if (message.fromUserUid !== "0") writer.uint32(16).int64(message.fromUserUid);
		if (message.promptKey !== "") writer.uint32(26).string(message.promptKey);
		if (message.logId !== "") writer.uint32(170).string(message.logId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskUpdate();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.taskProgress = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromUserUid = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.promptKey = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.logId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleTaskSettle() {
	return {
		taskResult: 0,
		rewardStartTime: "0",
		rewardStartTimestamp: "0"
	};
}
const WebcastLinkmicBattleTaskMessage_BattleTaskSettle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.taskResult !== 0) writer.uint32(8).int32(message.taskResult);
		if (message.rewardStartTime !== "0") writer.uint32(16).int64(message.rewardStartTime);
		if (message.rewardStartTimestamp !== "0") writer.uint32(24).int64(message.rewardStartTimestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleTaskSettle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.taskResult = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.rewardStartTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.rewardStartTimestamp = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage_BattleRewardSettle() {
	return {
		rewardSettlePrompt: void 0,
		status: 0
	};
}
const WebcastLinkmicBattleTaskMessage_BattleRewardSettle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rewardSettlePrompt !== void 0) WebcastLinkmicBattleTaskMessage_BattlePrompt.encode(message.rewardSettlePrompt, writer.uint32(10).fork()).join();
		if (message.status !== 0) writer.uint32(16).int32(message.status);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage_BattleRewardSettle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rewardSettlePrompt = WebcastLinkmicBattleTaskMessage_BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.status = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicFanTicketMethod() {
	return {
		common: void 0,
		FanTicketRoomNotice: void 0
	};
}
const WebcastLinkMicFanTicketMethod = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.FanTicketRoomNotice !== void 0) FanTicketRoomNoticeContent.encode(message.FanTicketRoomNotice, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicFanTicketMethod();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.FanTicketRoomNotice = FanTicketRoomNoticeContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicMethod() {
	return {
		common: void 0,
		messageType: 0,
		accessKey: "",
		anchorLinkmicId: "0",
		userId: "0",
		fanTicket: "0",
		totalLinkMicFanTicket: "0",
		channelId: "0",
		layout: "0",
		vendor: "0",
		dimension: "0",
		theme: "",
		inviteUid: "0",
		reply: 0,
		duration: 0,
		matchType: 0,
		win: false,
		prompts: "",
		toUserId: "0",
		tips: "",
		startTimeMs: "0",
		confluenceType: 0,
		fromRoomId: "0",
		inviteType: 0,
		subType: "0",
		rtcExtInfo: "",
		appId: "",
		appSign: "",
		anchorLinkMicIdStr: "",
		rivalAnchorId: "0",
		rivalLinkmicId: 0,
		rivalLinkmicIdStr: "",
		shouldShowPopup: false,
		rtcJoinChannel: false,
		fanTicketType: 0
	};
}
const WebcastLinkMicMethod = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== 0) writer.uint32(16).int32(message.messageType);
		if (message.accessKey !== "") writer.uint32(26).string(message.accessKey);
		if (message.anchorLinkmicId !== "0") writer.uint32(32).int64(message.anchorLinkmicId);
		if (message.userId !== "0") writer.uint32(40).int64(message.userId);
		if (message.fanTicket !== "0") writer.uint32(48).int64(message.fanTicket);
		if (message.totalLinkMicFanTicket !== "0") writer.uint32(56).int64(message.totalLinkMicFanTicket);
		if (message.channelId !== "0") writer.uint32(64).int64(message.channelId);
		if (message.layout !== "0") writer.uint32(72).int64(message.layout);
		if (message.vendor !== "0") writer.uint32(80).int64(message.vendor);
		if (message.dimension !== "0") writer.uint32(88).int64(message.dimension);
		if (message.theme !== "") writer.uint32(98).string(message.theme);
		if (message.inviteUid !== "0") writer.uint32(104).int64(message.inviteUid);
		if (message.reply !== 0) writer.uint32(112).int32(message.reply);
		if (message.duration !== 0) writer.uint32(128).int32(message.duration);
		if (message.matchType !== 0) writer.uint32(144).int32(message.matchType);
		if (message.win !== false) writer.uint32(152).bool(message.win);
		if (message.prompts !== "") writer.uint32(162).string(message.prompts);
		if (message.toUserId !== "0") writer.uint32(168).int64(message.toUserId);
		if (message.tips !== "") writer.uint32(202).string(message.tips);
		if (message.startTimeMs !== "0") writer.uint32(208).int64(message.startTimeMs);
		if (message.confluenceType !== 0) writer.uint32(216).int32(message.confluenceType);
		if (message.fromRoomId !== "0") writer.uint32(224).int64(message.fromRoomId);
		if (message.inviteType !== 0) writer.uint32(232).int32(message.inviteType);
		if (message.subType !== "0") writer.uint32(240).int64(message.subType);
		if (message.rtcExtInfo !== "") writer.uint32(258).string(message.rtcExtInfo);
		if (message.appId !== "") writer.uint32(274).string(message.appId);
		if (message.appSign !== "") writer.uint32(282).string(message.appSign);
		if (message.anchorLinkMicIdStr !== "") writer.uint32(298).string(message.anchorLinkMicIdStr);
		if (message.rivalAnchorId !== "0") writer.uint32(304).int64(message.rivalAnchorId);
		if (message.rivalLinkmicId !== 0) writer.uint32(312).int32(message.rivalLinkmicId);
		if (message.rivalLinkmicIdStr !== "") writer.uint32(322).string(message.rivalLinkmicIdStr);
		if (message.shouldShowPopup !== false) writer.uint32(328).bool(message.shouldShowPopup);
		if (message.rtcJoinChannel !== false) writer.uint32(408).bool(message.rtcJoinChannel);
		if (message.fanTicketType !== 0) writer.uint32(416).int32(message.fanTicketType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicMethod();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.accessKey = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.anchorLinkmicId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.userId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.fanTicket = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.totalLinkMicFanTicket = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.channelId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.layout = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.vendor = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.dimension = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.theme = reader.string();
					continue;
				case 13:
					if (tag !== 104) break;
					message.inviteUid = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.reply = reader.int32();
					continue;
				case 16:
					if (tag !== 128) break;
					message.duration = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.matchType = reader.int32();
					continue;
				case 19:
					if (tag !== 152) break;
					message.win = reader.bool();
					continue;
				case 20:
					if (tag !== 162) break;
					message.prompts = reader.string();
					continue;
				case 21:
					if (tag !== 168) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 25:
					if (tag !== 202) break;
					message.tips = reader.string();
					continue;
				case 26:
					if (tag !== 208) break;
					message.startTimeMs = reader.int64().toString();
					continue;
				case 27:
					if (tag !== 216) break;
					message.confluenceType = reader.int32();
					continue;
				case 28:
					if (tag !== 224) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 29:
					if (tag !== 232) break;
					message.inviteType = reader.int32();
					continue;
				case 30:
					if (tag !== 240) break;
					message.subType = reader.int64().toString();
					continue;
				case 32:
					if (tag !== 258) break;
					message.rtcExtInfo = reader.string();
					continue;
				case 34:
					if (tag !== 274) break;
					message.appId = reader.string();
					continue;
				case 35:
					if (tag !== 282) break;
					message.appSign = reader.string();
					continue;
				case 37:
					if (tag !== 298) break;
					message.anchorLinkMicIdStr = reader.string();
					continue;
				case 38:
					if (tag !== 304) break;
					message.rivalAnchorId = reader.int64().toString();
					continue;
				case 39:
					if (tag !== 312) break;
					message.rivalLinkmicId = reader.int32();
					continue;
				case 40:
					if (tag !== 322) break;
					message.rivalLinkmicIdStr = reader.string();
					continue;
				case 41:
					if (tag !== 328) break;
					message.shouldShowPopup = reader.bool();
					continue;
				case 51:
					if (tag !== 408) break;
					message.rtcJoinChannel = reader.bool();
					continue;
				case 52:
					if (tag !== 416) break;
					message.fanTicketType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastUnauthorizedMemberMessage() {
	return {
		common: void 0,
		action: 0,
		nickNamePrefix: void 0,
		nickName: "",
		enterText: void 0,
		publicAreaCommon: void 0
	};
}
const WebcastUnauthorizedMemberMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.action !== 0) writer.uint32(16).int32(message.action);
		if (message.nickNamePrefix !== void 0) Text.encode(message.nickNamePrefix, writer.uint32(26).fork()).join();
		if (message.nickName !== "") writer.uint32(34).string(message.nickName);
		if (message.enterText !== void 0) Text.encode(message.enterText, writer.uint32(42).fork()).join();
		if (message.publicAreaCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaCommon, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastUnauthorizedMemberMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickNamePrefix = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.nickName = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.enterText = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.publicAreaCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMsgDetectMessage() {
	return {
		common: void 0,
		detectType: 0,
		triggerCondition: void 0,
		timeInfo: void 0,
		triggerBy: 0,
		fromRegion: ""
	};
}
const WebcastMsgDetectMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.detectType !== 0) writer.uint32(16).int32(message.detectType);
		if (message.triggerCondition !== void 0) WebcastMsgDetectMessage_TriggerCondition.encode(message.triggerCondition, writer.uint32(26).fork()).join();
		if (message.timeInfo !== void 0) WebcastMsgDetectMessage_TimeInfo.encode(message.timeInfo, writer.uint32(34).fork()).join();
		if (message.triggerBy !== 0) writer.uint32(40).int32(message.triggerBy);
		if (message.fromRegion !== "") writer.uint32(50).string(message.fromRegion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMsgDetectMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.detectType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.triggerCondition = WebcastMsgDetectMessage_TriggerCondition.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.timeInfo = WebcastMsgDetectMessage_TimeInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.triggerBy = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.fromRegion = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMsgDetectMessage_TimeInfo() {
	return {
		clientStartMs: "0",
		apiRecvTimeMs: "0",
		apiSendToGoimMs: "0"
	};
}
const WebcastMsgDetectMessage_TimeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.clientStartMs !== "0") writer.uint32(8).int64(message.clientStartMs);
		if (message.apiRecvTimeMs !== "0") writer.uint32(16).int64(message.apiRecvTimeMs);
		if (message.apiSendToGoimMs !== "0") writer.uint32(24).int64(message.apiSendToGoimMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMsgDetectMessage_TimeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.clientStartMs = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.apiRecvTimeMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.apiSendToGoimMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMsgDetectMessage_TriggerCondition() {
	return {
		uplinkDetectHttp: false,
		uplinkDetectWebSocket: false,
		detectP2PMsg: false,
		detectRoomMsg: false,
		httpOptimize: false
	};
}
const WebcastMsgDetectMessage_TriggerCondition = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uplinkDetectHttp !== false) writer.uint32(8).bool(message.uplinkDetectHttp);
		if (message.uplinkDetectWebSocket !== false) writer.uint32(16).bool(message.uplinkDetectWebSocket);
		if (message.detectP2PMsg !== false) writer.uint32(24).bool(message.detectP2PMsg);
		if (message.detectRoomMsg !== false) writer.uint32(32).bool(message.detectRoomMsg);
		if (message.httpOptimize !== false) writer.uint32(40).bool(message.httpOptimize);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMsgDetectMessage_TriggerCondition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.uplinkDetectHttp = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.uplinkDetectWebSocket = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.detectP2PMsg = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.detectRoomMsg = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.httpOptimize = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastOecLiveShoppingMessage() {
	return {
		common: void 0,
		data1: 0,
		shopData: void 0,
		shopTimings: void 0,
		details: void 0
	};
}
const WebcastOecLiveShoppingMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.data1 !== 0) writer.uint32(16).uint32(message.data1);
		if (message.shopData !== void 0) WebcastOecLiveShoppingMessage_LiveShoppingData.encode(message.shopData, writer.uint32(34).fork()).join();
		if (message.shopTimings !== void 0) TimeStampContainer.encode(message.shopTimings, writer.uint32(42).fork()).join();
		if (message.details !== void 0) WebcastOecLiveShoppingMessage_LiveShoppingDetails.encode(message.details, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastOecLiveShoppingMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.data1 = reader.uint32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.shopData = WebcastOecLiveShoppingMessage_LiveShoppingData.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.shopTimings = TimeStampContainer.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.details = WebcastOecLiveShoppingMessage_LiveShoppingDetails.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastOecLiveShoppingMessage_LiveShoppingData() {
	return {
		title: "",
		priceString: "",
		imageUrl: "",
		shopUrl: "",
		data1: "0",
		shopName: "",
		data2: "0",
		shopUrl2: "",
		data3: "0",
		data4: "0"
	};
}
const WebcastOecLiveShoppingMessage_LiveShoppingData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.title !== "") writer.uint32(10).string(message.title);
		if (message.priceString !== "") writer.uint32(18).string(message.priceString);
		if (message.imageUrl !== "") writer.uint32(26).string(message.imageUrl);
		if (message.shopUrl !== "") writer.uint32(34).string(message.shopUrl);
		if (message.data1 !== "0") writer.uint32(48).uint64(message.data1);
		if (message.shopName !== "") writer.uint32(58).string(message.shopName);
		if (message.data2 !== "0") writer.uint32(64).uint64(message.data2);
		if (message.shopUrl2 !== "") writer.uint32(74).string(message.shopUrl2);
		if (message.data3 !== "0") writer.uint32(80).uint64(message.data3);
		if (message.data4 !== "0") writer.uint32(88).uint64(message.data4);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastOecLiveShoppingMessage_LiveShoppingData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.title = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.priceString = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.imageUrl = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.shopUrl = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.data1 = reader.uint64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.shopName = reader.string();
					continue;
				case 8:
					if (tag !== 64) break;
					message.data2 = reader.uint64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.shopUrl2 = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.data3 = reader.uint64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.data4 = reader.uint64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastOecLiveShoppingMessage_LiveShoppingDetails() {
	return {
		id1: "",
		data1: "",
		data2: 0,
		timestamp: "0",
		data: void 0
	};
}
const WebcastOecLiveShoppingMessage_LiveShoppingDetails = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id1 !== "") writer.uint32(10).string(message.id1);
		if (message.data1 !== "") writer.uint32(26).string(message.data1);
		if (message.data2 !== 0) writer.uint32(32).uint32(message.data2);
		if (message.timestamp !== "0") writer.uint32(40).uint64(message.timestamp);
		if (message.data !== void 0) ValueLabel.encode(message.data, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastOecLiveShoppingMessage_LiveShoppingDetails();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.id1 = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.data1 = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.data2 = reader.uint32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.timestamp = reader.uint64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.data = ValueLabel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomPinMessage() {
	return {
		common: void 0,
		chatMessage: void 0,
		socialMessage: void 0,
		giftMessage: void 0,
		memberMessage: void 0,
		likeMessage: void 0,
		method: "",
		pinTime: "0",
		operator: void 0,
		action: 0,
		displayDuration: "0",
		pinId: "0",
		ecStreamerKey: ""
	};
}
const WebcastRoomPinMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.chatMessage !== void 0) WebcastChatMessage.encode(message.chatMessage, writer.uint32(18).fork()).join();
		if (message.socialMessage !== void 0) WebcastSocialMessage.encode(message.socialMessage, writer.uint32(26).fork()).join();
		if (message.giftMessage !== void 0) WebcastGiftMessage.encode(message.giftMessage, writer.uint32(34).fork()).join();
		if (message.memberMessage !== void 0) WebcastMemberMessage.encode(message.memberMessage, writer.uint32(42).fork()).join();
		if (message.likeMessage !== void 0) WebcastLikeMessage.encode(message.likeMessage, writer.uint32(50).fork()).join();
		if (message.method !== "") writer.uint32(242).string(message.method);
		if (message.pinTime !== "0") writer.uint32(248).int64(message.pinTime);
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(258).fork()).join();
		if (message.action !== 0) writer.uint32(264).int32(message.action);
		if (message.displayDuration !== "0") writer.uint32(272).int64(message.displayDuration);
		if (message.pinId !== "0") writer.uint32(280).int64(message.pinId);
		if (message.ecStreamerKey !== "") writer.uint32(290).string(message.ecStreamerKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomPinMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.chatMessage = WebcastChatMessage.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.socialMessage = WebcastSocialMessage.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.giftMessage = WebcastGiftMessage.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.memberMessage = WebcastMemberMessage.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.likeMessage = WebcastLikeMessage.decode(reader, reader.uint32());
					continue;
				case 30:
					if (tag !== 242) break;
					message.method = reader.string();
					continue;
				case 31:
					if (tag !== 248) break;
					message.pinTime = reader.int64().toString();
					continue;
				case 32:
					if (tag !== 258) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
				case 33:
					if (tag !== 264) break;
					message.action = reader.int32();
					continue;
				case 34:
					if (tag !== 272) break;
					message.displayDuration = reader.int64().toString();
					continue;
				case 35:
					if (tag !== 280) break;
					message.pinId = reader.int64().toString();
					continue;
				case 36:
					if (tag !== 290) break;
					message.ecStreamerKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSystemMessage() {
	return {
		common: void 0,
		message: ""
	};
}
const WebcastSystemMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.message !== "") writer.uint32(18).string(message.message);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSystemMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.message = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMessage() {
	return {
		common: void 0,
		MessageType: 0,
		LinkerId: "0",
		Scene: 0,
		InviteContent: void 0,
		ReplyContent: void 0,
		CreateContent: void 0,
		CloseContent: void 0,
		EnterContent: void 0,
		LeaveContent: void 0,
		CancelContent: void 0,
		KickOutContent: void 0,
		LinkedListChangeContent: void 0,
		UpdateUserContent: void 0,
		WaitingListChangeContent: void 0,
		MuteContent: void 0,
		RandomMatchContent: void 0,
		UpdateUserSettingContent: void 0,
		MicIdxUpdateContent: void 0,
		ListChangeContent: void 0,
		CohostListChangeContent: void 0,
		MediaChangeContent: void 0,
		AcceptNoticeContent: void 0,
		SysKickOutContent: void 0,
		UserToastContent: void 0,
		extra: "",
		expireTimestamp: "0",
		transferExtra: ""
	};
}
const WebcastLinkMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.MessageType !== 0) writer.uint32(16).int32(message.MessageType);
		if (message.LinkerId !== "0") writer.uint32(24).int64(message.LinkerId);
		if (message.Scene !== 0) writer.uint32(32).int32(message.Scene);
		if (message.InviteContent !== void 0) LinkerInviteContent.encode(message.InviteContent, writer.uint32(42).fork()).join();
		if (message.ReplyContent !== void 0) LinkerReplyContent.encode(message.ReplyContent, writer.uint32(50).fork()).join();
		if (message.CreateContent !== void 0) LinkerCreateContent.encode(message.CreateContent, writer.uint32(58).fork()).join();
		if (message.CloseContent !== void 0) LinkerCloseContent.encode(message.CloseContent, writer.uint32(66).fork()).join();
		if (message.EnterContent !== void 0) LinkerEnterContent.encode(message.EnterContent, writer.uint32(74).fork()).join();
		if (message.LeaveContent !== void 0) LinkerLeaveContent.encode(message.LeaveContent, writer.uint32(82).fork()).join();
		if (message.CancelContent !== void 0) LinkerCancelContent.encode(message.CancelContent, writer.uint32(90).fork()).join();
		if (message.KickOutContent !== void 0) LinkerKickOutContent.encode(message.KickOutContent, writer.uint32(98).fork()).join();
		if (message.LinkedListChangeContent !== void 0) LinkerLinkedListChangeContent.encode(message.LinkedListChangeContent, writer.uint32(106).fork()).join();
		if (message.UpdateUserContent !== void 0) LinkerUpdateUserContent.encode(message.UpdateUserContent, writer.uint32(114).fork()).join();
		if (message.WaitingListChangeContent !== void 0) LinkerWaitingListChangeContent.encode(message.WaitingListChangeContent, writer.uint32(122).fork()).join();
		if (message.MuteContent !== void 0) LinkerMuteContent.encode(message.MuteContent, writer.uint32(130).fork()).join();
		if (message.RandomMatchContent !== void 0) LinkerRandomMatchContent.encode(message.RandomMatchContent, writer.uint32(138).fork()).join();
		if (message.UpdateUserSettingContent !== void 0) LinkerUpdateUserSettingContent.encode(message.UpdateUserSettingContent, writer.uint32(146).fork()).join();
		if (message.MicIdxUpdateContent !== void 0) LinkerMicIdxUpdateContent.encode(message.MicIdxUpdateContent, writer.uint32(154).fork()).join();
		if (message.ListChangeContent !== void 0) LinkerListChangeContent.encode(message.ListChangeContent, writer.uint32(162).fork()).join();
		if (message.CohostListChangeContent !== void 0) CohostListChangeContent.encode(message.CohostListChangeContent, writer.uint32(170).fork()).join();
		if (message.MediaChangeContent !== void 0) LinkerMediaChangeContent.encode(message.MediaChangeContent, writer.uint32(178).fork()).join();
		if (message.AcceptNoticeContent !== void 0) LinkerAcceptNoticeContent.encode(message.AcceptNoticeContent, writer.uint32(186).fork()).join();
		if (message.SysKickOutContent !== void 0) LinkerSysKickOutContent.encode(message.SysKickOutContent, writer.uint32(810).fork()).join();
		if (message.UserToastContent !== void 0) LinkmicUserToastContent.encode(message.UserToastContent, writer.uint32(818).fork()).join();
		if (message.extra !== "") writer.uint32(1602).string(message.extra);
		if (message.expireTimestamp !== "0") writer.uint32(1608).int64(message.expireTimestamp);
		if (message.transferExtra !== "") writer.uint32(1618).string(message.transferExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.MessageType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.LinkerId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.Scene = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.InviteContent = LinkerInviteContent.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.ReplyContent = LinkerReplyContent.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.CreateContent = LinkerCreateContent.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.CloseContent = LinkerCloseContent.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.EnterContent = LinkerEnterContent.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.LeaveContent = LinkerLeaveContent.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.CancelContent = LinkerCancelContent.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.KickOutContent = LinkerKickOutContent.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.LinkedListChangeContent = LinkerLinkedListChangeContent.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.UpdateUserContent = LinkerUpdateUserContent.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.WaitingListChangeContent = LinkerWaitingListChangeContent.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.MuteContent = LinkerMuteContent.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.RandomMatchContent = LinkerRandomMatchContent.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.UpdateUserSettingContent = LinkerUpdateUserSettingContent.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.MicIdxUpdateContent = LinkerMicIdxUpdateContent.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.ListChangeContent = LinkerListChangeContent.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.CohostListChangeContent = CohostListChangeContent.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.MediaChangeContent = LinkerMediaChangeContent.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.AcceptNoticeContent = LinkerAcceptNoticeContent.decode(reader, reader.uint32());
					continue;
				case 101:
					if (tag !== 810) break;
					message.SysKickOutContent = LinkerSysKickOutContent.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.UserToastContent = LinkmicUserToastContent.decode(reader, reader.uint32());
					continue;
				case 200:
					if (tag !== 1602) break;
					message.extra = reader.string();
					continue;
				case 201:
					if (tag !== 1608) break;
					message.expireTimestamp = reader.int64().toString();
					continue;
				case 202:
					if (tag !== 1618) break;
					message.transferExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkLayerMessage() {
	return {
		common: void 0,
		messageType: 0,
		channelId: "0",
		scene: 0,
		source: "",
		centerizedIdc: "",
		rtcRoomId: "0",
		createChannelContent: void 0,
		listChangeContent: void 0,
		inviteContent: void 0,
		applyContent: void 0,
		permitApplyContent: void 0,
		replyInviteContent: void 0,
		kickOutContent: void 0,
		cancelApplyContent: void 0,
		cancelInviteContent: void 0,
		leaveContent: void 0,
		finishContent: void 0,
		joinDirectContent: void 0,
		joinGroupContent: void 0,
		permitGroupContent: void 0,
		cancelGroupContent: void 0,
		leaveGroupContent: void 0,
		p2pGroupChangeContent: void 0,
		groupChangeContent: void 0,
		businessContent: void 0
	};
}
const WebcastLinkLayerMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== 0) writer.uint32(16).int32(message.messageType);
		if (message.channelId !== "0") writer.uint32(24).int64(message.channelId);
		if (message.scene !== 0) writer.uint32(32).int32(message.scene);
		if (message.source !== "") writer.uint32(42).string(message.source);
		if (message.centerizedIdc !== "") writer.uint32(50).string(message.centerizedIdc);
		if (message.rtcRoomId !== "0") writer.uint32(56).int64(message.rtcRoomId);
		if (message.createChannelContent !== void 0) CreateChannelContent.encode(message.createChannelContent, writer.uint32(802).fork()).join();
		if (message.listChangeContent !== void 0) ListChangeContent.encode(message.listChangeContent, writer.uint32(818).fork()).join();
		if (message.inviteContent !== void 0) InviteContent.encode(message.inviteContent, writer.uint32(826).fork()).join();
		if (message.applyContent !== void 0) ApplyContent.encode(message.applyContent, writer.uint32(834).fork()).join();
		if (message.permitApplyContent !== void 0) PermitApplyContent.encode(message.permitApplyContent, writer.uint32(842).fork()).join();
		if (message.replyInviteContent !== void 0) ReplyInviteContent.encode(message.replyInviteContent, writer.uint32(850).fork()).join();
		if (message.kickOutContent !== void 0) KickOutContent.encode(message.kickOutContent, writer.uint32(858).fork()).join();
		if (message.cancelApplyContent !== void 0) CancelApplyContent.encode(message.cancelApplyContent, writer.uint32(866).fork()).join();
		if (message.cancelInviteContent !== void 0) CancelInviteContent.encode(message.cancelInviteContent, writer.uint32(874).fork()).join();
		if (message.leaveContent !== void 0) LeaveContent.encode(message.leaveContent, writer.uint32(882).fork()).join();
		if (message.finishContent !== void 0) FinishChannelContent.encode(message.finishContent, writer.uint32(890).fork()).join();
		if (message.joinDirectContent !== void 0) JoinDirectContent.encode(message.joinDirectContent, writer.uint32(898).fork()).join();
		if (message.joinGroupContent !== void 0) JoinGroupContent.encode(message.joinGroupContent, writer.uint32(906).fork()).join();
		if (message.permitGroupContent !== void 0) PermitJoinGroupContent.encode(message.permitGroupContent, writer.uint32(914).fork()).join();
		if (message.cancelGroupContent !== void 0) CancelJoinGroupContent.encode(message.cancelGroupContent, writer.uint32(922).fork()).join();
		if (message.leaveGroupContent !== void 0) LeaveJoinGroupContent.encode(message.leaveGroupContent, writer.uint32(930).fork()).join();
		if (message.p2pGroupChangeContent !== void 0) P2PGroupChangeContent.encode(message.p2pGroupChangeContent, writer.uint32(938).fork()).join();
		if (message.groupChangeContent !== void 0) GroupChangeContent.encode(message.groupChangeContent, writer.uint32(946).fork()).join();
		if (message.businessContent !== void 0) BusinessContent.encode(message.businessContent, writer.uint32(1602).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkLayerMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.channelId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.scene = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.source = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.centerizedIdc = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.rtcRoomId = reader.int64().toString();
					continue;
				case 100:
					if (tag !== 802) break;
					message.createChannelContent = CreateChannelContent.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.listChangeContent = ListChangeContent.decode(reader, reader.uint32());
					continue;
				case 103:
					if (tag !== 826) break;
					message.inviteContent = InviteContent.decode(reader, reader.uint32());
					continue;
				case 104:
					if (tag !== 834) break;
					message.applyContent = ApplyContent.decode(reader, reader.uint32());
					continue;
				case 105:
					if (tag !== 842) break;
					message.permitApplyContent = PermitApplyContent.decode(reader, reader.uint32());
					continue;
				case 106:
					if (tag !== 850) break;
					message.replyInviteContent = ReplyInviteContent.decode(reader, reader.uint32());
					continue;
				case 107:
					if (tag !== 858) break;
					message.kickOutContent = KickOutContent.decode(reader, reader.uint32());
					continue;
				case 108:
					if (tag !== 866) break;
					message.cancelApplyContent = CancelApplyContent.decode(reader, reader.uint32());
					continue;
				case 109:
					if (tag !== 874) break;
					message.cancelInviteContent = CancelInviteContent.decode(reader, reader.uint32());
					continue;
				case 110:
					if (tag !== 882) break;
					message.leaveContent = LeaveContent.decode(reader, reader.uint32());
					continue;
				case 111:
					if (tag !== 890) break;
					message.finishContent = FinishChannelContent.decode(reader, reader.uint32());
					continue;
				case 112:
					if (tag !== 898) break;
					message.joinDirectContent = JoinDirectContent.decode(reader, reader.uint32());
					continue;
				case 113:
					if (tag !== 906) break;
					message.joinGroupContent = JoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 114:
					if (tag !== 914) break;
					message.permitGroupContent = PermitJoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 115:
					if (tag !== 922) break;
					message.cancelGroupContent = CancelJoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 116:
					if (tag !== 930) break;
					message.leaveGroupContent = LeaveJoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 117:
					if (tag !== 938) break;
					message.p2pGroupChangeContent = P2PGroupChangeContent.decode(reader, reader.uint32());
					continue;
				case 118:
					if (tag !== 946) break;
					message.groupChangeContent = GroupChangeContent.decode(reader, reader.uint32());
					continue;
				case 200:
					if (tag !== 1602) break;
					message.businessContent = BusinessContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRoomVerifyMessage() {
	return {
		common: void 0,
		action: 0,
		content: "",
		noticeType: "0",
		closeRoom: false
	};
}
const RoomVerifyMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.action !== 0) writer.uint32(16).int32(message.action);
		if (message.content !== "") writer.uint32(26).string(message.content);
		if (message.noticeType !== "0") writer.uint32(32).int64(message.noticeType);
		if (message.closeRoom !== false) writer.uint32(40).bool(message.closeRoom);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRoomVerifyMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.content = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.noticeType = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.closeRoom = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessageOld() {
	return {
		event: void 0,
		msgType: 0,
		content: void 0
	};
}
const WebcastBarrageMessageOld = {
	encode(message, writer = new BinaryWriter()) {
		if (message.event !== void 0) CommonMessageData.encode(message.event, writer.uint32(10).fork()).join();
		if (message.msgType !== 0) writer.uint32(24).int32(message.msgType);
		if (message.content !== void 0) WebcastBarrageMessageOld_Text.encode(message.content, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessageOld();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.event = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.msgType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.content = WebcastBarrageMessageOld_Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessageOld_Text() {
	return {
		key: "",
		defaultPattern: "",
		pieces: []
	};
}
const WebcastBarrageMessageOld_Text = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		for (const v of message.pieces) WebcastBarrageMessageOld_TextPiece.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessageOld_Text();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.pieces.push(WebcastBarrageMessageOld_TextPiece.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessageOld_TextPiece() {
	return {
		type: 0,
		stringValue: "",
		userValue: void 0
	};
}
const WebcastBarrageMessageOld_TextPiece = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.stringValue !== "") writer.uint32(90).string(message.stringValue);
		if (message.userValue !== void 0) WebcastBarrageMessageOld_TextPieceUser.encode(message.userValue, writer.uint32(170).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessageOld_TextPiece();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.stringValue = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.userValue = WebcastBarrageMessageOld_TextPieceUser.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessageOld_TextPieceUser() {
	return {
		user: void 0,
		withColon: false
	};
}
const WebcastBarrageMessageOld_TextPieceUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.withColon !== false) writer.uint32(16).bool(message.withColon);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessageOld_TextPieceUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.withColon = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastImEnterRoomMessage() {
	return {
		roomId: "0",
		roomTag: "",
		liveRegion: "",
		liveId: "0",
		identity: "",
		cursor: "",
		accountType: "0",
		enterUniqueId: "0",
		filterWelcomeMsg: "",
		isAnchorContinueKeepMsg: false
	};
}
const WebcastImEnterRoomMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomId !== "0") writer.uint32(8).int64(message.roomId);
		if (message.roomTag !== "") writer.uint32(18).string(message.roomTag);
		if (message.liveRegion !== "") writer.uint32(26).string(message.liveRegion);
		if (message.liveId !== "0") writer.uint32(32).int64(message.liveId);
		if (message.identity !== "") writer.uint32(42).string(message.identity);
		if (message.cursor !== "") writer.uint32(50).string(message.cursor);
		if (message.accountType !== "0") writer.uint32(56).int64(message.accountType);
		if (message.enterUniqueId !== "0") writer.uint32(64).int64(message.enterUniqueId);
		if (message.filterWelcomeMsg !== "") writer.uint32(74).string(message.filterWelcomeMsg);
		if (message.isAnchorContinueKeepMsg !== false) writer.uint32(80).bool(message.isAnchorContinueKeepMsg);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastImEnterRoomMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.roomTag = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.liveRegion = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.liveId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.identity = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.cursor = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.accountType = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.enterUniqueId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.filterWelcomeMsg = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.isAnchorContinueKeepMsg = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
export { AgreeStatus, AllListUser, ApplyContent, AuditStatus, Author, BadgeStruct, BadgeStruct_ArrowConfig, BadgeStruct_BadgeExhibitionType, BadgeStruct_BadgePriorityType, BadgeStruct_BadgeSceneType, BadgeStruct_CombineBadge, BadgeStruct_CombineBadgeBackground, BadgeStruct_DisplayStatus, BadgeStruct_HorizontalPaddingRule, BadgeStruct_IconConfig, BadgeStruct_ImageBadge, BadgeStruct_NumberConfig, BadgeStruct_PaddingInfo, BadgeStruct_Position, BadgeStruct_ProfileCardPanel, BadgeStruct_ProfileContent, BadgeStruct_ProjectionConfig, BadgeStruct_StringBadge, BadgeStruct_TextBadge, BadgeStruct_VerticalPaddingRule, BarrageType, BaseProtoMessage, BattleABTestType, BattleAction, BattleInviteType, BattleSetting, BattleTaskMessageType, BattleTeamUser, BattleTeamUserArmies, BattleType, BattleUserArmies, BattleUserArmy, BorderInfo, BusinessCase, BusinessContent, BusinessContent_CohostContent, BusinessContent_CohostUserInfo, BusinessContent_CohostUserInfo_CohostStreamConfig, BusinessContent_Hashtag, BusinessContent_JoinGroupBizContent, BusinessContent_JoinGroupBizContent_RivalsGameTag, BusinessContent_JoinGroupBizContent_TagV2, BusinessContent_JoinGroupBizContent_TagV2_SecondDegreeRelationContent, BusinessContent_JoinGroupBizContent_TagV2_SimilarInterestContent, BusinessContent_JoinGroupBizContent_TagV2_UserInfo, BusinessContent_JoinGroupMessageExtra, BusinessContent_JoinGroupMessageExtra_RivalExtra, BusinessContent_JoinGroupMessageExtra_RivalExtra_AuthenticationInfo, BusinessContent_ListChangeBizContent, BusinessContent_ListChangeBizContent_UserInfosEntry, BusinessContent_ListChangeBizContent_VirtualWaitingUser, BusinessContent_PerceptionDialogInfo, BusinessContent_PerceptionFeedbackOption, BusinessContent_PermitJoinGroupBizContent, BusinessContent_Tag, BusinessContent_TopHostInfo, CancelApplyContent, CancelInviteContent, CancelJoinGroupContent, CohostABTestType, CohostLayoutMode, CohostListChangeContent, CohostTopic, CommentTag, CommonContentCase, CommonMessageData, CommonMessageData_IMDispatchStrategy, CommonMessageData_LiveMessageID, CommonMessageData_LiveMessageSEI, ContentInviteSource, ContentPosition, ContentPositionType, ContentSource, ControlAction, CreateChannelContent, DSLConfig, DisplayStyle, Emote, EmoteDetails, EmoteImage, EmotePrivateType, EmoteScene, EmoteType, EmoteUploadInfo, EmoteUploadInfo_UserEmoteUploadSource, Emote_AuditInfo, Emote_AuditInfo_AuditTaskType, Emote_EmoteUploadInfo, EnvelopeBusinessType, EnvelopeDisplay, EnvelopeFollowShowStatus, ExhibitionType, FanTicketRoomNoticeContent, FansClubData, FansClubData_UserBadge, FansClubData_UserBadge_IconsEntry, FansClubMember, FansClubMember_PreferDataEntry, FinishChannelContent, FollowInfo, FontStyle, Gift, GiftMessageIgnoreConfig, GiftMessageVersion, GiftModeMeta, GiftPermissionType, GiftSource, Gift_BatchGiftInfo, Gift_CrossScreenEffectInfo, Gift_CrossScreenEffectInfo_ActionEffectIdsEntry, Gift_CrossScreenEffectInfo_ReactionEffectIdsEntry, Gift_CrossScreenEffectInfo_SingleActionEffectIdsEntry, Gift_GiftBoxInfo, Gift_GiftPanelBanner, Gift_GiftSkin, Gift_GiftSkinToGiftTextsInfo, Gift_GiftSponsorInfo, Gift_GiftText, Gift_UGGiftStructInfo, GoalMessageSource, GradeIcon, GroupChangeContent, GroupChannelAllUser, GroupChannelUser, GroupPlayer, GroupStatus, GuestMicCameraChangeScene, GuestMicCameraManageOp, HashtagNamespace, HeartbeatMessage, HighScoreControlCfg, HitABStatus, HorizontalOnclickTriggerType, IconDisplayType, Image, ImageModel, ImageModel_Content, Image_Content, InviteContent, JoinDirectContent, JoinGroupContent, JoinType, KickOutContent, KickoutReason, LeaveContent, LeaveJoinGroupContent, LikeEffect, LinkLayerListUser, LinkLayerMessageType, LinkMessageType, LinkMicUserAdminType, LinkPosition, LinkRoleType, LinkSilenceStatus, LinkType, LinkUserType, LinkerAcceptNoticeContent, LinkerCancelContent, LinkerCloseContent, LinkerCreateContent, LinkerEnterContent, LinkerInviteContent, LinkerInviteContent_CohostABTestSetting, LinkerInviteContent_CohostABTestSetting_CohostABTestList, LinkerInviteContent_CohostABTestSetting_CohostABTestList_CohostABTest, LinkerInviteContent_InviteTopHostInfo, LinkerInviteContent_LinkerInviteMessageExtra, LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra, LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_AuthenticationInfo, LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_Hashtag, LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo, LinkerInviteContent_LinkerInviteMessageExtra_InviterRivalExtra_OptPairInfo_OptPairUser, LinkerInviteContent_LinkmicUserInfo, LinkerInviteContent_PerceptionDialogInfo, LinkerInviteContent_PerceptionDialogInfo_PerceptionFeedbackOption, LinkerInviteContent_RtcExtInfoMapEntry, LinkerKickOutContent, LinkerLeaveContent, LinkerLinkedListChangeContent, LinkerListChangeContent, LinkerMediaChangeContent, LinkerMediaChangeContent_LinkerMediaChangeOperator, LinkerMicIdxUpdateContent, LinkerMuteContent, LinkerRandomMatchContent, LinkerReplyContent, LinkerReplyContent_LinkmicInfo, LinkerSetting, LinkerSysKickOutContent, LinkerUpdateUserContent, LinkerUpdateUserContent_UpdateInfoEntry, LinkerUpdateUserSettingContent, LinkerWaitingListChangeContent, LinkmicApplierSortSetting, LinkmicGiftExpressionStrategy, LinkmicMultiLiveEnum, LinkmicRoleType, LinkmicShareRevenueSetting, LinkmicStatus, LinkmicUserToastContent, ListChangeContent, ListUser, LiveStreamGoal, LiveStreamGoalIndicator, LiveStreamGoal_AuditInfo, LiveStreamGoal_GoalStats, LiveStreamGoal_GoalStats_GoalComparison, LiveStreamGoal_LiveStreamGoalContributor, LiveStreamGoal_LiveStreamGoalContributor_SubGoalContribution, LiveStreamGoal_LiveStreamSubGoal, LiveStreamGoal_LiveStreamSubGoalGift, LiveStreamGoal_LiveStreamSubGoal_SubGoalPinInfo, MemberMessageAction, Message, MessageDisplayStyle, MessageType, MicPositionData, MigrationDetails, MsgFilter, MultiGuestOutsideRoomInviteSource, MultiLiveAnchorPanelSettings, MultiLiveContent, MultiLiveContent_ApplyBizContent, MultiLiveContent_InviteBizContent, MultiLiveContent_JoinDirectBizContent, MultiLiveContent_KickOutBizContent, MultiLiveContent_PermitBizContent, MultiLiveContent_ReplyBizContent, MultiplierType, MuteStatus, OldSubscribeStatus, OptPairStatus, P2PGroupChangeContent, PerceptionDialogIconType, PermitApplyContent, PermitJoinGroupContent, PlayScene, Player, PollAppealStatus, PollEndContent, PollEndType, PollKind, PollOptionInfo, PollStartContent, PollTemplateStatus, PollUpdateVotesContent, PosIdentity, PosIdentityType, Position, PrivilegeLogExtra, ProfilePicture, ProfitRankType, ProtoMessageFetchResult, ProtoMessageFetchResult_WsParamsEntry, PublicAreaCommon, PublicAreaMessageCommon, PublicAreaMessageCommon_CreatorSuccessInfo, PublicAreaMessageCommon_PortraitInfo, PublicAreaMessageCommon_PortraitTag, PublicAreaMessageCommon_TagItem, PublicAreaMessageCommon_Topic, PublicAreaMessageCommon_UserInteractionInfo, PublicAreaMessageCommon_UserMetrics, PunishEventInfo, PunishTypeId, RTCExtraInfo, RTCExtraInfo_ByteRTCExtInfo, RTCExtraInfo_RTCBitrateMap, RTCExtraInfo_RTCEngineConfig, RTCExtraInfo_RTCInfoExtra, RTCExtraInfo_RTCLiveVideoParam, RTCExtraInfo_RTCMixBase, RTCExtraInfo_RTCOther, RTCExtraInfo_RTCVideoParam, RankItem, RankTestMessageScene, Ranking, Reason, RenderType, ReplyInviteContent, ReplyStatus, Result, RewardCondition, RewardStatus, RoomVerifyMessage, Scene, ShowType, SourceType, SpecifiedDisplayText, SubscribeType, SubscribingStatus, SystemMessage, TagClassification, TagType, Text, TextType, Text_PatternRef, Text_ShowType, Text_TextFormat, Text_TextPiece, Text_TextPieceGift, Text_TextPiecePatternRef, Text_TextPieceUser, TikTokColor, TimeStampContainer, TopicActionType, TreasureBoxData, TriggerReason, UnionAnimationInfoType, User, UserBadge, UserBadgesAttributes, UserEmoteUploadSource, UserFanTicket, UserHonor, UserIdentity, UserImageBadge, UserImageBadgeImage, UserMetricsType, User_ActivityInfo, User_AnchorLevel, User_AuthenticationInfo, User_AuthorStats, User_Border, User_ComboBadgeInfo, User_EcommerceEntrance, User_EcommerceEntrance_CreatorType, User_EcommerceEntrance_EntranceType, User_EcommerceEntrance_ShopEntranceInfo, User_EcommerceEntrance_ShopEntranceInfo_StoreLabel, User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreBrandLabelType, User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel, User_EcommerceEntrance_ShopEntranceInfo_StoreLabel_StoreOfficialLabel_ShopLabelImage, User_EcommerceEntrance_ShowcaseEntranceInfo, User_FansClub, User_FansClubInfo, User_FansClub_FansClubData, User_FansClub_FansClubData_BadgeIcon, User_FansClub_FansClubData_UserFansClubStatus, User_FansClub_PreferntialType, User_FollowInfo, User_LiveEventInfo, User_LiveEventInfo_EventPayMethod, User_LiveEventInfo_WalletPackage, User_OwnRoom, User_PayGrade, User_SubscribeBadge, User_SubscribeInfo, User_UserAttr, User_UserStats, ValueLabel, VoteUser, WebcastBarrageMessage, WebcastBarrageMessageOld, WebcastBarrageMessageOld_Text, WebcastBarrageMessageOld_TextPiece, WebcastBarrageMessageOld_TextPieceUser, WebcastBarrageMessage_AnimationData, WebcastBarrageMessage_BarrageEvent, WebcastBarrageMessage_BarrageEvent_ParamsEntry, WebcastBarrageMessage_BarrageType, WebcastBarrageMessage_BarrageTypeFansLevelParam, WebcastBarrageMessage_BarrageTypeGiftGalleryParam, WebcastBarrageMessage_BarrageTypeSubscribeGiftParam, WebcastBarrageMessage_BarrageTypeUserGradeParam, WebcastBarrageMessage_DisplayControl, WebcastBarrageMessage_DisplayControl_ShowResult, WebcastBarrageMessage_DisplayControl_TargetGroupShowRstEntry, WebcastBarrageMessage_IconDisplayType, WebcastBarrageMessage_RenderType, WebcastBarrageMessage_RightLabel, WebcastBarrageMessage_ShowType, WebcastCaptionMessage, WebcastCaptionMessage_CaptionContent, WebcastChatMessage, WebcastChatMessage_CommentQualityScore, WebcastChatMessage_CommentTag, WebcastChatMessage_UserIdentity, WebcastControlMessage, WebcastControlMessage_Extra, WebcastControlMessage_PerceptionDialogInfo, WebcastControlMessage_PerceptionDialogInfo_PerceptionFeedbackOption, WebcastEmoteChatMessage, WebcastEnvelopeMessage, WebcastEnvelopeMessage_EnvelopeInfo, WebcastGiftMessage, WebcastGiftMessage_AssetsModel, WebcastGiftMessage_AssetsModel_AssetExtra, WebcastGiftMessage_AssetsModel_FaceRecognitionMeta, WebcastGiftMessage_AssetsModel_LokiExtraContent, WebcastGiftMessage_AssetsModel_LokiExtraContent_BEFViewRenderSize, WebcastGiftMessage_AssetsModel_ResourceModel, WebcastGiftMessage_AssetsModel_VideoResource, WebcastGiftMessage_FlyingMicResources, WebcastGiftMessage_FlyingMicResources_TransitionConfig, WebcastGiftMessage_GiftIMPriority, WebcastGiftMessage_GiftMonitorInfo, WebcastGiftMessage_GiftTrayInfo, WebcastGiftMessage_GiftsBoxInfo, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_AssetExtra, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_FaceRecognitionMeta, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_LokiExtraContent_BEFViewRenderSize, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_ResourceModel, WebcastGiftMessage_GiftsBoxInfo_GiftInfoInBox_AssetsModel_VideoResource, WebcastGiftMessage_InteractiveGiftInfo, WebcastGiftMessage_LynxGiftExtra, WebcastGiftMessage_MatchInfo, WebcastGiftMessage_SponsorshipInfo, WebcastGiftMessage_TextEffect, WebcastGiftMessage_TextEffect_Detail, WebcastGoalUpdateMessage, WebcastGoalUpdateMessage_GoalPinInfo, WebcastGoalUpdateMessage_LiveStreamSubGoal, WebcastGoalUpdateMessage_LiveStreamSubGoal_LiveStreamSubGoalGift, WebcastGoalUpdateMessage_LiveStreamSubGoal_SubGoalPinInfo, WebcastHourlyRankMessage, WebcastHourlyRankMessage_RankContainer, WebcastHourlyRankMessage_RankContainer_RankingData, WebcastHourlyRankMessage_RankContainer_RankingData2, WebcastImDeleteMessage, WebcastImEnterRoomMessage, WebcastInRoomBannerMessage, WebcastLikeMessage, WebcastLinkLayerMessage, WebcastLinkMessage, WebcastLinkMicArmies, WebcastLinkMicArmiesGroup, WebcastLinkMicArmiesItems, WebcastLinkMicArmies_BattleItemsEntry, WebcastLinkMicBattle, WebcastLinkMicBattlePunishFinish, WebcastLinkMicBattle_AnchorInfoEntry, WebcastLinkMicBattle_ArmiesEntry, WebcastLinkMicBattle_BattleABTestSetting, WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList, WebcastLinkMicBattle_BattleABTestSetting_BattleABTestList_BattleABTest, WebcastLinkMicBattle_BattleComboInfo, WebcastLinkMicBattle_BattleCombosEntry, WebcastLinkMicBattle_BattleDisplayConfig, WebcastLinkMicBattle_BattleDisplayConfig_ExemptStrategy, WebcastLinkMicBattle_BattleInviteeGiftPermission, WebcastLinkMicBattle_BattleResult, WebcastLinkMicBattle_BattleResultEntry, WebcastLinkMicBattle_BattleTeamResult, WebcastLinkMicBattle_BattleUserInfo, WebcastLinkMicBattle_BattleUserInfo_BattleBaseUserInfo, WebcastLinkMicBattle_BattleUserInfo_BattleRivalTag, WebcastLinkMicBattle_SupportedActionsWrapper, WebcastLinkMicBattle_TeamMatchCampaign, WebcastLinkMicBattle_TeamMatchCampaign_BestTeammateRelation, WebcastLinkMicBattle_TeamUsersInfo, WebcastLinkMicFanTicketMethod, WebcastLinkMicMethod, WebcastLinkmicBattleTaskMessage, WebcastLinkmicBattleTaskMessage_BattlePrompt, WebcastLinkmicBattleTaskMessage_BattlePrompt_BattlePromptElem, WebcastLinkmicBattleTaskMessage_BattleRewardSettle, WebcastLinkmicBattleTaskMessage_BattleTaskSettle, WebcastLinkmicBattleTaskMessage_BattleTaskSettle_Result, WebcastLinkmicBattleTaskMessage_BattleTaskStart, WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig, WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_BattleTaskGiftAmountGuide, WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_PreviewPeriod, WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_RewardPeriodConfig, WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskGiftGuideEntry, WebcastLinkmicBattleTaskMessage_BattleTaskStart_BattleBonusConfig_TaskPeriodConfig, WebcastLinkmicBattleTaskMessage_BattleTaskUpdate, WebcastLiveIntroMessage, WebcastMemberMessage, WebcastMemberMessage_AdminPermissionsEntry, WebcastMemberMessage_DisplayStyle, WebcastMemberMessage_EffectConfig, WebcastMemberMessage_EffectConfigBean, WebcastMemberMessage_HitABStatus, WebcastMemberMessage_WaveAlgorithmData, WebcastMessageEventDetails, WebcastMsgDetectMessage, WebcastMsgDetectMessage_TimeInfo, WebcastMsgDetectMessage_TriggerCondition, WebcastOecLiveShoppingMessage, WebcastOecLiveShoppingMessage_LiveShoppingData, WebcastOecLiveShoppingMessage_LiveShoppingDetails, WebcastPollMessage, WebcastPollMessage_PollBasicInfo, WebcastPollMessage_TemplateContent, WebcastPushFrame, WebcastPushFrame_HeadersEntry, WebcastQuestionNewMessage, WebcastQuestionNewMessage_Question, WebcastRankTextMessage, WebcastRankUpdateMessage, WebcastRankUpdateMessage_RankListTabInfo, WebcastRankUpdateMessage_RankTabInfo, WebcastRankUpdateMessage_RankUpdate, WebcastRankUpdateMessage_UnionAnimationInfo, WebcastRoomMessage, WebcastRoomPinMessage, WebcastRoomUserSeqMessage, WebcastRoomUserSeqMessage_Contributor, WebcastSocialMessage, WebcastSubEmote, WebcastSystemMessage, WebcastUnauthorizedMemberMessage, WebsocketParam, protobufPackage };
