game.pb.go 82 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673
  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. }
  1214. func (x *WaitReady) Reset() {
  1215. *x = WaitReady{}
  1216. if protoimpl.UnsafeEnabled {
  1217. mi := &file_game_proto_msgTypes[14]
  1218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1219. ms.StoreMessageInfo(mi)
  1220. }
  1221. }
  1222. func (x *WaitReady) String() string {
  1223. return protoimpl.X.MessageStringOf(x)
  1224. }
  1225. func (*WaitReady) ProtoMessage() {}
  1226. func (x *WaitReady) ProtoReflect() protoreflect.Message {
  1227. mi := &file_game_proto_msgTypes[14]
  1228. if protoimpl.UnsafeEnabled && x != nil {
  1229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1230. if ms.LoadMessageInfo() == nil {
  1231. ms.StoreMessageInfo(mi)
  1232. }
  1233. return ms
  1234. }
  1235. return mi.MessageOf(x)
  1236. }
  1237. // Deprecated: Use WaitReady.ProtoReflect.Descriptor instead.
  1238. func (*WaitReady) Descriptor() ([]byte, []int) {
  1239. return file_game_proto_rawDescGZIP(), []int{14}
  1240. }
  1241. func (x *WaitReady) GetRoomID() uint32 {
  1242. if x != nil {
  1243. return x.RoomID
  1244. }
  1245. return 0
  1246. }
  1247. //准备人数够,开始游戏
  1248. type Start struct {
  1249. state protoimpl.MessageState
  1250. sizeCache protoimpl.SizeCache
  1251. unknownFields protoimpl.UnknownFields
  1252. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1253. ChooseMasterMulList []uint32 `protobuf:"varint,2,rep,packed,name=ChooseMasterMulList,proto3" json:"ChooseMasterMulList,omitempty"` //抢庄倍数列表
  1254. Issue string `protobuf:"bytes,3,opt,name=issue,proto3" json:"issue,omitempty"`
  1255. CardList []uint32 `protobuf:"varint,4,rep,packed,name=CardList,proto3" json:"CardList,omitempty"` //牌型列表
  1256. }
  1257. func (x *Start) Reset() {
  1258. *x = Start{}
  1259. if protoimpl.UnsafeEnabled {
  1260. mi := &file_game_proto_msgTypes[15]
  1261. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1262. ms.StoreMessageInfo(mi)
  1263. }
  1264. }
  1265. func (x *Start) String() string {
  1266. return protoimpl.X.MessageStringOf(x)
  1267. }
  1268. func (*Start) ProtoMessage() {}
  1269. func (x *Start) ProtoReflect() protoreflect.Message {
  1270. mi := &file_game_proto_msgTypes[15]
  1271. if protoimpl.UnsafeEnabled && x != nil {
  1272. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1273. if ms.LoadMessageInfo() == nil {
  1274. ms.StoreMessageInfo(mi)
  1275. }
  1276. return ms
  1277. }
  1278. return mi.MessageOf(x)
  1279. }
  1280. // Deprecated: Use Start.ProtoReflect.Descriptor instead.
  1281. func (*Start) Descriptor() ([]byte, []int) {
  1282. return file_game_proto_rawDescGZIP(), []int{15}
  1283. }
  1284. func (x *Start) GetRoomID() uint32 {
  1285. if x != nil {
  1286. return x.RoomID
  1287. }
  1288. return 0
  1289. }
  1290. func (x *Start) GetChooseMasterMulList() []uint32 {
  1291. if x != nil {
  1292. return x.ChooseMasterMulList
  1293. }
  1294. return nil
  1295. }
  1296. func (x *Start) GetIssue() string {
  1297. if x != nil {
  1298. return x.Issue
  1299. }
  1300. return ""
  1301. }
  1302. func (x *Start) GetCardList() []uint32 {
  1303. if x != nil {
  1304. return x.CardList
  1305. }
  1306. return nil
  1307. }
  1308. //选庄
  1309. type ChooseMaster struct {
  1310. state protoimpl.MessageState
  1311. sizeCache protoimpl.SizeCache
  1312. unknownFields protoimpl.UnknownFields
  1313. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1314. Mul uint32 `protobuf:"varint,2,opt,name=Mul,proto3" json:"Mul,omitempty"` //0,1,2,3 - 0表示不抢
  1315. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1316. }
  1317. func (x *ChooseMaster) Reset() {
  1318. *x = ChooseMaster{}
  1319. if protoimpl.UnsafeEnabled {
  1320. mi := &file_game_proto_msgTypes[16]
  1321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1322. ms.StoreMessageInfo(mi)
  1323. }
  1324. }
  1325. func (x *ChooseMaster) String() string {
  1326. return protoimpl.X.MessageStringOf(x)
  1327. }
  1328. func (*ChooseMaster) ProtoMessage() {}
  1329. func (x *ChooseMaster) ProtoReflect() protoreflect.Message {
  1330. mi := &file_game_proto_msgTypes[16]
  1331. if protoimpl.UnsafeEnabled && x != nil {
  1332. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1333. if ms.LoadMessageInfo() == nil {
  1334. ms.StoreMessageInfo(mi)
  1335. }
  1336. return ms
  1337. }
  1338. return mi.MessageOf(x)
  1339. }
  1340. // Deprecated: Use ChooseMaster.ProtoReflect.Descriptor instead.
  1341. func (*ChooseMaster) Descriptor() ([]byte, []int) {
  1342. return file_game_proto_rawDescGZIP(), []int{16}
  1343. }
  1344. func (x *ChooseMaster) GetUserID() uint32 {
  1345. if x != nil {
  1346. return x.UserID
  1347. }
  1348. return 0
  1349. }
  1350. func (x *ChooseMaster) GetMul() uint32 {
  1351. if x != nil {
  1352. return x.Mul
  1353. }
  1354. return 0
  1355. }
  1356. func (x *ChooseMaster) GetRoomID() uint32 {
  1357. if x != nil {
  1358. return x.RoomID
  1359. }
  1360. return 0
  1361. }
  1362. //选倍数
  1363. type ChooseMul struct {
  1364. state protoimpl.MessageState
  1365. sizeCache protoimpl.SizeCache
  1366. unknownFields protoimpl.UnknownFields
  1367. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1368. Mul uint32 `protobuf:"varint,2,opt,name=Mul,proto3" json:"Mul,omitempty"` //1,2,3 - 倍数
  1369. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1370. CardList []uint32 `protobuf:"varint,4,rep,packed,name=CardList,proto3" json:"CardList,omitempty"` //牌型列表
  1371. }
  1372. func (x *ChooseMul) Reset() {
  1373. *x = ChooseMul{}
  1374. if protoimpl.UnsafeEnabled {
  1375. mi := &file_game_proto_msgTypes[17]
  1376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1377. ms.StoreMessageInfo(mi)
  1378. }
  1379. }
  1380. func (x *ChooseMul) String() string {
  1381. return protoimpl.X.MessageStringOf(x)
  1382. }
  1383. func (*ChooseMul) ProtoMessage() {}
  1384. func (x *ChooseMul) ProtoReflect() protoreflect.Message {
  1385. mi := &file_game_proto_msgTypes[17]
  1386. if protoimpl.UnsafeEnabled && x != nil {
  1387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1388. if ms.LoadMessageInfo() == nil {
  1389. ms.StoreMessageInfo(mi)
  1390. }
  1391. return ms
  1392. }
  1393. return mi.MessageOf(x)
  1394. }
  1395. // Deprecated: Use ChooseMul.ProtoReflect.Descriptor instead.
  1396. func (*ChooseMul) Descriptor() ([]byte, []int) {
  1397. return file_game_proto_rawDescGZIP(), []int{17}
  1398. }
  1399. func (x *ChooseMul) GetUserID() uint32 {
  1400. if x != nil {
  1401. return x.UserID
  1402. }
  1403. return 0
  1404. }
  1405. func (x *ChooseMul) GetMul() uint32 {
  1406. if x != nil {
  1407. return x.Mul
  1408. }
  1409. return 0
  1410. }
  1411. func (x *ChooseMul) GetRoomID() uint32 {
  1412. if x != nil {
  1413. return x.RoomID
  1414. }
  1415. return 0
  1416. }
  1417. func (x *ChooseMul) GetCardList() []uint32 {
  1418. if x != nil {
  1419. return x.CardList
  1420. }
  1421. return nil
  1422. }
  1423. //选庄完成
  1424. type ChooseMasterFinish struct {
  1425. state protoimpl.MessageState
  1426. sizeCache protoimpl.SizeCache
  1427. unknownFields protoimpl.UnknownFields
  1428. MasterUserID uint32 `protobuf:"varint,1,opt,name=MasterUserID,proto3" json:"MasterUserID,omitempty"` //庄家的ID
  1429. MulList []uint32 `protobuf:"varint,2,rep,packed,name=MulList,proto3" json:"MulList,omitempty"` //倍数列表
  1430. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1431. }
  1432. func (x *ChooseMasterFinish) Reset() {
  1433. *x = ChooseMasterFinish{}
  1434. if protoimpl.UnsafeEnabled {
  1435. mi := &file_game_proto_msgTypes[18]
  1436. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1437. ms.StoreMessageInfo(mi)
  1438. }
  1439. }
  1440. func (x *ChooseMasterFinish) String() string {
  1441. return protoimpl.X.MessageStringOf(x)
  1442. }
  1443. func (*ChooseMasterFinish) ProtoMessage() {}
  1444. func (x *ChooseMasterFinish) ProtoReflect() protoreflect.Message {
  1445. mi := &file_game_proto_msgTypes[18]
  1446. if protoimpl.UnsafeEnabled && x != nil {
  1447. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1448. if ms.LoadMessageInfo() == nil {
  1449. ms.StoreMessageInfo(mi)
  1450. }
  1451. return ms
  1452. }
  1453. return mi.MessageOf(x)
  1454. }
  1455. // Deprecated: Use ChooseMasterFinish.ProtoReflect.Descriptor instead.
  1456. func (*ChooseMasterFinish) Descriptor() ([]byte, []int) {
  1457. return file_game_proto_rawDescGZIP(), []int{18}
  1458. }
  1459. func (x *ChooseMasterFinish) GetMasterUserID() uint32 {
  1460. if x != nil {
  1461. return x.MasterUserID
  1462. }
  1463. return 0
  1464. }
  1465. func (x *ChooseMasterFinish) GetMulList() []uint32 {
  1466. if x != nil {
  1467. return x.MulList
  1468. }
  1469. return nil
  1470. }
  1471. func (x *ChooseMasterFinish) GetRoomID() uint32 {
  1472. if x != nil {
  1473. return x.RoomID
  1474. }
  1475. return 0
  1476. }
  1477. //选倍数完成
  1478. type ChooseMulFinish struct {
  1479. state protoimpl.MessageState
  1480. sizeCache protoimpl.SizeCache
  1481. unknownFields protoimpl.UnknownFields
  1482. RoomID uint32 `protobuf:"varint,3,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1483. }
  1484. func (x *ChooseMulFinish) Reset() {
  1485. *x = ChooseMulFinish{}
  1486. if protoimpl.UnsafeEnabled {
  1487. mi := &file_game_proto_msgTypes[19]
  1488. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1489. ms.StoreMessageInfo(mi)
  1490. }
  1491. }
  1492. func (x *ChooseMulFinish) String() string {
  1493. return protoimpl.X.MessageStringOf(x)
  1494. }
  1495. func (*ChooseMulFinish) ProtoMessage() {}
  1496. func (x *ChooseMulFinish) ProtoReflect() protoreflect.Message {
  1497. mi := &file_game_proto_msgTypes[19]
  1498. if protoimpl.UnsafeEnabled && x != nil {
  1499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1500. if ms.LoadMessageInfo() == nil {
  1501. ms.StoreMessageInfo(mi)
  1502. }
  1503. return ms
  1504. }
  1505. return mi.MessageOf(x)
  1506. }
  1507. // Deprecated: Use ChooseMulFinish.ProtoReflect.Descriptor instead.
  1508. func (*ChooseMulFinish) Descriptor() ([]byte, []int) {
  1509. return file_game_proto_rawDescGZIP(), []int{19}
  1510. }
  1511. func (x *ChooseMulFinish) GetRoomID() uint32 {
  1512. if x != nil {
  1513. return x.RoomID
  1514. }
  1515. return 0
  1516. }
  1517. type PayoutInfo struct {
  1518. state protoimpl.MessageState
  1519. sizeCache protoimpl.SizeCache
  1520. unknownFields protoimpl.UnknownFields
  1521. UserID uint32 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1522. Balance float64 `protobuf:"fixed64,2,opt,name=Balance,proto3" json:"Balance,omitempty"`
  1523. WinAmount float32 `protobuf:"fixed32,3,opt,name=winAmount,proto3" json:"winAmount,omitempty"`
  1524. IsMaster bool `protobuf:"varint,4,opt,name=isMaster,proto3" json:"isMaster,omitempty"`
  1525. }
  1526. func (x *PayoutInfo) Reset() {
  1527. *x = PayoutInfo{}
  1528. if protoimpl.UnsafeEnabled {
  1529. mi := &file_game_proto_msgTypes[20]
  1530. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1531. ms.StoreMessageInfo(mi)
  1532. }
  1533. }
  1534. func (x *PayoutInfo) String() string {
  1535. return protoimpl.X.MessageStringOf(x)
  1536. }
  1537. func (*PayoutInfo) ProtoMessage() {}
  1538. func (x *PayoutInfo) ProtoReflect() protoreflect.Message {
  1539. mi := &file_game_proto_msgTypes[20]
  1540. if protoimpl.UnsafeEnabled && x != nil {
  1541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1542. if ms.LoadMessageInfo() == nil {
  1543. ms.StoreMessageInfo(mi)
  1544. }
  1545. return ms
  1546. }
  1547. return mi.MessageOf(x)
  1548. }
  1549. // Deprecated: Use PayoutInfo.ProtoReflect.Descriptor instead.
  1550. func (*PayoutInfo) Descriptor() ([]byte, []int) {
  1551. return file_game_proto_rawDescGZIP(), []int{20}
  1552. }
  1553. func (x *PayoutInfo) GetUserID() uint32 {
  1554. if x != nil {
  1555. return x.UserID
  1556. }
  1557. return 0
  1558. }
  1559. func (x *PayoutInfo) GetBalance() float64 {
  1560. if x != nil {
  1561. return x.Balance
  1562. }
  1563. return 0
  1564. }
  1565. func (x *PayoutInfo) GetWinAmount() float32 {
  1566. if x != nil {
  1567. return x.WinAmount
  1568. }
  1569. return 0
  1570. }
  1571. func (x *PayoutInfo) GetIsMaster() bool {
  1572. if x != nil {
  1573. return x.IsMaster
  1574. }
  1575. return false
  1576. }
  1577. //选倍数完成
  1578. type OpenFinish struct {
  1579. state protoimpl.MessageState
  1580. sizeCache protoimpl.SizeCache
  1581. unknownFields protoimpl.UnknownFields
  1582. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1583. PayoutInfoList []*PayoutInfo `protobuf:"bytes,2,rep,name=PayoutInfoList,proto3" json:"PayoutInfoList,omitempty"`
  1584. }
  1585. func (x *OpenFinish) Reset() {
  1586. *x = OpenFinish{}
  1587. if protoimpl.UnsafeEnabled {
  1588. mi := &file_game_proto_msgTypes[21]
  1589. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1590. ms.StoreMessageInfo(mi)
  1591. }
  1592. }
  1593. func (x *OpenFinish) String() string {
  1594. return protoimpl.X.MessageStringOf(x)
  1595. }
  1596. func (*OpenFinish) ProtoMessage() {}
  1597. func (x *OpenFinish) ProtoReflect() protoreflect.Message {
  1598. mi := &file_game_proto_msgTypes[21]
  1599. if protoimpl.UnsafeEnabled && x != nil {
  1600. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1601. if ms.LoadMessageInfo() == nil {
  1602. ms.StoreMessageInfo(mi)
  1603. }
  1604. return ms
  1605. }
  1606. return mi.MessageOf(x)
  1607. }
  1608. // Deprecated: Use OpenFinish.ProtoReflect.Descriptor instead.
  1609. func (*OpenFinish) Descriptor() ([]byte, []int) {
  1610. return file_game_proto_rawDescGZIP(), []int{21}
  1611. }
  1612. func (x *OpenFinish) GetRoomID() uint32 {
  1613. if x != nil {
  1614. return x.RoomID
  1615. }
  1616. return 0
  1617. }
  1618. func (x *OpenFinish) GetPayoutInfoList() []*PayoutInfo {
  1619. if x != nil {
  1620. return x.PayoutInfoList
  1621. }
  1622. return nil
  1623. }
  1624. //开牌
  1625. type Open struct {
  1626. state protoimpl.MessageState
  1627. sizeCache protoimpl.SizeCache
  1628. unknownFields protoimpl.UnknownFields
  1629. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1630. UserID uint32 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"`
  1631. CardList []uint32 `protobuf:"varint,3,rep,packed,name=CardList,proto3" json:"CardList,omitempty"` //牌型列表
  1632. }
  1633. func (x *Open) Reset() {
  1634. *x = Open{}
  1635. if protoimpl.UnsafeEnabled {
  1636. mi := &file_game_proto_msgTypes[22]
  1637. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1638. ms.StoreMessageInfo(mi)
  1639. }
  1640. }
  1641. func (x *Open) String() string {
  1642. return protoimpl.X.MessageStringOf(x)
  1643. }
  1644. func (*Open) ProtoMessage() {}
  1645. func (x *Open) ProtoReflect() protoreflect.Message {
  1646. mi := &file_game_proto_msgTypes[22]
  1647. if protoimpl.UnsafeEnabled && x != nil {
  1648. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1649. if ms.LoadMessageInfo() == nil {
  1650. ms.StoreMessageInfo(mi)
  1651. }
  1652. return ms
  1653. }
  1654. return mi.MessageOf(x)
  1655. }
  1656. // Deprecated: Use Open.ProtoReflect.Descriptor instead.
  1657. func (*Open) Descriptor() ([]byte, []int) {
  1658. return file_game_proto_rawDescGZIP(), []int{22}
  1659. }
  1660. func (x *Open) GetRoomID() uint32 {
  1661. if x != nil {
  1662. return x.RoomID
  1663. }
  1664. return 0
  1665. }
  1666. func (x *Open) GetUserID() uint32 {
  1667. if x != nil {
  1668. return x.UserID
  1669. }
  1670. return 0
  1671. }
  1672. func (x *Open) GetCardList() []uint32 {
  1673. if x != nil {
  1674. return x.CardList
  1675. }
  1676. return nil
  1677. }
  1678. //游戏初始化
  1679. type GameInit struct {
  1680. state protoimpl.MessageState
  1681. sizeCache protoimpl.SizeCache
  1682. unknownFields protoimpl.UnknownFields
  1683. RoomID uint32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
  1684. }
  1685. func (x *GameInit) Reset() {
  1686. *x = GameInit{}
  1687. if protoimpl.UnsafeEnabled {
  1688. mi := &file_game_proto_msgTypes[23]
  1689. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1690. ms.StoreMessageInfo(mi)
  1691. }
  1692. }
  1693. func (x *GameInit) String() string {
  1694. return protoimpl.X.MessageStringOf(x)
  1695. }
  1696. func (*GameInit) ProtoMessage() {}
  1697. func (x *GameInit) ProtoReflect() protoreflect.Message {
  1698. mi := &file_game_proto_msgTypes[23]
  1699. if protoimpl.UnsafeEnabled && x != nil {
  1700. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1701. if ms.LoadMessageInfo() == nil {
  1702. ms.StoreMessageInfo(mi)
  1703. }
  1704. return ms
  1705. }
  1706. return mi.MessageOf(x)
  1707. }
  1708. // Deprecated: Use GameInit.ProtoReflect.Descriptor instead.
  1709. func (*GameInit) Descriptor() ([]byte, []int) {
  1710. return file_game_proto_rawDescGZIP(), []int{23}
  1711. }
  1712. func (x *GameInit) GetRoomID() uint32 {
  1713. if x != nil {
  1714. return x.RoomID
  1715. }
  1716. return 0
  1717. }
  1718. var File_game_proto protoreflect.FileDescriptor
  1719. var file_game_proto_rawDesc = []byte{
  1720. 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x61,
  1721. 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1722. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  1723. 0x74, 0x6f, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x88, 0x01, 0x0a, 0x07, 0x4d,
  1724. 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01,
  1725. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x73, 0x74,
  1726. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d,
  1727. 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
  1728. 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
  1729. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x28, 0x0a, 0x04, 0x64,
  1730. 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1731. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52,
  1732. 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe1, 0x02, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e,
  1733. 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12,
  1734. 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61,
  1735. 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x18, 0x0a, 0x20,
  1736. 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x12, 0x2f, 0x0a, 0x08,
  1737. 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13,
  1738. 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x54,
  1739. 0x79, 0x70, 0x65, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
  1740. 0x0a, 0x42, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  1741. 0x01, 0x52, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a,
  1742. 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x18, 0x05, 0x20,
  1743. 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1744. 0x31, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1745. 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73,
  1746. 0x65, 0x72, 0x49, 0x44, 0x32, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73,
  1747. 0x65, 0x72, 0x49, 0x44, 0x33, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61,
  1748. 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61,
  1749. 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1750. 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x12, 0x22, 0x0a,
  1751. 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x18, 0x09, 0x20,
  1752. 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1753. 0x35, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28,
  1754. 0x0d, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xe4, 0x03, 0x0a, 0x0a, 0x52, 0x6f,
  1755. 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01,
  1756. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65,
  1757. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
  1758. 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e,
  1759. 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79,
  1760. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70,
  1761. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x52,
  1762. 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x41,
  1763. 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x42, 0x61, 0x73,
  1764. 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72,
  1765. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43,
  1766. 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x12, 0x22, 0x0a, 0x0c, 0x43,
  1767. 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
  1768. 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x32, 0x12,
  1769. 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x33, 0x18,
  1770. 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72,
  1771. 0x49, 0x44, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72,
  1772. 0x49, 0x44, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72,
  1773. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72,
  1774. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43,
  1775. 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x12, 0x16, 0x0a, 0x06, 0x53,
  1776. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x53, 0x74, 0x61,
  1777. 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x74, 0x61,
  1778. 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x53, 0x74,
  1779. 0x61, 0x74, 0x75, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a,
  1780. 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20,
  1781. 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1782. 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73,
  1783. 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f,
  1784. 0x77, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x77,
  1785. 0x22, 0xda, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a,
  1786. 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55,
  1787. 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73,
  1788. 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73,
  1789. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x57, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  1790. 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x57, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  1791. 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
  1792. 0x08, 0x52, 0x08, 0x49, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x4d,
  1793. 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09,
  1794. 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x75, 0x6c,
  1795. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x53,
  1796. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x53, 0x74, 0x61,
  1797. 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08,
  1798. 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x64, 0x0a,
  1799. 0x04, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x20,
  1800. 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
  1801. 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x37, 0x0a, 0x0c, 0x52, 0x6f,
  1802. 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  1803. 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f,
  1804. 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4c,
  1805. 0x69, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x55,
  1806. 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65,
  1807. 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1808. 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x6d, 0x67, 0x18, 0x03,
  1809. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x49, 0x6d, 0x67, 0x22, 0xad, 0x02, 0x0a, 0x07, 0x43, 0x6f,
  1810. 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
  1811. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a,
  1812. 0x05, 0x4c, 0x6f, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x4c, 0x6f,
  1813. 0x67, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1814. 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x6d, 0x67, 0x18, 0x04,
  1815. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x49, 0x6d, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x6c,
  1816. 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x42, 0x61, 0x6c, 0x61,
  1817. 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x47, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  1818. 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x61,
  1819. 0x6d, 0x65, 0x52, 0x04, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d,
  1820. 0x4c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d,
  1821. 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x08, 0x52, 0x6f, 0x6f,
  1822. 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73,
  1823. 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72,
  1824. 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69,
  1825. 0x73, 0x74, 0x12, 0x35, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
  1826. 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f,
  1827. 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x52,
  1828. 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x24, 0x0a, 0x0a, 0x44, 0x69, 0x73,
  1829. 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49,
  1830. 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22,
  1831. 0xd0, 0x01, 0x0a, 0x08, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06,
  1832. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f,
  1833. 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72, 0x49, 0x44, 0x18,
  1834. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72, 0x49, 0x44, 0x12, 0x16,
  1835. 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  1836. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74,
  1837. 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65,
  1838. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x05,
  1839. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1840. 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0a, 0x52,
  1841. 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1842. 0x15, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d,
  1843. 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x65, 0x74, 0x61,
  1844. 0x69, 0x6c, 0x22, 0x7a, 0x0a, 0x09, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12,
  1845. 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1846. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72,
  1847. 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x43, 0x68, 0x61, 0x69, 0x72, 0x49,
  1848. 0x44, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
  1849. 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x23, 0x0a, 0x04, 0x55, 0x73, 0x65,
  1850. 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x72,
  1851. 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x22, 0xed,
  1852. 0x02, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a,
  1853. 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x44, 0x12, 0x1c, 0x0a,
  1854. 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d,
  1855. 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e,
  1856. 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1857. 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08,
  1858. 0x52, 0x07, 0x6e, 0x65, 0x65, 0x64, 0x50, 0x77, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x52, 0x6f, 0x6f,
  1859. 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x67, 0x61,
  1860. 0x6d, 0x65, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65,
  1861. 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x61,
  1862. 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a,
  1863. 0x42, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68,
  1864. 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
  1865. 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x31, 0x12, 0x22,
  1866. 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x32, 0x18, 0x06,
  1867. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
  1868. 0x44, 0x32, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
  1869. 0x44, 0x33, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55,
  1870. 0x73, 0x65, 0x72, 0x49, 0x44, 0x33, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55,
  1871. 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x43, 0x68,
  1872. 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x34, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68,
  1873. 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d,
  1874. 0x52, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x35, 0x22, 0x37,
  1875. 0x0a, 0x05, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49,
  1876. 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12,
  1877. 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1878. 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x39, 0x0a, 0x07, 0x55, 0x6e, 0x52, 0x65, 0x61,
  1879. 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  1880. 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73,
  1881. 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72,
  1882. 0x49, 0x44, 0x22, 0x23, 0x0a, 0x09, 0x57, 0x61, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12,
  1883. 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1884. 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22, 0x83, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72,
  1885. 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
  1886. 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x30, 0x0a, 0x13, 0x43, 0x68, 0x6f,
  1887. 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x4c, 0x69, 0x73, 0x74,
  1888. 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61,
  1889. 0x73, 0x74, 0x65, 0x72, 0x4d, 0x75, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69,
  1890. 0x73, 0x73, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75,
  1891. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20,
  1892. 0x03, 0x28, 0x0d, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x50, 0x0a,
  1893. 0x0c, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a,
  1894. 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55,
  1895. 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x75, 0x6c, 0x18, 0x02, 0x20, 0x01,
  1896. 0x28, 0x0d, 0x52, 0x03, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49,
  1897. 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22,
  1898. 0x69, 0x0a, 0x09, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06,
  1899. 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x73,
  1900. 0x65, 0x72, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x75, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  1901. 0x0d, 0x52, 0x03, 0x4d, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44,
  1902. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x12, 0x1a,
  1903. 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d,
  1904. 0x52, 0x08, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x6a, 0x0a, 0x12, 0x43, 0x68,
  1905. 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
  1906. 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
  1907. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73,
  1908. 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x75, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x18,
  1909. 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x4d, 0x75, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16,
  1910. 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  1911. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x22, 0x29, 0x0a, 0x0f, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65,
  1912. 0x4d, 0x75, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f,
  1913. 0x6d, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49,
  1914. 0x44, 0x22, 0x78, 0x0a, 0x0a, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  1915. 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1916. 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e,
  1917. 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  1918. 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
  1919. 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x77, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  1920. 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
  1921. 0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x63, 0x0a, 0x0a, 0x4f,
  1922. 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f,
  1923. 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49,
  1924. 0x44, 0x12, 0x3d, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c,
  1925. 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d, 0x65,
  1926. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f,
  1927. 0x52, 0x0e, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74,
  1928. 0x22, 0x52, 0x0a, 0x04, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d,
  1929. 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44,
  1930. 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
  1931. 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64,
  1932. 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x43, 0x61, 0x72, 0x64,
  1933. 0x4c, 0x69, 0x73, 0x74, 0x22, 0x22, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x69, 0x74,
  1934. 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  1935. 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x2a, 0xcd, 0x03, 0x0a, 0x0e, 0x4e, 0x6f, 0x74,
  1936. 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x0e, 0x4e,
  1937. 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x50, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12,
  1938. 0x16, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4a, 0x6f, 0x69,
  1939. 0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66,
  1940. 0x79, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x02,
  1941. 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x72,
  1942. 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x6f,
  1943. 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x10,
  1944. 0x04, 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x44,
  1945. 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x4e,
  1946. 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x06,
  1947. 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x55, 0x6e,
  1948. 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x6f, 0x74, 0x69, 0x66,
  1949. 0x79, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x10, 0x08, 0x12, 0x1a, 0x0a, 0x16,
  1950. 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65,
  1951. 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x10, 0x09, 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x6f, 0x74, 0x69,
  1952. 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x74,
  1953. 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x6f,
  1954. 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x75,
  1955. 0x6c, 0x10, 0x0b, 0x12, 0x1d, 0x0a, 0x19, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70,
  1956. 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x75, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
  1957. 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65,
  1958. 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x10, 0x0d, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x6f,
  1959. 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x10, 0x0e, 0x12, 0x18,
  1960. 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x65, 0x6e,
  1961. 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x0f, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69,
  1962. 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x10, 0x10, 0x12,
  1963. 0x17, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x57, 0x61, 0x69,
  1964. 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x11, 0x2a, 0x41, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61,
  1965. 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
  1966. 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61,
  1967. 0x54, 0x79, 0x70, 0x65, 0x47, 0x5a, 0x69, 0x70, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x61,
  1968. 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x63, 0x10, 0x04, 0x2a, 0x30, 0x0a, 0x08, 0x52,
  1969. 0x6f, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x54,
  1970. 0x79, 0x70, 0x65, 0x46, 0x72, 0x65, 0x65, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x6f, 0x6f,
  1971. 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x01, 0x2a, 0x36, 0x0a,
  1972. 0x0a, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x52,
  1973. 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x75, 0x63, 0x63, 0x10, 0x00, 0x12,
  1974. 0x14, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x61, 0x69,
  1975. 0x6c, 0x65, 0x64, 0x10, 0x01, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2f, 0x3b, 0x67, 0x61, 0x6d, 0x65,
  1976. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1977. }
  1978. var (
  1979. file_game_proto_rawDescOnce sync.Once
  1980. file_game_proto_rawDescData = file_game_proto_rawDesc
  1981. )
  1982. func file_game_proto_rawDescGZIP() []byte {
  1983. file_game_proto_rawDescOnce.Do(func() {
  1984. file_game_proto_rawDescData = protoimpl.X.CompressGZIP(file_game_proto_rawDescData)
  1985. })
  1986. return file_game_proto_rawDescData
  1987. }
  1988. var file_game_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
  1989. var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
  1990. var file_game_proto_goTypes = []interface{}{
  1991. (NotifyTypeEnum)(0), // 0: gameproto.NotifyTypeEnum
  1992. (DataType)(0), // 1: gameproto.DataType
  1993. (RoomType)(0), // 2: gameproto.RoomType
  1994. (RespStatus)(0), // 3: gameproto.RespStatus
  1995. (*Ping)(nil), // 4: gameproto.Ping
  1996. (*MsgResp)(nil), // 5: gameproto.MsgResp
  1997. (*Room)(nil), // 6: gameproto.Room
  1998. (*RoomDetail)(nil), // 7: gameproto.RoomDetail
  1999. (*RoomUser)(nil), // 8: gameproto.RoomUser
  2000. (*Game)(nil), // 9: gameproto.Game
  2001. (*User)(nil), // 10: gameproto.User
  2002. (*Connect)(nil), // 11: gameproto.Connect
  2003. (*Disconnect)(nil), // 12: gameproto.Disconnect
  2004. (*JoinRoom)(nil), // 13: gameproto.JoinRoom
  2005. (*LeaveRoom)(nil), // 14: gameproto.LeaveRoom
  2006. (*CreateRoom)(nil), // 15: gameproto.CreateRoom
  2007. (*Ready)(nil), // 16: gameproto.Ready
  2008. (*UnReady)(nil), // 17: gameproto.UnReady
  2009. (*WaitReady)(nil), // 18: gameproto.WaitReady
  2010. (*Start)(nil), // 19: gameproto.Start
  2011. (*ChooseMaster)(nil), // 20: gameproto.ChooseMaster
  2012. (*ChooseMul)(nil), // 21: gameproto.ChooseMul
  2013. (*ChooseMasterFinish)(nil), // 22: gameproto.ChooseMasterFinish
  2014. (*ChooseMulFinish)(nil), // 23: gameproto.ChooseMulFinish
  2015. (*PayoutInfo)(nil), // 24: gameproto.PayoutInfo
  2016. (*OpenFinish)(nil), // 25: gameproto.OpenFinish
  2017. (*Open)(nil), // 26: gameproto.Open
  2018. (*GameInit)(nil), // 27: gameproto.GameInit
  2019. (*any1.Any)(nil), // 28: google.protobuf.Any
  2020. }
  2021. var file_game_proto_depIdxs = []int32{
  2022. 3, // 0: gameproto.MsgResp.status:type_name -> gameproto.RespStatus
  2023. 28, // 1: gameproto.MsgResp.data:type_name -> google.protobuf.Any
  2024. 2, // 2: gameproto.Room.RoomType:type_name -> gameproto.RoomType
  2025. 2, // 3: gameproto.RoomDetail.RoomType:type_name -> gameproto.RoomType
  2026. 8, // 4: gameproto.RoomDetail.RoomUserList:type_name -> gameproto.RoomUser
  2027. 6, // 5: gameproto.Game.Room:type_name -> gameproto.Room
  2028. 8, // 6: gameproto.Game.RoomUserList:type_name -> gameproto.RoomUser
  2029. 9, // 7: gameproto.Connect.Game:type_name -> gameproto.Game
  2030. 6, // 8: gameproto.Connect.RoomList:type_name -> gameproto.Room
  2031. 10, // 9: gameproto.Connect.UserList:type_name -> gameproto.User
  2032. 7, // 10: gameproto.Connect.RoomDetail:type_name -> gameproto.RoomDetail
  2033. 10, // 11: gameproto.JoinRoom.User:type_name -> gameproto.User
  2034. 7, // 12: gameproto.JoinRoom.RoomDetail:type_name -> gameproto.RoomDetail
  2035. 10, // 13: gameproto.LeaveRoom.User:type_name -> gameproto.User
  2036. 2, // 14: gameproto.CreateRoom.RoomType:type_name -> gameproto.RoomType
  2037. 24, // 15: gameproto.OpenFinish.PayoutInfoList:type_name -> gameproto.PayoutInfo
  2038. 16, // [16:16] is the sub-list for method output_type
  2039. 16, // [16:16] is the sub-list for method input_type
  2040. 16, // [16:16] is the sub-list for extension type_name
  2041. 16, // [16:16] is the sub-list for extension extendee
  2042. 0, // [0:16] is the sub-list for field type_name
  2043. }
  2044. func init() { file_game_proto_init() }
  2045. func file_game_proto_init() {
  2046. if File_game_proto != nil {
  2047. return
  2048. }
  2049. if !protoimpl.UnsafeEnabled {
  2050. file_game_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2051. switch v := v.(*Ping); i {
  2052. case 0:
  2053. return &v.state
  2054. case 1:
  2055. return &v.sizeCache
  2056. case 2:
  2057. return &v.unknownFields
  2058. default:
  2059. return nil
  2060. }
  2061. }
  2062. file_game_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2063. switch v := v.(*MsgResp); i {
  2064. case 0:
  2065. return &v.state
  2066. case 1:
  2067. return &v.sizeCache
  2068. case 2:
  2069. return &v.unknownFields
  2070. default:
  2071. return nil
  2072. }
  2073. }
  2074. file_game_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2075. switch v := v.(*Room); i {
  2076. case 0:
  2077. return &v.state
  2078. case 1:
  2079. return &v.sizeCache
  2080. case 2:
  2081. return &v.unknownFields
  2082. default:
  2083. return nil
  2084. }
  2085. }
  2086. file_game_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2087. switch v := v.(*RoomDetail); i {
  2088. case 0:
  2089. return &v.state
  2090. case 1:
  2091. return &v.sizeCache
  2092. case 2:
  2093. return &v.unknownFields
  2094. default:
  2095. return nil
  2096. }
  2097. }
  2098. file_game_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2099. switch v := v.(*RoomUser); i {
  2100. case 0:
  2101. return &v.state
  2102. case 1:
  2103. return &v.sizeCache
  2104. case 2:
  2105. return &v.unknownFields
  2106. default:
  2107. return nil
  2108. }
  2109. }
  2110. file_game_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2111. switch v := v.(*Game); i {
  2112. case 0:
  2113. return &v.state
  2114. case 1:
  2115. return &v.sizeCache
  2116. case 2:
  2117. return &v.unknownFields
  2118. default:
  2119. return nil
  2120. }
  2121. }
  2122. file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2123. switch v := v.(*User); i {
  2124. case 0:
  2125. return &v.state
  2126. case 1:
  2127. return &v.sizeCache
  2128. case 2:
  2129. return &v.unknownFields
  2130. default:
  2131. return nil
  2132. }
  2133. }
  2134. file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2135. switch v := v.(*Connect); i {
  2136. case 0:
  2137. return &v.state
  2138. case 1:
  2139. return &v.sizeCache
  2140. case 2:
  2141. return &v.unknownFields
  2142. default:
  2143. return nil
  2144. }
  2145. }
  2146. file_game_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2147. switch v := v.(*Disconnect); i {
  2148. case 0:
  2149. return &v.state
  2150. case 1:
  2151. return &v.sizeCache
  2152. case 2:
  2153. return &v.unknownFields
  2154. default:
  2155. return nil
  2156. }
  2157. }
  2158. file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2159. switch v := v.(*JoinRoom); i {
  2160. case 0:
  2161. return &v.state
  2162. case 1:
  2163. return &v.sizeCache
  2164. case 2:
  2165. return &v.unknownFields
  2166. default:
  2167. return nil
  2168. }
  2169. }
  2170. file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2171. switch v := v.(*LeaveRoom); i {
  2172. case 0:
  2173. return &v.state
  2174. case 1:
  2175. return &v.sizeCache
  2176. case 2:
  2177. return &v.unknownFields
  2178. default:
  2179. return nil
  2180. }
  2181. }
  2182. file_game_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2183. switch v := v.(*CreateRoom); i {
  2184. case 0:
  2185. return &v.state
  2186. case 1:
  2187. return &v.sizeCache
  2188. case 2:
  2189. return &v.unknownFields
  2190. default:
  2191. return nil
  2192. }
  2193. }
  2194. file_game_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2195. switch v := v.(*Ready); i {
  2196. case 0:
  2197. return &v.state
  2198. case 1:
  2199. return &v.sizeCache
  2200. case 2:
  2201. return &v.unknownFields
  2202. default:
  2203. return nil
  2204. }
  2205. }
  2206. file_game_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2207. switch v := v.(*UnReady); i {
  2208. case 0:
  2209. return &v.state
  2210. case 1:
  2211. return &v.sizeCache
  2212. case 2:
  2213. return &v.unknownFields
  2214. default:
  2215. return nil
  2216. }
  2217. }
  2218. file_game_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2219. switch v := v.(*WaitReady); i {
  2220. case 0:
  2221. return &v.state
  2222. case 1:
  2223. return &v.sizeCache
  2224. case 2:
  2225. return &v.unknownFields
  2226. default:
  2227. return nil
  2228. }
  2229. }
  2230. file_game_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2231. switch v := v.(*Start); i {
  2232. case 0:
  2233. return &v.state
  2234. case 1:
  2235. return &v.sizeCache
  2236. case 2:
  2237. return &v.unknownFields
  2238. default:
  2239. return nil
  2240. }
  2241. }
  2242. file_game_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2243. switch v := v.(*ChooseMaster); i {
  2244. case 0:
  2245. return &v.state
  2246. case 1:
  2247. return &v.sizeCache
  2248. case 2:
  2249. return &v.unknownFields
  2250. default:
  2251. return nil
  2252. }
  2253. }
  2254. file_game_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2255. switch v := v.(*ChooseMul); i {
  2256. case 0:
  2257. return &v.state
  2258. case 1:
  2259. return &v.sizeCache
  2260. case 2:
  2261. return &v.unknownFields
  2262. default:
  2263. return nil
  2264. }
  2265. }
  2266. file_game_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2267. switch v := v.(*ChooseMasterFinish); i {
  2268. case 0:
  2269. return &v.state
  2270. case 1:
  2271. return &v.sizeCache
  2272. case 2:
  2273. return &v.unknownFields
  2274. default:
  2275. return nil
  2276. }
  2277. }
  2278. file_game_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2279. switch v := v.(*ChooseMulFinish); i {
  2280. case 0:
  2281. return &v.state
  2282. case 1:
  2283. return &v.sizeCache
  2284. case 2:
  2285. return &v.unknownFields
  2286. default:
  2287. return nil
  2288. }
  2289. }
  2290. file_game_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2291. switch v := v.(*PayoutInfo); i {
  2292. case 0:
  2293. return &v.state
  2294. case 1:
  2295. return &v.sizeCache
  2296. case 2:
  2297. return &v.unknownFields
  2298. default:
  2299. return nil
  2300. }
  2301. }
  2302. file_game_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2303. switch v := v.(*OpenFinish); i {
  2304. case 0:
  2305. return &v.state
  2306. case 1:
  2307. return &v.sizeCache
  2308. case 2:
  2309. return &v.unknownFields
  2310. default:
  2311. return nil
  2312. }
  2313. }
  2314. file_game_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2315. switch v := v.(*Open); i {
  2316. case 0:
  2317. return &v.state
  2318. case 1:
  2319. return &v.sizeCache
  2320. case 2:
  2321. return &v.unknownFields
  2322. default:
  2323. return nil
  2324. }
  2325. }
  2326. file_game_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2327. switch v := v.(*GameInit); i {
  2328. case 0:
  2329. return &v.state
  2330. case 1:
  2331. return &v.sizeCache
  2332. case 2:
  2333. return &v.unknownFields
  2334. default:
  2335. return nil
  2336. }
  2337. }
  2338. }
  2339. type x struct{}
  2340. out := protoimpl.TypeBuilder{
  2341. File: protoimpl.DescBuilder{
  2342. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2343. RawDescriptor: file_game_proto_rawDesc,
  2344. NumEnums: 4,
  2345. NumMessages: 24,
  2346. NumExtensions: 0,
  2347. NumServices: 0,
  2348. },
  2349. GoTypes: file_game_proto_goTypes,
  2350. DependencyIndexes: file_game_proto_depIdxs,
  2351. EnumInfos: file_game_proto_enumTypes,
  2352. MessageInfos: file_game_proto_msgTypes,
  2353. }.Build()
  2354. File_game_proto = out.File
  2355. file_game_proto_rawDesc = nil
  2356. file_game_proto_goTypes = nil
  2357. file_game_proto_depIdxs = nil
  2358. }