123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.35.2
- // protoc v5.29.0
- // source: cluster.proto
- package pbfmsg
- 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 RouteMsg struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PlayerId int64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"`
- MsgName string `protobuf:"bytes,2,opt,name=msgName,proto3" json:"msgName,omitempty"`
- RpcId int64 `protobuf:"varint,3,opt,name=rpcId,proto3" json:"rpcId,omitempty"`
- Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
- GateId int64 `protobuf:"varint,5,opt,name=gateId,proto3" json:"gateId,omitempty"`
- LoginTs int64 `protobuf:"varint,6,opt,name=loginTs,proto3" json:"loginTs,omitempty"`
- }
- func (x *RouteMsg) Reset() {
- *x = RouteMsg{}
- mi := &file_cluster_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *RouteMsg) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RouteMsg) ProtoMessage() {}
- func (x *RouteMsg) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 RouteMsg.ProtoReflect.Descriptor instead.
- func (*RouteMsg) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{0}
- }
- func (x *RouteMsg) GetPlayerId() int64 {
- if x != nil {
- return x.PlayerId
- }
- return 0
- }
- func (x *RouteMsg) GetMsgName() string {
- if x != nil {
- return x.MsgName
- }
- return ""
- }
- func (x *RouteMsg) GetRpcId() int64 {
- if x != nil {
- return x.RpcId
- }
- return 0
- }
- func (x *RouteMsg) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
- }
- func (x *RouteMsg) GetGateId() int64 {
- if x != nil {
- return x.GateId
- }
- return 0
- }
- func (x *RouteMsg) GetLoginTs() int64 {
- if x != nil {
- return x.LoginTs
- }
- return 0
- }
- type ResponseRouteMsg struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PlayerId int64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"`
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
- Param []byte `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"`
- }
- func (x *ResponseRouteMsg) Reset() {
- *x = ResponseRouteMsg{}
- mi := &file_cluster_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ResponseRouteMsg) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResponseRouteMsg) ProtoMessage() {}
- func (x *ResponseRouteMsg) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ResponseRouteMsg.ProtoReflect.Descriptor instead.
- func (*ResponseRouteMsg) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{1}
- }
- func (x *ResponseRouteMsg) GetPlayerId() int64 {
- if x != nil {
- return x.PlayerId
- }
- return 0
- }
- func (x *ResponseRouteMsg) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
- }
- func (x *ResponseRouteMsg) GetParam() []byte {
- if x != nil {
- return x.Param
- }
- return nil
- }
- type ServerLogin struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- GateAddr string `protobuf:"bytes,3,opt,name=gateAddr,proto3" json:"gateAddr,omitempty"`
- Lines []int32 `protobuf:"varint,4,rep,packed,name=lines,proto3" json:"lines,omitempty"`
- }
- func (x *ServerLogin) Reset() {
- *x = ServerLogin{}
- mi := &file_cluster_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ServerLogin) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ServerLogin) ProtoMessage() {}
- func (x *ServerLogin) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ServerLogin.ProtoReflect.Descriptor instead.
- func (*ServerLogin) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{2}
- }
- func (x *ServerLogin) GetID() int64 {
- if x != nil {
- return x.ID
- }
- return 0
- }
- func (x *ServerLogin) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *ServerLogin) GetGateAddr() string {
- if x != nil {
- return x.GateAddr
- }
- return ""
- }
- func (x *ServerLogin) GetLines() []int32 {
- if x != nil {
- return x.Lines
- }
- return nil
- }
- type ResponseServerLogin struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- GateAddr string `protobuf:"bytes,3,opt,name=gateAddr,proto3" json:"gateAddr,omitempty"`
- Lines []int32 `protobuf:"varint,4,rep,packed,name=lines,proto3" json:"lines,omitempty"`
- }
- func (x *ResponseServerLogin) Reset() {
- *x = ResponseServerLogin{}
- mi := &file_cluster_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ResponseServerLogin) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResponseServerLogin) ProtoMessage() {}
- func (x *ResponseServerLogin) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ResponseServerLogin.ProtoReflect.Descriptor instead.
- func (*ResponseServerLogin) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{3}
- }
- func (x *ResponseServerLogin) GetID() int64 {
- if x != nil {
- return x.ID
- }
- return 0
- }
- func (x *ResponseServerLogin) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *ResponseServerLogin) GetGateAddr() string {
- if x != nil {
- return x.GateAddr
- }
- return ""
- }
- func (x *ResponseServerLogin) GetLines() []int32 {
- if x != nil {
- return x.Lines
- }
- return nil
- }
- type NewClientToken struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
- Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
- OpenId string `protobuf:"bytes,3,opt,name=openId,proto3" json:"openId,omitempty"`
- }
- func (x *NewClientToken) Reset() {
- *x = NewClientToken{}
- mi := &file_cluster_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *NewClientToken) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NewClientToken) ProtoMessage() {}
- func (x *NewClientToken) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 NewClientToken.ProtoReflect.Descriptor instead.
- func (*NewClientToken) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{4}
- }
- func (x *NewClientToken) GetID() int64 {
- if x != nil {
- return x.ID
- }
- return 0
- }
- func (x *NewClientToken) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
- func (x *NewClientToken) GetOpenId() string {
- if x != nil {
- return x.OpenId
- }
- return ""
- }
- // ID:发送者ID;state 1:让对方退出; 2:自己准备关闭
- type ChangeState struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
- State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
- }
- func (x *ChangeState) Reset() {
- *x = ChangeState{}
- mi := &file_cluster_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ChangeState) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ChangeState) ProtoMessage() {}
- func (x *ChangeState) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ChangeState.ProtoReflect.Descriptor instead.
- func (*ChangeState) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{5}
- }
- func (x *ChangeState) GetID() int32 {
- if x != nil {
- return x.ID
- }
- return 0
- }
- func (x *ChangeState) GetState() int32 {
- if x != nil {
- return x.State
- }
- return 0
- }
- // errCode 0:已完成
- type ResponseChangeState struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"`
- State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
- }
- func (x *ResponseChangeState) Reset() {
- *x = ResponseChangeState{}
- mi := &file_cluster_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ResponseChangeState) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResponseChangeState) ProtoMessage() {}
- func (x *ResponseChangeState) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ResponseChangeState.ProtoReflect.Descriptor instead.
- func (*ResponseChangeState) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{6}
- }
- func (x *ResponseChangeState) GetErrCode() int32 {
- if x != nil {
- return x.ErrCode
- }
- return 0
- }
- func (x *ResponseChangeState) GetState() int32 {
- if x != nil {
- return x.State
- }
- return 0
- }
- // type 0:查询特定终端在线情况 1:查询所有在线终端
- type QueryPlayer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
- AllUser []int64 `protobuf:"varint,2,rep,packed,name=allUser,proto3" json:"allUser,omitempty"`
- }
- func (x *QueryPlayer) Reset() {
- *x = QueryPlayer{}
- mi := &file_cluster_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *QueryPlayer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*QueryPlayer) ProtoMessage() {}
- func (x *QueryPlayer) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 QueryPlayer.ProtoReflect.Descriptor instead.
- func (*QueryPlayer) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{7}
- }
- func (x *QueryPlayer) GetType() int32 {
- if x != nil {
- return x.Type
- }
- return 0
- }
- func (x *QueryPlayer) GetAllUser() []int64 {
- if x != nil {
- return x.AllUser
- }
- return nil
- }
- type ResponseQueryPlayer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
- Onlines []int64 `protobuf:"varint,2,rep,packed,name=onlines,proto3" json:"onlines,omitempty"`
- Offlines []int64 `protobuf:"varint,3,rep,packed,name=offlines,proto3" json:"offlines,omitempty"`
- }
- func (x *ResponseQueryPlayer) Reset() {
- *x = ResponseQueryPlayer{}
- mi := &file_cluster_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ResponseQueryPlayer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResponseQueryPlayer) ProtoMessage() {}
- func (x *ResponseQueryPlayer) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ResponseQueryPlayer.ProtoReflect.Descriptor instead.
- func (*ResponseQueryPlayer) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{8}
- }
- func (x *ResponseQueryPlayer) GetType() int32 {
- if x != nil {
- return x.Type
- }
- return 0
- }
- func (x *ResponseQueryPlayer) GetOnlines() []int64 {
- if x != nil {
- return x.Onlines
- }
- return nil
- }
- func (x *ResponseQueryPlayer) GetOfflines() []int64 {
- if x != nil {
- return x.Offlines
- }
- return nil
- }
- type Heart struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Tick int64 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"`
- }
- func (x *Heart) Reset() {
- *x = Heart{}
- mi := &file_cluster_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Heart) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Heart) ProtoMessage() {}
- func (x *Heart) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 Heart.ProtoReflect.Descriptor instead.
- func (*Heart) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{9}
- }
- func (x *Heart) GetTick() int64 {
- if x != nil {
- return x.Tick
- }
- return 0
- }
- type ResponseHeart struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Tick int64 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"`
- }
- func (x *ResponseHeart) Reset() {
- *x = ResponseHeart{}
- mi := &file_cluster_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ResponseHeart) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResponseHeart) ProtoMessage() {}
- func (x *ResponseHeart) ProtoReflect() protoreflect.Message {
- mi := &file_cluster_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 ResponseHeart.ProtoReflect.Descriptor instead.
- func (*ResponseHeart) Descriptor() ([]byte, []int) {
- return file_cluster_proto_rawDescGZIP(), []int{10}
- }
- func (x *ResponseHeart) GetTick() int64 {
- if x != nil {
- return x.Tick
- }
- return 0
- }
- var File_cluster_proto protoreflect.FileDescriptor
- var file_cluster_proto_rawDesc = []byte{
- 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x06, 0x70, 0x62, 0x66, 0x6d, 0x73, 0x67, 0x22, 0x9c, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x75, 0x74,
- 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64,
- 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x70,
- 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x70, 0x63, 0x49, 0x64,
- 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
- 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
- 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c,
- 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x73, 0x22, 0x58, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c,
- 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c,
- 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
- 0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d,
- 0x22, 0x63, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12,
- 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12,
- 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
- 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12,
- 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05,
- 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x6b, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
- 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6e,
- 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54,
- 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x02, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70,
- 0x65, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e,
- 0x49, 0x64, 0x22, 0x33, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74,
- 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49,
- 0x44, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18,
- 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3b,
- 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x12, 0x0a,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x03, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x13, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x79,
- 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x73,
- 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x03, 0x52, 0x08, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x1b, 0x0a, 0x05,
- 0x48, 0x65, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x63, 0x6b, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x63, 0x6b, 0x22, 0x23, 0x0a, 0x0d, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69,
- 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x63, 0x6b, 0x42, 0x0b,
- 0x5a, 0x09, 0x2e, 0x2f, 0x3b, 0x70, 0x62, 0x66, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
- }
- var (
- file_cluster_proto_rawDescOnce sync.Once
- file_cluster_proto_rawDescData = file_cluster_proto_rawDesc
- )
- func file_cluster_proto_rawDescGZIP() []byte {
- file_cluster_proto_rawDescOnce.Do(func() {
- file_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_proto_rawDescData)
- })
- return file_cluster_proto_rawDescData
- }
- var file_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
- var file_cluster_proto_goTypes = []any{
- (*RouteMsg)(nil), // 0: pbfmsg.RouteMsg
- (*ResponseRouteMsg)(nil), // 1: pbfmsg.ResponseRouteMsg
- (*ServerLogin)(nil), // 2: pbfmsg.ServerLogin
- (*ResponseServerLogin)(nil), // 3: pbfmsg.ResponseServerLogin
- (*NewClientToken)(nil), // 4: pbfmsg.NewClientToken
- (*ChangeState)(nil), // 5: pbfmsg.ChangeState
- (*ResponseChangeState)(nil), // 6: pbfmsg.ResponseChangeState
- (*QueryPlayer)(nil), // 7: pbfmsg.QueryPlayer
- (*ResponseQueryPlayer)(nil), // 8: pbfmsg.ResponseQueryPlayer
- (*Heart)(nil), // 9: pbfmsg.Heart
- (*ResponseHeart)(nil), // 10: pbfmsg.ResponseHeart
- }
- var file_cluster_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_cluster_proto_init() }
- func file_cluster_proto_init() {
- if File_cluster_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_cluster_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 11,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_cluster_proto_goTypes,
- DependencyIndexes: file_cluster_proto_depIdxs,
- MessageInfos: file_cluster_proto_msgTypes,
- }.Build()
- File_cluster_proto = out.File
- file_cluster_proto_rawDesc = nil
- file_cluster_proto_goTypes = nil
- file_cluster_proto_depIdxs = nil
- }
|