cluster.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.29.0
  5. // source: cluster.proto
  6. package pbfmsg
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type RouteMsg struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. PlayerId int64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"`
  24. MsgName string `protobuf:"bytes,2,opt,name=msgName,proto3" json:"msgName,omitempty"`
  25. RpcId int64 `protobuf:"varint,3,opt,name=rpcId,proto3" json:"rpcId,omitempty"`
  26. Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
  27. GateId int64 `protobuf:"varint,5,opt,name=gateId,proto3" json:"gateId,omitempty"`
  28. LoginTs int64 `protobuf:"varint,6,opt,name=loginTs,proto3" json:"loginTs,omitempty"`
  29. }
  30. func (x *RouteMsg) Reset() {
  31. *x = RouteMsg{}
  32. mi := &file_cluster_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. func (x *RouteMsg) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*RouteMsg) ProtoMessage() {}
  40. func (x *RouteMsg) ProtoReflect() protoreflect.Message {
  41. mi := &file_cluster_proto_msgTypes[0]
  42. if x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use RouteMsg.ProtoReflect.Descriptor instead.
  52. func (*RouteMsg) Descriptor() ([]byte, []int) {
  53. return file_cluster_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *RouteMsg) GetPlayerId() int64 {
  56. if x != nil {
  57. return x.PlayerId
  58. }
  59. return 0
  60. }
  61. func (x *RouteMsg) GetMsgName() string {
  62. if x != nil {
  63. return x.MsgName
  64. }
  65. return ""
  66. }
  67. func (x *RouteMsg) GetRpcId() int64 {
  68. if x != nil {
  69. return x.RpcId
  70. }
  71. return 0
  72. }
  73. func (x *RouteMsg) GetData() []byte {
  74. if x != nil {
  75. return x.Data
  76. }
  77. return nil
  78. }
  79. func (x *RouteMsg) GetGateId() int64 {
  80. if x != nil {
  81. return x.GateId
  82. }
  83. return 0
  84. }
  85. func (x *RouteMsg) GetLoginTs() int64 {
  86. if x != nil {
  87. return x.LoginTs
  88. }
  89. return 0
  90. }
  91. type ResponseRouteMsg struct {
  92. state protoimpl.MessageState
  93. sizeCache protoimpl.SizeCache
  94. unknownFields protoimpl.UnknownFields
  95. PlayerId int64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"`
  96. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  97. Param []byte `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"`
  98. }
  99. func (x *ResponseRouteMsg) Reset() {
  100. *x = ResponseRouteMsg{}
  101. mi := &file_cluster_proto_msgTypes[1]
  102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  103. ms.StoreMessageInfo(mi)
  104. }
  105. func (x *ResponseRouteMsg) String() string {
  106. return protoimpl.X.MessageStringOf(x)
  107. }
  108. func (*ResponseRouteMsg) ProtoMessage() {}
  109. func (x *ResponseRouteMsg) ProtoReflect() protoreflect.Message {
  110. mi := &file_cluster_proto_msgTypes[1]
  111. if x != nil {
  112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  113. if ms.LoadMessageInfo() == nil {
  114. ms.StoreMessageInfo(mi)
  115. }
  116. return ms
  117. }
  118. return mi.MessageOf(x)
  119. }
  120. // Deprecated: Use ResponseRouteMsg.ProtoReflect.Descriptor instead.
  121. func (*ResponseRouteMsg) Descriptor() ([]byte, []int) {
  122. return file_cluster_proto_rawDescGZIP(), []int{1}
  123. }
  124. func (x *ResponseRouteMsg) GetPlayerId() int64 {
  125. if x != nil {
  126. return x.PlayerId
  127. }
  128. return 0
  129. }
  130. func (x *ResponseRouteMsg) GetData() []byte {
  131. if x != nil {
  132. return x.Data
  133. }
  134. return nil
  135. }
  136. func (x *ResponseRouteMsg) GetParam() []byte {
  137. if x != nil {
  138. return x.Param
  139. }
  140. return nil
  141. }
  142. type ServerLogin struct {
  143. state protoimpl.MessageState
  144. sizeCache protoimpl.SizeCache
  145. unknownFields protoimpl.UnknownFields
  146. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  147. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
  148. GateAddr string `protobuf:"bytes,3,opt,name=gateAddr,proto3" json:"gateAddr,omitempty"`
  149. Lines []int32 `protobuf:"varint,4,rep,packed,name=lines,proto3" json:"lines,omitempty"`
  150. }
  151. func (x *ServerLogin) Reset() {
  152. *x = ServerLogin{}
  153. mi := &file_cluster_proto_msgTypes[2]
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. ms.StoreMessageInfo(mi)
  156. }
  157. func (x *ServerLogin) String() string {
  158. return protoimpl.X.MessageStringOf(x)
  159. }
  160. func (*ServerLogin) ProtoMessage() {}
  161. func (x *ServerLogin) ProtoReflect() protoreflect.Message {
  162. mi := &file_cluster_proto_msgTypes[2]
  163. if x != nil {
  164. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  165. if ms.LoadMessageInfo() == nil {
  166. ms.StoreMessageInfo(mi)
  167. }
  168. return ms
  169. }
  170. return mi.MessageOf(x)
  171. }
  172. // Deprecated: Use ServerLogin.ProtoReflect.Descriptor instead.
  173. func (*ServerLogin) Descriptor() ([]byte, []int) {
  174. return file_cluster_proto_rawDescGZIP(), []int{2}
  175. }
  176. func (x *ServerLogin) GetID() int64 {
  177. if x != nil {
  178. return x.ID
  179. }
  180. return 0
  181. }
  182. func (x *ServerLogin) GetType() string {
  183. if x != nil {
  184. return x.Type
  185. }
  186. return ""
  187. }
  188. func (x *ServerLogin) GetGateAddr() string {
  189. if x != nil {
  190. return x.GateAddr
  191. }
  192. return ""
  193. }
  194. func (x *ServerLogin) GetLines() []int32 {
  195. if x != nil {
  196. return x.Lines
  197. }
  198. return nil
  199. }
  200. type ResponseServerLogin struct {
  201. state protoimpl.MessageState
  202. sizeCache protoimpl.SizeCache
  203. unknownFields protoimpl.UnknownFields
  204. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  205. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
  206. GateAddr string `protobuf:"bytes,3,opt,name=gateAddr,proto3" json:"gateAddr,omitempty"`
  207. Lines []int32 `protobuf:"varint,4,rep,packed,name=lines,proto3" json:"lines,omitempty"`
  208. }
  209. func (x *ResponseServerLogin) Reset() {
  210. *x = ResponseServerLogin{}
  211. mi := &file_cluster_proto_msgTypes[3]
  212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  213. ms.StoreMessageInfo(mi)
  214. }
  215. func (x *ResponseServerLogin) String() string {
  216. return protoimpl.X.MessageStringOf(x)
  217. }
  218. func (*ResponseServerLogin) ProtoMessage() {}
  219. func (x *ResponseServerLogin) ProtoReflect() protoreflect.Message {
  220. mi := &file_cluster_proto_msgTypes[3]
  221. if x != nil {
  222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  223. if ms.LoadMessageInfo() == nil {
  224. ms.StoreMessageInfo(mi)
  225. }
  226. return ms
  227. }
  228. return mi.MessageOf(x)
  229. }
  230. // Deprecated: Use ResponseServerLogin.ProtoReflect.Descriptor instead.
  231. func (*ResponseServerLogin) Descriptor() ([]byte, []int) {
  232. return file_cluster_proto_rawDescGZIP(), []int{3}
  233. }
  234. func (x *ResponseServerLogin) GetID() int64 {
  235. if x != nil {
  236. return x.ID
  237. }
  238. return 0
  239. }
  240. func (x *ResponseServerLogin) GetType() string {
  241. if x != nil {
  242. return x.Type
  243. }
  244. return ""
  245. }
  246. func (x *ResponseServerLogin) GetGateAddr() string {
  247. if x != nil {
  248. return x.GateAddr
  249. }
  250. return ""
  251. }
  252. func (x *ResponseServerLogin) GetLines() []int32 {
  253. if x != nil {
  254. return x.Lines
  255. }
  256. return nil
  257. }
  258. type NewClientToken struct {
  259. state protoimpl.MessageState
  260. sizeCache protoimpl.SizeCache
  261. unknownFields protoimpl.UnknownFields
  262. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  263. Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
  264. OpenId string `protobuf:"bytes,3,opt,name=openId,proto3" json:"openId,omitempty"`
  265. }
  266. func (x *NewClientToken) Reset() {
  267. *x = NewClientToken{}
  268. mi := &file_cluster_proto_msgTypes[4]
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. ms.StoreMessageInfo(mi)
  271. }
  272. func (x *NewClientToken) String() string {
  273. return protoimpl.X.MessageStringOf(x)
  274. }
  275. func (*NewClientToken) ProtoMessage() {}
  276. func (x *NewClientToken) ProtoReflect() protoreflect.Message {
  277. mi := &file_cluster_proto_msgTypes[4]
  278. if x != nil {
  279. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  280. if ms.LoadMessageInfo() == nil {
  281. ms.StoreMessageInfo(mi)
  282. }
  283. return ms
  284. }
  285. return mi.MessageOf(x)
  286. }
  287. // Deprecated: Use NewClientToken.ProtoReflect.Descriptor instead.
  288. func (*NewClientToken) Descriptor() ([]byte, []int) {
  289. return file_cluster_proto_rawDescGZIP(), []int{4}
  290. }
  291. func (x *NewClientToken) GetID() int64 {
  292. if x != nil {
  293. return x.ID
  294. }
  295. return 0
  296. }
  297. func (x *NewClientToken) GetToken() string {
  298. if x != nil {
  299. return x.Token
  300. }
  301. return ""
  302. }
  303. func (x *NewClientToken) GetOpenId() string {
  304. if x != nil {
  305. return x.OpenId
  306. }
  307. return ""
  308. }
  309. // ID:发送者ID;state 1:让对方退出; 2:自己准备关闭
  310. type ChangeState struct {
  311. state protoimpl.MessageState
  312. sizeCache protoimpl.SizeCache
  313. unknownFields protoimpl.UnknownFields
  314. ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  315. State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
  316. }
  317. func (x *ChangeState) Reset() {
  318. *x = ChangeState{}
  319. mi := &file_cluster_proto_msgTypes[5]
  320. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  321. ms.StoreMessageInfo(mi)
  322. }
  323. func (x *ChangeState) String() string {
  324. return protoimpl.X.MessageStringOf(x)
  325. }
  326. func (*ChangeState) ProtoMessage() {}
  327. func (x *ChangeState) ProtoReflect() protoreflect.Message {
  328. mi := &file_cluster_proto_msgTypes[5]
  329. if x != nil {
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. if ms.LoadMessageInfo() == nil {
  332. ms.StoreMessageInfo(mi)
  333. }
  334. return ms
  335. }
  336. return mi.MessageOf(x)
  337. }
  338. // Deprecated: Use ChangeState.ProtoReflect.Descriptor instead.
  339. func (*ChangeState) Descriptor() ([]byte, []int) {
  340. return file_cluster_proto_rawDescGZIP(), []int{5}
  341. }
  342. func (x *ChangeState) GetID() int32 {
  343. if x != nil {
  344. return x.ID
  345. }
  346. return 0
  347. }
  348. func (x *ChangeState) GetState() int32 {
  349. if x != nil {
  350. return x.State
  351. }
  352. return 0
  353. }
  354. // errCode 0:已完成
  355. type ResponseChangeState struct {
  356. state protoimpl.MessageState
  357. sizeCache protoimpl.SizeCache
  358. unknownFields protoimpl.UnknownFields
  359. ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"`
  360. State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
  361. }
  362. func (x *ResponseChangeState) Reset() {
  363. *x = ResponseChangeState{}
  364. mi := &file_cluster_proto_msgTypes[6]
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. ms.StoreMessageInfo(mi)
  367. }
  368. func (x *ResponseChangeState) String() string {
  369. return protoimpl.X.MessageStringOf(x)
  370. }
  371. func (*ResponseChangeState) ProtoMessage() {}
  372. func (x *ResponseChangeState) ProtoReflect() protoreflect.Message {
  373. mi := &file_cluster_proto_msgTypes[6]
  374. if x != nil {
  375. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  376. if ms.LoadMessageInfo() == nil {
  377. ms.StoreMessageInfo(mi)
  378. }
  379. return ms
  380. }
  381. return mi.MessageOf(x)
  382. }
  383. // Deprecated: Use ResponseChangeState.ProtoReflect.Descriptor instead.
  384. func (*ResponseChangeState) Descriptor() ([]byte, []int) {
  385. return file_cluster_proto_rawDescGZIP(), []int{6}
  386. }
  387. func (x *ResponseChangeState) GetErrCode() int32 {
  388. if x != nil {
  389. return x.ErrCode
  390. }
  391. return 0
  392. }
  393. func (x *ResponseChangeState) GetState() int32 {
  394. if x != nil {
  395. return x.State
  396. }
  397. return 0
  398. }
  399. // type 0:查询特定终端在线情况 1:查询所有在线终端
  400. type QueryPlayer struct {
  401. state protoimpl.MessageState
  402. sizeCache protoimpl.SizeCache
  403. unknownFields protoimpl.UnknownFields
  404. Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
  405. AllUser []int64 `protobuf:"varint,2,rep,packed,name=allUser,proto3" json:"allUser,omitempty"`
  406. }
  407. func (x *QueryPlayer) Reset() {
  408. *x = QueryPlayer{}
  409. mi := &file_cluster_proto_msgTypes[7]
  410. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  411. ms.StoreMessageInfo(mi)
  412. }
  413. func (x *QueryPlayer) String() string {
  414. return protoimpl.X.MessageStringOf(x)
  415. }
  416. func (*QueryPlayer) ProtoMessage() {}
  417. func (x *QueryPlayer) ProtoReflect() protoreflect.Message {
  418. mi := &file_cluster_proto_msgTypes[7]
  419. if x != nil {
  420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  421. if ms.LoadMessageInfo() == nil {
  422. ms.StoreMessageInfo(mi)
  423. }
  424. return ms
  425. }
  426. return mi.MessageOf(x)
  427. }
  428. // Deprecated: Use QueryPlayer.ProtoReflect.Descriptor instead.
  429. func (*QueryPlayer) Descriptor() ([]byte, []int) {
  430. return file_cluster_proto_rawDescGZIP(), []int{7}
  431. }
  432. func (x *QueryPlayer) GetType() int32 {
  433. if x != nil {
  434. return x.Type
  435. }
  436. return 0
  437. }
  438. func (x *QueryPlayer) GetAllUser() []int64 {
  439. if x != nil {
  440. return x.AllUser
  441. }
  442. return nil
  443. }
  444. type ResponseQueryPlayer struct {
  445. state protoimpl.MessageState
  446. sizeCache protoimpl.SizeCache
  447. unknownFields protoimpl.UnknownFields
  448. Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
  449. Onlines []int64 `protobuf:"varint,2,rep,packed,name=onlines,proto3" json:"onlines,omitempty"`
  450. Offlines []int64 `protobuf:"varint,3,rep,packed,name=offlines,proto3" json:"offlines,omitempty"`
  451. }
  452. func (x *ResponseQueryPlayer) Reset() {
  453. *x = ResponseQueryPlayer{}
  454. mi := &file_cluster_proto_msgTypes[8]
  455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  456. ms.StoreMessageInfo(mi)
  457. }
  458. func (x *ResponseQueryPlayer) String() string {
  459. return protoimpl.X.MessageStringOf(x)
  460. }
  461. func (*ResponseQueryPlayer) ProtoMessage() {}
  462. func (x *ResponseQueryPlayer) ProtoReflect() protoreflect.Message {
  463. mi := &file_cluster_proto_msgTypes[8]
  464. if x != nil {
  465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  466. if ms.LoadMessageInfo() == nil {
  467. ms.StoreMessageInfo(mi)
  468. }
  469. return ms
  470. }
  471. return mi.MessageOf(x)
  472. }
  473. // Deprecated: Use ResponseQueryPlayer.ProtoReflect.Descriptor instead.
  474. func (*ResponseQueryPlayer) Descriptor() ([]byte, []int) {
  475. return file_cluster_proto_rawDescGZIP(), []int{8}
  476. }
  477. func (x *ResponseQueryPlayer) GetType() int32 {
  478. if x != nil {
  479. return x.Type
  480. }
  481. return 0
  482. }
  483. func (x *ResponseQueryPlayer) GetOnlines() []int64 {
  484. if x != nil {
  485. return x.Onlines
  486. }
  487. return nil
  488. }
  489. func (x *ResponseQueryPlayer) GetOfflines() []int64 {
  490. if x != nil {
  491. return x.Offlines
  492. }
  493. return nil
  494. }
  495. type Heart struct {
  496. state protoimpl.MessageState
  497. sizeCache protoimpl.SizeCache
  498. unknownFields protoimpl.UnknownFields
  499. Tick int64 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"`
  500. }
  501. func (x *Heart) Reset() {
  502. *x = Heart{}
  503. mi := &file_cluster_proto_msgTypes[9]
  504. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  505. ms.StoreMessageInfo(mi)
  506. }
  507. func (x *Heart) String() string {
  508. return protoimpl.X.MessageStringOf(x)
  509. }
  510. func (*Heart) ProtoMessage() {}
  511. func (x *Heart) ProtoReflect() protoreflect.Message {
  512. mi := &file_cluster_proto_msgTypes[9]
  513. if x != nil {
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. if ms.LoadMessageInfo() == nil {
  516. ms.StoreMessageInfo(mi)
  517. }
  518. return ms
  519. }
  520. return mi.MessageOf(x)
  521. }
  522. // Deprecated: Use Heart.ProtoReflect.Descriptor instead.
  523. func (*Heart) Descriptor() ([]byte, []int) {
  524. return file_cluster_proto_rawDescGZIP(), []int{9}
  525. }
  526. func (x *Heart) GetTick() int64 {
  527. if x != nil {
  528. return x.Tick
  529. }
  530. return 0
  531. }
  532. type ResponseHeart struct {
  533. state protoimpl.MessageState
  534. sizeCache protoimpl.SizeCache
  535. unknownFields protoimpl.UnknownFields
  536. Tick int64 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"`
  537. }
  538. func (x *ResponseHeart) Reset() {
  539. *x = ResponseHeart{}
  540. mi := &file_cluster_proto_msgTypes[10]
  541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  542. ms.StoreMessageInfo(mi)
  543. }
  544. func (x *ResponseHeart) String() string {
  545. return protoimpl.X.MessageStringOf(x)
  546. }
  547. func (*ResponseHeart) ProtoMessage() {}
  548. func (x *ResponseHeart) ProtoReflect() protoreflect.Message {
  549. mi := &file_cluster_proto_msgTypes[10]
  550. if x != nil {
  551. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  552. if ms.LoadMessageInfo() == nil {
  553. ms.StoreMessageInfo(mi)
  554. }
  555. return ms
  556. }
  557. return mi.MessageOf(x)
  558. }
  559. // Deprecated: Use ResponseHeart.ProtoReflect.Descriptor instead.
  560. func (*ResponseHeart) Descriptor() ([]byte, []int) {
  561. return file_cluster_proto_rawDescGZIP(), []int{10}
  562. }
  563. func (x *ResponseHeart) GetTick() int64 {
  564. if x != nil {
  565. return x.Tick
  566. }
  567. return 0
  568. }
  569. var File_cluster_proto protoreflect.FileDescriptor
  570. var file_cluster_proto_rawDesc = []byte{
  571. 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  572. 0x06, 0x70, 0x62, 0x66, 0x6d, 0x73, 0x67, 0x22, 0x9c, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x75, 0x74,
  573. 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64,
  574. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64,
  575. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  576. 0x09, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x70,
  577. 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x70, 0x63, 0x49, 0x64,
  578. 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
  579. 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x05,
  580. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
  581. 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c,
  582. 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x73, 0x22, 0x58, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  583. 0x73, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c,
  584. 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c,
  585. 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02,
  586. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
  587. 0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d,
  588. 0x22, 0x63, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12,
  589. 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12,
  590. 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
  591. 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18,
  592. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12,
  593. 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05,
  594. 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x6b, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  595. 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
  596. 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04,
  597. 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
  598. 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01,
  599. 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05,
  600. 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6e,
  601. 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54,
  602. 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  603. 0x52, 0x02, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
  604. 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70,
  605. 0x65, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e,
  606. 0x49, 0x64, 0x22, 0x33, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74,
  607. 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49,
  608. 0x44, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  609. 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x70, 0x6f,
  610. 0x6e, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18,
  611. 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  612. 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
  613. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3b,
  614. 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x12, 0x0a,
  615. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70,
  616. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03,
  617. 0x28, 0x03, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x13, 0x52,
  618. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x79,
  619. 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  620. 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  621. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x73,
  622. 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
  623. 0x28, 0x03, 0x52, 0x08, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x1b, 0x0a, 0x05,
  624. 0x48, 0x65, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x63, 0x6b, 0x18, 0x01, 0x20,
  625. 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x63, 0x6b, 0x22, 0x23, 0x0a, 0x0d, 0x52, 0x65, 0x73,
  626. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69,
  627. 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x63, 0x6b, 0x42, 0x0b,
  628. 0x5a, 0x09, 0x2e, 0x2f, 0x3b, 0x70, 0x62, 0x66, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f,
  629. 0x74, 0x6f, 0x33,
  630. }
  631. var (
  632. file_cluster_proto_rawDescOnce sync.Once
  633. file_cluster_proto_rawDescData = file_cluster_proto_rawDesc
  634. )
  635. func file_cluster_proto_rawDescGZIP() []byte {
  636. file_cluster_proto_rawDescOnce.Do(func() {
  637. file_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_proto_rawDescData)
  638. })
  639. return file_cluster_proto_rawDescData
  640. }
  641. var file_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  642. var file_cluster_proto_goTypes = []any{
  643. (*RouteMsg)(nil), // 0: pbfmsg.RouteMsg
  644. (*ResponseRouteMsg)(nil), // 1: pbfmsg.ResponseRouteMsg
  645. (*ServerLogin)(nil), // 2: pbfmsg.ServerLogin
  646. (*ResponseServerLogin)(nil), // 3: pbfmsg.ResponseServerLogin
  647. (*NewClientToken)(nil), // 4: pbfmsg.NewClientToken
  648. (*ChangeState)(nil), // 5: pbfmsg.ChangeState
  649. (*ResponseChangeState)(nil), // 6: pbfmsg.ResponseChangeState
  650. (*QueryPlayer)(nil), // 7: pbfmsg.QueryPlayer
  651. (*ResponseQueryPlayer)(nil), // 8: pbfmsg.ResponseQueryPlayer
  652. (*Heart)(nil), // 9: pbfmsg.Heart
  653. (*ResponseHeart)(nil), // 10: pbfmsg.ResponseHeart
  654. }
  655. var file_cluster_proto_depIdxs = []int32{
  656. 0, // [0:0] is the sub-list for method output_type
  657. 0, // [0:0] is the sub-list for method input_type
  658. 0, // [0:0] is the sub-list for extension type_name
  659. 0, // [0:0] is the sub-list for extension extendee
  660. 0, // [0:0] is the sub-list for field type_name
  661. }
  662. func init() { file_cluster_proto_init() }
  663. func file_cluster_proto_init() {
  664. if File_cluster_proto != nil {
  665. return
  666. }
  667. type x struct{}
  668. out := protoimpl.TypeBuilder{
  669. File: protoimpl.DescBuilder{
  670. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  671. RawDescriptor: file_cluster_proto_rawDesc,
  672. NumEnums: 0,
  673. NumMessages: 11,
  674. NumExtensions: 0,
  675. NumServices: 0,
  676. },
  677. GoTypes: file_cluster_proto_goTypes,
  678. DependencyIndexes: file_cluster_proto_depIdxs,
  679. MessageInfos: file_cluster_proto_msgTypes,
  680. }.Build()
  681. File_cluster_proto = out.File
  682. file_cluster_proto_rawDesc = nil
  683. file_cluster_proto_goTypes = nil
  684. file_cluster_proto_depIdxs = nil
  685. }