// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.35.0 // source: proto/room/v1/room.proto package roomv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // RequestMeta 固定承载所有命令的调用元信息。 // room-service 用它串起幂等、追踪、路由和业务操作者身份。 type RequestMeta struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` ActorUserId int64 `protobuf:"varint,3,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"` // room_id 是命令路由、持久化和腾讯 IM/RTC 映射共同依赖的必填字段。 // CreateRoom 时必须满足 ^[A-Za-z0-9_-]{1,48}$。 RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` GatewayNodeId string `protobuf:"bytes,5,opt,name=gateway_node_id,json=gatewayNodeId,proto3" json:"gateway_node_id,omitempty"` SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` SentAtMs int64 `protobuf:"varint,7,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"` AppCode string `protobuf:"bytes,8,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RequestMeta) Reset() { *x = RequestMeta{} mi := &file_proto_room_v1_room_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RequestMeta) String() string { return protoimpl.X.MessageStringOf(x) } func (*RequestMeta) ProtoMessage() {} func (x *RequestMeta) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RequestMeta.ProtoReflect.Descriptor instead. func (*RequestMeta) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{0} } func (x *RequestMeta) GetRequestId() string { if x != nil { return x.RequestId } return "" } func (x *RequestMeta) GetCommandId() string { if x != nil { return x.CommandId } return "" } func (x *RequestMeta) GetActorUserId() int64 { if x != nil { return x.ActorUserId } return 0 } func (x *RequestMeta) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *RequestMeta) GetGatewayNodeId() string { if x != nil { return x.GatewayNodeId } return "" } func (x *RequestMeta) GetSessionId() string { if x != nil { return x.SessionId } return "" } func (x *RequestMeta) GetSentAtMs() int64 { if x != nil { return x.SentAtMs } return 0 } func (x *RequestMeta) GetAppCode() string { if x != nil { return x.AppCode } return "" } // CommandResult 统一返回命令是否真正落地,以及落地后的房间版本。 type CommandResult struct { state protoimpl.MessageState `protogen:"open.v1"` Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"` RoomVersion int64 `protobuf:"varint,2,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"` ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommandResult) Reset() { *x = CommandResult{} mi := &file_proto_room_v1_room_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommandResult) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommandResult) ProtoMessage() {} func (x *CommandResult) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommandResult.ProtoReflect.Descriptor instead. func (*CommandResult) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{1} } func (x *CommandResult) GetApplied() bool { if x != nil { return x.Applied } return false } func (x *CommandResult) GetRoomVersion() int64 { if x != nil { return x.RoomVersion } return 0 } func (x *CommandResult) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // RoomUser 只表达 room-service 需要保存的房间内轻量用户态。 type RoomUser struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` JoinedAtMs int64 `protobuf:"varint,3,opt,name=joined_at_ms,json=joinedAtMs,proto3" json:"joined_at_ms,omitempty"` LastSeenAtMs int64 `protobuf:"varint,4,opt,name=last_seen_at_ms,json=lastSeenAtMs,proto3" json:"last_seen_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomUser) Reset() { *x = RoomUser{} mi := &file_proto_room_v1_room_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomUser) ProtoMessage() {} func (x *RoomUser) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomUser.ProtoReflect.Descriptor instead. func (*RoomUser) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{2} } func (x *RoomUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RoomUser) GetRole() string { if x != nil { return x.Role } return "" } func (x *RoomUser) GetJoinedAtMs() int64 { if x != nil { return x.JoinedAtMs } return 0 } func (x *RoomUser) GetLastSeenAtMs() int64 { if x != nil { return x.LastSeenAtMs } return 0 } // RoomOnlineUser 是在线用户列表的展示读模型。 // role 保留进房 presence 语义;room_role 只表达房间管理员身份;is_owner 单独表达房主身份。 type RoomOnlineUser struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` RoomRole string `protobuf:"bytes,3,opt,name=room_role,json=roomRole,proto3" json:"room_role,omitempty"` GiftValue int64 `protobuf:"varint,4,opt,name=gift_value,json=giftValue,proto3" json:"gift_value,omitempty"` JoinedAtMs int64 `protobuf:"varint,5,opt,name=joined_at_ms,json=joinedAtMs,proto3" json:"joined_at_ms,omitempty"` LastSeenAtMs int64 `protobuf:"varint,6,opt,name=last_seen_at_ms,json=lastSeenAtMs,proto3" json:"last_seen_at_ms,omitempty"` IsOwner bool `protobuf:"varint,7,opt,name=is_owner,json=isOwner,proto3" json:"is_owner,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomOnlineUser) Reset() { *x = RoomOnlineUser{} mi := &file_proto_room_v1_room_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomOnlineUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomOnlineUser) ProtoMessage() {} func (x *RoomOnlineUser) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomOnlineUser.ProtoReflect.Descriptor instead. func (*RoomOnlineUser) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{3} } func (x *RoomOnlineUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RoomOnlineUser) GetRole() string { if x != nil { return x.Role } return "" } func (x *RoomOnlineUser) GetRoomRole() string { if x != nil { return x.RoomRole } return "" } func (x *RoomOnlineUser) GetGiftValue() int64 { if x != nil { return x.GiftValue } return 0 } func (x *RoomOnlineUser) GetJoinedAtMs() int64 { if x != nil { return x.JoinedAtMs } return 0 } func (x *RoomOnlineUser) GetLastSeenAtMs() int64 { if x != nil { return x.LastSeenAtMs } return 0 } func (x *RoomOnlineUser) GetIsOwner() bool { if x != nil { return x.IsOwner } return false } // SeatState 表达单个麦位当前占用和 RTC 发流确认状态。 type SeatState struct { state protoimpl.MessageState `protogen:"open.v1"` SeatNo int32 `protobuf:"varint,1,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` // publish_state 为空表示空麦或未进入发流流程;上麦后先进入 pending_publish,确认后进入 publishing。 PublishState string `protobuf:"bytes,4,opt,name=publish_state,json=publishState,proto3" json:"publish_state,omitempty"` // mic_session_id 是单次上麦发流会话 ID;所有客户端确认或 RTC webhook 必须带回它。 MicSessionId string `protobuf:"bytes,5,opt,name=mic_session_id,json=micSessionId,proto3" json:"mic_session_id,omitempty"` // publish_deadline_ms 是 pending_publish 必须确认发流的截止时间。 PublishDeadlineMs int64 `protobuf:"varint,6,opt,name=publish_deadline_ms,json=publishDeadlineMs,proto3" json:"publish_deadline_ms,omitempty"` // mic_session_room_version 是创建本次 mic_session 的房间版本,用于丢弃旧版本 RTC 事件。 MicSessionRoomVersion int64 `protobuf:"varint,7,opt,name=mic_session_room_version,json=micSessionRoomVersion,proto3" json:"mic_session_room_version,omitempty"` // last_publish_event_time_ms 记录已接受的最新 RTC/客户端发流事件时间。 LastPublishEventTimeMs int64 `protobuf:"varint,8,opt,name=last_publish_event_time_ms,json=lastPublishEventTimeMs,proto3" json:"last_publish_event_time_ms,omitempty"` // mic_muted 是服务端可见的麦克风静音状态,用于同步其他用户 UI。 MicMuted bool `protobuf:"varint,9,opt,name=mic_muted,json=micMuted,proto3" json:"mic_muted,omitempty"` // seat_status 是服务端派生的展示状态:empty/locked/occupied/publishing/muted。 SeatStatus string `protobuf:"bytes,10,opt,name=seat_status,json=seatStatus,proto3" json:"seat_status,omitempty"` // mic_heartbeat_at_ms 是当前 mic_session 最近一次服务端接受麦上心跳的 UTC epoch ms。 MicHeartbeatAtMs int64 `protobuf:"varint,11,opt,name=mic_heartbeat_at_ms,json=micHeartbeatAtMs,proto3" json:"mic_heartbeat_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SeatState) Reset() { *x = SeatState{} mi := &file_proto_room_v1_room_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SeatState) String() string { return protoimpl.X.MessageStringOf(x) } func (*SeatState) ProtoMessage() {} func (x *SeatState) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SeatState.ProtoReflect.Descriptor instead. func (*SeatState) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{4} } func (x *SeatState) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *SeatState) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *SeatState) GetLocked() bool { if x != nil { return x.Locked } return false } func (x *SeatState) GetPublishState() string { if x != nil { return x.PublishState } return "" } func (x *SeatState) GetMicSessionId() string { if x != nil { return x.MicSessionId } return "" } func (x *SeatState) GetPublishDeadlineMs() int64 { if x != nil { return x.PublishDeadlineMs } return 0 } func (x *SeatState) GetMicSessionRoomVersion() int64 { if x != nil { return x.MicSessionRoomVersion } return 0 } func (x *SeatState) GetLastPublishEventTimeMs() int64 { if x != nil { return x.LastPublishEventTimeMs } return 0 } func (x *SeatState) GetMicMuted() bool { if x != nil { return x.MicMuted } return false } func (x *SeatState) GetSeatStatus() string { if x != nil { return x.SeatStatus } return "" } func (x *SeatState) GetMicHeartbeatAtMs() int64 { if x != nil { return x.MicHeartbeatAtMs } return 0 } // RankItem 表达房间内本地礼物榜项目。 type RankItem struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Score int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` GiftValue int64 `protobuf:"varint,3,opt,name=gift_value,json=giftValue,proto3" json:"gift_value,omitempty"` UpdatedAtMs int64 `protobuf:"varint,4,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RankItem) Reset() { *x = RankItem{} mi := &file_proto_room_v1_room_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RankItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*RankItem) ProtoMessage() {} func (x *RankItem) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RankItem.ProtoReflect.Descriptor instead. func (*RankItem) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{5} } func (x *RankItem) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RankItem) GetScore() int64 { if x != nil { return x.Score } return 0 } func (x *RankItem) GetGiftValue() int64 { if x != nil { return x.GiftValue } return 0 } func (x *RankItem) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } // LuckyGiftDrawResult 是 SendGift 同步返回给当前送礼用户的幸运礼物抽奖表现。 type LuckyGiftDrawResult struct { state protoimpl.MessageState `protogen:"open.v1"` Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` DrawId string `protobuf:"bytes,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` PoolId string `protobuf:"bytes,4,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` GiftId string `protobuf:"bytes,5,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` RuleVersion int64 `protobuf:"varint,6,opt,name=rule_version,json=ruleVersion,proto3" json:"rule_version,omitempty"` ExperiencePool string `protobuf:"bytes,7,opt,name=experience_pool,json=experiencePool,proto3" json:"experience_pool,omitempty"` SelectedTierId string `protobuf:"bytes,8,opt,name=selected_tier_id,json=selectedTierId,proto3" json:"selected_tier_id,omitempty"` MultiplierPpm int64 `protobuf:"varint,9,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"` BaseRewardCoins int64 `protobuf:"varint,10,opt,name=base_reward_coins,json=baseRewardCoins,proto3" json:"base_reward_coins,omitempty"` RoomAtmosphereRewardCoins int64 `protobuf:"varint,11,opt,name=room_atmosphere_reward_coins,json=roomAtmosphereRewardCoins,proto3" json:"room_atmosphere_reward_coins,omitempty"` ActivitySubsidyCoins int64 `protobuf:"varint,12,opt,name=activity_subsidy_coins,json=activitySubsidyCoins,proto3" json:"activity_subsidy_coins,omitempty"` EffectiveRewardCoins int64 `protobuf:"varint,13,opt,name=effective_reward_coins,json=effectiveRewardCoins,proto3" json:"effective_reward_coins,omitempty"` RewardStatus string `protobuf:"bytes,14,opt,name=reward_status,json=rewardStatus,proto3" json:"reward_status,omitempty"` StageFeedback bool `protobuf:"varint,15,opt,name=stage_feedback,json=stageFeedback,proto3" json:"stage_feedback,omitempty"` HighMultiplier bool `protobuf:"varint,16,opt,name=high_multiplier,json=highMultiplier,proto3" json:"high_multiplier,omitempty"` CreatedAtMs int64 `protobuf:"varint,17,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` WalletTransactionId string `protobuf:"bytes,18,opt,name=wallet_transaction_id,json=walletTransactionId,proto3" json:"wallet_transaction_id,omitempty"` CoinBalanceAfter int64 `protobuf:"varint,19,opt,name=coin_balance_after,json=coinBalanceAfter,proto3" json:"coin_balance_after,omitempty"` // target_user_id 是本次幸运礼物抽奖对应的收礼用户;多目标送礼用它关联结果。 TargetUserId int64 `protobuf:"varint,20,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftDrawResult) Reset() { *x = LuckyGiftDrawResult{} mi := &file_proto_room_v1_room_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftDrawResult) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftDrawResult) ProtoMessage() {} func (x *LuckyGiftDrawResult) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LuckyGiftDrawResult.ProtoReflect.Descriptor instead. func (*LuckyGiftDrawResult) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{6} } func (x *LuckyGiftDrawResult) GetEnabled() bool { if x != nil { return x.Enabled } return false } func (x *LuckyGiftDrawResult) GetDrawId() string { if x != nil { return x.DrawId } return "" } func (x *LuckyGiftDrawResult) GetCommandId() string { if x != nil { return x.CommandId } return "" } func (x *LuckyGiftDrawResult) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *LuckyGiftDrawResult) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *LuckyGiftDrawResult) GetRuleVersion() int64 { if x != nil { return x.RuleVersion } return 0 } func (x *LuckyGiftDrawResult) GetExperiencePool() string { if x != nil { return x.ExperiencePool } return "" } func (x *LuckyGiftDrawResult) GetSelectedTierId() string { if x != nil { return x.SelectedTierId } return "" } func (x *LuckyGiftDrawResult) GetMultiplierPpm() int64 { if x != nil { return x.MultiplierPpm } return 0 } func (x *LuckyGiftDrawResult) GetBaseRewardCoins() int64 { if x != nil { return x.BaseRewardCoins } return 0 } func (x *LuckyGiftDrawResult) GetRoomAtmosphereRewardCoins() int64 { if x != nil { return x.RoomAtmosphereRewardCoins } return 0 } func (x *LuckyGiftDrawResult) GetActivitySubsidyCoins() int64 { if x != nil { return x.ActivitySubsidyCoins } return 0 } func (x *LuckyGiftDrawResult) GetEffectiveRewardCoins() int64 { if x != nil { return x.EffectiveRewardCoins } return 0 } func (x *LuckyGiftDrawResult) GetRewardStatus() string { if x != nil { return x.RewardStatus } return "" } func (x *LuckyGiftDrawResult) GetStageFeedback() bool { if x != nil { return x.StageFeedback } return false } func (x *LuckyGiftDrawResult) GetHighMultiplier() bool { if x != nil { return x.HighMultiplier } return false } func (x *LuckyGiftDrawResult) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *LuckyGiftDrawResult) GetWalletTransactionId() string { if x != nil { return x.WalletTransactionId } return "" } func (x *LuckyGiftDrawResult) GetCoinBalanceAfter() int64 { if x != nil { return x.CoinBalanceAfter } return 0 } func (x *LuckyGiftDrawResult) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } // RoomTreasureRewardItem 是后台配置给客户端展示的宝箱奖励候选项。 type RoomTreasureRewardItem struct { state protoimpl.MessageState `protogen:"open.v1"` RewardItemId string `protobuf:"bytes,1,opt,name=reward_item_id,json=rewardItemId,proto3" json:"reward_item_id,omitempty"` ResourceGroupId int64 `protobuf:"varint,2,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"` Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` IconUrl string `protobuf:"bytes,5,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomTreasureRewardItem) Reset() { *x = RoomTreasureRewardItem{} mi := &file_proto_room_v1_room_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomTreasureRewardItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomTreasureRewardItem) ProtoMessage() {} func (x *RoomTreasureRewardItem) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomTreasureRewardItem.ProtoReflect.Descriptor instead. func (*RoomTreasureRewardItem) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{7} } func (x *RoomTreasureRewardItem) GetRewardItemId() string { if x != nil { return x.RewardItemId } return "" } func (x *RoomTreasureRewardItem) GetResourceGroupId() int64 { if x != nil { return x.ResourceGroupId } return 0 } func (x *RoomTreasureRewardItem) GetWeight() int64 { if x != nil { return x.Weight } return 0 } func (x *RoomTreasureRewardItem) GetDisplayName() string { if x != nil { return x.DisplayName } return "" } func (x *RoomTreasureRewardItem) GetIconUrl() string { if x != nil { return x.IconUrl } return "" } // RoomTreasureLevel 暴露单个等级宝箱的物料、阈值和三类奖励池。 type RoomTreasureLevel struct { state protoimpl.MessageState `protogen:"open.v1"` Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` EnergyThreshold int64 `protobuf:"varint,2,opt,name=energy_threshold,json=energyThreshold,proto3" json:"energy_threshold,omitempty"` CoverUrl string `protobuf:"bytes,3,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` AnimationUrl string `protobuf:"bytes,4,opt,name=animation_url,json=animationUrl,proto3" json:"animation_url,omitempty"` OpeningAnimationUrl string `protobuf:"bytes,5,opt,name=opening_animation_url,json=openingAnimationUrl,proto3" json:"opening_animation_url,omitempty"` OpenedImageUrl string `protobuf:"bytes,6,opt,name=opened_image_url,json=openedImageUrl,proto3" json:"opened_image_url,omitempty"` InRoomRewards []*RoomTreasureRewardItem `protobuf:"bytes,7,rep,name=in_room_rewards,json=inRoomRewards,proto3" json:"in_room_rewards,omitempty"` Top1Rewards []*RoomTreasureRewardItem `protobuf:"bytes,8,rep,name=top1_rewards,json=top1Rewards,proto3" json:"top1_rewards,omitempty"` IgniterRewards []*RoomTreasureRewardItem `protobuf:"bytes,9,rep,name=igniter_rewards,json=igniterRewards,proto3" json:"igniter_rewards,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomTreasureLevel) Reset() { *x = RoomTreasureLevel{} mi := &file_proto_room_v1_room_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomTreasureLevel) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomTreasureLevel) ProtoMessage() {} func (x *RoomTreasureLevel) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomTreasureLevel.ProtoReflect.Descriptor instead. func (*RoomTreasureLevel) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{8} } func (x *RoomTreasureLevel) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *RoomTreasureLevel) GetEnergyThreshold() int64 { if x != nil { return x.EnergyThreshold } return 0 } func (x *RoomTreasureLevel) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *RoomTreasureLevel) GetAnimationUrl() string { if x != nil { return x.AnimationUrl } return "" } func (x *RoomTreasureLevel) GetOpeningAnimationUrl() string { if x != nil { return x.OpeningAnimationUrl } return "" } func (x *RoomTreasureLevel) GetOpenedImageUrl() string { if x != nil { return x.OpenedImageUrl } return "" } func (x *RoomTreasureLevel) GetInRoomRewards() []*RoomTreasureRewardItem { if x != nil { return x.InRoomRewards } return nil } func (x *RoomTreasureLevel) GetTop1Rewards() []*RoomTreasureRewardItem { if x != nil { return x.Top1Rewards } return nil } func (x *RoomTreasureLevel) GetIgniterRewards() []*RoomTreasureRewardItem { if x != nil { return x.IgniterRewards } return nil } // RoomTreasureRewardGrant 是一次宝箱打开后给某个用户结算出的具体奖励。 type RoomTreasureRewardGrant struct { state protoimpl.MessageState `protogen:"open.v1"` RewardRole string `protobuf:"bytes,1,opt,name=reward_role,json=rewardRole,proto3" json:"reward_role,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RewardItemId string `protobuf:"bytes,3,opt,name=reward_item_id,json=rewardItemId,proto3" json:"reward_item_id,omitempty"` ResourceGroupId int64 `protobuf:"varint,4,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"` DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` IconUrl string `protobuf:"bytes,6,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` GrantId string `protobuf:"bytes,7,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"` Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomTreasureRewardGrant) Reset() { *x = RoomTreasureRewardGrant{} mi := &file_proto_room_v1_room_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomTreasureRewardGrant) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomTreasureRewardGrant) ProtoMessage() {} func (x *RoomTreasureRewardGrant) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomTreasureRewardGrant.ProtoReflect.Descriptor instead. func (*RoomTreasureRewardGrant) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{9} } func (x *RoomTreasureRewardGrant) GetRewardRole() string { if x != nil { return x.RewardRole } return "" } func (x *RoomTreasureRewardGrant) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RoomTreasureRewardGrant) GetRewardItemId() string { if x != nil { return x.RewardItemId } return "" } func (x *RoomTreasureRewardGrant) GetResourceGroupId() int64 { if x != nil { return x.ResourceGroupId } return 0 } func (x *RoomTreasureRewardGrant) GetDisplayName() string { if x != nil { return x.DisplayName } return "" } func (x *RoomTreasureRewardGrant) GetIconUrl() string { if x != nil { return x.IconUrl } return "" } func (x *RoomTreasureRewardGrant) GetGrantId() string { if x != nil { return x.GrantId } return "" } func (x *RoomTreasureRewardGrant) GetStatus() string { if x != nil { return x.Status } return "" } // RoomTreasureState 是 Room Cell 持有并随快照恢复的当前宝箱状态。 type RoomTreasureState struct { state protoimpl.MessageState `protogen:"open.v1"` CurrentLevel int32 `protobuf:"varint,1,opt,name=current_level,json=currentLevel,proto3" json:"current_level,omitempty"` CurrentProgress int64 `protobuf:"varint,2,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"` EnergyThreshold int64 `protobuf:"varint,3,opt,name=energy_threshold,json=energyThreshold,proto3" json:"energy_threshold,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` CountdownStartedAtMs int64 `protobuf:"varint,5,opt,name=countdown_started_at_ms,json=countdownStartedAtMs,proto3" json:"countdown_started_at_ms,omitempty"` OpenAtMs int64 `protobuf:"varint,6,opt,name=open_at_ms,json=openAtMs,proto3" json:"open_at_ms,omitempty"` OpenedAtMs int64 `protobuf:"varint,7,opt,name=opened_at_ms,json=openedAtMs,proto3" json:"opened_at_ms,omitempty"` ResetAtMs int64 `protobuf:"varint,8,opt,name=reset_at_ms,json=resetAtMs,proto3" json:"reset_at_ms,omitempty"` Top1UserId int64 `protobuf:"varint,9,opt,name=top1_user_id,json=top1UserId,proto3" json:"top1_user_id,omitempty"` IgniterUserId int64 `protobuf:"varint,10,opt,name=igniter_user_id,json=igniterUserId,proto3" json:"igniter_user_id,omitempty"` BoxId string `protobuf:"bytes,11,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"` ConfigVersion int64 `protobuf:"varint,12,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` LastRewards []*RoomTreasureRewardGrant `protobuf:"bytes,13,rep,name=last_rewards,json=lastRewards,proto3" json:"last_rewards,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomTreasureState) Reset() { *x = RoomTreasureState{} mi := &file_proto_room_v1_room_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomTreasureState) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomTreasureState) ProtoMessage() {} func (x *RoomTreasureState) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomTreasureState.ProtoReflect.Descriptor instead. func (*RoomTreasureState) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{10} } func (x *RoomTreasureState) GetCurrentLevel() int32 { if x != nil { return x.CurrentLevel } return 0 } func (x *RoomTreasureState) GetCurrentProgress() int64 { if x != nil { return x.CurrentProgress } return 0 } func (x *RoomTreasureState) GetEnergyThreshold() int64 { if x != nil { return x.EnergyThreshold } return 0 } func (x *RoomTreasureState) GetStatus() string { if x != nil { return x.Status } return "" } func (x *RoomTreasureState) GetCountdownStartedAtMs() int64 { if x != nil { return x.CountdownStartedAtMs } return 0 } func (x *RoomTreasureState) GetOpenAtMs() int64 { if x != nil { return x.OpenAtMs } return 0 } func (x *RoomTreasureState) GetOpenedAtMs() int64 { if x != nil { return x.OpenedAtMs } return 0 } func (x *RoomTreasureState) GetResetAtMs() int64 { if x != nil { return x.ResetAtMs } return 0 } func (x *RoomTreasureState) GetTop1UserId() int64 { if x != nil { return x.Top1UserId } return 0 } func (x *RoomTreasureState) GetIgniterUserId() int64 { if x != nil { return x.IgniterUserId } return 0 } func (x *RoomTreasureState) GetBoxId() string { if x != nil { return x.BoxId } return "" } func (x *RoomTreasureState) GetConfigVersion() int64 { if x != nil { return x.ConfigVersion } return 0 } func (x *RoomTreasureState) GetLastRewards() []*RoomTreasureRewardGrant { if x != nil { return x.LastRewards } return nil } // RoomTreasureInfo 是 App 初始化宝箱 UI 的完整读模型。 type RoomTreasureInfo struct { state protoimpl.MessageState `protogen:"open.v1"` Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Levels []*RoomTreasureLevel `protobuf:"bytes,2,rep,name=levels,proto3" json:"levels,omitempty"` State *RoomTreasureState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` ServerTimeMs int64 `protobuf:"varint,4,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` BroadcastScope string `protobuf:"bytes,5,opt,name=broadcast_scope,json=broadcastScope,proto3" json:"broadcast_scope,omitempty"` OpenDelayMs int64 `protobuf:"varint,6,opt,name=open_delay_ms,json=openDelayMs,proto3" json:"open_delay_ms,omitempty"` BroadcastDelayMs int64 `protobuf:"varint,7,opt,name=broadcast_delay_ms,json=broadcastDelayMs,proto3" json:"broadcast_delay_ms,omitempty"` RewardStackPolicy string `protobuf:"bytes,8,opt,name=reward_stack_policy,json=rewardStackPolicy,proto3" json:"reward_stack_policy,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomTreasureInfo) Reset() { *x = RoomTreasureInfo{} mi := &file_proto_room_v1_room_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomTreasureInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomTreasureInfo) ProtoMessage() {} func (x *RoomTreasureInfo) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomTreasureInfo.ProtoReflect.Descriptor instead. func (*RoomTreasureInfo) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{11} } func (x *RoomTreasureInfo) GetEnabled() bool { if x != nil { return x.Enabled } return false } func (x *RoomTreasureInfo) GetLevels() []*RoomTreasureLevel { if x != nil { return x.Levels } return nil } func (x *RoomTreasureInfo) GetState() *RoomTreasureState { if x != nil { return x.State } return nil } func (x *RoomTreasureInfo) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } func (x *RoomTreasureInfo) GetBroadcastScope() string { if x != nil { return x.BroadcastScope } return "" } func (x *RoomTreasureInfo) GetOpenDelayMs() int64 { if x != nil { return x.OpenDelayMs } return 0 } func (x *RoomTreasureInfo) GetBroadcastDelayMs() int64 { if x != nil { return x.BroadcastDelayMs } return 0 } func (x *RoomTreasureInfo) GetRewardStackPolicy() string { if x != nil { return x.RewardStackPolicy } return "" } // RoomTreasureGiftEnergyRule 是后台配置的礼物能量覆盖规则。 type RoomTreasureGiftEnergyRule struct { state protoimpl.MessageState `protogen:"open.v1"` RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` GiftId string `protobuf:"bytes,2,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` GiftTypeCode string `protobuf:"bytes,3,opt,name=gift_type_code,json=giftTypeCode,proto3" json:"gift_type_code,omitempty"` MultiplierPpm int64 `protobuf:"varint,4,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"` FixedEnergy int64 `protobuf:"varint,5,opt,name=fixed_energy,json=fixedEnergy,proto3" json:"fixed_energy,omitempty"` Excluded bool `protobuf:"varint,6,opt,name=excluded,proto3" json:"excluded,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomTreasureGiftEnergyRule) Reset() { *x = RoomTreasureGiftEnergyRule{} mi := &file_proto_room_v1_room_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomTreasureGiftEnergyRule) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomTreasureGiftEnergyRule) ProtoMessage() {} func (x *RoomTreasureGiftEnergyRule) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomTreasureGiftEnergyRule.ProtoReflect.Descriptor instead. func (*RoomTreasureGiftEnergyRule) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{12} } func (x *RoomTreasureGiftEnergyRule) GetRuleId() string { if x != nil { return x.RuleId } return "" } func (x *RoomTreasureGiftEnergyRule) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *RoomTreasureGiftEnergyRule) GetGiftTypeCode() string { if x != nil { return x.GiftTypeCode } return "" } func (x *RoomTreasureGiftEnergyRule) GetMultiplierPpm() int64 { if x != nil { return x.MultiplierPpm } return 0 } func (x *RoomTreasureGiftEnergyRule) GetFixedEnergy() int64 { if x != nil { return x.FixedEnergy } return 0 } func (x *RoomTreasureGiftEnergyRule) GetExcluded() bool { if x != nil { return x.Excluded } return false } // AdminRoomTreasureConfig 是后台管理读写的完整宝箱配置。 type AdminRoomTreasureConfig struct { state protoimpl.MessageState `protogen:"open.v1"` AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` ConfigVersion int64 `protobuf:"varint,3,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` EnergySource string `protobuf:"bytes,4,opt,name=energy_source,json=energySource,proto3" json:"energy_source,omitempty"` OpenDelayMs int64 `protobuf:"varint,5,opt,name=open_delay_ms,json=openDelayMs,proto3" json:"open_delay_ms,omitempty"` BroadcastEnabled bool `protobuf:"varint,6,opt,name=broadcast_enabled,json=broadcastEnabled,proto3" json:"broadcast_enabled,omitempty"` BroadcastScope string `protobuf:"bytes,7,opt,name=broadcast_scope,json=broadcastScope,proto3" json:"broadcast_scope,omitempty"` BroadcastDelayMs int64 `protobuf:"varint,8,opt,name=broadcast_delay_ms,json=broadcastDelayMs,proto3" json:"broadcast_delay_ms,omitempty"` RewardStackPolicy string `protobuf:"bytes,9,opt,name=reward_stack_policy,json=rewardStackPolicy,proto3" json:"reward_stack_policy,omitempty"` Levels []*RoomTreasureLevel `protobuf:"bytes,10,rep,name=levels,proto3" json:"levels,omitempty"` GiftEnergyRules []*RoomTreasureGiftEnergyRule `protobuf:"bytes,11,rep,name=gift_energy_rules,json=giftEnergyRules,proto3" json:"gift_energy_rules,omitempty"` UpdatedByAdminId int64 `protobuf:"varint,12,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,omitempty"` CreatedAtMs int64 `protobuf:"varint,13,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` UpdatedAtMs int64 `protobuf:"varint,14,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminRoomTreasureConfig) Reset() { *x = AdminRoomTreasureConfig{} mi := &file_proto_room_v1_room_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminRoomTreasureConfig) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminRoomTreasureConfig) ProtoMessage() {} func (x *AdminRoomTreasureConfig) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminRoomTreasureConfig.ProtoReflect.Descriptor instead. func (*AdminRoomTreasureConfig) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{13} } func (x *AdminRoomTreasureConfig) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *AdminRoomTreasureConfig) GetEnabled() bool { if x != nil { return x.Enabled } return false } func (x *AdminRoomTreasureConfig) GetConfigVersion() int64 { if x != nil { return x.ConfigVersion } return 0 } func (x *AdminRoomTreasureConfig) GetEnergySource() string { if x != nil { return x.EnergySource } return "" } func (x *AdminRoomTreasureConfig) GetOpenDelayMs() int64 { if x != nil { return x.OpenDelayMs } return 0 } func (x *AdminRoomTreasureConfig) GetBroadcastEnabled() bool { if x != nil { return x.BroadcastEnabled } return false } func (x *AdminRoomTreasureConfig) GetBroadcastScope() string { if x != nil { return x.BroadcastScope } return "" } func (x *AdminRoomTreasureConfig) GetBroadcastDelayMs() int64 { if x != nil { return x.BroadcastDelayMs } return 0 } func (x *AdminRoomTreasureConfig) GetRewardStackPolicy() string { if x != nil { return x.RewardStackPolicy } return "" } func (x *AdminRoomTreasureConfig) GetLevels() []*RoomTreasureLevel { if x != nil { return x.Levels } return nil } func (x *AdminRoomTreasureConfig) GetGiftEnergyRules() []*RoomTreasureGiftEnergyRule { if x != nil { return x.GiftEnergyRules } return nil } func (x *AdminRoomTreasureConfig) GetUpdatedByAdminId() int64 { if x != nil { return x.UpdatedByAdminId } return 0 } func (x *AdminRoomTreasureConfig) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *AdminRoomTreasureConfig) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } type AdminGetRoomTreasureConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminGetRoomTreasureConfigRequest) Reset() { *x = AdminGetRoomTreasureConfigRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminGetRoomTreasureConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminGetRoomTreasureConfigRequest) ProtoMessage() {} func (x *AdminGetRoomTreasureConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminGetRoomTreasureConfigRequest.ProtoReflect.Descriptor instead. func (*AdminGetRoomTreasureConfigRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{14} } func (x *AdminGetRoomTreasureConfigRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } type AdminGetRoomTreasureConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Config *AdminRoomTreasureConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminGetRoomTreasureConfigResponse) Reset() { *x = AdminGetRoomTreasureConfigResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminGetRoomTreasureConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminGetRoomTreasureConfigResponse) ProtoMessage() {} func (x *AdminGetRoomTreasureConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminGetRoomTreasureConfigResponse.ProtoReflect.Descriptor instead. func (*AdminGetRoomTreasureConfigResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{15} } func (x *AdminGetRoomTreasureConfigResponse) GetConfig() *AdminRoomTreasureConfig { if x != nil { return x.Config } return nil } func (x *AdminGetRoomTreasureConfigResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminUpdateRoomTreasureConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Config *AdminRoomTreasureConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` AdminId int64 `protobuf:"varint,3,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminUpdateRoomTreasureConfigRequest) Reset() { *x = AdminUpdateRoomTreasureConfigRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminUpdateRoomTreasureConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUpdateRoomTreasureConfigRequest) ProtoMessage() {} func (x *AdminUpdateRoomTreasureConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUpdateRoomTreasureConfigRequest.ProtoReflect.Descriptor instead. func (*AdminUpdateRoomTreasureConfigRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{16} } func (x *AdminUpdateRoomTreasureConfigRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminUpdateRoomTreasureConfigRequest) GetConfig() *AdminRoomTreasureConfig { if x != nil { return x.Config } return nil } func (x *AdminUpdateRoomTreasureConfigRequest) GetAdminId() int64 { if x != nil { return x.AdminId } return 0 } type AdminUpdateRoomTreasureConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Config *AdminRoomTreasureConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminUpdateRoomTreasureConfigResponse) Reset() { *x = AdminUpdateRoomTreasureConfigResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminUpdateRoomTreasureConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUpdateRoomTreasureConfigResponse) ProtoMessage() {} func (x *AdminUpdateRoomTreasureConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUpdateRoomTreasureConfigResponse.ProtoReflect.Descriptor instead. func (*AdminUpdateRoomTreasureConfigResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{17} } func (x *AdminUpdateRoomTreasureConfigResponse) GetConfig() *AdminRoomTreasureConfig { if x != nil { return x.Config } return nil } func (x *AdminUpdateRoomTreasureConfigResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminRoomSeatConfig struct { state protoimpl.MessageState `protogen:"open.v1"` CandidateSeatCounts []int32 `protobuf:"varint,1,rep,packed,name=candidate_seat_counts,json=candidateSeatCounts,proto3" json:"candidate_seat_counts,omitempty"` AllowedSeatCounts []int32 `protobuf:"varint,2,rep,packed,name=allowed_seat_counts,json=allowedSeatCounts,proto3" json:"allowed_seat_counts,omitempty"` DefaultSeatCount int32 `protobuf:"varint,3,opt,name=default_seat_count,json=defaultSeatCount,proto3" json:"default_seat_count,omitempty"` UpdatedAtMs int64 `protobuf:"varint,4,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminRoomSeatConfig) Reset() { *x = AdminRoomSeatConfig{} mi := &file_proto_room_v1_room_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminRoomSeatConfig) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminRoomSeatConfig) ProtoMessage() {} func (x *AdminRoomSeatConfig) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminRoomSeatConfig.ProtoReflect.Descriptor instead. func (*AdminRoomSeatConfig) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{18} } func (x *AdminRoomSeatConfig) GetCandidateSeatCounts() []int32 { if x != nil { return x.CandidateSeatCounts } return nil } func (x *AdminRoomSeatConfig) GetAllowedSeatCounts() []int32 { if x != nil { return x.AllowedSeatCounts } return nil } func (x *AdminRoomSeatConfig) GetDefaultSeatCount() int32 { if x != nil { return x.DefaultSeatCount } return 0 } func (x *AdminRoomSeatConfig) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } type AdminGetRoomSeatConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminGetRoomSeatConfigRequest) Reset() { *x = AdminGetRoomSeatConfigRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminGetRoomSeatConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminGetRoomSeatConfigRequest) ProtoMessage() {} func (x *AdminGetRoomSeatConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminGetRoomSeatConfigRequest.ProtoReflect.Descriptor instead. func (*AdminGetRoomSeatConfigRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{19} } func (x *AdminGetRoomSeatConfigRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } type AdminGetRoomSeatConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Config *AdminRoomSeatConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminGetRoomSeatConfigResponse) Reset() { *x = AdminGetRoomSeatConfigResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminGetRoomSeatConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminGetRoomSeatConfigResponse) ProtoMessage() {} func (x *AdminGetRoomSeatConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminGetRoomSeatConfigResponse.ProtoReflect.Descriptor instead. func (*AdminGetRoomSeatConfigResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{20} } func (x *AdminGetRoomSeatConfigResponse) GetConfig() *AdminRoomSeatConfig { if x != nil { return x.Config } return nil } func (x *AdminGetRoomSeatConfigResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminUpdateRoomSeatConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` AllowedSeatCounts []int32 `protobuf:"varint,2,rep,packed,name=allowed_seat_counts,json=allowedSeatCounts,proto3" json:"allowed_seat_counts,omitempty"` DefaultSeatCount int32 `protobuf:"varint,3,opt,name=default_seat_count,json=defaultSeatCount,proto3" json:"default_seat_count,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminUpdateRoomSeatConfigRequest) Reset() { *x = AdminUpdateRoomSeatConfigRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminUpdateRoomSeatConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUpdateRoomSeatConfigRequest) ProtoMessage() {} func (x *AdminUpdateRoomSeatConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUpdateRoomSeatConfigRequest.ProtoReflect.Descriptor instead. func (*AdminUpdateRoomSeatConfigRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{21} } func (x *AdminUpdateRoomSeatConfigRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminUpdateRoomSeatConfigRequest) GetAllowedSeatCounts() []int32 { if x != nil { return x.AllowedSeatCounts } return nil } func (x *AdminUpdateRoomSeatConfigRequest) GetDefaultSeatCount() int32 { if x != nil { return x.DefaultSeatCount } return 0 } type AdminUpdateRoomSeatConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Config *AdminRoomSeatConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminUpdateRoomSeatConfigResponse) Reset() { *x = AdminUpdateRoomSeatConfigResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminUpdateRoomSeatConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUpdateRoomSeatConfigResponse) ProtoMessage() {} func (x *AdminUpdateRoomSeatConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUpdateRoomSeatConfigResponse.ProtoReflect.Descriptor instead. func (*AdminUpdateRoomSeatConfigResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{22} } func (x *AdminUpdateRoomSeatConfigResponse) GetConfig() *AdminRoomSeatConfig { if x != nil { return x.Config } return nil } func (x *AdminUpdateRoomSeatConfigResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminRoomPinRoom struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` RoomShortId string `protobuf:"bytes,2,opt,name=room_short_id,json=roomShortId,proto3" json:"room_short_id,omitempty"` VisibleRegionId int64 `protobuf:"varint,3,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` OwnerUserId int64 `protobuf:"varint,4,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` CoverUrl string `protobuf:"bytes,6,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminRoomPinRoom) Reset() { *x = AdminRoomPinRoom{} mi := &file_proto_room_v1_room_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminRoomPinRoom) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminRoomPinRoom) ProtoMessage() {} func (x *AdminRoomPinRoom) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminRoomPinRoom.ProtoReflect.Descriptor instead. func (*AdminRoomPinRoom) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{23} } func (x *AdminRoomPinRoom) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *AdminRoomPinRoom) GetRoomShortId() string { if x != nil { return x.RoomShortId } return "" } func (x *AdminRoomPinRoom) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *AdminRoomPinRoom) GetOwnerUserId() int64 { if x != nil { return x.OwnerUserId } return 0 } func (x *AdminRoomPinRoom) GetTitle() string { if x != nil { return x.Title } return "" } func (x *AdminRoomPinRoom) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *AdminRoomPinRoom) GetStatus() string { if x != nil { return x.Status } return "" } type AdminRoomPin struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` VisibleRegionId int64 `protobuf:"varint,2,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` RoomId string `protobuf:"bytes,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Weight int64 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` PinnedAtMs int64 `protobuf:"varint,6,opt,name=pinned_at_ms,json=pinnedAtMs,proto3" json:"pinned_at_ms,omitempty"` ExpiresAtMs int64 `protobuf:"varint,7,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"` CancelledAtMs int64 `protobuf:"varint,8,opt,name=cancelled_at_ms,json=cancelledAtMs,proto3" json:"cancelled_at_ms,omitempty"` CreatedByAdminId uint64 `protobuf:"varint,9,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"` CancelledByAdminId uint64 `protobuf:"varint,10,opt,name=cancelled_by_admin_id,json=cancelledByAdminId,proto3" json:"cancelled_by_admin_id,omitempty"` CreatedAtMs int64 `protobuf:"varint,11,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` UpdatedAtMs int64 `protobuf:"varint,12,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"` Room *AdminRoomPinRoom `protobuf:"bytes,13,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminRoomPin) Reset() { *x = AdminRoomPin{} mi := &file_proto_room_v1_room_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminRoomPin) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminRoomPin) ProtoMessage() {} func (x *AdminRoomPin) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminRoomPin.ProtoReflect.Descriptor instead. func (*AdminRoomPin) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{24} } func (x *AdminRoomPin) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *AdminRoomPin) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *AdminRoomPin) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *AdminRoomPin) GetWeight() int64 { if x != nil { return x.Weight } return 0 } func (x *AdminRoomPin) GetStatus() string { if x != nil { return x.Status } return "" } func (x *AdminRoomPin) GetPinnedAtMs() int64 { if x != nil { return x.PinnedAtMs } return 0 } func (x *AdminRoomPin) GetExpiresAtMs() int64 { if x != nil { return x.ExpiresAtMs } return 0 } func (x *AdminRoomPin) GetCancelledAtMs() int64 { if x != nil { return x.CancelledAtMs } return 0 } func (x *AdminRoomPin) GetCreatedByAdminId() uint64 { if x != nil { return x.CreatedByAdminId } return 0 } func (x *AdminRoomPin) GetCancelledByAdminId() uint64 { if x != nil { return x.CancelledByAdminId } return 0 } func (x *AdminRoomPin) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *AdminRoomPin) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } func (x *AdminRoomPin) GetRoom() *AdminRoomPinRoom { if x != nil { return x.Room } return nil } type AdminListRoomPinsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` VisibleRegionId int64 `protobuf:"varint,6,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminListRoomPinsRequest) Reset() { *x = AdminListRoomPinsRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminListRoomPinsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminListRoomPinsRequest) ProtoMessage() {} func (x *AdminListRoomPinsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminListRoomPinsRequest.ProtoReflect.Descriptor instead. func (*AdminListRoomPinsRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{25} } func (x *AdminListRoomPinsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminListRoomPinsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *AdminListRoomPinsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *AdminListRoomPinsRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *AdminListRoomPinsRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *AdminListRoomPinsRequest) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } type AdminListRoomPinsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Pins []*AdminRoomPin `protobuf:"bytes,1,rep,name=pins,proto3" json:"pins,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminListRoomPinsResponse) Reset() { *x = AdminListRoomPinsResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminListRoomPinsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminListRoomPinsResponse) ProtoMessage() {} func (x *AdminListRoomPinsResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminListRoomPinsResponse.ProtoReflect.Descriptor instead. func (*AdminListRoomPinsResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{26} } func (x *AdminListRoomPinsResponse) GetPins() []*AdminRoomPin { if x != nil { return x.Pins } return nil } func (x *AdminListRoomPinsResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *AdminListRoomPinsResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminCreateRoomPinRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` DurationDays int64 `protobuf:"varint,4,opt,name=duration_days,json=durationDays,proto3" json:"duration_days,omitempty"` AdminId uint64 `protobuf:"varint,5,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminCreateRoomPinRequest) Reset() { *x = AdminCreateRoomPinRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminCreateRoomPinRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminCreateRoomPinRequest) ProtoMessage() {} func (x *AdminCreateRoomPinRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminCreateRoomPinRequest.ProtoReflect.Descriptor instead. func (*AdminCreateRoomPinRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{27} } func (x *AdminCreateRoomPinRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminCreateRoomPinRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *AdminCreateRoomPinRequest) GetWeight() int64 { if x != nil { return x.Weight } return 0 } func (x *AdminCreateRoomPinRequest) GetDurationDays() int64 { if x != nil { return x.DurationDays } return 0 } func (x *AdminCreateRoomPinRequest) GetAdminId() uint64 { if x != nil { return x.AdminId } return 0 } type AdminCreateRoomPinResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Pin *AdminRoomPin `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminCreateRoomPinResponse) Reset() { *x = AdminCreateRoomPinResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminCreateRoomPinResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminCreateRoomPinResponse) ProtoMessage() {} func (x *AdminCreateRoomPinResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminCreateRoomPinResponse.ProtoReflect.Descriptor instead. func (*AdminCreateRoomPinResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{28} } func (x *AdminCreateRoomPinResponse) GetPin() *AdminRoomPin { if x != nil { return x.Pin } return nil } func (x *AdminCreateRoomPinResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminCancelRoomPinRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` PinId int64 `protobuf:"varint,2,opt,name=pin_id,json=pinId,proto3" json:"pin_id,omitempty"` AdminId uint64 `protobuf:"varint,3,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminCancelRoomPinRequest) Reset() { *x = AdminCancelRoomPinRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminCancelRoomPinRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminCancelRoomPinRequest) ProtoMessage() {} func (x *AdminCancelRoomPinRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminCancelRoomPinRequest.ProtoReflect.Descriptor instead. func (*AdminCancelRoomPinRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{29} } func (x *AdminCancelRoomPinRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminCancelRoomPinRequest) GetPinId() int64 { if x != nil { return x.PinId } return 0 } func (x *AdminCancelRoomPinRequest) GetAdminId() uint64 { if x != nil { return x.AdminId } return 0 } type AdminCancelRoomPinResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Pin *AdminRoomPin `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminCancelRoomPinResponse) Reset() { *x = AdminCancelRoomPinResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminCancelRoomPinResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminCancelRoomPinResponse) ProtoMessage() {} func (x *AdminCancelRoomPinResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminCancelRoomPinResponse.ProtoReflect.Descriptor instead. func (*AdminCancelRoomPinResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{30} } func (x *AdminCancelRoomPinResponse) GetPin() *AdminRoomPin { if x != nil { return x.Pin } return nil } func (x *AdminCancelRoomPinResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // RoomBanState 表达单个房间 ban 的治理状态。 type RoomBanState struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ActorUserId int64 `protobuf:"varint,2,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"` CreatedAtMs int64 `protobuf:"varint,3,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` // expires_at_ms 为 0 表示永久 ban;非 0 表示该 UTC 毫秒后可重新进房。 ExpiresAtMs int64 `protobuf:"varint,4,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomBanState) Reset() { *x = RoomBanState{} mi := &file_proto_room_v1_room_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomBanState) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomBanState) ProtoMessage() {} func (x *RoomBanState) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomBanState.ProtoReflect.Descriptor instead. func (*RoomBanState) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{31} } func (x *RoomBanState) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RoomBanState) GetActorUserId() int64 { if x != nil { return x.ActorUserId } return 0 } func (x *RoomBanState) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *RoomBanState) GetExpiresAtMs() int64 { if x != nil { return x.ExpiresAtMs } return 0 } // RoomSnapshot 把 room-service 对外需要暴露的房间投影集中返回。 type RoomSnapshot struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` OwnerUserId int64 `protobuf:"varint,2,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` ChatEnabled bool `protobuf:"varint,6,opt,name=chat_enabled,json=chatEnabled,proto3" json:"chat_enabled,omitempty"` MicSeats []*SeatState `protobuf:"bytes,7,rep,name=mic_seats,json=micSeats,proto3" json:"mic_seats,omitempty"` OnlineUsers []*RoomUser `protobuf:"bytes,8,rep,name=online_users,json=onlineUsers,proto3" json:"online_users,omitempty"` AdminUserIds []int64 `protobuf:"varint,9,rep,packed,name=admin_user_ids,json=adminUserIds,proto3" json:"admin_user_ids,omitempty"` BanUserIds []int64 `protobuf:"varint,10,rep,packed,name=ban_user_ids,json=banUserIds,proto3" json:"ban_user_ids,omitempty"` MuteUserIds []int64 `protobuf:"varint,11,rep,packed,name=mute_user_ids,json=muteUserIds,proto3" json:"mute_user_ids,omitempty"` GiftRank []*RankItem `protobuf:"bytes,12,rep,name=gift_rank,json=giftRank,proto3" json:"gift_rank,omitempty"` RoomExt map[string]string `protobuf:"bytes,13,rep,name=room_ext,json=roomExt,proto3" json:"room_ext,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` Heat int64 `protobuf:"varint,14,opt,name=heat,proto3" json:"heat,omitempty"` Version int64 `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty"` AppCode string `protobuf:"bytes,16,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` RoomShortId string `protobuf:"bytes,17,opt,name=room_short_id,json=roomShortId,proto3" json:"room_short_id,omitempty"` VisibleRegionId int64 `protobuf:"varint,18,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` // locked 只表达房间是否需要入房密码;具体密码哈希不对外映射到 HTTP JSON。 Locked bool `protobuf:"varint,19,opt,name=locked,proto3" json:"locked,omitempty"` // treasure 是语音房宝箱当前状态;配置物料通过 GetRoomTreasure 单独读取,避免快照过大。 Treasure *RoomTreasureState `protobuf:"bytes,20,opt,name=treasure,proto3" json:"treasure,omitempty"` // ban_states 保存 ban 的过期边界;ban_user_ids 仍只服务简单集合判断。 BanStates []*RoomBanState `protobuf:"bytes,21,rep,name=ban_states,json=banStates,proto3" json:"ban_states,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomSnapshot) Reset() { *x = RoomSnapshot{} mi := &file_proto_room_v1_room_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomSnapshot) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomSnapshot) ProtoMessage() {} func (x *RoomSnapshot) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomSnapshot.ProtoReflect.Descriptor instead. func (*RoomSnapshot) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{32} } func (x *RoomSnapshot) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *RoomSnapshot) GetOwnerUserId() int64 { if x != nil { return x.OwnerUserId } return 0 } func (x *RoomSnapshot) GetMode() string { if x != nil { return x.Mode } return "" } func (x *RoomSnapshot) GetStatus() string { if x != nil { return x.Status } return "" } func (x *RoomSnapshot) GetChatEnabled() bool { if x != nil { return x.ChatEnabled } return false } func (x *RoomSnapshot) GetMicSeats() []*SeatState { if x != nil { return x.MicSeats } return nil } func (x *RoomSnapshot) GetOnlineUsers() []*RoomUser { if x != nil { return x.OnlineUsers } return nil } func (x *RoomSnapshot) GetAdminUserIds() []int64 { if x != nil { return x.AdminUserIds } return nil } func (x *RoomSnapshot) GetBanUserIds() []int64 { if x != nil { return x.BanUserIds } return nil } func (x *RoomSnapshot) GetMuteUserIds() []int64 { if x != nil { return x.MuteUserIds } return nil } func (x *RoomSnapshot) GetGiftRank() []*RankItem { if x != nil { return x.GiftRank } return nil } func (x *RoomSnapshot) GetRoomExt() map[string]string { if x != nil { return x.RoomExt } return nil } func (x *RoomSnapshot) GetHeat() int64 { if x != nil { return x.Heat } return 0 } func (x *RoomSnapshot) GetVersion() int64 { if x != nil { return x.Version } return 0 } func (x *RoomSnapshot) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *RoomSnapshot) GetRoomShortId() string { if x != nil { return x.RoomShortId } return "" } func (x *RoomSnapshot) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *RoomSnapshot) GetLocked() bool { if x != nil { return x.Locked } return false } func (x *RoomSnapshot) GetTreasure() *RoomTreasureState { if x != nil { return x.Treasure } return nil } func (x *RoomSnapshot) GetBanStates() []*RoomBanState { if x != nil { return x.BanStates } return nil } // RoomBackgroundImage 是房间维度保存过的背景图素材。 // 保存列表归属于 room-service,当前生效背景仍写入 RoomSnapshot.room_ext["background_url"]。 type RoomBackgroundImage struct { state protoimpl.MessageState `protogen:"open.v1"` BackgroundId int64 `protobuf:"varint,1,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` CreatedByUserId int64 `protobuf:"varint,4,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"` CreatedAtMs int64 `protobuf:"varint,5,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` UpdatedAtMs int64 `protobuf:"varint,6,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomBackgroundImage) Reset() { *x = RoomBackgroundImage{} mi := &file_proto_room_v1_room_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomBackgroundImage) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomBackgroundImage) ProtoMessage() {} func (x *RoomBackgroundImage) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomBackgroundImage.ProtoReflect.Descriptor instead. func (*RoomBackgroundImage) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{33} } func (x *RoomBackgroundImage) GetBackgroundId() int64 { if x != nil { return x.BackgroundId } return 0 } func (x *RoomBackgroundImage) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *RoomBackgroundImage) GetImageUrl() string { if x != nil { return x.ImageUrl } return "" } func (x *RoomBackgroundImage) GetCreatedByUserId() int64 { if x != nil { return x.CreatedByUserId } return 0 } func (x *RoomBackgroundImage) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *RoomBackgroundImage) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } type SaveRoomBackgroundRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SaveRoomBackgroundRequest) Reset() { *x = SaveRoomBackgroundRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SaveRoomBackgroundRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SaveRoomBackgroundRequest) ProtoMessage() {} func (x *SaveRoomBackgroundRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SaveRoomBackgroundRequest.ProtoReflect.Descriptor instead. func (*SaveRoomBackgroundRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{34} } func (x *SaveRoomBackgroundRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SaveRoomBackgroundRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *SaveRoomBackgroundRequest) GetImageUrl() string { if x != nil { return x.ImageUrl } return "" } type SaveRoomBackgroundResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Background *RoomBackgroundImage `protobuf:"bytes,1,opt,name=background,proto3" json:"background,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SaveRoomBackgroundResponse) Reset() { *x = SaveRoomBackgroundResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SaveRoomBackgroundResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SaveRoomBackgroundResponse) ProtoMessage() {} func (x *SaveRoomBackgroundResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SaveRoomBackgroundResponse.ProtoReflect.Descriptor instead. func (*SaveRoomBackgroundResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{35} } func (x *SaveRoomBackgroundResponse) GetBackground() *RoomBackgroundImage { if x != nil { return x.Background } return nil } func (x *SaveRoomBackgroundResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type ListRoomBackgroundsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ViewerUserId int64 `protobuf:"varint,3,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomBackgroundsRequest) Reset() { *x = ListRoomBackgroundsRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomBackgroundsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomBackgroundsRequest) ProtoMessage() {} func (x *ListRoomBackgroundsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomBackgroundsRequest.ProtoReflect.Descriptor instead. func (*ListRoomBackgroundsRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{36} } func (x *ListRoomBackgroundsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListRoomBackgroundsRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *ListRoomBackgroundsRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } type ListRoomBackgroundsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Backgrounds []*RoomBackgroundImage `protobuf:"bytes,1,rep,name=backgrounds,proto3" json:"backgrounds,omitempty"` SelectedBackgroundUrl string `protobuf:"bytes,2,opt,name=selected_background_url,json=selectedBackgroundUrl,proto3" json:"selected_background_url,omitempty"` ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomBackgroundsResponse) Reset() { *x = ListRoomBackgroundsResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomBackgroundsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomBackgroundsResponse) ProtoMessage() {} func (x *ListRoomBackgroundsResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomBackgroundsResponse.ProtoReflect.Descriptor instead. func (*ListRoomBackgroundsResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{37} } func (x *ListRoomBackgroundsResponse) GetBackgrounds() []*RoomBackgroundImage { if x != nil { return x.Backgrounds } return nil } func (x *ListRoomBackgroundsResponse) GetSelectedBackgroundUrl() string { if x != nil { return x.SelectedBackgroundUrl } return "" } func (x *ListRoomBackgroundsResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type SetRoomBackgroundRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` BackgroundId int64 `protobuf:"varint,2,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetRoomBackgroundRequest) Reset() { *x = SetRoomBackgroundRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetRoomBackgroundRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetRoomBackgroundRequest) ProtoMessage() {} func (x *SetRoomBackgroundRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetRoomBackgroundRequest.ProtoReflect.Descriptor instead. func (*SetRoomBackgroundRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{38} } func (x *SetRoomBackgroundRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SetRoomBackgroundRequest) GetBackgroundId() int64 { if x != nil { return x.BackgroundId } return 0 } type SetRoomBackgroundResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` Background *RoomBackgroundImage `protobuf:"bytes,3,opt,name=background,proto3" json:"background,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetRoomBackgroundResponse) Reset() { *x = SetRoomBackgroundResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetRoomBackgroundResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetRoomBackgroundResponse) ProtoMessage() {} func (x *SetRoomBackgroundResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetRoomBackgroundResponse.ProtoReflect.Descriptor instead. func (*SetRoomBackgroundResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{39} } func (x *SetRoomBackgroundResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SetRoomBackgroundResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *SetRoomBackgroundResponse) GetBackground() *RoomBackgroundImage { if x != nil { return x.Background } return nil } // CreateRoomRequest 创建一个新的房间执行单元。 // 必填语义:meta.room_id、meta.command_id、meta.actor_user_id、mode 和 room_name。 // 同一个 meta.actor_user_id 只能作为 owner 创建一个房间;重复创建返回 Conflict。 type CreateRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // seat_count 为空或 0 时使用后台房间配置默认值;正数必须命中后台启用座位数。 SeatCount int32 `protobuf:"varint,2,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"` // mode 必须非空;当前只作为房间状态字段保存和透出。 Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"` // visible_region_id 由 gateway 按创建者 user-service region_id 填充;0 表示 GLOBAL 兜底列表桶。 VisibleRegionId int64 `protobuf:"varint,4,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` // room_name 是客户端创建房间时填写的展示名称,room-service 会写入 RoomSnapshot.room_ext["title"]。 RoomName string `protobuf:"bytes,5,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // room_avatar 是客户端可选上传的展示头像;为空时 room-service 写入默认系统头像。 RoomAvatar string `protobuf:"bytes,6,opt,name=room_avatar,json=roomAvatar,proto3" json:"room_avatar,omitempty"` // room_description 是房间简介,只作为房间扩展资料保存,不参与 Room Cell 高频状态决策。 RoomDescription string `protobuf:"bytes,7,opt,name=room_description,json=roomDescription,proto3" json:"room_description,omitempty"` // room_short_id 是房间短 ID,首版直接等于创建者当前 default/current display_user_id。 RoomShortId string `protobuf:"bytes,8,opt,name=room_short_id,json=roomShortId,proto3" json:"room_short_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead. func (*CreateRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{40} } func (x *CreateRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *CreateRoomRequest) GetSeatCount() int32 { if x != nil { return x.SeatCount } return 0 } func (x *CreateRoomRequest) GetMode() string { if x != nil { return x.Mode } return "" } func (x *CreateRoomRequest) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *CreateRoomRequest) GetRoomName() string { if x != nil { return x.RoomName } return "" } func (x *CreateRoomRequest) GetRoomAvatar() string { if x != nil { return x.RoomAvatar } return "" } func (x *CreateRoomRequest) GetRoomDescription() string { if x != nil { return x.RoomDescription } return "" } func (x *CreateRoomRequest) GetRoomShortId() string { if x != nil { return x.RoomShortId } return "" } // CreateRoomResponse 返回新建后的房间快照。 type CreateRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateRoomResponse) Reset() { *x = CreateRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateRoomResponse) ProtoMessage() {} func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateRoomResponse.ProtoReflect.Descriptor instead. func (*CreateRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{41} } func (x *CreateRoomResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *CreateRoomResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // UpdateRoomProfileRequest 修改房间展示资料和麦位数量。 // 该命令只允许当前在房间 presence 内的 owner 执行,座位数必须命中后台启用配置。 type UpdateRoomProfileRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomName *string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3,oneof" json:"room_name,omitempty"` RoomAvatar *string `protobuf:"bytes,3,opt,name=room_avatar,json=roomAvatar,proto3,oneof" json:"room_avatar,omitempty"` RoomDescription *string `protobuf:"bytes,4,opt,name=room_description,json=roomDescription,proto3,oneof" json:"room_description,omitempty"` SeatCount *int32 `protobuf:"varint,5,opt,name=seat_count,json=seatCount,proto3,oneof" json:"seat_count,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateRoomProfileRequest) Reset() { *x = UpdateRoomProfileRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateRoomProfileRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateRoomProfileRequest) ProtoMessage() {} func (x *UpdateRoomProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateRoomProfileRequest.ProtoReflect.Descriptor instead. func (*UpdateRoomProfileRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{42} } func (x *UpdateRoomProfileRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *UpdateRoomProfileRequest) GetRoomName() string { if x != nil && x.RoomName != nil { return *x.RoomName } return "" } func (x *UpdateRoomProfileRequest) GetRoomAvatar() string { if x != nil && x.RoomAvatar != nil { return *x.RoomAvatar } return "" } func (x *UpdateRoomProfileRequest) GetRoomDescription() string { if x != nil && x.RoomDescription != nil { return *x.RoomDescription } return "" } func (x *UpdateRoomProfileRequest) GetSeatCount() int32 { if x != nil && x.SeatCount != nil { return *x.SeatCount } return 0 } // UpdateRoomProfileResponse 返回修改后的最新房间快照。 type UpdateRoomProfileResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateRoomProfileResponse) Reset() { *x = UpdateRoomProfileResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateRoomProfileResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateRoomProfileResponse) ProtoMessage() {} func (x *UpdateRoomProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateRoomProfileResponse.ProtoReflect.Descriptor instead. func (*UpdateRoomProfileResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{43} } func (x *UpdateRoomProfileResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *UpdateRoomProfileResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // JoinRoomRequest 把用户 presence 接入房间业务态。 type RoomEntryVehicleSnapshot struct { state protoimpl.MessageState `protogen:"open.v1"` ResourceId int64 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ResourceCode string `protobuf:"bytes,2,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` AssetUrl string `protobuf:"bytes,4,opt,name=asset_url,json=assetUrl,proto3" json:"asset_url,omitempty"` PreviewUrl string `protobuf:"bytes,5,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"` AnimationUrl string `protobuf:"bytes,6,opt,name=animation_url,json=animationUrl,proto3" json:"animation_url,omitempty"` MetadataJson string `protobuf:"bytes,7,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"` EntitlementId string `protobuf:"bytes,8,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"` ExpiresAtMs int64 `protobuf:"varint,9,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomEntryVehicleSnapshot) Reset() { *x = RoomEntryVehicleSnapshot{} mi := &file_proto_room_v1_room_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomEntryVehicleSnapshot) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomEntryVehicleSnapshot) ProtoMessage() {} func (x *RoomEntryVehicleSnapshot) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomEntryVehicleSnapshot.ProtoReflect.Descriptor instead. func (*RoomEntryVehicleSnapshot) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{44} } func (x *RoomEntryVehicleSnapshot) GetResourceId() int64 { if x != nil { return x.ResourceId } return 0 } func (x *RoomEntryVehicleSnapshot) GetResourceCode() string { if x != nil { return x.ResourceCode } return "" } func (x *RoomEntryVehicleSnapshot) GetName() string { if x != nil { return x.Name } return "" } func (x *RoomEntryVehicleSnapshot) GetAssetUrl() string { if x != nil { return x.AssetUrl } return "" } func (x *RoomEntryVehicleSnapshot) GetPreviewUrl() string { if x != nil { return x.PreviewUrl } return "" } func (x *RoomEntryVehicleSnapshot) GetAnimationUrl() string { if x != nil { return x.AnimationUrl } return "" } func (x *RoomEntryVehicleSnapshot) GetMetadataJson() string { if x != nil { return x.MetadataJson } return "" } func (x *RoomEntryVehicleSnapshot) GetEntitlementId() string { if x != nil { return x.EntitlementId } return "" } func (x *RoomEntryVehicleSnapshot) GetExpiresAtMs() int64 { if x != nil { return x.ExpiresAtMs } return 0 } type JoinRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // password 只用于本次入房校验;room-service 不把明文写入 command log 或快照。 Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` EntryVehicle *RoomEntryVehicleSnapshot `protobuf:"bytes,4,opt,name=entry_vehicle,json=entryVehicle,proto3" json:"entry_vehicle,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *JoinRoomRequest) Reset() { *x = JoinRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *JoinRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*JoinRoomRequest) ProtoMessage() {} func (x *JoinRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use JoinRoomRequest.ProtoReflect.Descriptor instead. func (*JoinRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{45} } func (x *JoinRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *JoinRoomRequest) GetRole() string { if x != nil { return x.Role } return "" } func (x *JoinRoomRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *JoinRoomRequest) GetEntryVehicle() *RoomEntryVehicleSnapshot { if x != nil { return x.EntryVehicle } return nil } // JoinRoomResponse 返回加入后的房间快照。 type JoinRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` User *RoomUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *JoinRoomResponse) Reset() { *x = JoinRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *JoinRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*JoinRoomResponse) ProtoMessage() {} func (x *JoinRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use JoinRoomResponse.ProtoReflect.Descriptor instead. func (*JoinRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{46} } func (x *JoinRoomResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *JoinRoomResponse) GetUser() *RoomUser { if x != nil { return x.User } return nil } func (x *JoinRoomResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // RoomHeartbeatRequest 显式刷新已经存在的房间业务 presence。 // 它不能替代 JoinRoom;用户不在房间时必须拒绝,避免心跳把已离开的用户重新加入房间。 type RoomHeartbeatRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomHeartbeatRequest) Reset() { *x = RoomHeartbeatRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomHeartbeatRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomHeartbeatRequest) ProtoMessage() {} func (x *RoomHeartbeatRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomHeartbeatRequest.ProtoReflect.Descriptor instead. func (*RoomHeartbeatRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{47} } func (x *RoomHeartbeatRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } // RoomHeartbeatResponse 返回刷新后的用户 presence 和房间快照。 type RoomHeartbeatResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` User *RoomUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomHeartbeatResponse) Reset() { *x = RoomHeartbeatResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomHeartbeatResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomHeartbeatResponse) ProtoMessage() {} func (x *RoomHeartbeatResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomHeartbeatResponse.ProtoReflect.Descriptor instead. func (*RoomHeartbeatResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{48} } func (x *RoomHeartbeatResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *RoomHeartbeatResponse) GetUser() *RoomUser { if x != nil { return x.User } return nil } func (x *RoomHeartbeatResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // LeaveRoomRequest 把用户从房间 presence 移出。 type LeaveRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LeaveRoomRequest) Reset() { *x = LeaveRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LeaveRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*LeaveRoomRequest) ProtoMessage() {} func (x *LeaveRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LeaveRoomRequest.ProtoReflect.Descriptor instead. func (*LeaveRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{49} } func (x *LeaveRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } // LeaveRoomResponse 返回离房后的房间快照。 type LeaveRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LeaveRoomResponse) Reset() { *x = LeaveRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LeaveRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*LeaveRoomResponse) ProtoMessage() {} func (x *LeaveRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LeaveRoomResponse.ProtoReflect.Descriptor instead. func (*LeaveRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{50} } func (x *LeaveRoomResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *LeaveRoomResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // CloseRoomRequest 关闭房间并清理业务 presence 和麦位。 type CloseRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CloseRoomRequest) Reset() { *x = CloseRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CloseRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CloseRoomRequest) ProtoMessage() {} func (x *CloseRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CloseRoomRequest.ProtoReflect.Descriptor instead. func (*CloseRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{51} } func (x *CloseRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *CloseRoomRequest) GetReason() string { if x != nil { return x.Reason } return "" } // CloseRoomResponse 返回关闭后的房间快照。 type CloseRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CloseRoomResponse) Reset() { *x = CloseRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CloseRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CloseRoomResponse) ProtoMessage() {} func (x *CloseRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CloseRoomResponse.ProtoReflect.Descriptor instead. func (*CloseRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{52} } func (x *CloseRoomResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *CloseRoomResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // AdminRoomListItem 是后台房间管理卡片;它来自 room-service owner 读模型,不允许后台直连房间库。 type AdminRoomListItem struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` RoomShortId string `protobuf:"bytes,2,opt,name=room_short_id,json=roomShortId,proto3" json:"room_short_id,omitempty"` VisibleRegionId int64 `protobuf:"varint,3,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` OwnerUserId int64 `protobuf:"varint,4,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` CoverUrl string `protobuf:"bytes,6,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` Mode string `protobuf:"bytes,7,opt,name=mode,proto3" json:"mode,omitempty"` Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` CloseReason string `protobuf:"bytes,9,opt,name=close_reason,json=closeReason,proto3" json:"close_reason,omitempty"` ClosedByAdminId uint64 `protobuf:"varint,10,opt,name=closed_by_admin_id,json=closedByAdminId,proto3" json:"closed_by_admin_id,omitempty"` ClosedByAdminName string `protobuf:"bytes,11,opt,name=closed_by_admin_name,json=closedByAdminName,proto3" json:"closed_by_admin_name,omitempty"` ClosedAtMs int64 `protobuf:"varint,12,opt,name=closed_at_ms,json=closedAtMs,proto3" json:"closed_at_ms,omitempty"` Heat int64 `protobuf:"varint,13,opt,name=heat,proto3" json:"heat,omitempty"` OnlineCount int32 `protobuf:"varint,14,opt,name=online_count,json=onlineCount,proto3" json:"online_count,omitempty"` SeatCount int32 `protobuf:"varint,15,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"` OccupiedSeatCount int32 `protobuf:"varint,16,opt,name=occupied_seat_count,json=occupiedSeatCount,proto3" json:"occupied_seat_count,omitempty"` SortScore int64 `protobuf:"varint,17,opt,name=sort_score,json=sortScore,proto3" json:"sort_score,omitempty"` CreatedAtMs int64 `protobuf:"varint,18,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` UpdatedAtMs int64 `protobuf:"varint,19,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminRoomListItem) Reset() { *x = AdminRoomListItem{} mi := &file_proto_room_v1_room_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminRoomListItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminRoomListItem) ProtoMessage() {} func (x *AdminRoomListItem) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminRoomListItem.ProtoReflect.Descriptor instead. func (*AdminRoomListItem) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{53} } func (x *AdminRoomListItem) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *AdminRoomListItem) GetRoomShortId() string { if x != nil { return x.RoomShortId } return "" } func (x *AdminRoomListItem) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *AdminRoomListItem) GetOwnerUserId() int64 { if x != nil { return x.OwnerUserId } return 0 } func (x *AdminRoomListItem) GetTitle() string { if x != nil { return x.Title } return "" } func (x *AdminRoomListItem) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *AdminRoomListItem) GetMode() string { if x != nil { return x.Mode } return "" } func (x *AdminRoomListItem) GetStatus() string { if x != nil { return x.Status } return "" } func (x *AdminRoomListItem) GetCloseReason() string { if x != nil { return x.CloseReason } return "" } func (x *AdminRoomListItem) GetClosedByAdminId() uint64 { if x != nil { return x.ClosedByAdminId } return 0 } func (x *AdminRoomListItem) GetClosedByAdminName() string { if x != nil { return x.ClosedByAdminName } return "" } func (x *AdminRoomListItem) GetClosedAtMs() int64 { if x != nil { return x.ClosedAtMs } return 0 } func (x *AdminRoomListItem) GetHeat() int64 { if x != nil { return x.Heat } return 0 } func (x *AdminRoomListItem) GetOnlineCount() int32 { if x != nil { return x.OnlineCount } return 0 } func (x *AdminRoomListItem) GetSeatCount() int32 { if x != nil { return x.SeatCount } return 0 } func (x *AdminRoomListItem) GetOccupiedSeatCount() int32 { if x != nil { return x.OccupiedSeatCount } return 0 } func (x *AdminRoomListItem) GetSortScore() int64 { if x != nil { return x.SortScore } return 0 } func (x *AdminRoomListItem) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *AdminRoomListItem) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } type AdminListRoomsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` VisibleRegionId int64 `protobuf:"varint,6,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` SortBy string `protobuf:"bytes,7,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` SortDirection string `protobuf:"bytes,8,opt,name=sort_direction,json=sortDirection,proto3" json:"sort_direction,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminListRoomsRequest) Reset() { *x = AdminListRoomsRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminListRoomsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminListRoomsRequest) ProtoMessage() {} func (x *AdminListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminListRoomsRequest.ProtoReflect.Descriptor instead. func (*AdminListRoomsRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{54} } func (x *AdminListRoomsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminListRoomsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *AdminListRoomsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *AdminListRoomsRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *AdminListRoomsRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *AdminListRoomsRequest) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *AdminListRoomsRequest) GetSortBy() string { if x != nil { return x.SortBy } return "" } func (x *AdminListRoomsRequest) GetSortDirection() string { if x != nil { return x.SortDirection } return "" } type AdminListRoomsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Rooms []*AdminRoomListItem `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminListRoomsResponse) Reset() { *x = AdminListRoomsResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminListRoomsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminListRoomsResponse) ProtoMessage() {} func (x *AdminListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminListRoomsResponse.ProtoReflect.Descriptor instead. func (*AdminListRoomsResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{55} } func (x *AdminListRoomsResponse) GetRooms() []*AdminRoomListItem { if x != nil { return x.Rooms } return nil } func (x *AdminListRoomsResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *AdminListRoomsResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminGetRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminGetRoomRequest) Reset() { *x = AdminGetRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminGetRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminGetRoomRequest) ProtoMessage() {} func (x *AdminGetRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminGetRoomRequest.ProtoReflect.Descriptor instead. func (*AdminGetRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{56} } func (x *AdminGetRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminGetRoomRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } type AdminGetRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Room *AdminRoomListItem `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminGetRoomResponse) Reset() { *x = AdminGetRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminGetRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminGetRoomResponse) ProtoMessage() {} func (x *AdminGetRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminGetRoomResponse.ProtoReflect.Descriptor instead. func (*AdminGetRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{57} } func (x *AdminGetRoomResponse) GetRoom() *AdminRoomListItem { if x != nil { return x.Room } return nil } func (x *AdminGetRoomResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } type AdminUpdateRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"` CoverUrl *string `protobuf:"bytes,3,opt,name=cover_url,json=coverUrl,proto3,oneof" json:"cover_url,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` Mode *string `protobuf:"bytes,5,opt,name=mode,proto3,oneof" json:"mode,omitempty"` Status *string `protobuf:"bytes,6,opt,name=status,proto3,oneof" json:"status,omitempty"` VisibleRegionId *int64 `protobuf:"varint,7,opt,name=visible_region_id,json=visibleRegionId,proto3,oneof" json:"visible_region_id,omitempty"` CloseReason string `protobuf:"bytes,8,opt,name=close_reason,json=closeReason,proto3" json:"close_reason,omitempty"` AdminId uint64 `protobuf:"varint,9,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` AdminName string `protobuf:"bytes,10,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminUpdateRoomRequest) Reset() { *x = AdminUpdateRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminUpdateRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUpdateRoomRequest) ProtoMessage() {} func (x *AdminUpdateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUpdateRoomRequest.ProtoReflect.Descriptor instead. func (*AdminUpdateRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{58} } func (x *AdminUpdateRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminUpdateRoomRequest) GetTitle() string { if x != nil && x.Title != nil { return *x.Title } return "" } func (x *AdminUpdateRoomRequest) GetCoverUrl() string { if x != nil && x.CoverUrl != nil { return *x.CoverUrl } return "" } func (x *AdminUpdateRoomRequest) GetDescription() string { if x != nil && x.Description != nil { return *x.Description } return "" } func (x *AdminUpdateRoomRequest) GetMode() string { if x != nil && x.Mode != nil { return *x.Mode } return "" } func (x *AdminUpdateRoomRequest) GetStatus() string { if x != nil && x.Status != nil { return *x.Status } return "" } func (x *AdminUpdateRoomRequest) GetVisibleRegionId() int64 { if x != nil && x.VisibleRegionId != nil { return *x.VisibleRegionId } return 0 } func (x *AdminUpdateRoomRequest) GetCloseReason() string { if x != nil { return x.CloseReason } return "" } func (x *AdminUpdateRoomRequest) GetAdminId() uint64 { if x != nil { return x.AdminId } return 0 } func (x *AdminUpdateRoomRequest) GetAdminName() string { if x != nil { return x.AdminName } return "" } type AdminUpdateRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminUpdateRoomResponse) Reset() { *x = AdminUpdateRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminUpdateRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUpdateRoomResponse) ProtoMessage() {} func (x *AdminUpdateRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUpdateRoomResponse.ProtoReflect.Descriptor instead. func (*AdminUpdateRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{59} } func (x *AdminUpdateRoomResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *AdminUpdateRoomResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } type AdminDeleteRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` AdminId uint64 `protobuf:"varint,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` AdminName string `protobuf:"bytes,3,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminDeleteRoomRequest) Reset() { *x = AdminDeleteRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminDeleteRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminDeleteRoomRequest) ProtoMessage() {} func (x *AdminDeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminDeleteRoomRequest.ProtoReflect.Descriptor instead. func (*AdminDeleteRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{60} } func (x *AdminDeleteRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *AdminDeleteRoomRequest) GetAdminId() uint64 { if x != nil { return x.AdminId } return 0 } func (x *AdminDeleteRoomRequest) GetAdminName() string { if x != nil { return x.AdminName } return "" } type AdminDeleteRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminDeleteRoomResponse) Reset() { *x = AdminDeleteRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminDeleteRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminDeleteRoomResponse) ProtoMessage() {} func (x *AdminDeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminDeleteRoomResponse.ProtoReflect.Descriptor instead. func (*AdminDeleteRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{61} } func (x *AdminDeleteRoomResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *AdminDeleteRoomResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // MicUpRequest 申请把用户放到指定麦位。 type MicUpRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MicUpRequest) Reset() { *x = MicUpRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MicUpRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*MicUpRequest) ProtoMessage() {} func (x *MicUpRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MicUpRequest.ProtoReflect.Descriptor instead. func (*MicUpRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{62} } func (x *MicUpRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *MicUpRequest) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } // MicUpResponse 返回最新房间快照与目标麦位。 type MicUpResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` MicSessionId string `protobuf:"bytes,4,opt,name=mic_session_id,json=micSessionId,proto3" json:"mic_session_id,omitempty"` PublishDeadlineMs int64 `protobuf:"varint,5,opt,name=publish_deadline_ms,json=publishDeadlineMs,proto3" json:"publish_deadline_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MicUpResponse) Reset() { *x = MicUpResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MicUpResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*MicUpResponse) ProtoMessage() {} func (x *MicUpResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MicUpResponse.ProtoReflect.Descriptor instead. func (*MicUpResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{63} } func (x *MicUpResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *MicUpResponse) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *MicUpResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *MicUpResponse) GetMicSessionId() string { if x != nil { return x.MicSessionId } return "" } func (x *MicUpResponse) GetPublishDeadlineMs() int64 { if x != nil { return x.PublishDeadlineMs } return 0 } // MicDownRequest 把用户从当前麦位移下。 type MicDownRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` // reason 为空表示主动下麦;系统自动释放麦位时会写入稳定原因,例如 publish_timeout。 Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MicDownRequest) Reset() { *x = MicDownRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MicDownRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*MicDownRequest) ProtoMessage() {} func (x *MicDownRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MicDownRequest.ProtoReflect.Descriptor instead. func (*MicDownRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{64} } func (x *MicDownRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *MicDownRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *MicDownRequest) GetReason() string { if x != nil { return x.Reason } return "" } // MicDownResponse 返回最新房间快照与目标麦位。 type MicDownResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MicDownResponse) Reset() { *x = MicDownResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MicDownResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*MicDownResponse) ProtoMessage() {} func (x *MicDownResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MicDownResponse.ProtoReflect.Descriptor instead. func (*MicDownResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{65} } func (x *MicDownResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *MicDownResponse) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *MicDownResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // ChangeMicSeatRequest 直接调整指定用户所在麦位。 type ChangeMicSeatRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` SeatNo int32 `protobuf:"varint,3,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ChangeMicSeatRequest) Reset() { *x = ChangeMicSeatRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChangeMicSeatRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangeMicSeatRequest) ProtoMessage() {} func (x *ChangeMicSeatRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ChangeMicSeatRequest.ProtoReflect.Descriptor instead. func (*ChangeMicSeatRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{66} } func (x *ChangeMicSeatRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ChangeMicSeatRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *ChangeMicSeatRequest) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } // ChangeMicSeatResponse 返回变更后的房间快照。 type ChangeMicSeatResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ChangeMicSeatResponse) Reset() { *x = ChangeMicSeatResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChangeMicSeatResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangeMicSeatResponse) ProtoMessage() {} func (x *ChangeMicSeatResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ChangeMicSeatResponse.ProtoReflect.Descriptor instead. func (*ChangeMicSeatResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{67} } func (x *ChangeMicSeatResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *ChangeMicSeatResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // ConfirmMicPublishingRequest 确认当前 mic_session 已经在 RTC 侧成功发布音频。 // 客户端 SDK 回调和后续 RTC webhook 都必须带 mic_session_id、room_version 和 event_time_ms。 type ConfirmMicPublishingRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // target_user_id 为空时默认确认 actor_user_id;RTC webhook 入口可显式指定目标用户。 TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` MicSessionId string `protobuf:"bytes,3,opt,name=mic_session_id,json=micSessionId,proto3" json:"mic_session_id,omitempty"` RoomVersion int64 `protobuf:"varint,4,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"` EventTimeMs int64 `protobuf:"varint,5,opt,name=event_time_ms,json=eventTimeMs,proto3" json:"event_time_ms,omitempty"` Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfirmMicPublishingRequest) Reset() { *x = ConfirmMicPublishingRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfirmMicPublishingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfirmMicPublishingRequest) ProtoMessage() {} func (x *ConfirmMicPublishingRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ConfirmMicPublishingRequest.ProtoReflect.Descriptor instead. func (*ConfirmMicPublishingRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{68} } func (x *ConfirmMicPublishingRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ConfirmMicPublishingRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *ConfirmMicPublishingRequest) GetMicSessionId() string { if x != nil { return x.MicSessionId } return "" } func (x *ConfirmMicPublishingRequest) GetRoomVersion() int64 { if x != nil { return x.RoomVersion } return 0 } func (x *ConfirmMicPublishingRequest) GetEventTimeMs() int64 { if x != nil { return x.EventTimeMs } return 0 } func (x *ConfirmMicPublishingRequest) GetSource() string { if x != nil { return x.Source } return "" } // ConfirmMicPublishingResponse 返回确认后的最新房间快照。 type ConfirmMicPublishingResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfirmMicPublishingResponse) Reset() { *x = ConfirmMicPublishingResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfirmMicPublishingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfirmMicPublishingResponse) ProtoMessage() {} func (x *ConfirmMicPublishingResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ConfirmMicPublishingResponse.ProtoReflect.Descriptor instead. func (*ConfirmMicPublishingResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{69} } func (x *ConfirmMicPublishingResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *ConfirmMicPublishingResponse) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *ConfirmMicPublishingResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // MicHeartbeatRequest 刷新当前 publishing 麦位会话的服务端麦上心跳。 type MicHeartbeatRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // target_user_id 为空时默认刷新 actor_user_id 自己的麦上会话。 TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` // mic_session_id 必须匹配当前麦位上的会话,避免旧心跳续住新会话。 MicSessionId string `protobuf:"bytes,3,opt,name=mic_session_id,json=micSessionId,proto3" json:"mic_session_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MicHeartbeatRequest) Reset() { *x = MicHeartbeatRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MicHeartbeatRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*MicHeartbeatRequest) ProtoMessage() {} func (x *MicHeartbeatRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MicHeartbeatRequest.ProtoReflect.Descriptor instead. func (*MicHeartbeatRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{70} } func (x *MicHeartbeatRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *MicHeartbeatRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *MicHeartbeatRequest) GetMicSessionId() string { if x != nil { return x.MicSessionId } return "" } // MicHeartbeatResponse 返回刷新后的麦位和房间快照。 type MicHeartbeatResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` MicHeartbeatAtMs int64 `protobuf:"varint,4,opt,name=mic_heartbeat_at_ms,json=micHeartbeatAtMs,proto3" json:"mic_heartbeat_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MicHeartbeatResponse) Reset() { *x = MicHeartbeatResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MicHeartbeatResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*MicHeartbeatResponse) ProtoMessage() {} func (x *MicHeartbeatResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MicHeartbeatResponse.ProtoReflect.Descriptor instead. func (*MicHeartbeatResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{71} } func (x *MicHeartbeatResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *MicHeartbeatResponse) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *MicHeartbeatResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *MicHeartbeatResponse) GetMicHeartbeatAtMs() int64 { if x != nil { return x.MicHeartbeatAtMs } return 0 } // SetMicMuteRequest 修改麦位上的服务端可见静音态。 type SetMicMuteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // target_user_id 为空时默认修改 actor_user_id 自己的麦克风静音态。 TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` Muted bool `protobuf:"varint,3,opt,name=muted,proto3" json:"muted,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetMicMuteRequest) Reset() { *x = SetMicMuteRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetMicMuteRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetMicMuteRequest) ProtoMessage() {} func (x *SetMicMuteRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetMicMuteRequest.ProtoReflect.Descriptor instead. func (*SetMicMuteRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{72} } func (x *SetMicMuteRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SetMicMuteRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *SetMicMuteRequest) GetMuted() bool { if x != nil { return x.Muted } return false } // SetMicMuteResponse 返回静音态变更后的最新房间快照。 type SetMicMuteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetMicMuteResponse) Reset() { *x = SetMicMuteResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetMicMuteResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetMicMuteResponse) ProtoMessage() {} func (x *SetMicMuteResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetMicMuteResponse.ProtoReflect.Descriptor instead. func (*SetMicMuteResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{73} } func (x *SetMicMuteResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SetMicMuteResponse) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *SetMicMuteResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // ApplyRTCEventRequest 把可信 RTC 服务端回调转换成 Room Cell 命令。 // event_type 当前只接受 audio_started、audio_stopped、room_exited。 type ApplyRTCEventRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` EventTimeMs int64 `protobuf:"varint,4,opt,name=event_time_ms,json=eventTimeMs,proto3" json:"event_time_ms,omitempty"` Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"` ExternalEventId string `protobuf:"bytes,7,opt,name=external_event_id,json=externalEventId,proto3" json:"external_event_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ApplyRTCEventRequest) Reset() { *x = ApplyRTCEventRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ApplyRTCEventRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ApplyRTCEventRequest) ProtoMessage() {} func (x *ApplyRTCEventRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ApplyRTCEventRequest.ProtoReflect.Descriptor instead. func (*ApplyRTCEventRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{74} } func (x *ApplyRTCEventRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ApplyRTCEventRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *ApplyRTCEventRequest) GetEventType() string { if x != nil { return x.EventType } return "" } func (x *ApplyRTCEventRequest) GetEventTimeMs() int64 { if x != nil { return x.EventTimeMs } return 0 } func (x *ApplyRTCEventRequest) GetReason() string { if x != nil { return x.Reason } return "" } func (x *ApplyRTCEventRequest) GetSource() string { if x != nil { return x.Source } return "" } func (x *ApplyRTCEventRequest) GetExternalEventId() string { if x != nil { return x.ExternalEventId } return "" } // ApplyRTCEventResponse 返回 RTC 事件落房间状态后的快照。 type ApplyRTCEventResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ApplyRTCEventResponse) Reset() { *x = ApplyRTCEventResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ApplyRTCEventResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ApplyRTCEventResponse) ProtoMessage() {} func (x *ApplyRTCEventResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ApplyRTCEventResponse.ProtoReflect.Descriptor instead. func (*ApplyRTCEventResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{75} } func (x *ApplyRTCEventResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *ApplyRTCEventResponse) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *ApplyRTCEventResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // SetMicSeatLockRequest 锁定或解锁指定麦位。 type SetMicSeatLockRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetMicSeatLockRequest) Reset() { *x = SetMicSeatLockRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetMicSeatLockRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetMicSeatLockRequest) ProtoMessage() {} func (x *SetMicSeatLockRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetMicSeatLockRequest.ProtoReflect.Descriptor instead. func (*SetMicSeatLockRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{76} } func (x *SetMicSeatLockRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SetMicSeatLockRequest) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *SetMicSeatLockRequest) GetLocked() bool { if x != nil { return x.Locked } return false } // SetMicSeatLockResponse 返回锁麦后的最新房间快照。 type SetMicSeatLockResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetMicSeatLockResponse) Reset() { *x = SetMicSeatLockResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetMicSeatLockResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetMicSeatLockResponse) ProtoMessage() {} func (x *SetMicSeatLockResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetMicSeatLockResponse.ProtoReflect.Descriptor instead. func (*SetMicSeatLockResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{77} } func (x *SetMicSeatLockResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SetMicSeatLockResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // SetChatEnabledRequest 开启或关闭房间公屏。 type SetChatEnabledRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetChatEnabledRequest) Reset() { *x = SetChatEnabledRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetChatEnabledRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetChatEnabledRequest) ProtoMessage() {} func (x *SetChatEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetChatEnabledRequest.ProtoReflect.Descriptor instead. func (*SetChatEnabledRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{78} } func (x *SetChatEnabledRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SetChatEnabledRequest) GetEnabled() bool { if x != nil { return x.Enabled } return false } // SetChatEnabledResponse 返回聊天开关变更后的最新房间快照。 type SetChatEnabledResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetChatEnabledResponse) Reset() { *x = SetChatEnabledResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetChatEnabledResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetChatEnabledResponse) ProtoMessage() {} func (x *SetChatEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetChatEnabledResponse.ProtoReflect.Descriptor instead. func (*SetChatEnabledResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{79} } func (x *SetChatEnabledResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SetChatEnabledResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // SetRoomPasswordRequest 设置或清空房间入房密码。 // locked=true 时 password 必须非空;locked=false 表示清空密码并解除锁房。 type SetRoomPasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetRoomPasswordRequest) Reset() { *x = SetRoomPasswordRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetRoomPasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetRoomPasswordRequest) ProtoMessage() {} func (x *SetRoomPasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetRoomPasswordRequest.ProtoReflect.Descriptor instead. func (*SetRoomPasswordRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{80} } func (x *SetRoomPasswordRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SetRoomPasswordRequest) GetLocked() bool { if x != nil { return x.Locked } return false } func (x *SetRoomPasswordRequest) GetPassword() string { if x != nil { return x.Password } return "" } // SetRoomPasswordResponse 返回锁房状态变更后的最新房间快照。 type SetRoomPasswordResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetRoomPasswordResponse) Reset() { *x = SetRoomPasswordResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetRoomPasswordResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetRoomPasswordResponse) ProtoMessage() {} func (x *SetRoomPasswordResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetRoomPasswordResponse.ProtoReflect.Descriptor instead. func (*SetRoomPasswordResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{81} } func (x *SetRoomPasswordResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SetRoomPasswordResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // SetRoomAdminRequest 添加或移除房间管理员。 type SetRoomAdminRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetRoomAdminRequest) Reset() { *x = SetRoomAdminRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetRoomAdminRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetRoomAdminRequest) ProtoMessage() {} func (x *SetRoomAdminRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetRoomAdminRequest.ProtoReflect.Descriptor instead. func (*SetRoomAdminRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{82} } func (x *SetRoomAdminRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SetRoomAdminRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *SetRoomAdminRequest) GetEnabled() bool { if x != nil { return x.Enabled } return false } // SetRoomAdminResponse 返回管理员集合变更后的最新房间快照。 type SetRoomAdminResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetRoomAdminResponse) Reset() { *x = SetRoomAdminResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetRoomAdminResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetRoomAdminResponse) ProtoMessage() {} func (x *SetRoomAdminResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetRoomAdminResponse.ProtoReflect.Descriptor instead. func (*SetRoomAdminResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{83} } func (x *SetRoomAdminResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SetRoomAdminResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // MuteUserRequest 修改房间内禁言态。 type MuteUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` Muted bool `protobuf:"varint,3,opt,name=muted,proto3" json:"muted,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MuteUserRequest) Reset() { *x = MuteUserRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MuteUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*MuteUserRequest) ProtoMessage() {} func (x *MuteUserRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MuteUserRequest.ProtoReflect.Descriptor instead. func (*MuteUserRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{84} } func (x *MuteUserRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *MuteUserRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *MuteUserRequest) GetMuted() bool { if x != nil { return x.Muted } return false } // MuteUserResponse 返回最新房间快照。 type MuteUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MuteUserResponse) Reset() { *x = MuteUserResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MuteUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*MuteUserResponse) ProtoMessage() {} func (x *MuteUserResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MuteUserResponse.ProtoReflect.Descriptor instead. func (*MuteUserResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{85} } func (x *MuteUserResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *MuteUserResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // KickUserRequest 把指定用户踢出房间。 type KickUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` // duration_ms 为 0 表示永久 ban;大于 0 表示从服务端当前 UTC 时间起禁止进房的时长。 DurationMs int64 `protobuf:"varint,3,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *KickUserRequest) Reset() { *x = KickUserRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *KickUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*KickUserRequest) ProtoMessage() {} func (x *KickUserRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use KickUserRequest.ProtoReflect.Descriptor instead. func (*KickUserRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{86} } func (x *KickUserRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *KickUserRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *KickUserRequest) GetDurationMs() int64 { if x != nil { return x.DurationMs } return 0 } // KickUserResponse 返回最新房间快照。 type KickUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // rtc_kicked 表示 room-service 已通过 TRTC 服务端接口移除目标用户;失败不回滚房间踢人事实。 RtcKicked bool `protobuf:"varint,3,opt,name=rtc_kicked,json=rtcKicked,proto3" json:"rtc_kicked,omitempty"` // rtc_kick_error 仅用于调用方排障和告警,客户端展示仍以统一错误码和房间状态为准。 RtcKickError string `protobuf:"bytes,4,opt,name=rtc_kick_error,json=rtcKickError,proto3" json:"rtc_kick_error,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *KickUserResponse) Reset() { *x = KickUserResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *KickUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*KickUserResponse) ProtoMessage() {} func (x *KickUserResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use KickUserResponse.ProtoReflect.Descriptor instead. func (*KickUserResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{87} } func (x *KickUserResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *KickUserResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *KickUserResponse) GetRtcKicked() bool { if x != nil { return x.RtcKicked } return false } func (x *KickUserResponse) GetRtcKickError() string { if x != nil { return x.RtcKickError } return "" } // UnbanUserRequest 解除房间内 ban,用户仍需重新 JoinRoom。 type UnbanUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnbanUserRequest) Reset() { *x = UnbanUserRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnbanUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnbanUserRequest) ProtoMessage() {} func (x *UnbanUserRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnbanUserRequest.ProtoReflect.Descriptor instead. func (*UnbanUserRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{88} } func (x *UnbanUserRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *UnbanUserRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } // UnbanUserResponse 返回解封后的最新房间快照。 type UnbanUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnbanUserResponse) Reset() { *x = UnbanUserResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnbanUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnbanUserResponse) ProtoMessage() {} func (x *UnbanUserResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnbanUserResponse.ProtoReflect.Descriptor instead. func (*UnbanUserResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{89} } func (x *UnbanUserResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *UnbanUserResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } // SystemEvictUserRequest 是平台级封禁、风控或后台治理触发的系统驱逐入口。 // 该命令仍由 Room Cell 修改房间状态;调用方不能直接写房间 presence 或麦位。 type SystemEvictUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` OperatorUserId int64 `protobuf:"varint,3,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"` Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // ban_from_room 为 true 时把用户加入当前房间 ban 集合,防止同一房间恢复入口重新进入。 BanFromRoom bool `protobuf:"varint,5,opt,name=ban_from_room,json=banFromRoom,proto3" json:"ban_from_room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SystemEvictUserRequest) Reset() { *x = SystemEvictUserRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SystemEvictUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SystemEvictUserRequest) ProtoMessage() {} func (x *SystemEvictUserRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SystemEvictUserRequest.ProtoReflect.Descriptor instead. func (*SystemEvictUserRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{90} } func (x *SystemEvictUserRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SystemEvictUserRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *SystemEvictUserRequest) GetOperatorUserId() int64 { if x != nil { return x.OperatorUserId } return 0 } func (x *SystemEvictUserRequest) GetReason() string { if x != nil { return x.Reason } return "" } func (x *SystemEvictUserRequest) GetBanFromRoom() bool { if x != nil { return x.BanFromRoom } return false } // SystemEvictUserResponse 返回系统驱逐的房间状态和外部 RTC 副作用结果。 type SystemEvictUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` HadCurrentRoom bool `protobuf:"varint,1,opt,name=had_current_room,json=hadCurrentRoom,proto3" json:"had_current_room,omitempty"` Result *CommandResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` Room *RoomSnapshot `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` RtcKicked bool `protobuf:"varint,5,opt,name=rtc_kicked,json=rtcKicked,proto3" json:"rtc_kicked,omitempty"` RtcKickError string `protobuf:"bytes,6,opt,name=rtc_kick_error,json=rtcKickError,proto3" json:"rtc_kick_error,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SystemEvictUserResponse) Reset() { *x = SystemEvictUserResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SystemEvictUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SystemEvictUserResponse) ProtoMessage() {} func (x *SystemEvictUserResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SystemEvictUserResponse.ProtoReflect.Descriptor instead. func (*SystemEvictUserResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{91} } func (x *SystemEvictUserResponse) GetHadCurrentRoom() bool { if x != nil { return x.HadCurrentRoom } return false } func (x *SystemEvictUserResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SystemEvictUserResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *SystemEvictUserResponse) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *SystemEvictUserResponse) GetRtcKicked() bool { if x != nil { return x.RtcKicked } return false } func (x *SystemEvictUserResponse) GetRtcKickError() string { if x != nil { return x.RtcKickError } return "" } // SendGiftRequest 是首版房间内最重要的变现命令。 type SendGiftRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // target_user_id 是兼容旧客户端的单目标字段;新客户端优先使用 target_user_ids。 TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` GiftId string `protobuf:"bytes,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` GiftCount int32 `protobuf:"varint,4,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"` // target_type 当前只提交 user;后续扩展 all_mic、all_room、couple 时不再改 HTTP 契约。 TargetType string `protobuf:"bytes,5,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"` TargetUserIds []int64 `protobuf:"varint,6,rep,packed,name=target_user_ids,json=targetUserIds,proto3" json:"target_user_ids,omitempty"` PoolId string `protobuf:"bytes,7,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // target_is_host 由 gateway 根据 user-service active host profile 注入,room-service 只透传给 wallet-service。 TargetIsHost bool `protobuf:"varint,8,opt,name=target_is_host,json=targetIsHost,proto3" json:"target_is_host,omitempty"` // target_host_region_id 是主播所属区域,后续结算按该区域匹配 Host & Agency 政策。 TargetHostRegionId int64 `protobuf:"varint,9,opt,name=target_host_region_id,json=targetHostRegionId,proto3" json:"target_host_region_id,omitempty"` // target_agency_owner_user_id 是送礼瞬间主播上级代理收款用户;为空表示当前无代理或代理关系不可结算。 TargetAgencyOwnerUserId int64 `protobuf:"varint,10,opt,name=target_agency_owner_user_id,json=targetAgencyOwnerUserId,proto3" json:"target_agency_owner_user_id,omitempty"` // sender_region_id 是 gateway 从 user-service 当前送礼用户资料注入的区域,用于 wallet 匹配礼物钻石比例。 SenderRegionId int64 `protobuf:"varint,11,opt,name=sender_region_id,json=senderRegionId,proto3" json:"sender_region_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendGiftRequest) Reset() { *x = SendGiftRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendGiftRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendGiftRequest) ProtoMessage() {} func (x *SendGiftRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SendGiftRequest.ProtoReflect.Descriptor instead. func (*SendGiftRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{92} } func (x *SendGiftRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *SendGiftRequest) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *SendGiftRequest) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *SendGiftRequest) GetGiftCount() int32 { if x != nil { return x.GiftCount } return 0 } func (x *SendGiftRequest) GetTargetType() string { if x != nil { return x.TargetType } return "" } func (x *SendGiftRequest) GetTargetUserIds() []int64 { if x != nil { return x.TargetUserIds } return nil } func (x *SendGiftRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *SendGiftRequest) GetTargetIsHost() bool { if x != nil { return x.TargetIsHost } return false } func (x *SendGiftRequest) GetTargetHostRegionId() int64 { if x != nil { return x.TargetHostRegionId } return 0 } func (x *SendGiftRequest) GetTargetAgencyOwnerUserId() int64 { if x != nil { return x.TargetAgencyOwnerUserId } return 0 } func (x *SendGiftRequest) GetSenderRegionId() int64 { if x != nil { return x.SenderRegionId } return 0 } // SendGiftResponse 返回扣费成功并落到房间后的状态结果。 type SendGiftResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *CommandResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` BillingReceiptId string `protobuf:"bytes,2,opt,name=billing_receipt_id,json=billingReceiptId,proto3" json:"billing_receipt_id,omitempty"` RoomHeat int64 `protobuf:"varint,3,opt,name=room_heat,json=roomHeat,proto3" json:"room_heat,omitempty"` GiftRank []*RankItem `protobuf:"bytes,4,rep,name=gift_rank,json=giftRank,proto3" json:"gift_rank,omitempty"` Room *RoomSnapshot `protobuf:"bytes,5,opt,name=room,proto3" json:"room,omitempty"` Treasure *RoomTreasureState `protobuf:"bytes,6,opt,name=treasure,proto3" json:"treasure,omitempty"` // lucky_gift 是本次送礼的聚合幸运礼物结果;多目标时倍率和返奖金额按所有目标累加。 LuckyGift *LuckyGiftDrawResult `protobuf:"bytes,7,opt,name=lucky_gift,json=luckyGift,proto3" json:"lucky_gift,omitempty"` // lucky_gifts 是每个收礼目标的独立抽奖结果;多目标客户端用 target_user_id 对齐明细表现。 LuckyGifts []*LuckyGiftDrawResult `protobuf:"bytes,8,rep,name=lucky_gifts,json=luckyGifts,proto3" json:"lucky_gifts,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendGiftResponse) Reset() { *x = SendGiftResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendGiftResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendGiftResponse) ProtoMessage() {} func (x *SendGiftResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SendGiftResponse.ProtoReflect.Descriptor instead. func (*SendGiftResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{93} } func (x *SendGiftResponse) GetResult() *CommandResult { if x != nil { return x.Result } return nil } func (x *SendGiftResponse) GetBillingReceiptId() string { if x != nil { return x.BillingReceiptId } return "" } func (x *SendGiftResponse) GetRoomHeat() int64 { if x != nil { return x.RoomHeat } return 0 } func (x *SendGiftResponse) GetGiftRank() []*RankItem { if x != nil { return x.GiftRank } return nil } func (x *SendGiftResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *SendGiftResponse) GetTreasure() *RoomTreasureState { if x != nil { return x.Treasure } return nil } func (x *SendGiftResponse) GetLuckyGift() *LuckyGiftDrawResult { if x != nil { return x.LuckyGift } return nil } func (x *SendGiftResponse) GetLuckyGifts() []*LuckyGiftDrawResult { if x != nil { return x.LuckyGifts } return nil } // CheckSpeakPermissionRequest 让腾讯云 IM 发言回调或 gateway 在公屏前同步问房间业务态。 type CheckSpeakPermissionRequest struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AppCode string `protobuf:"bytes,3,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckSpeakPermissionRequest) Reset() { *x = CheckSpeakPermissionRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckSpeakPermissionRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckSpeakPermissionRequest) ProtoMessage() {} func (x *CheckSpeakPermissionRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckSpeakPermissionRequest.ProtoReflect.Descriptor instead. func (*CheckSpeakPermissionRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{94} } func (x *CheckSpeakPermissionRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *CheckSpeakPermissionRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *CheckSpeakPermissionRequest) GetAppCode() string { if x != nil { return x.AppCode } return "" } // CheckSpeakPermissionResponse 返回当前用户是否允许发言。 type CheckSpeakPermissionResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` RoomVersion int64 `protobuf:"varint,3,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckSpeakPermissionResponse) Reset() { *x = CheckSpeakPermissionResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckSpeakPermissionResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckSpeakPermissionResponse) ProtoMessage() {} func (x *CheckSpeakPermissionResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckSpeakPermissionResponse.ProtoReflect.Descriptor instead. func (*CheckSpeakPermissionResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{95} } func (x *CheckSpeakPermissionResponse) GetAllowed() bool { if x != nil { return x.Allowed } return false } func (x *CheckSpeakPermissionResponse) GetReason() string { if x != nil { return x.Reason } return "" } func (x *CheckSpeakPermissionResponse) GetRoomVersion() int64 { if x != nil { return x.RoomVersion } return 0 } // VerifyRoomPresenceRequest 让外部 IM 入口在进群前确认用户业务上仍在房间内。 type VerifyRoomPresenceRequest struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` AppCode string `protobuf:"bytes,5,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *VerifyRoomPresenceRequest) Reset() { *x = VerifyRoomPresenceRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *VerifyRoomPresenceRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*VerifyRoomPresenceRequest) ProtoMessage() {} func (x *VerifyRoomPresenceRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use VerifyRoomPresenceRequest.ProtoReflect.Descriptor instead. func (*VerifyRoomPresenceRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{96} } func (x *VerifyRoomPresenceRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *VerifyRoomPresenceRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *VerifyRoomPresenceRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } func (x *VerifyRoomPresenceRequest) GetRequestId() string { if x != nil { return x.RequestId } return "" } func (x *VerifyRoomPresenceRequest) GetAppCode() string { if x != nil { return x.AppCode } return "" } // VerifyRoomPresenceResponse 返回用户是否仍然属于该房间。 type VerifyRoomPresenceResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` RoomVersion int64 `protobuf:"varint,3,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *VerifyRoomPresenceResponse) Reset() { *x = VerifyRoomPresenceResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *VerifyRoomPresenceResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*VerifyRoomPresenceResponse) ProtoMessage() {} func (x *VerifyRoomPresenceResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use VerifyRoomPresenceResponse.ProtoReflect.Descriptor instead. func (*VerifyRoomPresenceResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{97} } func (x *VerifyRoomPresenceResponse) GetPresent() bool { if x != nil { return x.Present } return false } func (x *VerifyRoomPresenceResponse) GetReason() string { if x != nil { return x.Reason } return "" } func (x *VerifyRoomPresenceResponse) GetRoomVersion() int64 { if x != nil { return x.RoomVersion } return 0 } // ListRoomsRequest 查询当前用户所在区域可见的房间列表。 // visible_region_id 必须来自 gateway 对 user-service 的 GetUser 结果,客户端不能直接提交。 type ListRoomsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` ViewerUserId int64 `protobuf:"varint,2,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` VisibleRegionId int64 `protobuf:"varint,3,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` Tab string `protobuf:"bytes,4,opt,name=tab,proto3" json:"tab,omitempty"` Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomsRequest.ProtoReflect.Descriptor instead. func (*ListRoomsRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{98} } func (x *ListRoomsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListRoomsRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } func (x *ListRoomsRequest) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *ListRoomsRequest) GetTab() string { if x != nil { return x.Tab } return "" } func (x *ListRoomsRequest) GetCursor() string { if x != nil { return x.Cursor } return "" } func (x *ListRoomsRequest) GetLimit() int32 { if x != nil { return x.Limit } return 0 } func (x *ListRoomsRequest) GetQuery() string { if x != nil { return x.Query } return "" } // ListRoomFeedsRequest 查询 Mine 页 visited/friend/following/followed 房间流。 // 它和公共房间发现列表分离,避免把用户关系流误建模成房间全集过滤。 type ListRoomFeedsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` ViewerUserId int64 `protobuf:"varint,2,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` VisibleRegionId int64 `protobuf:"varint,3,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` Tab string `protobuf:"bytes,4,opt,name=tab,proto3" json:"tab,omitempty"` Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"` // related_users 只用于 friend/following;关系事实由 gateway 从 user-service 读取后传入。 RelatedUsers []*RoomFeedRelatedUser `protobuf:"bytes,8,rep,name=related_users,json=relatedUsers,proto3" json:"related_users,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomFeedsRequest) Reset() { *x = ListRoomFeedsRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomFeedsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomFeedsRequest) ProtoMessage() {} func (x *ListRoomFeedsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomFeedsRequest.ProtoReflect.Descriptor instead. func (*ListRoomFeedsRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{99} } func (x *ListRoomFeedsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListRoomFeedsRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } func (x *ListRoomFeedsRequest) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *ListRoomFeedsRequest) GetTab() string { if x != nil { return x.Tab } return "" } func (x *ListRoomFeedsRequest) GetCursor() string { if x != nil { return x.Cursor } return "" } func (x *ListRoomFeedsRequest) GetLimit() int32 { if x != nil { return x.Limit } return 0 } func (x *ListRoomFeedsRequest) GetQuery() string { if x != nil { return x.Query } return "" } func (x *ListRoomFeedsRequest) GetRelatedUsers() []*RoomFeedRelatedUser { if x != nil { return x.RelatedUsers } return nil } // ListRoomGiftLeaderboardRequest 查询当前 UTC 周期内的房间金币消耗榜。 type ListRoomGiftLeaderboardRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Period string `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomGiftLeaderboardRequest) Reset() { *x = ListRoomGiftLeaderboardRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomGiftLeaderboardRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomGiftLeaderboardRequest) ProtoMessage() {} func (x *ListRoomGiftLeaderboardRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomGiftLeaderboardRequest.ProtoReflect.Descriptor instead. func (*ListRoomGiftLeaderboardRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{100} } func (x *ListRoomGiftLeaderboardRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListRoomGiftLeaderboardRequest) GetPeriod() string { if x != nil { return x.Period } return "" } func (x *ListRoomGiftLeaderboardRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListRoomGiftLeaderboardRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // RoomFeedRelatedUser 是 Mine 关系房间流的排序输入,不让 room-service 持有好友/关注事实。 type RoomFeedRelatedUser struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RelationUpdatedAtMs int64 `protobuf:"varint,2,opt,name=relation_updated_at_ms,json=relationUpdatedAtMs,proto3" json:"relation_updated_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomFeedRelatedUser) Reset() { *x = RoomFeedRelatedUser{} mi := &file_proto_room_v1_room_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomFeedRelatedUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomFeedRelatedUser) ProtoMessage() {} func (x *RoomFeedRelatedUser) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomFeedRelatedUser.ProtoReflect.Descriptor instead. func (*RoomFeedRelatedUser) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{101} } func (x *RoomFeedRelatedUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RoomFeedRelatedUser) GetRelationUpdatedAtMs() int64 { if x != nil { return x.RelationUpdatedAtMs } return 0 } // RoomListItem 是房间发现页卡片读模型,不承载完整 Room Cell 状态。 type RoomListItem struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` OwnerUserId int64 `protobuf:"varint,2,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` CoverUrl string `protobuf:"bytes,5,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` Heat int64 `protobuf:"varint,8,opt,name=heat,proto3" json:"heat,omitempty"` OnlineCount int32 `protobuf:"varint,9,opt,name=online_count,json=onlineCount,proto3" json:"online_count,omitempty"` SeatCount int32 `protobuf:"varint,10,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"` OccupiedSeatCount int32 `protobuf:"varint,11,opt,name=occupied_seat_count,json=occupiedSeatCount,proto3" json:"occupied_seat_count,omitempty"` VisibleRegionId int64 `protobuf:"varint,12,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` AppCode string `protobuf:"bytes,13,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` RoomShortId string `protobuf:"bytes,14,opt,name=room_short_id,json=roomShortId,proto3" json:"room_short_id,omitempty"` Locked bool `protobuf:"varint,15,opt,name=locked,proto3" json:"locked,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomListItem) Reset() { *x = RoomListItem{} mi := &file_proto_room_v1_room_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomListItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomListItem) ProtoMessage() {} func (x *RoomListItem) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomListItem.ProtoReflect.Descriptor instead. func (*RoomListItem) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{102} } func (x *RoomListItem) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *RoomListItem) GetOwnerUserId() int64 { if x != nil { return x.OwnerUserId } return 0 } func (x *RoomListItem) GetTitle() string { if x != nil { return x.Title } return "" } func (x *RoomListItem) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *RoomListItem) GetMode() string { if x != nil { return x.Mode } return "" } func (x *RoomListItem) GetStatus() string { if x != nil { return x.Status } return "" } func (x *RoomListItem) GetHeat() int64 { if x != nil { return x.Heat } return 0 } func (x *RoomListItem) GetOnlineCount() int32 { if x != nil { return x.OnlineCount } return 0 } func (x *RoomListItem) GetSeatCount() int32 { if x != nil { return x.SeatCount } return 0 } func (x *RoomListItem) GetOccupiedSeatCount() int32 { if x != nil { return x.OccupiedSeatCount } return 0 } func (x *RoomListItem) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *RoomListItem) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *RoomListItem) GetRoomShortId() string { if x != nil { return x.RoomShortId } return "" } func (x *RoomListItem) GetLocked() bool { if x != nil { return x.Locked } return false } // ListRoomsResponse 返回一页房间卡片和下一页不透明 cursor。 type ListRoomsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Rooms []*RoomListItem `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomsResponse.ProtoReflect.Descriptor instead. func (*ListRoomsResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{103} } func (x *ListRoomsResponse) GetRooms() []*RoomListItem { if x != nil { return x.Rooms } return nil } func (x *ListRoomsResponse) GetNextCursor() string { if x != nil { return x.NextCursor } return "" } // RoomGiftLeaderboardItem 是跨房间金币消耗榜卡片;score 只表达该周期房间礼物金币消耗。 type RoomGiftLeaderboardItem struct { state protoimpl.MessageState `protogen:"open.v1"` Rank int64 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` CoinSpent int64 `protobuf:"varint,3,opt,name=coin_spent,json=coinSpent,proto3" json:"coin_spent,omitempty"` Room *RoomListItem `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomGiftLeaderboardItem) Reset() { *x = RoomGiftLeaderboardItem{} mi := &file_proto_room_v1_room_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomGiftLeaderboardItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomGiftLeaderboardItem) ProtoMessage() {} func (x *RoomGiftLeaderboardItem) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomGiftLeaderboardItem.ProtoReflect.Descriptor instead. func (*RoomGiftLeaderboardItem) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{104} } func (x *RoomGiftLeaderboardItem) GetRank() int64 { if x != nil { return x.Rank } return 0 } func (x *RoomGiftLeaderboardItem) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *RoomGiftLeaderboardItem) GetCoinSpent() int64 { if x != nil { return x.CoinSpent } return 0 } func (x *RoomGiftLeaderboardItem) GetRoom() *RoomListItem { if x != nil { return x.Room } return nil } // ListRoomGiftLeaderboardResponse 返回当前 UTC 周期房间金币榜。 type ListRoomGiftLeaderboardResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*RoomGiftLeaderboardItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Period string `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"` StartAtMs int64 `protobuf:"varint,4,opt,name=start_at_ms,json=startAtMs,proto3" json:"start_at_ms,omitempty"` EndAtMs int64 `protobuf:"varint,5,opt,name=end_at_ms,json=endAtMs,proto3" json:"end_at_ms,omitempty"` ServerTimeMs int64 `protobuf:"varint,6,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomGiftLeaderboardResponse) Reset() { *x = ListRoomGiftLeaderboardResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomGiftLeaderboardResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomGiftLeaderboardResponse) ProtoMessage() {} func (x *ListRoomGiftLeaderboardResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomGiftLeaderboardResponse.ProtoReflect.Descriptor instead. func (*ListRoomGiftLeaderboardResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{105} } func (x *ListRoomGiftLeaderboardResponse) GetItems() []*RoomGiftLeaderboardItem { if x != nil { return x.Items } return nil } func (x *ListRoomGiftLeaderboardResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListRoomGiftLeaderboardResponse) GetPeriod() string { if x != nil { return x.Period } return "" } func (x *ListRoomGiftLeaderboardResponse) GetStartAtMs() int64 { if x != nil { return x.StartAtMs } return 0 } func (x *ListRoomGiftLeaderboardResponse) GetEndAtMs() int64 { if x != nil { return x.EndAtMs } return 0 } func (x *ListRoomGiftLeaderboardResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // GetMyRoomRequest 查询当前用户自己创建的房间。 // 该查询必须由 gateway 写入鉴权后的 owner_user_id,不能从客户端接收用户 ID。 type GetMyRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` OwnerUserId int64 `protobuf:"varint,2,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyRoomRequest) Reset() { *x = GetMyRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyRoomRequest) ProtoMessage() {} func (x *GetMyRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetMyRoomRequest.ProtoReflect.Descriptor instead. func (*GetMyRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{106} } func (x *GetMyRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *GetMyRoomRequest) GetOwnerUserId() int64 { if x != nil { return x.OwnerUserId } return 0 } // GetMyRoomResponse 返回 Mine 顶部“我的房间”权威卡片。 // 它直接读取 rooms 元数据并用 Room Cell 快照补充实时卡片字段,不依赖发现页投影是否已经写入。 type GetMyRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` HasRoom bool `protobuf:"varint,1,opt,name=has_room,json=hasRoom,proto3" json:"has_room,omitempty"` Room *RoomListItem `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyRoomResponse) Reset() { *x = GetMyRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyRoomResponse) ProtoMessage() {} func (x *GetMyRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetMyRoomResponse.ProtoReflect.Descriptor instead. func (*GetMyRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{107} } func (x *GetMyRoomResponse) GetHasRoom() bool { if x != nil { return x.HasRoom } return false } func (x *GetMyRoomResponse) GetRoom() *RoomListItem { if x != nil { return x.Room } return nil } func (x *GetMyRoomResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // GetCurrentRoomRequest 查询当前用户是否仍有可恢复的房间 presence。 // 该查询必须由 gateway 写入鉴权后的 user_id,客户端不能提交 user_id。 type GetCurrentRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCurrentRoomRequest) Reset() { *x = GetCurrentRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCurrentRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCurrentRoomRequest) ProtoMessage() {} func (x *GetCurrentRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetCurrentRoomRequest.ProtoReflect.Descriptor instead. func (*GetCurrentRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{108} } func (x *GetCurrentRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *GetCurrentRoomRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } // GetCurrentRoomResponse 是 App 启动、回前台和网络恢复时的房间恢复探测结果。 // 它只表达是否需要恢复,不会隐式 JoinRoom 或刷新 presence。 type GetCurrentRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` HasCurrentRoom bool `protobuf:"varint,1,opt,name=has_current_room,json=hasCurrentRoom,proto3" json:"has_current_room,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` RoomVersion int64 `protobuf:"varint,3,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"` Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` MicSessionId string `protobuf:"bytes,5,opt,name=mic_session_id,json=micSessionId,proto3" json:"mic_session_id,omitempty"` PublishState string `protobuf:"bytes,6,opt,name=publish_state,json=publishState,proto3" json:"publish_state,omitempty"` NeedJoinImGroup bool `protobuf:"varint,7,opt,name=need_join_im_group,json=needJoinImGroup,proto3" json:"need_join_im_group,omitempty"` NeedRtcToken bool `protobuf:"varint,8,opt,name=need_rtc_token,json=needRtcToken,proto3" json:"need_rtc_token,omitempty"` ServerTimeMs int64 `protobuf:"varint,9,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCurrentRoomResponse) Reset() { *x = GetCurrentRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCurrentRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCurrentRoomResponse) ProtoMessage() {} func (x *GetCurrentRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetCurrentRoomResponse.ProtoReflect.Descriptor instead. func (*GetCurrentRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{109} } func (x *GetCurrentRoomResponse) GetHasCurrentRoom() bool { if x != nil { return x.HasCurrentRoom } return false } func (x *GetCurrentRoomResponse) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *GetCurrentRoomResponse) GetRoomVersion() int64 { if x != nil { return x.RoomVersion } return 0 } func (x *GetCurrentRoomResponse) GetRole() string { if x != nil { return x.Role } return "" } func (x *GetCurrentRoomResponse) GetMicSessionId() string { if x != nil { return x.MicSessionId } return "" } func (x *GetCurrentRoomResponse) GetPublishState() string { if x != nil { return x.PublishState } return "" } func (x *GetCurrentRoomResponse) GetNeedJoinImGroup() bool { if x != nil { return x.NeedJoinImGroup } return false } func (x *GetCurrentRoomResponse) GetNeedRtcToken() bool { if x != nil { return x.NeedRtcToken } return false } func (x *GetCurrentRoomResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // GetRoomSnapshotRequest 主动读取当前房间完整快照。 // 该查询必须由 gateway 写入鉴权后的 viewer_user_id,客户端不能提交 viewer_user_id。 type GetRoomSnapshotRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ViewerUserId int64 `protobuf:"varint,3,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetRoomSnapshotRequest) Reset() { *x = GetRoomSnapshotRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRoomSnapshotRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRoomSnapshotRequest) ProtoMessage() {} func (x *GetRoomSnapshotRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetRoomSnapshotRequest.ProtoReflect.Descriptor instead. func (*GetRoomSnapshotRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{110} } func (x *GetRoomSnapshotRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *GetRoomSnapshotRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *GetRoomSnapshotRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } // GetRoomSnapshotResponse 返回 Room Cell 当前快照;只读,不刷新 presence。 type GetRoomSnapshotResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Room *RoomSnapshot `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` // is_followed 表达 viewer 是否已经关注该房间;它来自 room_follows 关系表,不属于 Room Cell 核心快照。 IsFollowed bool `protobuf:"varint,3,opt,name=is_followed,json=isFollowed,proto3" json:"is_followed,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetRoomSnapshotResponse) Reset() { *x = GetRoomSnapshotResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRoomSnapshotResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRoomSnapshotResponse) ProtoMessage() {} func (x *GetRoomSnapshotResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetRoomSnapshotResponse.ProtoReflect.Descriptor instead. func (*GetRoomSnapshotResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{111} } func (x *GetRoomSnapshotResponse) GetRoom() *RoomSnapshot { if x != nil { return x.Room } return nil } func (x *GetRoomSnapshotResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } func (x *GetRoomSnapshotResponse) GetIsFollowed() bool { if x != nil { return x.IsFollowed } return false } // GetRoomTreasureRequest 主动读取当前房间宝箱配置物料和进度状态。 // 该查询必须由 gateway 写入鉴权后的 viewer_user_id,客户端不能提交 viewer_user_id。 type GetRoomTreasureRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ViewerUserId int64 `protobuf:"varint,3,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetRoomTreasureRequest) Reset() { *x = GetRoomTreasureRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRoomTreasureRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRoomTreasureRequest) ProtoMessage() {} func (x *GetRoomTreasureRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetRoomTreasureRequest.ProtoReflect.Descriptor instead. func (*GetRoomTreasureRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{112} } func (x *GetRoomTreasureRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *GetRoomTreasureRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *GetRoomTreasureRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } type GetRoomTreasureResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Treasure *RoomTreasureInfo `protobuf:"bytes,1,opt,name=treasure,proto3" json:"treasure,omitempty"` ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetRoomTreasureResponse) Reset() { *x = GetRoomTreasureResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRoomTreasureResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRoomTreasureResponse) ProtoMessage() {} func (x *GetRoomTreasureResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetRoomTreasureResponse.ProtoReflect.Descriptor instead. func (*GetRoomTreasureResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{113} } func (x *GetRoomTreasureResponse) GetTreasure() *RoomTreasureInfo { if x != nil { return x.Treasure } return nil } func (x *GetRoomTreasureResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // ListRoomOnlineUsersRequest 分页查询房间在线用户,不让客户端拉完整 RoomSnapshot 做列表分页。 type ListRoomOnlineUsersRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ViewerUserId int64 `protobuf:"varint,3,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Sort string `protobuf:"bytes,6,opt,name=sort,proto3" json:"sort,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomOnlineUsersRequest) Reset() { *x = ListRoomOnlineUsersRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomOnlineUsersRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomOnlineUsersRequest) ProtoMessage() {} func (x *ListRoomOnlineUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomOnlineUsersRequest.ProtoReflect.Descriptor instead. func (*ListRoomOnlineUsersRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{114} } func (x *ListRoomOnlineUsersRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListRoomOnlineUsersRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *ListRoomOnlineUsersRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } func (x *ListRoomOnlineUsersRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListRoomOnlineUsersRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListRoomOnlineUsersRequest) GetSort() string { if x != nil { return x.Sort } return "" } type ListRoomOnlineUsersResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Users []*RoomUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` ServerTimeMs int64 `protobuf:"varint,5,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` Items []*RoomOnlineUser `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomOnlineUsersResponse) Reset() { *x = ListRoomOnlineUsersResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomOnlineUsersResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomOnlineUsersResponse) ProtoMessage() {} func (x *ListRoomOnlineUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomOnlineUsersResponse.ProtoReflect.Descriptor instead. func (*ListRoomOnlineUsersResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{115} } func (x *ListRoomOnlineUsersResponse) GetUsers() []*RoomUser { if x != nil { return x.Users } return nil } func (x *ListRoomOnlineUsersResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListRoomOnlineUsersResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListRoomOnlineUsersResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListRoomOnlineUsersResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } func (x *ListRoomOnlineUsersResponse) GetItems() []*RoomOnlineUser { if x != nil { return x.Items } return nil } // RoomBannedUser 是房间黑名单列表的轻量治理读模型;用户展示资料由 gateway 批量补齐。 type RoomBannedUser struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ActorUserId int64 `protobuf:"varint,2,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"` CreatedAtMs int64 `protobuf:"varint,3,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` // unban_at_ms 为 0 表示永久 ban;非 0 表示该 UTC 毫秒后自动允许重新进房。 UnbanAtMs int64 `protobuf:"varint,4,opt,name=unban_at_ms,json=unbanAtMs,proto3" json:"unban_at_ms,omitempty"` RemainingMs int64 `protobuf:"varint,5,opt,name=remaining_ms,json=remainingMs,proto3" json:"remaining_ms,omitempty"` Permanent bool `protobuf:"varint,6,opt,name=permanent,proto3" json:"permanent,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomBannedUser) Reset() { *x = RoomBannedUser{} mi := &file_proto_room_v1_room_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomBannedUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomBannedUser) ProtoMessage() {} func (x *RoomBannedUser) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomBannedUser.ProtoReflect.Descriptor instead. func (*RoomBannedUser) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{116} } func (x *RoomBannedUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RoomBannedUser) GetActorUserId() int64 { if x != nil { return x.ActorUserId } return 0 } func (x *RoomBannedUser) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *RoomBannedUser) GetUnbanAtMs() int64 { if x != nil { return x.UnbanAtMs } return 0 } func (x *RoomBannedUser) GetRemainingMs() int64 { if x != nil { return x.RemainingMs } return 0 } func (x *RoomBannedUser) GetPermanent() bool { if x != nil { return x.Permanent } return false } // ListRoomBannedUsersRequest 分页查询房间当前仍有效的黑名单。 type ListRoomBannedUsersRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ViewerUserId int64 `protobuf:"varint,3,opt,name=viewer_user_id,json=viewerUserId,proto3" json:"viewer_user_id,omitempty"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomBannedUsersRequest) Reset() { *x = ListRoomBannedUsersRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomBannedUsersRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomBannedUsersRequest) ProtoMessage() {} func (x *ListRoomBannedUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomBannedUsersRequest.ProtoReflect.Descriptor instead. func (*ListRoomBannedUsersRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{117} } func (x *ListRoomBannedUsersRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListRoomBannedUsersRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *ListRoomBannedUsersRequest) GetViewerUserId() int64 { if x != nil { return x.ViewerUserId } return 0 } func (x *ListRoomBannedUsersRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListRoomBannedUsersRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } type ListRoomBannedUsersResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*RoomBannedUser `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` ServerTimeMs int64 `protobuf:"varint,5,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListRoomBannedUsersResponse) Reset() { *x = ListRoomBannedUsersResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListRoomBannedUsersResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListRoomBannedUsersResponse) ProtoMessage() {} func (x *ListRoomBannedUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListRoomBannedUsersResponse.ProtoReflect.Descriptor instead. func (*ListRoomBannedUsersResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{118} } func (x *ListRoomBannedUsersResponse) GetItems() []*RoomBannedUser { if x != nil { return x.Items } return nil } func (x *ListRoomBannedUsersResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListRoomBannedUsersResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListRoomBannedUsersResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListRoomBannedUsersResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // FollowRoomRequest 建立当前用户对房间的关注关系。 // 该关系是 room-service 的用户-房间低频关系事实,不进入 Room Cell command log。 type FollowRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FollowRoomRequest) Reset() { *x = FollowRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FollowRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FollowRoomRequest) ProtoMessage() {} func (x *FollowRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FollowRoomRequest.ProtoReflect.Descriptor instead. func (*FollowRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{119} } func (x *FollowRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *FollowRoomRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *FollowRoomRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } type FollowRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Followed bool `protobuf:"varint,2,opt,name=followed,proto3" json:"followed,omitempty"` FollowedAtMs int64 `protobuf:"varint,3,opt,name=followed_at_ms,json=followedAtMs,proto3" json:"followed_at_ms,omitempty"` ServerTimeMs int64 `protobuf:"varint,4,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FollowRoomResponse) Reset() { *x = FollowRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FollowRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FollowRoomResponse) ProtoMessage() {} func (x *FollowRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FollowRoomResponse.ProtoReflect.Descriptor instead. func (*FollowRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{120} } func (x *FollowRoomResponse) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *FollowRoomResponse) GetFollowed() bool { if x != nil { return x.Followed } return false } func (x *FollowRoomResponse) GetFollowedAtMs() int64 { if x != nil { return x.FollowedAtMs } return 0 } func (x *FollowRoomResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } // UnfollowRoomRequest 取消当前用户对房间的关注关系;未关注时按幂等成功处理。 type UnfollowRoomRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnfollowRoomRequest) Reset() { *x = UnfollowRoomRequest{} mi := &file_proto_room_v1_room_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnfollowRoomRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnfollowRoomRequest) ProtoMessage() {} func (x *UnfollowRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnfollowRoomRequest.ProtoReflect.Descriptor instead. func (*UnfollowRoomRequest) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{121} } func (x *UnfollowRoomRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *UnfollowRoomRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *UnfollowRoomRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } type UnfollowRoomResponse struct { state protoimpl.MessageState `protogen:"open.v1"` RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Followed bool `protobuf:"varint,2,opt,name=followed,proto3" json:"followed,omitempty"` ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnfollowRoomResponse) Reset() { *x = UnfollowRoomResponse{} mi := &file_proto_room_v1_room_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnfollowRoomResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnfollowRoomResponse) ProtoMessage() {} func (x *UnfollowRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_room_v1_room_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnfollowRoomResponse.ProtoReflect.Descriptor instead. func (*UnfollowRoomResponse) Descriptor() ([]byte, []int) { return file_proto_room_v1_room_proto_rawDescGZIP(), []int{122} } func (x *UnfollowRoomResponse) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *UnfollowRoomResponse) GetFollowed() bool { if x != nil { return x.Followed } return false } func (x *UnfollowRoomResponse) GetServerTimeMs() int64 { if x != nil { return x.ServerTimeMs } return 0 } var File_proto_room_v1_room_proto protoreflect.FileDescriptor const file_proto_room_v1_room_proto_rawDesc = "" + "\n" + "\x18proto/room/v1/room.proto\x12\rhyapp.room.v1\"\x88\x02\n" + "\vRequestMeta\x12\x1d\n" + "\n" + "request_id\x18\x01 \x01(\tR\trequestId\x12\x1d\n" + "\n" + "command_id\x18\x02 \x01(\tR\tcommandId\x12\"\n" + "\ractor_user_id\x18\x03 \x01(\x03R\vactorUserId\x12\x17\n" + "\aroom_id\x18\x04 \x01(\tR\x06roomId\x12&\n" + "\x0fgateway_node_id\x18\x05 \x01(\tR\rgatewayNodeId\x12\x1d\n" + "\n" + "session_id\x18\x06 \x01(\tR\tsessionId\x12\x1c\n" + "\n" + "sent_at_ms\x18\a \x01(\x03R\bsentAtMs\x12\x19\n" + "\bapp_code\x18\b \x01(\tR\aappCode\"r\n" + "\rCommandResult\x12\x18\n" + "\aapplied\x18\x01 \x01(\bR\aapplied\x12!\n" + "\froom_version\x18\x02 \x01(\x03R\vroomVersion\x12$\n" + "\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\x80\x01\n" + "\bRoomUser\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x12\n" + "\x04role\x18\x02 \x01(\tR\x04role\x12 \n" + "\fjoined_at_ms\x18\x03 \x01(\x03R\n" + "joinedAtMs\x12%\n" + "\x0flast_seen_at_ms\x18\x04 \x01(\x03R\flastSeenAtMs\"\xdd\x01\n" + "\x0eRoomOnlineUser\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x12\n" + "\x04role\x18\x02 \x01(\tR\x04role\x12\x1b\n" + "\troom_role\x18\x03 \x01(\tR\broomRole\x12\x1d\n" + "\n" + "gift_value\x18\x04 \x01(\x03R\tgiftValue\x12 \n" + "\fjoined_at_ms\x18\x05 \x01(\x03R\n" + "joinedAtMs\x12%\n" + "\x0flast_seen_at_ms\x18\x06 \x01(\x03R\flastSeenAtMs\x12\x19\n" + "\bis_owner\x18\a \x01(\bR\aisOwner\"\xb2\x03\n" + "\tSeatState\x12\x17\n" + "\aseat_no\x18\x01 \x01(\x05R\x06seatNo\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x16\n" + "\x06locked\x18\x03 \x01(\bR\x06locked\x12#\n" + "\rpublish_state\x18\x04 \x01(\tR\fpublishState\x12$\n" + "\x0emic_session_id\x18\x05 \x01(\tR\fmicSessionId\x12.\n" + "\x13publish_deadline_ms\x18\x06 \x01(\x03R\x11publishDeadlineMs\x127\n" + "\x18mic_session_room_version\x18\a \x01(\x03R\x15micSessionRoomVersion\x12:\n" + "\x1alast_publish_event_time_ms\x18\b \x01(\x03R\x16lastPublishEventTimeMs\x12\x1b\n" + "\tmic_muted\x18\t \x01(\bR\bmicMuted\x12\x1f\n" + "\vseat_status\x18\n" + " \x01(\tR\n" + "seatStatus\x12-\n" + "\x13mic_heartbeat_at_ms\x18\v \x01(\x03R\x10micHeartbeatAtMs\"|\n" + "\bRankItem\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x14\n" + "\x05score\x18\x02 \x01(\x03R\x05score\x12\x1d\n" + "\n" + "gift_value\x18\x03 \x01(\x03R\tgiftValue\x12\"\n" + "\rupdated_at_ms\x18\x04 \x01(\x03R\vupdatedAtMs\"\xb0\x06\n" + "\x13LuckyGiftDrawResult\x12\x18\n" + "\aenabled\x18\x01 \x01(\bR\aenabled\x12\x17\n" + "\adraw_id\x18\x02 \x01(\tR\x06drawId\x12\x1d\n" + "\n" + "command_id\x18\x03 \x01(\tR\tcommandId\x12\x17\n" + "\apool_id\x18\x04 \x01(\tR\x06poolId\x12\x17\n" + "\agift_id\x18\x05 \x01(\tR\x06giftId\x12!\n" + "\frule_version\x18\x06 \x01(\x03R\vruleVersion\x12'\n" + "\x0fexperience_pool\x18\a \x01(\tR\x0eexperiencePool\x12(\n" + "\x10selected_tier_id\x18\b \x01(\tR\x0eselectedTierId\x12%\n" + "\x0emultiplier_ppm\x18\t \x01(\x03R\rmultiplierPpm\x12*\n" + "\x11base_reward_coins\x18\n" + " \x01(\x03R\x0fbaseRewardCoins\x12?\n" + "\x1croom_atmosphere_reward_coins\x18\v \x01(\x03R\x19roomAtmosphereRewardCoins\x124\n" + "\x16activity_subsidy_coins\x18\f \x01(\x03R\x14activitySubsidyCoins\x124\n" + "\x16effective_reward_coins\x18\r \x01(\x03R\x14effectiveRewardCoins\x12#\n" + "\rreward_status\x18\x0e \x01(\tR\frewardStatus\x12%\n" + "\x0estage_feedback\x18\x0f \x01(\bR\rstageFeedback\x12'\n" + "\x0fhigh_multiplier\x18\x10 \x01(\bR\x0ehighMultiplier\x12\"\n" + "\rcreated_at_ms\x18\x11 \x01(\x03R\vcreatedAtMs\x122\n" + "\x15wallet_transaction_id\x18\x12 \x01(\tR\x13walletTransactionId\x12,\n" + "\x12coin_balance_after\x18\x13 \x01(\x03R\x10coinBalanceAfter\x12$\n" + "\x0etarget_user_id\x18\x14 \x01(\x03R\ftargetUserId\"\xc0\x01\n" + "\x16RoomTreasureRewardItem\x12$\n" + "\x0ereward_item_id\x18\x01 \x01(\tR\frewardItemId\x12*\n" + "\x11resource_group_id\x18\x02 \x01(\x03R\x0fresourceGroupId\x12\x16\n" + "\x06weight\x18\x03 \x01(\x03R\x06weight\x12!\n" + "\fdisplay_name\x18\x04 \x01(\tR\vdisplayName\x12\x19\n" + "\bicon_url\x18\x05 \x01(\tR\aiconUrl\"\xdd\x03\n" + "\x11RoomTreasureLevel\x12\x14\n" + "\x05level\x18\x01 \x01(\x05R\x05level\x12)\n" + "\x10energy_threshold\x18\x02 \x01(\x03R\x0fenergyThreshold\x12\x1b\n" + "\tcover_url\x18\x03 \x01(\tR\bcoverUrl\x12#\n" + "\ranimation_url\x18\x04 \x01(\tR\fanimationUrl\x122\n" + "\x15opening_animation_url\x18\x05 \x01(\tR\x13openingAnimationUrl\x12(\n" + "\x10opened_image_url\x18\x06 \x01(\tR\x0eopenedImageUrl\x12M\n" + "\x0fin_room_rewards\x18\a \x03(\v2%.hyapp.room.v1.RoomTreasureRewardItemR\rinRoomRewards\x12H\n" + "\ftop1_rewards\x18\b \x03(\v2%.hyapp.room.v1.RoomTreasureRewardItemR\vtop1Rewards\x12N\n" + "\x0figniter_rewards\x18\t \x03(\v2%.hyapp.room.v1.RoomTreasureRewardItemR\x0eigniterRewards\"\x96\x02\n" + "\x17RoomTreasureRewardGrant\x12\x1f\n" + "\vreward_role\x18\x01 \x01(\tR\n" + "rewardRole\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12$\n" + "\x0ereward_item_id\x18\x03 \x01(\tR\frewardItemId\x12*\n" + "\x11resource_group_id\x18\x04 \x01(\x03R\x0fresourceGroupId\x12!\n" + "\fdisplay_name\x18\x05 \x01(\tR\vdisplayName\x12\x19\n" + "\bicon_url\x18\x06 \x01(\tR\aiconUrl\x12\x19\n" + "\bgrant_id\x18\a \x01(\tR\agrantId\x12\x16\n" + "\x06status\x18\b \x01(\tR\x06status\"\x90\x04\n" + "\x11RoomTreasureState\x12#\n" + "\rcurrent_level\x18\x01 \x01(\x05R\fcurrentLevel\x12)\n" + "\x10current_progress\x18\x02 \x01(\x03R\x0fcurrentProgress\x12)\n" + "\x10energy_threshold\x18\x03 \x01(\x03R\x0fenergyThreshold\x12\x16\n" + "\x06status\x18\x04 \x01(\tR\x06status\x125\n" + "\x17countdown_started_at_ms\x18\x05 \x01(\x03R\x14countdownStartedAtMs\x12\x1c\n" + "\n" + "open_at_ms\x18\x06 \x01(\x03R\bopenAtMs\x12 \n" + "\fopened_at_ms\x18\a \x01(\x03R\n" + "openedAtMs\x12\x1e\n" + "\vreset_at_ms\x18\b \x01(\x03R\tresetAtMs\x12 \n" + "\ftop1_user_id\x18\t \x01(\x03R\n" + "top1UserId\x12&\n" + "\x0figniter_user_id\x18\n" + " \x01(\x03R\rigniterUserId\x12\x15\n" + "\x06box_id\x18\v \x01(\tR\x05boxId\x12%\n" + "\x0econfig_version\x18\f \x01(\x03R\rconfigVersion\x12I\n" + "\flast_rewards\x18\r \x03(\v2&.hyapp.room.v1.RoomTreasureRewardGrantR\vlastRewards\"\xef\x02\n" + "\x10RoomTreasureInfo\x12\x18\n" + "\aenabled\x18\x01 \x01(\bR\aenabled\x128\n" + "\x06levels\x18\x02 \x03(\v2 .hyapp.room.v1.RoomTreasureLevelR\x06levels\x126\n" + "\x05state\x18\x03 \x01(\v2 .hyapp.room.v1.RoomTreasureStateR\x05state\x12$\n" + "\x0eserver_time_ms\x18\x04 \x01(\x03R\fserverTimeMs\x12'\n" + "\x0fbroadcast_scope\x18\x05 \x01(\tR\x0ebroadcastScope\x12\"\n" + "\ropen_delay_ms\x18\x06 \x01(\x03R\vopenDelayMs\x12,\n" + "\x12broadcast_delay_ms\x18\a \x01(\x03R\x10broadcastDelayMs\x12.\n" + "\x13reward_stack_policy\x18\b \x01(\tR\x11rewardStackPolicy\"\xda\x01\n" + "\x1aRoomTreasureGiftEnergyRule\x12\x17\n" + "\arule_id\x18\x01 \x01(\tR\x06ruleId\x12\x17\n" + "\agift_id\x18\x02 \x01(\tR\x06giftId\x12$\n" + "\x0egift_type_code\x18\x03 \x01(\tR\fgiftTypeCode\x12%\n" + "\x0emultiplier_ppm\x18\x04 \x01(\x03R\rmultiplierPpm\x12!\n" + "\ffixed_energy\x18\x05 \x01(\x03R\vfixedEnergy\x12\x1a\n" + "\bexcluded\x18\x06 \x01(\bR\bexcluded\"\xfa\x04\n" + "\x17AdminRoomTreasureConfig\x12\x19\n" + "\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x18\n" + "\aenabled\x18\x02 \x01(\bR\aenabled\x12%\n" + "\x0econfig_version\x18\x03 \x01(\x03R\rconfigVersion\x12#\n" + "\renergy_source\x18\x04 \x01(\tR\fenergySource\x12\"\n" + "\ropen_delay_ms\x18\x05 \x01(\x03R\vopenDelayMs\x12+\n" + "\x11broadcast_enabled\x18\x06 \x01(\bR\x10broadcastEnabled\x12'\n" + "\x0fbroadcast_scope\x18\a \x01(\tR\x0ebroadcastScope\x12,\n" + "\x12broadcast_delay_ms\x18\b \x01(\x03R\x10broadcastDelayMs\x12.\n" + "\x13reward_stack_policy\x18\t \x01(\tR\x11rewardStackPolicy\x128\n" + "\x06levels\x18\n" + " \x03(\v2 .hyapp.room.v1.RoomTreasureLevelR\x06levels\x12U\n" + "\x11gift_energy_rules\x18\v \x03(\v2).hyapp.room.v1.RoomTreasureGiftEnergyRuleR\x0fgiftEnergyRules\x12-\n" + "\x13updated_by_admin_id\x18\f \x01(\x03R\x10updatedByAdminId\x12\"\n" + "\rcreated_at_ms\x18\r \x01(\x03R\vcreatedAtMs\x12\"\n" + "\rupdated_at_ms\x18\x0e \x01(\x03R\vupdatedAtMs\"S\n" + "!AdminGetRoomTreasureConfigRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\"\x8a\x01\n" + "\"AdminGetRoomTreasureConfigResponse\x12>\n" + "\x06config\x18\x01 \x01(\v2&.hyapp.room.v1.AdminRoomTreasureConfigR\x06config\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xb1\x01\n" + "$AdminUpdateRoomTreasureConfigRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12>\n" + "\x06config\x18\x02 \x01(\v2&.hyapp.room.v1.AdminRoomTreasureConfigR\x06config\x12\x19\n" + "\badmin_id\x18\x03 \x01(\x03R\aadminId\"\x8d\x01\n" + "%AdminUpdateRoomTreasureConfigResponse\x12>\n" + "\x06config\x18\x01 \x01(\v2&.hyapp.room.v1.AdminRoomTreasureConfigR\x06config\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xcb\x01\n" + "\x13AdminRoomSeatConfig\x122\n" + "\x15candidate_seat_counts\x18\x01 \x03(\x05R\x13candidateSeatCounts\x12.\n" + "\x13allowed_seat_counts\x18\x02 \x03(\x05R\x11allowedSeatCounts\x12,\n" + "\x12default_seat_count\x18\x03 \x01(\x05R\x10defaultSeatCount\x12\"\n" + "\rupdated_at_ms\x18\x04 \x01(\x03R\vupdatedAtMs\"O\n" + "\x1dAdminGetRoomSeatConfigRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\"\x82\x01\n" + "\x1eAdminGetRoomSeatConfigResponse\x12:\n" + "\x06config\x18\x01 \x01(\v2\".hyapp.room.v1.AdminRoomSeatConfigR\x06config\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xb0\x01\n" + " AdminUpdateRoomSeatConfigRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12.\n" + "\x13allowed_seat_counts\x18\x02 \x03(\x05R\x11allowedSeatCounts\x12,\n" + "\x12default_seat_count\x18\x03 \x01(\x05R\x10defaultSeatCount\"\x85\x01\n" + "!AdminUpdateRoomSeatConfigResponse\x12:\n" + "\x06config\x18\x01 \x01(\v2\".hyapp.room.v1.AdminRoomSeatConfigR\x06config\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xea\x01\n" + "\x10AdminRoomPinRoom\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\"\n" + "\rroom_short_id\x18\x02 \x01(\tR\vroomShortId\x12*\n" + "\x11visible_region_id\x18\x03 \x01(\x03R\x0fvisibleRegionId\x12\"\n" + "\rowner_user_id\x18\x04 \x01(\x03R\vownerUserId\x12\x14\n" + "\x05title\x18\x05 \x01(\tR\x05title\x12\x1b\n" + "\tcover_url\x18\x06 \x01(\tR\bcoverUrl\x12\x16\n" + "\x06status\x18\a \x01(\tR\x06status\"\xe0\x03\n" + "\fAdminRoomPin\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12*\n" + "\x11visible_region_id\x18\x02 \x01(\x03R\x0fvisibleRegionId\x12\x17\n" + "\aroom_id\x18\x03 \x01(\tR\x06roomId\x12\x16\n" + "\x06weight\x18\x04 \x01(\x03R\x06weight\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12 \n" + "\fpinned_at_ms\x18\x06 \x01(\x03R\n" + "pinnedAtMs\x12\"\n" + "\rexpires_at_ms\x18\a \x01(\x03R\vexpiresAtMs\x12&\n" + "\x0fcancelled_at_ms\x18\b \x01(\x03R\rcancelledAtMs\x12-\n" + "\x13created_by_admin_id\x18\t \x01(\x04R\x10createdByAdminId\x121\n" + "\x15cancelled_by_admin_id\x18\n" + " \x01(\x04R\x12cancelledByAdminId\x12\"\n" + "\rcreated_at_ms\x18\v \x01(\x03R\vcreatedAtMs\x12\"\n" + "\rupdated_at_ms\x18\f \x01(\x03R\vupdatedAtMs\x123\n" + "\x04room\x18\r \x01(\v2\x1f.hyapp.room.v1.AdminRoomPinRoomR\x04room\"\xd9\x01\n" + "\x18AdminListRoomPinsRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\x05R\bpageSize\x12\x18\n" + "\akeyword\x18\x04 \x01(\tR\akeyword\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12*\n" + "\x11visible_region_id\x18\x06 \x01(\x03R\x0fvisibleRegionId\"\x88\x01\n" + "\x19AdminListRoomPinsResponse\x12/\n" + "\x04pins\x18\x01 \x03(\v2\x1b.hyapp.room.v1.AdminRoomPinR\x04pins\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\x12$\n" + "\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\xbc\x01\n" + "\x19AdminCreateRoomPinRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x16\n" + "\x06weight\x18\x03 \x01(\x03R\x06weight\x12#\n" + "\rduration_days\x18\x04 \x01(\x03R\fdurationDays\x12\x19\n" + "\badmin_id\x18\x05 \x01(\x04R\aadminId\"q\n" + "\x1aAdminCreateRoomPinResponse\x12-\n" + "\x03pin\x18\x01 \x01(\v2\x1b.hyapp.room.v1.AdminRoomPinR\x03pin\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"}\n" + "\x19AdminCancelRoomPinRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x15\n" + "\x06pin_id\x18\x02 \x01(\x03R\x05pinId\x12\x19\n" + "\badmin_id\x18\x03 \x01(\x04R\aadminId\"q\n" + "\x1aAdminCancelRoomPinResponse\x12-\n" + "\x03pin\x18\x01 \x01(\v2\x1b.hyapp.room.v1.AdminRoomPinR\x03pin\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x93\x01\n" + "\fRoomBanState\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\"\n" + "\ractor_user_id\x18\x02 \x01(\x03R\vactorUserId\x12\"\n" + "\rcreated_at_ms\x18\x03 \x01(\x03R\vcreatedAtMs\x12\"\n" + "\rexpires_at_ms\x18\x04 \x01(\x03R\vexpiresAtMs\"\xdb\x06\n" + "\fRoomSnapshot\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\"\n" + "\rowner_user_id\x18\x02 \x01(\x03R\vownerUserId\x12\x12\n" + "\x04mode\x18\x04 \x01(\tR\x04mode\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12!\n" + "\fchat_enabled\x18\x06 \x01(\bR\vchatEnabled\x125\n" + "\tmic_seats\x18\a \x03(\v2\x18.hyapp.room.v1.SeatStateR\bmicSeats\x12:\n" + "\fonline_users\x18\b \x03(\v2\x17.hyapp.room.v1.RoomUserR\vonlineUsers\x12$\n" + "\x0eadmin_user_ids\x18\t \x03(\x03R\fadminUserIds\x12 \n" + "\fban_user_ids\x18\n" + " \x03(\x03R\n" + "banUserIds\x12\"\n" + "\rmute_user_ids\x18\v \x03(\x03R\vmuteUserIds\x124\n" + "\tgift_rank\x18\f \x03(\v2\x17.hyapp.room.v1.RankItemR\bgiftRank\x12C\n" + "\broom_ext\x18\r \x03(\v2(.hyapp.room.v1.RoomSnapshot.RoomExtEntryR\aroomExt\x12\x12\n" + "\x04heat\x18\x0e \x01(\x03R\x04heat\x12\x18\n" + "\aversion\x18\x0f \x01(\x03R\aversion\x12\x19\n" + "\bapp_code\x18\x10 \x01(\tR\aappCode\x12\"\n" + "\rroom_short_id\x18\x11 \x01(\tR\vroomShortId\x12*\n" + "\x11visible_region_id\x18\x12 \x01(\x03R\x0fvisibleRegionId\x12\x16\n" + "\x06locked\x18\x13 \x01(\bR\x06locked\x12<\n" + "\btreasure\x18\x14 \x01(\v2 .hyapp.room.v1.RoomTreasureStateR\btreasure\x12:\n" + "\n" + "ban_states\x18\x15 \x03(\v2\x1b.hyapp.room.v1.RoomBanStateR\tbanStates\x1a:\n" + "\fRoomExtEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xe5\x01\n" + "\x13RoomBackgroundImage\x12#\n" + "\rbackground_id\x18\x01 \x01(\x03R\fbackgroundId\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x1b\n" + "\timage_url\x18\x03 \x01(\tR\bimageUrl\x12+\n" + "\x12created_by_user_id\x18\x04 \x01(\x03R\x0fcreatedByUserId\x12\"\n" + "\rcreated_at_ms\x18\x05 \x01(\x03R\vcreatedAtMs\x12\"\n" + "\rupdated_at_ms\x18\x06 \x01(\x03R\vupdatedAtMs\"\x81\x01\n" + "\x19SaveRoomBackgroundRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x1b\n" + "\timage_url\x18\x03 \x01(\tR\bimageUrl\"\x86\x01\n" + "\x1aSaveRoomBackgroundResponse\x12B\n" + "\n" + "background\x18\x01 \x01(\v2\".hyapp.room.v1.RoomBackgroundImageR\n" + "background\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x8b\x01\n" + "\x1aListRoomBackgroundsRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12$\n" + "\x0eviewer_user_id\x18\x03 \x01(\x03R\fviewerUserId\"\xc1\x01\n" + "\x1bListRoomBackgroundsResponse\x12D\n" + "\vbackgrounds\x18\x01 \x03(\v2\".hyapp.room.v1.RoomBackgroundImageR\vbackgrounds\x126\n" + "\x17selected_background_url\x18\x02 \x01(\tR\x15selectedBackgroundUrl\x12$\n" + "\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"o\n" + "\x18SetRoomBackgroundRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12#\n" + "\rbackground_id\x18\x02 \x01(\x03R\fbackgroundId\"\xc6\x01\n" + "\x19SetRoomBackgroundResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12B\n" + "\n" + "background\x18\x03 \x01(\v2\".hyapp.room.v1.RoomBackgroundImageR\n" + "background\"\xaf\x02\n" + "\x11CreateRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x1d\n" + "\n" + "seat_count\x18\x02 \x01(\x05R\tseatCount\x12\x12\n" + "\x04mode\x18\x03 \x01(\tR\x04mode\x12*\n" + "\x11visible_region_id\x18\x04 \x01(\x03R\x0fvisibleRegionId\x12\x1b\n" + "\troom_name\x18\x05 \x01(\tR\broomName\x12\x1f\n" + "\vroom_avatar\x18\x06 \x01(\tR\n" + "roomAvatar\x12)\n" + "\x10room_description\x18\a \x01(\tR\x0froomDescription\x12\"\n" + "\rroom_short_id\x18\b \x01(\tR\vroomShortId\"{\n" + "\x12CreateRoomResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\xa8\x02\n" + "\x18UpdateRoomProfileRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12 \n" + "\troom_name\x18\x02 \x01(\tH\x00R\broomName\x88\x01\x01\x12$\n" + "\vroom_avatar\x18\x03 \x01(\tH\x01R\n" + "roomAvatar\x88\x01\x01\x12.\n" + "\x10room_description\x18\x04 \x01(\tH\x02R\x0froomDescription\x88\x01\x01\x12\"\n" + "\n" + "seat_count\x18\x05 \x01(\x05H\x03R\tseatCount\x88\x01\x01B\f\n" + "\n" + "_room_nameB\x0e\n" + "\f_room_avatarB\x13\n" + "\x11_room_descriptionB\r\n" + "\v_seat_count\"\x82\x01\n" + "\x19UpdateRoomProfileResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\xc7\x02\n" + "\x18RoomEntryVehicleSnapshot\x12\x1f\n" + "\vresource_id\x18\x01 \x01(\x03R\n" + "resourceId\x12#\n" + "\rresource_code\x18\x02 \x01(\tR\fresourceCode\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x1b\n" + "\tasset_url\x18\x04 \x01(\tR\bassetUrl\x12\x1f\n" + "\vpreview_url\x18\x05 \x01(\tR\n" + "previewUrl\x12#\n" + "\ranimation_url\x18\x06 \x01(\tR\fanimationUrl\x12#\n" + "\rmetadata_json\x18\a \x01(\tR\fmetadataJson\x12%\n" + "\x0eentitlement_id\x18\b \x01(\tR\rentitlementId\x12\"\n" + "\rexpires_at_ms\x18\t \x01(\x03R\vexpiresAtMs\"\xbf\x01\n" + "\x0fJoinRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x12\n" + "\x04role\x18\x02 \x01(\tR\x04role\x12\x1a\n" + "\bpassword\x18\x03 \x01(\tR\bpassword\x12L\n" + "\rentry_vehicle\x18\x04 \x01(\v2'.hyapp.room.v1.RoomEntryVehicleSnapshotR\fentryVehicle\"\xa6\x01\n" + "\x10JoinRoomResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12+\n" + "\x04user\x18\x02 \x01(\v2\x17.hyapp.room.v1.RoomUserR\x04user\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"F\n" + "\x14RoomHeartbeatRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\"\xab\x01\n" + "\x15RoomHeartbeatResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12+\n" + "\x04user\x18\x02 \x01(\v2\x17.hyapp.room.v1.RoomUserR\x04user\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"B\n" + "\x10LeaveRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\"z\n" + "\x11LeaveRoomResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"Z\n" + "\x10CloseRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x16\n" + "\x06reason\x18\x02 \x01(\tR\x06reason\"z\n" + "\x11CloseRoomResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x8f\x05\n" + "\x11AdminRoomListItem\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\"\n" + "\rroom_short_id\x18\x02 \x01(\tR\vroomShortId\x12*\n" + "\x11visible_region_id\x18\x03 \x01(\x03R\x0fvisibleRegionId\x12\"\n" + "\rowner_user_id\x18\x04 \x01(\x03R\vownerUserId\x12\x14\n" + "\x05title\x18\x05 \x01(\tR\x05title\x12\x1b\n" + "\tcover_url\x18\x06 \x01(\tR\bcoverUrl\x12\x12\n" + "\x04mode\x18\a \x01(\tR\x04mode\x12\x16\n" + "\x06status\x18\b \x01(\tR\x06status\x12!\n" + "\fclose_reason\x18\t \x01(\tR\vcloseReason\x12+\n" + "\x12closed_by_admin_id\x18\n" + " \x01(\x04R\x0fclosedByAdminId\x12/\n" + "\x14closed_by_admin_name\x18\v \x01(\tR\x11closedByAdminName\x12 \n" + "\fclosed_at_ms\x18\f \x01(\x03R\n" + "closedAtMs\x12\x12\n" + "\x04heat\x18\r \x01(\x03R\x04heat\x12!\n" + "\fonline_count\x18\x0e \x01(\x05R\vonlineCount\x12\x1d\n" + "\n" + "seat_count\x18\x0f \x01(\x05R\tseatCount\x12.\n" + "\x13occupied_seat_count\x18\x10 \x01(\x05R\x11occupiedSeatCount\x12\x1d\n" + "\n" + "sort_score\x18\x11 \x01(\x03R\tsortScore\x12\"\n" + "\rcreated_at_ms\x18\x12 \x01(\x03R\vcreatedAtMs\x12\"\n" + "\rupdated_at_ms\x18\x13 \x01(\x03R\vupdatedAtMs\"\x96\x02\n" + "\x15AdminListRoomsRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\x05R\bpageSize\x12\x18\n" + "\akeyword\x18\x04 \x01(\tR\akeyword\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12*\n" + "\x11visible_region_id\x18\x06 \x01(\x03R\x0fvisibleRegionId\x12\x17\n" + "\asort_by\x18\a \x01(\tR\x06sortBy\x12%\n" + "\x0esort_direction\x18\b \x01(\tR\rsortDirection\"\x8c\x01\n" + "\x16AdminListRoomsResponse\x126\n" + "\x05rooms\x18\x01 \x03(\v2 .hyapp.room.v1.AdminRoomListItemR\x05rooms\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\x12$\n" + "\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"^\n" + "\x13AdminGetRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\"r\n" + "\x14AdminGetRoomResponse\x124\n" + "\x04room\x18\x01 \x01(\v2 .hyapp.room.v1.AdminRoomListItemR\x04room\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xc2\x03\n" + "\x16AdminUpdateRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x19\n" + "\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12 \n" + "\tcover_url\x18\x03 \x01(\tH\x01R\bcoverUrl\x88\x01\x01\x12%\n" + "\vdescription\x18\x04 \x01(\tH\x02R\vdescription\x88\x01\x01\x12\x17\n" + "\x04mode\x18\x05 \x01(\tH\x03R\x04mode\x88\x01\x01\x12\x1b\n" + "\x06status\x18\x06 \x01(\tH\x04R\x06status\x88\x01\x01\x12/\n" + "\x11visible_region_id\x18\a \x01(\x03H\x05R\x0fvisibleRegionId\x88\x01\x01\x12!\n" + "\fclose_reason\x18\b \x01(\tR\vcloseReason\x12\x19\n" + "\badmin_id\x18\t \x01(\x04R\aadminId\x12\x1d\n" + "\n" + "admin_name\x18\n" + " \x01(\tR\tadminNameB\b\n" + "\x06_titleB\f\n" + "\n" + "_cover_urlB\x0e\n" + "\f_descriptionB\a\n" + "\x05_modeB\t\n" + "\a_statusB\x14\n" + "\x12_visible_region_id\"\x80\x01\n" + "\x17AdminUpdateRoomResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x82\x01\n" + "\x16AdminDeleteRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x19\n" + "\badmin_id\x18\x02 \x01(\x04R\aadminId\x12\x1d\n" + "\n" + "admin_name\x18\x03 \x01(\tR\tadminName\"\x80\x01\n" + "\x17AdminDeleteRoomResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"W\n" + "\fMicUpRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\"\xe5\x01\n" + "\rMicUpResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12$\n" + "\x0emic_session_id\x18\x04 \x01(\tR\fmicSessionId\x12.\n" + "\x13publish_deadline_ms\x18\x05 \x01(\x03R\x11publishDeadlineMs\"~\n" + "\x0eMicDownRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x16\n" + "\x06reason\x18\x03 \x01(\tR\x06reason\"\x91\x01\n" + "\x0fMicDownResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x85\x01\n" + "\x14ChangeMicSeatRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x17\n" + "\aseat_no\x18\x03 \x01(\x05R\x06seatNo\"~\n" + "\x15ChangeMicSeatResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\xf8\x01\n" + "\x1bConfirmMicPublishingRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12$\n" + "\x0emic_session_id\x18\x03 \x01(\tR\fmicSessionId\x12!\n" + "\froom_version\x18\x04 \x01(\x03R\vroomVersion\x12\"\n" + "\revent_time_ms\x18\x05 \x01(\x03R\veventTimeMs\x12\x16\n" + "\x06source\x18\x06 \x01(\tR\x06source\"\x9e\x01\n" + "\x1cConfirmMicPublishingResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x91\x01\n" + "\x13MicHeartbeatRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12$\n" + "\x0emic_session_id\x18\x03 \x01(\tR\fmicSessionId\"\xc5\x01\n" + "\x14MicHeartbeatResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12-\n" + "\x13mic_heartbeat_at_ms\x18\x04 \x01(\x03R\x10micHeartbeatAtMs\"\x7f\n" + "\x11SetMicMuteRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x14\n" + "\x05muted\x18\x03 \x01(\bR\x05muted\"\x94\x01\n" + "\x12SetMicMuteResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x8b\x02\n" + "\x14ApplyRTCEventRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x1d\n" + "\n" + "event_type\x18\x03 \x01(\tR\teventType\x12\"\n" + "\revent_time_ms\x18\x04 \x01(\x03R\veventTimeMs\x12\x16\n" + "\x06reason\x18\x05 \x01(\tR\x06reason\x12\x16\n" + "\x06source\x18\x06 \x01(\tR\x06source\x12*\n" + "\x11external_event_id\x18\a \x01(\tR\x0fexternalEventId\"\x97\x01\n" + "\x15ApplyRTCEventResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"x\n" + "\x15SetMicSeatLockRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12\x16\n" + "\x06locked\x18\x03 \x01(\bR\x06locked\"\x7f\n" + "\x16SetMicSeatLockResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"a\n" + "\x15SetChatEnabledRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x18\n" + "\aenabled\x18\x02 \x01(\bR\aenabled\"\x7f\n" + "\x16SetChatEnabledResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"|\n" + "\x16SetRoomPasswordRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x16\n" + "\x06locked\x18\x02 \x01(\bR\x06locked\x12\x1a\n" + "\bpassword\x18\x03 \x01(\tR\bpassword\"\x80\x01\n" + "\x17SetRoomPasswordResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x85\x01\n" + "\x13SetRoomAdminRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x18\n" + "\aenabled\x18\x03 \x01(\bR\aenabled\"}\n" + "\x14SetRoomAdminResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"}\n" + "\x0fMuteUserRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x14\n" + "\x05muted\x18\x03 \x01(\bR\x05muted\"y\n" + "\x10MuteUserResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\x88\x01\n" + "\x0fKickUserRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x1f\n" + "\vduration_ms\x18\x03 \x01(\x03R\n" + "durationMs\"\xbe\x01\n" + "\x10KickUserResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12\x1d\n" + "\n" + "rtc_kicked\x18\x03 \x01(\bR\trtcKicked\x12$\n" + "\x0ertc_kick_error\x18\x04 \x01(\tR\frtcKickError\"h\n" + "\x10UnbanUserRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\"z\n" + "\x11UnbanUserResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\"\xd4\x01\n" + "\x16SystemEvictUserRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12(\n" + "\x10operator_user_id\x18\x03 \x01(\x03R\x0eoperatorUserId\x12\x16\n" + "\x06reason\x18\x04 \x01(\tR\x06reason\x12\"\n" + "\rban_from_room\x18\x05 \x01(\bR\vbanFromRoom\"\x88\x02\n" + "\x17SystemEvictUserResponse\x12(\n" + "\x10had_current_room\x18\x01 \x01(\bR\x0ehadCurrentRoom\x124\n" + "\x06result\x18\x02 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12/\n" + "\x04room\x18\x03 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12\x17\n" + "\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1d\n" + "\n" + "rtc_kicked\x18\x05 \x01(\bR\trtcKicked\x12$\n" + "\x0ertc_kick_error\x18\x06 \x01(\tR\frtcKickError\"\xc2\x03\n" + "\x0fSendGiftRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x17\n" + "\agift_id\x18\x03 \x01(\tR\x06giftId\x12\x1d\n" + "\n" + "gift_count\x18\x04 \x01(\x05R\tgiftCount\x12\x1f\n" + "\vtarget_type\x18\x05 \x01(\tR\n" + "targetType\x12&\n" + "\x0ftarget_user_ids\x18\x06 \x03(\x03R\rtargetUserIds\x12\x17\n" + "\apool_id\x18\a \x01(\tR\x06poolId\x12$\n" + "\x0etarget_is_host\x18\b \x01(\bR\ftargetIsHost\x121\n" + "\x15target_host_region_id\x18\t \x01(\x03R\x12targetHostRegionId\x12<\n" + "\x1btarget_agency_owner_user_id\x18\n" + " \x01(\x03R\x17targetAgencyOwnerUserId\x12(\n" + "\x10sender_region_id\x18\v \x01(\x03R\x0esenderRegionId\"\xc0\x03\n" + "\x10SendGiftResponse\x124\n" + "\x06result\x18\x01 \x01(\v2\x1c.hyapp.room.v1.CommandResultR\x06result\x12,\n" + "\x12billing_receipt_id\x18\x02 \x01(\tR\x10billingReceiptId\x12\x1b\n" + "\troom_heat\x18\x03 \x01(\x03R\broomHeat\x124\n" + "\tgift_rank\x18\x04 \x03(\v2\x17.hyapp.room.v1.RankItemR\bgiftRank\x12/\n" + "\x04room\x18\x05 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12<\n" + "\btreasure\x18\x06 \x01(\v2 .hyapp.room.v1.RoomTreasureStateR\btreasure\x12A\n" + "\n" + "lucky_gift\x18\a \x01(\v2\".hyapp.room.v1.LuckyGiftDrawResultR\tluckyGift\x12C\n" + "\vlucky_gifts\x18\b \x03(\v2\".hyapp.room.v1.LuckyGiftDrawResultR\n" + "luckyGifts\"j\n" + "\x1bCheckSpeakPermissionRequest\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" + "\bapp_code\x18\x03 \x01(\tR\aappCode\"s\n" + "\x1cCheckSpeakPermissionResponse\x12\x18\n" + "\aallowed\x18\x01 \x01(\bR\aallowed\x12\x16\n" + "\x06reason\x18\x02 \x01(\tR\x06reason\x12!\n" + "\froom_version\x18\x03 \x01(\x03R\vroomVersion\"\xa6\x01\n" + "\x19VerifyRoomPresenceRequest\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1d\n" + "\n" + "session_id\x18\x03 \x01(\tR\tsessionId\x12\x1d\n" + "\n" + "request_id\x18\x04 \x01(\tR\trequestId\x12\x19\n" + "\bapp_code\x18\x05 \x01(\tR\aappCode\"q\n" + "\x1aVerifyRoomPresenceResponse\x12\x18\n" + "\apresent\x18\x01 \x01(\bR\apresent\x12\x16\n" + "\x06reason\x18\x02 \x01(\tR\x06reason\x12!\n" + "\froom_version\x18\x03 \x01(\x03R\vroomVersion\"\xea\x01\n" + "\x10ListRoomsRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0eviewer_user_id\x18\x02 \x01(\x03R\fviewerUserId\x12*\n" + "\x11visible_region_id\x18\x03 \x01(\x03R\x0fvisibleRegionId\x12\x10\n" + "\x03tab\x18\x04 \x01(\tR\x03tab\x12\x16\n" + "\x06cursor\x18\x05 \x01(\tR\x06cursor\x12\x14\n" + "\x05limit\x18\x06 \x01(\x05R\x05limit\x12\x14\n" + "\x05query\x18\a \x01(\tR\x05query\"\xb7\x02\n" + "\x14ListRoomFeedsRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12$\n" + "\x0eviewer_user_id\x18\x02 \x01(\x03R\fviewerUserId\x12*\n" + "\x11visible_region_id\x18\x03 \x01(\x03R\x0fvisibleRegionId\x12\x10\n" + "\x03tab\x18\x04 \x01(\tR\x03tab\x12\x16\n" + "\x06cursor\x18\x05 \x01(\tR\x06cursor\x12\x14\n" + "\x05limit\x18\x06 \x01(\x05R\x05limit\x12\x14\n" + "\x05query\x18\a \x01(\tR\x05query\x12G\n" + "\rrelated_users\x18\b \x03(\v2\".hyapp.room.v1.RoomFeedRelatedUserR\frelatedUsers\"\x99\x01\n" + "\x1eListRoomGiftLeaderboardRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x16\n" + "\x06period\x18\x02 \x01(\tR\x06period\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\"c\n" + "\x13RoomFeedRelatedUser\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x123\n" + "\x16relation_updated_at_ms\x18\x02 \x01(\x03R\x13relationUpdatedAtMs\"\xb3\x03\n" + "\fRoomListItem\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\"\n" + "\rowner_user_id\x18\x02 \x01(\x03R\vownerUserId\x12\x14\n" + "\x05title\x18\x04 \x01(\tR\x05title\x12\x1b\n" + "\tcover_url\x18\x05 \x01(\tR\bcoverUrl\x12\x12\n" + "\x04mode\x18\x06 \x01(\tR\x04mode\x12\x16\n" + "\x06status\x18\a \x01(\tR\x06status\x12\x12\n" + "\x04heat\x18\b \x01(\x03R\x04heat\x12!\n" + "\fonline_count\x18\t \x01(\x05R\vonlineCount\x12\x1d\n" + "\n" + "seat_count\x18\n" + " \x01(\x05R\tseatCount\x12.\n" + "\x13occupied_seat_count\x18\v \x01(\x05R\x11occupiedSeatCount\x12*\n" + "\x11visible_region_id\x18\f \x01(\x03R\x0fvisibleRegionId\x12\x19\n" + "\bapp_code\x18\r \x01(\tR\aappCode\x12\"\n" + "\rroom_short_id\x18\x0e \x01(\tR\vroomShortId\x12\x16\n" + "\x06locked\x18\x0f \x01(\bR\x06locked\"g\n" + "\x11ListRoomsResponse\x121\n" + "\x05rooms\x18\x01 \x03(\v2\x1b.hyapp.room.v1.RoomListItemR\x05rooms\x12\x1f\n" + "\vnext_cursor\x18\x02 \x01(\tR\n" + "nextCursor\"\x96\x01\n" + "\x17RoomGiftLeaderboardItem\x12\x12\n" + "\x04rank\x18\x01 \x01(\x03R\x04rank\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x1d\n" + "\n" + "coin_spent\x18\x03 \x01(\x03R\tcoinSpent\x12/\n" + "\x04room\x18\x04 \x01(\v2\x1b.hyapp.room.v1.RoomListItemR\x04room\"\xef\x01\n" + "\x1fListRoomGiftLeaderboardResponse\x12<\n" + "\x05items\x18\x01 \x03(\v2&.hyapp.room.v1.RoomGiftLeaderboardItemR\x05items\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\x12\x16\n" + "\x06period\x18\x03 \x01(\tR\x06period\x12\x1e\n" + "\vstart_at_ms\x18\x04 \x01(\x03R\tstartAtMs\x12\x1a\n" + "\tend_at_ms\x18\x05 \x01(\x03R\aendAtMs\x12$\n" + "\x0eserver_time_ms\x18\x06 \x01(\x03R\fserverTimeMs\"f\n" + "\x10GetMyRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\"\n" + "\rowner_user_id\x18\x02 \x01(\x03R\vownerUserId\"\x85\x01\n" + "\x11GetMyRoomResponse\x12\x19\n" + "\bhas_room\x18\x01 \x01(\bR\ahasRoom\x12/\n" + "\x04room\x18\x02 \x01(\v2\x1b.hyapp.room.v1.RoomListItemR\x04room\x12$\n" + "\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"`\n" + "\x15GetCurrentRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\"\xd6\x02\n" + "\x16GetCurrentRoomResponse\x12(\n" + "\x10has_current_room\x18\x01 \x01(\bR\x0ehasCurrentRoom\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12!\n" + "\froom_version\x18\x03 \x01(\x03R\vroomVersion\x12\x12\n" + "\x04role\x18\x04 \x01(\tR\x04role\x12$\n" + "\x0emic_session_id\x18\x05 \x01(\tR\fmicSessionId\x12#\n" + "\rpublish_state\x18\x06 \x01(\tR\fpublishState\x12+\n" + "\x12need_join_im_group\x18\a \x01(\bR\x0fneedJoinImGroup\x12$\n" + "\x0eneed_rtc_token\x18\b \x01(\bR\fneedRtcToken\x12$\n" + "\x0eserver_time_ms\x18\t \x01(\x03R\fserverTimeMs\"\x87\x01\n" + "\x16GetRoomSnapshotRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12$\n" + "\x0eviewer_user_id\x18\x03 \x01(\x03R\fviewerUserId\"\x91\x01\n" + "\x17GetRoomSnapshotResponse\x12/\n" + "\x04room\x18\x01 \x01(\v2\x1b.hyapp.room.v1.RoomSnapshotR\x04room\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\x12\x1f\n" + "\vis_followed\x18\x03 \x01(\bR\n" + "isFollowed\"\x87\x01\n" + "\x16GetRoomTreasureRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12$\n" + "\x0eviewer_user_id\x18\x03 \x01(\x03R\fviewerUserId\"|\n" + "\x17GetRoomTreasureResponse\x12;\n" + "\btreasure\x18\x01 \x01(\v2\x1f.hyapp.room.v1.RoomTreasureInfoR\btreasure\x12$\n" + "\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xd0\x01\n" + "\x1aListRoomOnlineUsersRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12$\n" + "\x0eviewer_user_id\x18\x03 \x01(\x03R\fviewerUserId\x12\x12\n" + "\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x05 \x01(\x05R\bpageSize\x12\x12\n" + "\x04sort\x18\x06 \x01(\tR\x04sort\"\xee\x01\n" + "\x1bListRoomOnlineUsersResponse\x12-\n" + "\x05users\x18\x01 \x03(\v2\x17.hyapp.room.v1.RoomUserR\x05users\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12$\n" + "\x0eserver_time_ms\x18\x05 \x01(\x03R\fserverTimeMs\x123\n" + "\x05items\x18\x06 \x03(\v2\x1d.hyapp.room.v1.RoomOnlineUserR\x05items\"\xd2\x01\n" + "\x0eRoomBannedUser\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\"\n" + "\ractor_user_id\x18\x02 \x01(\x03R\vactorUserId\x12\"\n" + "\rcreated_at_ms\x18\x03 \x01(\x03R\vcreatedAtMs\x12\x1e\n" + "\vunban_at_ms\x18\x04 \x01(\x03R\tunbanAtMs\x12!\n" + "\fremaining_ms\x18\x05 \x01(\x03R\vremainingMs\x12\x1c\n" + "\tpermanent\x18\x06 \x01(\bR\tpermanent\"\xbc\x01\n" + "\x1aListRoomBannedUsersRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12$\n" + "\x0eviewer_user_id\x18\x03 \x01(\x03R\fviewerUserId\x12\x12\n" + "\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x05 \x01(\x05R\bpageSize\"\xbf\x01\n" + "\x1bListRoomBannedUsersResponse\x123\n" + "\x05items\x18\x01 \x03(\v2\x1d.hyapp.room.v1.RoomBannedUserR\x05items\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12$\n" + "\x0eserver_time_ms\x18\x05 \x01(\x03R\fserverTimeMs\"u\n" + "\x11FollowRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x17\n" + "\auser_id\x18\x03 \x01(\x03R\x06userId\"\x95\x01\n" + "\x12FollowRoomResponse\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\x1a\n" + "\bfollowed\x18\x02 \x01(\bR\bfollowed\x12$\n" + "\x0efollowed_at_ms\x18\x03 \x01(\x03R\ffollowedAtMs\x12$\n" + "\x0eserver_time_ms\x18\x04 \x01(\x03R\fserverTimeMs\"w\n" + "\x13UnfollowRoomRequest\x12.\n" + "\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12\x17\n" + "\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x17\n" + "\auser_id\x18\x03 \x01(\x03R\x06userId\"q\n" + "\x14UnfollowRoomResponse\x12\x17\n" + "\aroom_id\x18\x01 \x01(\tR\x06roomId\x12\x1a\n" + "\bfollowed\x18\x02 \x01(\bR\bfollowed\x12$\n" + "\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs2\xb3\x17\n" + "\x12RoomCommandService\x12Q\n" + "\n" + "CreateRoom\x12 .hyapp.room.v1.CreateRoomRequest\x1a!.hyapp.room.v1.CreateRoomResponse\x12f\n" + "\x11UpdateRoomProfile\x12'.hyapp.room.v1.UpdateRoomProfileRequest\x1a(.hyapp.room.v1.UpdateRoomProfileResponse\x12i\n" + "\x12SaveRoomBackground\x12(.hyapp.room.v1.SaveRoomBackgroundRequest\x1a).hyapp.room.v1.SaveRoomBackgroundResponse\x12f\n" + "\x11SetRoomBackground\x12'.hyapp.room.v1.SetRoomBackgroundRequest\x1a(.hyapp.room.v1.SetRoomBackgroundResponse\x12K\n" + "\bJoinRoom\x12\x1e.hyapp.room.v1.JoinRoomRequest\x1a\x1f.hyapp.room.v1.JoinRoomResponse\x12Z\n" + "\rRoomHeartbeat\x12#.hyapp.room.v1.RoomHeartbeatRequest\x1a$.hyapp.room.v1.RoomHeartbeatResponse\x12N\n" + "\tLeaveRoom\x12\x1f.hyapp.room.v1.LeaveRoomRequest\x1a .hyapp.room.v1.LeaveRoomResponse\x12N\n" + "\tCloseRoom\x12\x1f.hyapp.room.v1.CloseRoomRequest\x1a .hyapp.room.v1.CloseRoomResponse\x12`\n" + "\x0fAdminUpdateRoom\x12%.hyapp.room.v1.AdminUpdateRoomRequest\x1a&.hyapp.room.v1.AdminUpdateRoomResponse\x12`\n" + "\x0fAdminDeleteRoom\x12%.hyapp.room.v1.AdminDeleteRoomRequest\x1a&.hyapp.room.v1.AdminDeleteRoomResponse\x12\x8a\x01\n" + "\x1dAdminUpdateRoomTreasureConfig\x123.hyapp.room.v1.AdminUpdateRoomTreasureConfigRequest\x1a4.hyapp.room.v1.AdminUpdateRoomTreasureConfigResponse\x12~\n" + "\x19AdminUpdateRoomSeatConfig\x12/.hyapp.room.v1.AdminUpdateRoomSeatConfigRequest\x1a0.hyapp.room.v1.AdminUpdateRoomSeatConfigResponse\x12i\n" + "\x12AdminCreateRoomPin\x12(.hyapp.room.v1.AdminCreateRoomPinRequest\x1a).hyapp.room.v1.AdminCreateRoomPinResponse\x12i\n" + "\x12AdminCancelRoomPin\x12(.hyapp.room.v1.AdminCancelRoomPinRequest\x1a).hyapp.room.v1.AdminCancelRoomPinResponse\x12B\n" + "\x05MicUp\x12\x1b.hyapp.room.v1.MicUpRequest\x1a\x1c.hyapp.room.v1.MicUpResponse\x12H\n" + "\aMicDown\x12\x1d.hyapp.room.v1.MicDownRequest\x1a\x1e.hyapp.room.v1.MicDownResponse\x12Z\n" + "\rChangeMicSeat\x12#.hyapp.room.v1.ChangeMicSeatRequest\x1a$.hyapp.room.v1.ChangeMicSeatResponse\x12o\n" + "\x14ConfirmMicPublishing\x12*.hyapp.room.v1.ConfirmMicPublishingRequest\x1a+.hyapp.room.v1.ConfirmMicPublishingResponse\x12W\n" + "\fMicHeartbeat\x12\".hyapp.room.v1.MicHeartbeatRequest\x1a#.hyapp.room.v1.MicHeartbeatResponse\x12Q\n" + "\n" + "SetMicMute\x12 .hyapp.room.v1.SetMicMuteRequest\x1a!.hyapp.room.v1.SetMicMuteResponse\x12Z\n" + "\rApplyRTCEvent\x12#.hyapp.room.v1.ApplyRTCEventRequest\x1a$.hyapp.room.v1.ApplyRTCEventResponse\x12]\n" + "\x0eSetMicSeatLock\x12$.hyapp.room.v1.SetMicSeatLockRequest\x1a%.hyapp.room.v1.SetMicSeatLockResponse\x12]\n" + "\x0eSetChatEnabled\x12$.hyapp.room.v1.SetChatEnabledRequest\x1a%.hyapp.room.v1.SetChatEnabledResponse\x12`\n" + "\x0fSetRoomPassword\x12%.hyapp.room.v1.SetRoomPasswordRequest\x1a&.hyapp.room.v1.SetRoomPasswordResponse\x12W\n" + "\fSetRoomAdmin\x12\".hyapp.room.v1.SetRoomAdminRequest\x1a#.hyapp.room.v1.SetRoomAdminResponse\x12K\n" + "\bMuteUser\x12\x1e.hyapp.room.v1.MuteUserRequest\x1a\x1f.hyapp.room.v1.MuteUserResponse\x12K\n" + "\bKickUser\x12\x1e.hyapp.room.v1.KickUserRequest\x1a\x1f.hyapp.room.v1.KickUserResponse\x12N\n" + "\tUnbanUser\x12\x1f.hyapp.room.v1.UnbanUserRequest\x1a .hyapp.room.v1.UnbanUserResponse\x12`\n" + "\x0fSystemEvictUser\x12%.hyapp.room.v1.SystemEvictUserRequest\x1a&.hyapp.room.v1.SystemEvictUserResponse\x12K\n" + "\bSendGift\x12\x1e.hyapp.room.v1.SendGiftRequest\x1a\x1f.hyapp.room.v1.SendGiftResponse\x12Q\n" + "\n" + "FollowRoom\x12 .hyapp.room.v1.FollowRoomRequest\x1a!.hyapp.room.v1.FollowRoomResponse\x12W\n" + "\fUnfollowRoom\x12\".hyapp.room.v1.UnfollowRoomRequest\x1a#.hyapp.room.v1.UnfollowRoomResponse2\xee\x01\n" + "\x10RoomGuardService\x12o\n" + "\x14CheckSpeakPermission\x12*.hyapp.room.v1.CheckSpeakPermissionRequest\x1a+.hyapp.room.v1.CheckSpeakPermissionResponse\x12i\n" + "\x12VerifyRoomPresence\x12(.hyapp.room.v1.VerifyRoomPresenceRequest\x1a).hyapp.room.v1.VerifyRoomPresenceResponse2\x8c\f\n" + "\x10RoomQueryService\x12]\n" + "\x0eAdminListRooms\x12$.hyapp.room.v1.AdminListRoomsRequest\x1a%.hyapp.room.v1.AdminListRoomsResponse\x12W\n" + "\fAdminGetRoom\x12\".hyapp.room.v1.AdminGetRoomRequest\x1a#.hyapp.room.v1.AdminGetRoomResponse\x12\x81\x01\n" + "\x1aAdminGetRoomTreasureConfig\x120.hyapp.room.v1.AdminGetRoomTreasureConfigRequest\x1a1.hyapp.room.v1.AdminGetRoomTreasureConfigResponse\x12u\n" + "\x16AdminGetRoomSeatConfig\x12,.hyapp.room.v1.AdminGetRoomSeatConfigRequest\x1a-.hyapp.room.v1.AdminGetRoomSeatConfigResponse\x12f\n" + "\x11AdminListRoomPins\x12'.hyapp.room.v1.AdminListRoomPinsRequest\x1a(.hyapp.room.v1.AdminListRoomPinsResponse\x12N\n" + "\tListRooms\x12\x1f.hyapp.room.v1.ListRoomsRequest\x1a .hyapp.room.v1.ListRoomsResponse\x12V\n" + "\rListRoomFeeds\x12#.hyapp.room.v1.ListRoomFeedsRequest\x1a .hyapp.room.v1.ListRoomsResponse\x12x\n" + "\x17ListRoomGiftLeaderboard\x12-.hyapp.room.v1.ListRoomGiftLeaderboardRequest\x1a..hyapp.room.v1.ListRoomGiftLeaderboardResponse\x12N\n" + "\tGetMyRoom\x12\x1f.hyapp.room.v1.GetMyRoomRequest\x1a .hyapp.room.v1.GetMyRoomResponse\x12]\n" + "\x0eGetCurrentRoom\x12$.hyapp.room.v1.GetCurrentRoomRequest\x1a%.hyapp.room.v1.GetCurrentRoomResponse\x12`\n" + "\x0fGetRoomSnapshot\x12%.hyapp.room.v1.GetRoomSnapshotRequest\x1a&.hyapp.room.v1.GetRoomSnapshotResponse\x12l\n" + "\x13ListRoomBackgrounds\x12).hyapp.room.v1.ListRoomBackgroundsRequest\x1a*.hyapp.room.v1.ListRoomBackgroundsResponse\x12`\n" + "\x0fGetRoomTreasure\x12%.hyapp.room.v1.GetRoomTreasureRequest\x1a&.hyapp.room.v1.GetRoomTreasureResponse\x12l\n" + "\x13ListRoomOnlineUsers\x12).hyapp.room.v1.ListRoomOnlineUsersRequest\x1a*.hyapp.room.v1.ListRoomOnlineUsersResponse\x12l\n" + "\x13ListRoomBannedUsers\x12).hyapp.room.v1.ListRoomBannedUsersRequest\x1a*.hyapp.room.v1.ListRoomBannedUsersResponseB&Z$hyapp.local/api/proto/room/v1;roomv1b\x06proto3" var ( file_proto_room_v1_room_proto_rawDescOnce sync.Once file_proto_room_v1_room_proto_rawDescData []byte ) func file_proto_room_v1_room_proto_rawDescGZIP() []byte { file_proto_room_v1_room_proto_rawDescOnce.Do(func() { file_proto_room_v1_room_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_room_v1_room_proto_rawDesc), len(file_proto_room_v1_room_proto_rawDesc))) }) return file_proto_room_v1_room_proto_rawDescData } var file_proto_room_v1_room_proto_msgTypes = make([]protoimpl.MessageInfo, 124) var file_proto_room_v1_room_proto_goTypes = []any{ (*RequestMeta)(nil), // 0: hyapp.room.v1.RequestMeta (*CommandResult)(nil), // 1: hyapp.room.v1.CommandResult (*RoomUser)(nil), // 2: hyapp.room.v1.RoomUser (*RoomOnlineUser)(nil), // 3: hyapp.room.v1.RoomOnlineUser (*SeatState)(nil), // 4: hyapp.room.v1.SeatState (*RankItem)(nil), // 5: hyapp.room.v1.RankItem (*LuckyGiftDrawResult)(nil), // 6: hyapp.room.v1.LuckyGiftDrawResult (*RoomTreasureRewardItem)(nil), // 7: hyapp.room.v1.RoomTreasureRewardItem (*RoomTreasureLevel)(nil), // 8: hyapp.room.v1.RoomTreasureLevel (*RoomTreasureRewardGrant)(nil), // 9: hyapp.room.v1.RoomTreasureRewardGrant (*RoomTreasureState)(nil), // 10: hyapp.room.v1.RoomTreasureState (*RoomTreasureInfo)(nil), // 11: hyapp.room.v1.RoomTreasureInfo (*RoomTreasureGiftEnergyRule)(nil), // 12: hyapp.room.v1.RoomTreasureGiftEnergyRule (*AdminRoomTreasureConfig)(nil), // 13: hyapp.room.v1.AdminRoomTreasureConfig (*AdminGetRoomTreasureConfigRequest)(nil), // 14: hyapp.room.v1.AdminGetRoomTreasureConfigRequest (*AdminGetRoomTreasureConfigResponse)(nil), // 15: hyapp.room.v1.AdminGetRoomTreasureConfigResponse (*AdminUpdateRoomTreasureConfigRequest)(nil), // 16: hyapp.room.v1.AdminUpdateRoomTreasureConfigRequest (*AdminUpdateRoomTreasureConfigResponse)(nil), // 17: hyapp.room.v1.AdminUpdateRoomTreasureConfigResponse (*AdminRoomSeatConfig)(nil), // 18: hyapp.room.v1.AdminRoomSeatConfig (*AdminGetRoomSeatConfigRequest)(nil), // 19: hyapp.room.v1.AdminGetRoomSeatConfigRequest (*AdminGetRoomSeatConfigResponse)(nil), // 20: hyapp.room.v1.AdminGetRoomSeatConfigResponse (*AdminUpdateRoomSeatConfigRequest)(nil), // 21: hyapp.room.v1.AdminUpdateRoomSeatConfigRequest (*AdminUpdateRoomSeatConfigResponse)(nil), // 22: hyapp.room.v1.AdminUpdateRoomSeatConfigResponse (*AdminRoomPinRoom)(nil), // 23: hyapp.room.v1.AdminRoomPinRoom (*AdminRoomPin)(nil), // 24: hyapp.room.v1.AdminRoomPin (*AdminListRoomPinsRequest)(nil), // 25: hyapp.room.v1.AdminListRoomPinsRequest (*AdminListRoomPinsResponse)(nil), // 26: hyapp.room.v1.AdminListRoomPinsResponse (*AdminCreateRoomPinRequest)(nil), // 27: hyapp.room.v1.AdminCreateRoomPinRequest (*AdminCreateRoomPinResponse)(nil), // 28: hyapp.room.v1.AdminCreateRoomPinResponse (*AdminCancelRoomPinRequest)(nil), // 29: hyapp.room.v1.AdminCancelRoomPinRequest (*AdminCancelRoomPinResponse)(nil), // 30: hyapp.room.v1.AdminCancelRoomPinResponse (*RoomBanState)(nil), // 31: hyapp.room.v1.RoomBanState (*RoomSnapshot)(nil), // 32: hyapp.room.v1.RoomSnapshot (*RoomBackgroundImage)(nil), // 33: hyapp.room.v1.RoomBackgroundImage (*SaveRoomBackgroundRequest)(nil), // 34: hyapp.room.v1.SaveRoomBackgroundRequest (*SaveRoomBackgroundResponse)(nil), // 35: hyapp.room.v1.SaveRoomBackgroundResponse (*ListRoomBackgroundsRequest)(nil), // 36: hyapp.room.v1.ListRoomBackgroundsRequest (*ListRoomBackgroundsResponse)(nil), // 37: hyapp.room.v1.ListRoomBackgroundsResponse (*SetRoomBackgroundRequest)(nil), // 38: hyapp.room.v1.SetRoomBackgroundRequest (*SetRoomBackgroundResponse)(nil), // 39: hyapp.room.v1.SetRoomBackgroundResponse (*CreateRoomRequest)(nil), // 40: hyapp.room.v1.CreateRoomRequest (*CreateRoomResponse)(nil), // 41: hyapp.room.v1.CreateRoomResponse (*UpdateRoomProfileRequest)(nil), // 42: hyapp.room.v1.UpdateRoomProfileRequest (*UpdateRoomProfileResponse)(nil), // 43: hyapp.room.v1.UpdateRoomProfileResponse (*RoomEntryVehicleSnapshot)(nil), // 44: hyapp.room.v1.RoomEntryVehicleSnapshot (*JoinRoomRequest)(nil), // 45: hyapp.room.v1.JoinRoomRequest (*JoinRoomResponse)(nil), // 46: hyapp.room.v1.JoinRoomResponse (*RoomHeartbeatRequest)(nil), // 47: hyapp.room.v1.RoomHeartbeatRequest (*RoomHeartbeatResponse)(nil), // 48: hyapp.room.v1.RoomHeartbeatResponse (*LeaveRoomRequest)(nil), // 49: hyapp.room.v1.LeaveRoomRequest (*LeaveRoomResponse)(nil), // 50: hyapp.room.v1.LeaveRoomResponse (*CloseRoomRequest)(nil), // 51: hyapp.room.v1.CloseRoomRequest (*CloseRoomResponse)(nil), // 52: hyapp.room.v1.CloseRoomResponse (*AdminRoomListItem)(nil), // 53: hyapp.room.v1.AdminRoomListItem (*AdminListRoomsRequest)(nil), // 54: hyapp.room.v1.AdminListRoomsRequest (*AdminListRoomsResponse)(nil), // 55: hyapp.room.v1.AdminListRoomsResponse (*AdminGetRoomRequest)(nil), // 56: hyapp.room.v1.AdminGetRoomRequest (*AdminGetRoomResponse)(nil), // 57: hyapp.room.v1.AdminGetRoomResponse (*AdminUpdateRoomRequest)(nil), // 58: hyapp.room.v1.AdminUpdateRoomRequest (*AdminUpdateRoomResponse)(nil), // 59: hyapp.room.v1.AdminUpdateRoomResponse (*AdminDeleteRoomRequest)(nil), // 60: hyapp.room.v1.AdminDeleteRoomRequest (*AdminDeleteRoomResponse)(nil), // 61: hyapp.room.v1.AdminDeleteRoomResponse (*MicUpRequest)(nil), // 62: hyapp.room.v1.MicUpRequest (*MicUpResponse)(nil), // 63: hyapp.room.v1.MicUpResponse (*MicDownRequest)(nil), // 64: hyapp.room.v1.MicDownRequest (*MicDownResponse)(nil), // 65: hyapp.room.v1.MicDownResponse (*ChangeMicSeatRequest)(nil), // 66: hyapp.room.v1.ChangeMicSeatRequest (*ChangeMicSeatResponse)(nil), // 67: hyapp.room.v1.ChangeMicSeatResponse (*ConfirmMicPublishingRequest)(nil), // 68: hyapp.room.v1.ConfirmMicPublishingRequest (*ConfirmMicPublishingResponse)(nil), // 69: hyapp.room.v1.ConfirmMicPublishingResponse (*MicHeartbeatRequest)(nil), // 70: hyapp.room.v1.MicHeartbeatRequest (*MicHeartbeatResponse)(nil), // 71: hyapp.room.v1.MicHeartbeatResponse (*SetMicMuteRequest)(nil), // 72: hyapp.room.v1.SetMicMuteRequest (*SetMicMuteResponse)(nil), // 73: hyapp.room.v1.SetMicMuteResponse (*ApplyRTCEventRequest)(nil), // 74: hyapp.room.v1.ApplyRTCEventRequest (*ApplyRTCEventResponse)(nil), // 75: hyapp.room.v1.ApplyRTCEventResponse (*SetMicSeatLockRequest)(nil), // 76: hyapp.room.v1.SetMicSeatLockRequest (*SetMicSeatLockResponse)(nil), // 77: hyapp.room.v1.SetMicSeatLockResponse (*SetChatEnabledRequest)(nil), // 78: hyapp.room.v1.SetChatEnabledRequest (*SetChatEnabledResponse)(nil), // 79: hyapp.room.v1.SetChatEnabledResponse (*SetRoomPasswordRequest)(nil), // 80: hyapp.room.v1.SetRoomPasswordRequest (*SetRoomPasswordResponse)(nil), // 81: hyapp.room.v1.SetRoomPasswordResponse (*SetRoomAdminRequest)(nil), // 82: hyapp.room.v1.SetRoomAdminRequest (*SetRoomAdminResponse)(nil), // 83: hyapp.room.v1.SetRoomAdminResponse (*MuteUserRequest)(nil), // 84: hyapp.room.v1.MuteUserRequest (*MuteUserResponse)(nil), // 85: hyapp.room.v1.MuteUserResponse (*KickUserRequest)(nil), // 86: hyapp.room.v1.KickUserRequest (*KickUserResponse)(nil), // 87: hyapp.room.v1.KickUserResponse (*UnbanUserRequest)(nil), // 88: hyapp.room.v1.UnbanUserRequest (*UnbanUserResponse)(nil), // 89: hyapp.room.v1.UnbanUserResponse (*SystemEvictUserRequest)(nil), // 90: hyapp.room.v1.SystemEvictUserRequest (*SystemEvictUserResponse)(nil), // 91: hyapp.room.v1.SystemEvictUserResponse (*SendGiftRequest)(nil), // 92: hyapp.room.v1.SendGiftRequest (*SendGiftResponse)(nil), // 93: hyapp.room.v1.SendGiftResponse (*CheckSpeakPermissionRequest)(nil), // 94: hyapp.room.v1.CheckSpeakPermissionRequest (*CheckSpeakPermissionResponse)(nil), // 95: hyapp.room.v1.CheckSpeakPermissionResponse (*VerifyRoomPresenceRequest)(nil), // 96: hyapp.room.v1.VerifyRoomPresenceRequest (*VerifyRoomPresenceResponse)(nil), // 97: hyapp.room.v1.VerifyRoomPresenceResponse (*ListRoomsRequest)(nil), // 98: hyapp.room.v1.ListRoomsRequest (*ListRoomFeedsRequest)(nil), // 99: hyapp.room.v1.ListRoomFeedsRequest (*ListRoomGiftLeaderboardRequest)(nil), // 100: hyapp.room.v1.ListRoomGiftLeaderboardRequest (*RoomFeedRelatedUser)(nil), // 101: hyapp.room.v1.RoomFeedRelatedUser (*RoomListItem)(nil), // 102: hyapp.room.v1.RoomListItem (*ListRoomsResponse)(nil), // 103: hyapp.room.v1.ListRoomsResponse (*RoomGiftLeaderboardItem)(nil), // 104: hyapp.room.v1.RoomGiftLeaderboardItem (*ListRoomGiftLeaderboardResponse)(nil), // 105: hyapp.room.v1.ListRoomGiftLeaderboardResponse (*GetMyRoomRequest)(nil), // 106: hyapp.room.v1.GetMyRoomRequest (*GetMyRoomResponse)(nil), // 107: hyapp.room.v1.GetMyRoomResponse (*GetCurrentRoomRequest)(nil), // 108: hyapp.room.v1.GetCurrentRoomRequest (*GetCurrentRoomResponse)(nil), // 109: hyapp.room.v1.GetCurrentRoomResponse (*GetRoomSnapshotRequest)(nil), // 110: hyapp.room.v1.GetRoomSnapshotRequest (*GetRoomSnapshotResponse)(nil), // 111: hyapp.room.v1.GetRoomSnapshotResponse (*GetRoomTreasureRequest)(nil), // 112: hyapp.room.v1.GetRoomTreasureRequest (*GetRoomTreasureResponse)(nil), // 113: hyapp.room.v1.GetRoomTreasureResponse (*ListRoomOnlineUsersRequest)(nil), // 114: hyapp.room.v1.ListRoomOnlineUsersRequest (*ListRoomOnlineUsersResponse)(nil), // 115: hyapp.room.v1.ListRoomOnlineUsersResponse (*RoomBannedUser)(nil), // 116: hyapp.room.v1.RoomBannedUser (*ListRoomBannedUsersRequest)(nil), // 117: hyapp.room.v1.ListRoomBannedUsersRequest (*ListRoomBannedUsersResponse)(nil), // 118: hyapp.room.v1.ListRoomBannedUsersResponse (*FollowRoomRequest)(nil), // 119: hyapp.room.v1.FollowRoomRequest (*FollowRoomResponse)(nil), // 120: hyapp.room.v1.FollowRoomResponse (*UnfollowRoomRequest)(nil), // 121: hyapp.room.v1.UnfollowRoomRequest (*UnfollowRoomResponse)(nil), // 122: hyapp.room.v1.UnfollowRoomResponse nil, // 123: hyapp.room.v1.RoomSnapshot.RoomExtEntry } var file_proto_room_v1_room_proto_depIdxs = []int32{ 7, // 0: hyapp.room.v1.RoomTreasureLevel.in_room_rewards:type_name -> hyapp.room.v1.RoomTreasureRewardItem 7, // 1: hyapp.room.v1.RoomTreasureLevel.top1_rewards:type_name -> hyapp.room.v1.RoomTreasureRewardItem 7, // 2: hyapp.room.v1.RoomTreasureLevel.igniter_rewards:type_name -> hyapp.room.v1.RoomTreasureRewardItem 9, // 3: hyapp.room.v1.RoomTreasureState.last_rewards:type_name -> hyapp.room.v1.RoomTreasureRewardGrant 8, // 4: hyapp.room.v1.RoomTreasureInfo.levels:type_name -> hyapp.room.v1.RoomTreasureLevel 10, // 5: hyapp.room.v1.RoomTreasureInfo.state:type_name -> hyapp.room.v1.RoomTreasureState 8, // 6: hyapp.room.v1.AdminRoomTreasureConfig.levels:type_name -> hyapp.room.v1.RoomTreasureLevel 12, // 7: hyapp.room.v1.AdminRoomTreasureConfig.gift_energy_rules:type_name -> hyapp.room.v1.RoomTreasureGiftEnergyRule 0, // 8: hyapp.room.v1.AdminGetRoomTreasureConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta 13, // 9: hyapp.room.v1.AdminGetRoomTreasureConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomTreasureConfig 0, // 10: hyapp.room.v1.AdminUpdateRoomTreasureConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta 13, // 11: hyapp.room.v1.AdminUpdateRoomTreasureConfigRequest.config:type_name -> hyapp.room.v1.AdminRoomTreasureConfig 13, // 12: hyapp.room.v1.AdminUpdateRoomTreasureConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomTreasureConfig 0, // 13: hyapp.room.v1.AdminGetRoomSeatConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta 18, // 14: hyapp.room.v1.AdminGetRoomSeatConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomSeatConfig 0, // 15: hyapp.room.v1.AdminUpdateRoomSeatConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta 18, // 16: hyapp.room.v1.AdminUpdateRoomSeatConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomSeatConfig 23, // 17: hyapp.room.v1.AdminRoomPin.room:type_name -> hyapp.room.v1.AdminRoomPinRoom 0, // 18: hyapp.room.v1.AdminListRoomPinsRequest.meta:type_name -> hyapp.room.v1.RequestMeta 24, // 19: hyapp.room.v1.AdminListRoomPinsResponse.pins:type_name -> hyapp.room.v1.AdminRoomPin 0, // 20: hyapp.room.v1.AdminCreateRoomPinRequest.meta:type_name -> hyapp.room.v1.RequestMeta 24, // 21: hyapp.room.v1.AdminCreateRoomPinResponse.pin:type_name -> hyapp.room.v1.AdminRoomPin 0, // 22: hyapp.room.v1.AdminCancelRoomPinRequest.meta:type_name -> hyapp.room.v1.RequestMeta 24, // 23: hyapp.room.v1.AdminCancelRoomPinResponse.pin:type_name -> hyapp.room.v1.AdminRoomPin 4, // 24: hyapp.room.v1.RoomSnapshot.mic_seats:type_name -> hyapp.room.v1.SeatState 2, // 25: hyapp.room.v1.RoomSnapshot.online_users:type_name -> hyapp.room.v1.RoomUser 5, // 26: hyapp.room.v1.RoomSnapshot.gift_rank:type_name -> hyapp.room.v1.RankItem 123, // 27: hyapp.room.v1.RoomSnapshot.room_ext:type_name -> hyapp.room.v1.RoomSnapshot.RoomExtEntry 10, // 28: hyapp.room.v1.RoomSnapshot.treasure:type_name -> hyapp.room.v1.RoomTreasureState 31, // 29: hyapp.room.v1.RoomSnapshot.ban_states:type_name -> hyapp.room.v1.RoomBanState 0, // 30: hyapp.room.v1.SaveRoomBackgroundRequest.meta:type_name -> hyapp.room.v1.RequestMeta 33, // 31: hyapp.room.v1.SaveRoomBackgroundResponse.background:type_name -> hyapp.room.v1.RoomBackgroundImage 0, // 32: hyapp.room.v1.ListRoomBackgroundsRequest.meta:type_name -> hyapp.room.v1.RequestMeta 33, // 33: hyapp.room.v1.ListRoomBackgroundsResponse.backgrounds:type_name -> hyapp.room.v1.RoomBackgroundImage 0, // 34: hyapp.room.v1.SetRoomBackgroundRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 35: hyapp.room.v1.SetRoomBackgroundResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 36: hyapp.room.v1.SetRoomBackgroundResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 33, // 37: hyapp.room.v1.SetRoomBackgroundResponse.background:type_name -> hyapp.room.v1.RoomBackgroundImage 0, // 38: hyapp.room.v1.CreateRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 39: hyapp.room.v1.CreateRoomResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 40: hyapp.room.v1.CreateRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 41: hyapp.room.v1.UpdateRoomProfileRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 42: hyapp.room.v1.UpdateRoomProfileResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 43: hyapp.room.v1.UpdateRoomProfileResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 44: hyapp.room.v1.JoinRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 44, // 45: hyapp.room.v1.JoinRoomRequest.entry_vehicle:type_name -> hyapp.room.v1.RoomEntryVehicleSnapshot 1, // 46: hyapp.room.v1.JoinRoomResponse.result:type_name -> hyapp.room.v1.CommandResult 2, // 47: hyapp.room.v1.JoinRoomResponse.user:type_name -> hyapp.room.v1.RoomUser 32, // 48: hyapp.room.v1.JoinRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 49: hyapp.room.v1.RoomHeartbeatRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 50: hyapp.room.v1.RoomHeartbeatResponse.result:type_name -> hyapp.room.v1.CommandResult 2, // 51: hyapp.room.v1.RoomHeartbeatResponse.user:type_name -> hyapp.room.v1.RoomUser 32, // 52: hyapp.room.v1.RoomHeartbeatResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 53: hyapp.room.v1.LeaveRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 54: hyapp.room.v1.LeaveRoomResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 55: hyapp.room.v1.LeaveRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 56: hyapp.room.v1.CloseRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 57: hyapp.room.v1.CloseRoomResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 58: hyapp.room.v1.CloseRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 59: hyapp.room.v1.AdminListRoomsRequest.meta:type_name -> hyapp.room.v1.RequestMeta 53, // 60: hyapp.room.v1.AdminListRoomsResponse.rooms:type_name -> hyapp.room.v1.AdminRoomListItem 0, // 61: hyapp.room.v1.AdminGetRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 53, // 62: hyapp.room.v1.AdminGetRoomResponse.room:type_name -> hyapp.room.v1.AdminRoomListItem 0, // 63: hyapp.room.v1.AdminUpdateRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 64: hyapp.room.v1.AdminUpdateRoomResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 65: hyapp.room.v1.AdminUpdateRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 66: hyapp.room.v1.AdminDeleteRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 67: hyapp.room.v1.AdminDeleteRoomResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 68: hyapp.room.v1.AdminDeleteRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 69: hyapp.room.v1.MicUpRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 70: hyapp.room.v1.MicUpResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 71: hyapp.room.v1.MicUpResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 72: hyapp.room.v1.MicDownRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 73: hyapp.room.v1.MicDownResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 74: hyapp.room.v1.MicDownResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 75: hyapp.room.v1.ChangeMicSeatRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 76: hyapp.room.v1.ChangeMicSeatResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 77: hyapp.room.v1.ChangeMicSeatResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 78: hyapp.room.v1.ConfirmMicPublishingRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 79: hyapp.room.v1.ConfirmMicPublishingResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 80: hyapp.room.v1.ConfirmMicPublishingResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 81: hyapp.room.v1.MicHeartbeatRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 82: hyapp.room.v1.MicHeartbeatResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 83: hyapp.room.v1.MicHeartbeatResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 84: hyapp.room.v1.SetMicMuteRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 85: hyapp.room.v1.SetMicMuteResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 86: hyapp.room.v1.SetMicMuteResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 87: hyapp.room.v1.ApplyRTCEventRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 88: hyapp.room.v1.ApplyRTCEventResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 89: hyapp.room.v1.ApplyRTCEventResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 90: hyapp.room.v1.SetMicSeatLockRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 91: hyapp.room.v1.SetMicSeatLockResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 92: hyapp.room.v1.SetMicSeatLockResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 93: hyapp.room.v1.SetChatEnabledRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 94: hyapp.room.v1.SetChatEnabledResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 95: hyapp.room.v1.SetChatEnabledResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 96: hyapp.room.v1.SetRoomPasswordRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 97: hyapp.room.v1.SetRoomPasswordResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 98: hyapp.room.v1.SetRoomPasswordResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 99: hyapp.room.v1.SetRoomAdminRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 100: hyapp.room.v1.SetRoomAdminResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 101: hyapp.room.v1.SetRoomAdminResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 102: hyapp.room.v1.MuteUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 103: hyapp.room.v1.MuteUserResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 104: hyapp.room.v1.MuteUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 105: hyapp.room.v1.KickUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 106: hyapp.room.v1.KickUserResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 107: hyapp.room.v1.KickUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 108: hyapp.room.v1.UnbanUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 109: hyapp.room.v1.UnbanUserResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 110: hyapp.room.v1.UnbanUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 111: hyapp.room.v1.SystemEvictUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 112: hyapp.room.v1.SystemEvictUserResponse.result:type_name -> hyapp.room.v1.CommandResult 32, // 113: hyapp.room.v1.SystemEvictUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 114: hyapp.room.v1.SendGiftRequest.meta:type_name -> hyapp.room.v1.RequestMeta 1, // 115: hyapp.room.v1.SendGiftResponse.result:type_name -> hyapp.room.v1.CommandResult 5, // 116: hyapp.room.v1.SendGiftResponse.gift_rank:type_name -> hyapp.room.v1.RankItem 32, // 117: hyapp.room.v1.SendGiftResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 10, // 118: hyapp.room.v1.SendGiftResponse.treasure:type_name -> hyapp.room.v1.RoomTreasureState 6, // 119: hyapp.room.v1.SendGiftResponse.lucky_gift:type_name -> hyapp.room.v1.LuckyGiftDrawResult 6, // 120: hyapp.room.v1.SendGiftResponse.lucky_gifts:type_name -> hyapp.room.v1.LuckyGiftDrawResult 0, // 121: hyapp.room.v1.ListRoomsRequest.meta:type_name -> hyapp.room.v1.RequestMeta 0, // 122: hyapp.room.v1.ListRoomFeedsRequest.meta:type_name -> hyapp.room.v1.RequestMeta 101, // 123: hyapp.room.v1.ListRoomFeedsRequest.related_users:type_name -> hyapp.room.v1.RoomFeedRelatedUser 0, // 124: hyapp.room.v1.ListRoomGiftLeaderboardRequest.meta:type_name -> hyapp.room.v1.RequestMeta 102, // 125: hyapp.room.v1.ListRoomsResponse.rooms:type_name -> hyapp.room.v1.RoomListItem 102, // 126: hyapp.room.v1.RoomGiftLeaderboardItem.room:type_name -> hyapp.room.v1.RoomListItem 104, // 127: hyapp.room.v1.ListRoomGiftLeaderboardResponse.items:type_name -> hyapp.room.v1.RoomGiftLeaderboardItem 0, // 128: hyapp.room.v1.GetMyRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 102, // 129: hyapp.room.v1.GetMyRoomResponse.room:type_name -> hyapp.room.v1.RoomListItem 0, // 130: hyapp.room.v1.GetCurrentRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 0, // 131: hyapp.room.v1.GetRoomSnapshotRequest.meta:type_name -> hyapp.room.v1.RequestMeta 32, // 132: hyapp.room.v1.GetRoomSnapshotResponse.room:type_name -> hyapp.room.v1.RoomSnapshot 0, // 133: hyapp.room.v1.GetRoomTreasureRequest.meta:type_name -> hyapp.room.v1.RequestMeta 11, // 134: hyapp.room.v1.GetRoomTreasureResponse.treasure:type_name -> hyapp.room.v1.RoomTreasureInfo 0, // 135: hyapp.room.v1.ListRoomOnlineUsersRequest.meta:type_name -> hyapp.room.v1.RequestMeta 2, // 136: hyapp.room.v1.ListRoomOnlineUsersResponse.users:type_name -> hyapp.room.v1.RoomUser 3, // 137: hyapp.room.v1.ListRoomOnlineUsersResponse.items:type_name -> hyapp.room.v1.RoomOnlineUser 0, // 138: hyapp.room.v1.ListRoomBannedUsersRequest.meta:type_name -> hyapp.room.v1.RequestMeta 116, // 139: hyapp.room.v1.ListRoomBannedUsersResponse.items:type_name -> hyapp.room.v1.RoomBannedUser 0, // 140: hyapp.room.v1.FollowRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 0, // 141: hyapp.room.v1.UnfollowRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta 40, // 142: hyapp.room.v1.RoomCommandService.CreateRoom:input_type -> hyapp.room.v1.CreateRoomRequest 42, // 143: hyapp.room.v1.RoomCommandService.UpdateRoomProfile:input_type -> hyapp.room.v1.UpdateRoomProfileRequest 34, // 144: hyapp.room.v1.RoomCommandService.SaveRoomBackground:input_type -> hyapp.room.v1.SaveRoomBackgroundRequest 38, // 145: hyapp.room.v1.RoomCommandService.SetRoomBackground:input_type -> hyapp.room.v1.SetRoomBackgroundRequest 45, // 146: hyapp.room.v1.RoomCommandService.JoinRoom:input_type -> hyapp.room.v1.JoinRoomRequest 47, // 147: hyapp.room.v1.RoomCommandService.RoomHeartbeat:input_type -> hyapp.room.v1.RoomHeartbeatRequest 49, // 148: hyapp.room.v1.RoomCommandService.LeaveRoom:input_type -> hyapp.room.v1.LeaveRoomRequest 51, // 149: hyapp.room.v1.RoomCommandService.CloseRoom:input_type -> hyapp.room.v1.CloseRoomRequest 58, // 150: hyapp.room.v1.RoomCommandService.AdminUpdateRoom:input_type -> hyapp.room.v1.AdminUpdateRoomRequest 60, // 151: hyapp.room.v1.RoomCommandService.AdminDeleteRoom:input_type -> hyapp.room.v1.AdminDeleteRoomRequest 16, // 152: hyapp.room.v1.RoomCommandService.AdminUpdateRoomTreasureConfig:input_type -> hyapp.room.v1.AdminUpdateRoomTreasureConfigRequest 21, // 153: hyapp.room.v1.RoomCommandService.AdminUpdateRoomSeatConfig:input_type -> hyapp.room.v1.AdminUpdateRoomSeatConfigRequest 27, // 154: hyapp.room.v1.RoomCommandService.AdminCreateRoomPin:input_type -> hyapp.room.v1.AdminCreateRoomPinRequest 29, // 155: hyapp.room.v1.RoomCommandService.AdminCancelRoomPin:input_type -> hyapp.room.v1.AdminCancelRoomPinRequest 62, // 156: hyapp.room.v1.RoomCommandService.MicUp:input_type -> hyapp.room.v1.MicUpRequest 64, // 157: hyapp.room.v1.RoomCommandService.MicDown:input_type -> hyapp.room.v1.MicDownRequest 66, // 158: hyapp.room.v1.RoomCommandService.ChangeMicSeat:input_type -> hyapp.room.v1.ChangeMicSeatRequest 68, // 159: hyapp.room.v1.RoomCommandService.ConfirmMicPublishing:input_type -> hyapp.room.v1.ConfirmMicPublishingRequest 70, // 160: hyapp.room.v1.RoomCommandService.MicHeartbeat:input_type -> hyapp.room.v1.MicHeartbeatRequest 72, // 161: hyapp.room.v1.RoomCommandService.SetMicMute:input_type -> hyapp.room.v1.SetMicMuteRequest 74, // 162: hyapp.room.v1.RoomCommandService.ApplyRTCEvent:input_type -> hyapp.room.v1.ApplyRTCEventRequest 76, // 163: hyapp.room.v1.RoomCommandService.SetMicSeatLock:input_type -> hyapp.room.v1.SetMicSeatLockRequest 78, // 164: hyapp.room.v1.RoomCommandService.SetChatEnabled:input_type -> hyapp.room.v1.SetChatEnabledRequest 80, // 165: hyapp.room.v1.RoomCommandService.SetRoomPassword:input_type -> hyapp.room.v1.SetRoomPasswordRequest 82, // 166: hyapp.room.v1.RoomCommandService.SetRoomAdmin:input_type -> hyapp.room.v1.SetRoomAdminRequest 84, // 167: hyapp.room.v1.RoomCommandService.MuteUser:input_type -> hyapp.room.v1.MuteUserRequest 86, // 168: hyapp.room.v1.RoomCommandService.KickUser:input_type -> hyapp.room.v1.KickUserRequest 88, // 169: hyapp.room.v1.RoomCommandService.UnbanUser:input_type -> hyapp.room.v1.UnbanUserRequest 90, // 170: hyapp.room.v1.RoomCommandService.SystemEvictUser:input_type -> hyapp.room.v1.SystemEvictUserRequest 92, // 171: hyapp.room.v1.RoomCommandService.SendGift:input_type -> hyapp.room.v1.SendGiftRequest 119, // 172: hyapp.room.v1.RoomCommandService.FollowRoom:input_type -> hyapp.room.v1.FollowRoomRequest 121, // 173: hyapp.room.v1.RoomCommandService.UnfollowRoom:input_type -> hyapp.room.v1.UnfollowRoomRequest 94, // 174: hyapp.room.v1.RoomGuardService.CheckSpeakPermission:input_type -> hyapp.room.v1.CheckSpeakPermissionRequest 96, // 175: hyapp.room.v1.RoomGuardService.VerifyRoomPresence:input_type -> hyapp.room.v1.VerifyRoomPresenceRequest 54, // 176: hyapp.room.v1.RoomQueryService.AdminListRooms:input_type -> hyapp.room.v1.AdminListRoomsRequest 56, // 177: hyapp.room.v1.RoomQueryService.AdminGetRoom:input_type -> hyapp.room.v1.AdminGetRoomRequest 14, // 178: hyapp.room.v1.RoomQueryService.AdminGetRoomTreasureConfig:input_type -> hyapp.room.v1.AdminGetRoomTreasureConfigRequest 19, // 179: hyapp.room.v1.RoomQueryService.AdminGetRoomSeatConfig:input_type -> hyapp.room.v1.AdminGetRoomSeatConfigRequest 25, // 180: hyapp.room.v1.RoomQueryService.AdminListRoomPins:input_type -> hyapp.room.v1.AdminListRoomPinsRequest 98, // 181: hyapp.room.v1.RoomQueryService.ListRooms:input_type -> hyapp.room.v1.ListRoomsRequest 99, // 182: hyapp.room.v1.RoomQueryService.ListRoomFeeds:input_type -> hyapp.room.v1.ListRoomFeedsRequest 100, // 183: hyapp.room.v1.RoomQueryService.ListRoomGiftLeaderboard:input_type -> hyapp.room.v1.ListRoomGiftLeaderboardRequest 106, // 184: hyapp.room.v1.RoomQueryService.GetMyRoom:input_type -> hyapp.room.v1.GetMyRoomRequest 108, // 185: hyapp.room.v1.RoomQueryService.GetCurrentRoom:input_type -> hyapp.room.v1.GetCurrentRoomRequest 110, // 186: hyapp.room.v1.RoomQueryService.GetRoomSnapshot:input_type -> hyapp.room.v1.GetRoomSnapshotRequest 36, // 187: hyapp.room.v1.RoomQueryService.ListRoomBackgrounds:input_type -> hyapp.room.v1.ListRoomBackgroundsRequest 112, // 188: hyapp.room.v1.RoomQueryService.GetRoomTreasure:input_type -> hyapp.room.v1.GetRoomTreasureRequest 114, // 189: hyapp.room.v1.RoomQueryService.ListRoomOnlineUsers:input_type -> hyapp.room.v1.ListRoomOnlineUsersRequest 117, // 190: hyapp.room.v1.RoomQueryService.ListRoomBannedUsers:input_type -> hyapp.room.v1.ListRoomBannedUsersRequest 41, // 191: hyapp.room.v1.RoomCommandService.CreateRoom:output_type -> hyapp.room.v1.CreateRoomResponse 43, // 192: hyapp.room.v1.RoomCommandService.UpdateRoomProfile:output_type -> hyapp.room.v1.UpdateRoomProfileResponse 35, // 193: hyapp.room.v1.RoomCommandService.SaveRoomBackground:output_type -> hyapp.room.v1.SaveRoomBackgroundResponse 39, // 194: hyapp.room.v1.RoomCommandService.SetRoomBackground:output_type -> hyapp.room.v1.SetRoomBackgroundResponse 46, // 195: hyapp.room.v1.RoomCommandService.JoinRoom:output_type -> hyapp.room.v1.JoinRoomResponse 48, // 196: hyapp.room.v1.RoomCommandService.RoomHeartbeat:output_type -> hyapp.room.v1.RoomHeartbeatResponse 50, // 197: hyapp.room.v1.RoomCommandService.LeaveRoom:output_type -> hyapp.room.v1.LeaveRoomResponse 52, // 198: hyapp.room.v1.RoomCommandService.CloseRoom:output_type -> hyapp.room.v1.CloseRoomResponse 59, // 199: hyapp.room.v1.RoomCommandService.AdminUpdateRoom:output_type -> hyapp.room.v1.AdminUpdateRoomResponse 61, // 200: hyapp.room.v1.RoomCommandService.AdminDeleteRoom:output_type -> hyapp.room.v1.AdminDeleteRoomResponse 17, // 201: hyapp.room.v1.RoomCommandService.AdminUpdateRoomTreasureConfig:output_type -> hyapp.room.v1.AdminUpdateRoomTreasureConfigResponse 22, // 202: hyapp.room.v1.RoomCommandService.AdminUpdateRoomSeatConfig:output_type -> hyapp.room.v1.AdminUpdateRoomSeatConfigResponse 28, // 203: hyapp.room.v1.RoomCommandService.AdminCreateRoomPin:output_type -> hyapp.room.v1.AdminCreateRoomPinResponse 30, // 204: hyapp.room.v1.RoomCommandService.AdminCancelRoomPin:output_type -> hyapp.room.v1.AdminCancelRoomPinResponse 63, // 205: hyapp.room.v1.RoomCommandService.MicUp:output_type -> hyapp.room.v1.MicUpResponse 65, // 206: hyapp.room.v1.RoomCommandService.MicDown:output_type -> hyapp.room.v1.MicDownResponse 67, // 207: hyapp.room.v1.RoomCommandService.ChangeMicSeat:output_type -> hyapp.room.v1.ChangeMicSeatResponse 69, // 208: hyapp.room.v1.RoomCommandService.ConfirmMicPublishing:output_type -> hyapp.room.v1.ConfirmMicPublishingResponse 71, // 209: hyapp.room.v1.RoomCommandService.MicHeartbeat:output_type -> hyapp.room.v1.MicHeartbeatResponse 73, // 210: hyapp.room.v1.RoomCommandService.SetMicMute:output_type -> hyapp.room.v1.SetMicMuteResponse 75, // 211: hyapp.room.v1.RoomCommandService.ApplyRTCEvent:output_type -> hyapp.room.v1.ApplyRTCEventResponse 77, // 212: hyapp.room.v1.RoomCommandService.SetMicSeatLock:output_type -> hyapp.room.v1.SetMicSeatLockResponse 79, // 213: hyapp.room.v1.RoomCommandService.SetChatEnabled:output_type -> hyapp.room.v1.SetChatEnabledResponse 81, // 214: hyapp.room.v1.RoomCommandService.SetRoomPassword:output_type -> hyapp.room.v1.SetRoomPasswordResponse 83, // 215: hyapp.room.v1.RoomCommandService.SetRoomAdmin:output_type -> hyapp.room.v1.SetRoomAdminResponse 85, // 216: hyapp.room.v1.RoomCommandService.MuteUser:output_type -> hyapp.room.v1.MuteUserResponse 87, // 217: hyapp.room.v1.RoomCommandService.KickUser:output_type -> hyapp.room.v1.KickUserResponse 89, // 218: hyapp.room.v1.RoomCommandService.UnbanUser:output_type -> hyapp.room.v1.UnbanUserResponse 91, // 219: hyapp.room.v1.RoomCommandService.SystemEvictUser:output_type -> hyapp.room.v1.SystemEvictUserResponse 93, // 220: hyapp.room.v1.RoomCommandService.SendGift:output_type -> hyapp.room.v1.SendGiftResponse 120, // 221: hyapp.room.v1.RoomCommandService.FollowRoom:output_type -> hyapp.room.v1.FollowRoomResponse 122, // 222: hyapp.room.v1.RoomCommandService.UnfollowRoom:output_type -> hyapp.room.v1.UnfollowRoomResponse 95, // 223: hyapp.room.v1.RoomGuardService.CheckSpeakPermission:output_type -> hyapp.room.v1.CheckSpeakPermissionResponse 97, // 224: hyapp.room.v1.RoomGuardService.VerifyRoomPresence:output_type -> hyapp.room.v1.VerifyRoomPresenceResponse 55, // 225: hyapp.room.v1.RoomQueryService.AdminListRooms:output_type -> hyapp.room.v1.AdminListRoomsResponse 57, // 226: hyapp.room.v1.RoomQueryService.AdminGetRoom:output_type -> hyapp.room.v1.AdminGetRoomResponse 15, // 227: hyapp.room.v1.RoomQueryService.AdminGetRoomTreasureConfig:output_type -> hyapp.room.v1.AdminGetRoomTreasureConfigResponse 20, // 228: hyapp.room.v1.RoomQueryService.AdminGetRoomSeatConfig:output_type -> hyapp.room.v1.AdminGetRoomSeatConfigResponse 26, // 229: hyapp.room.v1.RoomQueryService.AdminListRoomPins:output_type -> hyapp.room.v1.AdminListRoomPinsResponse 103, // 230: hyapp.room.v1.RoomQueryService.ListRooms:output_type -> hyapp.room.v1.ListRoomsResponse 103, // 231: hyapp.room.v1.RoomQueryService.ListRoomFeeds:output_type -> hyapp.room.v1.ListRoomsResponse 105, // 232: hyapp.room.v1.RoomQueryService.ListRoomGiftLeaderboard:output_type -> hyapp.room.v1.ListRoomGiftLeaderboardResponse 107, // 233: hyapp.room.v1.RoomQueryService.GetMyRoom:output_type -> hyapp.room.v1.GetMyRoomResponse 109, // 234: hyapp.room.v1.RoomQueryService.GetCurrentRoom:output_type -> hyapp.room.v1.GetCurrentRoomResponse 111, // 235: hyapp.room.v1.RoomQueryService.GetRoomSnapshot:output_type -> hyapp.room.v1.GetRoomSnapshotResponse 37, // 236: hyapp.room.v1.RoomQueryService.ListRoomBackgrounds:output_type -> hyapp.room.v1.ListRoomBackgroundsResponse 113, // 237: hyapp.room.v1.RoomQueryService.GetRoomTreasure:output_type -> hyapp.room.v1.GetRoomTreasureResponse 115, // 238: hyapp.room.v1.RoomQueryService.ListRoomOnlineUsers:output_type -> hyapp.room.v1.ListRoomOnlineUsersResponse 118, // 239: hyapp.room.v1.RoomQueryService.ListRoomBannedUsers:output_type -> hyapp.room.v1.ListRoomBannedUsersResponse 191, // [191:240] is the sub-list for method output_type 142, // [142:191] is the sub-list for method input_type 142, // [142:142] is the sub-list for extension type_name 142, // [142:142] is the sub-list for extension extendee 0, // [0:142] is the sub-list for field type_name } func init() { file_proto_room_v1_room_proto_init() } func file_proto_room_v1_room_proto_init() { if File_proto_room_v1_room_proto != nil { return } file_proto_room_v1_room_proto_msgTypes[42].OneofWrappers = []any{} file_proto_room_v1_room_proto_msgTypes[58].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_room_v1_room_proto_rawDesc), len(file_proto_room_v1_room_proto_rawDesc)), NumEnums: 0, NumMessages: 124, NumExtensions: 0, NumServices: 3, }, GoTypes: file_proto_room_v1_room_proto_goTypes, DependencyIndexes: file_proto_room_v1_room_proto_depIdxs, MessageInfos: file_proto_room_v1_room_proto_msgTypes, }.Build() File_proto_room_v1_room_proto = out.File file_proto_room_v1_room_proto_goTypes = nil file_proto_room_v1_room_proto_depIdxs = nil }