game.pb.go 83 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.11.2
  5. // source: game.proto
  6. package gameproto
  7. import (
  8. any1 "github.com/golang/protobuf/ptypes/any"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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 NotifyTypeEnum int32
  21. const (
  22. NotifyTypeEnum_NotifyTypePing NotifyTypeEnum = 0
  23. NotifyTypeEnum_NotifyTypeJoinRoom NotifyTypeEnum = 1
  24. NotifyTypeEnum_NotifyTypeLeaveRoom NotifyTypeEnum = 2
  25. NotifyTypeEnum_NotifyTypeCreateRoom NotifyTypeEnum = 3
  26. NotifyTypeEnum_NotifyTypeConnect NotifyTypeEnum = 4
  27. NotifyTypeEnum_NotifyTypeDisconnect NotifyTypeEnum = 5
  28. NotifyTypeEnum_NotifyTypeReady NotifyTypeEnum = 6
  29. NotifyTypeEnum_NotifyTypeUnReady NotifyTypeEnum = 7
  30. NotifyTypeEnum_NotifyTypeStart NotifyTypeEnum = 8
  31. NotifyTypeEnum_NotifyTypeChooseMaster NotifyTypeEnum = 9
  32. NotifyTypeEnum_NotifyTypeChooseMasterFinish NotifyTypeEnum = 10
  33. NotifyTypeEnum_NotifyTypeChooseMul NotifyTypeEnum = 11
  34. NotifyTypeEnum_NotifyTypeChooseMulFinish NotifyTypeEnum = 12
  35. NotifyTypeEnum_NotifyTypeGameInit NotifyTypeEnum = 13
  36. NotifyTypeEnum_NotifyTypeOpen NotifyTypeEnum = 14
  37. NotifyTypeEnum_NotifyTypeOpenFinish NotifyTypeEnum = 15
  38. NotifyTypeEnum_NotifyTypeMsgResp NotifyTypeEnum = 16 //简单的返回
  39. NotifyTypeEnum_NotifyTypeWaitReady NotifyTypeEnum = 17
  40. )
  41. // Enum value maps for NotifyTypeEnum.
  42. var (
  43. NotifyTypeEnum_name = map[int32]string{
  44. 0: "NotifyTypePing",
  45. 1: "NotifyTypeJoinRoom",
  46. 2: "NotifyTypeLeaveRoom",
  47. 3: "NotifyTypeCreateRoom",
  48. 4: "NotifyTypeConnect",
  49. 5: "NotifyTypeDisconnect",
  50. 6: "NotifyTypeReady",
  51. 7: "NotifyTypeUnReady",
  52. 8: "NotifyTypeStart",
  53. 9: "NotifyTypeChooseMaster",
  54. 10: "NotifyTypeChooseMasterFinish",
  55. 11: "NotifyTypeChooseMul",
  56. 12: "NotifyTypeChooseMulFinish",
  57. 13: "NotifyTypeGameInit",
  58. 14: "NotifyTypeOpen",
  59. 15: "NotifyTypeOpenFinish",
  60. 16: "NotifyTypeMsgResp",
  61. 17: "NotifyTypeWaitReady",
  62. }
  63. NotifyTypeEnum_value = map[string]int32{
  64. "NotifyTypePing": 0,
  65. "NotifyTypeJoinRoom": 1,
  66. "NotifyTypeLeaveRoom": 2,
  67. "NotifyTypeCreateRoom": 3,
  68. "NotifyTypeConnect": 4,
  69. "NotifyTypeDisconnect": 5,
  70. "NotifyTypeReady": 6,
  71. "NotifyTypeUnReady": 7,
  72. "NotifyTypeStart": 8,
  73. "NotifyTypeChooseMaster": 9,
  74. "NotifyTypeChooseMasterFinish": 10,
  75. "NotifyTypeChooseMul": 11,
  76. "NotifyTypeChooseMulFinish": 12,
  77. "NotifyTypeGameInit": 13,
  78. "NotifyTypeOpen": 14,
  79. "NotifyTypeOpenFinish": 15,
  80. "NotifyTypeMsgResp": 16,
  81. "NotifyTypeWaitReady": 17,
  82. }
  83. )
  84. func (x NotifyTypeEnum) Enum() *NotifyTypeEnum {
  85. p := new(NotifyTypeEnum)
  86. *p = x
  87. return p
  88. }
  89. func (x NotifyTypeEnum) String() string {
  90. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  91. }
  92. func (NotifyTypeEnum) Descriptor() protoreflect.EnumDescriptor {
  93. return file_game_proto_enumTypes[0].Descriptor()
  94. }
  95. func (NotifyTypeEnum) Type() protoreflect.EnumType {
  96. return &file_game_proto_enumTypes[0]
  97. }
  98. func (x NotifyTypeEnum) Number() protoreflect.EnumNumber {
  99. return protoreflect.EnumNumber(x)
  100. }
  101. // Deprecated: Use NotifyTypeEnum.Descriptor instead.
  102. func (NotifyTypeEnum) EnumDescriptor() ([]byte, []int) {
  103. return file_game_proto_rawDescGZIP(), []int{0}
  104. }
  105. type DataType int32
  106. const (
  107. DataType_DataTypeNormal DataType = 0 //0x00000000
  108. DataType_DataTypeGZip DataType = 2 //0x00000010
  109. DataType_DataTypeEnc DataType = 4 //0x00000100
  110. )
  111. // Enum value maps for DataType.
  112. var (
  113. DataType_name = map[int32]string{
  114. 0: "DataTypeNormal",
  115. 2: "DataTypeGZip",
  116. 4: "DataTypeEnc",
  117. }
  118. DataType_value = map[string]int32{
  119. "DataTypeNormal": 0,
  120. "DataTypeGZip": 2,
  121. "DataTypeEnc": 4,
  122. }
  123. )
  124. func (x DataType) Enum() *DataType {
  125. p := new(DataType)
  126. *p = x
  127. return p
  128. }
  129. func (x DataType) String() string {
  130. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  131. }
  132. func (DataType) Descriptor() protoreflect.EnumDescriptor {
  133. return file_game_proto_enumTypes[1].Descriptor()
  134. }
  135. func (DataType) Type() protoreflect.EnumType {
  136. return &file_game_proto_enumTypes[1]
  137. }
  138. func (x DataType) Number() protoreflect.EnumNumber {
  139. return protoreflect.EnumNumber(x)
  140. }
  141. // Deprecated: Use DataType.Descriptor instead.
  142. func (DataType) EnumDescriptor() ([]byte, []int) {
  143. return file_game_proto_rawDescGZIP(), []int{1}
  144. }
  145. type RoomType int32
  146. const (
  147. RoomType_RoomTypeFree RoomType = 0
  148. RoomType_RoomTypeNormal RoomType = 1
  149. )
  150. // Enum value maps for RoomType.
  151. var (
  152. RoomType_name = map[int32]string{
  153. 0: "RoomTypeFree",
  154. 1: "RoomTypeNormal",
  155. }
  156. RoomType_value = map[string]int32{
  157. "RoomTypeFree": 0,
  158. "RoomTypeNormal": 1,
  159. }
  160. )
  161. func (x RoomType) Enum() *RoomType {
  162. p := new(RoomType)
  163. *p = x
  164. return p
  165. }
  166. func (x RoomType) String() string {
  167. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  168. }
  169. func (RoomType) Descriptor() protoreflect.EnumDescriptor {
  170. return file_game_proto_enumTypes[2].Descriptor()
  171. }
  172. func (RoomType) Type() protoreflect.EnumType {
  173. return &file_game_proto_enumTypes[2]
  174. }
  175. func (x RoomType) Number() protoreflect.EnumNumber {
  176. return protoreflect.EnumNumber(x)
  177. }
  178. // Deprecated: Use RoomType.Descriptor instead.
  179. func (RoomType) EnumDescriptor() ([]byte, []int) {
  180. return file_game_proto_rawDescGZIP(), []int{2}
  181. }
  182. type RespStatus int32
  183. const (
  184. RespStatus_RespStatusSucc RespStatus = 0
  185. RespStatus_RespStatusFailed RespStatus = 1
  186. )
  187. // Enum value maps for RespStatus.
  188. var (
  189. RespStatus_name = map[int32]string{
  190. 0: "RespStatusSucc",
  191. 1: "RespStatusFailed",
  192. }
  193. RespStatus_value = map[string]int32{
  194. "RespStatusSucc": 0,
  195. "RespStatusFailed": 1,
  196. }
  197. )
  198. func (x RespStatus) Enum() *RespStatus {
  199. p := new(RespStatus)
  200. *p = x
  201. return p
  202. }
  203. func (x RespStatus) String() string {
  204. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  205. }
  206. func (RespStatus) Descriptor() protoreflect.EnumDescriptor {
  207. return file_game_proto_enumTypes[3].Descriptor()
  208. }
  209. func (RespStatus) Type() protoreflect.EnumType {
  210. return &file_game_proto_enumTypes[3]
  211. }
  212. func (x RespStatus) Number() protoreflect.EnumNumber {
  213. return protoreflect.EnumNumber(x)
  214. }
  215. // Deprecated: Use RespStatus.Descriptor instead.
  216. func (RespStatus) EnumDescriptor() ([]byte, []int) {
  217. return file_game_proto_rawDescGZIP(), []int{3}
  218. }
  219. //Ping
  220. type Ping struct {
  221. state protoimpl.MessageState
  222. sizeCache protoimpl.SizeCache
  223. unknownFields protoimpl.UnknownFields
  224. }
  225. func (x *Ping) Reset() {
  226. *x = Ping{}
  227. if protoimpl.UnsafeEnabled {
  228. mi := &file_game_proto_msgTypes[0]
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. ms.StoreMessageInfo(mi)
  231. }
  232. }
  233. func (x *Ping) String() string {
  234. return protoimpl.X.MessageStringOf(x)
  235. }
  236. func (*Ping) ProtoMessage() {}
  237. func (x *Ping) ProtoReflect() protoreflect.Message {
  238. mi := &file_game_proto_msgTypes[0]
  239. if protoimpl.UnsafeEnabled && x != nil {
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. if ms.LoadMessageInfo() == nil {
  242. ms.StoreMessageInfo(mi)
  243. }
  244. return ms
  245. }
  246. return mi.MessageOf(x)
  247. }
  248. // Deprecated: Use Ping.ProtoReflect.Descriptor instead.
  249. func (*Ping) Descriptor() ([]byte, []int) {
  250. return file_game_proto_rawDescGZIP(), []int{0}
  251. }
  252. type MsgResp struct {
  253. state protoimpl.MessageState
  254. sizeCache protoimpl.SizeCache
  255. unknownFields protoimpl.UnknownFields
  256. Once string `protobuf:"bytes,1,opt,name=once,proto3" json:"once,omitempty"`
  257. Status RespStatus `protobuf:"varint,2,opt,name=status,proto3,enum=gameproto.RespStatus" json:"status,omitempty"`
  258. Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
  259. Data *any1.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
  260. }
  261. func (x *MsgResp) Reset() {
  262. *x = MsgResp{}
  263. if protoimpl.UnsafeEnabled {
  264. mi := &file_game_proto_msgTypes[1]
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. ms.StoreMessageInfo(mi)
  267. }
  268. }
  269. func (x *MsgResp) String() string {
  270. return protoimpl.X.MessageStringOf(x)
  271. }
  272. func (*MsgResp) ProtoMessage() {}
  273. func (x *MsgResp) ProtoReflect() protoreflect.Message {
  274. mi := &file_game_proto_msgTypes[1]
  275. if protoimpl.UnsafeEnabled && x != nil {
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. if ms.LoadMessageInfo() == nil {
  278. ms.StoreMessageInfo(mi)
  279. }
  280. return ms
  281. }
  282. return mi.MessageOf(x)
  283. }
  284. // Deprecated: Use MsgResp.ProtoReflect.Descriptor instead.
  285. func (*MsgResp) Descriptor() ([]byte, []int) {
  286. return file_game_proto_rawDescGZIP(), []int{1}
  287. }
  288. func (x *MsgResp) GetOnce() string {
  289. if x != nil {
  290. return x.Once
  291. }
  292. return ""
  293. }
  294. func (x *MsgResp) GetStatus() RespStatus {
  295. if x != nil {
  296. return x.Status
  297. }
  298. return RespStatus_RespStatusSucc
  299. }
  300. func (x *MsgResp) GetMsg() string {
  301. if x != nil {
  302. return x.Msg
  303. }
  304. return ""
  305. }
  306. func (x *MsgResp) GetData() *any1.Any {
  307. if x != nil {
  308. return x.Data
  309. }
  310. return nil
  311. }
  312. type Room struct {
  313. state protoimpl.MessageState
  314. sizeCache protoimpl.SizeCache
  315. unknownFields protoimpl.UnknownFields
  316. ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  317. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  318. NeedPwd bool `protobuf:"varint,10,opt,name=needPwd,proto3" json:"needPwd,omitempty"`
  319. RoomType RoomType `protobuf:"varint,3,opt,name=RoomType,proto3,enum=gameproto.RoomType" json:"RoomType,omitempty"`
  320. BaseAmount float64 `protobuf:"fixed64,4,opt,name=BaseAmount,proto3" json:"BaseAmount,omitempty"`
  321. ChairUserID1 uint32 `protobuf:"varint,5,opt,name=ChairUserID1,proto3" json:"ChairUserID1,omitempty"`
  322. ChairUserID2 uint32 `protobuf:"varint,6,opt,name=ChairUserID2,proto3" json:"ChairUserID2,omitempty"`
  323. ChairUserID3 uint32 `protobuf:"varint,7,opt,name=ChairUserID3,proto3" json:"ChairUserID3,omitempty"`
  324. ChairUserID4 uint32 `protobuf:"varint,8,opt,name=ChairUserID4,proto3" json:"ChairUserID4,omitempty"`
  325. ChairUserID5 uint32 `protobuf:"varint,9,opt,name=ChairUserID5,proto3" json:"ChairUserID5,omitempty"`
  326. Status uint32 `protobuf:"varint,11,opt,name=Status,proto3" json:"Status,omitempty"`
  327. }
  328. func (x *Room) Reset() {
  329. *x = Room{}
  330. if protoimpl.UnsafeEnabled {
  331. mi := &file_game_proto_msgTypes[2]
  332. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  333. ms.StoreMessageInfo(mi)
  334. }
  335. }
  336. func (x *Room) String() string {
  337. return protoimpl.X.MessageStringOf(x)
  338. }
  339. func (*Room) ProtoMessage() {}
  340. func (x *Room) ProtoReflect() protoreflect.Message {
  341. mi := &file_game_proto_msgTypes[2]
  342. if protoimpl.UnsafeEnabled && x != nil {
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. if ms.LoadMessageInfo() == nil {
  345. ms.StoreMessageInfo(mi)
  346. }
  347. return ms
  348. }
  349. return mi.MessageOf(x)
  350. }
  351. // Deprecated: Use Room.ProtoReflect.Descriptor instead.
  352. func (*Room) Descriptor() ([]byte, []int) {
  353. return file_game_proto_rawDescGZIP(), []int{2}
  354. }
  355. func (x *Room) GetID() uint32 {
  356. if x != nil {
  357. return x.ID
  358. }
  359. return 0
  360. }
  361. func (x *Room) GetName() string {
  362. if x != nil {
  363. return x.Name
  364. }
  365. return ""
  366. }
  367. func (x *Room) GetNeedPwd() bool {
  368. if x != nil {
  369. return x.NeedPwd
  370. }
  371. return false
  372. }
  373. func (x *Room) GetRoomType() RoomType {
  374. if x != nil {
  375. return x.RoomType
  376. }
  377. return RoomType_RoomTypeFree
  378. }
  379. func (x *Room) GetBaseAmount() float64 {
  380. if x != nil {
  381. return x.BaseAmount
  382. }
  383. return 0
  384. }
  385. func (x *Room) GetChairUserID1() uint32 {
  386. if x != nil {
  387. return x.ChairUserID1
  388. }
  389. return 0
  390. }
  391. func (x *Room) GetChairUserID2() uint32 {
  392. if x != nil {
  393. return x.ChairUserID2
  394. }
  395. return 0
  396. }
  397. func (x *Room) GetChairUserID3() uint32 {
  398. if x != nil {
  399. return x.ChairUserID3
  400. }
  401. return 0
  402. }
  403. func (x *Room) GetChairUserID4() uint32 {
  404. if x != nil {
  405. return x.ChairUserID4
  406. }
  407. return 0
  408. }
  409. func (x *Room) GetChairUserID5() uint32 {
  410. if x != nil {
  411. return x.ChairUserID5
  412. }
  413. return 0
  414. }
  415. func (x *Room) GetStatus() uint32 {
  416. if x != nil {
  417. return x.Status
  418. }
  419. return 0
  420. }
  421. type RoomDetail struct {
  422. state protoimpl.MessageState
  423. sizeCache protoimpl.SizeCache
  424. unknownFields protoimpl.UnknownFields
  425. ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  426. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  427. NeedPwd bool `protobuf:"varint,10,opt,name=needPwd,proto3" json:"needPwd,omitempty"`
  428. RoomType RoomType `protobuf:"varint,3,opt,name=RoomType,proto3,enum=gameproto.RoomType" json:"RoomType,omitempty"`
  429. BaseAmount float64 `protobuf:"fixed64,4,opt,name=BaseAmount,proto3" json:"BaseAmount,omitempty"`
  430. ChairUserID1 uint32 `protobuf:"varint,5,opt,name=ChairUserID1,proto3" json:"ChairUserID1,omitempty"`
  431. ChairUserID2 uint32 `protobuf:"varint,6,opt,name=ChairUserID2,proto3" json:"ChairUserID2,omitempty"`
  432. ChairUserID3 uint32 `protobuf:"varint,7,opt,name=ChairUserID3,proto3" json:"ChairUserID3,omitempty"`
  433. ChairUserID4 uint32 `protobuf:"varint,8,opt,name=ChairUserID4,proto3" json:"ChairUserID4,omitempty"`
  434. ChairUserID5 uint32 `protobuf:"varint,9,opt,name=ChairUserID5,proto3" json:"ChairUserID5,omitempty"`
  435. Status uint32 `protobuf:"varint,11,opt,name=Status,proto3" json:"Status,omitempty"`
  436. StatusStartTime int64 `protobuf:"varint,13,opt,name=StatusStartTime,proto3" json:"StatusStartTime,omitempty"`
  437. RoomUserList []*RoomUser `protobuf:"bytes,12,rep,name=RoomUserList,proto3" json:"RoomUserList,omitempty"`
  438. TimeNow int64 `protobuf:"varint,14,opt,name=TimeNow,proto3" json:"TimeNow,omitempty"`
  439. }
  440. func (x *RoomDetail) Reset() {
  441. *x = RoomDetail{}
  442. if protoimpl.UnsafeEnabled {
  443. mi := &file_game_proto_msgTypes[3]
  444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  445. ms.StoreMessageInfo(mi)
  446. }
  447. }
  448. func (x *RoomDetail) String() string {
  449. return protoimpl.X.MessageStringOf(x)
  450. }
  451. func (*RoomDetail) ProtoMessage() {}
  452. func (x *RoomDetail) ProtoReflect() protoreflect.Message {
  453. mi := &file_game_proto_msgTypes[3]
  454. if protoimpl.UnsafeEnabled && x != nil {
  455. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  456. if ms.LoadMessageInfo() == nil {
  457. ms.StoreMessageInfo(mi)
  458. }
  459. return ms
  460. }
  461. return mi.MessageOf(x)
  462. }
  463. // Deprecated: Use RoomDetail.ProtoReflect.Descriptor instead.
  464. func (*RoomDetail) Descriptor() ([]byte, []int) {
  465. return file_game_proto_rawDescGZIP(), []int{3}
  466. }
  467. func (x *RoomDetail) GetID() uint32 {
  468. if x != nil {
  469. return x.ID
  470. }
  471. return 0
  472. }
  473. func (x *RoomDetail) GetName() string {
  474. if x != nil {
  475. return x.Name
  476. }
  477. return ""
  478. }
  479. func (x *RoomDetail) GetNeedPwd() bool {
  480. if x != nil {
  481. return x.NeedPwd
  482. }
  483. return false
  484. }
  485. func (x *RoomDetail) GetRoomType() RoomType {
  486. if x != nil {
  487. return x.RoomType
  488. }
  489. return RoomType_RoomTypeFree
  490. }
  491. func (x *RoomDetail) GetBaseAmount() float64 {
  492. if x != nil {
  493. return x.BaseAmount
  494. }
  495. return 0
  496. }
  497. func (x *RoomDetail) GetChairUserID1() uint32 {
  498. if x != nil {
  499. return x.ChairUserID1
  500. }
  501. return 0
  502. }
  503. func (x *RoomDetail) GetChairUserID2() uint32 {
  504. if x != nil {
  505. return x.ChairUserID2
  506. }
  507. return 0
  508. }
  509. func (x *RoomDetail) GetChairUserID3() uint32 {
  510. if x != nil {
  511. return x.ChairUserID3
  512. }
  513. return 0
  514. }
  515. func (x *RoomDetail) GetChairUserID4() uint32 {
  516. if x != nil {
  517. return x.ChairUserID4
  518. }
  519. return 0
  520. }
  521. func (x *RoomDetail) GetChairUserID5() uint32 {
  522. if x != nil {
  523. return x.ChairUserID5
  524. }
  525. return 0
  526. }
  527. func (x *RoomDetail) GetStatus() uint32 {
  528. if x != nil {
  529. return x.Status
  530. }
  531. return 0
  532. }
  533. func (x *RoomDetail) GetStatusStartTime() int64 {
  534. if x != nil {
  535. return x.StatusStartTime
  536. }
  537. return 0
  538. }
  539. func (x *RoomDetail) GetRoomUserList() []*RoomUser {
  540. if x != nil {
  541. return x.RoomUserList
  542. }
  543. return nil
  544. }
  545. func (x *RoomDetail) GetTimeNow() int64 {
  546. if x != nil {
  547. return x.TimeNow
  548. }
  549. return 0
  550. }
  551. type RoomUser struct {
  552. state protoimpl.MessageState
  553. sizeCache protoimpl.SizeCache
  554. unknownFields protoimpl.UnknownFields
  555. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  556. CardList []uint32 `protobuf:"varint,2,rep,packed,name=CardList,proto3" json:"CardList,omitempty"`
  557. WinAmount float32 `protobuf:"fixed32,3,opt,name=WinAmount,proto3" json:"WinAmount,omitempty"`
  558. IsMaster bool `protobuf:"varint,4,opt,name=IsMaster,proto3" json:"IsMaster,omitempty"`
  559. MasterMul uint32 `protobuf:"varint,5,opt,name=MasterMul,proto3" json:"MasterMul,omitempty"`
  560. Mul uint32 `protobuf:"varint,6,opt,name=Mul,proto3" json:"Mul,omitempty"`
  561. Status uint32 `protobuf:"varint,7,opt,name=Status,proto3" json:"Status,omitempty"`
  562. Balance float64 `protobuf:"fixed64,8,opt,name=Balance,proto3" json:"Balance,omitempty"`
  563. }
  564. func (x *RoomUser) Reset() {
  565. *x = RoomUser{}
  566. if protoimpl.UnsafeEnabled {
  567. mi := &file_game_proto_msgTypes[4]
  568. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  569. ms.StoreMessageInfo(mi)
  570. }
  571. }
  572. func (x *RoomUser) String() string {
  573. return protoimpl.X.MessageStringOf(x)
  574. }
  575. func (*RoomUser) ProtoMessage() {}
  576. func (x *RoomUser) ProtoReflect() protoreflect.Message {
  577. mi := &file_game_proto_msgTypes[4]
  578. if protoimpl.UnsafeEnabled && x != nil {
  579. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  580. if ms.LoadMessageInfo() == nil {
  581. ms.StoreMessageInfo(mi)
  582. }
  583. return ms
  584. }
  585. return mi.MessageOf(x)
  586. }
  587. // Deprecated: Use RoomUser.ProtoReflect.Descriptor instead.
  588. func (*RoomUser) Descriptor() ([]byte, []int) {
  589. return file_game_proto_rawDescGZIP(), []int{4}
  590. }
  591. func (x *RoomUser) GetUserID() uint32 {
  592. if x != nil {
  593. return x.UserID
  594. }
  595. return 0
  596. }
  597. func (x *RoomUser) GetCardList() []uint32 {
  598. if x != nil {
  599. return x.CardList
  600. }
  601. return nil
  602. }
  603. func (x *RoomUser) GetWinAmount() float32 {
  604. if x != nil {
  605. return x.WinAmount
  606. }
  607. return 0
  608. }
  609. func (x *RoomUser) GetIsMaster() bool {
  610. if x != nil {
  611. return x.IsMaster
  612. }
  613. return false
  614. }
  615. func (x *RoomUser) GetMasterMul() uint32 {
  616. if x != nil {
  617. return x.MasterMul
  618. }
  619. return 0
  620. }
  621. func (x *RoomUser) GetMul() uint32 {
  622. if x != nil {
  623. return x.Mul
  624. }
  625. return 0
  626. }
  627. func (x *RoomUser) GetStatus() uint32 {
  628. if x != nil {
  629. return x.Status
  630. }
  631. return 0
  632. }
  633. func (x *RoomUser) GetBalance() float64 {
  634. if x != nil {
  635. return x.Balance
  636. }
  637. return 0
  638. }
  639. type Game struct {
  640. state protoimpl.MessageState
  641. sizeCache protoimpl.SizeCache
  642. unknownFields protoimpl.UnknownFields
  643. Room *Room `protobuf:"bytes,1,opt,name=Room,proto3" json:"Room,omitempty"` //房间信息
  644. RoomUserList []*RoomUser `protobuf:"bytes,2,rep,name=RoomUserList,proto3" json:"RoomUserList,omitempty"`
  645. }
  646. func (x *Game) Reset() {
  647. *x = Game{}
  648. if protoimpl.UnsafeEnabled {
  649. mi := &file_game_proto_msgTypes[5]
  650. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  651. ms.StoreMessageInfo(mi)
  652. }
  653. }
  654. func (x *Game) String() string {
  655. return protoimpl.X.MessageStringOf(x)
  656. }
  657. func (*Game) ProtoMessage() {}
  658. func (x *Game) ProtoReflect() protoreflect.Message {
  659. mi := &file_game_proto_msgTypes[5]
  660. if protoimpl.UnsafeEnabled && x != nil {
  661. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  662. if ms.LoadMessageInfo() == nil {
  663. ms.StoreMessageInfo(mi)
  664. }
  665. return ms
  666. }
  667. return mi.MessageOf(x)
  668. }
  669. // Deprecated: Use Game.ProtoReflect.Descriptor instead.
  670. func (*Game) Descriptor() ([]byte, []int) {
  671. return file_game_proto_rawDescGZIP(), []int{5}
  672. }
  673. func (x *Game) GetRoom() *Room {
  674. if x != nil {
  675. return x.Room
  676. }
  677. return nil
  678. }
  679. func (x *Game) GetRoomUserList() []*RoomUser {
  680. if x != nil {
  681. return x.RoomUserList
  682. }
  683. return nil
  684. }
  685. type User struct {
  686. state protoimpl.MessageState
  687. sizeCache protoimpl.SizeCache
  688. unknownFields protoimpl.UnknownFields
  689. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  690. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  691. Img string `protobuf:"bytes,3,opt,name=Img,proto3" json:"Img,omitempty"`
  692. }
  693. func (x *User) Reset() {
  694. *x = User{}
  695. if protoimpl.UnsafeEnabled {
  696. mi := &file_game_proto_msgTypes[6]
  697. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  698. ms.StoreMessageInfo(mi)
  699. }
  700. }
  701. func (x *User) String() string {
  702. return protoimpl.X.MessageStringOf(x)
  703. }
  704. func (*User) ProtoMessage() {}
  705. func (x *User) ProtoReflect() protoreflect.Message {
  706. mi := &file_game_proto_msgTypes[6]
  707. if protoimpl.UnsafeEnabled && x != nil {
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. if ms.LoadMessageInfo() == nil {
  710. ms.StoreMessageInfo(mi)
  711. }
  712. return ms
  713. }
  714. return mi.MessageOf(x)
  715. }
  716. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  717. func (*User) Descriptor() ([]byte, []int) {
  718. return file_game_proto_rawDescGZIP(), []int{6}
  719. }
  720. func (x *User) GetUserID() uint32 {
  721. if x != nil {
  722. return x.UserID
  723. }
  724. return 0
  725. }
  726. func (x *User) GetName() string {
  727. if x != nil {
  728. return x.Name
  729. }
  730. return ""
  731. }
  732. func (x *User) GetImg() string {
  733. if x != nil {
  734. return x.Img
  735. }
  736. return ""
  737. }
  738. type Connect struct {
  739. state protoimpl.MessageState
  740. sizeCache protoimpl.SizeCache
  741. unknownFields protoimpl.UnknownFields
  742. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  743. LogID int64 `protobuf:"varint,2,opt,name=LogID,proto3" json:"LogID,omitempty"`
  744. Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
  745. Img string `protobuf:"bytes,4,opt,name=Img,proto3" json:"Img,omitempty"`
  746. Balance float64 `protobuf:"fixed64,5,opt,name=Balance,proto3" json:"Balance,omitempty"`
  747. Game *Game `protobuf:"bytes,6,opt,name=Game,proto3" json:"Game,omitempty"`
  748. RoomList []*Room `protobuf:"bytes,7,rep,name=RoomList,proto3" json:"RoomList,omitempty"`
  749. UserList []*User `protobuf:"bytes,8,rep,name=UserList,proto3" json:"UserList,omitempty"`
  750. RoomDetail *RoomDetail `protobuf:"bytes,9,opt,name=RoomDetail,proto3" json:"RoomDetail,omitempty"` //用户当前房间的详情
  751. }
  752. func (x *Connect) Reset() {
  753. *x = Connect{}
  754. if protoimpl.UnsafeEnabled {
  755. mi := &file_game_proto_msgTypes[7]
  756. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  757. ms.StoreMessageInfo(mi)
  758. }
  759. }
  760. func (x *Connect) String() string {
  761. return protoimpl.X.MessageStringOf(x)
  762. }
  763. func (*Connect) ProtoMessage() {}
  764. func (x *Connect) ProtoReflect() protoreflect.Message {
  765. mi := &file_game_proto_msgTypes[7]
  766. if protoimpl.UnsafeEnabled && x != nil {
  767. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  768. if ms.LoadMessageInfo() == nil {
  769. ms.StoreMessageInfo(mi)
  770. }
  771. return ms
  772. }
  773. return mi.MessageOf(x)
  774. }
  775. // Deprecated: Use Connect.ProtoReflect.Descriptor instead.
  776. func (*Connect) Descriptor() ([]byte, []int) {
  777. return file_game_proto_rawDescGZIP(), []int{7}
  778. }
  779. func (x *Connect) GetUserID() uint32 {
  780. if x != nil {
  781. return x.UserID
  782. }
  783. return 0
  784. }
  785. func (x *Connect) GetLogID() int64 {
  786. if x != nil {
  787. return x.LogID
  788. }
  789. return 0
  790. }
  791. func (x *Connect) GetName() string {
  792. if x != nil {
  793. return x.Name
  794. }
  795. return ""
  796. }
  797. func (x *Connect) GetImg() string {
  798. if x != nil {
  799. return x.Img
  800. }
  801. return ""
  802. }
  803. func (x *Connect) GetBalance() float64 {
  804. if x != nil {
  805. return x.Balance
  806. }
  807. return 0
  808. }
  809. func (x *Connect) GetGame() *Game {
  810. if x != nil {
  811. return x.Game
  812. }
  813. return nil
  814. }
  815. func (x *Connect) GetRoomList() []*Room {
  816. if x != nil {
  817. return x.RoomList
  818. }
  819. return nil
  820. }
  821. func (x *Connect) GetUserList() []*User {
  822. if x != nil {
  823. return x.UserList
  824. }
  825. return nil
  826. }
  827. func (x *Connect) GetRoomDetail() *RoomDetail {
  828. if x != nil {
  829. return x.RoomDetail
  830. }
  831. return nil
  832. }
  833. type Disconnect struct {
  834. state protoimpl.MessageState
  835. sizeCache protoimpl.SizeCache
  836. unknownFields protoimpl.UnknownFields
  837. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  838. }
  839. func (x *Disconnect) Reset() {
  840. *x = Disconnect{}
  841. if protoimpl.UnsafeEnabled {
  842. mi := &file_game_proto_msgTypes[8]
  843. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  844. ms.StoreMessageInfo(mi)
  845. }
  846. }
  847. func (x *Disconnect) String() string {
  848. return protoimpl.X.MessageStringOf(x)
  849. }
  850. func (*Disconnect) ProtoMessage() {}
  851. func (x *Disconnect) ProtoReflect() protoreflect.Message {
  852. mi := &file_game_proto_msgTypes[8]
  853. if protoimpl.UnsafeEnabled && x != nil {
  854. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  855. if ms.LoadMessageInfo() == nil {
  856. ms.StoreMessageInfo(mi)
  857. }
  858. return ms
  859. }
  860. return mi.MessageOf(x)
  861. }
  862. // Deprecated: Use Disconnect.ProtoReflect.Descriptor instead.
  863. func (*Disconnect) Descriptor() ([]byte, []int) {
  864. return file_game_proto_rawDescGZIP(), []int{8}
  865. }
  866. func (x *Disconnect) GetUserID() uint32 {
  867. if x != nil {
  868. return x.UserID
  869. }
  870. return 0
  871. }
  872. type JoinRoom struct {
  873. state protoimpl.MessageState
  874. sizeCache protoimpl.SizeCache
  875. unknownFields protoimpl.UnknownFields
  876. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  877. ChairID uint32 `protobuf:"varint,2,opt,name=ChairID,proto3" json:"ChairID,omitempty"`
  878. UserID uint32 `protobuf:"varint,3,opt,name=UserID,proto3" json:"UserID,omitempty"`
  879. GameStatus uint32 `protobuf:"varint,4,opt,name=GameStatus,proto3" json:"GameStatus,omitempty"`
  880. User *User `protobuf:"bytes,5,opt,name=User,proto3" json:"User,omitempty"`
  881. RoomDetail *RoomDetail `protobuf:"bytes,6,opt,name=RoomDetail,proto3" json:"RoomDetail,omitempty"`
  882. }
  883. func (x *JoinRoom) Reset() {
  884. *x = JoinRoom{}
  885. if protoimpl.UnsafeEnabled {
  886. mi := &file_game_proto_msgTypes[9]
  887. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  888. ms.StoreMessageInfo(mi)
  889. }
  890. }
  891. func (x *JoinRoom) String() string {
  892. return protoimpl.X.MessageStringOf(x)
  893. }
  894. func (*JoinRoom) ProtoMessage() {}
  895. func (x *JoinRoom) ProtoReflect() protoreflect.Message {
  896. mi := &file_game_proto_msgTypes[9]
  897. if protoimpl.UnsafeEnabled && x != nil {
  898. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  899. if ms.LoadMessageInfo() == nil {
  900. ms.StoreMessageInfo(mi)
  901. }
  902. return ms
  903. }
  904. return mi.MessageOf(x)
  905. }
  906. // Deprecated: Use JoinRoom.ProtoReflect.Descriptor instead.
  907. func (*JoinRoom) Descriptor() ([]byte, []int) {
  908. return file_game_proto_rawDescGZIP(), []int{9}
  909. }
  910. func (x *JoinRoom) GetRoomID() uint32 {
  911. if x != nil {
  912. return x.RoomID
  913. }
  914. return 0
  915. }
  916. func (x *JoinRoom) GetChairID() uint32 {
  917. if x != nil {
  918. return x.ChairID
  919. }
  920. return 0
  921. }
  922. func (x *JoinRoom) GetUserID() uint32 {
  923. if x != nil {
  924. return x.UserID
  925. }
  926. return 0
  927. }
  928. func (x *JoinRoom) GetGameStatus() uint32 {
  929. if x != nil {
  930. return x.GameStatus
  931. }
  932. return 0
  933. }
  934. func (x *JoinRoom) GetUser() *User {
  935. if x != nil {
  936. return x.User
  937. }
  938. return nil
  939. }
  940. func (x *JoinRoom) GetRoomDetail() *RoomDetail {
  941. if x != nil {
  942. return x.RoomDetail
  943. }
  944. return nil
  945. }
  946. type LeaveRoom struct {
  947. state protoimpl.MessageState
  948. sizeCache protoimpl.SizeCache
  949. unknownFields protoimpl.UnknownFields
  950. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  951. ChairID uint32 `protobuf:"varint,2,opt,name=ChairID,proto3" json:"ChairID,omitempty"`
  952. UserID uint32 `protobuf:"varint,3,opt,name=UserID,proto3" json:"UserID,omitempty"`
  953. User *User `protobuf:"bytes,5,opt,name=User,proto3" json:"User,omitempty"`
  954. }
  955. func (x *LeaveRoom) Reset() {
  956. *x = LeaveRoom{}
  957. if protoimpl.UnsafeEnabled {
  958. mi := &file_game_proto_msgTypes[10]
  959. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  960. ms.StoreMessageInfo(mi)
  961. }
  962. }
  963. func (x *LeaveRoom) String() string {
  964. return protoimpl.X.MessageStringOf(x)
  965. }
  966. func (*LeaveRoom) ProtoMessage() {}
  967. func (x *LeaveRoom) ProtoReflect() protoreflect.Message {
  968. mi := &file_game_proto_msgTypes[10]
  969. if protoimpl.UnsafeEnabled && x != nil {
  970. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  971. if ms.LoadMessageInfo() == nil {
  972. ms.StoreMessageInfo(mi)
  973. }
  974. return ms
  975. }
  976. return mi.MessageOf(x)
  977. }
  978. // Deprecated: Use LeaveRoom.ProtoReflect.Descriptor instead.
  979. func (*LeaveRoom) Descriptor() ([]byte, []int) {
  980. return file_game_proto_rawDescGZIP(), []int{10}
  981. }
  982. func (x *LeaveRoom) GetRoomID() uint32 {
  983. if x != nil {
  984. return x.RoomID
  985. }
  986. return 0
  987. }
  988. func (x *LeaveRoom) GetChairID() uint32 {
  989. if x != nil {
  990. return x.ChairID
  991. }
  992. return 0
  993. }
  994. func (x *LeaveRoom) GetUserID() uint32 {
  995. if x != nil {
  996. return x.UserID
  997. }
  998. return 0
  999. }
  1000. func (x *LeaveRoom) GetUser() *User {
  1001. if x != nil {
  1002. return x.User
  1003. }
  1004. return nil
  1005. }
  1006. type CreateRoom struct {
  1007. state protoimpl.MessageState
  1008. sizeCache protoimpl.SizeCache
  1009. unknownFields protoimpl.UnknownFields
  1010. ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
  1011. CreatorID uint32 `protobuf:"varint,11,opt,name=CreatorID,proto3" json:"CreatorID,omitempty"`
  1012. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  1013. NeedPwd bool `protobuf:"varint,10,opt,name=needPwd,proto3" json:"needPwd,omitempty"`
  1014. RoomType RoomType `protobuf:"varint,3,opt,name=RoomType,proto3,enum=gameproto.RoomType" json:"RoomType,omitempty"`
  1015. BaseAmount float64 `protobuf:"fixed64,4,opt,name=BaseAmount,proto3" json:"BaseAmount,omitempty"`
  1016. ChairUserID1 uint32 `protobuf:"varint,5,opt,name=ChairUserID1,proto3" json:"ChairUserID1,omitempty"`
  1017. ChairUserID2 uint32 `protobuf:"varint,6,opt,name=ChairUserID2,proto3" json:"ChairUserID2,omitempty"`
  1018. ChairUserID3 uint32 `protobuf:"varint,7,opt,name=ChairUserID3,proto3" json:"ChairUserID3,omitempty"`
  1019. ChairUserID4 uint32 `protobuf:"varint,8,opt,name=ChairUserID4,proto3" json:"ChairUserID4,omitempty"`
  1020. ChairUserID5 uint32 `protobuf:"varint,9,opt,name=ChairUserID5,proto3" json:"ChairUserID5,omitempty"`
  1021. }
  1022. func (x *CreateRoom) Reset() {
  1023. *x = CreateRoom{}
  1024. if protoimpl.UnsafeEnabled {
  1025. mi := &file_game_proto_msgTypes[11]
  1026. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1027. ms.StoreMessageInfo(mi)
  1028. }
  1029. }
  1030. func (x *CreateRoom) String() string {
  1031. return protoimpl.X.MessageStringOf(x)
  1032. }
  1033. func (*CreateRoom) ProtoMessage() {}
  1034. func (x *CreateRoom) ProtoReflect() protoreflect.Message {
  1035. mi := &file_game_proto_msgTypes[11]
  1036. if protoimpl.UnsafeEnabled && x != nil {
  1037. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1038. if ms.LoadMessageInfo() == nil {
  1039. ms.StoreMessageInfo(mi)
  1040. }
  1041. return ms
  1042. }
  1043. return mi.MessageOf(x)
  1044. }
  1045. // Deprecated: Use CreateRoom.ProtoReflect.Descriptor instead.
  1046. func (*CreateRoom) Descriptor() ([]byte, []int) {
  1047. return file_game_proto_rawDescGZIP(), []int{11}
  1048. }
  1049. func (x *CreateRoom) GetID() uint32 {
  1050. if x != nil {
  1051. return x.ID
  1052. }
  1053. return 0
  1054. }
  1055. func (x *CreateRoom) GetCreatorID() uint32 {
  1056. if x != nil {
  1057. return x.CreatorID
  1058. }
  1059. return 0
  1060. }
  1061. func (x *CreateRoom) GetName() string {
  1062. if x != nil {
  1063. return x.Name
  1064. }
  1065. return ""
  1066. }
  1067. func (x *CreateRoom) GetNeedPwd() bool {
  1068. if x != nil {
  1069. return x.NeedPwd
  1070. }
  1071. return false
  1072. }
  1073. func (x *CreateRoom) GetRoomType() RoomType {
  1074. if x != nil {
  1075. return x.RoomType
  1076. }
  1077. return RoomType_RoomTypeFree
  1078. }
  1079. func (x *CreateRoom) GetBaseAmount() float64 {
  1080. if x != nil {
  1081. return x.BaseAmount
  1082. }
  1083. return 0
  1084. }
  1085. func (x *CreateRoom) GetChairUserID1() uint32 {
  1086. if x != nil {
  1087. return x.ChairUserID1
  1088. }
  1089. return 0
  1090. }
  1091. func (x *CreateRoom) GetChairUserID2() uint32 {
  1092. if x != nil {
  1093. return x.ChairUserID2
  1094. }
  1095. return 0
  1096. }
  1097. func (x *CreateRoom) GetChairUserID3() uint32 {
  1098. if x != nil {
  1099. return x.ChairUserID3
  1100. }
  1101. return 0
  1102. }
  1103. func (x *CreateRoom) GetChairUserID4() uint32 {
  1104. if x != nil {
  1105. return x.ChairUserID4
  1106. }
  1107. return 0
  1108. }
  1109. func (x *CreateRoom) GetChairUserID5() uint32 {
  1110. if x != nil {
  1111. return x.ChairUserID5
  1112. }
  1113. return 0
  1114. }
  1115. type Ready struct {
  1116. state protoimpl.MessageState
  1117. sizeCache protoimpl.SizeCache
  1118. unknownFields protoimpl.UnknownFields
  1119. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1120. UserID uint32 `protobuf:"varint,3,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1121. }
  1122. func (x *Ready) Reset() {
  1123. *x = Ready{}
  1124. if protoimpl.UnsafeEnabled {
  1125. mi := &file_game_proto_msgTypes[12]
  1126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1127. ms.StoreMessageInfo(mi)
  1128. }
  1129. }
  1130. func (x *Ready) String() string {
  1131. return protoimpl.X.MessageStringOf(x)
  1132. }
  1133. func (*Ready) ProtoMessage() {}
  1134. func (x *Ready) ProtoReflect() protoreflect.Message {
  1135. mi := &file_game_proto_msgTypes[12]
  1136. if protoimpl.UnsafeEnabled && x != nil {
  1137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1138. if ms.LoadMessageInfo() == nil {
  1139. ms.StoreMessageInfo(mi)
  1140. }
  1141. return ms
  1142. }
  1143. return mi.MessageOf(x)
  1144. }
  1145. // Deprecated: Use Ready.ProtoReflect.Descriptor instead.
  1146. func (*Ready) Descriptor() ([]byte, []int) {
  1147. return file_game_proto_rawDescGZIP(), []int{12}
  1148. }
  1149. func (x *Ready) GetRoomID() uint32 {
  1150. if x != nil {
  1151. return x.RoomID
  1152. }
  1153. return 0
  1154. }
  1155. func (x *Ready) GetUserID() uint32 {
  1156. if x != nil {
  1157. return x.UserID
  1158. }
  1159. return 0
  1160. }
  1161. type UnReady struct {
  1162. state protoimpl.MessageState
  1163. sizeCache protoimpl.SizeCache
  1164. unknownFields protoimpl.UnknownFields
  1165. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1166. UserID uint32 `protobuf:"varint,3,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1167. }
  1168. func (x *UnReady) Reset() {
  1169. *x = UnReady{}
  1170. if protoimpl.UnsafeEnabled {
  1171. mi := &file_game_proto_msgTypes[13]
  1172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1173. ms.StoreMessageInfo(mi)
  1174. }
  1175. }
  1176. func (x *UnReady) String() string {
  1177. return protoimpl.X.MessageStringOf(x)
  1178. }
  1179. func (*UnReady) ProtoMessage() {}
  1180. func (x *UnReady) ProtoReflect() protoreflect.Message {
  1181. mi := &file_game_proto_msgTypes[13]
  1182. if protoimpl.UnsafeEnabled && x != nil {
  1183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1184. if ms.LoadMessageInfo() == nil {
  1185. ms.StoreMessageInfo(mi)
  1186. }
  1187. return ms
  1188. }
  1189. return mi.MessageOf(x)
  1190. }
  1191. // Deprecated: Use UnReady.ProtoReflect.Descriptor instead.
  1192. func (*UnReady) Descriptor() ([]byte, []int) {
  1193. return file_game_proto_rawDescGZIP(), []int{13}
  1194. }
  1195. func (x *UnReady) GetRoomID() uint32 {
  1196. if x != nil {
  1197. return x.RoomID
  1198. }
  1199. return 0
  1200. }
  1201. func (x *UnReady) GetUserID() uint32 {
  1202. if x != nil {
  1203. return x.UserID
  1204. }
  1205. return 0
  1206. }
  1207. //开始等待其他人准备
  1208. type WaitReady struct {
  1209. state protoimpl.MessageState
  1210. sizeCache protoimpl.SizeCache
  1211. unknownFields protoimpl.UnknownFields
  1212. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1213. Issue string `protobuf:"bytes,2,opt,name=Issue,proto3" json:"Issue,omitempty"`
  1214. }
  1215. func (x *WaitReady) Reset() {
  1216. *x = WaitReady{}
  1217. if protoimpl.UnsafeEnabled {
  1218. mi := &file_game_proto_msgTypes[14]
  1219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1220. ms.StoreMessageInfo(mi)
  1221. }
  1222. }
  1223. func (x *WaitReady) String() string {
  1224. return protoimpl.X.MessageStringOf(x)
  1225. }
  1226. func (*WaitReady) ProtoMessage() {}
  1227. func (x *WaitReady) ProtoReflect() protoreflect.Message {
  1228. mi := &file_game_proto_msgTypes[14]
  1229. if protoimpl.UnsafeEnabled && x != nil {
  1230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1231. if ms.LoadMessageInfo() == nil {
  1232. ms.StoreMessageInfo(mi)
  1233. }
  1234. return ms
  1235. }
  1236. return mi.MessageOf(x)
  1237. }
  1238. // Deprecated: Use WaitReady.ProtoReflect.Descriptor instead.
  1239. func (*WaitReady) Descriptor() ([]byte, []int) {
  1240. return file_game_proto_rawDescGZIP(), []int{14}
  1241. }
  1242. func (x *WaitReady) GetRoomID() uint32 {
  1243. if x != nil {
  1244. return x.RoomID
  1245. }
  1246. return 0
  1247. }
  1248. func (x *WaitReady) GetIssue() string {
  1249. if x != nil {
  1250. return x.Issue
  1251. }
  1252. return ""
  1253. }
  1254. //准备人数够,开始游戏
  1255. type Start struct {
  1256. state protoimpl.MessageState
  1257. sizeCache protoimpl.SizeCache
  1258. unknownFields protoimpl.UnknownFields
  1259. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1260. ChooseMasterMulList []uint32 `protobuf:"varint,2,rep,packed,name=ChooseMasterMulList,proto3" json:"ChooseMasterMulList,omitempty"` //抢庄倍数列表
  1261. Issue string `protobuf:"bytes,3,opt,name=issue,proto3" json:"issue,omitempty"`
  1262. CardList []uint32 `protobuf:"varint,4,rep,packed,name=CardList,proto3" json:"CardList,omitempty"` //牌型列表
  1263. }
  1264. func (x *Start) Reset() {
  1265. *x = Start{}
  1266. if protoimpl.UnsafeEnabled {
  1267. mi := &file_game_proto_msgTypes[15]
  1268. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1269. ms.StoreMessageInfo(mi)
  1270. }
  1271. }
  1272. func (x *Start) String() string {
  1273. return protoimpl.X.MessageStringOf(x)
  1274. }
  1275. func (*Start) ProtoMessage() {}
  1276. func (x *Start) ProtoReflect() protoreflect.Message {
  1277. mi := &file_game_proto_msgTypes[15]
  1278. if protoimpl.UnsafeEnabled && x != nil {
  1279. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1280. if ms.LoadMessageInfo() == nil {
  1281. ms.StoreMessageInfo(mi)
  1282. }
  1283. return ms
  1284. }
  1285. return mi.MessageOf(x)
  1286. }
  1287. // Deprecated: Use Start.ProtoReflect.Descriptor instead.
  1288. func (*Start) Descriptor() ([]byte, []int) {
  1289. return file_game_proto_rawDescGZIP(), []int{15}
  1290. }
  1291. func (x *Start) GetRoomID() uint32 {
  1292. if x != nil {
  1293. return x.RoomID
  1294. }
  1295. return 0
  1296. }
  1297. func (x *Start) GetChooseMasterMulList() []uint32 {
  1298. if x != nil {
  1299. return x.ChooseMasterMulList
  1300. }
  1301. return nil
  1302. }
  1303. func (x *Start) GetIssue() string {
  1304. if x != nil {
  1305. return x.Issue
  1306. }
  1307. return ""
  1308. }
  1309. func (x *Start) GetCardList() []uint32 {
  1310. if x != nil {
  1311. return x.CardList
  1312. }
  1313. return nil
  1314. }
  1315. //选庄
  1316. type ChooseMaster struct {
  1317. state protoimpl.MessageState
  1318. sizeCache protoimpl.SizeCache
  1319. unknownFields protoimpl.UnknownFields
  1320. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1321. Mul uint32 `protobuf:"varint,2,opt,name=Mul,proto3" json:"Mul,omitempty"` //0,1,2,3 - 0表示不抢
  1322. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1323. }
  1324. func (x *ChooseMaster) Reset() {
  1325. *x = ChooseMaster{}
  1326. if protoimpl.UnsafeEnabled {
  1327. mi := &file_game_proto_msgTypes[16]
  1328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1329. ms.StoreMessageInfo(mi)
  1330. }
  1331. }
  1332. func (x *ChooseMaster) String() string {
  1333. return protoimpl.X.MessageStringOf(x)
  1334. }
  1335. func (*ChooseMaster) ProtoMessage() {}
  1336. func (x *ChooseMaster) ProtoReflect() protoreflect.Message {
  1337. mi := &file_game_proto_msgTypes[16]
  1338. if protoimpl.UnsafeEnabled && x != nil {
  1339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1340. if ms.LoadMessageInfo() == nil {
  1341. ms.StoreMessageInfo(mi)
  1342. }
  1343. return ms
  1344. }
  1345. return mi.MessageOf(x)
  1346. }
  1347. // Deprecated: Use ChooseMaster.ProtoReflect.Descriptor instead.
  1348. func (*ChooseMaster) Descriptor() ([]byte, []int) {
  1349. return file_game_proto_rawDescGZIP(), []int{16}
  1350. }
  1351. func (x *ChooseMaster) GetUserID() uint32 {
  1352. if x != nil {
  1353. return x.UserID
  1354. }
  1355. return 0
  1356. }
  1357. func (x *ChooseMaster) GetMul() uint32 {
  1358. if x != nil {
  1359. return x.Mul
  1360. }
  1361. return 0
  1362. }
  1363. func (x *ChooseMaster) GetRoomID() uint32 {
  1364. if x != nil {
  1365. return x.RoomID
  1366. }
  1367. return 0
  1368. }
  1369. //选倍数
  1370. type ChooseMul struct {
  1371. state protoimpl.MessageState
  1372. sizeCache protoimpl.SizeCache
  1373. unknownFields protoimpl.UnknownFields
  1374. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1375. Mul uint32 `protobuf:"varint,2,opt,name=Mul,proto3" json:"Mul,omitempty"` //1,2,3 - 倍数
  1376. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1377. CardList []uint32 `protobuf:"varint,4,rep,packed,name=CardList,proto3" json:"CardList,omitempty"` //牌型列表
  1378. }
  1379. func (x *ChooseMul) Reset() {
  1380. *x = ChooseMul{}
  1381. if protoimpl.UnsafeEnabled {
  1382. mi := &file_game_proto_msgTypes[17]
  1383. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1384. ms.StoreMessageInfo(mi)
  1385. }
  1386. }
  1387. func (x *ChooseMul) String() string {
  1388. return protoimpl.X.MessageStringOf(x)
  1389. }
  1390. func (*ChooseMul) ProtoMessage() {}
  1391. func (x *ChooseMul) ProtoReflect() protoreflect.Message {
  1392. mi := &file_game_proto_msgTypes[17]
  1393. if protoimpl.UnsafeEnabled && x != nil {
  1394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1395. if ms.LoadMessageInfo() == nil {
  1396. ms.StoreMessageInfo(mi)
  1397. }
  1398. return ms
  1399. }
  1400. return mi.MessageOf(x)
  1401. }
  1402. // Deprecated: Use ChooseMul.ProtoReflect.Descriptor instead.
  1403. func (*ChooseMul) Descriptor() ([]byte, []int) {
  1404. return file_game_proto_rawDescGZIP(), []int{17}
  1405. }
  1406. func (x *ChooseMul) GetUserID() uint32 {
  1407. if x != nil {
  1408. return x.UserID
  1409. }
  1410. return 0
  1411. }
  1412. func (x *ChooseMul) GetMul() uint32 {
  1413. if x != nil {
  1414. return x.Mul
  1415. }
  1416. return 0
  1417. }
  1418. func (x *ChooseMul) GetRoomID() uint32 {
  1419. if x != nil {
  1420. return x.RoomID
  1421. }
  1422. return 0
  1423. }
  1424. func (x *ChooseMul) GetCardList() []uint32 {
  1425. if x != nil {
  1426. return x.CardList
  1427. }
  1428. return nil
  1429. }
  1430. //选庄完成
  1431. type ChooseMasterFinish struct {
  1432. state protoimpl.MessageState
  1433. sizeCache protoimpl.SizeCache
  1434. unknownFields protoimpl.UnknownFields
  1435. MasterUserID uint32 `protobuf:"varint,1,opt,name=MasterUserID,proto3" json:"MasterUserID,omitempty"` //庄家的ID
  1436. MulList []uint32 `protobuf:"varint,2,rep,packed,name=MulList,proto3" json:"MulList,omitempty"` //倍数列表
  1437. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1438. }
  1439. func (x *ChooseMasterFinish) Reset() {
  1440. *x = ChooseMasterFinish{}
  1441. if protoimpl.UnsafeEnabled {
  1442. mi := &file_game_proto_msgTypes[18]
  1443. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1444. ms.StoreMessageInfo(mi)
  1445. }
  1446. }
  1447. func (x *ChooseMasterFinish) String() string {
  1448. return protoimpl.X.MessageStringOf(x)
  1449. }
  1450. func (*ChooseMasterFinish) ProtoMessage() {}
  1451. func (x *ChooseMasterFinish) ProtoReflect() protoreflect.Message {
  1452. mi := &file_game_proto_msgTypes[18]
  1453. if protoimpl.UnsafeEnabled && x != nil {
  1454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1455. if ms.LoadMessageInfo() == nil {
  1456. ms.StoreMessageInfo(mi)
  1457. }
  1458. return ms
  1459. }
  1460. return mi.MessageOf(x)
  1461. }
  1462. // Deprecated: Use ChooseMasterFinish.ProtoReflect.Descriptor instead.
  1463. func (*ChooseMasterFinish) Descriptor() ([]byte, []int) {
  1464. return file_game_proto_rawDescGZIP(), []int{18}
  1465. }
  1466. func (x *ChooseMasterFinish) GetMasterUserID() uint32 {
  1467. if x != nil {
  1468. return x.MasterUserID
  1469. }
  1470. return 0
  1471. }
  1472. func (x *ChooseMasterFinish) GetMulList() []uint32 {
  1473. if x != nil {
  1474. return x.MulList
  1475. }
  1476. return nil
  1477. }
  1478. func (x *ChooseMasterFinish) GetRoomID() uint32 {
  1479. if x != nil {
  1480. return x.RoomID
  1481. }
  1482. return 0
  1483. }
  1484. //选倍数完成
  1485. type ChooseMulFinish struct {
  1486. state protoimpl.MessageState
  1487. sizeCache protoimpl.SizeCache
  1488. unknownFields protoimpl.UnknownFields
  1489. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1490. }
  1491. func (x *ChooseMulFinish) Reset() {
  1492. *x = ChooseMulFinish{}
  1493. if protoimpl.UnsafeEnabled {
  1494. mi := &file_game_proto_msgTypes[19]
  1495. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1496. ms.StoreMessageInfo(mi)
  1497. }
  1498. }
  1499. func (x *ChooseMulFinish) String() string {
  1500. return protoimpl.X.MessageStringOf(x)
  1501. }
  1502. func (*ChooseMulFinish) ProtoMessage() {}
  1503. func (x *ChooseMulFinish) ProtoReflect() protoreflect.Message {
  1504. mi := &file_game_proto_msgTypes[19]
  1505. if protoimpl.UnsafeEnabled && x != nil {
  1506. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1507. if ms.LoadMessageInfo() == nil {
  1508. ms.StoreMessageInfo(mi)
  1509. }
  1510. return ms
  1511. }
  1512. return mi.MessageOf(x)
  1513. }
  1514. // Deprecated: Use ChooseMulFinish.ProtoReflect.Descriptor instead.
  1515. func (*ChooseMulFinish) Descriptor() ([]byte, []int) {
  1516. return file_game_proto_rawDescGZIP(), []int{19}
  1517. }
  1518. func (x *ChooseMulFinish) GetRoomID() uint32 {
  1519. if x != nil {
  1520. return x.RoomID
  1521. }
  1522. return 0
  1523. }
  1524. type PayoutInfo struct {
  1525. state protoimpl.MessageState
  1526. sizeCache protoimpl.SizeCache
  1527. unknownFields protoimpl.UnknownFields
  1528. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1529. Balance float64 `protobuf:"fixed64,2,opt,name=Balance,proto3" json:"Balance,omitempty"`
  1530. WinAmount float32 `protobuf:"fixed32,3,opt,name=winAmount,proto3" json:"winAmount,omitempty"`
  1531. IsMaster bool `protobuf:"varint,4,opt,name=isMaster,proto3" json:"isMaster,omitempty"`
  1532. }
  1533. func (x *PayoutInfo) Reset() {
  1534. *x = PayoutInfo{}
  1535. if protoimpl.UnsafeEnabled {
  1536. mi := &file_game_proto_msgTypes[20]
  1537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1538. ms.StoreMessageInfo(mi)
  1539. }
  1540. }
  1541. func (x *PayoutInfo) String() string {
  1542. return protoimpl.X.MessageStringOf(x)
  1543. }
  1544. func (*PayoutInfo) ProtoMessage() {}
  1545. func (x *PayoutInfo) ProtoReflect() protoreflect.Message {
  1546. mi := &file_game_proto_msgTypes[20]
  1547. if protoimpl.UnsafeEnabled && x != nil {
  1548. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1549. if ms.LoadMessageInfo() == nil {
  1550. ms.StoreMessageInfo(mi)
  1551. }
  1552. return ms
  1553. }
  1554. return mi.MessageOf(x)
  1555. }
  1556. // Deprecated: Use PayoutInfo.ProtoReflect.Descriptor instead.
  1557. func (*PayoutInfo) Descriptor() ([]byte, []int) {
  1558. return file_game_proto_rawDescGZIP(), []int{20}
  1559. }
  1560. func (x *PayoutInfo) GetUserID() uint32 {
  1561. if x != nil {
  1562. return x.UserID
  1563. }
  1564. return 0
  1565. }
  1566. func (x *PayoutInfo) GetBalance() float64 {
  1567. if x != nil {
  1568. return x.Balance
  1569. }
  1570. return 0
  1571. }
  1572. func (x *PayoutInfo) GetWinAmount() float32 {
  1573. if x != nil {
  1574. return x.WinAmount
  1575. }
  1576. return 0
  1577. }
  1578. func (x *PayoutInfo) GetIsMaster() bool {
  1579. if x != nil {
  1580. return x.IsMaster
  1581. }
  1582. return false
  1583. }
  1584. //选倍数完成
  1585. type OpenFinish struct {
  1586. state protoimpl.MessageState
  1587. sizeCache protoimpl.SizeCache
  1588. unknownFields protoimpl.UnknownFields
  1589. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1590. PayoutInfoList []*PayoutInfo `protobuf:"bytes,2,rep,name=PayoutInfoList,proto3" json:"PayoutInfoList,omitempty"`
  1591. }
  1592. func (x *OpenFinish) Reset() {
  1593. *x = OpenFinish{}
  1594. if protoimpl.UnsafeEnabled {
  1595. mi := &file_game_proto_msgTypes[21]
  1596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1597. ms.StoreMessageInfo(mi)
  1598. }
  1599. }
  1600. func (x *OpenFinish) String() string {
  1601. return protoimpl.X.MessageStringOf(x)
  1602. }
  1603. func (*OpenFinish) ProtoMessage() {}
  1604. func (x *OpenFinish) ProtoReflect() protoreflect.Message {
  1605. mi := &file_game_proto_msgTypes[21]
  1606. if protoimpl.UnsafeEnabled && x != nil {
  1607. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1608. if ms.LoadMessageInfo() == nil {
  1609. ms.StoreMessageInfo(mi)
  1610. }
  1611. return ms
  1612. }
  1613. return mi.MessageOf(x)
  1614. }
  1615. // Deprecated: Use OpenFinish.ProtoReflect.Descriptor instead.
  1616. func (*OpenFinish) Descriptor() ([]byte, []int) {
  1617. return file_game_proto_rawDescGZIP(), []int{21}
  1618. }
  1619. func (x *OpenFinish) GetRoomID() uint32 {
  1620. if x != nil {
  1621. return x.RoomID
  1622. }
  1623. return 0
  1624. }
  1625. func (x *OpenFinish) GetPayoutInfoList() []*PayoutInfo {
  1626. if x != nil {
  1627. return x.PayoutInfoList
  1628. }
  1629. return nil
  1630. }
  1631. //开牌
  1632. type Open struct {
  1633. state protoimpl.MessageState
  1634. sizeCache protoimpl.SizeCache
  1635. unknownFields protoimpl.UnknownFields
  1636. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1637. UserID uint32 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1638. CardList []uint32 `protobuf:"varint,3,rep,packed,name=CardList,proto3" json:"CardList,omitempty"` //牌型列表
  1639. }
  1640. func (x *Open) Reset() {
  1641. *x = Open{}
  1642. if protoimpl.UnsafeEnabled {
  1643. mi := &file_game_proto_msgTypes[22]
  1644. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1645. ms.StoreMessageInfo(mi)
  1646. }
  1647. }
  1648. func (x *Open) String() string {
  1649. return protoimpl.X.MessageStringOf(x)
  1650. }
  1651. func (*Open) ProtoMessage() {}
  1652. func (x *Open) ProtoReflect() protoreflect.Message {
  1653. mi := &file_game_proto_msgTypes[22]
  1654. if protoimpl.UnsafeEnabled && x != nil {
  1655. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1656. if ms.LoadMessageInfo() == nil {
  1657. ms.StoreMessageInfo(mi)
  1658. }
  1659. return ms
  1660. }
  1661. return mi.MessageOf(x)
  1662. }
  1663. // Deprecated: Use Open.ProtoReflect.Descriptor instead.
  1664. func (*Open) Descriptor() ([]byte, []int) {
  1665. return file_game_proto_rawDescGZIP(), []int{22}
  1666. }
  1667. func (x *Open) GetRoomID() uint32 {
  1668. if x != nil {
  1669. return x.RoomID
  1670. }
  1671. return 0
  1672. }
  1673. func (x *Open) GetUserID() uint32 {
  1674. if x != nil {
  1675. return x.UserID
  1676. }
  1677. return 0
  1678. }
  1679. func (x *Open) GetCardList() []uint32 {
  1680. if x != nil {
  1681. return x.CardList
  1682. }
  1683. return nil
  1684. }
  1685. //游戏初始化
  1686. type GameInit struct {
  1687. state protoimpl.MessageState
  1688. sizeCache protoimpl.SizeCache
  1689. unknownFields protoimpl.UnknownFields
  1690. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1691. }
  1692. func (x *GameInit) Reset() {
  1693. *x = GameInit{}
  1694. if protoimpl.UnsafeEnabled {
  1695. mi := &file_game_proto_msgTypes[23]
  1696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1697. ms.StoreMessageInfo(mi)
  1698. }
  1699. }
  1700. func (x *GameInit) String() string {
  1701. return protoimpl.X.MessageStringOf(x)
  1702. }
  1703. func (*GameInit) ProtoMessage() {}
  1704. func (x *GameInit) ProtoReflect() protoreflect.Message {
  1705. mi := &file_game_proto_msgTypes[23]
  1706. if protoimpl.UnsafeEnabled && x != nil {
  1707. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1708. if ms.LoadMessageInfo() == nil {
  1709. ms.StoreMessageInfo(mi)
  1710. }
  1711. return ms
  1712. }
  1713. return mi.MessageOf(x)
  1714. }
  1715. // Deprecated: Use GameInit.ProtoReflect.Descriptor instead.
  1716. func (*GameInit) Descriptor() ([]byte, []int) {
  1717. return file_game_proto_rawDescGZIP(), []int{23}
  1718. }
  1719. func (x *GameInit) GetRoomID() uint32 {
  1720. if x != nil {
  1721. return x.RoomID
  1722. }
  1723. return 0
  1724. }
  1725. var File_game_proto protoreflect.FileDescriptor
  1726. var file_game_proto_rawDesc = []byte{
  1727. 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x61,
  1728. 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1729. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  1730. 0x74, 0x6f, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x88, 0x01, 0x0a, 0x07, 0x4d,
  1731. 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01,
  1732. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x73, 0x74,
  1733. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d,
  1734. 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
  1735. 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
  1736. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x28, 0x0a, 0x04, 0x64,
  1737. 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1738. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52,
  1739. 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe1, 0x02, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e,
  1740. 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12,
  1741. 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61,
  1742. 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x18, 0x0a, 0x20,
  1743. 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x12, 0x2f, 0x0a, 0x08,
  1744. 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13,
  1745. 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x54,
  1746. 0x79, 0x70, 0x65, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
  1747. 0x0a, 0x42, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  1748. 0x01, 0x52, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a,
  1749. 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x18, 0x05, 0x20,
  1750. 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1751. 0x31, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1752. 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73,
  1753. 0x65, 0x72, 0x49, 0x44, 0x32, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73,
  1754. 0x65, 0x72, 0x49, 0x44, 0x33, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61,
  1755. 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61,
  1756. 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1757. 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x12, 0x22, 0x0a,
  1758. 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x18, 0x09, 0x20,
  1759. 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1760. 0x35, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28,
  1761. 0x0d, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xe4, 0x03, 0x0a, 0x0a, 0x52, 0x6f,
  1762. 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01,
  1763. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65,
  1764. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
  1765. 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e,
  1766. 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79,
  1767. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70,
  1768. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x52,
  1769. 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x41,
  1770. 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x42, 0x61, 0x73,
  1771. 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72,
  1772. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43,
  1773. 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x12, 0x22, 0x0a, 0x0c, 0x43,
  1774. 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
  1775. 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x32, 0x12,
  1776. 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x33, 0x18,
  1777. 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72,
  1778. 0x49, 0x44, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72,
  1779. 0x49, 0x44, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72,
  1780. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72,
  1781. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43,
  1782. 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x12, 0x16, 0x0a, 0x06, 0x53,
  1783. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x53, 0x74, 0x61,
  1784. 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x74, 0x61,
  1785. 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x53, 0x74,
  1786. 0x61, 0x74, 0x75, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a,
  1787. 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20,
  1788. 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1789. 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73,
  1790. 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f,
  1791. 0x77, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x77,
  1792. 0x22, 0xda, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a,
  1793. 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55,
  1794. 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73,
  1795. 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73,
  1796. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x57, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  1797. 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x57, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  1798. 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
  1799. 0x08, 0x52, 0x08, 0x49, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x4d,
  1800. 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09,
  1801. 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x75, 0x6c,
  1802. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x53,
  1803. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x53, 0x74, 0x61,
  1804. 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08,
  1805. 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x64, 0x0a,
  1806. 0x04, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x20,
  1807. 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1808. 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x37, 0x0a, 0x0c, 0x52, 0x6f,
  1809. 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  1810. 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f,
  1811. 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c,
  1812. 0x69, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x55,
  1813. 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65,
  1814. 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1815. 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x6d, 0x67, 0x18, 0x03,
  1816. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x49, 0x6d, 0x67, 0x22, 0xad, 0x02, 0x0a, 0x07, 0x43, 0x6f,
  1817. 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
  1818. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a,
  1819. 0x05, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x4c, 0x6f,
  1820. 0x67, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1821. 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x6d, 0x67, 0x18, 0x04,
  1822. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x49, 0x6d, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x6c,
  1823. 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x42, 0x61, 0x6c, 0x61,
  1824. 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x47, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  1825. 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x61,
  1826. 0x6d, 0x65, 0x52, 0x04, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d,
  1827. 0x4c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d,
  1828. 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x08, 0x52, 0x6f, 0x6f,
  1829. 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73,
  1830. 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72,
  1831. 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69,
  1832. 0x73, 0x74, 0x12, 0x35, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
  1833. 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f,
  1834. 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x52,
  1835. 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x24, 0x0a, 0x0a, 0x44, 0x69, 0x73,
  1836. 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49,
  1837. 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22,
  1838. 0xd0, 0x01, 0x0a, 0x08, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06,
  1839. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f,
  1840. 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72, 0x49, 0x44, 0x18,
  1841. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72, 0x49, 0x44, 0x12, 0x16,
  1842. 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  1843. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74,
  1844. 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65,
  1845. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x05,
  1846. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1847. 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0a, 0x52,
  1848. 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1849. 0x15, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d,
  1850. 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61,
  1851. 0x69, 0x6c, 0x22, 0x7a, 0x0a, 0x09, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12,
  1852. 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1853. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72,
  1854. 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72, 0x49,
  1855. 0x44, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
  1856. 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x23, 0x0a, 0x04, 0x55, 0x73, 0x65,
  1857. 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72,
  1858. 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x22, 0xed,
  1859. 0x02, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a,
  1860. 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x44, 0x12, 0x1c, 0x0a,
  1861. 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d,
  1862. 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e,
  1863. 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1864. 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08,
  1865. 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x52, 0x6f, 0x6f,
  1866. 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x67, 0x61,
  1867. 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65,
  1868. 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x61,
  1869. 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a,
  1870. 0x42, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68,
  1871. 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
  1872. 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x12, 0x22,
  1873. 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x32, 0x18, 0x06,
  1874. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
  1875. 0x44, 0x32, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
  1876. 0x44, 0x33, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55,
  1877. 0x73, 0x65, 0x72, 0x49, 0x44, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55,
  1878. 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68,
  1879. 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68,
  1880. 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d,
  1881. 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x22, 0x37,
  1882. 0x0a, 0x05, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49,
  1883. 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12,
  1884. 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1885. 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x39, 0x0a, 0x07, 0x55, 0x6e, 0x52, 0x65, 0x61,
  1886. 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  1887. 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73,
  1888. 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72,
  1889. 0x49, 0x44, 0x22, 0x39, 0x0a, 0x09, 0x57, 0x61, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12,
  1890. 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1891. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x73, 0x73, 0x75, 0x65,
  1892. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x83, 0x01,
  1893. 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49,
  1894. 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12,
  1895. 0x30, 0x0a, 0x13, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d,
  1896. 0x75, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x43, 0x68,
  1897. 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x4c, 0x69, 0x73,
  1898. 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1899. 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c,
  1900. 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c,
  1901. 0x69, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x0c, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73,
  1902. 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20,
  1903. 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x4d,
  1904. 0x75, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a,
  1905. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52,
  1906. 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22, 0x69, 0x0a, 0x09, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d,
  1907. 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  1908. 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x75,
  1909. 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06,
  1910. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f,
  1911. 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74,
  1912. 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74,
  1913. 0x22, 0x6a, 0x0a, 0x12, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72,
  1914. 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72,
  1915. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x4d, 0x61,
  1916. 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x75,
  1917. 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x4d, 0x75, 0x6c,
  1918. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x03,
  1919. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22, 0x29, 0x0a, 0x0f,
  1920. 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x75, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12,
  1921. 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1922. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22, 0x78, 0x0a, 0x0a, 0x50, 0x61, 0x79, 0x6f, 0x75,
  1923. 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
  1924. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a,
  1925. 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07,
  1926. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x69, 0x6e, 0x41, 0x6d,
  1927. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x77, 0x69, 0x6e, 0x41,
  1928. 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65,
  1929. 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65,
  1930. 0x72, 0x22, 0x63, 0x0a, 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12,
  1931. 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1932. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x3d, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x6f, 0x75,
  1933. 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1934. 0x15, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x61, 0x79, 0x6f,
  1935. 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x49, 0x6e,
  1936. 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x04, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x16,
  1937. 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  1938. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1939. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a,
  1940. 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d,
  1941. 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x22, 0x0a, 0x08, 0x47, 0x61,
  1942. 0x6d, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44,
  1943. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x2a, 0xcd,
  1944. 0x03, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75,
  1945. 0x6d, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x50,
  1946. 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54,
  1947. 0x79, 0x70, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x17, 0x0a,
  1948. 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x65, 0x61, 0x76, 0x65,
  1949. 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79,
  1950. 0x54, 0x79, 0x70, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x03,
  1951. 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f,
  1952. 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66,
  1953. 0x79, 0x54, 0x79, 0x70, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x10,
  1954. 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52,
  1955. 0x65, 0x61, 0x64, 0x79, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79,
  1956. 0x54, 0x79, 0x70, 0x65, 0x55, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x07, 0x12, 0x13, 0x0a,
  1957. 0x0f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74,
  1958. 0x10, 0x08, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65,
  1959. 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x10, 0x09, 0x12, 0x20,
  1960. 0x0a, 0x1c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68, 0x6f, 0x6f,
  1961. 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x0a,
  1962. 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68,
  1963. 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x75, 0x6c, 0x10, 0x0b, 0x12, 0x1d, 0x0a, 0x19, 0x4e, 0x6f, 0x74,
  1964. 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x75, 0x6c,
  1965. 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69,
  1966. 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x10, 0x0d,
  1967. 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70,
  1968. 0x65, 0x6e, 0x10, 0x0e, 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79,
  1969. 0x70, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x0f, 0x12, 0x15,
  1970. 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x73, 0x67, 0x52,
  1971. 0x65, 0x73, 0x70, 0x10, 0x10, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54,
  1972. 0x79, 0x70, 0x65, 0x57, 0x61, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x11, 0x2a, 0x41,
  1973. 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x61,
  1974. 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x10,
  1975. 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x47, 0x5a, 0x69, 0x70, 0x10, 0x02,
  1976. 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x63, 0x10,
  1977. 0x04, 0x2a, 0x30, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a,
  1978. 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x46, 0x72, 0x65, 0x65, 0x10, 0x00, 0x12,
  1979. 0x12, 0x0a, 0x0e, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61,
  1980. 0x6c, 0x10, 0x01, 0x2a, 0x36, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
  1981. 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53,
  1982. 0x75, 0x63, 0x63, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61,
  1983. 0x74, 0x75, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x01, 0x42, 0x0e, 0x5a, 0x0c, 0x2e,
  1984. 0x2f, 0x3b, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
  1985. 0x74, 0x6f, 0x33,
  1986. }
  1987. var (
  1988. file_game_proto_rawDescOnce sync.Once
  1989. file_game_proto_rawDescData = file_game_proto_rawDesc
  1990. )
  1991. func file_game_proto_rawDescGZIP() []byte {
  1992. file_game_proto_rawDescOnce.Do(func() {
  1993. file_game_proto_rawDescData = protoimpl.X.CompressGZIP(file_game_proto_rawDescData)
  1994. })
  1995. return file_game_proto_rawDescData
  1996. }
  1997. var file_game_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
  1998. var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
  1999. var file_game_proto_goTypes = []interface{}{
  2000. (NotifyTypeEnum)(0), // 0: gameproto.NotifyTypeEnum
  2001. (DataType)(0), // 1: gameproto.DataType
  2002. (RoomType)(0), // 2: gameproto.RoomType
  2003. (RespStatus)(0), // 3: gameproto.RespStatus
  2004. (*Ping)(nil), // 4: gameproto.Ping
  2005. (*MsgResp)(nil), // 5: gameproto.MsgResp
  2006. (*Room)(nil), // 6: gameproto.Room
  2007. (*RoomDetail)(nil), // 7: gameproto.RoomDetail
  2008. (*RoomUser)(nil), // 8: gameproto.RoomUser
  2009. (*Game)(nil), // 9: gameproto.Game
  2010. (*User)(nil), // 10: gameproto.User
  2011. (*Connect)(nil), // 11: gameproto.Connect
  2012. (*Disconnect)(nil), // 12: gameproto.Disconnect
  2013. (*JoinRoom)(nil), // 13: gameproto.JoinRoom
  2014. (*LeaveRoom)(nil), // 14: gameproto.LeaveRoom
  2015. (*CreateRoom)(nil), // 15: gameproto.CreateRoom
  2016. (*Ready)(nil), // 16: gameproto.Ready
  2017. (*UnReady)(nil), // 17: gameproto.UnReady
  2018. (*WaitReady)(nil), // 18: gameproto.WaitReady
  2019. (*Start)(nil), // 19: gameproto.Start
  2020. (*ChooseMaster)(nil), // 20: gameproto.ChooseMaster
  2021. (*ChooseMul)(nil), // 21: gameproto.ChooseMul
  2022. (*ChooseMasterFinish)(nil), // 22: gameproto.ChooseMasterFinish
  2023. (*ChooseMulFinish)(nil), // 23: gameproto.ChooseMulFinish
  2024. (*PayoutInfo)(nil), // 24: gameproto.PayoutInfo
  2025. (*OpenFinish)(nil), // 25: gameproto.OpenFinish
  2026. (*Open)(nil), // 26: gameproto.Open
  2027. (*GameInit)(nil), // 27: gameproto.GameInit
  2028. (*any1.Any)(nil), // 28: google.protobuf.Any
  2029. }
  2030. var file_game_proto_depIdxs = []int32{
  2031. 3, // 0: gameproto.MsgResp.status:type_name -> gameproto.RespStatus
  2032. 28, // 1: gameproto.MsgResp.data:type_name -> google.protobuf.Any
  2033. 2, // 2: gameproto.Room.RoomType:type_name -> gameproto.RoomType
  2034. 2, // 3: gameproto.RoomDetail.RoomType:type_name -> gameproto.RoomType
  2035. 8, // 4: gameproto.RoomDetail.RoomUserList:type_name -> gameproto.RoomUser
  2036. 6, // 5: gameproto.Game.Room:type_name -> gameproto.Room
  2037. 8, // 6: gameproto.Game.RoomUserList:type_name -> gameproto.RoomUser
  2038. 9, // 7: gameproto.Connect.Game:type_name -> gameproto.Game
  2039. 6, // 8: gameproto.Connect.RoomList:type_name -> gameproto.Room
  2040. 10, // 9: gameproto.Connect.UserList:type_name -> gameproto.User
  2041. 7, // 10: gameproto.Connect.RoomDetail:type_name -> gameproto.RoomDetail
  2042. 10, // 11: gameproto.JoinRoom.User:type_name -> gameproto.User
  2043. 7, // 12: gameproto.JoinRoom.RoomDetail:type_name -> gameproto.RoomDetail
  2044. 10, // 13: gameproto.LeaveRoom.User:type_name -> gameproto.User
  2045. 2, // 14: gameproto.CreateRoom.RoomType:type_name -> gameproto.RoomType
  2046. 24, // 15: gameproto.OpenFinish.PayoutInfoList:type_name -> gameproto.PayoutInfo
  2047. 16, // [16:16] is the sub-list for method output_type
  2048. 16, // [16:16] is the sub-list for method input_type
  2049. 16, // [16:16] is the sub-list for extension type_name
  2050. 16, // [16:16] is the sub-list for extension extendee
  2051. 0, // [0:16] is the sub-list for field type_name
  2052. }
  2053. func init() { file_game_proto_init() }
  2054. func file_game_proto_init() {
  2055. if File_game_proto != nil {
  2056. return
  2057. }
  2058. if !protoimpl.UnsafeEnabled {
  2059. file_game_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2060. switch v := v.(*Ping); i {
  2061. case 0:
  2062. return &v.state
  2063. case 1:
  2064. return &v.sizeCache
  2065. case 2:
  2066. return &v.unknownFields
  2067. default:
  2068. return nil
  2069. }
  2070. }
  2071. file_game_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2072. switch v := v.(*MsgResp); i {
  2073. case 0:
  2074. return &v.state
  2075. case 1:
  2076. return &v.sizeCache
  2077. case 2:
  2078. return &v.unknownFields
  2079. default:
  2080. return nil
  2081. }
  2082. }
  2083. file_game_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2084. switch v := v.(*Room); i {
  2085. case 0:
  2086. return &v.state
  2087. case 1:
  2088. return &v.sizeCache
  2089. case 2:
  2090. return &v.unknownFields
  2091. default:
  2092. return nil
  2093. }
  2094. }
  2095. file_game_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2096. switch v := v.(*RoomDetail); i {
  2097. case 0:
  2098. return &v.state
  2099. case 1:
  2100. return &v.sizeCache
  2101. case 2:
  2102. return &v.unknownFields
  2103. default:
  2104. return nil
  2105. }
  2106. }
  2107. file_game_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2108. switch v := v.(*RoomUser); i {
  2109. case 0:
  2110. return &v.state
  2111. case 1:
  2112. return &v.sizeCache
  2113. case 2:
  2114. return &v.unknownFields
  2115. default:
  2116. return nil
  2117. }
  2118. }
  2119. file_game_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2120. switch v := v.(*Game); i {
  2121. case 0:
  2122. return &v.state
  2123. case 1:
  2124. return &v.sizeCache
  2125. case 2:
  2126. return &v.unknownFields
  2127. default:
  2128. return nil
  2129. }
  2130. }
  2131. file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2132. switch v := v.(*User); i {
  2133. case 0:
  2134. return &v.state
  2135. case 1:
  2136. return &v.sizeCache
  2137. case 2:
  2138. return &v.unknownFields
  2139. default:
  2140. return nil
  2141. }
  2142. }
  2143. file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2144. switch v := v.(*Connect); i {
  2145. case 0:
  2146. return &v.state
  2147. case 1:
  2148. return &v.sizeCache
  2149. case 2:
  2150. return &v.unknownFields
  2151. default:
  2152. return nil
  2153. }
  2154. }
  2155. file_game_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2156. switch v := v.(*Disconnect); i {
  2157. case 0:
  2158. return &v.state
  2159. case 1:
  2160. return &v.sizeCache
  2161. case 2:
  2162. return &v.unknownFields
  2163. default:
  2164. return nil
  2165. }
  2166. }
  2167. file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2168. switch v := v.(*JoinRoom); i {
  2169. case 0:
  2170. return &v.state
  2171. case 1:
  2172. return &v.sizeCache
  2173. case 2:
  2174. return &v.unknownFields
  2175. default:
  2176. return nil
  2177. }
  2178. }
  2179. file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2180. switch v := v.(*LeaveRoom); i {
  2181. case 0:
  2182. return &v.state
  2183. case 1:
  2184. return &v.sizeCache
  2185. case 2:
  2186. return &v.unknownFields
  2187. default:
  2188. return nil
  2189. }
  2190. }
  2191. file_game_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2192. switch v := v.(*CreateRoom); i {
  2193. case 0:
  2194. return &v.state
  2195. case 1:
  2196. return &v.sizeCache
  2197. case 2:
  2198. return &v.unknownFields
  2199. default:
  2200. return nil
  2201. }
  2202. }
  2203. file_game_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2204. switch v := v.(*Ready); i {
  2205. case 0:
  2206. return &v.state
  2207. case 1:
  2208. return &v.sizeCache
  2209. case 2:
  2210. return &v.unknownFields
  2211. default:
  2212. return nil
  2213. }
  2214. }
  2215. file_game_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2216. switch v := v.(*UnReady); i {
  2217. case 0:
  2218. return &v.state
  2219. case 1:
  2220. return &v.sizeCache
  2221. case 2:
  2222. return &v.unknownFields
  2223. default:
  2224. return nil
  2225. }
  2226. }
  2227. file_game_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2228. switch v := v.(*WaitReady); i {
  2229. case 0:
  2230. return &v.state
  2231. case 1:
  2232. return &v.sizeCache
  2233. case 2:
  2234. return &v.unknownFields
  2235. default:
  2236. return nil
  2237. }
  2238. }
  2239. file_game_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2240. switch v := v.(*Start); i {
  2241. case 0:
  2242. return &v.state
  2243. case 1:
  2244. return &v.sizeCache
  2245. case 2:
  2246. return &v.unknownFields
  2247. default:
  2248. return nil
  2249. }
  2250. }
  2251. file_game_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2252. switch v := v.(*ChooseMaster); i {
  2253. case 0:
  2254. return &v.state
  2255. case 1:
  2256. return &v.sizeCache
  2257. case 2:
  2258. return &v.unknownFields
  2259. default:
  2260. return nil
  2261. }
  2262. }
  2263. file_game_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2264. switch v := v.(*ChooseMul); i {
  2265. case 0:
  2266. return &v.state
  2267. case 1:
  2268. return &v.sizeCache
  2269. case 2:
  2270. return &v.unknownFields
  2271. default:
  2272. return nil
  2273. }
  2274. }
  2275. file_game_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2276. switch v := v.(*ChooseMasterFinish); i {
  2277. case 0:
  2278. return &v.state
  2279. case 1:
  2280. return &v.sizeCache
  2281. case 2:
  2282. return &v.unknownFields
  2283. default:
  2284. return nil
  2285. }
  2286. }
  2287. file_game_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2288. switch v := v.(*ChooseMulFinish); i {
  2289. case 0:
  2290. return &v.state
  2291. case 1:
  2292. return &v.sizeCache
  2293. case 2:
  2294. return &v.unknownFields
  2295. default:
  2296. return nil
  2297. }
  2298. }
  2299. file_game_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2300. switch v := v.(*PayoutInfo); i {
  2301. case 0:
  2302. return &v.state
  2303. case 1:
  2304. return &v.sizeCache
  2305. case 2:
  2306. return &v.unknownFields
  2307. default:
  2308. return nil
  2309. }
  2310. }
  2311. file_game_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2312. switch v := v.(*OpenFinish); i {
  2313. case 0:
  2314. return &v.state
  2315. case 1:
  2316. return &v.sizeCache
  2317. case 2:
  2318. return &v.unknownFields
  2319. default:
  2320. return nil
  2321. }
  2322. }
  2323. file_game_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2324. switch v := v.(*Open); i {
  2325. case 0:
  2326. return &v.state
  2327. case 1:
  2328. return &v.sizeCache
  2329. case 2:
  2330. return &v.unknownFields
  2331. default:
  2332. return nil
  2333. }
  2334. }
  2335. file_game_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2336. switch v := v.(*GameInit); i {
  2337. case 0:
  2338. return &v.state
  2339. case 1:
  2340. return &v.sizeCache
  2341. case 2:
  2342. return &v.unknownFields
  2343. default:
  2344. return nil
  2345. }
  2346. }
  2347. }
  2348. type x struct{}
  2349. out := protoimpl.TypeBuilder{
  2350. File: protoimpl.DescBuilder{
  2351. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2352. RawDescriptor: file_game_proto_rawDesc,
  2353. NumEnums: 4,
  2354. NumMessages: 24,
  2355. NumExtensions: 0,
  2356. NumServices: 0,
  2357. },
  2358. GoTypes: file_game_proto_goTypes,
  2359. DependencyIndexes: file_game_proto_depIdxs,
  2360. EnumInfos: file_game_proto_enumTypes,
  2361. MessageInfos: file_game_proto_msgTypes,
  2362. }.Build()
  2363. File_game_proto = out.File
  2364. file_game_proto_rawDesc = nil
  2365. file_game_proto_goTypes = nil
  2366. file_game_proto_depIdxs = nil
  2367. }