cmd.pb.go 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v3.19.4
  5. // source: pb/cmd.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. structpb "google.golang.org/protobuf/types/known/structpb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type CmdResp struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  25. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  26. Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  27. }
  28. func (x *CmdResp) Reset() {
  29. *x = CmdResp{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_pb_cmd_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *CmdResp) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*CmdResp) ProtoMessage() {}
  40. func (x *CmdResp) ProtoReflect() protoreflect.Message {
  41. mi := &file_pb_cmd_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && 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 CmdResp.ProtoReflect.Descriptor instead.
  52. func (*CmdResp) Descriptor() ([]byte, []int) {
  53. return file_pb_cmd_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *CmdResp) GetCode() int64 {
  56. if x != nil {
  57. return x.Code
  58. }
  59. return 0
  60. }
  61. func (x *CmdResp) GetMsg() string {
  62. if x != nil {
  63. return x.Msg
  64. }
  65. return ""
  66. }
  67. func (x *CmdResp) GetData() *structpb.Struct {
  68. if x != nil {
  69. return x.Data
  70. }
  71. return nil
  72. }
  73. //*
  74. //Player Command Request Bean
  75. type PlayerFetchCsInfoReq struct {
  76. state protoimpl.MessageState
  77. sizeCache protoimpl.SizeCache
  78. unknownFields protoimpl.UnknownFields
  79. CsId string `protobuf:"bytes,1,opt,name=cs_id,json=csId,proto3" json:"cs_id,omitempty"`
  80. }
  81. func (x *PlayerFetchCsInfoReq) Reset() {
  82. *x = PlayerFetchCsInfoReq{}
  83. if protoimpl.UnsafeEnabled {
  84. mi := &file_pb_cmd_proto_msgTypes[1]
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. ms.StoreMessageInfo(mi)
  87. }
  88. }
  89. func (x *PlayerFetchCsInfoReq) String() string {
  90. return protoimpl.X.MessageStringOf(x)
  91. }
  92. func (*PlayerFetchCsInfoReq) ProtoMessage() {}
  93. func (x *PlayerFetchCsInfoReq) ProtoReflect() protoreflect.Message {
  94. mi := &file_pb_cmd_proto_msgTypes[1]
  95. if protoimpl.UnsafeEnabled && x != nil {
  96. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  97. if ms.LoadMessageInfo() == nil {
  98. ms.StoreMessageInfo(mi)
  99. }
  100. return ms
  101. }
  102. return mi.MessageOf(x)
  103. }
  104. // Deprecated: Use PlayerFetchCsInfoReq.ProtoReflect.Descriptor instead.
  105. func (*PlayerFetchCsInfoReq) Descriptor() ([]byte, []int) {
  106. return file_pb_cmd_proto_rawDescGZIP(), []int{1}
  107. }
  108. func (x *PlayerFetchCsInfoReq) GetCsId() string {
  109. if x != nil {
  110. return x.CsId
  111. }
  112. return ""
  113. }
  114. type PlayerFetchHistoryMsgReq struct {
  115. state protoimpl.MessageState
  116. sizeCache protoimpl.SizeCache
  117. unknownFields protoimpl.UnknownFields
  118. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  119. Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
  120. }
  121. func (x *PlayerFetchHistoryMsgReq) Reset() {
  122. *x = PlayerFetchHistoryMsgReq{}
  123. if protoimpl.UnsafeEnabled {
  124. mi := &file_pb_cmd_proto_msgTypes[2]
  125. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  126. ms.StoreMessageInfo(mi)
  127. }
  128. }
  129. func (x *PlayerFetchHistoryMsgReq) String() string {
  130. return protoimpl.X.MessageStringOf(x)
  131. }
  132. func (*PlayerFetchHistoryMsgReq) ProtoMessage() {}
  133. func (x *PlayerFetchHistoryMsgReq) ProtoReflect() protoreflect.Message {
  134. mi := &file_pb_cmd_proto_msgTypes[2]
  135. if protoimpl.UnsafeEnabled && x != nil {
  136. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  137. if ms.LoadMessageInfo() == nil {
  138. ms.StoreMessageInfo(mi)
  139. }
  140. return ms
  141. }
  142. return mi.MessageOf(x)
  143. }
  144. // Deprecated: Use PlayerFetchHistoryMsgReq.ProtoReflect.Descriptor instead.
  145. func (*PlayerFetchHistoryMsgReq) Descriptor() ([]byte, []int) {
  146. return file_pb_cmd_proto_rawDescGZIP(), []int{2}
  147. }
  148. func (x *PlayerFetchHistoryMsgReq) GetPage() int64 {
  149. if x != nil {
  150. return x.Page
  151. }
  152. return 0
  153. }
  154. func (x *PlayerFetchHistoryMsgReq) GetLimit() int64 {
  155. if x != nil {
  156. return x.Limit
  157. }
  158. return 0
  159. }
  160. type PlayerFetchMsgReq struct {
  161. state protoimpl.MessageState
  162. sizeCache protoimpl.SizeCache
  163. unknownFields protoimpl.UnknownFields
  164. }
  165. func (x *PlayerFetchMsgReq) Reset() {
  166. *x = PlayerFetchMsgReq{}
  167. if protoimpl.UnsafeEnabled {
  168. mi := &file_pb_cmd_proto_msgTypes[3]
  169. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  170. ms.StoreMessageInfo(mi)
  171. }
  172. }
  173. func (x *PlayerFetchMsgReq) String() string {
  174. return protoimpl.X.MessageStringOf(x)
  175. }
  176. func (*PlayerFetchMsgReq) ProtoMessage() {}
  177. func (x *PlayerFetchMsgReq) ProtoReflect() protoreflect.Message {
  178. mi := &file_pb_cmd_proto_msgTypes[3]
  179. if protoimpl.UnsafeEnabled && x != nil {
  180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  181. if ms.LoadMessageInfo() == nil {
  182. ms.StoreMessageInfo(mi)
  183. }
  184. return ms
  185. }
  186. return mi.MessageOf(x)
  187. }
  188. // Deprecated: Use PlayerFetchMsgReq.ProtoReflect.Descriptor instead.
  189. func (*PlayerFetchMsgReq) Descriptor() ([]byte, []int) {
  190. return file_pb_cmd_proto_rawDescGZIP(), []int{3}
  191. }
  192. type PlayerSendMsgReq struct {
  193. state protoimpl.MessageState
  194. sizeCache protoimpl.SizeCache
  195. unknownFields protoimpl.UnknownFields
  196. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
  197. Pic string `protobuf:"bytes,2,opt,name=pic,proto3" json:"pic,omitempty"`
  198. }
  199. func (x *PlayerSendMsgReq) Reset() {
  200. *x = PlayerSendMsgReq{}
  201. if protoimpl.UnsafeEnabled {
  202. mi := &file_pb_cmd_proto_msgTypes[4]
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. ms.StoreMessageInfo(mi)
  205. }
  206. }
  207. func (x *PlayerSendMsgReq) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*PlayerSendMsgReq) ProtoMessage() {}
  211. func (x *PlayerSendMsgReq) ProtoReflect() protoreflect.Message {
  212. mi := &file_pb_cmd_proto_msgTypes[4]
  213. if protoimpl.UnsafeEnabled && x != nil {
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. if ms.LoadMessageInfo() == nil {
  216. ms.StoreMessageInfo(mi)
  217. }
  218. return ms
  219. }
  220. return mi.MessageOf(x)
  221. }
  222. // Deprecated: Use PlayerSendMsgReq.ProtoReflect.Descriptor instead.
  223. func (*PlayerSendMsgReq) Descriptor() ([]byte, []int) {
  224. return file_pb_cmd_proto_rawDescGZIP(), []int{4}
  225. }
  226. func (x *PlayerSendMsgReq) GetContent() string {
  227. if x != nil {
  228. return x.Content
  229. }
  230. return ""
  231. }
  232. func (x *PlayerSendMsgReq) GetPic() string {
  233. if x != nil {
  234. return x.Pic
  235. }
  236. return ""
  237. }
  238. type PlayerDisconnectReq struct {
  239. state protoimpl.MessageState
  240. sizeCache protoimpl.SizeCache
  241. unknownFields protoimpl.UnknownFields
  242. }
  243. func (x *PlayerDisconnectReq) Reset() {
  244. *x = PlayerDisconnectReq{}
  245. if protoimpl.UnsafeEnabled {
  246. mi := &file_pb_cmd_proto_msgTypes[5]
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. ms.StoreMessageInfo(mi)
  249. }
  250. }
  251. func (x *PlayerDisconnectReq) String() string {
  252. return protoimpl.X.MessageStringOf(x)
  253. }
  254. func (*PlayerDisconnectReq) ProtoMessage() {}
  255. func (x *PlayerDisconnectReq) ProtoReflect() protoreflect.Message {
  256. mi := &file_pb_cmd_proto_msgTypes[5]
  257. if protoimpl.UnsafeEnabled && x != nil {
  258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  259. if ms.LoadMessageInfo() == nil {
  260. ms.StoreMessageInfo(mi)
  261. }
  262. return ms
  263. }
  264. return mi.MessageOf(x)
  265. }
  266. // Deprecated: Use PlayerDisconnectReq.ProtoReflect.Descriptor instead.
  267. func (*PlayerDisconnectReq) Descriptor() ([]byte, []int) {
  268. return file_pb_cmd_proto_rawDescGZIP(), []int{5}
  269. }
  270. //*
  271. //Cs Command Request Bean
  272. type CsFetchPlayerQueueReq struct {
  273. state protoimpl.MessageState
  274. sizeCache protoimpl.SizeCache
  275. unknownFields protoimpl.UnknownFields
  276. Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
  277. }
  278. func (x *CsFetchPlayerQueueReq) Reset() {
  279. *x = CsFetchPlayerQueueReq{}
  280. if protoimpl.UnsafeEnabled {
  281. mi := &file_pb_cmd_proto_msgTypes[6]
  282. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  283. ms.StoreMessageInfo(mi)
  284. }
  285. }
  286. func (x *CsFetchPlayerQueueReq) String() string {
  287. return protoimpl.X.MessageStringOf(x)
  288. }
  289. func (*CsFetchPlayerQueueReq) ProtoMessage() {}
  290. func (x *CsFetchPlayerQueueReq) ProtoReflect() protoreflect.Message {
  291. mi := &file_pb_cmd_proto_msgTypes[6]
  292. if protoimpl.UnsafeEnabled && x != nil {
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. if ms.LoadMessageInfo() == nil {
  295. ms.StoreMessageInfo(mi)
  296. }
  297. return ms
  298. }
  299. return mi.MessageOf(x)
  300. }
  301. // Deprecated: Use CsFetchPlayerQueueReq.ProtoReflect.Descriptor instead.
  302. func (*CsFetchPlayerQueueReq) Descriptor() ([]byte, []int) {
  303. return file_pb_cmd_proto_rawDescGZIP(), []int{6}
  304. }
  305. func (x *CsFetchPlayerQueueReq) GetLimit() int64 {
  306. if x != nil {
  307. return x.Limit
  308. }
  309. return 0
  310. }
  311. type CsConnectPlayerReq struct {
  312. state protoimpl.MessageState
  313. sizeCache protoimpl.SizeCache
  314. unknownFields protoimpl.UnknownFields
  315. PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
  316. GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
  317. }
  318. func (x *CsConnectPlayerReq) Reset() {
  319. *x = CsConnectPlayerReq{}
  320. if protoimpl.UnsafeEnabled {
  321. mi := &file_pb_cmd_proto_msgTypes[7]
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. ms.StoreMessageInfo(mi)
  324. }
  325. }
  326. func (x *CsConnectPlayerReq) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*CsConnectPlayerReq) ProtoMessage() {}
  330. func (x *CsConnectPlayerReq) ProtoReflect() protoreflect.Message {
  331. mi := &file_pb_cmd_proto_msgTypes[7]
  332. if protoimpl.UnsafeEnabled && x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use CsConnectPlayerReq.ProtoReflect.Descriptor instead.
  342. func (*CsConnectPlayerReq) Descriptor() ([]byte, []int) {
  343. return file_pb_cmd_proto_rawDescGZIP(), []int{7}
  344. }
  345. func (x *CsConnectPlayerReq) GetPlayerId() string {
  346. if x != nil {
  347. return x.PlayerId
  348. }
  349. return ""
  350. }
  351. func (x *CsConnectPlayerReq) GetGameId() string {
  352. if x != nil {
  353. return x.GameId
  354. }
  355. return ""
  356. }
  357. type CsFetchHistoryChatReq struct {
  358. state protoimpl.MessageState
  359. sizeCache protoimpl.SizeCache
  360. unknownFields protoimpl.UnknownFields
  361. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  362. Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
  363. }
  364. func (x *CsFetchHistoryChatReq) Reset() {
  365. *x = CsFetchHistoryChatReq{}
  366. if protoimpl.UnsafeEnabled {
  367. mi := &file_pb_cmd_proto_msgTypes[8]
  368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  369. ms.StoreMessageInfo(mi)
  370. }
  371. }
  372. func (x *CsFetchHistoryChatReq) String() string {
  373. return protoimpl.X.MessageStringOf(x)
  374. }
  375. func (*CsFetchHistoryChatReq) ProtoMessage() {}
  376. func (x *CsFetchHistoryChatReq) ProtoReflect() protoreflect.Message {
  377. mi := &file_pb_cmd_proto_msgTypes[8]
  378. if protoimpl.UnsafeEnabled && x != nil {
  379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  380. if ms.LoadMessageInfo() == nil {
  381. ms.StoreMessageInfo(mi)
  382. }
  383. return ms
  384. }
  385. return mi.MessageOf(x)
  386. }
  387. // Deprecated: Use CsFetchHistoryChatReq.ProtoReflect.Descriptor instead.
  388. func (*CsFetchHistoryChatReq) Descriptor() ([]byte, []int) {
  389. return file_pb_cmd_proto_rawDescGZIP(), []int{8}
  390. }
  391. func (x *CsFetchHistoryChatReq) GetPage() int64 {
  392. if x != nil {
  393. return x.Page
  394. }
  395. return 0
  396. }
  397. func (x *CsFetchHistoryChatReq) GetLimit() int64 {
  398. if x != nil {
  399. return x.Limit
  400. }
  401. return 0
  402. }
  403. type CsFetchHistoryMsgReq struct {
  404. state protoimpl.MessageState
  405. sizeCache protoimpl.SizeCache
  406. unknownFields protoimpl.UnknownFields
  407. PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
  408. GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
  409. Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
  410. Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
  411. }
  412. func (x *CsFetchHistoryMsgReq) Reset() {
  413. *x = CsFetchHistoryMsgReq{}
  414. if protoimpl.UnsafeEnabled {
  415. mi := &file_pb_cmd_proto_msgTypes[9]
  416. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  417. ms.StoreMessageInfo(mi)
  418. }
  419. }
  420. func (x *CsFetchHistoryMsgReq) String() string {
  421. return protoimpl.X.MessageStringOf(x)
  422. }
  423. func (*CsFetchHistoryMsgReq) ProtoMessage() {}
  424. func (x *CsFetchHistoryMsgReq) ProtoReflect() protoreflect.Message {
  425. mi := &file_pb_cmd_proto_msgTypes[9]
  426. if protoimpl.UnsafeEnabled && x != nil {
  427. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  428. if ms.LoadMessageInfo() == nil {
  429. ms.StoreMessageInfo(mi)
  430. }
  431. return ms
  432. }
  433. return mi.MessageOf(x)
  434. }
  435. // Deprecated: Use CsFetchHistoryMsgReq.ProtoReflect.Descriptor instead.
  436. func (*CsFetchHistoryMsgReq) Descriptor() ([]byte, []int) {
  437. return file_pb_cmd_proto_rawDescGZIP(), []int{9}
  438. }
  439. func (x *CsFetchHistoryMsgReq) GetPlayerId() string {
  440. if x != nil {
  441. return x.PlayerId
  442. }
  443. return ""
  444. }
  445. func (x *CsFetchHistoryMsgReq) GetGameId() string {
  446. if x != nil {
  447. return x.GameId
  448. }
  449. return ""
  450. }
  451. func (x *CsFetchHistoryMsgReq) GetPage() int64 {
  452. if x != nil {
  453. return x.Page
  454. }
  455. return 0
  456. }
  457. func (x *CsFetchHistoryMsgReq) GetLimit() int64 {
  458. if x != nil {
  459. return x.Limit
  460. }
  461. return 0
  462. }
  463. type CsFetchMsgReq struct {
  464. state protoimpl.MessageState
  465. sizeCache protoimpl.SizeCache
  466. unknownFields protoimpl.UnknownFields
  467. PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
  468. GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
  469. }
  470. func (x *CsFetchMsgReq) Reset() {
  471. *x = CsFetchMsgReq{}
  472. if protoimpl.UnsafeEnabled {
  473. mi := &file_pb_cmd_proto_msgTypes[10]
  474. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  475. ms.StoreMessageInfo(mi)
  476. }
  477. }
  478. func (x *CsFetchMsgReq) String() string {
  479. return protoimpl.X.MessageStringOf(x)
  480. }
  481. func (*CsFetchMsgReq) ProtoMessage() {}
  482. func (x *CsFetchMsgReq) ProtoReflect() protoreflect.Message {
  483. mi := &file_pb_cmd_proto_msgTypes[10]
  484. if protoimpl.UnsafeEnabled && x != nil {
  485. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  486. if ms.LoadMessageInfo() == nil {
  487. ms.StoreMessageInfo(mi)
  488. }
  489. return ms
  490. }
  491. return mi.MessageOf(x)
  492. }
  493. // Deprecated: Use CsFetchMsgReq.ProtoReflect.Descriptor instead.
  494. func (*CsFetchMsgReq) Descriptor() ([]byte, []int) {
  495. return file_pb_cmd_proto_rawDescGZIP(), []int{10}
  496. }
  497. func (x *CsFetchMsgReq) GetPlayerId() string {
  498. if x != nil {
  499. return x.PlayerId
  500. }
  501. return ""
  502. }
  503. func (x *CsFetchMsgReq) GetGameId() string {
  504. if x != nil {
  505. return x.GameId
  506. }
  507. return ""
  508. }
  509. type CsSendMsgReq struct {
  510. state protoimpl.MessageState
  511. sizeCache protoimpl.SizeCache
  512. unknownFields protoimpl.UnknownFields
  513. PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
  514. GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
  515. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
  516. Pic string `protobuf:"bytes,4,opt,name=pic,proto3" json:"pic,omitempty"`
  517. }
  518. func (x *CsSendMsgReq) Reset() {
  519. *x = CsSendMsgReq{}
  520. if protoimpl.UnsafeEnabled {
  521. mi := &file_pb_cmd_proto_msgTypes[11]
  522. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  523. ms.StoreMessageInfo(mi)
  524. }
  525. }
  526. func (x *CsSendMsgReq) String() string {
  527. return protoimpl.X.MessageStringOf(x)
  528. }
  529. func (*CsSendMsgReq) ProtoMessage() {}
  530. func (x *CsSendMsgReq) ProtoReflect() protoreflect.Message {
  531. mi := &file_pb_cmd_proto_msgTypes[11]
  532. if protoimpl.UnsafeEnabled && x != nil {
  533. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  534. if ms.LoadMessageInfo() == nil {
  535. ms.StoreMessageInfo(mi)
  536. }
  537. return ms
  538. }
  539. return mi.MessageOf(x)
  540. }
  541. // Deprecated: Use CsSendMsgReq.ProtoReflect.Descriptor instead.
  542. func (*CsSendMsgReq) Descriptor() ([]byte, []int) {
  543. return file_pb_cmd_proto_rawDescGZIP(), []int{11}
  544. }
  545. func (x *CsSendMsgReq) GetPlayerId() string {
  546. if x != nil {
  547. return x.PlayerId
  548. }
  549. return ""
  550. }
  551. func (x *CsSendMsgReq) GetGameId() string {
  552. if x != nil {
  553. return x.GameId
  554. }
  555. return ""
  556. }
  557. func (x *CsSendMsgReq) GetContent() string {
  558. if x != nil {
  559. return x.Content
  560. }
  561. return ""
  562. }
  563. func (x *CsSendMsgReq) GetPic() string {
  564. if x != nil {
  565. return x.Pic
  566. }
  567. return ""
  568. }
  569. var File_pb_cmd_proto protoreflect.FileDescriptor
  570. var file_pb_cmd_proto_rawDesc = []byte{
  571. 0x0a, 0x0c, 0x70, 0x62, 0x2f, 0x63, 0x6d, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
  572. 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  573. 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  574. 0x22, 0x5c, 0x0a, 0x07, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63,
  575. 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
  576. 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73,
  577. 0x67, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  578. 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  579. 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2b,
  580. 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x73, 0x49,
  581. 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64, 0x18,
  582. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x18, 0x50,
  583. 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
  584. 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18,
  585. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c,
  586. 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
  587. 0x74, 0x22, 0x13, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68,
  588. 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x22, 0x3e, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
  589. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
  590. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e,
  591. 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
  592. 0x09, 0x52, 0x03, 0x70, 0x69, 0x63, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
  593. 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x22, 0x2d, 0x0a,
  594. 0x15, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75,
  595. 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
  596. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x4a, 0x0a, 0x12,
  597. 0x43, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52,
  598. 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  599. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12,
  600. 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  601. 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x15, 0x43, 0x73, 0x46, 0x65,
  602. 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65,
  603. 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  604. 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02,
  605. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x76, 0x0a, 0x14, 0x43,
  606. 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67,
  607. 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64,
  608. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64,
  609. 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  610. 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
  611. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
  612. 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69,
  613. 0x6d, 0x69, 0x74, 0x22, 0x45, 0x0a, 0x0d, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4d, 0x73,
  614. 0x67, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69,
  615. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49,
  616. 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  617. 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x0c, 0x43, 0x73,
  618. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c,
  619. 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
  620. 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f,
  621. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64,
  622. 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  623. 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69,
  624. 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x63, 0x32, 0xf3, 0x04, 0x0a,
  625. 0x03, 0x43, 0x6d, 0x64, 0x12, 0x3a, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65,
  626. 0x74, 0x63, 0x68, 0x43, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x50,
  627. 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x73, 0x49, 0x6e, 0x66, 0x6f,
  628. 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70,
  629. 0x12, 0x42, 0x0a, 0x15, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48,
  630. 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x50,
  631. 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
  632. 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64,
  633. 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x65,
  634. 0x74, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79,
  635. 0x65, 0x72, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e,
  636. 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0d, 0x70, 0x6c,
  637. 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x14, 0x2e, 0x70, 0x62,
  638. 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65,
  639. 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38,
  640. 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
  641. 0x63, 0x74, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69,
  642. 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62,
  643. 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3c, 0x0a, 0x12, 0x63, 0x73, 0x46, 0x65,
  644. 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x19,
  645. 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65,
  646. 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43,
  647. 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0f, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e,
  648. 0x65, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43,
  649. 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65,
  650. 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3c,
  651. 0x0a, 0x12, 0x63, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
  652. 0x43, 0x68, 0x61, 0x74, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63,
  653. 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x1a,
  654. 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x11,
  655. 0x63, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73,
  656. 0x67, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x48, 0x69,
  657. 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62,
  658. 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x0a, 0x63, 0x73, 0x46, 0x65,
  659. 0x74, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x46, 0x65,
  660. 0x74, 0x63, 0x68, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43,
  661. 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x63, 0x73, 0x53, 0x65, 0x6e, 0x64,
  662. 0x4d, 0x73, 0x67, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d,
  663. 0x73, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6d, 0x64, 0x52, 0x65,
  664. 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  665. 0x6f, 0x33,
  666. }
  667. var (
  668. file_pb_cmd_proto_rawDescOnce sync.Once
  669. file_pb_cmd_proto_rawDescData = file_pb_cmd_proto_rawDesc
  670. )
  671. func file_pb_cmd_proto_rawDescGZIP() []byte {
  672. file_pb_cmd_proto_rawDescOnce.Do(func() {
  673. file_pb_cmd_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_cmd_proto_rawDescData)
  674. })
  675. return file_pb_cmd_proto_rawDescData
  676. }
  677. var file_pb_cmd_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  678. var file_pb_cmd_proto_goTypes = []interface{}{
  679. (*CmdResp)(nil), // 0: pb.CmdResp
  680. (*PlayerFetchCsInfoReq)(nil), // 1: pb.PlayerFetchCsInfoReq
  681. (*PlayerFetchHistoryMsgReq)(nil), // 2: pb.PlayerFetchHistoryMsgReq
  682. (*PlayerFetchMsgReq)(nil), // 3: pb.PlayerFetchMsgReq
  683. (*PlayerSendMsgReq)(nil), // 4: pb.PlayerSendMsgReq
  684. (*PlayerDisconnectReq)(nil), // 5: pb.PlayerDisconnectReq
  685. (*CsFetchPlayerQueueReq)(nil), // 6: pb.CsFetchPlayerQueueReq
  686. (*CsConnectPlayerReq)(nil), // 7: pb.CsConnectPlayerReq
  687. (*CsFetchHistoryChatReq)(nil), // 8: pb.CsFetchHistoryChatReq
  688. (*CsFetchHistoryMsgReq)(nil), // 9: pb.CsFetchHistoryMsgReq
  689. (*CsFetchMsgReq)(nil), // 10: pb.CsFetchMsgReq
  690. (*CsSendMsgReq)(nil), // 11: pb.CsSendMsgReq
  691. (*structpb.Struct)(nil), // 12: google.protobuf.Struct
  692. }
  693. var file_pb_cmd_proto_depIdxs = []int32{
  694. 12, // 0: pb.CmdResp.data:type_name -> google.protobuf.Struct
  695. 1, // 1: pb.Cmd.playerFetchCsInfo:input_type -> pb.PlayerFetchCsInfoReq
  696. 2, // 2: pb.Cmd.playerFetchHistoryMsg:input_type -> pb.PlayerFetchHistoryMsgReq
  697. 3, // 3: pb.Cmd.playerFetchMsg:input_type -> pb.PlayerFetchMsgReq
  698. 4, // 4: pb.Cmd.playerSendMsg:input_type -> pb.PlayerSendMsgReq
  699. 5, // 5: pb.Cmd.playerDisconnect:input_type -> pb.PlayerDisconnectReq
  700. 6, // 6: pb.Cmd.csFetchPlayerQueue:input_type -> pb.CsFetchPlayerQueueReq
  701. 7, // 7: pb.Cmd.csConnectPlayer:input_type -> pb.CsConnectPlayerReq
  702. 8, // 8: pb.Cmd.csFetchHistoryChat:input_type -> pb.CsFetchHistoryChatReq
  703. 9, // 9: pb.Cmd.csFetchHistoryMsg:input_type -> pb.CsFetchHistoryMsgReq
  704. 10, // 10: pb.Cmd.csFetchMsg:input_type -> pb.CsFetchMsgReq
  705. 11, // 11: pb.Cmd.csSendMsg:input_type -> pb.CsSendMsgReq
  706. 0, // 12: pb.Cmd.playerFetchCsInfo:output_type -> pb.CmdResp
  707. 0, // 13: pb.Cmd.playerFetchHistoryMsg:output_type -> pb.CmdResp
  708. 0, // 14: pb.Cmd.playerFetchMsg:output_type -> pb.CmdResp
  709. 0, // 15: pb.Cmd.playerSendMsg:output_type -> pb.CmdResp
  710. 0, // 16: pb.Cmd.playerDisconnect:output_type -> pb.CmdResp
  711. 0, // 17: pb.Cmd.csFetchPlayerQueue:output_type -> pb.CmdResp
  712. 0, // 18: pb.Cmd.csConnectPlayer:output_type -> pb.CmdResp
  713. 0, // 19: pb.Cmd.csFetchHistoryChat:output_type -> pb.CmdResp
  714. 0, // 20: pb.Cmd.csFetchHistoryMsg:output_type -> pb.CmdResp
  715. 0, // 21: pb.Cmd.csFetchMsg:output_type -> pb.CmdResp
  716. 0, // 22: pb.Cmd.csSendMsg:output_type -> pb.CmdResp
  717. 12, // [12:23] is the sub-list for method output_type
  718. 1, // [1:12] is the sub-list for method input_type
  719. 1, // [1:1] is the sub-list for extension type_name
  720. 1, // [1:1] is the sub-list for extension extendee
  721. 0, // [0:1] is the sub-list for field type_name
  722. }
  723. func init() { file_pb_cmd_proto_init() }
  724. func file_pb_cmd_proto_init() {
  725. if File_pb_cmd_proto != nil {
  726. return
  727. }
  728. if !protoimpl.UnsafeEnabled {
  729. file_pb_cmd_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  730. switch v := v.(*CmdResp); i {
  731. case 0:
  732. return &v.state
  733. case 1:
  734. return &v.sizeCache
  735. case 2:
  736. return &v.unknownFields
  737. default:
  738. return nil
  739. }
  740. }
  741. file_pb_cmd_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  742. switch v := v.(*PlayerFetchCsInfoReq); i {
  743. case 0:
  744. return &v.state
  745. case 1:
  746. return &v.sizeCache
  747. case 2:
  748. return &v.unknownFields
  749. default:
  750. return nil
  751. }
  752. }
  753. file_pb_cmd_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  754. switch v := v.(*PlayerFetchHistoryMsgReq); i {
  755. case 0:
  756. return &v.state
  757. case 1:
  758. return &v.sizeCache
  759. case 2:
  760. return &v.unknownFields
  761. default:
  762. return nil
  763. }
  764. }
  765. file_pb_cmd_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  766. switch v := v.(*PlayerFetchMsgReq); i {
  767. case 0:
  768. return &v.state
  769. case 1:
  770. return &v.sizeCache
  771. case 2:
  772. return &v.unknownFields
  773. default:
  774. return nil
  775. }
  776. }
  777. file_pb_cmd_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  778. switch v := v.(*PlayerSendMsgReq); i {
  779. case 0:
  780. return &v.state
  781. case 1:
  782. return &v.sizeCache
  783. case 2:
  784. return &v.unknownFields
  785. default:
  786. return nil
  787. }
  788. }
  789. file_pb_cmd_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  790. switch v := v.(*PlayerDisconnectReq); i {
  791. case 0:
  792. return &v.state
  793. case 1:
  794. return &v.sizeCache
  795. case 2:
  796. return &v.unknownFields
  797. default:
  798. return nil
  799. }
  800. }
  801. file_pb_cmd_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  802. switch v := v.(*CsFetchPlayerQueueReq); i {
  803. case 0:
  804. return &v.state
  805. case 1:
  806. return &v.sizeCache
  807. case 2:
  808. return &v.unknownFields
  809. default:
  810. return nil
  811. }
  812. }
  813. file_pb_cmd_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  814. switch v := v.(*CsConnectPlayerReq); i {
  815. case 0:
  816. return &v.state
  817. case 1:
  818. return &v.sizeCache
  819. case 2:
  820. return &v.unknownFields
  821. default:
  822. return nil
  823. }
  824. }
  825. file_pb_cmd_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  826. switch v := v.(*CsFetchHistoryChatReq); i {
  827. case 0:
  828. return &v.state
  829. case 1:
  830. return &v.sizeCache
  831. case 2:
  832. return &v.unknownFields
  833. default:
  834. return nil
  835. }
  836. }
  837. file_pb_cmd_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  838. switch v := v.(*CsFetchHistoryMsgReq); i {
  839. case 0:
  840. return &v.state
  841. case 1:
  842. return &v.sizeCache
  843. case 2:
  844. return &v.unknownFields
  845. default:
  846. return nil
  847. }
  848. }
  849. file_pb_cmd_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  850. switch v := v.(*CsFetchMsgReq); i {
  851. case 0:
  852. return &v.state
  853. case 1:
  854. return &v.sizeCache
  855. case 2:
  856. return &v.unknownFields
  857. default:
  858. return nil
  859. }
  860. }
  861. file_pb_cmd_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  862. switch v := v.(*CsSendMsgReq); i {
  863. case 0:
  864. return &v.state
  865. case 1:
  866. return &v.sizeCache
  867. case 2:
  868. return &v.unknownFields
  869. default:
  870. return nil
  871. }
  872. }
  873. }
  874. type x struct{}
  875. out := protoimpl.TypeBuilder{
  876. File: protoimpl.DescBuilder{
  877. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  878. RawDescriptor: file_pb_cmd_proto_rawDesc,
  879. NumEnums: 0,
  880. NumMessages: 12,
  881. NumExtensions: 0,
  882. NumServices: 1,
  883. },
  884. GoTypes: file_pb_cmd_proto_goTypes,
  885. DependencyIndexes: file_pb_cmd_proto_depIdxs,
  886. MessageInfos: file_pb_cmd_proto_msgTypes,
  887. }.Build()
  888. File_pb_cmd_proto = out.File
  889. file_pb_cmd_proto_rawDesc = nil
  890. file_pb_cmd_proto_goTypes = nil
  891. file_pb_cmd_proto_depIdxs = nil
  892. }