// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: entertain/entertain_msg.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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) ) // 匹配请求 type EntertainMatchReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Idcard string `protobuf:"bytes,1,opt,name=idcard,proto3" json:"idcard"` //出战的英雄卡 } func (x *EntertainMatchReq) Reset() { *x = EntertainMatchReq{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainMatchReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainMatchReq) ProtoMessage() {} func (x *EntertainMatchReq) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainMatchReq.ProtoReflect.Descriptor instead. func (*EntertainMatchReq) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{0} } func (x *EntertainMatchReq) GetIdcard() string { if x != nil { return x.Idcard } return "" } // 匹配结果 type EntertainMatchResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Maych bool `protobuf:"varint,1,opt,name=maych,proto3" json:"maych"` // 匹配成功 Player *PlayerData `protobuf:"bytes,2,opt,name=player,proto3" json:"player"` // 玩家信息 Roomid string `protobuf:"bytes,3,opt,name=roomid,proto3" json:"roomid"` // 房间id } func (x *EntertainMatchResp) Reset() { *x = EntertainMatchResp{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainMatchResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainMatchResp) ProtoMessage() {} func (x *EntertainMatchResp) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainMatchResp.ProtoReflect.Descriptor instead. func (*EntertainMatchResp) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{1} } func (x *EntertainMatchResp) GetMaych() bool { if x != nil { return x.Maych } return false } func (x *EntertainMatchResp) GetPlayer() *PlayerData { if x != nil { return x.Player } return nil } func (x *EntertainMatchResp) GetRoomid() string { if x != nil { return x.Roomid } return "" } // 进入场景发送准备 type EntertainReadyReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` // 房间id } func (x *EntertainReadyReq) Reset() { *x = EntertainReadyReq{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainReadyReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainReadyReq) ProtoMessage() {} func (x *EntertainReadyReq) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainReadyReq.ProtoReflect.Descriptor instead. func (*EntertainReadyReq) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{2} } func (x *EntertainReadyReq) GetRoomid() string { if x != nil { return x.Roomid } return "" } type EntertainReadyResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready"` // 对家是否准备完成 } func (x *EntertainReadyResp) Reset() { *x = EntertainReadyResp{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainReadyResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainReadyResp) ProtoMessage() {} func (x *EntertainReadyResp) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainReadyResp.ProtoReflect.Descriptor instead. func (*EntertainReadyResp) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{3} } func (x *EntertainReadyResp) GetReady() bool { if x != nil { return x.Ready } return false } // 游戏开始 type EntertainStartGamePush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields User1 *PlayerData `protobuf:"bytes,1,opt,name=user1,proto3" json:"user1"` User2 *PlayerData `protobuf:"bytes,2,opt,name=user2,proto3" json:"user2"` Mpadata *MapData `protobuf:"bytes,3,opt,name=mpadata,proto3" json:"mpadata"` // 地图数据 Power string `protobuf:"bytes,4,opt,name=power,proto3" json:"power"` // 操作权 Round int32 `protobuf:"varint,5,opt,name=round,proto3" json:"round"` // 回合数 Roomid string `protobuf:"bytes,6,opt,name=roomid,proto3" json:"roomid"` // 房间id } func (x *EntertainStartGamePush) Reset() { *x = EntertainStartGamePush{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainStartGamePush) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainStartGamePush) ProtoMessage() {} func (x *EntertainStartGamePush) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainStartGamePush.ProtoReflect.Descriptor instead. func (*EntertainStartGamePush) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{4} } func (x *EntertainStartGamePush) GetUser1() *PlayerData { if x != nil { return x.User1 } return nil } func (x *EntertainStartGamePush) GetUser2() *PlayerData { if x != nil { return x.User2 } return nil } func (x *EntertainStartGamePush) GetMpadata() *MapData { if x != nil { return x.Mpadata } return nil } func (x *EntertainStartGamePush) GetPower() string { if x != nil { return x.Power } return "" } func (x *EntertainStartGamePush) GetRound() int32 { if x != nil { return x.Round } return 0 } func (x *EntertainStartGamePush) GetRoomid() string { if x != nil { return x.Roomid } return "" } // 操作 type EntertainOperatorReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Roomid string `protobuf:"bytes,1,opt,name=roomid,proto3" json:"roomid"` // 房间id Itype int32 `protobuf:"varint,2,opt,name=itype,proto3" json:"itype"` // 操作类型 0 默认交换元素 Curid int32 `protobuf:"varint,3,opt,name=curid,proto3" json:"curid"` // 当前key Targetid int32 `protobuf:"varint,4,opt,name=targetid,proto3" json:"targetid"` // 目标key } func (x *EntertainOperatorReq) Reset() { *x = EntertainOperatorReq{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainOperatorReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainOperatorReq) ProtoMessage() {} func (x *EntertainOperatorReq) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainOperatorReq.ProtoReflect.Descriptor instead. func (*EntertainOperatorReq) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{5} } func (x *EntertainOperatorReq) GetRoomid() string { if x != nil { return x.Roomid } return "" } func (x *EntertainOperatorReq) GetItype() int32 { if x != nil { return x.Itype } return 0 } func (x *EntertainOperatorReq) GetCurid() int32 { if x != nil { return x.Curid } return 0 } func (x *EntertainOperatorReq) GetTargetid() int32 { if x != nil { return x.Targetid } return 0 } // 操作返回 type EntertainOperatorResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success"` // 操作是否成功 } func (x *EntertainOperatorResp) Reset() { *x = EntertainOperatorResp{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainOperatorResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainOperatorResp) ProtoMessage() {} func (x *EntertainOperatorResp) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainOperatorResp.ProtoReflect.Descriptor instead. func (*EntertainOperatorResp) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{6} } func (x *EntertainOperatorResp) GetSuccess() bool { if x != nil { return x.Success } return false } // 操作结果推送 type EntertainOperatorRstPush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Mpadata []*MapData `protobuf:"bytes,1,rep,name=mpadata,proto3" json:"mpadata"` // 地图数据 Power string `protobuf:"bytes,2,opt,name=power,proto3" json:"power"` //下一个谁操作 Curpower string `protobuf:"bytes,3,opt,name=curpower,proto3" json:"curpower"` //当前谁操作 Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score"` // 获得积分 Round int32 `protobuf:"varint,5,opt,name=round,proto3" json:"round"` // 轮数 User1 *PlayerData `protobuf:"bytes,6,opt,name=user1,proto3" json:"user1"` // 玩家数据也需要同步 User2 *PlayerData `protobuf:"bytes,7,opt,name=user2,proto3" json:"user2"` Itype int32 `protobuf:"varint,8,opt,name=itype,proto3" json:"itype"` // 操作类型 0 默认交换元素 Curid int32 `protobuf:"varint,9,opt,name=curid,proto3" json:"curid"` // 当前key Targetid int32 `protobuf:"varint,10,opt,name=targetid,proto3" json:"targetid"` // 目标key } func (x *EntertainOperatorRstPush) Reset() { *x = EntertainOperatorRstPush{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainOperatorRstPush) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainOperatorRstPush) ProtoMessage() {} func (x *EntertainOperatorRstPush) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainOperatorRstPush.ProtoReflect.Descriptor instead. func (*EntertainOperatorRstPush) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{7} } func (x *EntertainOperatorRstPush) GetMpadata() []*MapData { if x != nil { return x.Mpadata } return nil } func (x *EntertainOperatorRstPush) GetPower() string { if x != nil { return x.Power } return "" } func (x *EntertainOperatorRstPush) GetCurpower() string { if x != nil { return x.Curpower } return "" } func (x *EntertainOperatorRstPush) GetScore() int32 { if x != nil { return x.Score } return 0 } func (x *EntertainOperatorRstPush) GetRound() int32 { if x != nil { return x.Round } return 0 } func (x *EntertainOperatorRstPush) GetUser1() *PlayerData { if x != nil { return x.User1 } return nil } func (x *EntertainOperatorRstPush) GetUser2() *PlayerData { if x != nil { return x.User2 } return nil } func (x *EntertainOperatorRstPush) GetItype() int32 { if x != nil { return x.Itype } return 0 } func (x *EntertainOperatorRstPush) GetCurid() int32 { if x != nil { return x.Curid } return 0 } func (x *EntertainOperatorRstPush) GetTargetid() int32 { if x != nil { return x.Targetid } return 0 } // 游戏结束推送 type EntertainGameOverPush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields User1 *PlayerData `protobuf:"bytes,1,opt,name=user1,proto3" json:"user1"` User2 *PlayerData `protobuf:"bytes,2,opt,name=user2,proto3" json:"user2"` Mpadata *MapData `protobuf:"bytes,3,opt,name=mpadata,proto3" json:"mpadata"` // 地图数据 Power string `protobuf:"bytes,4,opt,name=power,proto3" json:"power"` // 操作权 Round int32 `protobuf:"varint,5,opt,name=round,proto3" json:"round"` // 回合数 } func (x *EntertainGameOverPush) Reset() { *x = EntertainGameOverPush{} if protoimpl.UnsafeEnabled { mi := &file_entertain_entertain_msg_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EntertainGameOverPush) String() string { return protoimpl.X.MessageStringOf(x) } func (*EntertainGameOverPush) ProtoMessage() {} func (x *EntertainGameOverPush) ProtoReflect() protoreflect.Message { mi := &file_entertain_entertain_msg_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EntertainGameOverPush.ProtoReflect.Descriptor instead. func (*EntertainGameOverPush) Descriptor() ([]byte, []int) { return file_entertain_entertain_msg_proto_rawDescGZIP(), []int{8} } func (x *EntertainGameOverPush) GetUser1() *PlayerData { if x != nil { return x.User1 } return nil } func (x *EntertainGameOverPush) GetUser2() *PlayerData { if x != nil { return x.User2 } return nil } func (x *EntertainGameOverPush) GetMpadata() *MapData { if x != nil { return x.Mpadata } return nil } func (x *EntertainGameOverPush) GetPower() string { if x != nil { return x.Power } return "" } func (x *EntertainGameOverPush) GetRound() int32 { if x != nil { return x.Round } return 0 } var File_entertain_entertain_msg_proto protoreflect.FileDescriptor var file_entertain_entertain_msg_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x11, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x64, 0x63, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x64, 0x63, 0x61, 0x72, 0x64, 0x22, 0x67, 0x0a, 0x12, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x79, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x61, 0x79, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x11, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22, 0x2a, 0x0a, 0x12, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x22, 0xc6, 0x01, 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x12, 0x22, 0x0a, 0x07, 0x6d, 0x70, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x6d, 0x70, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22, 0x76, 0x0a, 0x14, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x75, 0x72, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x75, 0x72, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xaa, 0x02, 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x73, 0x74, 0x50, 0x75, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x07, 0x6d, 0x70, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x6d, 0x70, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x75, 0x72, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x75, 0x72, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, 0x64, 0x22, 0xad, 0x01, 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x47, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x12, 0x22, 0x0a, 0x07, 0x6d, 0x70, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x6d, 0x70, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_entertain_entertain_msg_proto_rawDescOnce sync.Once file_entertain_entertain_msg_proto_rawDescData = file_entertain_entertain_msg_proto_rawDesc ) func file_entertain_entertain_msg_proto_rawDescGZIP() []byte { file_entertain_entertain_msg_proto_rawDescOnce.Do(func() { file_entertain_entertain_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_entertain_entertain_msg_proto_rawDescData) }) return file_entertain_entertain_msg_proto_rawDescData } var file_entertain_entertain_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_entertain_entertain_msg_proto_goTypes = []interface{}{ (*EntertainMatchReq)(nil), // 0: EntertainMatchReq (*EntertainMatchResp)(nil), // 1: EntertainMatchResp (*EntertainReadyReq)(nil), // 2: EntertainReadyReq (*EntertainReadyResp)(nil), // 3: EntertainReadyResp (*EntertainStartGamePush)(nil), // 4: EntertainStartGamePush (*EntertainOperatorReq)(nil), // 5: EntertainOperatorReq (*EntertainOperatorResp)(nil), // 6: EntertainOperatorResp (*EntertainOperatorRstPush)(nil), // 7: EntertainOperatorRstPush (*EntertainGameOverPush)(nil), // 8: EntertainGameOverPush (*PlayerData)(nil), // 9: PlayerData (*MapData)(nil), // 10: MapData } var file_entertain_entertain_msg_proto_depIdxs = []int32{ 9, // 0: EntertainMatchResp.player:type_name -> PlayerData 9, // 1: EntertainStartGamePush.user1:type_name -> PlayerData 9, // 2: EntertainStartGamePush.user2:type_name -> PlayerData 10, // 3: EntertainStartGamePush.mpadata:type_name -> MapData 10, // 4: EntertainOperatorRstPush.mpadata:type_name -> MapData 9, // 5: EntertainOperatorRstPush.user1:type_name -> PlayerData 9, // 6: EntertainOperatorRstPush.user2:type_name -> PlayerData 9, // 7: EntertainGameOverPush.user1:type_name -> PlayerData 9, // 8: EntertainGameOverPush.user2:type_name -> PlayerData 10, // 9: EntertainGameOverPush.mpadata:type_name -> MapData 10, // [10:10] is the sub-list for method output_type 10, // [10:10] is the sub-list for method input_type 10, // [10:10] is the sub-list for extension type_name 10, // [10:10] is the sub-list for extension extendee 0, // [0:10] is the sub-list for field type_name } func init() { file_entertain_entertain_msg_proto_init() } func file_entertain_entertain_msg_proto_init() { if File_entertain_entertain_msg_proto != nil { return } file_entertain_entertain_db_proto_init() if !protoimpl.UnsafeEnabled { file_entertain_entertain_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainMatchReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainMatchResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainReadyReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainReadyResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainStartGamePush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainOperatorReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainOperatorResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainOperatorRstPush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_entertain_entertain_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EntertainGameOverPush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_entertain_entertain_msg_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 0, }, GoTypes: file_entertain_entertain_msg_proto_goTypes, DependencyIndexes: file_entertain_entertain_msg_proto_depIdxs, MessageInfos: file_entertain_entertain_msg_proto_msgTypes, }.Build() File_entertain_entertain_msg_proto = out.File file_entertain_entertain_msg_proto_rawDesc = nil file_entertain_entertain_msg_proto_goTypes = nil file_entertain_entertain_msg_proto_depIdxs = nil }