10617 lines
357 KiB
Go
10617 lines
357 KiB
Go
// 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
|
||
}
|
||
|
||
// RoomRocketRewardItem 是后台配置给客户端展示的火箭奖励候选项。
|
||
type RoomRocketRewardItem 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 *RoomRocketRewardItem) Reset() {
|
||
*x = RoomRocketRewardItem{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketRewardItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketRewardItem) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketRewardItem) 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 RoomRocketRewardItem.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketRewardItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *RoomRocketRewardItem) GetRewardItemId() string {
|
||
if x != nil {
|
||
return x.RewardItemId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardItem) GetResourceGroupId() int64 {
|
||
if x != nil {
|
||
return x.ResourceGroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketRewardItem) GetWeight() int64 {
|
||
if x != nil {
|
||
return x.Weight
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketRewardItem) GetDisplayName() string {
|
||
if x != nil {
|
||
return x.DisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardItem) GetIconUrl() string {
|
||
if x != nil {
|
||
return x.IconUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomRocketLevel 暴露单个等级火箭的物料、阈值和三类奖励池。
|
||
type RoomRocketLevel struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
||
FuelThreshold int64 `protobuf:"varint,2,opt,name=fuel_threshold,json=fuelThreshold,proto3" json:"fuel_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"`
|
||
LaunchAnimationUrl string `protobuf:"bytes,5,opt,name=launch_animation_url,json=launchAnimationUrl,proto3" json:"launch_animation_url,omitempty"`
|
||
LaunchedImageUrl string `protobuf:"bytes,6,opt,name=launched_image_url,json=launchedImageUrl,proto3" json:"launched_image_url,omitempty"`
|
||
InRoomRewards []*RoomRocketRewardItem `protobuf:"bytes,7,rep,name=in_room_rewards,json=inRoomRewards,proto3" json:"in_room_rewards,omitempty"`
|
||
Top1Rewards []*RoomRocketRewardItem `protobuf:"bytes,8,rep,name=top1_rewards,json=top1Rewards,proto3" json:"top1_rewards,omitempty"`
|
||
IgniterRewards []*RoomRocketRewardItem `protobuf:"bytes,9,rep,name=igniter_rewards,json=igniterRewards,proto3" json:"igniter_rewards,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomRocketLevel) Reset() {
|
||
*x = RoomRocketLevel{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketLevel) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketLevel) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketLevel) 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 RoomRocketLevel.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketLevel) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetFuelThreshold() int64 {
|
||
if x != nil {
|
||
return x.FuelThreshold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetCoverUrl() string {
|
||
if x != nil {
|
||
return x.CoverUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetAnimationUrl() string {
|
||
if x != nil {
|
||
return x.AnimationUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetLaunchAnimationUrl() string {
|
||
if x != nil {
|
||
return x.LaunchAnimationUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetLaunchedImageUrl() string {
|
||
if x != nil {
|
||
return x.LaunchedImageUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetInRoomRewards() []*RoomRocketRewardItem {
|
||
if x != nil {
|
||
return x.InRoomRewards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetTop1Rewards() []*RoomRocketRewardItem {
|
||
if x != nil {
|
||
return x.Top1Rewards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomRocketLevel) GetIgniterRewards() []*RoomRocketRewardItem {
|
||
if x != nil {
|
||
return x.IgniterRewards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// RoomRocketRewardGrant 是一次火箭发射后给某个用户结算出的具体奖励。
|
||
type RoomRocketRewardGrant 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 *RoomRocketRewardGrant) Reset() {
|
||
*x = RoomRocketRewardGrant{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketRewardGrant) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketRewardGrant) 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 RoomRocketRewardGrant.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketRewardGrant) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetRewardRole() string {
|
||
if x != nil {
|
||
return x.RewardRole
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetRewardItemId() string {
|
||
if x != nil {
|
||
return x.RewardItemId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetResourceGroupId() int64 {
|
||
if x != nil {
|
||
return x.ResourceGroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetDisplayName() string {
|
||
if x != nil {
|
||
return x.DisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetIconUrl() string {
|
||
if x != nil {
|
||
return x.IconUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetGrantId() string {
|
||
if x != nil {
|
||
return x.GrantId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketRewardGrant) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomRocketPendingLaunch 是已经点火、等待延迟发射的单枚火箭。
|
||
type RoomRocketPendingLaunch struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RocketId string `protobuf:"bytes,1,opt,name=rocket_id,json=rocketId,proto3" json:"rocket_id,omitempty"`
|
||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||
FuelThreshold int64 `protobuf:"varint,3,opt,name=fuel_threshold,json=fuelThreshold,proto3" json:"fuel_threshold,omitempty"`
|
||
IgnitedAtMs int64 `protobuf:"varint,4,opt,name=ignited_at_ms,json=ignitedAtMs,proto3" json:"ignited_at_ms,omitempty"`
|
||
LaunchAtMs int64 `protobuf:"varint,5,opt,name=launch_at_ms,json=launchAtMs,proto3" json:"launch_at_ms,omitempty"`
|
||
ResetAtMs int64 `protobuf:"varint,6,opt,name=reset_at_ms,json=resetAtMs,proto3" json:"reset_at_ms,omitempty"`
|
||
Top1UserId int64 `protobuf:"varint,7,opt,name=top1_user_id,json=top1UserId,proto3" json:"top1_user_id,omitempty"`
|
||
IgniterUserId int64 `protobuf:"varint,8,opt,name=igniter_user_id,json=igniterUserId,proto3" json:"igniter_user_id,omitempty"`
|
||
ConfigVersion int64 `protobuf:"varint,9,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
|
||
CoverUrl string `protobuf:"bytes,10,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) Reset() {
|
||
*x = RoomRocketPendingLaunch{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketPendingLaunch) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketPendingLaunch) 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 RoomRocketPendingLaunch.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketPendingLaunch) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetRocketId() string {
|
||
if x != nil {
|
||
return x.RocketId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetFuelThreshold() int64 {
|
||
if x != nil {
|
||
return x.FuelThreshold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetIgnitedAtMs() int64 {
|
||
if x != nil {
|
||
return x.IgnitedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetLaunchAtMs() int64 {
|
||
if x != nil {
|
||
return x.LaunchAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetResetAtMs() int64 {
|
||
if x != nil {
|
||
return x.ResetAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetTop1UserId() int64 {
|
||
if x != nil {
|
||
return x.Top1UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetIgniterUserId() int64 {
|
||
if x != nil {
|
||
return x.IgniterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetConfigVersion() int64 {
|
||
if x != nil {
|
||
return x.ConfigVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketPendingLaunch) GetCoverUrl() string {
|
||
if x != nil {
|
||
return x.CoverUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomRocketState 是 Room Cell 持有并随快照恢复的当前火箭状态。
|
||
type RoomRocketState struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CurrentLevel int32 `protobuf:"varint,1,opt,name=current_level,json=currentLevel,proto3" json:"current_level,omitempty"`
|
||
CurrentFuel int64 `protobuf:"varint,2,opt,name=current_fuel,json=currentFuel,proto3" json:"current_fuel,omitempty"`
|
||
FuelThreshold int64 `protobuf:"varint,3,opt,name=fuel_threshold,json=fuelThreshold,proto3" json:"fuel_threshold,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
IgnitedAtMs int64 `protobuf:"varint,5,opt,name=ignited_at_ms,json=ignitedAtMs,proto3" json:"ignited_at_ms,omitempty"`
|
||
LaunchAtMs int64 `protobuf:"varint,6,opt,name=launch_at_ms,json=launchAtMs,proto3" json:"launch_at_ms,omitempty"`
|
||
LaunchedAtMs int64 `protobuf:"varint,7,opt,name=launched_at_ms,json=launchedAtMs,proto3" json:"launched_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"`
|
||
RocketId string `protobuf:"bytes,11,opt,name=rocket_id,json=rocketId,proto3" json:"rocket_id,omitempty"`
|
||
ConfigVersion int64 `protobuf:"varint,12,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
|
||
LastRewards []*RoomRocketRewardGrant `protobuf:"bytes,13,rep,name=last_rewards,json=lastRewards,proto3" json:"last_rewards,omitempty"`
|
||
PendingLaunches []*RoomRocketPendingLaunch `protobuf:"bytes,14,rep,name=pending_launches,json=pendingLaunches,proto3" json:"pending_launches,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomRocketState) Reset() {
|
||
*x = RoomRocketState{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketState) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketState) 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 RoomRocketState.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketState) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *RoomRocketState) GetCurrentLevel() int32 {
|
||
if x != nil {
|
||
return x.CurrentLevel
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetCurrentFuel() int64 {
|
||
if x != nil {
|
||
return x.CurrentFuel
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetFuelThreshold() int64 {
|
||
if x != nil {
|
||
return x.FuelThreshold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketState) GetIgnitedAtMs() int64 {
|
||
if x != nil {
|
||
return x.IgnitedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetLaunchAtMs() int64 {
|
||
if x != nil {
|
||
return x.LaunchAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetLaunchedAtMs() int64 {
|
||
if x != nil {
|
||
return x.LaunchedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetResetAtMs() int64 {
|
||
if x != nil {
|
||
return x.ResetAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetTop1UserId() int64 {
|
||
if x != nil {
|
||
return x.Top1UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetIgniterUserId() int64 {
|
||
if x != nil {
|
||
return x.IgniterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetRocketId() string {
|
||
if x != nil {
|
||
return x.RocketId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketState) GetConfigVersion() int64 {
|
||
if x != nil {
|
||
return x.ConfigVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketState) GetLastRewards() []*RoomRocketRewardGrant {
|
||
if x != nil {
|
||
return x.LastRewards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomRocketState) GetPendingLaunches() []*RoomRocketPendingLaunch {
|
||
if x != nil {
|
||
return x.PendingLaunches
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// RoomRocketInfo 是 App 初始化火箭 UI 的完整读模型。
|
||
type RoomRocketInfo struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
Levels []*RoomRocketLevel `protobuf:"bytes,2,rep,name=levels,proto3" json:"levels,omitempty"`
|
||
State *RoomRocketState `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"`
|
||
LaunchDelayMs int64 `protobuf:"varint,6,opt,name=launch_delay_ms,json=launchDelayMs,proto3" json:"launch_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 *RoomRocketInfo) Reset() {
|
||
*x = RoomRocketInfo{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketInfo) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketInfo) 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 RoomRocketInfo.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketInfo) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetLevels() []*RoomRocketLevel {
|
||
if x != nil {
|
||
return x.Levels
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetState() *RoomRocketState {
|
||
if x != nil {
|
||
return x.State
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetServerTimeMs() int64 {
|
||
if x != nil {
|
||
return x.ServerTimeMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetBroadcastScope() string {
|
||
if x != nil {
|
||
return x.BroadcastScope
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetLaunchDelayMs() int64 {
|
||
if x != nil {
|
||
return x.LaunchDelayMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetBroadcastDelayMs() int64 {
|
||
if x != nil {
|
||
return x.BroadcastDelayMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketInfo) GetRewardStackPolicy() string {
|
||
if x != nil {
|
||
return x.RewardStackPolicy
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomRocketGiftFuelRule 是后台配置的礼物燃料覆盖规则。
|
||
type RoomRocketGiftFuelRule 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"`
|
||
FixedFuel int64 `protobuf:"varint,5,opt,name=fixed_fuel,json=fixedFuel,proto3" json:"fixed_fuel,omitempty"`
|
||
Excluded bool `protobuf:"varint,6,opt,name=excluded,proto3" json:"excluded,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) Reset() {
|
||
*x = RoomRocketGiftFuelRule{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRocketGiftFuelRule) ProtoMessage() {}
|
||
|
||
func (x *RoomRocketGiftFuelRule) 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 RoomRocketGiftFuelRule.ProtoReflect.Descriptor instead.
|
||
func (*RoomRocketGiftFuelRule) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) GetRuleId() string {
|
||
if x != nil {
|
||
return x.RuleId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) GetGiftTypeCode() string {
|
||
if x != nil {
|
||
return x.GiftTypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) GetMultiplierPpm() int64 {
|
||
if x != nil {
|
||
return x.MultiplierPpm
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) GetFixedFuel() int64 {
|
||
if x != nil {
|
||
return x.FixedFuel
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRocketGiftFuelRule) GetExcluded() bool {
|
||
if x != nil {
|
||
return x.Excluded
|
||
}
|
||
return false
|
||
}
|
||
|
||
// AdminRoomRocketConfig 是后台管理读写的完整火箭配置。
|
||
type AdminRoomRocketConfig 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"`
|
||
FuelSource string `protobuf:"bytes,4,opt,name=fuel_source,json=fuelSource,proto3" json:"fuel_source,omitempty"`
|
||
LaunchDelayMs int64 `protobuf:"varint,5,opt,name=launch_delay_ms,json=launchDelayMs,proto3" json:"launch_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 []*RoomRocketLevel `protobuf:"bytes,10,rep,name=levels,proto3" json:"levels,omitempty"`
|
||
GiftFuelRules []*RoomRocketGiftFuelRule `protobuf:"bytes,11,rep,name=gift_fuel_rules,json=giftFuelRules,proto3" json:"gift_fuel_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 *AdminRoomRocketConfig) Reset() {
|
||
*x = AdminRoomRocketConfig{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminRoomRocketConfig) ProtoMessage() {}
|
||
|
||
func (x *AdminRoomRocketConfig) 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 AdminRoomRocketConfig.ProtoReflect.Descriptor instead.
|
||
func (*AdminRoomRocketConfig) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetConfigVersion() int64 {
|
||
if x != nil {
|
||
return x.ConfigVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetFuelSource() string {
|
||
if x != nil {
|
||
return x.FuelSource
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetLaunchDelayMs() int64 {
|
||
if x != nil {
|
||
return x.LaunchDelayMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetBroadcastEnabled() bool {
|
||
if x != nil {
|
||
return x.BroadcastEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetBroadcastScope() string {
|
||
if x != nil {
|
||
return x.BroadcastScope
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetBroadcastDelayMs() int64 {
|
||
if x != nil {
|
||
return x.BroadcastDelayMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetRewardStackPolicy() string {
|
||
if x != nil {
|
||
return x.RewardStackPolicy
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetLevels() []*RoomRocketLevel {
|
||
if x != nil {
|
||
return x.Levels
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetGiftFuelRules() []*RoomRocketGiftFuelRule {
|
||
if x != nil {
|
||
return x.GiftFuelRules
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetUpdatedByAdminId() int64 {
|
||
if x != nil {
|
||
return x.UpdatedByAdminId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminRoomRocketConfig) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AdminGetRoomRocketConfigRequest 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 *AdminGetRoomRocketConfigRequest) Reset() {
|
||
*x = AdminGetRoomRocketConfigRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminGetRoomRocketConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminGetRoomRocketConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *AdminGetRoomRocketConfigRequest) 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 AdminGetRoomRocketConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminGetRoomRocketConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *AdminGetRoomRocketConfigRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type AdminGetRoomRocketConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Config *AdminRoomRocketConfig `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 *AdminGetRoomRocketConfigResponse) Reset() {
|
||
*x = AdminGetRoomRocketConfigResponse{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminGetRoomRocketConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminGetRoomRocketConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *AdminGetRoomRocketConfigResponse) 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 AdminGetRoomRocketConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminGetRoomRocketConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *AdminGetRoomRocketConfigResponse) GetConfig() *AdminRoomRocketConfig {
|
||
if x != nil {
|
||
return x.Config
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AdminGetRoomRocketConfigResponse) GetServerTimeMs() int64 {
|
||
if x != nil {
|
||
return x.ServerTimeMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AdminUpdateRoomRocketConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
||
Config *AdminRoomRocketConfig `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 *AdminUpdateRoomRocketConfigRequest) Reset() {
|
||
*x = AdminUpdateRoomRocketConfigRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminUpdateRoomRocketConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigRequest) 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 AdminUpdateRoomRocketConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminUpdateRoomRocketConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigRequest) GetConfig() *AdminRoomRocketConfig {
|
||
if x != nil {
|
||
return x.Config
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigRequest) GetAdminId() int64 {
|
||
if x != nil {
|
||
return x.AdminId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AdminUpdateRoomRocketConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Config *AdminRoomRocketConfig `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 *AdminUpdateRoomRocketConfigResponse) Reset() {
|
||
*x = AdminUpdateRoomRocketConfigResponse{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminUpdateRoomRocketConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigResponse) 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 AdminUpdateRoomRocketConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminUpdateRoomRocketConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigResponse) GetConfig() *AdminRoomRocketConfig {
|
||
if x != nil {
|
||
return x.Config
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *AdminUpdateRoomRocketConfigResponse) 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[19]
|
||
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[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 AdminRoomSeatConfig.ProtoReflect.Descriptor instead.
|
||
func (*AdminRoomSeatConfig) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
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[20]
|
||
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[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 AdminGetRoomSeatConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminGetRoomSeatConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
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[21]
|
||
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[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 AdminGetRoomSeatConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminGetRoomSeatConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
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[22]
|
||
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[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 AdminUpdateRoomSeatConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminUpdateRoomSeatConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{22}
|
||
}
|
||
|
||
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[23]
|
||
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[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 AdminUpdateRoomSeatConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminUpdateRoomSeatConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{23}
|
||
}
|
||
|
||
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[24]
|
||
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[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 AdminRoomPinRoom.ProtoReflect.Descriptor instead.
|
||
func (*AdminRoomPinRoom) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{24}
|
||
}
|
||
|
||
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"`
|
||
PinType string `protobuf:"bytes,14,opt,name=pin_type,json=pinType,proto3" json:"pin_type,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminRoomPin) Reset() {
|
||
*x = AdminRoomPin{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[25]
|
||
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[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 AdminRoomPin.ProtoReflect.Descriptor instead.
|
||
func (*AdminRoomPin) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{25}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *AdminRoomPin) GetPinType() string {
|
||
if x != nil {
|
||
return x.PinType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
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"`
|
||
PinType string `protobuf:"bytes,7,opt,name=pin_type,json=pinType,proto3" json:"pin_type,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminListRoomPinsRequest) Reset() {
|
||
*x = AdminListRoomPinsRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[26]
|
||
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[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 AdminListRoomPinsRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminListRoomPinsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{26}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *AdminListRoomPinsRequest) GetPinType() string {
|
||
if x != nil {
|
||
return x.PinType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
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[27]
|
||
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[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 AdminListRoomPinsResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminListRoomPinsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{27}
|
||
}
|
||
|
||
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"`
|
||
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"`
|
||
PinType string `protobuf:"bytes,8,opt,name=pin_type,json=pinType,proto3" json:"pin_type,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminCreateRoomPinRequest) Reset() {
|
||
*x = AdminCreateRoomPinRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[28]
|
||
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[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 AdminCreateRoomPinRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminCreateRoomPinRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{28}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *AdminCreateRoomPinRequest) GetPinnedAtMs() int64 {
|
||
if x != nil {
|
||
return x.PinnedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreateRoomPinRequest) GetExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.ExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreateRoomPinRequest) GetPinType() string {
|
||
if x != nil {
|
||
return x.PinType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
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[29]
|
||
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[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 AdminCreateRoomPinResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminCreateRoomPinResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{29}
|
||
}
|
||
|
||
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[30]
|
||
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[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 AdminCancelRoomPinRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminCancelRoomPinRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{30}
|
||
}
|
||
|
||
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[31]
|
||
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[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 AdminCancelRoomPinResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminCancelRoomPinResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{31}
|
||
}
|
||
|
||
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[32]
|
||
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[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 RoomBanState.ProtoReflect.Descriptor instead.
|
||
func (*RoomBanState) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{32}
|
||
}
|
||
|
||
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"`
|
||
// rocket 是语音房火箭当前状态;配置物料通过 GetRoomRocket 单独读取,避免快照过大。
|
||
Rocket *RoomRocketState `protobuf:"bytes,20,opt,name=rocket,proto3" json:"rocket,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[33]
|
||
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[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 RoomSnapshot.ProtoReflect.Descriptor instead.
|
||
func (*RoomSnapshot) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{33}
|
||
}
|
||
|
||
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) GetRocket() *RoomRocketState {
|
||
if x != nil {
|
||
return x.Rocket
|
||
}
|
||
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[34]
|
||
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[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 RoomBackgroundImage.ProtoReflect.Descriptor instead.
|
||
func (*RoomBackgroundImage) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{34}
|
||
}
|
||
|
||
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[35]
|
||
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[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 SaveRoomBackgroundRequest.ProtoReflect.Descriptor instead.
|
||
func (*SaveRoomBackgroundRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{35}
|
||
}
|
||
|
||
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[36]
|
||
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[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 SaveRoomBackgroundResponse.ProtoReflect.Descriptor instead.
|
||
func (*SaveRoomBackgroundResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{36}
|
||
}
|
||
|
||
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[37]
|
||
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[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 ListRoomBackgroundsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomBackgroundsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{37}
|
||
}
|
||
|
||
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[38]
|
||
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[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 ListRoomBackgroundsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomBackgroundsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{38}
|
||
}
|
||
|
||
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[39]
|
||
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[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 SetRoomBackgroundRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetRoomBackgroundRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{39}
|
||
}
|
||
|
||
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[40]
|
||
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[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 SetRoomBackgroundResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetRoomBackgroundResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{40}
|
||
}
|
||
|
||
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 和 room_avatar。
|
||
// 同一个 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 会写入 RoomSnapshot.room_ext["cover_url"]。
|
||
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"`
|
||
// owner_country_code 由 gateway 按创建者 user-service 当前国家填充,用于发现页国家分类筛选。
|
||
OwnerCountryCode string `protobuf:"bytes,9,opt,name=owner_country_code,json=ownerCountryCode,proto3" json:"owner_country_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateRoomRequest) Reset() {
|
||
*x = CreateRoomRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[41]
|
||
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[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 CreateRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{41}
|
||
}
|
||
|
||
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 ""
|
||
}
|
||
|
||
func (x *CreateRoomRequest) GetOwnerCountryCode() string {
|
||
if x != nil {
|
||
return x.OwnerCountryCode
|
||
}
|
||
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[42]
|
||
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[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 CreateRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreateRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{42}
|
||
}
|
||
|
||
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[43]
|
||
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[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 UpdateRoomProfileRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateRoomProfileRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{43}
|
||
}
|
||
|
||
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[44]
|
||
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[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 UpdateRoomProfileResponse.ProtoReflect.Descriptor instead.
|
||
func (*UpdateRoomProfileResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{44}
|
||
}
|
||
|
||
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[45]
|
||
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[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 RoomEntryVehicleSnapshot.ProtoReflect.Descriptor instead.
|
||
func (*RoomEntryVehicleSnapshot) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{45}
|
||
}
|
||
|
||
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"`
|
||
ActorCountryId int64 `protobuf:"varint,5,opt,name=actor_country_id,json=actorCountryId,proto3" json:"actor_country_id,omitempty"`
|
||
ActorRegionId int64 `protobuf:"varint,6,opt,name=actor_region_id,json=actorRegionId,proto3" json:"actor_region_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *JoinRoomRequest) Reset() {
|
||
*x = JoinRoomRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[46]
|
||
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[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 JoinRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*JoinRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{46}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *JoinRoomRequest) GetActorCountryId() int64 {
|
||
if x != nil {
|
||
return x.ActorCountryId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *JoinRoomRequest) GetActorRegionId() int64 {
|
||
if x != nil {
|
||
return x.ActorRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 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[47]
|
||
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[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 JoinRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*JoinRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{47}
|
||
}
|
||
|
||
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[48]
|
||
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[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 RoomHeartbeatRequest.ProtoReflect.Descriptor instead.
|
||
func (*RoomHeartbeatRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{48}
|
||
}
|
||
|
||
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[49]
|
||
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[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 RoomHeartbeatResponse.ProtoReflect.Descriptor instead.
|
||
func (*RoomHeartbeatResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{49}
|
||
}
|
||
|
||
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[50]
|
||
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[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 LeaveRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*LeaveRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{50}
|
||
}
|
||
|
||
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[51]
|
||
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[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 LeaveRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*LeaveRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{51}
|
||
}
|
||
|
||
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[52]
|
||
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[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 CloseRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*CloseRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{52}
|
||
}
|
||
|
||
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[53]
|
||
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[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 CloseRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*CloseRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{53}
|
||
}
|
||
|
||
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[54]
|
||
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[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 AdminRoomListItem.ProtoReflect.Descriptor instead.
|
||
func (*AdminRoomListItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{54}
|
||
}
|
||
|
||
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"`
|
||
OwnerUserId int64 `protobuf:"varint,9,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminListRoomsRequest) Reset() {
|
||
*x = AdminListRoomsRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[55]
|
||
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[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 AdminListRoomsRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminListRoomsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{55}
|
||
}
|
||
|
||
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 ""
|
||
}
|
||
|
||
func (x *AdminListRoomsRequest) GetOwnerUserId() int64 {
|
||
if x != nil {
|
||
return x.OwnerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
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[56]
|
||
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[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 AdminListRoomsResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminListRoomsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{56}
|
||
}
|
||
|
||
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[57]
|
||
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[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 AdminGetRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminGetRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{57}
|
||
}
|
||
|
||
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[58]
|
||
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[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 AdminGetRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminGetRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{58}
|
||
}
|
||
|
||
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[59]
|
||
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[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 AdminUpdateRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminUpdateRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{59}
|
||
}
|
||
|
||
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[60]
|
||
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[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 AdminUpdateRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminUpdateRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{60}
|
||
}
|
||
|
||
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[61]
|
||
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[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 AdminDeleteRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminDeleteRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{61}
|
||
}
|
||
|
||
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[62]
|
||
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[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 AdminDeleteRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminDeleteRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{62}
|
||
}
|
||
|
||
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[63]
|
||
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[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 MicUpRequest.ProtoReflect.Descriptor instead.
|
||
func (*MicUpRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{63}
|
||
}
|
||
|
||
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[64]
|
||
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[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 MicUpResponse.ProtoReflect.Descriptor instead.
|
||
func (*MicUpResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{64}
|
||
}
|
||
|
||
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[65]
|
||
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[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 MicDownRequest.ProtoReflect.Descriptor instead.
|
||
func (*MicDownRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{65}
|
||
}
|
||
|
||
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[66]
|
||
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[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 MicDownResponse.ProtoReflect.Descriptor instead.
|
||
func (*MicDownResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{66}
|
||
}
|
||
|
||
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[67]
|
||
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[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 ChangeMicSeatRequest.ProtoReflect.Descriptor instead.
|
||
func (*ChangeMicSeatRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{67}
|
||
}
|
||
|
||
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[68]
|
||
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[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 ChangeMicSeatResponse.ProtoReflect.Descriptor instead.
|
||
func (*ChangeMicSeatResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{68}
|
||
}
|
||
|
||
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[69]
|
||
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[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 ConfirmMicPublishingRequest.ProtoReflect.Descriptor instead.
|
||
func (*ConfirmMicPublishingRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{69}
|
||
}
|
||
|
||
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[70]
|
||
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[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 ConfirmMicPublishingResponse.ProtoReflect.Descriptor instead.
|
||
func (*ConfirmMicPublishingResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{70}
|
||
}
|
||
|
||
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[71]
|
||
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[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 MicHeartbeatRequest.ProtoReflect.Descriptor instead.
|
||
func (*MicHeartbeatRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{71}
|
||
}
|
||
|
||
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[72]
|
||
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[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 MicHeartbeatResponse.ProtoReflect.Descriptor instead.
|
||
func (*MicHeartbeatResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{72}
|
||
}
|
||
|
||
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[73]
|
||
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[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 SetMicMuteRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetMicMuteRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{73}
|
||
}
|
||
|
||
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[74]
|
||
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[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 SetMicMuteResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetMicMuteResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{74}
|
||
}
|
||
|
||
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[75]
|
||
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[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 ApplyRTCEventRequest.ProtoReflect.Descriptor instead.
|
||
func (*ApplyRTCEventRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{75}
|
||
}
|
||
|
||
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[76]
|
||
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[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 ApplyRTCEventResponse.ProtoReflect.Descriptor instead.
|
||
func (*ApplyRTCEventResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{76}
|
||
}
|
||
|
||
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[77]
|
||
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[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 SetMicSeatLockRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetMicSeatLockRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{77}
|
||
}
|
||
|
||
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[78]
|
||
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[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 SetMicSeatLockResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetMicSeatLockResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{78}
|
||
}
|
||
|
||
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[79]
|
||
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[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 SetChatEnabledRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetChatEnabledRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{79}
|
||
}
|
||
|
||
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[80]
|
||
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[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 SetChatEnabledResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetChatEnabledResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{80}
|
||
}
|
||
|
||
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[81]
|
||
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[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 SetRoomPasswordRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetRoomPasswordRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{81}
|
||
}
|
||
|
||
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[82]
|
||
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[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 SetRoomPasswordResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetRoomPasswordResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{82}
|
||
}
|
||
|
||
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[83]
|
||
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[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 SetRoomAdminRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetRoomAdminRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{83}
|
||
}
|
||
|
||
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[84]
|
||
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[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 SetRoomAdminResponse.ProtoReflect.Descriptor instead.
|
||
func (*SetRoomAdminResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{84}
|
||
}
|
||
|
||
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[85]
|
||
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[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 MuteUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*MuteUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{85}
|
||
}
|
||
|
||
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[86]
|
||
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[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 MuteUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*MuteUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{86}
|
||
}
|
||
|
||
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[87]
|
||
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[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 KickUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*KickUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{87}
|
||
}
|
||
|
||
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[88]
|
||
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[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 KickUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*KickUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{88}
|
||
}
|
||
|
||
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[89]
|
||
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[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 UnbanUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*UnbanUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{89}
|
||
}
|
||
|
||
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[90]
|
||
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[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 UnbanUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*UnbanUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{90}
|
||
}
|
||
|
||
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[91]
|
||
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[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 SystemEvictUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*SystemEvictUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{91}
|
||
}
|
||
|
||
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[92]
|
||
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[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 SystemEvictUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*SystemEvictUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{92}
|
||
}
|
||
|
||
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"`
|
||
// sender_country_id 是 gateway 从 user-service 当前送礼用户资料注入的真实国家,用于统计国家维度。
|
||
SenderCountryId int64 `protobuf:"varint,12,opt,name=sender_country_id,json=senderCountryId,proto3" json:"sender_country_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SendGiftRequest) Reset() {
|
||
*x = SendGiftRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[93]
|
||
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[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 SendGiftRequest.ProtoReflect.Descriptor instead.
|
||
func (*SendGiftRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{93}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *SendGiftRequest) GetSenderCountryId() int64 {
|
||
if x != nil {
|
||
return x.SenderCountryId
|
||
}
|
||
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"`
|
||
Rocket *RoomRocketState `protobuf:"bytes,6,opt,name=rocket,proto3" json:"rocket,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[94]
|
||
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[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 SendGiftResponse.ProtoReflect.Descriptor instead.
|
||
func (*SendGiftResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{94}
|
||
}
|
||
|
||
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) GetRocket() *RoomRocketState {
|
||
if x != nil {
|
||
return x.Rocket
|
||
}
|
||
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[95]
|
||
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[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 CheckSpeakPermissionRequest.ProtoReflect.Descriptor instead.
|
||
func (*CheckSpeakPermissionRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{95}
|
||
}
|
||
|
||
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[96]
|
||
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[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 CheckSpeakPermissionResponse.ProtoReflect.Descriptor instead.
|
||
func (*CheckSpeakPermissionResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{96}
|
||
}
|
||
|
||
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[97]
|
||
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[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 VerifyRoomPresenceRequest.ProtoReflect.Descriptor instead.
|
||
func (*VerifyRoomPresenceRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{97}
|
||
}
|
||
|
||
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[98]
|
||
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[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 VerifyRoomPresenceResponse.ProtoReflect.Descriptor instead.
|
||
func (*VerifyRoomPresenceResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{98}
|
||
}
|
||
|
||
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"`
|
||
// country_code 是可选国家筛选值;gateway 只能传当前用户区域国家列表内的国家码。
|
||
CountryCode string `protobuf:"bytes,8,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRoomsRequest) Reset() {
|
||
*x = ListRoomsRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[99]
|
||
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[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 ListRoomsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{99}
|
||
}
|
||
|
||
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 ""
|
||
}
|
||
|
||
func (x *ListRoomsRequest) GetCountryCode() string {
|
||
if x != nil {
|
||
return x.CountryCode
|
||
}
|
||
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[100]
|
||
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[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 ListRoomFeedsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomFeedsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{100}
|
||
}
|
||
|
||
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[101]
|
||
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[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 ListRoomGiftLeaderboardRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomGiftLeaderboardRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{101}
|
||
}
|
||
|
||
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[102]
|
||
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[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 RoomFeedRelatedUser.ProtoReflect.Descriptor instead.
|
||
func (*RoomFeedRelatedUser) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{102}
|
||
}
|
||
|
||
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"`
|
||
CountryCode string `protobuf:"bytes,16,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomListItem) Reset() {
|
||
*x = RoomListItem{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[103]
|
||
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[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 RoomListItem.ProtoReflect.Descriptor instead.
|
||
func (*RoomListItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{103}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *RoomListItem) GetCountryCode() string {
|
||
if x != nil {
|
||
return x.CountryCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 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[104]
|
||
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[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 ListRoomsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{104}
|
||
}
|
||
|
||
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[105]
|
||
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[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 RoomGiftLeaderboardItem.ProtoReflect.Descriptor instead.
|
||
func (*RoomGiftLeaderboardItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{105}
|
||
}
|
||
|
||
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[106]
|
||
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[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 ListRoomGiftLeaderboardResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomGiftLeaderboardResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{106}
|
||
}
|
||
|
||
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[107]
|
||
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[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 GetMyRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetMyRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{107}
|
||
}
|
||
|
||
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[108]
|
||
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[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 GetMyRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetMyRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{108}
|
||
}
|
||
|
||
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[109]
|
||
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[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 GetCurrentRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetCurrentRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{109}
|
||
}
|
||
|
||
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[110]
|
||
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[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 GetCurrentRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetCurrentRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{110}
|
||
}
|
||
|
||
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[111]
|
||
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[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 GetRoomSnapshotRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetRoomSnapshotRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{111}
|
||
}
|
||
|
||
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[112]
|
||
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[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 GetRoomSnapshotResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetRoomSnapshotResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{112}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
// GetRoomRocketRequest 主动读取当前房间火箭配置物料和进度状态。
|
||
// 该查询必须由 gateway 写入鉴权后的 viewer_user_id,客户端不能提交 viewer_user_id。
|
||
type GetRoomRocketRequest 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 *GetRoomRocketRequest) Reset() {
|
||
*x = GetRoomRocketRequest{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[113]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetRoomRocketRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetRoomRocketRequest) ProtoMessage() {}
|
||
|
||
func (x *GetRoomRocketRequest) 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 GetRoomRocketRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetRoomRocketRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{113}
|
||
}
|
||
|
||
func (x *GetRoomRocketRequest) GetMeta() *RequestMeta {
|
||
if x != nil {
|
||
return x.Meta
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetRoomRocketRequest) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetRoomRocketRequest) GetViewerUserId() int64 {
|
||
if x != nil {
|
||
return x.ViewerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetRoomRocketResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Rocket *RoomRocketInfo `protobuf:"bytes,1,opt,name=rocket,proto3" json:"rocket,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 *GetRoomRocketResponse) Reset() {
|
||
*x = GetRoomRocketResponse{}
|
||
mi := &file_proto_room_v1_room_proto_msgTypes[114]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetRoomRocketResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetRoomRocketResponse) ProtoMessage() {}
|
||
|
||
func (x *GetRoomRocketResponse) 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 GetRoomRocketResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetRoomRocketResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{114}
|
||
}
|
||
|
||
func (x *GetRoomRocketResponse) GetRocket() *RoomRocketInfo {
|
||
if x != nil {
|
||
return x.Rocket
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetRoomRocketResponse) 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[115]
|
||
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[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 ListRoomOnlineUsersRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomOnlineUsersRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{115}
|
||
}
|
||
|
||
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[116]
|
||
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[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 ListRoomOnlineUsersResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomOnlineUsersResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{116}
|
||
}
|
||
|
||
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[117]
|
||
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[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 RoomBannedUser.ProtoReflect.Descriptor instead.
|
||
func (*RoomBannedUser) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{117}
|
||
}
|
||
|
||
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[118]
|
||
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[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 ListRoomBannedUsersRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomBannedUsersRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{118}
|
||
}
|
||
|
||
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[119]
|
||
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[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 ListRoomBannedUsersResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRoomBannedUsersResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{119}
|
||
}
|
||
|
||
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[120]
|
||
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[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 FollowRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*FollowRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{120}
|
||
}
|
||
|
||
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[121]
|
||
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[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 FollowRoomResponse.ProtoReflect.Descriptor instead.
|
||
func (*FollowRoomResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{121}
|
||
}
|
||
|
||
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[122]
|
||
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[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 UnfollowRoomRequest.ProtoReflect.Descriptor instead.
|
||
func (*UnfollowRoomRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_room_v1_room_proto_rawDescGZIP(), []int{122}
|
||
}
|
||
|
||
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[123]
|
||
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[123]
|
||
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{123}
|
||
}
|
||
|
||
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\"\xbe\x01\n" +
|
||
"\x14RoomRocketRewardItem\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\"\xd3\x03\n" +
|
||
"\x0fRoomRocketLevel\x12\x14\n" +
|
||
"\x05level\x18\x01 \x01(\x05R\x05level\x12%\n" +
|
||
"\x0efuel_threshold\x18\x02 \x01(\x03R\rfuelThreshold\x12\x1b\n" +
|
||
"\tcover_url\x18\x03 \x01(\tR\bcoverUrl\x12#\n" +
|
||
"\ranimation_url\x18\x04 \x01(\tR\fanimationUrl\x120\n" +
|
||
"\x14launch_animation_url\x18\x05 \x01(\tR\x12launchAnimationUrl\x12,\n" +
|
||
"\x12launched_image_url\x18\x06 \x01(\tR\x10launchedImageUrl\x12K\n" +
|
||
"\x0fin_room_rewards\x18\a \x03(\v2#.hyapp.room.v1.RoomRocketRewardItemR\rinRoomRewards\x12F\n" +
|
||
"\ftop1_rewards\x18\b \x03(\v2#.hyapp.room.v1.RoomRocketRewardItemR\vtop1Rewards\x12L\n" +
|
||
"\x0figniter_rewards\x18\t \x03(\v2#.hyapp.room.v1.RoomRocketRewardItemR\x0eigniterRewards\"\x94\x02\n" +
|
||
"\x15RoomRocketRewardGrant\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\"\xe7\x02\n" +
|
||
"\x17RoomRocketPendingLaunch\x12\x1b\n" +
|
||
"\trocket_id\x18\x01 \x01(\tR\brocketId\x12\x14\n" +
|
||
"\x05level\x18\x02 \x01(\x05R\x05level\x12%\n" +
|
||
"\x0efuel_threshold\x18\x03 \x01(\x03R\rfuelThreshold\x12\"\n" +
|
||
"\rignited_at_ms\x18\x04 \x01(\x03R\vignitedAtMs\x12 \n" +
|
||
"\flaunch_at_ms\x18\x05 \x01(\x03R\n" +
|
||
"launchAtMs\x12\x1e\n" +
|
||
"\vreset_at_ms\x18\x06 \x01(\x03R\tresetAtMs\x12 \n" +
|
||
"\ftop1_user_id\x18\a \x01(\x03R\n" +
|
||
"top1UserId\x12&\n" +
|
||
"\x0figniter_user_id\x18\b \x01(\x03R\rigniterUserId\x12%\n" +
|
||
"\x0econfig_version\x18\t \x01(\x03R\rconfigVersion\x12\x1b\n" +
|
||
"\tcover_url\x18\n" +
|
||
" \x01(\tR\bcoverUrl\"\xce\x04\n" +
|
||
"\x0fRoomRocketState\x12#\n" +
|
||
"\rcurrent_level\x18\x01 \x01(\x05R\fcurrentLevel\x12!\n" +
|
||
"\fcurrent_fuel\x18\x02 \x01(\x03R\vcurrentFuel\x12%\n" +
|
||
"\x0efuel_threshold\x18\x03 \x01(\x03R\rfuelThreshold\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12\"\n" +
|
||
"\rignited_at_ms\x18\x05 \x01(\x03R\vignitedAtMs\x12 \n" +
|
||
"\flaunch_at_ms\x18\x06 \x01(\x03R\n" +
|
||
"launchAtMs\x12$\n" +
|
||
"\x0elaunched_at_ms\x18\a \x01(\x03R\flaunchedAtMs\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\x1b\n" +
|
||
"\trocket_id\x18\v \x01(\tR\brocketId\x12%\n" +
|
||
"\x0econfig_version\x18\f \x01(\x03R\rconfigVersion\x12G\n" +
|
||
"\flast_rewards\x18\r \x03(\v2$.hyapp.room.v1.RoomRocketRewardGrantR\vlastRewards\x12Q\n" +
|
||
"\x10pending_launches\x18\x0e \x03(\v2&.hyapp.room.v1.RoomRocketPendingLaunchR\x0fpendingLaunches\"\xed\x02\n" +
|
||
"\x0eRoomRocketInfo\x12\x18\n" +
|
||
"\aenabled\x18\x01 \x01(\bR\aenabled\x126\n" +
|
||
"\x06levels\x18\x02 \x03(\v2\x1e.hyapp.room.v1.RoomRocketLevelR\x06levels\x124\n" +
|
||
"\x05state\x18\x03 \x01(\v2\x1e.hyapp.room.v1.RoomRocketStateR\x05state\x12$\n" +
|
||
"\x0eserver_time_ms\x18\x04 \x01(\x03R\fserverTimeMs\x12'\n" +
|
||
"\x0fbroadcast_scope\x18\x05 \x01(\tR\x0ebroadcastScope\x12&\n" +
|
||
"\x0flaunch_delay_ms\x18\x06 \x01(\x03R\rlaunchDelayMs\x12,\n" +
|
||
"\x12broadcast_delay_ms\x18\a \x01(\x03R\x10broadcastDelayMs\x12.\n" +
|
||
"\x13reward_stack_policy\x18\b \x01(\tR\x11rewardStackPolicy\"\xd2\x01\n" +
|
||
"\x16RoomRocketGiftFuelRule\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\x1d\n" +
|
||
"\n" +
|
||
"fixed_fuel\x18\x05 \x01(\x03R\tfixedFuel\x12\x1a\n" +
|
||
"\bexcluded\x18\x06 \x01(\bR\bexcluded\"\xee\x04\n" +
|
||
"\x15AdminRoomRocketConfig\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\x1f\n" +
|
||
"\vfuel_source\x18\x04 \x01(\tR\n" +
|
||
"fuelSource\x12&\n" +
|
||
"\x0flaunch_delay_ms\x18\x05 \x01(\x03R\rlaunchDelayMs\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\x126\n" +
|
||
"\x06levels\x18\n" +
|
||
" \x03(\v2\x1e.hyapp.room.v1.RoomRocketLevelR\x06levels\x12M\n" +
|
||
"\x0fgift_fuel_rules\x18\v \x03(\v2%.hyapp.room.v1.RoomRocketGiftFuelRuleR\rgiftFuelRules\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\"Q\n" +
|
||
"\x1fAdminGetRoomRocketConfigRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\"\x86\x01\n" +
|
||
" AdminGetRoomRocketConfigResponse\x12<\n" +
|
||
"\x06config\x18\x01 \x01(\v2$.hyapp.room.v1.AdminRoomRocketConfigR\x06config\x12$\n" +
|
||
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xad\x01\n" +
|
||
"\"AdminUpdateRoomRocketConfigRequest\x12.\n" +
|
||
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.room.v1.RequestMetaR\x04meta\x12<\n" +
|
||
"\x06config\x18\x02 \x01(\v2$.hyapp.room.v1.AdminRoomRocketConfigR\x06config\x12\x19\n" +
|
||
"\badmin_id\x18\x03 \x01(\x03R\aadminId\"\x89\x01\n" +
|
||
"#AdminUpdateRoomRocketConfigResponse\x12<\n" +
|
||
"\x06config\x18\x01 \x01(\v2$.hyapp.room.v1.AdminRoomRocketConfigR\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\"\xfb\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\x12\x19\n" +
|
||
"\bpin_type\x18\x0e \x01(\tR\apinType\"\xf4\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\x12\x19\n" +
|
||
"\bpin_type\x18\a \x01(\tR\apinType\"\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\"\x9d\x02\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\x12 \n" +
|
||
"\fpinned_at_ms\x18\x06 \x01(\x03R\n" +
|
||
"pinnedAtMs\x12\"\n" +
|
||
"\rexpires_at_ms\x18\a \x01(\x03R\vexpiresAtMs\x12\x19\n" +
|
||
"\bpin_type\x18\b \x01(\tR\apinType\"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\"\xd5\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\x126\n" +
|
||
"\x06rocket\x18\x14 \x01(\v2\x1e.hyapp.room.v1.RoomRocketStateR\x06rocket\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\"\xdd\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\x12,\n" +
|
||
"\x12owner_country_code\x18\t \x01(\tR\x10ownerCountryCode\"{\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\"\x91\x02\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\x12(\n" +
|
||
"\x10actor_country_id\x18\x05 \x01(\x03R\x0eactorCountryId\x12&\n" +
|
||
"\x0factor_region_id\x18\x06 \x01(\x03R\ractorRegionId\"\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\"\xba\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\x12\"\n" +
|
||
"\rowner_user_id\x18\t \x01(\x03R\vownerUserId\"\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\"\xee\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\x12*\n" +
|
||
"\x11sender_country_id\x18\f \x01(\x03R\x0fsenderCountryId\"\xba\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\x126\n" +
|
||
"\x06rocket\x18\x06 \x01(\v2\x1e.hyapp.room.v1.RoomRocketStateR\x06rocket\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\"\x8d\x02\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\x12!\n" +
|
||
"\fcountry_code\x18\b \x01(\tR\vcountryCode\"\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\"\xd6\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\x12!\n" +
|
||
"\fcountry_code\x18\x10 \x01(\tR\vcountryCode\"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\"\x85\x01\n" +
|
||
"\x14GetRoomRocketRequest\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\"t\n" +
|
||
"\x15GetRoomRocketResponse\x125\n" +
|
||
"\x06rocket\x18\x01 \x01(\v2\x1d.hyapp.room.v1.RoomRocketInfoR\x06rocket\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\xad\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\x84\x01\n" +
|
||
"\x1bAdminUpdateRoomRocketConfig\x121.hyapp.room.v1.AdminUpdateRoomRocketConfigRequest\x1a2.hyapp.room.v1.AdminUpdateRoomRocketConfigResponse\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\xff\v\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{\n" +
|
||
"\x18AdminGetRoomRocketConfig\x12..hyapp.room.v1.AdminGetRoomRocketConfigRequest\x1a/.hyapp.room.v1.AdminGetRoomRocketConfigResponse\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\x12Z\n" +
|
||
"\rGetRoomRocket\x12#.hyapp.room.v1.GetRoomRocketRequest\x1a$.hyapp.room.v1.GetRoomRocketResponse\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, 125)
|
||
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
|
||
(*RoomRocketRewardItem)(nil), // 7: hyapp.room.v1.RoomRocketRewardItem
|
||
(*RoomRocketLevel)(nil), // 8: hyapp.room.v1.RoomRocketLevel
|
||
(*RoomRocketRewardGrant)(nil), // 9: hyapp.room.v1.RoomRocketRewardGrant
|
||
(*RoomRocketPendingLaunch)(nil), // 10: hyapp.room.v1.RoomRocketPendingLaunch
|
||
(*RoomRocketState)(nil), // 11: hyapp.room.v1.RoomRocketState
|
||
(*RoomRocketInfo)(nil), // 12: hyapp.room.v1.RoomRocketInfo
|
||
(*RoomRocketGiftFuelRule)(nil), // 13: hyapp.room.v1.RoomRocketGiftFuelRule
|
||
(*AdminRoomRocketConfig)(nil), // 14: hyapp.room.v1.AdminRoomRocketConfig
|
||
(*AdminGetRoomRocketConfigRequest)(nil), // 15: hyapp.room.v1.AdminGetRoomRocketConfigRequest
|
||
(*AdminGetRoomRocketConfigResponse)(nil), // 16: hyapp.room.v1.AdminGetRoomRocketConfigResponse
|
||
(*AdminUpdateRoomRocketConfigRequest)(nil), // 17: hyapp.room.v1.AdminUpdateRoomRocketConfigRequest
|
||
(*AdminUpdateRoomRocketConfigResponse)(nil), // 18: hyapp.room.v1.AdminUpdateRoomRocketConfigResponse
|
||
(*AdminRoomSeatConfig)(nil), // 19: hyapp.room.v1.AdminRoomSeatConfig
|
||
(*AdminGetRoomSeatConfigRequest)(nil), // 20: hyapp.room.v1.AdminGetRoomSeatConfigRequest
|
||
(*AdminGetRoomSeatConfigResponse)(nil), // 21: hyapp.room.v1.AdminGetRoomSeatConfigResponse
|
||
(*AdminUpdateRoomSeatConfigRequest)(nil), // 22: hyapp.room.v1.AdminUpdateRoomSeatConfigRequest
|
||
(*AdminUpdateRoomSeatConfigResponse)(nil), // 23: hyapp.room.v1.AdminUpdateRoomSeatConfigResponse
|
||
(*AdminRoomPinRoom)(nil), // 24: hyapp.room.v1.AdminRoomPinRoom
|
||
(*AdminRoomPin)(nil), // 25: hyapp.room.v1.AdminRoomPin
|
||
(*AdminListRoomPinsRequest)(nil), // 26: hyapp.room.v1.AdminListRoomPinsRequest
|
||
(*AdminListRoomPinsResponse)(nil), // 27: hyapp.room.v1.AdminListRoomPinsResponse
|
||
(*AdminCreateRoomPinRequest)(nil), // 28: hyapp.room.v1.AdminCreateRoomPinRequest
|
||
(*AdminCreateRoomPinResponse)(nil), // 29: hyapp.room.v1.AdminCreateRoomPinResponse
|
||
(*AdminCancelRoomPinRequest)(nil), // 30: hyapp.room.v1.AdminCancelRoomPinRequest
|
||
(*AdminCancelRoomPinResponse)(nil), // 31: hyapp.room.v1.AdminCancelRoomPinResponse
|
||
(*RoomBanState)(nil), // 32: hyapp.room.v1.RoomBanState
|
||
(*RoomSnapshot)(nil), // 33: hyapp.room.v1.RoomSnapshot
|
||
(*RoomBackgroundImage)(nil), // 34: hyapp.room.v1.RoomBackgroundImage
|
||
(*SaveRoomBackgroundRequest)(nil), // 35: hyapp.room.v1.SaveRoomBackgroundRequest
|
||
(*SaveRoomBackgroundResponse)(nil), // 36: hyapp.room.v1.SaveRoomBackgroundResponse
|
||
(*ListRoomBackgroundsRequest)(nil), // 37: hyapp.room.v1.ListRoomBackgroundsRequest
|
||
(*ListRoomBackgroundsResponse)(nil), // 38: hyapp.room.v1.ListRoomBackgroundsResponse
|
||
(*SetRoomBackgroundRequest)(nil), // 39: hyapp.room.v1.SetRoomBackgroundRequest
|
||
(*SetRoomBackgroundResponse)(nil), // 40: hyapp.room.v1.SetRoomBackgroundResponse
|
||
(*CreateRoomRequest)(nil), // 41: hyapp.room.v1.CreateRoomRequest
|
||
(*CreateRoomResponse)(nil), // 42: hyapp.room.v1.CreateRoomResponse
|
||
(*UpdateRoomProfileRequest)(nil), // 43: hyapp.room.v1.UpdateRoomProfileRequest
|
||
(*UpdateRoomProfileResponse)(nil), // 44: hyapp.room.v1.UpdateRoomProfileResponse
|
||
(*RoomEntryVehicleSnapshot)(nil), // 45: hyapp.room.v1.RoomEntryVehicleSnapshot
|
||
(*JoinRoomRequest)(nil), // 46: hyapp.room.v1.JoinRoomRequest
|
||
(*JoinRoomResponse)(nil), // 47: hyapp.room.v1.JoinRoomResponse
|
||
(*RoomHeartbeatRequest)(nil), // 48: hyapp.room.v1.RoomHeartbeatRequest
|
||
(*RoomHeartbeatResponse)(nil), // 49: hyapp.room.v1.RoomHeartbeatResponse
|
||
(*LeaveRoomRequest)(nil), // 50: hyapp.room.v1.LeaveRoomRequest
|
||
(*LeaveRoomResponse)(nil), // 51: hyapp.room.v1.LeaveRoomResponse
|
||
(*CloseRoomRequest)(nil), // 52: hyapp.room.v1.CloseRoomRequest
|
||
(*CloseRoomResponse)(nil), // 53: hyapp.room.v1.CloseRoomResponse
|
||
(*AdminRoomListItem)(nil), // 54: hyapp.room.v1.AdminRoomListItem
|
||
(*AdminListRoomsRequest)(nil), // 55: hyapp.room.v1.AdminListRoomsRequest
|
||
(*AdminListRoomsResponse)(nil), // 56: hyapp.room.v1.AdminListRoomsResponse
|
||
(*AdminGetRoomRequest)(nil), // 57: hyapp.room.v1.AdminGetRoomRequest
|
||
(*AdminGetRoomResponse)(nil), // 58: hyapp.room.v1.AdminGetRoomResponse
|
||
(*AdminUpdateRoomRequest)(nil), // 59: hyapp.room.v1.AdminUpdateRoomRequest
|
||
(*AdminUpdateRoomResponse)(nil), // 60: hyapp.room.v1.AdminUpdateRoomResponse
|
||
(*AdminDeleteRoomRequest)(nil), // 61: hyapp.room.v1.AdminDeleteRoomRequest
|
||
(*AdminDeleteRoomResponse)(nil), // 62: hyapp.room.v1.AdminDeleteRoomResponse
|
||
(*MicUpRequest)(nil), // 63: hyapp.room.v1.MicUpRequest
|
||
(*MicUpResponse)(nil), // 64: hyapp.room.v1.MicUpResponse
|
||
(*MicDownRequest)(nil), // 65: hyapp.room.v1.MicDownRequest
|
||
(*MicDownResponse)(nil), // 66: hyapp.room.v1.MicDownResponse
|
||
(*ChangeMicSeatRequest)(nil), // 67: hyapp.room.v1.ChangeMicSeatRequest
|
||
(*ChangeMicSeatResponse)(nil), // 68: hyapp.room.v1.ChangeMicSeatResponse
|
||
(*ConfirmMicPublishingRequest)(nil), // 69: hyapp.room.v1.ConfirmMicPublishingRequest
|
||
(*ConfirmMicPublishingResponse)(nil), // 70: hyapp.room.v1.ConfirmMicPublishingResponse
|
||
(*MicHeartbeatRequest)(nil), // 71: hyapp.room.v1.MicHeartbeatRequest
|
||
(*MicHeartbeatResponse)(nil), // 72: hyapp.room.v1.MicHeartbeatResponse
|
||
(*SetMicMuteRequest)(nil), // 73: hyapp.room.v1.SetMicMuteRequest
|
||
(*SetMicMuteResponse)(nil), // 74: hyapp.room.v1.SetMicMuteResponse
|
||
(*ApplyRTCEventRequest)(nil), // 75: hyapp.room.v1.ApplyRTCEventRequest
|
||
(*ApplyRTCEventResponse)(nil), // 76: hyapp.room.v1.ApplyRTCEventResponse
|
||
(*SetMicSeatLockRequest)(nil), // 77: hyapp.room.v1.SetMicSeatLockRequest
|
||
(*SetMicSeatLockResponse)(nil), // 78: hyapp.room.v1.SetMicSeatLockResponse
|
||
(*SetChatEnabledRequest)(nil), // 79: hyapp.room.v1.SetChatEnabledRequest
|
||
(*SetChatEnabledResponse)(nil), // 80: hyapp.room.v1.SetChatEnabledResponse
|
||
(*SetRoomPasswordRequest)(nil), // 81: hyapp.room.v1.SetRoomPasswordRequest
|
||
(*SetRoomPasswordResponse)(nil), // 82: hyapp.room.v1.SetRoomPasswordResponse
|
||
(*SetRoomAdminRequest)(nil), // 83: hyapp.room.v1.SetRoomAdminRequest
|
||
(*SetRoomAdminResponse)(nil), // 84: hyapp.room.v1.SetRoomAdminResponse
|
||
(*MuteUserRequest)(nil), // 85: hyapp.room.v1.MuteUserRequest
|
||
(*MuteUserResponse)(nil), // 86: hyapp.room.v1.MuteUserResponse
|
||
(*KickUserRequest)(nil), // 87: hyapp.room.v1.KickUserRequest
|
||
(*KickUserResponse)(nil), // 88: hyapp.room.v1.KickUserResponse
|
||
(*UnbanUserRequest)(nil), // 89: hyapp.room.v1.UnbanUserRequest
|
||
(*UnbanUserResponse)(nil), // 90: hyapp.room.v1.UnbanUserResponse
|
||
(*SystemEvictUserRequest)(nil), // 91: hyapp.room.v1.SystemEvictUserRequest
|
||
(*SystemEvictUserResponse)(nil), // 92: hyapp.room.v1.SystemEvictUserResponse
|
||
(*SendGiftRequest)(nil), // 93: hyapp.room.v1.SendGiftRequest
|
||
(*SendGiftResponse)(nil), // 94: hyapp.room.v1.SendGiftResponse
|
||
(*CheckSpeakPermissionRequest)(nil), // 95: hyapp.room.v1.CheckSpeakPermissionRequest
|
||
(*CheckSpeakPermissionResponse)(nil), // 96: hyapp.room.v1.CheckSpeakPermissionResponse
|
||
(*VerifyRoomPresenceRequest)(nil), // 97: hyapp.room.v1.VerifyRoomPresenceRequest
|
||
(*VerifyRoomPresenceResponse)(nil), // 98: hyapp.room.v1.VerifyRoomPresenceResponse
|
||
(*ListRoomsRequest)(nil), // 99: hyapp.room.v1.ListRoomsRequest
|
||
(*ListRoomFeedsRequest)(nil), // 100: hyapp.room.v1.ListRoomFeedsRequest
|
||
(*ListRoomGiftLeaderboardRequest)(nil), // 101: hyapp.room.v1.ListRoomGiftLeaderboardRequest
|
||
(*RoomFeedRelatedUser)(nil), // 102: hyapp.room.v1.RoomFeedRelatedUser
|
||
(*RoomListItem)(nil), // 103: hyapp.room.v1.RoomListItem
|
||
(*ListRoomsResponse)(nil), // 104: hyapp.room.v1.ListRoomsResponse
|
||
(*RoomGiftLeaderboardItem)(nil), // 105: hyapp.room.v1.RoomGiftLeaderboardItem
|
||
(*ListRoomGiftLeaderboardResponse)(nil), // 106: hyapp.room.v1.ListRoomGiftLeaderboardResponse
|
||
(*GetMyRoomRequest)(nil), // 107: hyapp.room.v1.GetMyRoomRequest
|
||
(*GetMyRoomResponse)(nil), // 108: hyapp.room.v1.GetMyRoomResponse
|
||
(*GetCurrentRoomRequest)(nil), // 109: hyapp.room.v1.GetCurrentRoomRequest
|
||
(*GetCurrentRoomResponse)(nil), // 110: hyapp.room.v1.GetCurrentRoomResponse
|
||
(*GetRoomSnapshotRequest)(nil), // 111: hyapp.room.v1.GetRoomSnapshotRequest
|
||
(*GetRoomSnapshotResponse)(nil), // 112: hyapp.room.v1.GetRoomSnapshotResponse
|
||
(*GetRoomRocketRequest)(nil), // 113: hyapp.room.v1.GetRoomRocketRequest
|
||
(*GetRoomRocketResponse)(nil), // 114: hyapp.room.v1.GetRoomRocketResponse
|
||
(*ListRoomOnlineUsersRequest)(nil), // 115: hyapp.room.v1.ListRoomOnlineUsersRequest
|
||
(*ListRoomOnlineUsersResponse)(nil), // 116: hyapp.room.v1.ListRoomOnlineUsersResponse
|
||
(*RoomBannedUser)(nil), // 117: hyapp.room.v1.RoomBannedUser
|
||
(*ListRoomBannedUsersRequest)(nil), // 118: hyapp.room.v1.ListRoomBannedUsersRequest
|
||
(*ListRoomBannedUsersResponse)(nil), // 119: hyapp.room.v1.ListRoomBannedUsersResponse
|
||
(*FollowRoomRequest)(nil), // 120: hyapp.room.v1.FollowRoomRequest
|
||
(*FollowRoomResponse)(nil), // 121: hyapp.room.v1.FollowRoomResponse
|
||
(*UnfollowRoomRequest)(nil), // 122: hyapp.room.v1.UnfollowRoomRequest
|
||
(*UnfollowRoomResponse)(nil), // 123: hyapp.room.v1.UnfollowRoomResponse
|
||
nil, // 124: hyapp.room.v1.RoomSnapshot.RoomExtEntry
|
||
}
|
||
var file_proto_room_v1_room_proto_depIdxs = []int32{
|
||
7, // 0: hyapp.room.v1.RoomRocketLevel.in_room_rewards:type_name -> hyapp.room.v1.RoomRocketRewardItem
|
||
7, // 1: hyapp.room.v1.RoomRocketLevel.top1_rewards:type_name -> hyapp.room.v1.RoomRocketRewardItem
|
||
7, // 2: hyapp.room.v1.RoomRocketLevel.igniter_rewards:type_name -> hyapp.room.v1.RoomRocketRewardItem
|
||
9, // 3: hyapp.room.v1.RoomRocketState.last_rewards:type_name -> hyapp.room.v1.RoomRocketRewardGrant
|
||
10, // 4: hyapp.room.v1.RoomRocketState.pending_launches:type_name -> hyapp.room.v1.RoomRocketPendingLaunch
|
||
8, // 5: hyapp.room.v1.RoomRocketInfo.levels:type_name -> hyapp.room.v1.RoomRocketLevel
|
||
11, // 6: hyapp.room.v1.RoomRocketInfo.state:type_name -> hyapp.room.v1.RoomRocketState
|
||
8, // 7: hyapp.room.v1.AdminRoomRocketConfig.levels:type_name -> hyapp.room.v1.RoomRocketLevel
|
||
13, // 8: hyapp.room.v1.AdminRoomRocketConfig.gift_fuel_rules:type_name -> hyapp.room.v1.RoomRocketGiftFuelRule
|
||
0, // 9: hyapp.room.v1.AdminGetRoomRocketConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
14, // 10: hyapp.room.v1.AdminGetRoomRocketConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomRocketConfig
|
||
0, // 11: hyapp.room.v1.AdminUpdateRoomRocketConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
14, // 12: hyapp.room.v1.AdminUpdateRoomRocketConfigRequest.config:type_name -> hyapp.room.v1.AdminRoomRocketConfig
|
||
14, // 13: hyapp.room.v1.AdminUpdateRoomRocketConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomRocketConfig
|
||
0, // 14: hyapp.room.v1.AdminGetRoomSeatConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
19, // 15: hyapp.room.v1.AdminGetRoomSeatConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomSeatConfig
|
||
0, // 16: hyapp.room.v1.AdminUpdateRoomSeatConfigRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
19, // 17: hyapp.room.v1.AdminUpdateRoomSeatConfigResponse.config:type_name -> hyapp.room.v1.AdminRoomSeatConfig
|
||
24, // 18: hyapp.room.v1.AdminRoomPin.room:type_name -> hyapp.room.v1.AdminRoomPinRoom
|
||
0, // 19: hyapp.room.v1.AdminListRoomPinsRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
25, // 20: hyapp.room.v1.AdminListRoomPinsResponse.pins:type_name -> hyapp.room.v1.AdminRoomPin
|
||
0, // 21: hyapp.room.v1.AdminCreateRoomPinRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
25, // 22: hyapp.room.v1.AdminCreateRoomPinResponse.pin:type_name -> hyapp.room.v1.AdminRoomPin
|
||
0, // 23: hyapp.room.v1.AdminCancelRoomPinRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
25, // 24: hyapp.room.v1.AdminCancelRoomPinResponse.pin:type_name -> hyapp.room.v1.AdminRoomPin
|
||
4, // 25: hyapp.room.v1.RoomSnapshot.mic_seats:type_name -> hyapp.room.v1.SeatState
|
||
2, // 26: hyapp.room.v1.RoomSnapshot.online_users:type_name -> hyapp.room.v1.RoomUser
|
||
5, // 27: hyapp.room.v1.RoomSnapshot.gift_rank:type_name -> hyapp.room.v1.RankItem
|
||
124, // 28: hyapp.room.v1.RoomSnapshot.room_ext:type_name -> hyapp.room.v1.RoomSnapshot.RoomExtEntry
|
||
11, // 29: hyapp.room.v1.RoomSnapshot.rocket:type_name -> hyapp.room.v1.RoomRocketState
|
||
32, // 30: hyapp.room.v1.RoomSnapshot.ban_states:type_name -> hyapp.room.v1.RoomBanState
|
||
0, // 31: hyapp.room.v1.SaveRoomBackgroundRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
34, // 32: hyapp.room.v1.SaveRoomBackgroundResponse.background:type_name -> hyapp.room.v1.RoomBackgroundImage
|
||
0, // 33: hyapp.room.v1.ListRoomBackgroundsRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
34, // 34: hyapp.room.v1.ListRoomBackgroundsResponse.backgrounds:type_name -> hyapp.room.v1.RoomBackgroundImage
|
||
0, // 35: hyapp.room.v1.SetRoomBackgroundRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 36: hyapp.room.v1.SetRoomBackgroundResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 37: hyapp.room.v1.SetRoomBackgroundResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
34, // 38: hyapp.room.v1.SetRoomBackgroundResponse.background:type_name -> hyapp.room.v1.RoomBackgroundImage
|
||
0, // 39: hyapp.room.v1.CreateRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 40: hyapp.room.v1.CreateRoomResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 41: hyapp.room.v1.CreateRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 42: hyapp.room.v1.UpdateRoomProfileRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 43: hyapp.room.v1.UpdateRoomProfileResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 44: hyapp.room.v1.UpdateRoomProfileResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 45: hyapp.room.v1.JoinRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
45, // 46: hyapp.room.v1.JoinRoomRequest.entry_vehicle:type_name -> hyapp.room.v1.RoomEntryVehicleSnapshot
|
||
1, // 47: hyapp.room.v1.JoinRoomResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
2, // 48: hyapp.room.v1.JoinRoomResponse.user:type_name -> hyapp.room.v1.RoomUser
|
||
33, // 49: hyapp.room.v1.JoinRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 50: hyapp.room.v1.RoomHeartbeatRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 51: hyapp.room.v1.RoomHeartbeatResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
2, // 52: hyapp.room.v1.RoomHeartbeatResponse.user:type_name -> hyapp.room.v1.RoomUser
|
||
33, // 53: hyapp.room.v1.RoomHeartbeatResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 54: hyapp.room.v1.LeaveRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 55: hyapp.room.v1.LeaveRoomResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 56: hyapp.room.v1.LeaveRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 57: hyapp.room.v1.CloseRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 58: hyapp.room.v1.CloseRoomResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 59: hyapp.room.v1.CloseRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 60: hyapp.room.v1.AdminListRoomsRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
54, // 61: hyapp.room.v1.AdminListRoomsResponse.rooms:type_name -> hyapp.room.v1.AdminRoomListItem
|
||
0, // 62: hyapp.room.v1.AdminGetRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
54, // 63: hyapp.room.v1.AdminGetRoomResponse.room:type_name -> hyapp.room.v1.AdminRoomListItem
|
||
0, // 64: hyapp.room.v1.AdminUpdateRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 65: hyapp.room.v1.AdminUpdateRoomResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 66: hyapp.room.v1.AdminUpdateRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 67: hyapp.room.v1.AdminDeleteRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 68: hyapp.room.v1.AdminDeleteRoomResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 69: hyapp.room.v1.AdminDeleteRoomResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 70: hyapp.room.v1.MicUpRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 71: hyapp.room.v1.MicUpResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 72: hyapp.room.v1.MicUpResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 73: hyapp.room.v1.MicDownRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 74: hyapp.room.v1.MicDownResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 75: hyapp.room.v1.MicDownResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 76: hyapp.room.v1.ChangeMicSeatRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 77: hyapp.room.v1.ChangeMicSeatResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 78: hyapp.room.v1.ChangeMicSeatResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 79: hyapp.room.v1.ConfirmMicPublishingRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 80: hyapp.room.v1.ConfirmMicPublishingResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 81: hyapp.room.v1.ConfirmMicPublishingResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 82: hyapp.room.v1.MicHeartbeatRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 83: hyapp.room.v1.MicHeartbeatResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 84: hyapp.room.v1.MicHeartbeatResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 85: hyapp.room.v1.SetMicMuteRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 86: hyapp.room.v1.SetMicMuteResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 87: hyapp.room.v1.SetMicMuteResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 88: hyapp.room.v1.ApplyRTCEventRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 89: hyapp.room.v1.ApplyRTCEventResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 90: hyapp.room.v1.ApplyRTCEventResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 91: hyapp.room.v1.SetMicSeatLockRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 92: hyapp.room.v1.SetMicSeatLockResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 93: hyapp.room.v1.SetMicSeatLockResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 94: hyapp.room.v1.SetChatEnabledRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 95: hyapp.room.v1.SetChatEnabledResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 96: hyapp.room.v1.SetChatEnabledResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 97: hyapp.room.v1.SetRoomPasswordRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 98: hyapp.room.v1.SetRoomPasswordResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 99: hyapp.room.v1.SetRoomPasswordResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 100: hyapp.room.v1.SetRoomAdminRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 101: hyapp.room.v1.SetRoomAdminResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 102: hyapp.room.v1.SetRoomAdminResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 103: hyapp.room.v1.MuteUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 104: hyapp.room.v1.MuteUserResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 105: hyapp.room.v1.MuteUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 106: hyapp.room.v1.KickUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 107: hyapp.room.v1.KickUserResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 108: hyapp.room.v1.KickUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 109: hyapp.room.v1.UnbanUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 110: hyapp.room.v1.UnbanUserResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 111: hyapp.room.v1.UnbanUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 112: hyapp.room.v1.SystemEvictUserRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 113: hyapp.room.v1.SystemEvictUserResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
33, // 114: hyapp.room.v1.SystemEvictUserResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 115: hyapp.room.v1.SendGiftRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
1, // 116: hyapp.room.v1.SendGiftResponse.result:type_name -> hyapp.room.v1.CommandResult
|
||
5, // 117: hyapp.room.v1.SendGiftResponse.gift_rank:type_name -> hyapp.room.v1.RankItem
|
||
33, // 118: hyapp.room.v1.SendGiftResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
11, // 119: hyapp.room.v1.SendGiftResponse.rocket:type_name -> hyapp.room.v1.RoomRocketState
|
||
6, // 120: hyapp.room.v1.SendGiftResponse.lucky_gift:type_name -> hyapp.room.v1.LuckyGiftDrawResult
|
||
6, // 121: hyapp.room.v1.SendGiftResponse.lucky_gifts:type_name -> hyapp.room.v1.LuckyGiftDrawResult
|
||
0, // 122: hyapp.room.v1.ListRoomsRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
0, // 123: hyapp.room.v1.ListRoomFeedsRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
102, // 124: hyapp.room.v1.ListRoomFeedsRequest.related_users:type_name -> hyapp.room.v1.RoomFeedRelatedUser
|
||
0, // 125: hyapp.room.v1.ListRoomGiftLeaderboardRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
103, // 126: hyapp.room.v1.ListRoomsResponse.rooms:type_name -> hyapp.room.v1.RoomListItem
|
||
103, // 127: hyapp.room.v1.RoomGiftLeaderboardItem.room:type_name -> hyapp.room.v1.RoomListItem
|
||
105, // 128: hyapp.room.v1.ListRoomGiftLeaderboardResponse.items:type_name -> hyapp.room.v1.RoomGiftLeaderboardItem
|
||
0, // 129: hyapp.room.v1.GetMyRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
103, // 130: hyapp.room.v1.GetMyRoomResponse.room:type_name -> hyapp.room.v1.RoomListItem
|
||
0, // 131: hyapp.room.v1.GetCurrentRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
0, // 132: hyapp.room.v1.GetRoomSnapshotRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
33, // 133: hyapp.room.v1.GetRoomSnapshotResponse.room:type_name -> hyapp.room.v1.RoomSnapshot
|
||
0, // 134: hyapp.room.v1.GetRoomRocketRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
12, // 135: hyapp.room.v1.GetRoomRocketResponse.rocket:type_name -> hyapp.room.v1.RoomRocketInfo
|
||
0, // 136: hyapp.room.v1.ListRoomOnlineUsersRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
2, // 137: hyapp.room.v1.ListRoomOnlineUsersResponse.users:type_name -> hyapp.room.v1.RoomUser
|
||
3, // 138: hyapp.room.v1.ListRoomOnlineUsersResponse.items:type_name -> hyapp.room.v1.RoomOnlineUser
|
||
0, // 139: hyapp.room.v1.ListRoomBannedUsersRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
117, // 140: hyapp.room.v1.ListRoomBannedUsersResponse.items:type_name -> hyapp.room.v1.RoomBannedUser
|
||
0, // 141: hyapp.room.v1.FollowRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
0, // 142: hyapp.room.v1.UnfollowRoomRequest.meta:type_name -> hyapp.room.v1.RequestMeta
|
||
41, // 143: hyapp.room.v1.RoomCommandService.CreateRoom:input_type -> hyapp.room.v1.CreateRoomRequest
|
||
43, // 144: hyapp.room.v1.RoomCommandService.UpdateRoomProfile:input_type -> hyapp.room.v1.UpdateRoomProfileRequest
|
||
35, // 145: hyapp.room.v1.RoomCommandService.SaveRoomBackground:input_type -> hyapp.room.v1.SaveRoomBackgroundRequest
|
||
39, // 146: hyapp.room.v1.RoomCommandService.SetRoomBackground:input_type -> hyapp.room.v1.SetRoomBackgroundRequest
|
||
46, // 147: hyapp.room.v1.RoomCommandService.JoinRoom:input_type -> hyapp.room.v1.JoinRoomRequest
|
||
48, // 148: hyapp.room.v1.RoomCommandService.RoomHeartbeat:input_type -> hyapp.room.v1.RoomHeartbeatRequest
|
||
50, // 149: hyapp.room.v1.RoomCommandService.LeaveRoom:input_type -> hyapp.room.v1.LeaveRoomRequest
|
||
52, // 150: hyapp.room.v1.RoomCommandService.CloseRoom:input_type -> hyapp.room.v1.CloseRoomRequest
|
||
59, // 151: hyapp.room.v1.RoomCommandService.AdminUpdateRoom:input_type -> hyapp.room.v1.AdminUpdateRoomRequest
|
||
61, // 152: hyapp.room.v1.RoomCommandService.AdminDeleteRoom:input_type -> hyapp.room.v1.AdminDeleteRoomRequest
|
||
17, // 153: hyapp.room.v1.RoomCommandService.AdminUpdateRoomRocketConfig:input_type -> hyapp.room.v1.AdminUpdateRoomRocketConfigRequest
|
||
22, // 154: hyapp.room.v1.RoomCommandService.AdminUpdateRoomSeatConfig:input_type -> hyapp.room.v1.AdminUpdateRoomSeatConfigRequest
|
||
28, // 155: hyapp.room.v1.RoomCommandService.AdminCreateRoomPin:input_type -> hyapp.room.v1.AdminCreateRoomPinRequest
|
||
30, // 156: hyapp.room.v1.RoomCommandService.AdminCancelRoomPin:input_type -> hyapp.room.v1.AdminCancelRoomPinRequest
|
||
63, // 157: hyapp.room.v1.RoomCommandService.MicUp:input_type -> hyapp.room.v1.MicUpRequest
|
||
65, // 158: hyapp.room.v1.RoomCommandService.MicDown:input_type -> hyapp.room.v1.MicDownRequest
|
||
67, // 159: hyapp.room.v1.RoomCommandService.ChangeMicSeat:input_type -> hyapp.room.v1.ChangeMicSeatRequest
|
||
69, // 160: hyapp.room.v1.RoomCommandService.ConfirmMicPublishing:input_type -> hyapp.room.v1.ConfirmMicPublishingRequest
|
||
71, // 161: hyapp.room.v1.RoomCommandService.MicHeartbeat:input_type -> hyapp.room.v1.MicHeartbeatRequest
|
||
73, // 162: hyapp.room.v1.RoomCommandService.SetMicMute:input_type -> hyapp.room.v1.SetMicMuteRequest
|
||
75, // 163: hyapp.room.v1.RoomCommandService.ApplyRTCEvent:input_type -> hyapp.room.v1.ApplyRTCEventRequest
|
||
77, // 164: hyapp.room.v1.RoomCommandService.SetMicSeatLock:input_type -> hyapp.room.v1.SetMicSeatLockRequest
|
||
79, // 165: hyapp.room.v1.RoomCommandService.SetChatEnabled:input_type -> hyapp.room.v1.SetChatEnabledRequest
|
||
81, // 166: hyapp.room.v1.RoomCommandService.SetRoomPassword:input_type -> hyapp.room.v1.SetRoomPasswordRequest
|
||
83, // 167: hyapp.room.v1.RoomCommandService.SetRoomAdmin:input_type -> hyapp.room.v1.SetRoomAdminRequest
|
||
85, // 168: hyapp.room.v1.RoomCommandService.MuteUser:input_type -> hyapp.room.v1.MuteUserRequest
|
||
87, // 169: hyapp.room.v1.RoomCommandService.KickUser:input_type -> hyapp.room.v1.KickUserRequest
|
||
89, // 170: hyapp.room.v1.RoomCommandService.UnbanUser:input_type -> hyapp.room.v1.UnbanUserRequest
|
||
91, // 171: hyapp.room.v1.RoomCommandService.SystemEvictUser:input_type -> hyapp.room.v1.SystemEvictUserRequest
|
||
93, // 172: hyapp.room.v1.RoomCommandService.SendGift:input_type -> hyapp.room.v1.SendGiftRequest
|
||
120, // 173: hyapp.room.v1.RoomCommandService.FollowRoom:input_type -> hyapp.room.v1.FollowRoomRequest
|
||
122, // 174: hyapp.room.v1.RoomCommandService.UnfollowRoom:input_type -> hyapp.room.v1.UnfollowRoomRequest
|
||
95, // 175: hyapp.room.v1.RoomGuardService.CheckSpeakPermission:input_type -> hyapp.room.v1.CheckSpeakPermissionRequest
|
||
97, // 176: hyapp.room.v1.RoomGuardService.VerifyRoomPresence:input_type -> hyapp.room.v1.VerifyRoomPresenceRequest
|
||
55, // 177: hyapp.room.v1.RoomQueryService.AdminListRooms:input_type -> hyapp.room.v1.AdminListRoomsRequest
|
||
57, // 178: hyapp.room.v1.RoomQueryService.AdminGetRoom:input_type -> hyapp.room.v1.AdminGetRoomRequest
|
||
15, // 179: hyapp.room.v1.RoomQueryService.AdminGetRoomRocketConfig:input_type -> hyapp.room.v1.AdminGetRoomRocketConfigRequest
|
||
20, // 180: hyapp.room.v1.RoomQueryService.AdminGetRoomSeatConfig:input_type -> hyapp.room.v1.AdminGetRoomSeatConfigRequest
|
||
26, // 181: hyapp.room.v1.RoomQueryService.AdminListRoomPins:input_type -> hyapp.room.v1.AdminListRoomPinsRequest
|
||
99, // 182: hyapp.room.v1.RoomQueryService.ListRooms:input_type -> hyapp.room.v1.ListRoomsRequest
|
||
100, // 183: hyapp.room.v1.RoomQueryService.ListRoomFeeds:input_type -> hyapp.room.v1.ListRoomFeedsRequest
|
||
101, // 184: hyapp.room.v1.RoomQueryService.ListRoomGiftLeaderboard:input_type -> hyapp.room.v1.ListRoomGiftLeaderboardRequest
|
||
107, // 185: hyapp.room.v1.RoomQueryService.GetMyRoom:input_type -> hyapp.room.v1.GetMyRoomRequest
|
||
109, // 186: hyapp.room.v1.RoomQueryService.GetCurrentRoom:input_type -> hyapp.room.v1.GetCurrentRoomRequest
|
||
111, // 187: hyapp.room.v1.RoomQueryService.GetRoomSnapshot:input_type -> hyapp.room.v1.GetRoomSnapshotRequest
|
||
37, // 188: hyapp.room.v1.RoomQueryService.ListRoomBackgrounds:input_type -> hyapp.room.v1.ListRoomBackgroundsRequest
|
||
113, // 189: hyapp.room.v1.RoomQueryService.GetRoomRocket:input_type -> hyapp.room.v1.GetRoomRocketRequest
|
||
115, // 190: hyapp.room.v1.RoomQueryService.ListRoomOnlineUsers:input_type -> hyapp.room.v1.ListRoomOnlineUsersRequest
|
||
118, // 191: hyapp.room.v1.RoomQueryService.ListRoomBannedUsers:input_type -> hyapp.room.v1.ListRoomBannedUsersRequest
|
||
42, // 192: hyapp.room.v1.RoomCommandService.CreateRoom:output_type -> hyapp.room.v1.CreateRoomResponse
|
||
44, // 193: hyapp.room.v1.RoomCommandService.UpdateRoomProfile:output_type -> hyapp.room.v1.UpdateRoomProfileResponse
|
||
36, // 194: hyapp.room.v1.RoomCommandService.SaveRoomBackground:output_type -> hyapp.room.v1.SaveRoomBackgroundResponse
|
||
40, // 195: hyapp.room.v1.RoomCommandService.SetRoomBackground:output_type -> hyapp.room.v1.SetRoomBackgroundResponse
|
||
47, // 196: hyapp.room.v1.RoomCommandService.JoinRoom:output_type -> hyapp.room.v1.JoinRoomResponse
|
||
49, // 197: hyapp.room.v1.RoomCommandService.RoomHeartbeat:output_type -> hyapp.room.v1.RoomHeartbeatResponse
|
||
51, // 198: hyapp.room.v1.RoomCommandService.LeaveRoom:output_type -> hyapp.room.v1.LeaveRoomResponse
|
||
53, // 199: hyapp.room.v1.RoomCommandService.CloseRoom:output_type -> hyapp.room.v1.CloseRoomResponse
|
||
60, // 200: hyapp.room.v1.RoomCommandService.AdminUpdateRoom:output_type -> hyapp.room.v1.AdminUpdateRoomResponse
|
||
62, // 201: hyapp.room.v1.RoomCommandService.AdminDeleteRoom:output_type -> hyapp.room.v1.AdminDeleteRoomResponse
|
||
18, // 202: hyapp.room.v1.RoomCommandService.AdminUpdateRoomRocketConfig:output_type -> hyapp.room.v1.AdminUpdateRoomRocketConfigResponse
|
||
23, // 203: hyapp.room.v1.RoomCommandService.AdminUpdateRoomSeatConfig:output_type -> hyapp.room.v1.AdminUpdateRoomSeatConfigResponse
|
||
29, // 204: hyapp.room.v1.RoomCommandService.AdminCreateRoomPin:output_type -> hyapp.room.v1.AdminCreateRoomPinResponse
|
||
31, // 205: hyapp.room.v1.RoomCommandService.AdminCancelRoomPin:output_type -> hyapp.room.v1.AdminCancelRoomPinResponse
|
||
64, // 206: hyapp.room.v1.RoomCommandService.MicUp:output_type -> hyapp.room.v1.MicUpResponse
|
||
66, // 207: hyapp.room.v1.RoomCommandService.MicDown:output_type -> hyapp.room.v1.MicDownResponse
|
||
68, // 208: hyapp.room.v1.RoomCommandService.ChangeMicSeat:output_type -> hyapp.room.v1.ChangeMicSeatResponse
|
||
70, // 209: hyapp.room.v1.RoomCommandService.ConfirmMicPublishing:output_type -> hyapp.room.v1.ConfirmMicPublishingResponse
|
||
72, // 210: hyapp.room.v1.RoomCommandService.MicHeartbeat:output_type -> hyapp.room.v1.MicHeartbeatResponse
|
||
74, // 211: hyapp.room.v1.RoomCommandService.SetMicMute:output_type -> hyapp.room.v1.SetMicMuteResponse
|
||
76, // 212: hyapp.room.v1.RoomCommandService.ApplyRTCEvent:output_type -> hyapp.room.v1.ApplyRTCEventResponse
|
||
78, // 213: hyapp.room.v1.RoomCommandService.SetMicSeatLock:output_type -> hyapp.room.v1.SetMicSeatLockResponse
|
||
80, // 214: hyapp.room.v1.RoomCommandService.SetChatEnabled:output_type -> hyapp.room.v1.SetChatEnabledResponse
|
||
82, // 215: hyapp.room.v1.RoomCommandService.SetRoomPassword:output_type -> hyapp.room.v1.SetRoomPasswordResponse
|
||
84, // 216: hyapp.room.v1.RoomCommandService.SetRoomAdmin:output_type -> hyapp.room.v1.SetRoomAdminResponse
|
||
86, // 217: hyapp.room.v1.RoomCommandService.MuteUser:output_type -> hyapp.room.v1.MuteUserResponse
|
||
88, // 218: hyapp.room.v1.RoomCommandService.KickUser:output_type -> hyapp.room.v1.KickUserResponse
|
||
90, // 219: hyapp.room.v1.RoomCommandService.UnbanUser:output_type -> hyapp.room.v1.UnbanUserResponse
|
||
92, // 220: hyapp.room.v1.RoomCommandService.SystemEvictUser:output_type -> hyapp.room.v1.SystemEvictUserResponse
|
||
94, // 221: hyapp.room.v1.RoomCommandService.SendGift:output_type -> hyapp.room.v1.SendGiftResponse
|
||
121, // 222: hyapp.room.v1.RoomCommandService.FollowRoom:output_type -> hyapp.room.v1.FollowRoomResponse
|
||
123, // 223: hyapp.room.v1.RoomCommandService.UnfollowRoom:output_type -> hyapp.room.v1.UnfollowRoomResponse
|
||
96, // 224: hyapp.room.v1.RoomGuardService.CheckSpeakPermission:output_type -> hyapp.room.v1.CheckSpeakPermissionResponse
|
||
98, // 225: hyapp.room.v1.RoomGuardService.VerifyRoomPresence:output_type -> hyapp.room.v1.VerifyRoomPresenceResponse
|
||
56, // 226: hyapp.room.v1.RoomQueryService.AdminListRooms:output_type -> hyapp.room.v1.AdminListRoomsResponse
|
||
58, // 227: hyapp.room.v1.RoomQueryService.AdminGetRoom:output_type -> hyapp.room.v1.AdminGetRoomResponse
|
||
16, // 228: hyapp.room.v1.RoomQueryService.AdminGetRoomRocketConfig:output_type -> hyapp.room.v1.AdminGetRoomRocketConfigResponse
|
||
21, // 229: hyapp.room.v1.RoomQueryService.AdminGetRoomSeatConfig:output_type -> hyapp.room.v1.AdminGetRoomSeatConfigResponse
|
||
27, // 230: hyapp.room.v1.RoomQueryService.AdminListRoomPins:output_type -> hyapp.room.v1.AdminListRoomPinsResponse
|
||
104, // 231: hyapp.room.v1.RoomQueryService.ListRooms:output_type -> hyapp.room.v1.ListRoomsResponse
|
||
104, // 232: hyapp.room.v1.RoomQueryService.ListRoomFeeds:output_type -> hyapp.room.v1.ListRoomsResponse
|
||
106, // 233: hyapp.room.v1.RoomQueryService.ListRoomGiftLeaderboard:output_type -> hyapp.room.v1.ListRoomGiftLeaderboardResponse
|
||
108, // 234: hyapp.room.v1.RoomQueryService.GetMyRoom:output_type -> hyapp.room.v1.GetMyRoomResponse
|
||
110, // 235: hyapp.room.v1.RoomQueryService.GetCurrentRoom:output_type -> hyapp.room.v1.GetCurrentRoomResponse
|
||
112, // 236: hyapp.room.v1.RoomQueryService.GetRoomSnapshot:output_type -> hyapp.room.v1.GetRoomSnapshotResponse
|
||
38, // 237: hyapp.room.v1.RoomQueryService.ListRoomBackgrounds:output_type -> hyapp.room.v1.ListRoomBackgroundsResponse
|
||
114, // 238: hyapp.room.v1.RoomQueryService.GetRoomRocket:output_type -> hyapp.room.v1.GetRoomRocketResponse
|
||
116, // 239: hyapp.room.v1.RoomQueryService.ListRoomOnlineUsers:output_type -> hyapp.room.v1.ListRoomOnlineUsersResponse
|
||
119, // 240: hyapp.room.v1.RoomQueryService.ListRoomBannedUsers:output_type -> hyapp.room.v1.ListRoomBannedUsersResponse
|
||
192, // [192:241] is the sub-list for method output_type
|
||
143, // [143:192] is the sub-list for method input_type
|
||
143, // [143:143] is the sub-list for extension type_name
|
||
143, // [143:143] is the sub-list for extension extendee
|
||
0, // [0:143] 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[43].OneofWrappers = []any{}
|
||
file_proto_room_v1_room_proto_msgTypes[59].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: 125,
|
||
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
|
||
}
|