game.pb.go 82 KB

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