common.pb.go 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.0
  5. // source: common.proto
  6. package msg
  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. // PlayerOptType 玩家操作类型
  20. type PlayerOptType int32
  21. const (
  22. PlayerOptType_OPT_NONE PlayerOptType = 0 // 无操作
  23. PlayerOptType_OPT_SEEN PlayerOptType = 1 // 看牌
  24. PlayerOptType_OPT_PACKED PlayerOptType = 2 // 弃牌
  25. PlayerOptType_OPT_CHAAL PlayerOptType = 3 // 跟注
  26. PlayerOptType_OPT_BIND PlayerOptType = 4 // 绑定
  27. PlayerOptType_OPT_SELECT PlayerOptType = 5 // 选择操作
  28. PlayerOptType_OPT_SHOW PlayerOptType = 6 // 亮牌
  29. )
  30. // Enum value maps for PlayerOptType.
  31. var (
  32. PlayerOptType_name = map[int32]string{
  33. 0: "OPT_NONE",
  34. 1: "OPT_SEEN",
  35. 2: "OPT_PACKED",
  36. 3: "OPT_CHAAL",
  37. 4: "OPT_BIND",
  38. 5: "OPT_SELECT",
  39. 6: "OPT_SHOW",
  40. }
  41. PlayerOptType_value = map[string]int32{
  42. "OPT_NONE": 0,
  43. "OPT_SEEN": 1,
  44. "OPT_PACKED": 2,
  45. "OPT_CHAAL": 3,
  46. "OPT_BIND": 4,
  47. "OPT_SELECT": 5,
  48. "OPT_SHOW": 6,
  49. }
  50. )
  51. func (x PlayerOptType) Enum() *PlayerOptType {
  52. p := new(PlayerOptType)
  53. *p = x
  54. return p
  55. }
  56. func (x PlayerOptType) String() string {
  57. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  58. }
  59. func (PlayerOptType) Descriptor() protoreflect.EnumDescriptor {
  60. return file_common_proto_enumTypes[0].Descriptor()
  61. }
  62. func (PlayerOptType) Type() protoreflect.EnumType {
  63. return &file_common_proto_enumTypes[0]
  64. }
  65. func (x PlayerOptType) Number() protoreflect.EnumNumber {
  66. return protoreflect.EnumNumber(x)
  67. }
  68. // Deprecated: Use PlayerOptType.Descriptor instead.
  69. func (PlayerOptType) EnumDescriptor() ([]byte, []int) {
  70. return file_common_proto_rawDescGZIP(), []int{0}
  71. }
  72. // 登录
  73. type ResLogin struct {
  74. state protoimpl.MessageState
  75. sizeCache protoimpl.SizeCache
  76. unknownFields protoimpl.UnknownFields
  77. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  78. NikeName string `protobuf:"bytes,2,opt,name=nikeName,proto3" json:"nikeName,omitempty"`
  79. }
  80. func (x *ResLogin) Reset() {
  81. *x = ResLogin{}
  82. if protoimpl.UnsafeEnabled {
  83. mi := &file_common_proto_msgTypes[0]
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. ms.StoreMessageInfo(mi)
  86. }
  87. }
  88. func (x *ResLogin) String() string {
  89. return protoimpl.X.MessageStringOf(x)
  90. }
  91. func (*ResLogin) ProtoMessage() {}
  92. func (x *ResLogin) ProtoReflect() protoreflect.Message {
  93. mi := &file_common_proto_msgTypes[0]
  94. if protoimpl.UnsafeEnabled && x != nil {
  95. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  96. if ms.LoadMessageInfo() == nil {
  97. ms.StoreMessageInfo(mi)
  98. }
  99. return ms
  100. }
  101. return mi.MessageOf(x)
  102. }
  103. // Deprecated: Use ResLogin.ProtoReflect.Descriptor instead.
  104. func (*ResLogin) Descriptor() ([]byte, []int) {
  105. return file_common_proto_rawDescGZIP(), []int{0}
  106. }
  107. func (x *ResLogin) GetUserId() string {
  108. if x != nil {
  109. return x.UserId
  110. }
  111. return ""
  112. }
  113. func (x *ResLogin) GetNikeName() string {
  114. if x != nil {
  115. return x.NikeName
  116. }
  117. return ""
  118. }
  119. // 登录 响应
  120. type ReqLogin struct {
  121. state protoimpl.MessageState
  122. sizeCache protoimpl.SizeCache
  123. unknownFields protoimpl.UnknownFields
  124. NikeName string `protobuf:"bytes,1,opt,name=nikeName,proto3" json:"nikeName,omitempty"`
  125. UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
  126. GameStatus string `protobuf:"bytes,3,opt,name=gameStatus,proto3" json:"gameStatus,omitempty"`
  127. Error *MsgError `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
  128. }
  129. func (x *ReqLogin) Reset() {
  130. *x = ReqLogin{}
  131. if protoimpl.UnsafeEnabled {
  132. mi := &file_common_proto_msgTypes[1]
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. ms.StoreMessageInfo(mi)
  135. }
  136. }
  137. func (x *ReqLogin) String() string {
  138. return protoimpl.X.MessageStringOf(x)
  139. }
  140. func (*ReqLogin) ProtoMessage() {}
  141. func (x *ReqLogin) ProtoReflect() protoreflect.Message {
  142. mi := &file_common_proto_msgTypes[1]
  143. if protoimpl.UnsafeEnabled && x != nil {
  144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  145. if ms.LoadMessageInfo() == nil {
  146. ms.StoreMessageInfo(mi)
  147. }
  148. return ms
  149. }
  150. return mi.MessageOf(x)
  151. }
  152. // Deprecated: Use ReqLogin.ProtoReflect.Descriptor instead.
  153. func (*ReqLogin) Descriptor() ([]byte, []int) {
  154. return file_common_proto_rawDescGZIP(), []int{1}
  155. }
  156. func (x *ReqLogin) GetNikeName() string {
  157. if x != nil {
  158. return x.NikeName
  159. }
  160. return ""
  161. }
  162. func (x *ReqLogin) GetUserId() string {
  163. if x != nil {
  164. return x.UserId
  165. }
  166. return ""
  167. }
  168. func (x *ReqLogin) GetGameStatus() string {
  169. if x != nil {
  170. return x.GameStatus
  171. }
  172. return ""
  173. }
  174. func (x *ReqLogin) GetError() *MsgError {
  175. if x != nil {
  176. return x.Error
  177. }
  178. return nil
  179. }
  180. // 进入大厅
  181. type EnterHall struct {
  182. state protoimpl.MessageState
  183. sizeCache protoimpl.SizeCache
  184. unknownFields protoimpl.UnknownFields
  185. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  186. }
  187. func (x *EnterHall) Reset() {
  188. *x = EnterHall{}
  189. if protoimpl.UnsafeEnabled {
  190. mi := &file_common_proto_msgTypes[2]
  191. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  192. ms.StoreMessageInfo(mi)
  193. }
  194. }
  195. func (x *EnterHall) String() string {
  196. return protoimpl.X.MessageStringOf(x)
  197. }
  198. func (*EnterHall) ProtoMessage() {}
  199. func (x *EnterHall) ProtoReflect() protoreflect.Message {
  200. mi := &file_common_proto_msgTypes[2]
  201. if protoimpl.UnsafeEnabled && x != nil {
  202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  203. if ms.LoadMessageInfo() == nil {
  204. ms.StoreMessageInfo(mi)
  205. }
  206. return ms
  207. }
  208. return mi.MessageOf(x)
  209. }
  210. // Deprecated: Use EnterHall.ProtoReflect.Descriptor instead.
  211. func (*EnterHall) Descriptor() ([]byte, []int) {
  212. return file_common_proto_rawDescGZIP(), []int{2}
  213. }
  214. func (x *EnterHall) GetUserId() string {
  215. if x != nil {
  216. return x.UserId
  217. }
  218. return ""
  219. }
  220. // 离开大厅
  221. type LeaveHall struct {
  222. state protoimpl.MessageState
  223. sizeCache protoimpl.SizeCache
  224. unknownFields protoimpl.UnknownFields
  225. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  226. }
  227. func (x *LeaveHall) Reset() {
  228. *x = LeaveHall{}
  229. if protoimpl.UnsafeEnabled {
  230. mi := &file_common_proto_msgTypes[3]
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. ms.StoreMessageInfo(mi)
  233. }
  234. }
  235. func (x *LeaveHall) String() string {
  236. return protoimpl.X.MessageStringOf(x)
  237. }
  238. func (*LeaveHall) ProtoMessage() {}
  239. func (x *LeaveHall) ProtoReflect() protoreflect.Message {
  240. mi := &file_common_proto_msgTypes[3]
  241. if protoimpl.UnsafeEnabled && x != nil {
  242. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  243. if ms.LoadMessageInfo() == nil {
  244. ms.StoreMessageInfo(mi)
  245. }
  246. return ms
  247. }
  248. return mi.MessageOf(x)
  249. }
  250. // Deprecated: Use LeaveHall.ProtoReflect.Descriptor instead.
  251. func (*LeaveHall) Descriptor() ([]byte, []int) {
  252. return file_common_proto_rawDescGZIP(), []int{3}
  253. }
  254. func (x *LeaveHall) GetUserId() string {
  255. if x != nil {
  256. return x.UserId
  257. }
  258. return ""
  259. }
  260. // 加入房间
  261. type ResJoinRoom struct {
  262. state protoimpl.MessageState
  263. sizeCache protoimpl.SizeCache
  264. unknownFields protoimpl.UnknownFields
  265. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  266. RoomId string `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
  267. GameId string `protobuf:"bytes,3,opt,name=gameId,proto3" json:"gameId,omitempty"`
  268. }
  269. func (x *ResJoinRoom) Reset() {
  270. *x = ResJoinRoom{}
  271. if protoimpl.UnsafeEnabled {
  272. mi := &file_common_proto_msgTypes[4]
  273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  274. ms.StoreMessageInfo(mi)
  275. }
  276. }
  277. func (x *ResJoinRoom) String() string {
  278. return protoimpl.X.MessageStringOf(x)
  279. }
  280. func (*ResJoinRoom) ProtoMessage() {}
  281. func (x *ResJoinRoom) ProtoReflect() protoreflect.Message {
  282. mi := &file_common_proto_msgTypes[4]
  283. if protoimpl.UnsafeEnabled && x != nil {
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. if ms.LoadMessageInfo() == nil {
  286. ms.StoreMessageInfo(mi)
  287. }
  288. return ms
  289. }
  290. return mi.MessageOf(x)
  291. }
  292. // Deprecated: Use ResJoinRoom.ProtoReflect.Descriptor instead.
  293. func (*ResJoinRoom) Descriptor() ([]byte, []int) {
  294. return file_common_proto_rawDescGZIP(), []int{4}
  295. }
  296. func (x *ResJoinRoom) GetUserId() string {
  297. if x != nil {
  298. return x.UserId
  299. }
  300. return ""
  301. }
  302. func (x *ResJoinRoom) GetRoomId() string {
  303. if x != nil {
  304. return x.RoomId
  305. }
  306. return ""
  307. }
  308. func (x *ResJoinRoom) GetGameId() string {
  309. if x != nil {
  310. return x.GameId
  311. }
  312. return ""
  313. }
  314. // 加入房间
  315. type ReqJoinRoom struct {
  316. state protoimpl.MessageState
  317. sizeCache protoimpl.SizeCache
  318. unknownFields protoimpl.UnknownFields
  319. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  320. RoomId string `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
  321. GameId string `protobuf:"bytes,3,opt,name=gameId,proto3" json:"gameId,omitempty"`
  322. SitPos int32 `protobuf:"varint,4,opt,name=sitPos,proto3" json:"sitPos,omitempty"`
  323. RoomInfo *ReqRoom `protobuf:"bytes,5,opt,name=roomInfo,proto3" json:"roomInfo,omitempty"`
  324. }
  325. func (x *ReqJoinRoom) Reset() {
  326. *x = ReqJoinRoom{}
  327. if protoimpl.UnsafeEnabled {
  328. mi := &file_common_proto_msgTypes[5]
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. ms.StoreMessageInfo(mi)
  331. }
  332. }
  333. func (x *ReqJoinRoom) String() string {
  334. return protoimpl.X.MessageStringOf(x)
  335. }
  336. func (*ReqJoinRoom) ProtoMessage() {}
  337. func (x *ReqJoinRoom) ProtoReflect() protoreflect.Message {
  338. mi := &file_common_proto_msgTypes[5]
  339. if protoimpl.UnsafeEnabled && x != nil {
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. if ms.LoadMessageInfo() == nil {
  342. ms.StoreMessageInfo(mi)
  343. }
  344. return ms
  345. }
  346. return mi.MessageOf(x)
  347. }
  348. // Deprecated: Use ReqJoinRoom.ProtoReflect.Descriptor instead.
  349. func (*ReqJoinRoom) Descriptor() ([]byte, []int) {
  350. return file_common_proto_rawDescGZIP(), []int{5}
  351. }
  352. func (x *ReqJoinRoom) GetUserId() string {
  353. if x != nil {
  354. return x.UserId
  355. }
  356. return ""
  357. }
  358. func (x *ReqJoinRoom) GetRoomId() string {
  359. if x != nil {
  360. return x.RoomId
  361. }
  362. return ""
  363. }
  364. func (x *ReqJoinRoom) GetGameId() string {
  365. if x != nil {
  366. return x.GameId
  367. }
  368. return ""
  369. }
  370. func (x *ReqJoinRoom) GetSitPos() int32 {
  371. if x != nil {
  372. return x.SitPos
  373. }
  374. return 0
  375. }
  376. func (x *ReqJoinRoom) GetRoomInfo() *ReqRoom {
  377. if x != nil {
  378. return x.RoomInfo
  379. }
  380. return nil
  381. }
  382. // 玩法列表
  383. type PlayList struct {
  384. state protoimpl.MessageState
  385. sizeCache protoimpl.SizeCache
  386. unknownFields protoimpl.UnknownFields
  387. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  388. }
  389. func (x *PlayList) Reset() {
  390. *x = PlayList{}
  391. if protoimpl.UnsafeEnabled {
  392. mi := &file_common_proto_msgTypes[6]
  393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  394. ms.StoreMessageInfo(mi)
  395. }
  396. }
  397. func (x *PlayList) String() string {
  398. return protoimpl.X.MessageStringOf(x)
  399. }
  400. func (*PlayList) ProtoMessage() {}
  401. func (x *PlayList) ProtoReflect() protoreflect.Message {
  402. mi := &file_common_proto_msgTypes[6]
  403. if protoimpl.UnsafeEnabled && x != nil {
  404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  405. if ms.LoadMessageInfo() == nil {
  406. ms.StoreMessageInfo(mi)
  407. }
  408. return ms
  409. }
  410. return mi.MessageOf(x)
  411. }
  412. // Deprecated: Use PlayList.ProtoReflect.Descriptor instead.
  413. func (*PlayList) Descriptor() ([]byte, []int) {
  414. return file_common_proto_rawDescGZIP(), []int{6}
  415. }
  416. func (x *PlayList) GetUserId() string {
  417. if x != nil {
  418. return x.UserId
  419. }
  420. return ""
  421. }
  422. // 商城
  423. type Shop struct {
  424. state protoimpl.MessageState
  425. sizeCache protoimpl.SizeCache
  426. unknownFields protoimpl.UnknownFields
  427. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  428. }
  429. func (x *Shop) Reset() {
  430. *x = Shop{}
  431. if protoimpl.UnsafeEnabled {
  432. mi := &file_common_proto_msgTypes[7]
  433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  434. ms.StoreMessageInfo(mi)
  435. }
  436. }
  437. func (x *Shop) String() string {
  438. return protoimpl.X.MessageStringOf(x)
  439. }
  440. func (*Shop) ProtoMessage() {}
  441. func (x *Shop) ProtoReflect() protoreflect.Message {
  442. mi := &file_common_proto_msgTypes[7]
  443. if protoimpl.UnsafeEnabled && x != nil {
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. if ms.LoadMessageInfo() == nil {
  446. ms.StoreMessageInfo(mi)
  447. }
  448. return ms
  449. }
  450. return mi.MessageOf(x)
  451. }
  452. // Deprecated: Use Shop.ProtoReflect.Descriptor instead.
  453. func (*Shop) Descriptor() ([]byte, []int) {
  454. return file_common_proto_rawDescGZIP(), []int{7}
  455. }
  456. func (x *Shop) GetUserId() string {
  457. if x != nil {
  458. return x.UserId
  459. }
  460. return ""
  461. }
  462. type ResGameInfo struct {
  463. state protoimpl.MessageState
  464. sizeCache protoimpl.SizeCache
  465. unknownFields protoimpl.UnknownFields
  466. GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"`
  467. }
  468. func (x *ResGameInfo) Reset() {
  469. *x = ResGameInfo{}
  470. if protoimpl.UnsafeEnabled {
  471. mi := &file_common_proto_msgTypes[8]
  472. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  473. ms.StoreMessageInfo(mi)
  474. }
  475. }
  476. func (x *ResGameInfo) String() string {
  477. return protoimpl.X.MessageStringOf(x)
  478. }
  479. func (*ResGameInfo) ProtoMessage() {}
  480. func (x *ResGameInfo) ProtoReflect() protoreflect.Message {
  481. mi := &file_common_proto_msgTypes[8]
  482. if protoimpl.UnsafeEnabled && x != nil {
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. if ms.LoadMessageInfo() == nil {
  485. ms.StoreMessageInfo(mi)
  486. }
  487. return ms
  488. }
  489. return mi.MessageOf(x)
  490. }
  491. // Deprecated: Use ResGameInfo.ProtoReflect.Descriptor instead.
  492. func (*ResGameInfo) Descriptor() ([]byte, []int) {
  493. return file_common_proto_rawDescGZIP(), []int{8}
  494. }
  495. func (x *ResGameInfo) GetGameId() string {
  496. if x != nil {
  497. return x.GameId
  498. }
  499. return ""
  500. }
  501. type ReqGameInfo struct {
  502. state protoimpl.MessageState
  503. sizeCache protoimpl.SizeCache
  504. unknownFields protoimpl.UnknownFields
  505. GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"`
  506. GameName string `protobuf:"bytes,2,opt,name=gameName,proto3" json:"gameName,omitempty"`
  507. GameStatus string `protobuf:"bytes,4,opt,name=gameStatus,proto3" json:"gameStatus,omitempty"`
  508. GameType string `protobuf:"bytes,5,opt,name=gameType,proto3" json:"gameType,omitempty"`
  509. TeenPattiRoomList *TeenPattiRoomList `protobuf:"bytes,6,opt,name=teenPattiRoomList,proto3" json:"teenPattiRoomList,omitempty"`
  510. }
  511. func (x *ReqGameInfo) Reset() {
  512. *x = ReqGameInfo{}
  513. if protoimpl.UnsafeEnabled {
  514. mi := &file_common_proto_msgTypes[9]
  515. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  516. ms.StoreMessageInfo(mi)
  517. }
  518. }
  519. func (x *ReqGameInfo) String() string {
  520. return protoimpl.X.MessageStringOf(x)
  521. }
  522. func (*ReqGameInfo) ProtoMessage() {}
  523. func (x *ReqGameInfo) ProtoReflect() protoreflect.Message {
  524. mi := &file_common_proto_msgTypes[9]
  525. if protoimpl.UnsafeEnabled && x != nil {
  526. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  527. if ms.LoadMessageInfo() == nil {
  528. ms.StoreMessageInfo(mi)
  529. }
  530. return ms
  531. }
  532. return mi.MessageOf(x)
  533. }
  534. // Deprecated: Use ReqGameInfo.ProtoReflect.Descriptor instead.
  535. func (*ReqGameInfo) Descriptor() ([]byte, []int) {
  536. return file_common_proto_rawDescGZIP(), []int{9}
  537. }
  538. func (x *ReqGameInfo) GetGameId() string {
  539. if x != nil {
  540. return x.GameId
  541. }
  542. return ""
  543. }
  544. func (x *ReqGameInfo) GetGameName() string {
  545. if x != nil {
  546. return x.GameName
  547. }
  548. return ""
  549. }
  550. func (x *ReqGameInfo) GetGameStatus() string {
  551. if x != nil {
  552. return x.GameStatus
  553. }
  554. return ""
  555. }
  556. func (x *ReqGameInfo) GetGameType() string {
  557. if x != nil {
  558. return x.GameType
  559. }
  560. return ""
  561. }
  562. func (x *ReqGameInfo) GetTeenPattiRoomList() *TeenPattiRoomList {
  563. if x != nil {
  564. return x.TeenPattiRoomList
  565. }
  566. return nil
  567. }
  568. type TeenPattiRoomList struct {
  569. state protoimpl.MessageState
  570. sizeCache protoimpl.SizeCache
  571. unknownFields protoimpl.UnknownFields
  572. TeenPattiRoom []*TeenPattiRoom `protobuf:"bytes,1,rep,name=teenPattiRoom,proto3" json:"teenPattiRoom,omitempty"`
  573. }
  574. func (x *TeenPattiRoomList) Reset() {
  575. *x = TeenPattiRoomList{}
  576. if protoimpl.UnsafeEnabled {
  577. mi := &file_common_proto_msgTypes[10]
  578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  579. ms.StoreMessageInfo(mi)
  580. }
  581. }
  582. func (x *TeenPattiRoomList) String() string {
  583. return protoimpl.X.MessageStringOf(x)
  584. }
  585. func (*TeenPattiRoomList) ProtoMessage() {}
  586. func (x *TeenPattiRoomList) ProtoReflect() protoreflect.Message {
  587. mi := &file_common_proto_msgTypes[10]
  588. if protoimpl.UnsafeEnabled && x != nil {
  589. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  590. if ms.LoadMessageInfo() == nil {
  591. ms.StoreMessageInfo(mi)
  592. }
  593. return ms
  594. }
  595. return mi.MessageOf(x)
  596. }
  597. // Deprecated: Use TeenPattiRoomList.ProtoReflect.Descriptor instead.
  598. func (*TeenPattiRoomList) Descriptor() ([]byte, []int) {
  599. return file_common_proto_rawDescGZIP(), []int{10}
  600. }
  601. func (x *TeenPattiRoomList) GetTeenPattiRoom() []*TeenPattiRoom {
  602. if x != nil {
  603. return x.TeenPattiRoom
  604. }
  605. return nil
  606. }
  607. type TeenPattiRoom struct {
  608. state protoimpl.MessageState
  609. sizeCache protoimpl.SizeCache
  610. unknownFields protoimpl.UnknownFields
  611. Boot string `protobuf:"bytes,1,opt,name=boot,proto3" json:"boot,omitempty"` //0.1
  612. MinBuyin string `protobuf:"bytes,2,opt,name=minBuyin,proto3" json:"minBuyin,omitempty"` // 1
  613. ChaalLimmit string `protobuf:"bytes,3,opt,name=chaalLimmit,proto3" json:"chaalLimmit,omitempty"` // 12.8
  614. PotLimit string `protobuf:"bytes,4,opt,name=potLimit,proto3" json:"potLimit,omitempty"` //102.40
  615. TotalPlayers string `protobuf:"bytes,5,opt,name=totalPlayers,proto3" json:"totalPlayers,omitempty"` // 3999
  616. RoomLevel string `protobuf:"bytes,6,opt,name=roomLevel,proto3" json:"roomLevel,omitempty"` //low - mid - high
  617. RoomId string `protobuf:"bytes,7,opt,name=roomId,proto3" json:"roomId,omitempty"`
  618. Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
  619. }
  620. func (x *TeenPattiRoom) Reset() {
  621. *x = TeenPattiRoom{}
  622. if protoimpl.UnsafeEnabled {
  623. mi := &file_common_proto_msgTypes[11]
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. ms.StoreMessageInfo(mi)
  626. }
  627. }
  628. func (x *TeenPattiRoom) String() string {
  629. return protoimpl.X.MessageStringOf(x)
  630. }
  631. func (*TeenPattiRoom) ProtoMessage() {}
  632. func (x *TeenPattiRoom) ProtoReflect() protoreflect.Message {
  633. mi := &file_common_proto_msgTypes[11]
  634. if protoimpl.UnsafeEnabled && x != nil {
  635. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  636. if ms.LoadMessageInfo() == nil {
  637. ms.StoreMessageInfo(mi)
  638. }
  639. return ms
  640. }
  641. return mi.MessageOf(x)
  642. }
  643. // Deprecated: Use TeenPattiRoom.ProtoReflect.Descriptor instead.
  644. func (*TeenPattiRoom) Descriptor() ([]byte, []int) {
  645. return file_common_proto_rawDescGZIP(), []int{11}
  646. }
  647. func (x *TeenPattiRoom) GetBoot() string {
  648. if x != nil {
  649. return x.Boot
  650. }
  651. return ""
  652. }
  653. func (x *TeenPattiRoom) GetMinBuyin() string {
  654. if x != nil {
  655. return x.MinBuyin
  656. }
  657. return ""
  658. }
  659. func (x *TeenPattiRoom) GetChaalLimmit() string {
  660. if x != nil {
  661. return x.ChaalLimmit
  662. }
  663. return ""
  664. }
  665. func (x *TeenPattiRoom) GetPotLimit() string {
  666. if x != nil {
  667. return x.PotLimit
  668. }
  669. return ""
  670. }
  671. func (x *TeenPattiRoom) GetTotalPlayers() string {
  672. if x != nil {
  673. return x.TotalPlayers
  674. }
  675. return ""
  676. }
  677. func (x *TeenPattiRoom) GetRoomLevel() string {
  678. if x != nil {
  679. return x.RoomLevel
  680. }
  681. return ""
  682. }
  683. func (x *TeenPattiRoom) GetRoomId() string {
  684. if x != nil {
  685. return x.RoomId
  686. }
  687. return ""
  688. }
  689. func (x *TeenPattiRoom) GetType() string {
  690. if x != nil {
  691. return x.Type
  692. }
  693. return ""
  694. }
  695. // 通知客户端发牌
  696. type ReqDealCard struct {
  697. state protoimpl.MessageState
  698. sizeCache protoimpl.SizeCache
  699. unknownFields protoimpl.UnknownFields
  700. SitPos int32 `protobuf:"varint,1,opt,name=sitPos,proto3" json:"sitPos,omitempty"`
  701. }
  702. func (x *ReqDealCard) Reset() {
  703. *x = ReqDealCard{}
  704. if protoimpl.UnsafeEnabled {
  705. mi := &file_common_proto_msgTypes[12]
  706. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  707. ms.StoreMessageInfo(mi)
  708. }
  709. }
  710. func (x *ReqDealCard) String() string {
  711. return protoimpl.X.MessageStringOf(x)
  712. }
  713. func (*ReqDealCard) ProtoMessage() {}
  714. func (x *ReqDealCard) ProtoReflect() protoreflect.Message {
  715. mi := &file_common_proto_msgTypes[12]
  716. if protoimpl.UnsafeEnabled && x != nil {
  717. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  718. if ms.LoadMessageInfo() == nil {
  719. ms.StoreMessageInfo(mi)
  720. }
  721. return ms
  722. }
  723. return mi.MessageOf(x)
  724. }
  725. // Deprecated: Use ReqDealCard.ProtoReflect.Descriptor instead.
  726. func (*ReqDealCard) Descriptor() ([]byte, []int) {
  727. return file_common_proto_rawDescGZIP(), []int{12}
  728. }
  729. func (x *ReqDealCard) GetSitPos() int32 {
  730. if x != nil {
  731. return x.SitPos
  732. }
  733. return 0
  734. }
  735. // 通知客户端操作
  736. type ReqPlayerAction struct {
  737. state protoimpl.MessageState
  738. sizeCache protoimpl.SizeCache
  739. unknownFields protoimpl.UnknownFields
  740. SitPos int32 `protobuf:"varint,1,opt,name=sitPos,proto3" json:"sitPos,omitempty"`
  741. PlayerOpt *PlayerOpt `protobuf:"bytes,2,opt,name=playerOpt,proto3" json:"playerOpt,omitempty"`
  742. }
  743. func (x *ReqPlayerAction) Reset() {
  744. *x = ReqPlayerAction{}
  745. if protoimpl.UnsafeEnabled {
  746. mi := &file_common_proto_msgTypes[13]
  747. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  748. ms.StoreMessageInfo(mi)
  749. }
  750. }
  751. func (x *ReqPlayerAction) String() string {
  752. return protoimpl.X.MessageStringOf(x)
  753. }
  754. func (*ReqPlayerAction) ProtoMessage() {}
  755. func (x *ReqPlayerAction) ProtoReflect() protoreflect.Message {
  756. mi := &file_common_proto_msgTypes[13]
  757. if protoimpl.UnsafeEnabled && x != nil {
  758. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  759. if ms.LoadMessageInfo() == nil {
  760. ms.StoreMessageInfo(mi)
  761. }
  762. return ms
  763. }
  764. return mi.MessageOf(x)
  765. }
  766. // Deprecated: Use ReqPlayerAction.ProtoReflect.Descriptor instead.
  767. func (*ReqPlayerAction) Descriptor() ([]byte, []int) {
  768. return file_common_proto_rawDescGZIP(), []int{13}
  769. }
  770. func (x *ReqPlayerAction) GetSitPos() int32 {
  771. if x != nil {
  772. return x.SitPos
  773. }
  774. return 0
  775. }
  776. func (x *ReqPlayerAction) GetPlayerOpt() *PlayerOpt {
  777. if x != nil {
  778. return x.PlayerOpt
  779. }
  780. return nil
  781. }
  782. // 接到玩家操作
  783. type ResPlayerOptAction struct {
  784. state protoimpl.MessageState
  785. sizeCache protoimpl.SizeCache
  786. unknownFields protoimpl.UnknownFields
  787. SitPos int32 `protobuf:"varint,1,opt,name=sitPos,proto3" json:"sitPos,omitempty"`
  788. PlayerOpt *PlayerOpt `protobuf:"bytes,2,opt,name=playerOpt,proto3" json:"playerOpt,omitempty"`
  789. RoomId string `protobuf:"bytes,3,opt,name=roomId,proto3" json:"roomId,omitempty"`
  790. GameId string `protobuf:"bytes,4,opt,name=gameId,proto3" json:"gameId,omitempty"`
  791. UserId string `protobuf:"bytes,5,opt,name=userId,proto3" json:"userId,omitempty"`
  792. }
  793. func (x *ResPlayerOptAction) Reset() {
  794. *x = ResPlayerOptAction{}
  795. if protoimpl.UnsafeEnabled {
  796. mi := &file_common_proto_msgTypes[14]
  797. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  798. ms.StoreMessageInfo(mi)
  799. }
  800. }
  801. func (x *ResPlayerOptAction) String() string {
  802. return protoimpl.X.MessageStringOf(x)
  803. }
  804. func (*ResPlayerOptAction) ProtoMessage() {}
  805. func (x *ResPlayerOptAction) ProtoReflect() protoreflect.Message {
  806. mi := &file_common_proto_msgTypes[14]
  807. if protoimpl.UnsafeEnabled && x != nil {
  808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  809. if ms.LoadMessageInfo() == nil {
  810. ms.StoreMessageInfo(mi)
  811. }
  812. return ms
  813. }
  814. return mi.MessageOf(x)
  815. }
  816. // Deprecated: Use ResPlayerOptAction.ProtoReflect.Descriptor instead.
  817. func (*ResPlayerOptAction) Descriptor() ([]byte, []int) {
  818. return file_common_proto_rawDescGZIP(), []int{14}
  819. }
  820. func (x *ResPlayerOptAction) GetSitPos() int32 {
  821. if x != nil {
  822. return x.SitPos
  823. }
  824. return 0
  825. }
  826. func (x *ResPlayerOptAction) GetPlayerOpt() *PlayerOpt {
  827. if x != nil {
  828. return x.PlayerOpt
  829. }
  830. return nil
  831. }
  832. func (x *ResPlayerOptAction) GetRoomId() string {
  833. if x != nil {
  834. return x.RoomId
  835. }
  836. return ""
  837. }
  838. func (x *ResPlayerOptAction) GetGameId() string {
  839. if x != nil {
  840. return x.GameId
  841. }
  842. return ""
  843. }
  844. func (x *ResPlayerOptAction) GetUserId() string {
  845. if x != nil {
  846. return x.UserId
  847. }
  848. return ""
  849. }
  850. type PlayerOpt struct {
  851. state protoimpl.MessageState
  852. sizeCache protoimpl.SizeCache
  853. unknownFields protoimpl.UnknownFields
  854. OptType PlayerOptType `protobuf:"varint,1,opt,name=opt_type,json=optType,proto3,enum=PlayerOptType" json:"opt_type,omitempty"` // 操作类型
  855. BetAmount int32 `protobuf:"varint,2,opt,name=bet_amount,json=betAmount,proto3" json:"bet_amount,omitempty"` // 下注金额
  856. Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 操作时间戳
  857. SeenCards []*ReqCard `protobuf:"bytes,4,rep,name=seenCards,proto3" json:"seenCards,omitempty"` // 看牌的牌
  858. }
  859. func (x *PlayerOpt) Reset() {
  860. *x = PlayerOpt{}
  861. if protoimpl.UnsafeEnabled {
  862. mi := &file_common_proto_msgTypes[15]
  863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  864. ms.StoreMessageInfo(mi)
  865. }
  866. }
  867. func (x *PlayerOpt) String() string {
  868. return protoimpl.X.MessageStringOf(x)
  869. }
  870. func (*PlayerOpt) ProtoMessage() {}
  871. func (x *PlayerOpt) ProtoReflect() protoreflect.Message {
  872. mi := &file_common_proto_msgTypes[15]
  873. if protoimpl.UnsafeEnabled && x != nil {
  874. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  875. if ms.LoadMessageInfo() == nil {
  876. ms.StoreMessageInfo(mi)
  877. }
  878. return ms
  879. }
  880. return mi.MessageOf(x)
  881. }
  882. // Deprecated: Use PlayerOpt.ProtoReflect.Descriptor instead.
  883. func (*PlayerOpt) Descriptor() ([]byte, []int) {
  884. return file_common_proto_rawDescGZIP(), []int{15}
  885. }
  886. func (x *PlayerOpt) GetOptType() PlayerOptType {
  887. if x != nil {
  888. return x.OptType
  889. }
  890. return PlayerOptType_OPT_NONE
  891. }
  892. func (x *PlayerOpt) GetBetAmount() int32 {
  893. if x != nil {
  894. return x.BetAmount
  895. }
  896. return 0
  897. }
  898. func (x *PlayerOpt) GetTimestamp() int64 {
  899. if x != nil {
  900. return x.Timestamp
  901. }
  902. return 0
  903. }
  904. func (x *PlayerOpt) GetSeenCards() []*ReqCard {
  905. if x != nil {
  906. return x.SeenCards
  907. }
  908. return nil
  909. }
  910. type ReqRoom struct {
  911. state protoimpl.MessageState
  912. sizeCache protoimpl.SizeCache
  913. unknownFields protoimpl.UnknownFields
  914. Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
  915. ReqPlayers []*ReqPlayer `protobuf:"bytes,2,rep,name=ReqPlayers,proto3" json:"ReqPlayers,omitempty"`
  916. Status int32 `protobuf:"varint,3,opt,name=Status,proto3" json:"Status,omitempty"`
  917. Round int32 `protobuf:"varint,4,opt,name=Round,proto3" json:"Round,omitempty"`
  918. GameRound *ReqGameRound `protobuf:"bytes,5,opt,name=GameRound,proto3" json:"GameRound,omitempty"`
  919. }
  920. func (x *ReqRoom) Reset() {
  921. *x = ReqRoom{}
  922. if protoimpl.UnsafeEnabled {
  923. mi := &file_common_proto_msgTypes[16]
  924. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  925. ms.StoreMessageInfo(mi)
  926. }
  927. }
  928. func (x *ReqRoom) String() string {
  929. return protoimpl.X.MessageStringOf(x)
  930. }
  931. func (*ReqRoom) ProtoMessage() {}
  932. func (x *ReqRoom) ProtoReflect() protoreflect.Message {
  933. mi := &file_common_proto_msgTypes[16]
  934. if protoimpl.UnsafeEnabled && x != nil {
  935. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  936. if ms.LoadMessageInfo() == nil {
  937. ms.StoreMessageInfo(mi)
  938. }
  939. return ms
  940. }
  941. return mi.MessageOf(x)
  942. }
  943. // Deprecated: Use ReqRoom.ProtoReflect.Descriptor instead.
  944. func (*ReqRoom) Descriptor() ([]byte, []int) {
  945. return file_common_proto_rawDescGZIP(), []int{16}
  946. }
  947. func (x *ReqRoom) GetId() string {
  948. if x != nil {
  949. return x.Id
  950. }
  951. return ""
  952. }
  953. func (x *ReqRoom) GetReqPlayers() []*ReqPlayer {
  954. if x != nil {
  955. return x.ReqPlayers
  956. }
  957. return nil
  958. }
  959. func (x *ReqRoom) GetStatus() int32 {
  960. if x != nil {
  961. return x.Status
  962. }
  963. return 0
  964. }
  965. func (x *ReqRoom) GetRound() int32 {
  966. if x != nil {
  967. return x.Round
  968. }
  969. return 0
  970. }
  971. func (x *ReqRoom) GetGameRound() *ReqGameRound {
  972. if x != nil {
  973. return x.GameRound
  974. }
  975. return nil
  976. }
  977. type ReqCard struct {
  978. state protoimpl.MessageState
  979. sizeCache protoimpl.SizeCache
  980. unknownFields protoimpl.UnknownFields
  981. Color int32 `protobuf:"varint,1,opt,name=Color,proto3" json:"Color,omitempty"`
  982. Point int32 `protobuf:"varint,2,opt,name=Point,proto3" json:"Point,omitempty"`
  983. }
  984. func (x *ReqCard) Reset() {
  985. *x = ReqCard{}
  986. if protoimpl.UnsafeEnabled {
  987. mi := &file_common_proto_msgTypes[17]
  988. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  989. ms.StoreMessageInfo(mi)
  990. }
  991. }
  992. func (x *ReqCard) String() string {
  993. return protoimpl.X.MessageStringOf(x)
  994. }
  995. func (*ReqCard) ProtoMessage() {}
  996. func (x *ReqCard) ProtoReflect() protoreflect.Message {
  997. mi := &file_common_proto_msgTypes[17]
  998. if protoimpl.UnsafeEnabled && x != nil {
  999. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1000. if ms.LoadMessageInfo() == nil {
  1001. ms.StoreMessageInfo(mi)
  1002. }
  1003. return ms
  1004. }
  1005. return mi.MessageOf(x)
  1006. }
  1007. // Deprecated: Use ReqCard.ProtoReflect.Descriptor instead.
  1008. func (*ReqCard) Descriptor() ([]byte, []int) {
  1009. return file_common_proto_rawDescGZIP(), []int{17}
  1010. }
  1011. func (x *ReqCard) GetColor() int32 {
  1012. if x != nil {
  1013. return x.Color
  1014. }
  1015. return 0
  1016. }
  1017. func (x *ReqCard) GetPoint() int32 {
  1018. if x != nil {
  1019. return x.Point
  1020. }
  1021. return 0
  1022. }
  1023. type ReqPlayer struct {
  1024. state protoimpl.MessageState
  1025. sizeCache protoimpl.SizeCache
  1026. unknownFields protoimpl.UnknownFields
  1027. Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
  1028. HandCards []*ReqCard `protobuf:"bytes,2,rep,name=HandCards,proto3" json:"HandCards,omitempty"`
  1029. SitPos *int32 `protobuf:"varint,3,opt,name=SitPos,proto3,oneof" json:"SitPos,omitempty"`
  1030. IsDealer *bool `protobuf:"varint,4,opt,name=IsDealer,proto3,oneof" json:"IsDealer,omitempty"`
  1031. IsSeen *bool `protobuf:"varint,5,opt,name=IsSeen,proto3,oneof" json:"IsSeen,omitempty"`
  1032. IsPacked *bool `protobuf:"varint,6,opt,name=IsPacked,proto3,oneof" json:"IsPacked,omitempty"`
  1033. IsShow *bool `protobuf:"varint,7,opt,name=IsShow,proto3,oneof" json:"IsShow,omitempty"`
  1034. }
  1035. func (x *ReqPlayer) Reset() {
  1036. *x = ReqPlayer{}
  1037. if protoimpl.UnsafeEnabled {
  1038. mi := &file_common_proto_msgTypes[18]
  1039. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1040. ms.StoreMessageInfo(mi)
  1041. }
  1042. }
  1043. func (x *ReqPlayer) String() string {
  1044. return protoimpl.X.MessageStringOf(x)
  1045. }
  1046. func (*ReqPlayer) ProtoMessage() {}
  1047. func (x *ReqPlayer) ProtoReflect() protoreflect.Message {
  1048. mi := &file_common_proto_msgTypes[18]
  1049. if protoimpl.UnsafeEnabled && x != nil {
  1050. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1051. if ms.LoadMessageInfo() == nil {
  1052. ms.StoreMessageInfo(mi)
  1053. }
  1054. return ms
  1055. }
  1056. return mi.MessageOf(x)
  1057. }
  1058. // Deprecated: Use ReqPlayer.ProtoReflect.Descriptor instead.
  1059. func (*ReqPlayer) Descriptor() ([]byte, []int) {
  1060. return file_common_proto_rawDescGZIP(), []int{18}
  1061. }
  1062. func (x *ReqPlayer) GetId() string {
  1063. if x != nil {
  1064. return x.Id
  1065. }
  1066. return ""
  1067. }
  1068. func (x *ReqPlayer) GetHandCards() []*ReqCard {
  1069. if x != nil {
  1070. return x.HandCards
  1071. }
  1072. return nil
  1073. }
  1074. func (x *ReqPlayer) GetSitPos() int32 {
  1075. if x != nil && x.SitPos != nil {
  1076. return *x.SitPos
  1077. }
  1078. return 0
  1079. }
  1080. func (x *ReqPlayer) GetIsDealer() bool {
  1081. if x != nil && x.IsDealer != nil {
  1082. return *x.IsDealer
  1083. }
  1084. return false
  1085. }
  1086. func (x *ReqPlayer) GetIsSeen() bool {
  1087. if x != nil && x.IsSeen != nil {
  1088. return *x.IsSeen
  1089. }
  1090. return false
  1091. }
  1092. func (x *ReqPlayer) GetIsPacked() bool {
  1093. if x != nil && x.IsPacked != nil {
  1094. return *x.IsPacked
  1095. }
  1096. return false
  1097. }
  1098. func (x *ReqPlayer) GetIsShow() bool {
  1099. if x != nil && x.IsShow != nil {
  1100. return *x.IsShow
  1101. }
  1102. return false
  1103. }
  1104. type ReqPlayerList struct {
  1105. state protoimpl.MessageState
  1106. sizeCache protoimpl.SizeCache
  1107. unknownFields protoimpl.UnknownFields
  1108. ReqPlayers []*ReqPlayer `protobuf:"bytes,1,rep,name=ReqPlayers,proto3" json:"ReqPlayers,omitempty"`
  1109. }
  1110. func (x *ReqPlayerList) Reset() {
  1111. *x = ReqPlayerList{}
  1112. if protoimpl.UnsafeEnabled {
  1113. mi := &file_common_proto_msgTypes[19]
  1114. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1115. ms.StoreMessageInfo(mi)
  1116. }
  1117. }
  1118. func (x *ReqPlayerList) String() string {
  1119. return protoimpl.X.MessageStringOf(x)
  1120. }
  1121. func (*ReqPlayerList) ProtoMessage() {}
  1122. func (x *ReqPlayerList) ProtoReflect() protoreflect.Message {
  1123. mi := &file_common_proto_msgTypes[19]
  1124. if protoimpl.UnsafeEnabled && x != nil {
  1125. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1126. if ms.LoadMessageInfo() == nil {
  1127. ms.StoreMessageInfo(mi)
  1128. }
  1129. return ms
  1130. }
  1131. return mi.MessageOf(x)
  1132. }
  1133. // Deprecated: Use ReqPlayerList.ProtoReflect.Descriptor instead.
  1134. func (*ReqPlayerList) Descriptor() ([]byte, []int) {
  1135. return file_common_proto_rawDescGZIP(), []int{19}
  1136. }
  1137. func (x *ReqPlayerList) GetReqPlayers() []*ReqPlayer {
  1138. if x != nil {
  1139. return x.ReqPlayers
  1140. }
  1141. return nil
  1142. }
  1143. type ReqGameRound struct {
  1144. state protoimpl.MessageState
  1145. sizeCache protoimpl.SizeCache
  1146. unknownFields protoimpl.UnknownFields
  1147. Rounds []*ReqRound `protobuf:"bytes,1,rep,name=Rounds,proto3" json:"Rounds,omitempty"`
  1148. }
  1149. func (x *ReqGameRound) Reset() {
  1150. *x = ReqGameRound{}
  1151. if protoimpl.UnsafeEnabled {
  1152. mi := &file_common_proto_msgTypes[20]
  1153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1154. ms.StoreMessageInfo(mi)
  1155. }
  1156. }
  1157. func (x *ReqGameRound) String() string {
  1158. return protoimpl.X.MessageStringOf(x)
  1159. }
  1160. func (*ReqGameRound) ProtoMessage() {}
  1161. func (x *ReqGameRound) ProtoReflect() protoreflect.Message {
  1162. mi := &file_common_proto_msgTypes[20]
  1163. if protoimpl.UnsafeEnabled && x != nil {
  1164. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1165. if ms.LoadMessageInfo() == nil {
  1166. ms.StoreMessageInfo(mi)
  1167. }
  1168. return ms
  1169. }
  1170. return mi.MessageOf(x)
  1171. }
  1172. // Deprecated: Use ReqGameRound.ProtoReflect.Descriptor instead.
  1173. func (*ReqGameRound) Descriptor() ([]byte, []int) {
  1174. return file_common_proto_rawDescGZIP(), []int{20}
  1175. }
  1176. func (x *ReqGameRound) GetRounds() []*ReqRound {
  1177. if x != nil {
  1178. return x.Rounds
  1179. }
  1180. return nil
  1181. }
  1182. type ReqRound struct {
  1183. state protoimpl.MessageState
  1184. sizeCache protoimpl.SizeCache
  1185. unknownFields protoimpl.UnknownFields
  1186. // 回合数
  1187. Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
  1188. // 回合座位
  1189. RoundSitPos int32 `protobuf:"varint,2,opt,name=roundSitPos,proto3" json:"roundSitPos,omitempty"`
  1190. // 回合操作
  1191. PlayerOpt *PlayerOpt `protobuf:"bytes,3,opt,name=playerOpt,proto3" json:"playerOpt,omitempty"`
  1192. // 用户id
  1193. UserId string `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"`
  1194. }
  1195. func (x *ReqRound) Reset() {
  1196. *x = ReqRound{}
  1197. if protoimpl.UnsafeEnabled {
  1198. mi := &file_common_proto_msgTypes[21]
  1199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1200. ms.StoreMessageInfo(mi)
  1201. }
  1202. }
  1203. func (x *ReqRound) String() string {
  1204. return protoimpl.X.MessageStringOf(x)
  1205. }
  1206. func (*ReqRound) ProtoMessage() {}
  1207. func (x *ReqRound) ProtoReflect() protoreflect.Message {
  1208. mi := &file_common_proto_msgTypes[21]
  1209. if protoimpl.UnsafeEnabled && x != nil {
  1210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1211. if ms.LoadMessageInfo() == nil {
  1212. ms.StoreMessageInfo(mi)
  1213. }
  1214. return ms
  1215. }
  1216. return mi.MessageOf(x)
  1217. }
  1218. // Deprecated: Use ReqRound.ProtoReflect.Descriptor instead.
  1219. func (*ReqRound) Descriptor() ([]byte, []int) {
  1220. return file_common_proto_rawDescGZIP(), []int{21}
  1221. }
  1222. func (x *ReqRound) GetRound() int32 {
  1223. if x != nil {
  1224. return x.Round
  1225. }
  1226. return 0
  1227. }
  1228. func (x *ReqRound) GetRoundSitPos() int32 {
  1229. if x != nil {
  1230. return x.RoundSitPos
  1231. }
  1232. return 0
  1233. }
  1234. func (x *ReqRound) GetPlayerOpt() *PlayerOpt {
  1235. if x != nil {
  1236. return x.PlayerOpt
  1237. }
  1238. return nil
  1239. }
  1240. func (x *ReqRound) GetUserId() string {
  1241. if x != nil {
  1242. return x.UserId
  1243. }
  1244. return ""
  1245. }
  1246. // error
  1247. type MsgError struct {
  1248. state protoimpl.MessageState
  1249. sizeCache protoimpl.SizeCache
  1250. unknownFields protoimpl.UnknownFields
  1251. ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  1252. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  1253. }
  1254. func (x *MsgError) Reset() {
  1255. *x = MsgError{}
  1256. if protoimpl.UnsafeEnabled {
  1257. mi := &file_common_proto_msgTypes[22]
  1258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1259. ms.StoreMessageInfo(mi)
  1260. }
  1261. }
  1262. func (x *MsgError) String() string {
  1263. return protoimpl.X.MessageStringOf(x)
  1264. }
  1265. func (*MsgError) ProtoMessage() {}
  1266. func (x *MsgError) ProtoReflect() protoreflect.Message {
  1267. mi := &file_common_proto_msgTypes[22]
  1268. if protoimpl.UnsafeEnabled && x != nil {
  1269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1270. if ms.LoadMessageInfo() == nil {
  1271. ms.StoreMessageInfo(mi)
  1272. }
  1273. return ms
  1274. }
  1275. return mi.MessageOf(x)
  1276. }
  1277. // Deprecated: Use MsgError.ProtoReflect.Descriptor instead.
  1278. func (*MsgError) Descriptor() ([]byte, []int) {
  1279. return file_common_proto_rawDescGZIP(), []int{22}
  1280. }
  1281. func (x *MsgError) GetErrorCode() int32 {
  1282. if x != nil {
  1283. return x.ErrorCode
  1284. }
  1285. return 0
  1286. }
  1287. func (x *MsgError) GetErrorMsg() string {
  1288. if x != nil {
  1289. return x.ErrorMsg
  1290. }
  1291. return ""
  1292. }
  1293. type Hello struct {
  1294. state protoimpl.MessageState
  1295. sizeCache protoimpl.SizeCache
  1296. unknownFields protoimpl.UnknownFields
  1297. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1298. }
  1299. func (x *Hello) Reset() {
  1300. *x = Hello{}
  1301. if protoimpl.UnsafeEnabled {
  1302. mi := &file_common_proto_msgTypes[23]
  1303. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1304. ms.StoreMessageInfo(mi)
  1305. }
  1306. }
  1307. func (x *Hello) String() string {
  1308. return protoimpl.X.MessageStringOf(x)
  1309. }
  1310. func (*Hello) ProtoMessage() {}
  1311. func (x *Hello) ProtoReflect() protoreflect.Message {
  1312. mi := &file_common_proto_msgTypes[23]
  1313. if protoimpl.UnsafeEnabled && x != nil {
  1314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1315. if ms.LoadMessageInfo() == nil {
  1316. ms.StoreMessageInfo(mi)
  1317. }
  1318. return ms
  1319. }
  1320. return mi.MessageOf(x)
  1321. }
  1322. // Deprecated: Use Hello.ProtoReflect.Descriptor instead.
  1323. func (*Hello) Descriptor() ([]byte, []int) {
  1324. return file_common_proto_rawDescGZIP(), []int{23}
  1325. }
  1326. func (x *Hello) GetName() string {
  1327. if x != nil {
  1328. return x.Name
  1329. }
  1330. return ""
  1331. }
  1332. var File_common_proto protoreflect.FileDescriptor
  1333. var file_common_proto_rawDesc = []byte{
  1334. 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e,
  1335. 0x0a, 0x08, 0x52, 0x65, 0x73, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
  1336. 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
  1337. 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x6b, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1338. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x6b, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7f,
  1339. 0x0a, 0x08, 0x52, 0x65, 0x71, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  1340. 0x6b, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  1341. 0x6b, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  1342. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e,
  1343. 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01,
  1344. 0x28, 0x09, 0x52, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f,
  1345. 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e,
  1346. 0x4d, 0x73, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
  1347. 0x23, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06,
  1348. 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73,
  1349. 0x65, 0x72, 0x49, 0x64, 0x22, 0x23, 0x0a, 0x09, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x48, 0x61, 0x6c,
  1350. 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1351. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x0b, 0x52, 0x65, 0x73,
  1352. 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
  1353. 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  1354. 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1355. 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x6d, 0x65,
  1356. 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64,
  1357. 0x22, 0x93, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x71, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x6d,
  1358. 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1359. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
  1360. 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64,
  1361. 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1362. 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x74, 0x50,
  1363. 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x74, 0x50, 0x6f, 0x73,
  1364. 0x12, 0x24, 0x0a, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01,
  1365. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x52, 0x65, 0x71, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x08, 0x72, 0x6f,
  1366. 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x22, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x4c, 0x69,
  1367. 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1368. 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1e, 0x0a, 0x04, 0x53, 0x68,
  1369. 0x6f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  1370. 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x0b, 0x52, 0x65,
  1371. 0x73, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x6d,
  1372. 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49,
  1373. 0x64, 0x22, 0xbf, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66,
  1374. 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1375. 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d,
  1376. 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x6d,
  1377. 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61,
  1378. 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x53,
  1379. 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70,
  1380. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70,
  1381. 0x65, 0x12, 0x40, 0x0a, 0x11, 0x74, 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f,
  1382. 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x54,
  1383. 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74,
  1384. 0x52, 0x11, 0x74, 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f, 0x6f, 0x6d, 0x4c,
  1385. 0x69, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x11, 0x54, 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69,
  1386. 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0d, 0x74, 0x65, 0x65, 0x6e,
  1387. 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1388. 0x0e, 0x2e, 0x54, 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f, 0x6f, 0x6d, 0x52,
  1389. 0x0d, 0x74, 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f, 0x6f, 0x6d, 0x22, 0xeb,
  1390. 0x01, 0x0a, 0x0d, 0x54, 0x65, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x74, 0x69, 0x52, 0x6f, 0x6f, 0x6d,
  1391. 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1392. 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x69, 0x6e,
  1393. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x69, 0x6e,
  1394. 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x61, 0x6c, 0x4c, 0x69, 0x6d, 0x6d, 0x69, 0x74, 0x18,
  1395. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x61, 0x6c, 0x4c, 0x69, 0x6d, 0x6d,
  1396. 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04,
  1397. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x22,
  1398. 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x05,
  1399. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65,
  1400. 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18,
  1401. 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c,
  1402. 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
  1403. 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  1404. 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x25, 0x0a, 0x0b,
  1405. 0x52, 0x65, 0x71, 0x44, 0x65, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73,
  1406. 0x69, 0x74, 0x50, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x74,
  1407. 0x50, 0x6f, 0x73, 0x22, 0x53, 0x0a, 0x0f, 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
  1408. 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x74, 0x50, 0x6f, 0x73,
  1409. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x28,
  1410. 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  1411. 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x52, 0x09, 0x70,
  1412. 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x22, 0x9e, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73,
  1413. 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  1414. 0x16, 0x0a, 0x06, 0x73, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  1415. 0x06, 0x73, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x28, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65,
  1416. 0x72, 0x4f, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x6c, 0x61,
  1417. 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70,
  1418. 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1419. 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x61, 0x6d,
  1420. 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49,
  1421. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
  1422. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9b, 0x01, 0x0a, 0x09, 0x50, 0x6c,
  1423. 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x12, 0x29, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x74,
  1424. 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x50, 0x6c, 0x61, 0x79,
  1425. 0x65, 0x72, 0x4f, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x54, 0x79,
  1426. 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x74, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
  1427. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x65, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
  1428. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03,
  1429. 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,
  1430. 0x26, 0x0a, 0x09, 0x73, 0x65, 0x65, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03,
  1431. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x52, 0x65, 0x71, 0x43, 0x61, 0x72, 0x64, 0x52, 0x09, 0x73, 0x65,
  1432. 0x65, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x52,
  1433. 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1434. 0x02, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
  1435. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61,
  1436. 0x79, 0x65, 0x72, 0x52, 0x0a, 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12,
  1437. 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  1438. 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x6e, 0x64,
  1439. 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2b, 0x0a,
  1440. 0x09, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
  1441. 0x32, 0x0d, 0x2e, 0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x52,
  1442. 0x09, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x35, 0x0a, 0x07, 0x52, 0x65,
  1443. 0x71, 0x43, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01,
  1444. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x50,
  1445. 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x50, 0x6f, 0x69, 0x6e,
  1446. 0x74, 0x22, 0x97, 0x02, 0x0a, 0x09, 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12,
  1447. 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12,
  1448. 0x26, 0x0a, 0x09, 0x48, 0x61, 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03,
  1449. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x52, 0x65, 0x71, 0x43, 0x61, 0x72, 0x64, 0x52, 0x09, 0x48, 0x61,
  1450. 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x53, 0x69, 0x74, 0x50, 0x6f,
  1451. 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x06, 0x53, 0x69, 0x74, 0x50, 0x6f,
  1452. 0x73, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x49, 0x73, 0x44, 0x65, 0x61, 0x6c, 0x65, 0x72,
  1453. 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x08, 0x49, 0x73, 0x44, 0x65, 0x61, 0x6c,
  1454. 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x65, 0x65, 0x6e, 0x18,
  1455. 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x06, 0x49, 0x73, 0x53, 0x65, 0x65, 0x6e, 0x88,
  1456. 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x49, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x06,
  1457. 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x08, 0x49, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64,
  1458. 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20,
  1459. 0x01, 0x28, 0x08, 0x48, 0x04, 0x52, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x88, 0x01, 0x01,
  1460. 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x53, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
  1461. 0x49, 0x73, 0x44, 0x65, 0x61, 0x6c, 0x65, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x49, 0x73, 0x53,
  1462. 0x65, 0x65, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x49, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64,
  1463. 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x3b, 0x0a, 0x0d, 0x52,
  1464. 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x0a,
  1465. 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1466. 0x32, 0x0a, 0x2e, 0x52, 0x65, 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x0a, 0x52, 0x65,
  1467. 0x71, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0x31, 0x0a, 0x0c, 0x52, 0x65, 0x71, 0x47,
  1468. 0x61, 0x6d, 0x65, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x06, 0x52, 0x6f, 0x75, 0x6e,
  1469. 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x65, 0x71, 0x52, 0x6f,
  1470. 0x75, 0x6e, 0x64, 0x52, 0x06, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x08,
  1471. 0x52, 0x65, 0x71, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e,
  1472. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x20,
  1473. 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x18, 0x02, 0x20,
  1474. 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x69, 0x74, 0x50, 0x6f, 0x73,
  1475. 0x12, 0x28, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x18, 0x03, 0x20,
  1476. 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x52,
  1477. 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
  1478. 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
  1479. 0x49, 0x64, 0x22, 0x46, 0x0a, 0x08, 0x4d, 0x73, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d,
  1480. 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1481. 0x28, 0x05, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a,
  1482. 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1483. 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x1b, 0x0a, 0x05, 0x48, 0x65,
  1484. 0x6c, 0x6c, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1485. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x76, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65,
  1486. 0x72, 0x4f, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f,
  1487. 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x53, 0x45,
  1488. 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x54, 0x5f, 0x50, 0x41, 0x43, 0x4b,
  1489. 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x41,
  1490. 0x4c, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x10,
  1491. 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x54, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x10,
  1492. 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x5f, 0x53, 0x48, 0x4f, 0x57, 0x10, 0x06, 0x42,
  1493. 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1494. }
  1495. var (
  1496. file_common_proto_rawDescOnce sync.Once
  1497. file_common_proto_rawDescData = file_common_proto_rawDesc
  1498. )
  1499. func file_common_proto_rawDescGZIP() []byte {
  1500. file_common_proto_rawDescOnce.Do(func() {
  1501. file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
  1502. })
  1503. return file_common_proto_rawDescData
  1504. }
  1505. var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1506. var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
  1507. var file_common_proto_goTypes = []interface{}{
  1508. (PlayerOptType)(0), // 0: PlayerOptType
  1509. (*ResLogin)(nil), // 1: ResLogin
  1510. (*ReqLogin)(nil), // 2: ReqLogin
  1511. (*EnterHall)(nil), // 3: EnterHall
  1512. (*LeaveHall)(nil), // 4: LeaveHall
  1513. (*ResJoinRoom)(nil), // 5: ResJoinRoom
  1514. (*ReqJoinRoom)(nil), // 6: ReqJoinRoom
  1515. (*PlayList)(nil), // 7: PlayList
  1516. (*Shop)(nil), // 8: Shop
  1517. (*ResGameInfo)(nil), // 9: ResGameInfo
  1518. (*ReqGameInfo)(nil), // 10: ReqGameInfo
  1519. (*TeenPattiRoomList)(nil), // 11: TeenPattiRoomList
  1520. (*TeenPattiRoom)(nil), // 12: TeenPattiRoom
  1521. (*ReqDealCard)(nil), // 13: ReqDealCard
  1522. (*ReqPlayerAction)(nil), // 14: ReqPlayerAction
  1523. (*ResPlayerOptAction)(nil), // 15: ResPlayerOptAction
  1524. (*PlayerOpt)(nil), // 16: PlayerOpt
  1525. (*ReqRoom)(nil), // 17: ReqRoom
  1526. (*ReqCard)(nil), // 18: ReqCard
  1527. (*ReqPlayer)(nil), // 19: ReqPlayer
  1528. (*ReqPlayerList)(nil), // 20: ReqPlayerList
  1529. (*ReqGameRound)(nil), // 21: ReqGameRound
  1530. (*ReqRound)(nil), // 22: ReqRound
  1531. (*MsgError)(nil), // 23: MsgError
  1532. (*Hello)(nil), // 24: Hello
  1533. }
  1534. var file_common_proto_depIdxs = []int32{
  1535. 23, // 0: ReqLogin.error:type_name -> MsgError
  1536. 17, // 1: ReqJoinRoom.roomInfo:type_name -> ReqRoom
  1537. 11, // 2: ReqGameInfo.teenPattiRoomList:type_name -> TeenPattiRoomList
  1538. 12, // 3: TeenPattiRoomList.teenPattiRoom:type_name -> TeenPattiRoom
  1539. 16, // 4: ReqPlayerAction.playerOpt:type_name -> PlayerOpt
  1540. 16, // 5: ResPlayerOptAction.playerOpt:type_name -> PlayerOpt
  1541. 0, // 6: PlayerOpt.opt_type:type_name -> PlayerOptType
  1542. 18, // 7: PlayerOpt.seenCards:type_name -> ReqCard
  1543. 19, // 8: ReqRoom.ReqPlayers:type_name -> ReqPlayer
  1544. 21, // 9: ReqRoom.GameRound:type_name -> ReqGameRound
  1545. 18, // 10: ReqPlayer.HandCards:type_name -> ReqCard
  1546. 19, // 11: ReqPlayerList.ReqPlayers:type_name -> ReqPlayer
  1547. 22, // 12: ReqGameRound.Rounds:type_name -> ReqRound
  1548. 16, // 13: ReqRound.playerOpt:type_name -> PlayerOpt
  1549. 14, // [14:14] is the sub-list for method output_type
  1550. 14, // [14:14] is the sub-list for method input_type
  1551. 14, // [14:14] is the sub-list for extension type_name
  1552. 14, // [14:14] is the sub-list for extension extendee
  1553. 0, // [0:14] is the sub-list for field type_name
  1554. }
  1555. func init() { file_common_proto_init() }
  1556. func file_common_proto_init() {
  1557. if File_common_proto != nil {
  1558. return
  1559. }
  1560. if !protoimpl.UnsafeEnabled {
  1561. file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1562. switch v := v.(*ResLogin); i {
  1563. case 0:
  1564. return &v.state
  1565. case 1:
  1566. return &v.sizeCache
  1567. case 2:
  1568. return &v.unknownFields
  1569. default:
  1570. return nil
  1571. }
  1572. }
  1573. file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1574. switch v := v.(*ReqLogin); i {
  1575. case 0:
  1576. return &v.state
  1577. case 1:
  1578. return &v.sizeCache
  1579. case 2:
  1580. return &v.unknownFields
  1581. default:
  1582. return nil
  1583. }
  1584. }
  1585. file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1586. switch v := v.(*EnterHall); i {
  1587. case 0:
  1588. return &v.state
  1589. case 1:
  1590. return &v.sizeCache
  1591. case 2:
  1592. return &v.unknownFields
  1593. default:
  1594. return nil
  1595. }
  1596. }
  1597. file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1598. switch v := v.(*LeaveHall); i {
  1599. case 0:
  1600. return &v.state
  1601. case 1:
  1602. return &v.sizeCache
  1603. case 2:
  1604. return &v.unknownFields
  1605. default:
  1606. return nil
  1607. }
  1608. }
  1609. file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1610. switch v := v.(*ResJoinRoom); i {
  1611. case 0:
  1612. return &v.state
  1613. case 1:
  1614. return &v.sizeCache
  1615. case 2:
  1616. return &v.unknownFields
  1617. default:
  1618. return nil
  1619. }
  1620. }
  1621. file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1622. switch v := v.(*ReqJoinRoom); i {
  1623. case 0:
  1624. return &v.state
  1625. case 1:
  1626. return &v.sizeCache
  1627. case 2:
  1628. return &v.unknownFields
  1629. default:
  1630. return nil
  1631. }
  1632. }
  1633. file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1634. switch v := v.(*PlayList); i {
  1635. case 0:
  1636. return &v.state
  1637. case 1:
  1638. return &v.sizeCache
  1639. case 2:
  1640. return &v.unknownFields
  1641. default:
  1642. return nil
  1643. }
  1644. }
  1645. file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1646. switch v := v.(*Shop); i {
  1647. case 0:
  1648. return &v.state
  1649. case 1:
  1650. return &v.sizeCache
  1651. case 2:
  1652. return &v.unknownFields
  1653. default:
  1654. return nil
  1655. }
  1656. }
  1657. file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1658. switch v := v.(*ResGameInfo); i {
  1659. case 0:
  1660. return &v.state
  1661. case 1:
  1662. return &v.sizeCache
  1663. case 2:
  1664. return &v.unknownFields
  1665. default:
  1666. return nil
  1667. }
  1668. }
  1669. file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1670. switch v := v.(*ReqGameInfo); i {
  1671. case 0:
  1672. return &v.state
  1673. case 1:
  1674. return &v.sizeCache
  1675. case 2:
  1676. return &v.unknownFields
  1677. default:
  1678. return nil
  1679. }
  1680. }
  1681. file_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1682. switch v := v.(*TeenPattiRoomList); i {
  1683. case 0:
  1684. return &v.state
  1685. case 1:
  1686. return &v.sizeCache
  1687. case 2:
  1688. return &v.unknownFields
  1689. default:
  1690. return nil
  1691. }
  1692. }
  1693. file_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1694. switch v := v.(*TeenPattiRoom); i {
  1695. case 0:
  1696. return &v.state
  1697. case 1:
  1698. return &v.sizeCache
  1699. case 2:
  1700. return &v.unknownFields
  1701. default:
  1702. return nil
  1703. }
  1704. }
  1705. file_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1706. switch v := v.(*ReqDealCard); i {
  1707. case 0:
  1708. return &v.state
  1709. case 1:
  1710. return &v.sizeCache
  1711. case 2:
  1712. return &v.unknownFields
  1713. default:
  1714. return nil
  1715. }
  1716. }
  1717. file_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1718. switch v := v.(*ReqPlayerAction); i {
  1719. case 0:
  1720. return &v.state
  1721. case 1:
  1722. return &v.sizeCache
  1723. case 2:
  1724. return &v.unknownFields
  1725. default:
  1726. return nil
  1727. }
  1728. }
  1729. file_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1730. switch v := v.(*ResPlayerOptAction); i {
  1731. case 0:
  1732. return &v.state
  1733. case 1:
  1734. return &v.sizeCache
  1735. case 2:
  1736. return &v.unknownFields
  1737. default:
  1738. return nil
  1739. }
  1740. }
  1741. file_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1742. switch v := v.(*PlayerOpt); i {
  1743. case 0:
  1744. return &v.state
  1745. case 1:
  1746. return &v.sizeCache
  1747. case 2:
  1748. return &v.unknownFields
  1749. default:
  1750. return nil
  1751. }
  1752. }
  1753. file_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1754. switch v := v.(*ReqRoom); i {
  1755. case 0:
  1756. return &v.state
  1757. case 1:
  1758. return &v.sizeCache
  1759. case 2:
  1760. return &v.unknownFields
  1761. default:
  1762. return nil
  1763. }
  1764. }
  1765. file_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1766. switch v := v.(*ReqCard); i {
  1767. case 0:
  1768. return &v.state
  1769. case 1:
  1770. return &v.sizeCache
  1771. case 2:
  1772. return &v.unknownFields
  1773. default:
  1774. return nil
  1775. }
  1776. }
  1777. file_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1778. switch v := v.(*ReqPlayer); i {
  1779. case 0:
  1780. return &v.state
  1781. case 1:
  1782. return &v.sizeCache
  1783. case 2:
  1784. return &v.unknownFields
  1785. default:
  1786. return nil
  1787. }
  1788. }
  1789. file_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1790. switch v := v.(*ReqPlayerList); i {
  1791. case 0:
  1792. return &v.state
  1793. case 1:
  1794. return &v.sizeCache
  1795. case 2:
  1796. return &v.unknownFields
  1797. default:
  1798. return nil
  1799. }
  1800. }
  1801. file_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  1802. switch v := v.(*ReqGameRound); i {
  1803. case 0:
  1804. return &v.state
  1805. case 1:
  1806. return &v.sizeCache
  1807. case 2:
  1808. return &v.unknownFields
  1809. default:
  1810. return nil
  1811. }
  1812. }
  1813. file_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  1814. switch v := v.(*ReqRound); i {
  1815. case 0:
  1816. return &v.state
  1817. case 1:
  1818. return &v.sizeCache
  1819. case 2:
  1820. return &v.unknownFields
  1821. default:
  1822. return nil
  1823. }
  1824. }
  1825. file_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  1826. switch v := v.(*MsgError); i {
  1827. case 0:
  1828. return &v.state
  1829. case 1:
  1830. return &v.sizeCache
  1831. case 2:
  1832. return &v.unknownFields
  1833. default:
  1834. return nil
  1835. }
  1836. }
  1837. file_common_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  1838. switch v := v.(*Hello); i {
  1839. case 0:
  1840. return &v.state
  1841. case 1:
  1842. return &v.sizeCache
  1843. case 2:
  1844. return &v.unknownFields
  1845. default:
  1846. return nil
  1847. }
  1848. }
  1849. }
  1850. file_common_proto_msgTypes[18].OneofWrappers = []interface{}{}
  1851. type x struct{}
  1852. out := protoimpl.TypeBuilder{
  1853. File: protoimpl.DescBuilder{
  1854. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1855. RawDescriptor: file_common_proto_rawDesc,
  1856. NumEnums: 1,
  1857. NumMessages: 24,
  1858. NumExtensions: 0,
  1859. NumServices: 0,
  1860. },
  1861. GoTypes: file_common_proto_goTypes,
  1862. DependencyIndexes: file_common_proto_depIdxs,
  1863. EnumInfos: file_common_proto_enumTypes,
  1864. MessageInfos: file_common_proto_msgTypes,
  1865. }.Build()
  1866. File_common_proto = out.File
  1867. file_common_proto_rawDesc = nil
  1868. file_common_proto_goTypes = nil
  1869. file_common_proto_depIdxs = nil
  1870. }