2188 lines
70 KiB
Go
2188 lines
70 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.35.0
|
||
// source: proto/events/room/v1/events.proto
|
||
|
||
package roomeventsv1
|
||
|
||
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)
|
||
)
|
||
|
||
// EventEnvelope 是 room-service outbox 的统一事件外壳。
|
||
// body 保存具体事件消息序列化后的二进制,event_type 负责告诉消费者如何解码。
|
||
type EventEnvelope struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
||
RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
||
RoomVersion int64 `protobuf:"varint,4,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"`
|
||
OccurredAtMs int64 `protobuf:"varint,5,opt,name=occurred_at_ms,json=occurredAtMs,proto3" json:"occurred_at_ms,omitempty"`
|
||
Body []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
|
||
AppCode string `protobuf:"bytes,7,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *EventEnvelope) Reset() {
|
||
*x = EventEnvelope{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *EventEnvelope) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*EventEnvelope) ProtoMessage() {}
|
||
|
||
func (x *EventEnvelope) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 EventEnvelope.ProtoReflect.Descriptor instead.
|
||
func (*EventEnvelope) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *EventEnvelope) GetEventId() string {
|
||
if x != nil {
|
||
return x.EventId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *EventEnvelope) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *EventEnvelope) GetEventType() string {
|
||
if x != nil {
|
||
return x.EventType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *EventEnvelope) GetRoomVersion() int64 {
|
||
if x != nil {
|
||
return x.RoomVersion
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *EventEnvelope) GetOccurredAtMs() int64 {
|
||
if x != nil {
|
||
return x.OccurredAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *EventEnvelope) GetBody() []byte {
|
||
if x != nil {
|
||
return x.Body
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *EventEnvelope) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomCreated 表达房间第一次建立成功。
|
||
type RoomCreated struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
OwnerUserId int64 `protobuf:"varint,1,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
|
||
SeatCount int32 `protobuf:"varint,3,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"`
|
||
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
|
||
// room_name/room_avatar/room_description 是创建时确定的展示资料快照,消费者不需要反查 room-service。
|
||
RoomName string `protobuf:"bytes,5,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
|
||
RoomAvatar string `protobuf:"bytes,6,opt,name=room_avatar,json=roomAvatar,proto3" json:"room_avatar,omitempty"`
|
||
RoomDescription string `protobuf:"bytes,7,opt,name=room_description,json=roomDescription,proto3" json:"room_description,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomCreated) Reset() {
|
||
*x = RoomCreated{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomCreated) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomCreated) ProtoMessage() {}
|
||
|
||
func (x *RoomCreated) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomCreated.ProtoReflect.Descriptor instead.
|
||
func (*RoomCreated) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *RoomCreated) GetOwnerUserId() int64 {
|
||
if x != nil {
|
||
return x.OwnerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomCreated) GetSeatCount() int32 {
|
||
if x != nil {
|
||
return x.SeatCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomCreated) GetMode() string {
|
||
if x != nil {
|
||
return x.Mode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomCreated) GetRoomName() string {
|
||
if x != nil {
|
||
return x.RoomName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomCreated) GetRoomAvatar() string {
|
||
if x != nil {
|
||
return x.RoomAvatar
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomCreated) GetRoomDescription() string {
|
||
if x != nil {
|
||
return x.RoomDescription
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomProfileUpdated 表达房间展示资料或麦位数量变更。
|
||
type RoomProfileUpdated struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
||
RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
|
||
RoomAvatar string `protobuf:"bytes,3,opt,name=room_avatar,json=roomAvatar,proto3" json:"room_avatar,omitempty"`
|
||
RoomDescription string `protobuf:"bytes,4,opt,name=room_description,json=roomDescription,proto3" json:"room_description,omitempty"`
|
||
SeatCount int32 `protobuf:"varint,5,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"`
|
||
RoomBackgroundUrl string `protobuf:"bytes,6,opt,name=room_background_url,json=roomBackgroundUrl,proto3" json:"room_background_url,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) Reset() {
|
||
*x = RoomProfileUpdated{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomProfileUpdated) ProtoMessage() {}
|
||
|
||
func (x *RoomProfileUpdated) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomProfileUpdated.ProtoReflect.Descriptor instead.
|
||
func (*RoomProfileUpdated) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) GetRoomName() string {
|
||
if x != nil {
|
||
return x.RoomName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) GetRoomAvatar() string {
|
||
if x != nil {
|
||
return x.RoomAvatar
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) GetRoomDescription() string {
|
||
if x != nil {
|
||
return x.RoomDescription
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) GetSeatCount() int32 {
|
||
if x != nil {
|
||
return x.SeatCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomProfileUpdated) GetRoomBackgroundUrl() string {
|
||
if x != nil {
|
||
return x.RoomBackgroundUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomBackgroundChanged 表达房主切换当前房间背景图。
|
||
type RoomBackgroundChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
||
BackgroundId int64 `protobuf:"varint,2,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"`
|
||
RoomBackgroundUrl string `protobuf:"bytes,3,opt,name=room_background_url,json=roomBackgroundUrl,proto3" json:"room_background_url,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomBackgroundChanged) Reset() {
|
||
*x = RoomBackgroundChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomBackgroundChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomBackgroundChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomBackgroundChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomBackgroundChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomBackgroundChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *RoomBackgroundChanged) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomBackgroundChanged) GetBackgroundId() int64 {
|
||
if x != nil {
|
||
return x.BackgroundId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomBackgroundChanged) GetRoomBackgroundUrl() string {
|
||
if x != nil {
|
||
return x.RoomBackgroundUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomUserJoined 表达用户业务态进房成功。
|
||
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_events_room_v1_events_proto_msgTypes[4]
|
||
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_events_room_v1_events_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 RoomEntryVehicleSnapshot.ProtoReflect.Descriptor instead.
|
||
func (*RoomEntryVehicleSnapshot) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
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 RoomUserJoined 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"`
|
||
// visible_region_id 是用户进房时所在房间的国家/区域桶,统计服务不能反查 room-service。
|
||
VisibleRegionId int64 `protobuf:"varint,3,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"`
|
||
EntryVehicle *RoomEntryVehicleSnapshot `protobuf:"bytes,4,opt,name=entry_vehicle,json=entryVehicle,proto3" json:"entry_vehicle,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomUserJoined) Reset() {
|
||
*x = RoomUserJoined{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomUserJoined) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomUserJoined) ProtoMessage() {}
|
||
|
||
func (x *RoomUserJoined) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomUserJoined.ProtoReflect.Descriptor instead.
|
||
func (*RoomUserJoined) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *RoomUserJoined) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomUserJoined) GetRole() string {
|
||
if x != nil {
|
||
return x.Role
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomUserJoined) GetVisibleRegionId() int64 {
|
||
if x != nil {
|
||
return x.VisibleRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomUserJoined) GetEntryVehicle() *RoomEntryVehicleSnapshot {
|
||
if x != nil {
|
||
return x.EntryVehicle
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// RoomUserLeft 表达用户离房成功。
|
||
type RoomUserLeft struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomUserLeft) Reset() {
|
||
*x = RoomUserLeft{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomUserLeft) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomUserLeft) ProtoMessage() {}
|
||
|
||
func (x *RoomUserLeft) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomUserLeft.ProtoReflect.Descriptor instead.
|
||
func (*RoomUserLeft) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *RoomUserLeft) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RoomClosed 表达房间生命周期关闭完成。
|
||
type RoomClosed struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
||
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomClosed) Reset() {
|
||
*x = RoomClosed{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomClosed) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomClosed) ProtoMessage() {}
|
||
|
||
func (x *RoomClosed) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomClosed.ProtoReflect.Descriptor instead.
|
||
func (*RoomClosed) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *RoomClosed) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomClosed) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomMicChanged 表达任意上下麦和换麦位动作。
|
||
type RoomMicChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
FromSeat int32 `protobuf:"varint,3,opt,name=from_seat,json=fromSeat,proto3" json:"from_seat,omitempty"`
|
||
ToSeat int32 `protobuf:"varint,4,opt,name=to_seat,json=toSeat,proto3" json:"to_seat,omitempty"`
|
||
Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
|
||
// mic_session_id 用于把业务麦位事件和 RTC 发流会话绑定,客户端和 webhook 都必须透传。
|
||
MicSessionId string `protobuf:"bytes,6,opt,name=mic_session_id,json=micSessionId,proto3" json:"mic_session_id,omitempty"`
|
||
// publish_state 透出 pending_publish/publishing/idle,避免把“占麦”和“已发流”混成一个状态。
|
||
PublishState string `protobuf:"bytes,7,opt,name=publish_state,json=publishState,proto3" json:"publish_state,omitempty"`
|
||
// reason 表示系统触发的下麦原因,例如 publish_timeout。
|
||
Reason string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
PublishDeadlineMs int64 `protobuf:"varint,9,opt,name=publish_deadline_ms,json=publishDeadlineMs,proto3" json:"publish_deadline_ms,omitempty"`
|
||
PublishEventTimeMs int64 `protobuf:"varint,10,opt,name=publish_event_time_ms,json=publishEventTimeMs,proto3" json:"publish_event_time_ms,omitempty"`
|
||
MicMuted bool `protobuf:"varint,11,opt,name=mic_muted,json=micMuted,proto3" json:"mic_muted,omitempty"`
|
||
SeatStatus string `protobuf:"bytes,12,opt,name=seat_status,json=seatStatus,proto3" json:"seat_status,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomMicChanged) Reset() {
|
||
*x = RoomMicChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomMicChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomMicChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomMicChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomMicChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomMicChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetFromSeat() int32 {
|
||
if x != nil {
|
||
return x.FromSeat
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetToSeat() int32 {
|
||
if x != nil {
|
||
return x.ToSeat
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetAction() string {
|
||
if x != nil {
|
||
return x.Action
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetMicSessionId() string {
|
||
if x != nil {
|
||
return x.MicSessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetPublishState() string {
|
||
if x != nil {
|
||
return x.PublishState
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetPublishDeadlineMs() int64 {
|
||
if x != nil {
|
||
return x.PublishDeadlineMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetPublishEventTimeMs() int64 {
|
||
if x != nil {
|
||
return x.PublishEventTimeMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetMicMuted() bool {
|
||
if x != nil {
|
||
return x.MicMuted
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *RoomMicChanged) GetSeatStatus() string {
|
||
if x != nil {
|
||
return x.SeatStatus
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomMicSeatLocked 表达单个麦位锁定状态变更。
|
||
type RoomMicSeatLocked struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,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 *RoomMicSeatLocked) Reset() {
|
||
*x = RoomMicSeatLocked{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomMicSeatLocked) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomMicSeatLocked) ProtoMessage() {}
|
||
|
||
func (x *RoomMicSeatLocked) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomMicSeatLocked.ProtoReflect.Descriptor instead.
|
||
func (*RoomMicSeatLocked) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *RoomMicSeatLocked) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicSeatLocked) GetSeatNo() int32 {
|
||
if x != nil {
|
||
return x.SeatNo
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomMicSeatLocked) GetLocked() bool {
|
||
if x != nil {
|
||
return x.Locked
|
||
}
|
||
return false
|
||
}
|
||
|
||
// RoomChatEnabledChanged 表达公屏开关状态变更。
|
||
type RoomChatEnabledChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
||
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomChatEnabledChanged) Reset() {
|
||
*x = RoomChatEnabledChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomChatEnabledChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomChatEnabledChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomChatEnabledChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomChatEnabledChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomChatEnabledChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *RoomChatEnabledChanged) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomChatEnabledChanged) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
// RoomPasswordChanged 表达房间入房密码状态变更,不携带明文或哈希。
|
||
type RoomPasswordChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
||
Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"`
|
||
// visible_region_id 是房间当前可见区域,activity-service 用它把锁房变化投到区域播报群。
|
||
VisibleRegionId int64 `protobuf:"varint,3,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomPasswordChanged) Reset() {
|
||
*x = RoomPasswordChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomPasswordChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomPasswordChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomPasswordChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomPasswordChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomPasswordChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *RoomPasswordChanged) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomPasswordChanged) GetLocked() bool {
|
||
if x != nil {
|
||
return x.Locked
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *RoomPasswordChanged) GetVisibleRegionId() int64 {
|
||
if x != nil {
|
||
return x.VisibleRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RoomAdminChanged 表达房间管理员集合变更。
|
||
type RoomAdminChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,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 *RoomAdminChanged) Reset() {
|
||
*x = RoomAdminChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomAdminChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomAdminChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomAdminChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomAdminChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomAdminChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *RoomAdminChanged) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomAdminChanged) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomAdminChanged) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
// RoomUserMuted 表达禁言状态变更。
|
||
type RoomUserMuted struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,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 *RoomUserMuted) Reset() {
|
||
*x = RoomUserMuted{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomUserMuted) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomUserMuted) ProtoMessage() {}
|
||
|
||
func (x *RoomUserMuted) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomUserMuted.ProtoReflect.Descriptor instead.
|
||
func (*RoomUserMuted) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *RoomUserMuted) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomUserMuted) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomUserMuted) GetMuted() bool {
|
||
if x != nil {
|
||
return x.Muted
|
||
}
|
||
return false
|
||
}
|
||
|
||
// RoomUserKicked 表达踢人动作。
|
||
type RoomUserKicked struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,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 *RoomUserKicked) Reset() {
|
||
*x = RoomUserKicked{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomUserKicked) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomUserKicked) ProtoMessage() {}
|
||
|
||
func (x *RoomUserKicked) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomUserKicked.ProtoReflect.Descriptor instead.
|
||
func (*RoomUserKicked) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *RoomUserKicked) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomUserKicked) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RoomUserUnbanned 表达解除房间 ban。
|
||
type RoomUserUnbanned struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ActorUserId int64 `protobuf:"varint,1,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,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 *RoomUserUnbanned) Reset() {
|
||
*x = RoomUserUnbanned{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomUserUnbanned) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomUserUnbanned) ProtoMessage() {}
|
||
|
||
func (x *RoomUserUnbanned) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomUserUnbanned.ProtoReflect.Descriptor instead.
|
||
func (*RoomUserUnbanned) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *RoomUserUnbanned) GetActorUserId() int64 {
|
||
if x != nil {
|
||
return x.ActorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomUserUnbanned) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RoomGiftSent 表达送礼成功且已落房间状态。
|
||
type RoomGiftSent struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SenderUserId int64 `protobuf:"varint,1,opt,name=sender_user_id,json=senderUserId,proto3" json:"sender_user_id,omitempty"`
|
||
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"`
|
||
GiftValue int64 `protobuf:"varint,5,opt,name=gift_value,json=giftValue,proto3" json:"gift_value,omitempty"`
|
||
BillingReceiptId string `protobuf:"bytes,6,opt,name=billing_receipt_id,json=billingReceiptId,proto3" json:"billing_receipt_id,omitempty"`
|
||
VisibleRegionId int64 `protobuf:"varint,7,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"`
|
||
CommandId string `protobuf:"bytes,8,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
PoolId string `protobuf:"bytes,9,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomGiftSent) Reset() {
|
||
*x = RoomGiftSent{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomGiftSent) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomGiftSent) ProtoMessage() {}
|
||
|
||
func (x *RoomGiftSent) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomGiftSent.ProtoReflect.Descriptor instead.
|
||
func (*RoomGiftSent) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetSenderUserId() int64 {
|
||
if x != nil {
|
||
return x.SenderUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetGiftCount() int32 {
|
||
if x != nil {
|
||
return x.GiftCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetGiftValue() int64 {
|
||
if x != nil {
|
||
return x.GiftValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetBillingReceiptId() string {
|
||
if x != nil {
|
||
return x.BillingReceiptId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetVisibleRegionId() int64 {
|
||
if x != nil {
|
||
return x.VisibleRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomGiftSent) GetPoolId() string {
|
||
if x != nil {
|
||
return x.PoolId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomHeatChanged 表达热度变化结果。
|
||
type RoomHeatChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Delta int64 `protobuf:"varint,1,opt,name=delta,proto3" json:"delta,omitempty"`
|
||
CurrentHeat int64 `protobuf:"varint,2,opt,name=current_heat,json=currentHeat,proto3" json:"current_heat,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomHeatChanged) Reset() {
|
||
*x = RoomHeatChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomHeatChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomHeatChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomHeatChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomHeatChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomHeatChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *RoomHeatChanged) GetDelta() int64 {
|
||
if x != nil {
|
||
return x.Delta
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomHeatChanged) GetCurrentHeat() int64 {
|
||
if x != nil {
|
||
return x.CurrentHeat
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RoomRankChanged 表达本地礼物榜变化结果。
|
||
type RoomRankChanged 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"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomRankChanged) Reset() {
|
||
*x = RoomRankChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomRankChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomRankChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomRankChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomRankChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomRankChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *RoomRankChanged) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRankChanged) GetScore() int64 {
|
||
if x != nil {
|
||
return x.Score
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomRankChanged) GetGiftValue() int64 {
|
||
if x != nil {
|
||
return x.GiftValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RoomTreasureRewardGrant struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RewardRole string `protobuf:"bytes,1,opt,name=reward_role,json=rewardRole,proto3" json:"reward_role,omitempty"`
|
||
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
RewardItemId string `protobuf:"bytes,3,opt,name=reward_item_id,json=rewardItemId,proto3" json:"reward_item_id,omitempty"`
|
||
ResourceGroupId int64 `protobuf:"varint,4,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
|
||
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||
IconUrl string `protobuf:"bytes,6,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
|
||
GrantId string `protobuf:"bytes,7,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
|
||
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) Reset() {
|
||
*x = RoomTreasureRewardGrant{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomTreasureRewardGrant) ProtoMessage() {}
|
||
|
||
func (x *RoomTreasureRewardGrant) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomTreasureRewardGrant.ProtoReflect.Descriptor instead.
|
||
func (*RoomTreasureRewardGrant) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetRewardRole() string {
|
||
if x != nil {
|
||
return x.RewardRole
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetRewardItemId() string {
|
||
if x != nil {
|
||
return x.RewardItemId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetResourceGroupId() int64 {
|
||
if x != nil {
|
||
return x.ResourceGroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetDisplayName() string {
|
||
if x != nil {
|
||
return x.DisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetIconUrl() string {
|
||
if x != nil {
|
||
return x.IconUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetGrantId() string {
|
||
if x != nil {
|
||
return x.GrantId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGrant) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomTreasureProgressChanged 表达送礼扣费成功后宝箱有效能量发生变化。
|
||
type RoomTreasureProgressChanged struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
BoxId string `protobuf:"bytes,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
|
||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||
AddedEnergy int64 `protobuf:"varint,3,opt,name=added_energy,json=addedEnergy,proto3" json:"added_energy,omitempty"`
|
||
EffectiveAddedEnergy int64 `protobuf:"varint,4,opt,name=effective_added_energy,json=effectiveAddedEnergy,proto3" json:"effective_added_energy,omitempty"`
|
||
OverflowEnergy int64 `protobuf:"varint,5,opt,name=overflow_energy,json=overflowEnergy,proto3" json:"overflow_energy,omitempty"`
|
||
CurrentProgress int64 `protobuf:"varint,6,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"`
|
||
EnergyThreshold int64 `protobuf:"varint,7,opt,name=energy_threshold,json=energyThreshold,proto3" json:"energy_threshold,omitempty"`
|
||
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
||
ResetAtMs int64 `protobuf:"varint,9,opt,name=reset_at_ms,json=resetAtMs,proto3" json:"reset_at_ms,omitempty"`
|
||
SenderUserId int64 `protobuf:"varint,10,opt,name=sender_user_id,json=senderUserId,proto3" json:"sender_user_id,omitempty"`
|
||
GiftId string `protobuf:"bytes,11,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
GiftCount int32 `protobuf:"varint,12,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
|
||
CommandId string `protobuf:"bytes,13,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
VisibleRegionId int64 `protobuf:"varint,14,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) Reset() {
|
||
*x = RoomTreasureProgressChanged{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomTreasureProgressChanged) ProtoMessage() {}
|
||
|
||
func (x *RoomTreasureProgressChanged) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomTreasureProgressChanged.ProtoReflect.Descriptor instead.
|
||
func (*RoomTreasureProgressChanged) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetBoxId() string {
|
||
if x != nil {
|
||
return x.BoxId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetAddedEnergy() int64 {
|
||
if x != nil {
|
||
return x.AddedEnergy
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetEffectiveAddedEnergy() int64 {
|
||
if x != nil {
|
||
return x.EffectiveAddedEnergy
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetOverflowEnergy() int64 {
|
||
if x != nil {
|
||
return x.OverflowEnergy
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetCurrentProgress() int64 {
|
||
if x != nil {
|
||
return x.CurrentProgress
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetEnergyThreshold() int64 {
|
||
if x != nil {
|
||
return x.EnergyThreshold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetResetAtMs() int64 {
|
||
if x != nil {
|
||
return x.ResetAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetSenderUserId() int64 {
|
||
if x != nil {
|
||
return x.SenderUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetGiftCount() int32 {
|
||
if x != nil {
|
||
return x.GiftCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureProgressChanged) GetVisibleRegionId() int64 {
|
||
if x != nil {
|
||
return x.VisibleRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RoomTreasureCountdownStarted 表达宝箱满能量后进入倒计时,并作为区域/全局播报的事实源。
|
||
type RoomTreasureCountdownStarted struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
BoxId string `protobuf:"bytes,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
|
||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||
CurrentProgress int64 `protobuf:"varint,3,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"`
|
||
EnergyThreshold int64 `protobuf:"varint,4,opt,name=energy_threshold,json=energyThreshold,proto3" json:"energy_threshold,omitempty"`
|
||
CountdownStartedAtMs int64 `protobuf:"varint,5,opt,name=countdown_started_at_ms,json=countdownStartedAtMs,proto3" json:"countdown_started_at_ms,omitempty"`
|
||
OpenAtMs int64 `protobuf:"varint,6,opt,name=open_at_ms,json=openAtMs,proto3" json:"open_at_ms,omitempty"`
|
||
BroadcastScope string `protobuf:"bytes,7,opt,name=broadcast_scope,json=broadcastScope,proto3" json:"broadcast_scope,omitempty"`
|
||
VisibleRegionId int64 `protobuf:"varint,8,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,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"`
|
||
CommandId string `protobuf:"bytes,11,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) Reset() {
|
||
*x = RoomTreasureCountdownStarted{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomTreasureCountdownStarted) ProtoMessage() {}
|
||
|
||
func (x *RoomTreasureCountdownStarted) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomTreasureCountdownStarted.ProtoReflect.Descriptor instead.
|
||
func (*RoomTreasureCountdownStarted) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetBoxId() string {
|
||
if x != nil {
|
||
return x.BoxId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetCurrentProgress() int64 {
|
||
if x != nil {
|
||
return x.CurrentProgress
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetEnergyThreshold() int64 {
|
||
if x != nil {
|
||
return x.EnergyThreshold
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetCountdownStartedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CountdownStartedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetOpenAtMs() int64 {
|
||
if x != nil {
|
||
return x.OpenAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetBroadcastScope() string {
|
||
if x != nil {
|
||
return x.BroadcastScope
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetVisibleRegionId() int64 {
|
||
if x != nil {
|
||
return x.VisibleRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetTop1UserId() int64 {
|
||
if x != nil {
|
||
return x.Top1UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetIgniterUserId() int64 {
|
||
if x != nil {
|
||
return x.IgniterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureCountdownStarted) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// RoomTreasureOpened 表达宝箱已经打开,在线用户名单按开箱瞬间 Room Cell presence 结算。
|
||
type RoomTreasureOpened struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
BoxId string `protobuf:"bytes,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
|
||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||
NextLevel int32 `protobuf:"varint,3,opt,name=next_level,json=nextLevel,proto3" json:"next_level,omitempty"`
|
||
OpenedAtMs int64 `protobuf:"varint,4,opt,name=opened_at_ms,json=openedAtMs,proto3" json:"opened_at_ms,omitempty"`
|
||
ResetAtMs int64 `protobuf:"varint,5,opt,name=reset_at_ms,json=resetAtMs,proto3" json:"reset_at_ms,omitempty"`
|
||
Top1UserId int64 `protobuf:"varint,6,opt,name=top1_user_id,json=top1UserId,proto3" json:"top1_user_id,omitempty"`
|
||
IgniterUserId int64 `protobuf:"varint,7,opt,name=igniter_user_id,json=igniterUserId,proto3" json:"igniter_user_id,omitempty"`
|
||
InRoomUserIds []int64 `protobuf:"varint,8,rep,packed,name=in_room_user_ids,json=inRoomUserIds,proto3" json:"in_room_user_ids,omitempty"`
|
||
Rewards []*RoomTreasureRewardGrant `protobuf:"bytes,9,rep,name=rewards,proto3" json:"rewards,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) Reset() {
|
||
*x = RoomTreasureOpened{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[22]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomTreasureOpened) ProtoMessage() {}
|
||
|
||
func (x *RoomTreasureOpened) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomTreasureOpened.ProtoReflect.Descriptor instead.
|
||
func (*RoomTreasureOpened) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{22}
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetBoxId() string {
|
||
if x != nil {
|
||
return x.BoxId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetNextLevel() int32 {
|
||
if x != nil {
|
||
return x.NextLevel
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetOpenedAtMs() int64 {
|
||
if x != nil {
|
||
return x.OpenedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetResetAtMs() int64 {
|
||
if x != nil {
|
||
return x.ResetAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetTop1UserId() int64 {
|
||
if x != nil {
|
||
return x.Top1UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetIgniterUserId() int64 {
|
||
if x != nil {
|
||
return x.IgniterUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetInRoomUserIds() []int64 {
|
||
if x != nil {
|
||
return x.InRoomUserIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomTreasureOpened) GetRewards() []*RoomTreasureRewardGrant {
|
||
if x != nil {
|
||
return x.Rewards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// RoomTreasureRewardGranted 是客户端展示发奖弹窗和私有通知的最小事实。
|
||
type RoomTreasureRewardGranted struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
BoxId string `protobuf:"bytes,1,opt,name=box_id,json=boxId,proto3" json:"box_id,omitempty"`
|
||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||
Rewards []*RoomTreasureRewardGrant `protobuf:"bytes,3,rep,name=rewards,proto3" json:"rewards,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGranted) Reset() {
|
||
*x = RoomTreasureRewardGranted{}
|
||
mi := &file_proto_events_room_v1_events_proto_msgTypes[23]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGranted) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomTreasureRewardGranted) ProtoMessage() {}
|
||
|
||
func (x *RoomTreasureRewardGranted) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_events_room_v1_events_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 RoomTreasureRewardGranted.ProtoReflect.Descriptor instead.
|
||
func (*RoomTreasureRewardGranted) Descriptor() ([]byte, []int) {
|
||
return file_proto_events_room_v1_events_proto_rawDescGZIP(), []int{23}
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGranted) GetBoxId() string {
|
||
if x != nil {
|
||
return x.BoxId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGranted) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomTreasureRewardGranted) GetRewards() []*RoomTreasureRewardGrant {
|
||
if x != nil {
|
||
return x.Rewards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_proto_events_room_v1_events_proto protoreflect.FileDescriptor
|
||
|
||
const file_proto_events_room_v1_events_proto_rawDesc = "" +
|
||
"\n" +
|
||
"!proto/events/room/v1/events.proto\x12\x14hyapp.events.room.v1\"\xda\x01\n" +
|
||
"\rEventEnvelope\x12\x19\n" +
|
||
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x17\n" +
|
||
"\aroom_id\x18\x02 \x01(\tR\x06roomId\x12\x1d\n" +
|
||
"\n" +
|
||
"event_type\x18\x03 \x01(\tR\teventType\x12!\n" +
|
||
"\froom_version\x18\x04 \x01(\x03R\vroomVersion\x12$\n" +
|
||
"\x0eoccurred_at_ms\x18\x05 \x01(\x03R\foccurredAtMs\x12\x12\n" +
|
||
"\x04body\x18\x06 \x01(\fR\x04body\x12\x19\n" +
|
||
"\bapp_code\x18\a \x01(\tR\aappCode\"\xcd\x01\n" +
|
||
"\vRoomCreated\x12\"\n" +
|
||
"\rowner_user_id\x18\x01 \x01(\x03R\vownerUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"seat_count\x18\x03 \x01(\x05R\tseatCount\x12\x12\n" +
|
||
"\x04mode\x18\x04 \x01(\tR\x04mode\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\"\xf0\x01\n" +
|
||
"\x12RoomProfileUpdated\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12\x1b\n" +
|
||
"\troom_name\x18\x02 \x01(\tR\broomName\x12\x1f\n" +
|
||
"\vroom_avatar\x18\x03 \x01(\tR\n" +
|
||
"roomAvatar\x12)\n" +
|
||
"\x10room_description\x18\x04 \x01(\tR\x0froomDescription\x12\x1d\n" +
|
||
"\n" +
|
||
"seat_count\x18\x05 \x01(\x05R\tseatCount\x12.\n" +
|
||
"\x13room_background_url\x18\x06 \x01(\tR\x11roomBackgroundUrl\"\x90\x01\n" +
|
||
"\x15RoomBackgroundChanged\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12#\n" +
|
||
"\rbackground_id\x18\x02 \x01(\x03R\fbackgroundId\x12.\n" +
|
||
"\x13room_background_url\x18\x03 \x01(\tR\x11roomBackgroundUrl\"\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\"\xbe\x01\n" +
|
||
"\x0eRoomUserJoined\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x12\n" +
|
||
"\x04role\x18\x02 \x01(\tR\x04role\x12*\n" +
|
||
"\x11visible_region_id\x18\x03 \x01(\x03R\x0fvisibleRegionId\x12S\n" +
|
||
"\rentry_vehicle\x18\x04 \x01(\v2..hyapp.events.room.v1.RoomEntryVehicleSnapshotR\fentryVehicle\"'\n" +
|
||
"\fRoomUserLeft\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\"H\n" +
|
||
"\n" +
|
||
"RoomClosed\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12\x16\n" +
|
||
"\x06reason\x18\x02 \x01(\tR\x06reason\"\xac\x03\n" +
|
||
"\x0eRoomMicChanged\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x1b\n" +
|
||
"\tfrom_seat\x18\x03 \x01(\x05R\bfromSeat\x12\x17\n" +
|
||
"\ato_seat\x18\x04 \x01(\x05R\x06toSeat\x12\x16\n" +
|
||
"\x06action\x18\x05 \x01(\tR\x06action\x12$\n" +
|
||
"\x0emic_session_id\x18\x06 \x01(\tR\fmicSessionId\x12#\n" +
|
||
"\rpublish_state\x18\a \x01(\tR\fpublishState\x12\x16\n" +
|
||
"\x06reason\x18\b \x01(\tR\x06reason\x12.\n" +
|
||
"\x13publish_deadline_ms\x18\t \x01(\x03R\x11publishDeadlineMs\x121\n" +
|
||
"\x15publish_event_time_ms\x18\n" +
|
||
" \x01(\x03R\x12publishEventTimeMs\x12\x1b\n" +
|
||
"\tmic_muted\x18\v \x01(\bR\bmicMuted\x12\x1f\n" +
|
||
"\vseat_status\x18\f \x01(\tR\n" +
|
||
"seatStatus\"h\n" +
|
||
"\x11RoomMicSeatLocked\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12\x17\n" +
|
||
"\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12\x16\n" +
|
||
"\x06locked\x18\x03 \x01(\bR\x06locked\"V\n" +
|
||
"\x16RoomChatEnabledChanged\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12\x18\n" +
|
||
"\aenabled\x18\x02 \x01(\bR\aenabled\"}\n" +
|
||
"\x13RoomPasswordChanged\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12\x16\n" +
|
||
"\x06locked\x18\x02 \x01(\bR\x06locked\x12*\n" +
|
||
"\x11visible_region_id\x18\x03 \x01(\x03R\x0fvisibleRegionId\"v\n" +
|
||
"\x10RoomAdminChanged\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x18\n" +
|
||
"\aenabled\x18\x03 \x01(\bR\aenabled\"o\n" +
|
||
"\rRoomUserMuted\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x14\n" +
|
||
"\x05muted\x18\x03 \x01(\bR\x05muted\"Z\n" +
|
||
"\x0eRoomUserKicked\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\"\\\n" +
|
||
"\x10RoomUserUnbanned\x12\"\n" +
|
||
"\ractor_user_id\x18\x01 \x01(\x03R\vactorUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\"\xc3\x02\n" +
|
||
"\fRoomGiftSent\x12$\n" +
|
||
"\x0esender_user_id\x18\x01 \x01(\x03R\fsenderUserId\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\x1d\n" +
|
||
"\n" +
|
||
"gift_value\x18\x05 \x01(\x03R\tgiftValue\x12,\n" +
|
||
"\x12billing_receipt_id\x18\x06 \x01(\tR\x10billingReceiptId\x12*\n" +
|
||
"\x11visible_region_id\x18\a \x01(\x03R\x0fvisibleRegionId\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\b \x01(\tR\tcommandId\x12\x17\n" +
|
||
"\apool_id\x18\t \x01(\tR\x06poolId\"J\n" +
|
||
"\x0fRoomHeatChanged\x12\x14\n" +
|
||
"\x05delta\x18\x01 \x01(\x03R\x05delta\x12!\n" +
|
||
"\fcurrent_heat\x18\x02 \x01(\x03R\vcurrentHeat\"_\n" +
|
||
"\x0fRoomRankChanged\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\"\x96\x02\n" +
|
||
"\x17RoomTreasureRewardGrant\x12\x1f\n" +
|
||
"\vreward_role\x18\x01 \x01(\tR\n" +
|
||
"rewardRole\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12$\n" +
|
||
"\x0ereward_item_id\x18\x03 \x01(\tR\frewardItemId\x12*\n" +
|
||
"\x11resource_group_id\x18\x04 \x01(\x03R\x0fresourceGroupId\x12!\n" +
|
||
"\fdisplay_name\x18\x05 \x01(\tR\vdisplayName\x12\x19\n" +
|
||
"\bicon_url\x18\x06 \x01(\tR\aiconUrl\x12\x19\n" +
|
||
"\bgrant_id\x18\a \x01(\tR\agrantId\x12\x16\n" +
|
||
"\x06status\x18\b \x01(\tR\x06status\"\x83\x04\n" +
|
||
"\x1bRoomTreasureProgressChanged\x12\x15\n" +
|
||
"\x06box_id\x18\x01 \x01(\tR\x05boxId\x12\x14\n" +
|
||
"\x05level\x18\x02 \x01(\x05R\x05level\x12!\n" +
|
||
"\fadded_energy\x18\x03 \x01(\x03R\vaddedEnergy\x124\n" +
|
||
"\x16effective_added_energy\x18\x04 \x01(\x03R\x14effectiveAddedEnergy\x12'\n" +
|
||
"\x0foverflow_energy\x18\x05 \x01(\x03R\x0eoverflowEnergy\x12)\n" +
|
||
"\x10current_progress\x18\x06 \x01(\x03R\x0fcurrentProgress\x12)\n" +
|
||
"\x10energy_threshold\x18\a \x01(\x03R\x0fenergyThreshold\x12\x16\n" +
|
||
"\x06status\x18\b \x01(\tR\x06status\x12\x1e\n" +
|
||
"\vreset_at_ms\x18\t \x01(\x03R\tresetAtMs\x12$\n" +
|
||
"\x0esender_user_id\x18\n" +
|
||
" \x01(\x03R\fsenderUserId\x12\x17\n" +
|
||
"\agift_id\x18\v \x01(\tR\x06giftId\x12\x1d\n" +
|
||
"\n" +
|
||
"gift_count\x18\f \x01(\x05R\tgiftCount\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\r \x01(\tR\tcommandId\x12*\n" +
|
||
"\x11visible_region_id\x18\x0e \x01(\x03R\x0fvisibleRegionId\"\xb4\x03\n" +
|
||
"\x1cRoomTreasureCountdownStarted\x12\x15\n" +
|
||
"\x06box_id\x18\x01 \x01(\tR\x05boxId\x12\x14\n" +
|
||
"\x05level\x18\x02 \x01(\x05R\x05level\x12)\n" +
|
||
"\x10current_progress\x18\x03 \x01(\x03R\x0fcurrentProgress\x12)\n" +
|
||
"\x10energy_threshold\x18\x04 \x01(\x03R\x0fenergyThreshold\x125\n" +
|
||
"\x17countdown_started_at_ms\x18\x05 \x01(\x03R\x14countdownStartedAtMs\x12\x1c\n" +
|
||
"\n" +
|
||
"open_at_ms\x18\x06 \x01(\x03R\bopenAtMs\x12'\n" +
|
||
"\x0fbroadcast_scope\x18\a \x01(\tR\x0ebroadcastScope\x12*\n" +
|
||
"\x11visible_region_id\x18\b \x01(\x03R\x0fvisibleRegionId\x12 \n" +
|
||
"\ftop1_user_id\x18\t \x01(\x03R\n" +
|
||
"top1UserId\x12&\n" +
|
||
"\x0figniter_user_id\x18\n" +
|
||
" \x01(\x03R\rigniterUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\v \x01(\tR\tcommandId\"\xde\x02\n" +
|
||
"\x12RoomTreasureOpened\x12\x15\n" +
|
||
"\x06box_id\x18\x01 \x01(\tR\x05boxId\x12\x14\n" +
|
||
"\x05level\x18\x02 \x01(\x05R\x05level\x12\x1d\n" +
|
||
"\n" +
|
||
"next_level\x18\x03 \x01(\x05R\tnextLevel\x12 \n" +
|
||
"\fopened_at_ms\x18\x04 \x01(\x03R\n" +
|
||
"openedAtMs\x12\x1e\n" +
|
||
"\vreset_at_ms\x18\x05 \x01(\x03R\tresetAtMs\x12 \n" +
|
||
"\ftop1_user_id\x18\x06 \x01(\x03R\n" +
|
||
"top1UserId\x12&\n" +
|
||
"\x0figniter_user_id\x18\a \x01(\x03R\rigniterUserId\x12'\n" +
|
||
"\x10in_room_user_ids\x18\b \x03(\x03R\rinRoomUserIds\x12G\n" +
|
||
"\arewards\x18\t \x03(\v2-.hyapp.events.room.v1.RoomTreasureRewardGrantR\arewards\"\x91\x01\n" +
|
||
"\x19RoomTreasureRewardGranted\x12\x15\n" +
|
||
"\x06box_id\x18\x01 \x01(\tR\x05boxId\x12\x14\n" +
|
||
"\x05level\x18\x02 \x01(\x05R\x05level\x12G\n" +
|
||
"\arewards\x18\x03 \x03(\v2-.hyapp.events.room.v1.RoomTreasureRewardGrantR\arewardsB3Z1hyapp.local/api/proto/events/room/v1;roomeventsv1b\x06proto3"
|
||
|
||
var (
|
||
file_proto_events_room_v1_events_proto_rawDescOnce sync.Once
|
||
file_proto_events_room_v1_events_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_proto_events_room_v1_events_proto_rawDescGZIP() []byte {
|
||
file_proto_events_room_v1_events_proto_rawDescOnce.Do(func() {
|
||
file_proto_events_room_v1_events_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_events_room_v1_events_proto_rawDesc), len(file_proto_events_room_v1_events_proto_rawDesc)))
|
||
})
|
||
return file_proto_events_room_v1_events_proto_rawDescData
|
||
}
|
||
|
||
var file_proto_events_room_v1_events_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
||
var file_proto_events_room_v1_events_proto_goTypes = []any{
|
||
(*EventEnvelope)(nil), // 0: hyapp.events.room.v1.EventEnvelope
|
||
(*RoomCreated)(nil), // 1: hyapp.events.room.v1.RoomCreated
|
||
(*RoomProfileUpdated)(nil), // 2: hyapp.events.room.v1.RoomProfileUpdated
|
||
(*RoomBackgroundChanged)(nil), // 3: hyapp.events.room.v1.RoomBackgroundChanged
|
||
(*RoomEntryVehicleSnapshot)(nil), // 4: hyapp.events.room.v1.RoomEntryVehicleSnapshot
|
||
(*RoomUserJoined)(nil), // 5: hyapp.events.room.v1.RoomUserJoined
|
||
(*RoomUserLeft)(nil), // 6: hyapp.events.room.v1.RoomUserLeft
|
||
(*RoomClosed)(nil), // 7: hyapp.events.room.v1.RoomClosed
|
||
(*RoomMicChanged)(nil), // 8: hyapp.events.room.v1.RoomMicChanged
|
||
(*RoomMicSeatLocked)(nil), // 9: hyapp.events.room.v1.RoomMicSeatLocked
|
||
(*RoomChatEnabledChanged)(nil), // 10: hyapp.events.room.v1.RoomChatEnabledChanged
|
||
(*RoomPasswordChanged)(nil), // 11: hyapp.events.room.v1.RoomPasswordChanged
|
||
(*RoomAdminChanged)(nil), // 12: hyapp.events.room.v1.RoomAdminChanged
|
||
(*RoomUserMuted)(nil), // 13: hyapp.events.room.v1.RoomUserMuted
|
||
(*RoomUserKicked)(nil), // 14: hyapp.events.room.v1.RoomUserKicked
|
||
(*RoomUserUnbanned)(nil), // 15: hyapp.events.room.v1.RoomUserUnbanned
|
||
(*RoomGiftSent)(nil), // 16: hyapp.events.room.v1.RoomGiftSent
|
||
(*RoomHeatChanged)(nil), // 17: hyapp.events.room.v1.RoomHeatChanged
|
||
(*RoomRankChanged)(nil), // 18: hyapp.events.room.v1.RoomRankChanged
|
||
(*RoomTreasureRewardGrant)(nil), // 19: hyapp.events.room.v1.RoomTreasureRewardGrant
|
||
(*RoomTreasureProgressChanged)(nil), // 20: hyapp.events.room.v1.RoomTreasureProgressChanged
|
||
(*RoomTreasureCountdownStarted)(nil), // 21: hyapp.events.room.v1.RoomTreasureCountdownStarted
|
||
(*RoomTreasureOpened)(nil), // 22: hyapp.events.room.v1.RoomTreasureOpened
|
||
(*RoomTreasureRewardGranted)(nil), // 23: hyapp.events.room.v1.RoomTreasureRewardGranted
|
||
}
|
||
var file_proto_events_room_v1_events_proto_depIdxs = []int32{
|
||
4, // 0: hyapp.events.room.v1.RoomUserJoined.entry_vehicle:type_name -> hyapp.events.room.v1.RoomEntryVehicleSnapshot
|
||
19, // 1: hyapp.events.room.v1.RoomTreasureOpened.rewards:type_name -> hyapp.events.room.v1.RoomTreasureRewardGrant
|
||
19, // 2: hyapp.events.room.v1.RoomTreasureRewardGranted.rewards:type_name -> hyapp.events.room.v1.RoomTreasureRewardGrant
|
||
3, // [3:3] is the sub-list for method output_type
|
||
3, // [3:3] is the sub-list for method input_type
|
||
3, // [3:3] is the sub-list for extension type_name
|
||
3, // [3:3] is the sub-list for extension extendee
|
||
0, // [0:3] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_proto_events_room_v1_events_proto_init() }
|
||
func file_proto_events_room_v1_events_proto_init() {
|
||
if File_proto_events_room_v1_events_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_events_room_v1_events_proto_rawDesc), len(file_proto_events_room_v1_events_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 24,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_proto_events_room_v1_events_proto_goTypes,
|
||
DependencyIndexes: file_proto_events_room_v1_events_proto_depIdxs,
|
||
MessageInfos: file_proto_events_room_v1_events_proto_msgTypes,
|
||
}.Build()
|
||
File_proto_events_room_v1_events_proto = out.File
|
||
file_proto_events_room_v1_events_proto_goTypes = nil
|
||
file_proto_events_room_v1_events_proto_depIdxs = nil
|
||
}
|