common.pb.go 105 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.21.5
  5. // source: common.proto
  6. package msg
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  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 RoleType int32
  21. const (
  22. RoleType_ROLE_TYPE_UNKNOWN RoleType = 0
  23. RoleType_RED RoleType = 1 // 无操作
  24. RoleType_BLUE RoleType = 4
  25. RoleType_YELLOW RoleType = 3
  26. RoleType_GREEN RoleType = 2
  27. )
  28. // Enum value maps for RoleType.
  29. var (
  30. RoleType_name = map[int32]string{
  31. 0: "ROLE_TYPE_UNKNOWN",
  32. 1: "RED",
  33. 4: "BLUE",
  34. 3: "YELLOW",
  35. 2: "GREEN",
  36. }
  37. RoleType_value = map[string]int32{
  38. "ROLE_TYPE_UNKNOWN": 0,
  39. "RED": 1,
  40. "BLUE": 4,
  41. "YELLOW": 3,
  42. "GREEN": 2,
  43. }
  44. )
  45. func (x RoleType) Enum() *RoleType {
  46. p := new(RoleType)
  47. *p = x
  48. return p
  49. }
  50. func (x RoleType) String() string {
  51. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  52. }
  53. func (RoleType) Descriptor() protoreflect.EnumDescriptor {
  54. return file_common_proto_enumTypes[0].Descriptor()
  55. }
  56. func (RoleType) Type() protoreflect.EnumType {
  57. return &file_common_proto_enumTypes[0]
  58. }
  59. func (x RoleType) Number() protoreflect.EnumNumber {
  60. return protoreflect.EnumNumber(x)
  61. }
  62. // Deprecated: Use RoleType.Descriptor instead.
  63. func (RoleType) EnumDescriptor() ([]byte, []int) {
  64. return file_common_proto_rawDescGZIP(), []int{0}
  65. }
  66. type OptType int32
  67. const (
  68. OptType_OPT_TYPE_UNKNOWN OptType = 0
  69. OptType_ZHI_SHAI_ZI OptType = 1
  70. OptType_SELECT_ROLE OptType = 2
  71. )
  72. // Enum value maps for OptType.
  73. var (
  74. OptType_name = map[int32]string{
  75. 0: "OPT_TYPE_UNKNOWN",
  76. 1: "ZHI_SHAI_ZI",
  77. 2: "SELECT_ROLE",
  78. }
  79. OptType_value = map[string]int32{
  80. "OPT_TYPE_UNKNOWN": 0,
  81. "ZHI_SHAI_ZI": 1,
  82. "SELECT_ROLE": 2,
  83. }
  84. )
  85. func (x OptType) Enum() *OptType {
  86. p := new(OptType)
  87. *p = x
  88. return p
  89. }
  90. func (x OptType) String() string {
  91. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  92. }
  93. func (OptType) Descriptor() protoreflect.EnumDescriptor {
  94. return file_common_proto_enumTypes[1].Descriptor()
  95. }
  96. func (OptType) Type() protoreflect.EnumType {
  97. return &file_common_proto_enumTypes[1]
  98. }
  99. func (x OptType) Number() protoreflect.EnumNumber {
  100. return protoreflect.EnumNumber(x)
  101. }
  102. // Deprecated: Use OptType.Descriptor instead.
  103. func (OptType) EnumDescriptor() ([]byte, []int) {
  104. return file_common_proto_rawDescGZIP(), []int{1}
  105. }
  106. type RoomType int32
  107. const (
  108. RoomType_ROOM_TYPE_UNKNOWN RoomType = 0
  109. RoomType_SHUANG_REN RoomType = 1
  110. RoomType_SIREN_REN RoomType = 2
  111. )
  112. // Enum value maps for RoomType.
  113. var (
  114. RoomType_name = map[int32]string{
  115. 0: "ROOM_TYPE_UNKNOWN",
  116. 1: "SHUANG_REN",
  117. 2: "SIREN_REN",
  118. }
  119. RoomType_value = map[string]int32{
  120. "ROOM_TYPE_UNKNOWN": 0,
  121. "SHUANG_REN": 1,
  122. "SIREN_REN": 2,
  123. }
  124. )
  125. func (x RoomType) Enum() *RoomType {
  126. p := new(RoomType)
  127. *p = x
  128. return p
  129. }
  130. func (x RoomType) String() string {
  131. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  132. }
  133. func (RoomType) Descriptor() protoreflect.EnumDescriptor {
  134. return file_common_proto_enumTypes[2].Descriptor()
  135. }
  136. func (RoomType) Type() protoreflect.EnumType {
  137. return &file_common_proto_enumTypes[2]
  138. }
  139. func (x RoomType) Number() protoreflect.EnumNumber {
  140. return protoreflect.EnumNumber(x)
  141. }
  142. // Deprecated: Use RoomType.Descriptor instead.
  143. func (RoomType) EnumDescriptor() ([]byte, []int) {
  144. return file_common_proto_rawDescGZIP(), []int{2}
  145. }
  146. type RoomMode int32
  147. const (
  148. RoomMode_ROOM_MODE_UNKNOWN RoomMode = 0
  149. RoomMode_REN_JI RoomMode = 1
  150. RoomMode_WAN_JIA RoomMode = 2
  151. )
  152. // Enum value maps for RoomMode.
  153. var (
  154. RoomMode_name = map[int32]string{
  155. 0: "ROOM_MODE_UNKNOWN",
  156. 1: "REN_JI",
  157. 2: "WAN_JIA",
  158. }
  159. RoomMode_value = map[string]int32{
  160. "ROOM_MODE_UNKNOWN": 0,
  161. "REN_JI": 1,
  162. "WAN_JIA": 2,
  163. }
  164. )
  165. func (x RoomMode) Enum() *RoomMode {
  166. p := new(RoomMode)
  167. *p = x
  168. return p
  169. }
  170. func (x RoomMode) String() string {
  171. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  172. }
  173. func (RoomMode) Descriptor() protoreflect.EnumDescriptor {
  174. return file_common_proto_enumTypes[3].Descriptor()
  175. }
  176. func (RoomMode) Type() protoreflect.EnumType {
  177. return &file_common_proto_enumTypes[3]
  178. }
  179. func (x RoomMode) Number() protoreflect.EnumNumber {
  180. return protoreflect.EnumNumber(x)
  181. }
  182. // Deprecated: Use RoomMode.Descriptor instead.
  183. func (RoomMode) EnumDescriptor() ([]byte, []int) {
  184. return file_common_proto_rawDescGZIP(), []int{3}
  185. }
  186. type RoadType int32
  187. const (
  188. RoadType_ROAD_TYPE_UNKNOWN RoadType = 0
  189. RoadType_HOME RoadType = 1
  190. )
  191. // Enum value maps for RoadType.
  192. var (
  193. RoadType_name = map[int32]string{
  194. 0: "ROAD_TYPE_UNKNOWN",
  195. 1: "HOME",
  196. }
  197. RoadType_value = map[string]int32{
  198. "ROAD_TYPE_UNKNOWN": 0,
  199. "HOME": 1,
  200. }
  201. )
  202. func (x RoadType) Enum() *RoadType {
  203. p := new(RoadType)
  204. *p = x
  205. return p
  206. }
  207. func (x RoadType) String() string {
  208. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  209. }
  210. func (RoadType) Descriptor() protoreflect.EnumDescriptor {
  211. return file_common_proto_enumTypes[4].Descriptor()
  212. }
  213. func (RoadType) Type() protoreflect.EnumType {
  214. return &file_common_proto_enumTypes[4]
  215. }
  216. func (x RoadType) Number() protoreflect.EnumNumber {
  217. return protoreflect.EnumNumber(x)
  218. }
  219. // Deprecated: Use RoadType.Descriptor instead.
  220. func (RoadType) EnumDescriptor() ([]byte, []int) {
  221. return file_common_proto_rawDescGZIP(), []int{4}
  222. }
  223. type PlayerStatus int32
  224. const (
  225. PlayerStatus_PLAYER_STATUS_UNKNOWN PlayerStatus = 0
  226. PlayerStatus_SZ_ANIMATION PlayerStatus = 1
  227. PlayerStatus_COLOR_FINISH PlayerStatus = 2
  228. PlayerStatus_COLOR_KICK PlayerStatus = 3
  229. PlayerStatus_COLOR_TIME_OUT PlayerStatus = 4
  230. )
  231. // Enum value maps for PlayerStatus.
  232. var (
  233. PlayerStatus_name = map[int32]string{
  234. 0: "PLAYER_STATUS_UNKNOWN",
  235. 1: "SZ_ANIMATION",
  236. 2: "COLOR_FINISH",
  237. 3: "COLOR_KICK",
  238. 4: "COLOR_TIME_OUT",
  239. }
  240. PlayerStatus_value = map[string]int32{
  241. "PLAYER_STATUS_UNKNOWN": 0,
  242. "SZ_ANIMATION": 1,
  243. "COLOR_FINISH": 2,
  244. "COLOR_KICK": 3,
  245. "COLOR_TIME_OUT": 4,
  246. }
  247. )
  248. func (x PlayerStatus) Enum() *PlayerStatus {
  249. p := new(PlayerStatus)
  250. *p = x
  251. return p
  252. }
  253. func (x PlayerStatus) String() string {
  254. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  255. }
  256. func (PlayerStatus) Descriptor() protoreflect.EnumDescriptor {
  257. return file_common_proto_enumTypes[5].Descriptor()
  258. }
  259. func (PlayerStatus) Type() protoreflect.EnumType {
  260. return &file_common_proto_enumTypes[5]
  261. }
  262. func (x PlayerStatus) Number() protoreflect.EnumNumber {
  263. return protoreflect.EnumNumber(x)
  264. }
  265. // Deprecated: Use PlayerStatus.Descriptor instead.
  266. func (PlayerStatus) EnumDescriptor() ([]byte, []int) {
  267. return file_common_proto_rawDescGZIP(), []int{5}
  268. }
  269. type RoomStatus int32
  270. const (
  271. RoomStatus_AWAIT RoomStatus = 0
  272. RoomStatus_START RoomStatus = 1
  273. RoomStatus_END RoomStatus = 2
  274. )
  275. // Enum value maps for RoomStatus.
  276. var (
  277. RoomStatus_name = map[int32]string{
  278. 0: "AWAIT",
  279. 1: "START",
  280. 2: "END",
  281. }
  282. RoomStatus_value = map[string]int32{
  283. "AWAIT": 0,
  284. "START": 1,
  285. "END": 2,
  286. }
  287. )
  288. func (x RoomStatus) Enum() *RoomStatus {
  289. p := new(RoomStatus)
  290. *p = x
  291. return p
  292. }
  293. func (x RoomStatus) String() string {
  294. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  295. }
  296. func (RoomStatus) Descriptor() protoreflect.EnumDescriptor {
  297. return file_common_proto_enumTypes[6].Descriptor()
  298. }
  299. func (RoomStatus) Type() protoreflect.EnumType {
  300. return &file_common_proto_enumTypes[6]
  301. }
  302. func (x RoomStatus) Number() protoreflect.EnumNumber {
  303. return protoreflect.EnumNumber(x)
  304. }
  305. // Deprecated: Use RoomStatus.Descriptor instead.
  306. func (RoomStatus) EnumDescriptor() ([]byte, []int) {
  307. return file_common_proto_rawDescGZIP(), []int{6}
  308. }
  309. type Round struct {
  310. state protoimpl.MessageState `protogen:"open.v1"`
  311. MColor RoleType `protobuf:"varint,1,opt,name=m_color,json=mColor,proto3,enum=RoleType" json:"m_color,omitempty"`
  312. MRoad string `protobuf:"bytes,2,opt,name=m_road,json=mRoad,proto3" json:"m_road,omitempty"`
  313. Opt OptType `protobuf:"varint,3,opt,name=opt,proto3,enum=OptType" json:"opt,omitempty"`
  314. SzNumber int32 `protobuf:"varint,4,opt,name=szNumber,proto3" json:"szNumber,omitempty"`
  315. unknownFields protoimpl.UnknownFields
  316. sizeCache protoimpl.SizeCache
  317. }
  318. func (x *Round) Reset() {
  319. *x = Round{}
  320. mi := &file_common_proto_msgTypes[0]
  321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  322. ms.StoreMessageInfo(mi)
  323. }
  324. func (x *Round) String() string {
  325. return protoimpl.X.MessageStringOf(x)
  326. }
  327. func (*Round) ProtoMessage() {}
  328. func (x *Round) ProtoReflect() protoreflect.Message {
  329. mi := &file_common_proto_msgTypes[0]
  330. if x != nil {
  331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  332. if ms.LoadMessageInfo() == nil {
  333. ms.StoreMessageInfo(mi)
  334. }
  335. return ms
  336. }
  337. return mi.MessageOf(x)
  338. }
  339. // Deprecated: Use Round.ProtoReflect.Descriptor instead.
  340. func (*Round) Descriptor() ([]byte, []int) {
  341. return file_common_proto_rawDescGZIP(), []int{0}
  342. }
  343. func (x *Round) GetMColor() RoleType {
  344. if x != nil {
  345. return x.MColor
  346. }
  347. return RoleType_ROLE_TYPE_UNKNOWN
  348. }
  349. func (x *Round) GetMRoad() string {
  350. if x != nil {
  351. return x.MRoad
  352. }
  353. return ""
  354. }
  355. func (x *Round) GetOpt() OptType {
  356. if x != nil {
  357. return x.Opt
  358. }
  359. return OptType_OPT_TYPE_UNKNOWN
  360. }
  361. func (x *Round) GetSzNumber() int32 {
  362. if x != nil {
  363. return x.SzNumber
  364. }
  365. return 0
  366. }
  367. type RoomInfo struct {
  368. state protoimpl.MessageState `protogen:"open.v1"`
  369. Roles []*RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
  370. Colors []*ColorData `protobuf:"bytes,2,rep,name=colors,proto3" json:"colors,omitempty"`
  371. RoomType RoomType `protobuf:"varint,3,opt,name=room_type,json=roomType,proto3,enum=RoomType" json:"room_type,omitempty"`
  372. RoomMode RoomMode `protobuf:"varint,4,opt,name=room_mode,json=roomMode,proto3,enum=RoomMode" json:"room_mode,omitempty"`
  373. CurRoundColor RoleType `protobuf:"varint,5,opt,name=cur_round_color,json=curRoundColor,proto3,enum=RoleType" json:"cur_round_color,omitempty"` //当前那个阵营的回合
  374. Rounds []*Round `protobuf:"bytes,6,rep,name=rounds,proto3" json:"rounds,omitempty"`
  375. FinishColors []*ColorData `protobuf:"bytes,7,rep,name=finish_colors,json=finishColors,proto3" json:"finish_colors,omitempty"`
  376. KictColors []*ColorData `protobuf:"bytes,8,rep,name=kict_colors,json=kictColors,proto3" json:"kict_colors,omitempty"`
  377. Id int32 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"`
  378. RoomLevel int32 `protobuf:"varint,10,opt,name=room_level,json=roomLevel,proto3" json:"room_level,omitempty"` //房间的每个等级都对应着不同的奖励和消耗
  379. RoomStatus RoomStatus `protobuf:"varint,11,opt,name=room_status,json=roomStatus,proto3,enum=RoomStatus" json:"room_status,omitempty"`
  380. CurColorOptData *NotifyPlayerOpt `protobuf:"bytes,12,opt,name=cur_color_opt_data,json=curColorOptData,proto3" json:"cur_color_opt_data,omitempty"` //当前阵营操作的类型
  381. OptTime int32 `protobuf:"varint,13,opt,name=opt_time,json=optTime,proto3" json:"opt_time,omitempty"` //玩家当前剩余操作时间
  382. unknownFields protoimpl.UnknownFields
  383. sizeCache protoimpl.SizeCache
  384. }
  385. func (x *RoomInfo) Reset() {
  386. *x = RoomInfo{}
  387. mi := &file_common_proto_msgTypes[1]
  388. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  389. ms.StoreMessageInfo(mi)
  390. }
  391. func (x *RoomInfo) String() string {
  392. return protoimpl.X.MessageStringOf(x)
  393. }
  394. func (*RoomInfo) ProtoMessage() {}
  395. func (x *RoomInfo) ProtoReflect() protoreflect.Message {
  396. mi := &file_common_proto_msgTypes[1]
  397. if x != nil {
  398. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  399. if ms.LoadMessageInfo() == nil {
  400. ms.StoreMessageInfo(mi)
  401. }
  402. return ms
  403. }
  404. return mi.MessageOf(x)
  405. }
  406. // Deprecated: Use RoomInfo.ProtoReflect.Descriptor instead.
  407. func (*RoomInfo) Descriptor() ([]byte, []int) {
  408. return file_common_proto_rawDescGZIP(), []int{1}
  409. }
  410. func (x *RoomInfo) GetRoles() []*RoleData {
  411. if x != nil {
  412. return x.Roles
  413. }
  414. return nil
  415. }
  416. func (x *RoomInfo) GetColors() []*ColorData {
  417. if x != nil {
  418. return x.Colors
  419. }
  420. return nil
  421. }
  422. func (x *RoomInfo) GetRoomType() RoomType {
  423. if x != nil {
  424. return x.RoomType
  425. }
  426. return RoomType_ROOM_TYPE_UNKNOWN
  427. }
  428. func (x *RoomInfo) GetRoomMode() RoomMode {
  429. if x != nil {
  430. return x.RoomMode
  431. }
  432. return RoomMode_ROOM_MODE_UNKNOWN
  433. }
  434. func (x *RoomInfo) GetCurRoundColor() RoleType {
  435. if x != nil {
  436. return x.CurRoundColor
  437. }
  438. return RoleType_ROLE_TYPE_UNKNOWN
  439. }
  440. func (x *RoomInfo) GetRounds() []*Round {
  441. if x != nil {
  442. return x.Rounds
  443. }
  444. return nil
  445. }
  446. func (x *RoomInfo) GetFinishColors() []*ColorData {
  447. if x != nil {
  448. return x.FinishColors
  449. }
  450. return nil
  451. }
  452. func (x *RoomInfo) GetKictColors() []*ColorData {
  453. if x != nil {
  454. return x.KictColors
  455. }
  456. return nil
  457. }
  458. func (x *RoomInfo) GetId() int32 {
  459. if x != nil {
  460. return x.Id
  461. }
  462. return 0
  463. }
  464. func (x *RoomInfo) GetRoomLevel() int32 {
  465. if x != nil {
  466. return x.RoomLevel
  467. }
  468. return 0
  469. }
  470. func (x *RoomInfo) GetRoomStatus() RoomStatus {
  471. if x != nil {
  472. return x.RoomStatus
  473. }
  474. return RoomStatus_AWAIT
  475. }
  476. func (x *RoomInfo) GetCurColorOptData() *NotifyPlayerOpt {
  477. if x != nil {
  478. return x.CurColorOptData
  479. }
  480. return nil
  481. }
  482. func (x *RoomInfo) GetOptTime() int32 {
  483. if x != nil {
  484. return x.OptTime
  485. }
  486. return 0
  487. }
  488. type RoleData struct {
  489. state protoimpl.MessageState `protogen:"open.v1"`
  490. MColor RoleType `protobuf:"varint,1,opt,name=m_color,json=mColor,proto3,enum=RoleType" json:"m_color,omitempty"`
  491. MSeat int32 `protobuf:"varint,2,opt,name=m_seat,json=mSeat,proto3" json:"m_seat,omitempty"`
  492. MId string `protobuf:"bytes,3,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"`
  493. MCurRoad RoadType `protobuf:"varint,4,opt,name=m_cur_road,json=mCurRoad,proto3,enum=RoadType" json:"m_cur_road,omitempty"`
  494. Step int32 `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"`
  495. OldSetp int32 `protobuf:"varint,6,opt,name=old_setp,json=oldSetp,proto3" json:"old_setp,omitempty"`
  496. unknownFields protoimpl.UnknownFields
  497. sizeCache protoimpl.SizeCache
  498. }
  499. func (x *RoleData) Reset() {
  500. *x = RoleData{}
  501. mi := &file_common_proto_msgTypes[2]
  502. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  503. ms.StoreMessageInfo(mi)
  504. }
  505. func (x *RoleData) String() string {
  506. return protoimpl.X.MessageStringOf(x)
  507. }
  508. func (*RoleData) ProtoMessage() {}
  509. func (x *RoleData) ProtoReflect() protoreflect.Message {
  510. mi := &file_common_proto_msgTypes[2]
  511. if x != nil {
  512. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  513. if ms.LoadMessageInfo() == nil {
  514. ms.StoreMessageInfo(mi)
  515. }
  516. return ms
  517. }
  518. return mi.MessageOf(x)
  519. }
  520. // Deprecated: Use RoleData.ProtoReflect.Descriptor instead.
  521. func (*RoleData) Descriptor() ([]byte, []int) {
  522. return file_common_proto_rawDescGZIP(), []int{2}
  523. }
  524. func (x *RoleData) GetMColor() RoleType {
  525. if x != nil {
  526. return x.MColor
  527. }
  528. return RoleType_ROLE_TYPE_UNKNOWN
  529. }
  530. func (x *RoleData) GetMSeat() int32 {
  531. if x != nil {
  532. return x.MSeat
  533. }
  534. return 0
  535. }
  536. func (x *RoleData) GetMId() string {
  537. if x != nil {
  538. return x.MId
  539. }
  540. return ""
  541. }
  542. func (x *RoleData) GetMCurRoad() RoadType {
  543. if x != nil {
  544. return x.MCurRoad
  545. }
  546. return RoadType_ROAD_TYPE_UNKNOWN
  547. }
  548. func (x *RoleData) GetStep() int32 {
  549. if x != nil {
  550. return x.Step
  551. }
  552. return 0
  553. }
  554. func (x *RoleData) GetOldSetp() int32 {
  555. if x != nil {
  556. return x.OldSetp
  557. }
  558. return 0
  559. }
  560. type ColorData struct {
  561. state protoimpl.MessageState `protogen:"open.v1"`
  562. MId string `protobuf:"bytes,1,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"`
  563. MColor RoleType `protobuf:"varint,2,opt,name=m_color,json=mColor,proto3,enum=RoleType" json:"m_color,omitempty"`
  564. IsKick bool `protobuf:"varint,3,opt,name=is_kick,json=isKick,proto3" json:"is_kick,omitempty"`
  565. IsFinish bool `protobuf:"varint,4,opt,name=is_finish,json=isFinish,proto3" json:"is_finish,omitempty"`
  566. TimeOutNum int32 `protobuf:"varint,5,opt,name=time_out_num,json=timeOutNum,proto3" json:"time_out_num,omitempty"`
  567. MName string `protobuf:"bytes,6,opt,name=m_name,json=mName,proto3" json:"m_name,omitempty"`
  568. MHead string `protobuf:"bytes,7,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"`
  569. RankNum int32 `protobuf:"varint,8,opt,name=rank_num,json=rankNum,proto3" json:"rank_num,omitempty"`
  570. MCoin int32 `protobuf:"varint,9,opt,name=m_coin,json=mCoin,proto3" json:"m_coin,omitempty"`
  571. MRewardCoin int32 `protobuf:"varint,10,opt,name=m_reward_coin,json=mRewardCoin,proto3" json:"m_reward_coin,omitempty"`
  572. unknownFields protoimpl.UnknownFields
  573. sizeCache protoimpl.SizeCache
  574. }
  575. func (x *ColorData) Reset() {
  576. *x = ColorData{}
  577. mi := &file_common_proto_msgTypes[3]
  578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  579. ms.StoreMessageInfo(mi)
  580. }
  581. func (x *ColorData) String() string {
  582. return protoimpl.X.MessageStringOf(x)
  583. }
  584. func (*ColorData) ProtoMessage() {}
  585. func (x *ColorData) ProtoReflect() protoreflect.Message {
  586. mi := &file_common_proto_msgTypes[3]
  587. if x != nil {
  588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  589. if ms.LoadMessageInfo() == nil {
  590. ms.StoreMessageInfo(mi)
  591. }
  592. return ms
  593. }
  594. return mi.MessageOf(x)
  595. }
  596. // Deprecated: Use ColorData.ProtoReflect.Descriptor instead.
  597. func (*ColorData) Descriptor() ([]byte, []int) {
  598. return file_common_proto_rawDescGZIP(), []int{3}
  599. }
  600. func (x *ColorData) GetMId() string {
  601. if x != nil {
  602. return x.MId
  603. }
  604. return ""
  605. }
  606. func (x *ColorData) GetMColor() RoleType {
  607. if x != nil {
  608. return x.MColor
  609. }
  610. return RoleType_ROLE_TYPE_UNKNOWN
  611. }
  612. func (x *ColorData) GetIsKick() bool {
  613. if x != nil {
  614. return x.IsKick
  615. }
  616. return false
  617. }
  618. func (x *ColorData) GetIsFinish() bool {
  619. if x != nil {
  620. return x.IsFinish
  621. }
  622. return false
  623. }
  624. func (x *ColorData) GetTimeOutNum() int32 {
  625. if x != nil {
  626. return x.TimeOutNum
  627. }
  628. return 0
  629. }
  630. func (x *ColorData) GetMName() string {
  631. if x != nil {
  632. return x.MName
  633. }
  634. return ""
  635. }
  636. func (x *ColorData) GetMHead() string {
  637. if x != nil {
  638. return x.MHead
  639. }
  640. return ""
  641. }
  642. func (x *ColorData) GetRankNum() int32 {
  643. if x != nil {
  644. return x.RankNum
  645. }
  646. return 0
  647. }
  648. func (x *ColorData) GetMCoin() int32 {
  649. if x != nil {
  650. return x.MCoin
  651. }
  652. return 0
  653. }
  654. func (x *ColorData) GetMRewardCoin() int32 {
  655. if x != nil {
  656. return x.MRewardCoin
  657. }
  658. return 0
  659. }
  660. type MoveStepData struct {
  661. state protoimpl.MessageState `protogen:"open.v1"`
  662. MId string `protobuf:"bytes,1,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"`
  663. Step int32 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"`
  664. OldSetp int32 `protobuf:"varint,3,opt,name=old_setp,json=oldSetp,proto3" json:"old_setp,omitempty"`
  665. unknownFields protoimpl.UnknownFields
  666. sizeCache protoimpl.SizeCache
  667. }
  668. func (x *MoveStepData) Reset() {
  669. *x = MoveStepData{}
  670. mi := &file_common_proto_msgTypes[4]
  671. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  672. ms.StoreMessageInfo(mi)
  673. }
  674. func (x *MoveStepData) String() string {
  675. return protoimpl.X.MessageStringOf(x)
  676. }
  677. func (*MoveStepData) ProtoMessage() {}
  678. func (x *MoveStepData) ProtoReflect() protoreflect.Message {
  679. mi := &file_common_proto_msgTypes[4]
  680. if x != nil {
  681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  682. if ms.LoadMessageInfo() == nil {
  683. ms.StoreMessageInfo(mi)
  684. }
  685. return ms
  686. }
  687. return mi.MessageOf(x)
  688. }
  689. // Deprecated: Use MoveStepData.ProtoReflect.Descriptor instead.
  690. func (*MoveStepData) Descriptor() ([]byte, []int) {
  691. return file_common_proto_rawDescGZIP(), []int{4}
  692. }
  693. func (x *MoveStepData) GetMId() string {
  694. if x != nil {
  695. return x.MId
  696. }
  697. return ""
  698. }
  699. func (x *MoveStepData) GetStep() int32 {
  700. if x != nil {
  701. return x.Step
  702. }
  703. return 0
  704. }
  705. func (x *MoveStepData) GetOldSetp() int32 {
  706. if x != nil {
  707. return x.OldSetp
  708. }
  709. return 0
  710. }
  711. type SendColorSz struct {
  712. state protoimpl.MessageState `protogen:"open.v1"`
  713. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  714. unknownFields protoimpl.UnknownFields
  715. sizeCache protoimpl.SizeCache
  716. }
  717. func (x *SendColorSz) Reset() {
  718. *x = SendColorSz{}
  719. mi := &file_common_proto_msgTypes[5]
  720. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  721. ms.StoreMessageInfo(mi)
  722. }
  723. func (x *SendColorSz) String() string {
  724. return protoimpl.X.MessageStringOf(x)
  725. }
  726. func (*SendColorSz) ProtoMessage() {}
  727. func (x *SendColorSz) ProtoReflect() protoreflect.Message {
  728. mi := &file_common_proto_msgTypes[5]
  729. if x != nil {
  730. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  731. if ms.LoadMessageInfo() == nil {
  732. ms.StoreMessageInfo(mi)
  733. }
  734. return ms
  735. }
  736. return mi.MessageOf(x)
  737. }
  738. // Deprecated: Use SendColorSz.ProtoReflect.Descriptor instead.
  739. func (*SendColorSz) Descriptor() ([]byte, []int) {
  740. return file_common_proto_rawDescGZIP(), []int{5}
  741. }
  742. func (x *SendColorSz) GetColor() RoleType {
  743. if x != nil {
  744. return x.Color
  745. }
  746. return RoleType_ROLE_TYPE_UNKNOWN
  747. }
  748. type SendRoleMove struct {
  749. state protoimpl.MessageState `protogen:"open.v1"`
  750. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  751. RoleId string `protobuf:"bytes,2,opt,name=roleId,proto3" json:"roleId,omitempty"`
  752. unknownFields protoimpl.UnknownFields
  753. sizeCache protoimpl.SizeCache
  754. }
  755. func (x *SendRoleMove) Reset() {
  756. *x = SendRoleMove{}
  757. mi := &file_common_proto_msgTypes[6]
  758. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  759. ms.StoreMessageInfo(mi)
  760. }
  761. func (x *SendRoleMove) String() string {
  762. return protoimpl.X.MessageStringOf(x)
  763. }
  764. func (*SendRoleMove) ProtoMessage() {}
  765. func (x *SendRoleMove) ProtoReflect() protoreflect.Message {
  766. mi := &file_common_proto_msgTypes[6]
  767. if x != nil {
  768. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  769. if ms.LoadMessageInfo() == nil {
  770. ms.StoreMessageInfo(mi)
  771. }
  772. return ms
  773. }
  774. return mi.MessageOf(x)
  775. }
  776. // Deprecated: Use SendRoleMove.ProtoReflect.Descriptor instead.
  777. func (*SendRoleMove) Descriptor() ([]byte, []int) {
  778. return file_common_proto_rawDescGZIP(), []int{6}
  779. }
  780. func (x *SendRoleMove) GetColor() RoleType {
  781. if x != nil {
  782. return x.Color
  783. }
  784. return RoleType_ROLE_TYPE_UNKNOWN
  785. }
  786. func (x *SendRoleMove) GetRoleId() string {
  787. if x != nil {
  788. return x.RoleId
  789. }
  790. return ""
  791. }
  792. type SendQuitRoom struct {
  793. state protoimpl.MessageState `protogen:"open.v1"`
  794. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  795. unknownFields protoimpl.UnknownFields
  796. sizeCache protoimpl.SizeCache
  797. }
  798. func (x *SendQuitRoom) Reset() {
  799. *x = SendQuitRoom{}
  800. mi := &file_common_proto_msgTypes[7]
  801. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  802. ms.StoreMessageInfo(mi)
  803. }
  804. func (x *SendQuitRoom) String() string {
  805. return protoimpl.X.MessageStringOf(x)
  806. }
  807. func (*SendQuitRoom) ProtoMessage() {}
  808. func (x *SendQuitRoom) ProtoReflect() protoreflect.Message {
  809. mi := &file_common_proto_msgTypes[7]
  810. if x != nil {
  811. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  812. if ms.LoadMessageInfo() == nil {
  813. ms.StoreMessageInfo(mi)
  814. }
  815. return ms
  816. }
  817. return mi.MessageOf(x)
  818. }
  819. // Deprecated: Use SendQuitRoom.ProtoReflect.Descriptor instead.
  820. func (*SendQuitRoom) Descriptor() ([]byte, []int) {
  821. return file_common_proto_rawDescGZIP(), []int{7}
  822. }
  823. func (x *SendQuitRoom) GetColor() RoleType {
  824. if x != nil {
  825. return x.Color
  826. }
  827. return RoleType_ROLE_TYPE_UNKNOWN
  828. }
  829. type NotifyPlayerSzNumber struct {
  830. state protoimpl.MessageState `protogen:"open.v1"`
  831. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  832. SzNumber int32 `protobuf:"varint,2,opt,name=szNumber,proto3" json:"szNumber,omitempty"` //
  833. ErrMsg *MsgError `protobuf:"bytes,3,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  834. unknownFields protoimpl.UnknownFields
  835. sizeCache protoimpl.SizeCache
  836. }
  837. func (x *NotifyPlayerSzNumber) Reset() {
  838. *x = NotifyPlayerSzNumber{}
  839. mi := &file_common_proto_msgTypes[8]
  840. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  841. ms.StoreMessageInfo(mi)
  842. }
  843. func (x *NotifyPlayerSzNumber) String() string {
  844. return protoimpl.X.MessageStringOf(x)
  845. }
  846. func (*NotifyPlayerSzNumber) ProtoMessage() {}
  847. func (x *NotifyPlayerSzNumber) ProtoReflect() protoreflect.Message {
  848. mi := &file_common_proto_msgTypes[8]
  849. if x != nil {
  850. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  851. if ms.LoadMessageInfo() == nil {
  852. ms.StoreMessageInfo(mi)
  853. }
  854. return ms
  855. }
  856. return mi.MessageOf(x)
  857. }
  858. // Deprecated: Use NotifyPlayerSzNumber.ProtoReflect.Descriptor instead.
  859. func (*NotifyPlayerSzNumber) Descriptor() ([]byte, []int) {
  860. return file_common_proto_rawDescGZIP(), []int{8}
  861. }
  862. func (x *NotifyPlayerSzNumber) GetColor() RoleType {
  863. if x != nil {
  864. return x.Color
  865. }
  866. return RoleType_ROLE_TYPE_UNKNOWN
  867. }
  868. func (x *NotifyPlayerSzNumber) GetSzNumber() int32 {
  869. if x != nil {
  870. return x.SzNumber
  871. }
  872. return 0
  873. }
  874. func (x *NotifyPlayerSzNumber) GetErrMsg() *MsgError {
  875. if x != nil {
  876. return x.ErrMsg
  877. }
  878. return nil
  879. }
  880. type NotifyPlayerMove struct {
  881. state protoimpl.MessageState `protogen:"open.v1"`
  882. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  883. Step *MoveStepData `protobuf:"bytes,2,opt,name=step,proto3" json:"step,omitempty"` //
  884. Kick []*RoleData `protobuf:"bytes,3,rep,name=kick,proto3" json:"kick,omitempty"`
  885. unknownFields protoimpl.UnknownFields
  886. sizeCache protoimpl.SizeCache
  887. }
  888. func (x *NotifyPlayerMove) Reset() {
  889. *x = NotifyPlayerMove{}
  890. mi := &file_common_proto_msgTypes[9]
  891. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  892. ms.StoreMessageInfo(mi)
  893. }
  894. func (x *NotifyPlayerMove) String() string {
  895. return protoimpl.X.MessageStringOf(x)
  896. }
  897. func (*NotifyPlayerMove) ProtoMessage() {}
  898. func (x *NotifyPlayerMove) ProtoReflect() protoreflect.Message {
  899. mi := &file_common_proto_msgTypes[9]
  900. if x != nil {
  901. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  902. if ms.LoadMessageInfo() == nil {
  903. ms.StoreMessageInfo(mi)
  904. }
  905. return ms
  906. }
  907. return mi.MessageOf(x)
  908. }
  909. // Deprecated: Use NotifyPlayerMove.ProtoReflect.Descriptor instead.
  910. func (*NotifyPlayerMove) Descriptor() ([]byte, []int) {
  911. return file_common_proto_rawDescGZIP(), []int{9}
  912. }
  913. func (x *NotifyPlayerMove) GetColor() RoleType {
  914. if x != nil {
  915. return x.Color
  916. }
  917. return RoleType_ROLE_TYPE_UNKNOWN
  918. }
  919. func (x *NotifyPlayerMove) GetStep() *MoveStepData {
  920. if x != nil {
  921. return x.Step
  922. }
  923. return nil
  924. }
  925. func (x *NotifyPlayerMove) GetKick() []*RoleData {
  926. if x != nil {
  927. return x.Kick
  928. }
  929. return nil
  930. }
  931. type NotifyPlayerOpt struct {
  932. state protoimpl.MessageState `protogen:"open.v1"`
  933. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  934. Opt OptType `protobuf:"varint,2,opt,name=opt,proto3,enum=OptType" json:"opt,omitempty"` //
  935. CanMoveRoles []*RoleData `protobuf:"bytes,3,rep,name=canMoveRoles,proto3" json:"canMoveRoles,omitempty"`
  936. OptTime int32 `protobuf:"varint,4,opt,name=opt_time,json=optTime,proto3" json:"opt_time,omitempty"`
  937. unknownFields protoimpl.UnknownFields
  938. sizeCache protoimpl.SizeCache
  939. }
  940. func (x *NotifyPlayerOpt) Reset() {
  941. *x = NotifyPlayerOpt{}
  942. mi := &file_common_proto_msgTypes[10]
  943. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  944. ms.StoreMessageInfo(mi)
  945. }
  946. func (x *NotifyPlayerOpt) String() string {
  947. return protoimpl.X.MessageStringOf(x)
  948. }
  949. func (*NotifyPlayerOpt) ProtoMessage() {}
  950. func (x *NotifyPlayerOpt) ProtoReflect() protoreflect.Message {
  951. mi := &file_common_proto_msgTypes[10]
  952. if x != nil {
  953. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  954. if ms.LoadMessageInfo() == nil {
  955. ms.StoreMessageInfo(mi)
  956. }
  957. return ms
  958. }
  959. return mi.MessageOf(x)
  960. }
  961. // Deprecated: Use NotifyPlayerOpt.ProtoReflect.Descriptor instead.
  962. func (*NotifyPlayerOpt) Descriptor() ([]byte, []int) {
  963. return file_common_proto_rawDescGZIP(), []int{10}
  964. }
  965. func (x *NotifyPlayerOpt) GetColor() RoleType {
  966. if x != nil {
  967. return x.Color
  968. }
  969. return RoleType_ROLE_TYPE_UNKNOWN
  970. }
  971. func (x *NotifyPlayerOpt) GetOpt() OptType {
  972. if x != nil {
  973. return x.Opt
  974. }
  975. return OptType_OPT_TYPE_UNKNOWN
  976. }
  977. func (x *NotifyPlayerOpt) GetCanMoveRoles() []*RoleData {
  978. if x != nil {
  979. return x.CanMoveRoles
  980. }
  981. return nil
  982. }
  983. func (x *NotifyPlayerOpt) GetOptTime() int32 {
  984. if x != nil {
  985. return x.OptTime
  986. }
  987. return 0
  988. }
  989. type NotifyPlayerStatus struct {
  990. state protoimpl.MessageState `protogen:"open.v1"`
  991. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  992. Status PlayerStatus `protobuf:"varint,2,opt,name=status,proto3,enum=PlayerStatus" json:"status,omitempty"`
  993. Colors []*ColorData `protobuf:"bytes,3,rep,name=colors,proto3" json:"colors,omitempty"`
  994. TimeOutColor *ColorData `protobuf:"bytes,4,opt,name=time_out_color,json=timeOutColor,proto3" json:"time_out_color,omitempty"`
  995. unknownFields protoimpl.UnknownFields
  996. sizeCache protoimpl.SizeCache
  997. }
  998. func (x *NotifyPlayerStatus) Reset() {
  999. *x = NotifyPlayerStatus{}
  1000. mi := &file_common_proto_msgTypes[11]
  1001. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1002. ms.StoreMessageInfo(mi)
  1003. }
  1004. func (x *NotifyPlayerStatus) String() string {
  1005. return protoimpl.X.MessageStringOf(x)
  1006. }
  1007. func (*NotifyPlayerStatus) ProtoMessage() {}
  1008. func (x *NotifyPlayerStatus) ProtoReflect() protoreflect.Message {
  1009. mi := &file_common_proto_msgTypes[11]
  1010. if x != nil {
  1011. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1012. if ms.LoadMessageInfo() == nil {
  1013. ms.StoreMessageInfo(mi)
  1014. }
  1015. return ms
  1016. }
  1017. return mi.MessageOf(x)
  1018. }
  1019. // Deprecated: Use NotifyPlayerStatus.ProtoReflect.Descriptor instead.
  1020. func (*NotifyPlayerStatus) Descriptor() ([]byte, []int) {
  1021. return file_common_proto_rawDescGZIP(), []int{11}
  1022. }
  1023. func (x *NotifyPlayerStatus) GetColor() RoleType {
  1024. if x != nil {
  1025. return x.Color
  1026. }
  1027. return RoleType_ROLE_TYPE_UNKNOWN
  1028. }
  1029. func (x *NotifyPlayerStatus) GetStatus() PlayerStatus {
  1030. if x != nil {
  1031. return x.Status
  1032. }
  1033. return PlayerStatus_PLAYER_STATUS_UNKNOWN
  1034. }
  1035. func (x *NotifyPlayerStatus) GetColors() []*ColorData {
  1036. if x != nil {
  1037. return x.Colors
  1038. }
  1039. return nil
  1040. }
  1041. func (x *NotifyPlayerStatus) GetTimeOutColor() *ColorData {
  1042. if x != nil {
  1043. return x.TimeOutColor
  1044. }
  1045. return nil
  1046. }
  1047. type NotifySettlement struct {
  1048. state protoimpl.MessageState `protogen:"open.v1"`
  1049. Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` //
  1050. FinishColors []*ColorData `protobuf:"bytes,2,rep,name=finish_colors,json=finishColors,proto3" json:"finish_colors,omitempty"`
  1051. unknownFields protoimpl.UnknownFields
  1052. sizeCache protoimpl.SizeCache
  1053. }
  1054. func (x *NotifySettlement) Reset() {
  1055. *x = NotifySettlement{}
  1056. mi := &file_common_proto_msgTypes[12]
  1057. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. func (x *NotifySettlement) String() string {
  1061. return protoimpl.X.MessageStringOf(x)
  1062. }
  1063. func (*NotifySettlement) ProtoMessage() {}
  1064. func (x *NotifySettlement) ProtoReflect() protoreflect.Message {
  1065. mi := &file_common_proto_msgTypes[12]
  1066. if x != nil {
  1067. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1068. if ms.LoadMessageInfo() == nil {
  1069. ms.StoreMessageInfo(mi)
  1070. }
  1071. return ms
  1072. }
  1073. return mi.MessageOf(x)
  1074. }
  1075. // Deprecated: Use NotifySettlement.ProtoReflect.Descriptor instead.
  1076. func (*NotifySettlement) Descriptor() ([]byte, []int) {
  1077. return file_common_proto_rawDescGZIP(), []int{12}
  1078. }
  1079. func (x *NotifySettlement) GetColor() RoleType {
  1080. if x != nil {
  1081. return x.Color
  1082. }
  1083. return RoleType_ROLE_TYPE_UNKNOWN
  1084. }
  1085. func (x *NotifySettlement) GetFinishColors() []*ColorData {
  1086. if x != nil {
  1087. return x.FinishColors
  1088. }
  1089. return nil
  1090. }
  1091. type NotifyUpdateRoomInfo struct {
  1092. state protoimpl.MessageState `protogen:"open.v1"`
  1093. RoomInfo *RoomInfo `protobuf:"bytes,1,opt,name=room_info,json=roomInfo,proto3" json:"room_info,omitempty"` //
  1094. unknownFields protoimpl.UnknownFields
  1095. sizeCache protoimpl.SizeCache
  1096. }
  1097. func (x *NotifyUpdateRoomInfo) Reset() {
  1098. *x = NotifyUpdateRoomInfo{}
  1099. mi := &file_common_proto_msgTypes[13]
  1100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1101. ms.StoreMessageInfo(mi)
  1102. }
  1103. func (x *NotifyUpdateRoomInfo) String() string {
  1104. return protoimpl.X.MessageStringOf(x)
  1105. }
  1106. func (*NotifyUpdateRoomInfo) ProtoMessage() {}
  1107. func (x *NotifyUpdateRoomInfo) ProtoReflect() protoreflect.Message {
  1108. mi := &file_common_proto_msgTypes[13]
  1109. if x != nil {
  1110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1111. if ms.LoadMessageInfo() == nil {
  1112. ms.StoreMessageInfo(mi)
  1113. }
  1114. return ms
  1115. }
  1116. return mi.MessageOf(x)
  1117. }
  1118. // Deprecated: Use NotifyUpdateRoomInfo.ProtoReflect.Descriptor instead.
  1119. func (*NotifyUpdateRoomInfo) Descriptor() ([]byte, []int) {
  1120. return file_common_proto_rawDescGZIP(), []int{13}
  1121. }
  1122. func (x *NotifyUpdateRoomInfo) GetRoomInfo() *RoomInfo {
  1123. if x != nil {
  1124. return x.RoomInfo
  1125. }
  1126. return nil
  1127. }
  1128. // 用户信息
  1129. type UserInfo struct {
  1130. state protoimpl.MessageState `protogen:"open.v1"`
  1131. UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
  1132. MHead string `protobuf:"bytes,2,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"`
  1133. MCoin int32 `protobuf:"varint,3,opt,name=m_coin,json=mCoin,proto3" json:"m_coin,omitempty"`
  1134. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  1135. RoomId int32 `protobuf:"varint,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` //如果用户在某一个房间玩,他的id就一直存在,
  1136. OnlineStatus int32 `protobuf:"varint,6,opt,name=online_status,json=onlineStatus,proto3" json:"online_status,omitempty"` //在线=1 离线等0
  1137. unknownFields protoimpl.UnknownFields
  1138. sizeCache protoimpl.SizeCache
  1139. }
  1140. func (x *UserInfo) Reset() {
  1141. *x = UserInfo{}
  1142. mi := &file_common_proto_msgTypes[14]
  1143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1144. ms.StoreMessageInfo(mi)
  1145. }
  1146. func (x *UserInfo) String() string {
  1147. return protoimpl.X.MessageStringOf(x)
  1148. }
  1149. func (*UserInfo) ProtoMessage() {}
  1150. func (x *UserInfo) ProtoReflect() protoreflect.Message {
  1151. mi := &file_common_proto_msgTypes[14]
  1152. if x != nil {
  1153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1154. if ms.LoadMessageInfo() == nil {
  1155. ms.StoreMessageInfo(mi)
  1156. }
  1157. return ms
  1158. }
  1159. return mi.MessageOf(x)
  1160. }
  1161. // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
  1162. func (*UserInfo) Descriptor() ([]byte, []int) {
  1163. return file_common_proto_rawDescGZIP(), []int{14}
  1164. }
  1165. func (x *UserInfo) GetUserId() string {
  1166. if x != nil {
  1167. return x.UserId
  1168. }
  1169. return ""
  1170. }
  1171. func (x *UserInfo) GetMHead() string {
  1172. if x != nil {
  1173. return x.MHead
  1174. }
  1175. return ""
  1176. }
  1177. func (x *UserInfo) GetMCoin() int32 {
  1178. if x != nil {
  1179. return x.MCoin
  1180. }
  1181. return 0
  1182. }
  1183. func (x *UserInfo) GetName() string {
  1184. if x != nil {
  1185. return x.Name
  1186. }
  1187. return ""
  1188. }
  1189. func (x *UserInfo) GetRoomId() int32 {
  1190. if x != nil {
  1191. return x.RoomId
  1192. }
  1193. return 0
  1194. }
  1195. func (x *UserInfo) GetOnlineStatus() int32 {
  1196. if x != nil {
  1197. return x.OnlineStatus
  1198. }
  1199. return 0
  1200. }
  1201. // 登录 请求
  1202. type ReqLogin struct {
  1203. state protoimpl.MessageState `protogen:"open.v1"`
  1204. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
  1205. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  1206. unknownFields protoimpl.UnknownFields
  1207. sizeCache protoimpl.SizeCache
  1208. }
  1209. func (x *ReqLogin) Reset() {
  1210. *x = ReqLogin{}
  1211. mi := &file_common_proto_msgTypes[15]
  1212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1213. ms.StoreMessageInfo(mi)
  1214. }
  1215. func (x *ReqLogin) String() string {
  1216. return protoimpl.X.MessageStringOf(x)
  1217. }
  1218. func (*ReqLogin) ProtoMessage() {}
  1219. func (x *ReqLogin) ProtoReflect() protoreflect.Message {
  1220. mi := &file_common_proto_msgTypes[15]
  1221. if 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 ReqLogin.ProtoReflect.Descriptor instead.
  1231. func (*ReqLogin) Descriptor() ([]byte, []int) {
  1232. return file_common_proto_rawDescGZIP(), []int{15}
  1233. }
  1234. func (x *ReqLogin) GetAccount() string {
  1235. if x != nil {
  1236. return x.Account
  1237. }
  1238. return ""
  1239. }
  1240. func (x *ReqLogin) GetPassword() string {
  1241. if x != nil {
  1242. return x.Password
  1243. }
  1244. return ""
  1245. }
  1246. // 登录 响应
  1247. type ResLogin struct {
  1248. state protoimpl.MessageState `protogen:"open.v1"`
  1249. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1250. NikeName string `protobuf:"bytes,2,opt,name=nikeName,proto3" json:"nikeName,omitempty"`
  1251. UserInfo *UserInfo `protobuf:"bytes,3,opt,name=userInfo,proto3" json:"userInfo,omitempty"`
  1252. ErrMsg *MsgError `protobuf:"bytes,4,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  1253. unknownFields protoimpl.UnknownFields
  1254. sizeCache protoimpl.SizeCache
  1255. }
  1256. func (x *ResLogin) Reset() {
  1257. *x = ResLogin{}
  1258. mi := &file_common_proto_msgTypes[16]
  1259. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1260. ms.StoreMessageInfo(mi)
  1261. }
  1262. func (x *ResLogin) String() string {
  1263. return protoimpl.X.MessageStringOf(x)
  1264. }
  1265. func (*ResLogin) ProtoMessage() {}
  1266. func (x *ResLogin) ProtoReflect() protoreflect.Message {
  1267. mi := &file_common_proto_msgTypes[16]
  1268. if x != nil {
  1269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1270. if ms.LoadMessageInfo() == nil {
  1271. ms.StoreMessageInfo(mi)
  1272. }
  1273. return ms
  1274. }
  1275. return mi.MessageOf(x)
  1276. }
  1277. // Deprecated: Use ResLogin.ProtoReflect.Descriptor instead.
  1278. func (*ResLogin) Descriptor() ([]byte, []int) {
  1279. return file_common_proto_rawDescGZIP(), []int{16}
  1280. }
  1281. func (x *ResLogin) GetUserId() string {
  1282. if x != nil {
  1283. return x.UserId
  1284. }
  1285. return ""
  1286. }
  1287. func (x *ResLogin) GetNikeName() string {
  1288. if x != nil {
  1289. return x.NikeName
  1290. }
  1291. return ""
  1292. }
  1293. func (x *ResLogin) GetUserInfo() *UserInfo {
  1294. if x != nil {
  1295. return x.UserInfo
  1296. }
  1297. return nil
  1298. }
  1299. func (x *ResLogin) GetErrMsg() *MsgError {
  1300. if x != nil {
  1301. return x.ErrMsg
  1302. }
  1303. return nil
  1304. }
  1305. // 注册 请求
  1306. type ReqRegister struct {
  1307. state protoimpl.MessageState `protogen:"open.v1"`
  1308. NikeName string `protobuf:"bytes,1,opt,name=nikeName,proto3" json:"nikeName,omitempty"`
  1309. Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
  1310. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
  1311. MHead string `protobuf:"bytes,4,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"`
  1312. unknownFields protoimpl.UnknownFields
  1313. sizeCache protoimpl.SizeCache
  1314. }
  1315. func (x *ReqRegister) Reset() {
  1316. *x = ReqRegister{}
  1317. mi := &file_common_proto_msgTypes[17]
  1318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1319. ms.StoreMessageInfo(mi)
  1320. }
  1321. func (x *ReqRegister) String() string {
  1322. return protoimpl.X.MessageStringOf(x)
  1323. }
  1324. func (*ReqRegister) ProtoMessage() {}
  1325. func (x *ReqRegister) ProtoReflect() protoreflect.Message {
  1326. mi := &file_common_proto_msgTypes[17]
  1327. if x != nil {
  1328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1329. if ms.LoadMessageInfo() == nil {
  1330. ms.StoreMessageInfo(mi)
  1331. }
  1332. return ms
  1333. }
  1334. return mi.MessageOf(x)
  1335. }
  1336. // Deprecated: Use ReqRegister.ProtoReflect.Descriptor instead.
  1337. func (*ReqRegister) Descriptor() ([]byte, []int) {
  1338. return file_common_proto_rawDescGZIP(), []int{17}
  1339. }
  1340. func (x *ReqRegister) GetNikeName() string {
  1341. if x != nil {
  1342. return x.NikeName
  1343. }
  1344. return ""
  1345. }
  1346. func (x *ReqRegister) GetAccount() string {
  1347. if x != nil {
  1348. return x.Account
  1349. }
  1350. return ""
  1351. }
  1352. func (x *ReqRegister) GetPassword() string {
  1353. if x != nil {
  1354. return x.Password
  1355. }
  1356. return ""
  1357. }
  1358. func (x *ReqRegister) GetMHead() string {
  1359. if x != nil {
  1360. return x.MHead
  1361. }
  1362. return ""
  1363. }
  1364. // 注册 响应
  1365. type ResRegister struct {
  1366. state protoimpl.MessageState `protogen:"open.v1"`
  1367. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  1368. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  1369. unknownFields protoimpl.UnknownFields
  1370. sizeCache protoimpl.SizeCache
  1371. }
  1372. func (x *ResRegister) Reset() {
  1373. *x = ResRegister{}
  1374. mi := &file_common_proto_msgTypes[18]
  1375. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1376. ms.StoreMessageInfo(mi)
  1377. }
  1378. func (x *ResRegister) String() string {
  1379. return protoimpl.X.MessageStringOf(x)
  1380. }
  1381. func (*ResRegister) ProtoMessage() {}
  1382. func (x *ResRegister) ProtoReflect() protoreflect.Message {
  1383. mi := &file_common_proto_msgTypes[18]
  1384. if x != nil {
  1385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1386. if ms.LoadMessageInfo() == nil {
  1387. ms.StoreMessageInfo(mi)
  1388. }
  1389. return ms
  1390. }
  1391. return mi.MessageOf(x)
  1392. }
  1393. // Deprecated: Use ResRegister.ProtoReflect.Descriptor instead.
  1394. func (*ResRegister) Descriptor() ([]byte, []int) {
  1395. return file_common_proto_rawDescGZIP(), []int{18}
  1396. }
  1397. func (x *ResRegister) GetSuccess() bool {
  1398. if x != nil {
  1399. return x.Success
  1400. }
  1401. return false
  1402. }
  1403. func (x *ResRegister) GetErrMsg() *MsgError {
  1404. if x != nil {
  1405. return x.ErrMsg
  1406. }
  1407. return nil
  1408. }
  1409. // 进入大厅
  1410. type EnterHall struct {
  1411. state protoimpl.MessageState `protogen:"open.v1"`
  1412. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1413. unknownFields protoimpl.UnknownFields
  1414. sizeCache protoimpl.SizeCache
  1415. }
  1416. func (x *EnterHall) Reset() {
  1417. *x = EnterHall{}
  1418. mi := &file_common_proto_msgTypes[19]
  1419. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1420. ms.StoreMessageInfo(mi)
  1421. }
  1422. func (x *EnterHall) String() string {
  1423. return protoimpl.X.MessageStringOf(x)
  1424. }
  1425. func (*EnterHall) ProtoMessage() {}
  1426. func (x *EnterHall) ProtoReflect() protoreflect.Message {
  1427. mi := &file_common_proto_msgTypes[19]
  1428. if x != nil {
  1429. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1430. if ms.LoadMessageInfo() == nil {
  1431. ms.StoreMessageInfo(mi)
  1432. }
  1433. return ms
  1434. }
  1435. return mi.MessageOf(x)
  1436. }
  1437. // Deprecated: Use EnterHall.ProtoReflect.Descriptor instead.
  1438. func (*EnterHall) Descriptor() ([]byte, []int) {
  1439. return file_common_proto_rawDescGZIP(), []int{19}
  1440. }
  1441. func (x *EnterHall) GetUserId() string {
  1442. if x != nil {
  1443. return x.UserId
  1444. }
  1445. return ""
  1446. }
  1447. // 进入大厅响应
  1448. type ResEnterHall struct {
  1449. state protoimpl.MessageState `protogen:"open.v1"`
  1450. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  1451. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  1452. ReconnectRoomInfo *RoomInfo `protobuf:"bytes,3,opt,name=reconnect_room_info,json=reconnectRoomInfo,proto3" json:"reconnect_room_info,omitempty"`
  1453. unknownFields protoimpl.UnknownFields
  1454. sizeCache protoimpl.SizeCache
  1455. }
  1456. func (x *ResEnterHall) Reset() {
  1457. *x = ResEnterHall{}
  1458. mi := &file_common_proto_msgTypes[20]
  1459. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1460. ms.StoreMessageInfo(mi)
  1461. }
  1462. func (x *ResEnterHall) String() string {
  1463. return protoimpl.X.MessageStringOf(x)
  1464. }
  1465. func (*ResEnterHall) ProtoMessage() {}
  1466. func (x *ResEnterHall) ProtoReflect() protoreflect.Message {
  1467. mi := &file_common_proto_msgTypes[20]
  1468. if x != nil {
  1469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1470. if ms.LoadMessageInfo() == nil {
  1471. ms.StoreMessageInfo(mi)
  1472. }
  1473. return ms
  1474. }
  1475. return mi.MessageOf(x)
  1476. }
  1477. // Deprecated: Use ResEnterHall.ProtoReflect.Descriptor instead.
  1478. func (*ResEnterHall) Descriptor() ([]byte, []int) {
  1479. return file_common_proto_rawDescGZIP(), []int{20}
  1480. }
  1481. func (x *ResEnterHall) GetSuccess() bool {
  1482. if x != nil {
  1483. return x.Success
  1484. }
  1485. return false
  1486. }
  1487. func (x *ResEnterHall) GetErrMsg() *MsgError {
  1488. if x != nil {
  1489. return x.ErrMsg
  1490. }
  1491. return nil
  1492. }
  1493. func (x *ResEnterHall) GetReconnectRoomInfo() *RoomInfo {
  1494. if x != nil {
  1495. return x.ReconnectRoomInfo
  1496. }
  1497. return nil
  1498. }
  1499. // 离开大厅
  1500. type LeaveHall struct {
  1501. state protoimpl.MessageState `protogen:"open.v1"`
  1502. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1503. unknownFields protoimpl.UnknownFields
  1504. sizeCache protoimpl.SizeCache
  1505. }
  1506. func (x *LeaveHall) Reset() {
  1507. *x = LeaveHall{}
  1508. mi := &file_common_proto_msgTypes[21]
  1509. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1510. ms.StoreMessageInfo(mi)
  1511. }
  1512. func (x *LeaveHall) String() string {
  1513. return protoimpl.X.MessageStringOf(x)
  1514. }
  1515. func (*LeaveHall) ProtoMessage() {}
  1516. func (x *LeaveHall) ProtoReflect() protoreflect.Message {
  1517. mi := &file_common_proto_msgTypes[21]
  1518. if x != nil {
  1519. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1520. if ms.LoadMessageInfo() == nil {
  1521. ms.StoreMessageInfo(mi)
  1522. }
  1523. return ms
  1524. }
  1525. return mi.MessageOf(x)
  1526. }
  1527. // Deprecated: Use LeaveHall.ProtoReflect.Descriptor instead.
  1528. func (*LeaveHall) Descriptor() ([]byte, []int) {
  1529. return file_common_proto_rawDescGZIP(), []int{21}
  1530. }
  1531. func (x *LeaveHall) GetUserId() string {
  1532. if x != nil {
  1533. return x.UserId
  1534. }
  1535. return ""
  1536. }
  1537. // 匹配ludo
  1538. type MatchLudo struct {
  1539. state protoimpl.MessageState `protogen:"open.v1"`
  1540. SelectRoomType RoomType `protobuf:"varint,1,opt,name=select_room_type,json=selectRoomType,proto3,enum=RoomType" json:"select_room_type,omitempty"`
  1541. RoomLevel int32 `protobuf:"varint,2,opt,name=room_level,json=roomLevel,proto3" json:"room_level,omitempty"`
  1542. SelectColor RoleType `protobuf:"varint,3,opt,name=select_color,json=selectColor,proto3,enum=RoleType" json:"select_color,omitempty"`
  1543. unknownFields protoimpl.UnknownFields
  1544. sizeCache protoimpl.SizeCache
  1545. }
  1546. func (x *MatchLudo) Reset() {
  1547. *x = MatchLudo{}
  1548. mi := &file_common_proto_msgTypes[22]
  1549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1550. ms.StoreMessageInfo(mi)
  1551. }
  1552. func (x *MatchLudo) String() string {
  1553. return protoimpl.X.MessageStringOf(x)
  1554. }
  1555. func (*MatchLudo) ProtoMessage() {}
  1556. func (x *MatchLudo) ProtoReflect() protoreflect.Message {
  1557. mi := &file_common_proto_msgTypes[22]
  1558. if x != nil {
  1559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1560. if ms.LoadMessageInfo() == nil {
  1561. ms.StoreMessageInfo(mi)
  1562. }
  1563. return ms
  1564. }
  1565. return mi.MessageOf(x)
  1566. }
  1567. // Deprecated: Use MatchLudo.ProtoReflect.Descriptor instead.
  1568. func (*MatchLudo) Descriptor() ([]byte, []int) {
  1569. return file_common_proto_rawDescGZIP(), []int{22}
  1570. }
  1571. func (x *MatchLudo) GetSelectRoomType() RoomType {
  1572. if x != nil {
  1573. return x.SelectRoomType
  1574. }
  1575. return RoomType_ROOM_TYPE_UNKNOWN
  1576. }
  1577. func (x *MatchLudo) GetRoomLevel() int32 {
  1578. if x != nil {
  1579. return x.RoomLevel
  1580. }
  1581. return 0
  1582. }
  1583. func (x *MatchLudo) GetSelectColor() RoleType {
  1584. if x != nil {
  1585. return x.SelectColor
  1586. }
  1587. return RoleType_ROLE_TYPE_UNKNOWN
  1588. }
  1589. // 匹配ludo 响应
  1590. type ResMatchLudo struct {
  1591. state protoimpl.MessageState `protogen:"open.v1"`
  1592. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  1593. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  1594. Room *RoomInfo `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"`
  1595. unknownFields protoimpl.UnknownFields
  1596. sizeCache protoimpl.SizeCache
  1597. }
  1598. func (x *ResMatchLudo) Reset() {
  1599. *x = ResMatchLudo{}
  1600. mi := &file_common_proto_msgTypes[23]
  1601. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1602. ms.StoreMessageInfo(mi)
  1603. }
  1604. func (x *ResMatchLudo) String() string {
  1605. return protoimpl.X.MessageStringOf(x)
  1606. }
  1607. func (*ResMatchLudo) ProtoMessage() {}
  1608. func (x *ResMatchLudo) ProtoReflect() protoreflect.Message {
  1609. mi := &file_common_proto_msgTypes[23]
  1610. if x != nil {
  1611. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1612. if ms.LoadMessageInfo() == nil {
  1613. ms.StoreMessageInfo(mi)
  1614. }
  1615. return ms
  1616. }
  1617. return mi.MessageOf(x)
  1618. }
  1619. // Deprecated: Use ResMatchLudo.ProtoReflect.Descriptor instead.
  1620. func (*ResMatchLudo) Descriptor() ([]byte, []int) {
  1621. return file_common_proto_rawDescGZIP(), []int{23}
  1622. }
  1623. func (x *ResMatchLudo) GetSuccess() bool {
  1624. if x != nil {
  1625. return x.Success
  1626. }
  1627. return false
  1628. }
  1629. func (x *ResMatchLudo) GetErrMsg() *MsgError {
  1630. if x != nil {
  1631. return x.ErrMsg
  1632. }
  1633. return nil
  1634. }
  1635. func (x *ResMatchLudo) GetRoom() *RoomInfo {
  1636. if x != nil {
  1637. return x.Room
  1638. }
  1639. return nil
  1640. }
  1641. // error
  1642. type MsgError struct {
  1643. state protoimpl.MessageState `protogen:"open.v1"`
  1644. ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  1645. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  1646. unknownFields protoimpl.UnknownFields
  1647. sizeCache protoimpl.SizeCache
  1648. }
  1649. func (x *MsgError) Reset() {
  1650. *x = MsgError{}
  1651. mi := &file_common_proto_msgTypes[24]
  1652. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1653. ms.StoreMessageInfo(mi)
  1654. }
  1655. func (x *MsgError) String() string {
  1656. return protoimpl.X.MessageStringOf(x)
  1657. }
  1658. func (*MsgError) ProtoMessage() {}
  1659. func (x *MsgError) ProtoReflect() protoreflect.Message {
  1660. mi := &file_common_proto_msgTypes[24]
  1661. if x != nil {
  1662. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1663. if ms.LoadMessageInfo() == nil {
  1664. ms.StoreMessageInfo(mi)
  1665. }
  1666. return ms
  1667. }
  1668. return mi.MessageOf(x)
  1669. }
  1670. // Deprecated: Use MsgError.ProtoReflect.Descriptor instead.
  1671. func (*MsgError) Descriptor() ([]byte, []int) {
  1672. return file_common_proto_rawDescGZIP(), []int{24}
  1673. }
  1674. func (x *MsgError) GetErrorCode() int32 {
  1675. if x != nil {
  1676. return x.ErrorCode
  1677. }
  1678. return 0
  1679. }
  1680. func (x *MsgError) GetErrorMsg() string {
  1681. if x != nil {
  1682. return x.ErrorMsg
  1683. }
  1684. return ""
  1685. }
  1686. // 更新用户信息
  1687. type UpdateUserInfo struct {
  1688. state protoimpl.MessageState `protogen:"open.v1"`
  1689. Info *UserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
  1690. unknownFields protoimpl.UnknownFields
  1691. sizeCache protoimpl.SizeCache
  1692. }
  1693. func (x *UpdateUserInfo) Reset() {
  1694. *x = UpdateUserInfo{}
  1695. mi := &file_common_proto_msgTypes[25]
  1696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1697. ms.StoreMessageInfo(mi)
  1698. }
  1699. func (x *UpdateUserInfo) String() string {
  1700. return protoimpl.X.MessageStringOf(x)
  1701. }
  1702. func (*UpdateUserInfo) ProtoMessage() {}
  1703. func (x *UpdateUserInfo) ProtoReflect() protoreflect.Message {
  1704. mi := &file_common_proto_msgTypes[25]
  1705. if x != nil {
  1706. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1707. if ms.LoadMessageInfo() == nil {
  1708. ms.StoreMessageInfo(mi)
  1709. }
  1710. return ms
  1711. }
  1712. return mi.MessageOf(x)
  1713. }
  1714. // Deprecated: Use UpdateUserInfo.ProtoReflect.Descriptor instead.
  1715. func (*UpdateUserInfo) Descriptor() ([]byte, []int) {
  1716. return file_common_proto_rawDescGZIP(), []int{25}
  1717. }
  1718. func (x *UpdateUserInfo) GetInfo() *UserInfo {
  1719. if x != nil {
  1720. return x.Info
  1721. }
  1722. return nil
  1723. }
  1724. type ResHeartBeat struct {
  1725. state protoimpl.MessageState `protogen:"open.v1"`
  1726. Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
  1727. unknownFields protoimpl.UnknownFields
  1728. sizeCache protoimpl.SizeCache
  1729. }
  1730. func (x *ResHeartBeat) Reset() {
  1731. *x = ResHeartBeat{}
  1732. mi := &file_common_proto_msgTypes[26]
  1733. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1734. ms.StoreMessageInfo(mi)
  1735. }
  1736. func (x *ResHeartBeat) String() string {
  1737. return protoimpl.X.MessageStringOf(x)
  1738. }
  1739. func (*ResHeartBeat) ProtoMessage() {}
  1740. func (x *ResHeartBeat) ProtoReflect() protoreflect.Message {
  1741. mi := &file_common_proto_msgTypes[26]
  1742. if x != nil {
  1743. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1744. if ms.LoadMessageInfo() == nil {
  1745. ms.StoreMessageInfo(mi)
  1746. }
  1747. return ms
  1748. }
  1749. return mi.MessageOf(x)
  1750. }
  1751. // Deprecated: Use ResHeartBeat.ProtoReflect.Descriptor instead.
  1752. func (*ResHeartBeat) Descriptor() ([]byte, []int) {
  1753. return file_common_proto_rawDescGZIP(), []int{26}
  1754. }
  1755. func (x *ResHeartBeat) GetMsg() string {
  1756. if x != nil {
  1757. return x.Msg
  1758. }
  1759. return ""
  1760. }
  1761. type ReqHeartBeat struct {
  1762. state protoimpl.MessageState `protogen:"open.v1"`
  1763. Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
  1764. unknownFields protoimpl.UnknownFields
  1765. sizeCache protoimpl.SizeCache
  1766. }
  1767. func (x *ReqHeartBeat) Reset() {
  1768. *x = ReqHeartBeat{}
  1769. mi := &file_common_proto_msgTypes[27]
  1770. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1771. ms.StoreMessageInfo(mi)
  1772. }
  1773. func (x *ReqHeartBeat) String() string {
  1774. return protoimpl.X.MessageStringOf(x)
  1775. }
  1776. func (*ReqHeartBeat) ProtoMessage() {}
  1777. func (x *ReqHeartBeat) ProtoReflect() protoreflect.Message {
  1778. mi := &file_common_proto_msgTypes[27]
  1779. if x != nil {
  1780. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1781. if ms.LoadMessageInfo() == nil {
  1782. ms.StoreMessageInfo(mi)
  1783. }
  1784. return ms
  1785. }
  1786. return mi.MessageOf(x)
  1787. }
  1788. // Deprecated: Use ReqHeartBeat.ProtoReflect.Descriptor instead.
  1789. func (*ReqHeartBeat) Descriptor() ([]byte, []int) {
  1790. return file_common_proto_rawDescGZIP(), []int{27}
  1791. }
  1792. func (x *ReqHeartBeat) GetMsg() string {
  1793. if x != nil {
  1794. return x.Msg
  1795. }
  1796. return ""
  1797. }
  1798. type ShopItem struct {
  1799. state protoimpl.MessageState `protogen:"open.v1"`
  1800. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1801. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  1802. Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
  1803. Num int32 `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"`
  1804. unknownFields protoimpl.UnknownFields
  1805. sizeCache protoimpl.SizeCache
  1806. }
  1807. func (x *ShopItem) Reset() {
  1808. *x = ShopItem{}
  1809. mi := &file_common_proto_msgTypes[28]
  1810. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1811. ms.StoreMessageInfo(mi)
  1812. }
  1813. func (x *ShopItem) String() string {
  1814. return protoimpl.X.MessageStringOf(x)
  1815. }
  1816. func (*ShopItem) ProtoMessage() {}
  1817. func (x *ShopItem) ProtoReflect() protoreflect.Message {
  1818. mi := &file_common_proto_msgTypes[28]
  1819. if x != nil {
  1820. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1821. if ms.LoadMessageInfo() == nil {
  1822. ms.StoreMessageInfo(mi)
  1823. }
  1824. return ms
  1825. }
  1826. return mi.MessageOf(x)
  1827. }
  1828. // Deprecated: Use ShopItem.ProtoReflect.Descriptor instead.
  1829. func (*ShopItem) Descriptor() ([]byte, []int) {
  1830. return file_common_proto_rawDescGZIP(), []int{28}
  1831. }
  1832. func (x *ShopItem) GetName() string {
  1833. if x != nil {
  1834. return x.Name
  1835. }
  1836. return ""
  1837. }
  1838. func (x *ShopItem) GetId() string {
  1839. if x != nil {
  1840. return x.Id
  1841. }
  1842. return ""
  1843. }
  1844. func (x *ShopItem) GetPrice() int32 {
  1845. if x != nil {
  1846. return x.Price
  1847. }
  1848. return 0
  1849. }
  1850. func (x *ShopItem) GetNum() int32 {
  1851. if x != nil {
  1852. return x.Num
  1853. }
  1854. return 0
  1855. }
  1856. // 被踢登陆
  1857. type BeKickLogin struct {
  1858. state protoimpl.MessageState `protogen:"open.v1"`
  1859. ErrMsg *MsgError `protobuf:"bytes,1,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  1860. unknownFields protoimpl.UnknownFields
  1861. sizeCache protoimpl.SizeCache
  1862. }
  1863. func (x *BeKickLogin) Reset() {
  1864. *x = BeKickLogin{}
  1865. mi := &file_common_proto_msgTypes[29]
  1866. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1867. ms.StoreMessageInfo(mi)
  1868. }
  1869. func (x *BeKickLogin) String() string {
  1870. return protoimpl.X.MessageStringOf(x)
  1871. }
  1872. func (*BeKickLogin) ProtoMessage() {}
  1873. func (x *BeKickLogin) ProtoReflect() protoreflect.Message {
  1874. mi := &file_common_proto_msgTypes[29]
  1875. if x != nil {
  1876. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1877. if ms.LoadMessageInfo() == nil {
  1878. ms.StoreMessageInfo(mi)
  1879. }
  1880. return ms
  1881. }
  1882. return mi.MessageOf(x)
  1883. }
  1884. // Deprecated: Use BeKickLogin.ProtoReflect.Descriptor instead.
  1885. func (*BeKickLogin) Descriptor() ([]byte, []int) {
  1886. return file_common_proto_rawDescGZIP(), []int{29}
  1887. }
  1888. func (x *BeKickLogin) GetErrMsg() *MsgError {
  1889. if x != nil {
  1890. return x.ErrMsg
  1891. }
  1892. return nil
  1893. }
  1894. // 请求商城
  1895. type ReqShop struct {
  1896. state protoimpl.MessageState `protogen:"open.v1"`
  1897. ShopType int32 `protobuf:"varint,1,opt,name=shopType,proto3" json:"shopType,omitempty"`
  1898. unknownFields protoimpl.UnknownFields
  1899. sizeCache protoimpl.SizeCache
  1900. }
  1901. func (x *ReqShop) Reset() {
  1902. *x = ReqShop{}
  1903. mi := &file_common_proto_msgTypes[30]
  1904. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1905. ms.StoreMessageInfo(mi)
  1906. }
  1907. func (x *ReqShop) String() string {
  1908. return protoimpl.X.MessageStringOf(x)
  1909. }
  1910. func (*ReqShop) ProtoMessage() {}
  1911. func (x *ReqShop) ProtoReflect() protoreflect.Message {
  1912. mi := &file_common_proto_msgTypes[30]
  1913. if x != nil {
  1914. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1915. if ms.LoadMessageInfo() == nil {
  1916. ms.StoreMessageInfo(mi)
  1917. }
  1918. return ms
  1919. }
  1920. return mi.MessageOf(x)
  1921. }
  1922. // Deprecated: Use ReqShop.ProtoReflect.Descriptor instead.
  1923. func (*ReqShop) Descriptor() ([]byte, []int) {
  1924. return file_common_proto_rawDescGZIP(), []int{30}
  1925. }
  1926. func (x *ReqShop) GetShopType() int32 {
  1927. if x != nil {
  1928. return x.ShopType
  1929. }
  1930. return 0
  1931. }
  1932. // 响应商城
  1933. type ResShop struct {
  1934. state protoimpl.MessageState `protogen:"open.v1"`
  1935. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  1936. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  1937. List []*ShopItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  1938. unknownFields protoimpl.UnknownFields
  1939. sizeCache protoimpl.SizeCache
  1940. }
  1941. func (x *ResShop) Reset() {
  1942. *x = ResShop{}
  1943. mi := &file_common_proto_msgTypes[31]
  1944. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1945. ms.StoreMessageInfo(mi)
  1946. }
  1947. func (x *ResShop) String() string {
  1948. return protoimpl.X.MessageStringOf(x)
  1949. }
  1950. func (*ResShop) ProtoMessage() {}
  1951. func (x *ResShop) ProtoReflect() protoreflect.Message {
  1952. mi := &file_common_proto_msgTypes[31]
  1953. if x != nil {
  1954. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1955. if ms.LoadMessageInfo() == nil {
  1956. ms.StoreMessageInfo(mi)
  1957. }
  1958. return ms
  1959. }
  1960. return mi.MessageOf(x)
  1961. }
  1962. // Deprecated: Use ResShop.ProtoReflect.Descriptor instead.
  1963. func (*ResShop) Descriptor() ([]byte, []int) {
  1964. return file_common_proto_rawDescGZIP(), []int{31}
  1965. }
  1966. func (x *ResShop) GetSuccess() bool {
  1967. if x != nil {
  1968. return x.Success
  1969. }
  1970. return false
  1971. }
  1972. func (x *ResShop) GetErrMsg() *MsgError {
  1973. if x != nil {
  1974. return x.ErrMsg
  1975. }
  1976. return nil
  1977. }
  1978. func (x *ResShop) GetList() []*ShopItem {
  1979. if x != nil {
  1980. return x.List
  1981. }
  1982. return nil
  1983. }
  1984. type HistoryRecord struct {
  1985. state protoimpl.MessageState `protogen:"open.v1"`
  1986. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1987. RoomId int32 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  1988. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  1989. Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
  1990. unknownFields protoimpl.UnknownFields
  1991. sizeCache protoimpl.SizeCache
  1992. }
  1993. func (x *HistoryRecord) Reset() {
  1994. *x = HistoryRecord{}
  1995. mi := &file_common_proto_msgTypes[32]
  1996. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1997. ms.StoreMessageInfo(mi)
  1998. }
  1999. func (x *HistoryRecord) String() string {
  2000. return protoimpl.X.MessageStringOf(x)
  2001. }
  2002. func (*HistoryRecord) ProtoMessage() {}
  2003. func (x *HistoryRecord) ProtoReflect() protoreflect.Message {
  2004. mi := &file_common_proto_msgTypes[32]
  2005. if x != nil {
  2006. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2007. if ms.LoadMessageInfo() == nil {
  2008. ms.StoreMessageInfo(mi)
  2009. }
  2010. return ms
  2011. }
  2012. return mi.MessageOf(x)
  2013. }
  2014. // Deprecated: Use HistoryRecord.ProtoReflect.Descriptor instead.
  2015. func (*HistoryRecord) Descriptor() ([]byte, []int) {
  2016. return file_common_proto_rawDescGZIP(), []int{32}
  2017. }
  2018. func (x *HistoryRecord) GetId() int32 {
  2019. if x != nil {
  2020. return x.Id
  2021. }
  2022. return 0
  2023. }
  2024. func (x *HistoryRecord) GetRoomId() int32 {
  2025. if x != nil {
  2026. return x.RoomId
  2027. }
  2028. return 0
  2029. }
  2030. func (x *HistoryRecord) GetUserId() string {
  2031. if x != nil {
  2032. return x.UserId
  2033. }
  2034. return ""
  2035. }
  2036. func (x *HistoryRecord) GetTime() string {
  2037. if x != nil {
  2038. return x.Time
  2039. }
  2040. return ""
  2041. }
  2042. type ReqLudoHistory struct {
  2043. state protoimpl.MessageState `protogen:"open.v1"`
  2044. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  2045. unknownFields protoimpl.UnknownFields
  2046. sizeCache protoimpl.SizeCache
  2047. }
  2048. func (x *ReqLudoHistory) Reset() {
  2049. *x = ReqLudoHistory{}
  2050. mi := &file_common_proto_msgTypes[33]
  2051. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2052. ms.StoreMessageInfo(mi)
  2053. }
  2054. func (x *ReqLudoHistory) String() string {
  2055. return protoimpl.X.MessageStringOf(x)
  2056. }
  2057. func (*ReqLudoHistory) ProtoMessage() {}
  2058. func (x *ReqLudoHistory) ProtoReflect() protoreflect.Message {
  2059. mi := &file_common_proto_msgTypes[33]
  2060. if x != nil {
  2061. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2062. if ms.LoadMessageInfo() == nil {
  2063. ms.StoreMessageInfo(mi)
  2064. }
  2065. return ms
  2066. }
  2067. return mi.MessageOf(x)
  2068. }
  2069. // Deprecated: Use ReqLudoHistory.ProtoReflect.Descriptor instead.
  2070. func (*ReqLudoHistory) Descriptor() ([]byte, []int) {
  2071. return file_common_proto_rawDescGZIP(), []int{33}
  2072. }
  2073. func (x *ReqLudoHistory) GetUserId() string {
  2074. if x != nil {
  2075. return x.UserId
  2076. }
  2077. return ""
  2078. }
  2079. type ResLudoHistory struct {
  2080. state protoimpl.MessageState `protogen:"open.v1"`
  2081. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  2082. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  2083. List []*HistoryRecord `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  2084. unknownFields protoimpl.UnknownFields
  2085. sizeCache protoimpl.SizeCache
  2086. }
  2087. func (x *ResLudoHistory) Reset() {
  2088. *x = ResLudoHistory{}
  2089. mi := &file_common_proto_msgTypes[34]
  2090. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2091. ms.StoreMessageInfo(mi)
  2092. }
  2093. func (x *ResLudoHistory) String() string {
  2094. return protoimpl.X.MessageStringOf(x)
  2095. }
  2096. func (*ResLudoHistory) ProtoMessage() {}
  2097. func (x *ResLudoHistory) ProtoReflect() protoreflect.Message {
  2098. mi := &file_common_proto_msgTypes[34]
  2099. if x != nil {
  2100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2101. if ms.LoadMessageInfo() == nil {
  2102. ms.StoreMessageInfo(mi)
  2103. }
  2104. return ms
  2105. }
  2106. return mi.MessageOf(x)
  2107. }
  2108. // Deprecated: Use ResLudoHistory.ProtoReflect.Descriptor instead.
  2109. func (*ResLudoHistory) Descriptor() ([]byte, []int) {
  2110. return file_common_proto_rawDescGZIP(), []int{34}
  2111. }
  2112. func (x *ResLudoHistory) GetSuccess() bool {
  2113. if x != nil {
  2114. return x.Success
  2115. }
  2116. return false
  2117. }
  2118. func (x *ResLudoHistory) GetErrMsg() *MsgError {
  2119. if x != nil {
  2120. return x.ErrMsg
  2121. }
  2122. return nil
  2123. }
  2124. func (x *ResLudoHistory) GetList() []*HistoryRecord {
  2125. if x != nil {
  2126. return x.List
  2127. }
  2128. return nil
  2129. }
  2130. type ReqLudoRoomInfo struct {
  2131. state protoimpl.MessageState `protogen:"open.v1"`
  2132. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  2133. unknownFields protoimpl.UnknownFields
  2134. sizeCache protoimpl.SizeCache
  2135. }
  2136. func (x *ReqLudoRoomInfo) Reset() {
  2137. *x = ReqLudoRoomInfo{}
  2138. mi := &file_common_proto_msgTypes[35]
  2139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2140. ms.StoreMessageInfo(mi)
  2141. }
  2142. func (x *ReqLudoRoomInfo) String() string {
  2143. return protoimpl.X.MessageStringOf(x)
  2144. }
  2145. func (*ReqLudoRoomInfo) ProtoMessage() {}
  2146. func (x *ReqLudoRoomInfo) ProtoReflect() protoreflect.Message {
  2147. mi := &file_common_proto_msgTypes[35]
  2148. if x != nil {
  2149. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2150. if ms.LoadMessageInfo() == nil {
  2151. ms.StoreMessageInfo(mi)
  2152. }
  2153. return ms
  2154. }
  2155. return mi.MessageOf(x)
  2156. }
  2157. // Deprecated: Use ReqLudoRoomInfo.ProtoReflect.Descriptor instead.
  2158. func (*ReqLudoRoomInfo) Descriptor() ([]byte, []int) {
  2159. return file_common_proto_rawDescGZIP(), []int{35}
  2160. }
  2161. func (x *ReqLudoRoomInfo) GetRoomId() int64 {
  2162. if x != nil {
  2163. return x.RoomId
  2164. }
  2165. return 0
  2166. }
  2167. type ResLudoRoomInfo struct {
  2168. state protoimpl.MessageState `protogen:"open.v1"`
  2169. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  2170. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  2171. Info *RoomInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
  2172. unknownFields protoimpl.UnknownFields
  2173. sizeCache protoimpl.SizeCache
  2174. }
  2175. func (x *ResLudoRoomInfo) Reset() {
  2176. *x = ResLudoRoomInfo{}
  2177. mi := &file_common_proto_msgTypes[36]
  2178. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2179. ms.StoreMessageInfo(mi)
  2180. }
  2181. func (x *ResLudoRoomInfo) String() string {
  2182. return protoimpl.X.MessageStringOf(x)
  2183. }
  2184. func (*ResLudoRoomInfo) ProtoMessage() {}
  2185. func (x *ResLudoRoomInfo) ProtoReflect() protoreflect.Message {
  2186. mi := &file_common_proto_msgTypes[36]
  2187. if x != nil {
  2188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2189. if ms.LoadMessageInfo() == nil {
  2190. ms.StoreMessageInfo(mi)
  2191. }
  2192. return ms
  2193. }
  2194. return mi.MessageOf(x)
  2195. }
  2196. // Deprecated: Use ResLudoRoomInfo.ProtoReflect.Descriptor instead.
  2197. func (*ResLudoRoomInfo) Descriptor() ([]byte, []int) {
  2198. return file_common_proto_rawDescGZIP(), []int{36}
  2199. }
  2200. func (x *ResLudoRoomInfo) GetSuccess() bool {
  2201. if x != nil {
  2202. return x.Success
  2203. }
  2204. return false
  2205. }
  2206. func (x *ResLudoRoomInfo) GetErrMsg() *MsgError {
  2207. if x != nil {
  2208. return x.ErrMsg
  2209. }
  2210. return nil
  2211. }
  2212. func (x *ResLudoRoomInfo) GetInfo() *RoomInfo {
  2213. if x != nil {
  2214. return x.Info
  2215. }
  2216. return nil
  2217. }
  2218. type BuyShopItem struct {
  2219. state protoimpl.MessageState `protogen:"open.v1"`
  2220. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2221. unknownFields protoimpl.UnknownFields
  2222. sizeCache protoimpl.SizeCache
  2223. }
  2224. func (x *BuyShopItem) Reset() {
  2225. *x = BuyShopItem{}
  2226. mi := &file_common_proto_msgTypes[37]
  2227. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2228. ms.StoreMessageInfo(mi)
  2229. }
  2230. func (x *BuyShopItem) String() string {
  2231. return protoimpl.X.MessageStringOf(x)
  2232. }
  2233. func (*BuyShopItem) ProtoMessage() {}
  2234. func (x *BuyShopItem) ProtoReflect() protoreflect.Message {
  2235. mi := &file_common_proto_msgTypes[37]
  2236. if x != nil {
  2237. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2238. if ms.LoadMessageInfo() == nil {
  2239. ms.StoreMessageInfo(mi)
  2240. }
  2241. return ms
  2242. }
  2243. return mi.MessageOf(x)
  2244. }
  2245. // Deprecated: Use BuyShopItem.ProtoReflect.Descriptor instead.
  2246. func (*BuyShopItem) Descriptor() ([]byte, []int) {
  2247. return file_common_proto_rawDescGZIP(), []int{37}
  2248. }
  2249. func (x *BuyShopItem) GetId() string {
  2250. if x != nil {
  2251. return x.Id
  2252. }
  2253. return ""
  2254. }
  2255. // 好友请求的结构
  2256. type RequestAddFriendItem struct {
  2257. state protoimpl.MessageState `protogen:"open.v1"`
  2258. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  2259. RequestID string `protobuf:"bytes,2,opt,name=RequestID,proto3" json:"RequestID,omitempty"` //请求id
  2260. FromUserID string `protobuf:"bytes,3,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"`
  2261. ToUserID string `protobuf:"bytes,4,opt,name=ToUserID,proto3" json:"ToUserID,omitempty"`
  2262. Status int32 `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"` //状态
  2263. Message string `protobuf:"bytes,6,opt,name=Message,proto3" json:"Message,omitempty"`
  2264. unknownFields protoimpl.UnknownFields
  2265. sizeCache protoimpl.SizeCache
  2266. }
  2267. func (x *RequestAddFriendItem) Reset() {
  2268. *x = RequestAddFriendItem{}
  2269. mi := &file_common_proto_msgTypes[38]
  2270. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2271. ms.StoreMessageInfo(mi)
  2272. }
  2273. func (x *RequestAddFriendItem) String() string {
  2274. return protoimpl.X.MessageStringOf(x)
  2275. }
  2276. func (*RequestAddFriendItem) ProtoMessage() {}
  2277. func (x *RequestAddFriendItem) ProtoReflect() protoreflect.Message {
  2278. mi := &file_common_proto_msgTypes[38]
  2279. if x != nil {
  2280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2281. if ms.LoadMessageInfo() == nil {
  2282. ms.StoreMessageInfo(mi)
  2283. }
  2284. return ms
  2285. }
  2286. return mi.MessageOf(x)
  2287. }
  2288. // Deprecated: Use RequestAddFriendItem.ProtoReflect.Descriptor instead.
  2289. func (*RequestAddFriendItem) Descriptor() ([]byte, []int) {
  2290. return file_common_proto_rawDescGZIP(), []int{38}
  2291. }
  2292. func (x *RequestAddFriendItem) GetId() int32 {
  2293. if x != nil {
  2294. return x.Id
  2295. }
  2296. return 0
  2297. }
  2298. func (x *RequestAddFriendItem) GetRequestID() string {
  2299. if x != nil {
  2300. return x.RequestID
  2301. }
  2302. return ""
  2303. }
  2304. func (x *RequestAddFriendItem) GetFromUserID() string {
  2305. if x != nil {
  2306. return x.FromUserID
  2307. }
  2308. return ""
  2309. }
  2310. func (x *RequestAddFriendItem) GetToUserID() string {
  2311. if x != nil {
  2312. return x.ToUserID
  2313. }
  2314. return ""
  2315. }
  2316. func (x *RequestAddFriendItem) GetStatus() int32 {
  2317. if x != nil {
  2318. return x.Status
  2319. }
  2320. return 0
  2321. }
  2322. func (x *RequestAddFriendItem) GetMessage() string {
  2323. if x != nil {
  2324. return x.Message
  2325. }
  2326. return ""
  2327. }
  2328. // 请求好友列表
  2329. type ReqFriendList struct {
  2330. state protoimpl.MessageState `protogen:"open.v1"`
  2331. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  2332. unknownFields protoimpl.UnknownFields
  2333. sizeCache protoimpl.SizeCache
  2334. }
  2335. func (x *ReqFriendList) Reset() {
  2336. *x = ReqFriendList{}
  2337. mi := &file_common_proto_msgTypes[39]
  2338. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2339. ms.StoreMessageInfo(mi)
  2340. }
  2341. func (x *ReqFriendList) String() string {
  2342. return protoimpl.X.MessageStringOf(x)
  2343. }
  2344. func (*ReqFriendList) ProtoMessage() {}
  2345. func (x *ReqFriendList) ProtoReflect() protoreflect.Message {
  2346. mi := &file_common_proto_msgTypes[39]
  2347. if x != nil {
  2348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2349. if ms.LoadMessageInfo() == nil {
  2350. ms.StoreMessageInfo(mi)
  2351. }
  2352. return ms
  2353. }
  2354. return mi.MessageOf(x)
  2355. }
  2356. // Deprecated: Use ReqFriendList.ProtoReflect.Descriptor instead.
  2357. func (*ReqFriendList) Descriptor() ([]byte, []int) {
  2358. return file_common_proto_rawDescGZIP(), []int{39}
  2359. }
  2360. func (x *ReqFriendList) GetUserId() string {
  2361. if x != nil {
  2362. return x.UserId
  2363. }
  2364. return ""
  2365. }
  2366. // 响应好友列表请求,暂时没做分页
  2367. type ResFriendList struct {
  2368. state protoimpl.MessageState `protogen:"open.v1"`
  2369. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  2370. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  2371. List []*UserInfo `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  2372. unknownFields protoimpl.UnknownFields
  2373. sizeCache protoimpl.SizeCache
  2374. }
  2375. func (x *ResFriendList) Reset() {
  2376. *x = ResFriendList{}
  2377. mi := &file_common_proto_msgTypes[40]
  2378. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2379. ms.StoreMessageInfo(mi)
  2380. }
  2381. func (x *ResFriendList) String() string {
  2382. return protoimpl.X.MessageStringOf(x)
  2383. }
  2384. func (*ResFriendList) ProtoMessage() {}
  2385. func (x *ResFriendList) ProtoReflect() protoreflect.Message {
  2386. mi := &file_common_proto_msgTypes[40]
  2387. if x != nil {
  2388. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2389. if ms.LoadMessageInfo() == nil {
  2390. ms.StoreMessageInfo(mi)
  2391. }
  2392. return ms
  2393. }
  2394. return mi.MessageOf(x)
  2395. }
  2396. // Deprecated: Use ResFriendList.ProtoReflect.Descriptor instead.
  2397. func (*ResFriendList) Descriptor() ([]byte, []int) {
  2398. return file_common_proto_rawDescGZIP(), []int{40}
  2399. }
  2400. func (x *ResFriendList) GetSuccess() bool {
  2401. if x != nil {
  2402. return x.Success
  2403. }
  2404. return false
  2405. }
  2406. func (x *ResFriendList) GetErrMsg() *MsgError {
  2407. if x != nil {
  2408. return x.ErrMsg
  2409. }
  2410. return nil
  2411. }
  2412. func (x *ResFriendList) GetList() []*UserInfo {
  2413. if x != nil {
  2414. return x.List
  2415. }
  2416. return nil
  2417. }
  2418. // 请求好友申请单个数据
  2419. type FriendRequestItem struct {
  2420. state protoimpl.MessageState `protogen:"open.v1"`
  2421. Info *UserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
  2422. RequestMsg string `protobuf:"bytes,2,opt,name=request_msg,json=requestMsg,proto3" json:"request_msg,omitempty"`
  2423. CreateTime string `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  2424. Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
  2425. unknownFields protoimpl.UnknownFields
  2426. sizeCache protoimpl.SizeCache
  2427. }
  2428. func (x *FriendRequestItem) Reset() {
  2429. *x = FriendRequestItem{}
  2430. mi := &file_common_proto_msgTypes[41]
  2431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2432. ms.StoreMessageInfo(mi)
  2433. }
  2434. func (x *FriendRequestItem) String() string {
  2435. return protoimpl.X.MessageStringOf(x)
  2436. }
  2437. func (*FriendRequestItem) ProtoMessage() {}
  2438. func (x *FriendRequestItem) ProtoReflect() protoreflect.Message {
  2439. mi := &file_common_proto_msgTypes[41]
  2440. if x != nil {
  2441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2442. if ms.LoadMessageInfo() == nil {
  2443. ms.StoreMessageInfo(mi)
  2444. }
  2445. return ms
  2446. }
  2447. return mi.MessageOf(x)
  2448. }
  2449. // Deprecated: Use FriendRequestItem.ProtoReflect.Descriptor instead.
  2450. func (*FriendRequestItem) Descriptor() ([]byte, []int) {
  2451. return file_common_proto_rawDescGZIP(), []int{41}
  2452. }
  2453. func (x *FriendRequestItem) GetInfo() *UserInfo {
  2454. if x != nil {
  2455. return x.Info
  2456. }
  2457. return nil
  2458. }
  2459. func (x *FriendRequestItem) GetRequestMsg() string {
  2460. if x != nil {
  2461. return x.RequestMsg
  2462. }
  2463. return ""
  2464. }
  2465. func (x *FriendRequestItem) GetCreateTime() string {
  2466. if x != nil {
  2467. return x.CreateTime
  2468. }
  2469. return ""
  2470. }
  2471. func (x *FriendRequestItem) GetStatus() int32 {
  2472. if x != nil {
  2473. return x.Status
  2474. }
  2475. return 0
  2476. }
  2477. // 请求好友申请列表
  2478. type ReqFriendRequestList struct {
  2479. state protoimpl.MessageState `protogen:"open.v1"`
  2480. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  2481. unknownFields protoimpl.UnknownFields
  2482. sizeCache protoimpl.SizeCache
  2483. }
  2484. func (x *ReqFriendRequestList) Reset() {
  2485. *x = ReqFriendRequestList{}
  2486. mi := &file_common_proto_msgTypes[42]
  2487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2488. ms.StoreMessageInfo(mi)
  2489. }
  2490. func (x *ReqFriendRequestList) String() string {
  2491. return protoimpl.X.MessageStringOf(x)
  2492. }
  2493. func (*ReqFriendRequestList) ProtoMessage() {}
  2494. func (x *ReqFriendRequestList) ProtoReflect() protoreflect.Message {
  2495. mi := &file_common_proto_msgTypes[42]
  2496. if x != nil {
  2497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2498. if ms.LoadMessageInfo() == nil {
  2499. ms.StoreMessageInfo(mi)
  2500. }
  2501. return ms
  2502. }
  2503. return mi.MessageOf(x)
  2504. }
  2505. // Deprecated: Use ReqFriendRequestList.ProtoReflect.Descriptor instead.
  2506. func (*ReqFriendRequestList) Descriptor() ([]byte, []int) {
  2507. return file_common_proto_rawDescGZIP(), []int{42}
  2508. }
  2509. func (x *ReqFriendRequestList) GetUserId() string {
  2510. if x != nil {
  2511. return x.UserId
  2512. }
  2513. return ""
  2514. }
  2515. // 响应好友申请列表请求,暂时没做分页
  2516. type ResFriendRequestList struct {
  2517. state protoimpl.MessageState `protogen:"open.v1"`
  2518. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  2519. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  2520. List []*FriendRequestItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  2521. unknownFields protoimpl.UnknownFields
  2522. sizeCache protoimpl.SizeCache
  2523. }
  2524. func (x *ResFriendRequestList) Reset() {
  2525. *x = ResFriendRequestList{}
  2526. mi := &file_common_proto_msgTypes[43]
  2527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2528. ms.StoreMessageInfo(mi)
  2529. }
  2530. func (x *ResFriendRequestList) String() string {
  2531. return protoimpl.X.MessageStringOf(x)
  2532. }
  2533. func (*ResFriendRequestList) ProtoMessage() {}
  2534. func (x *ResFriendRequestList) ProtoReflect() protoreflect.Message {
  2535. mi := &file_common_proto_msgTypes[43]
  2536. if x != nil {
  2537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2538. if ms.LoadMessageInfo() == nil {
  2539. ms.StoreMessageInfo(mi)
  2540. }
  2541. return ms
  2542. }
  2543. return mi.MessageOf(x)
  2544. }
  2545. // Deprecated: Use ResFriendRequestList.ProtoReflect.Descriptor instead.
  2546. func (*ResFriendRequestList) Descriptor() ([]byte, []int) {
  2547. return file_common_proto_rawDescGZIP(), []int{43}
  2548. }
  2549. func (x *ResFriendRequestList) GetSuccess() bool {
  2550. if x != nil {
  2551. return x.Success
  2552. }
  2553. return false
  2554. }
  2555. func (x *ResFriendRequestList) GetErrMsg() *MsgError {
  2556. if x != nil {
  2557. return x.ErrMsg
  2558. }
  2559. return nil
  2560. }
  2561. func (x *ResFriendRequestList) GetList() []*FriendRequestItem {
  2562. if x != nil {
  2563. return x.List
  2564. }
  2565. return nil
  2566. }
  2567. // 请求添加好友
  2568. type ReqAddFriend struct {
  2569. state protoimpl.MessageState `protogen:"open.v1"`
  2570. ToUserID string `protobuf:"bytes,1,opt,name=ToUserID,proto3" json:"ToUserID,omitempty"`
  2571. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  2572. unknownFields protoimpl.UnknownFields
  2573. sizeCache protoimpl.SizeCache
  2574. }
  2575. func (x *ReqAddFriend) Reset() {
  2576. *x = ReqAddFriend{}
  2577. mi := &file_common_proto_msgTypes[44]
  2578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2579. ms.StoreMessageInfo(mi)
  2580. }
  2581. func (x *ReqAddFriend) String() string {
  2582. return protoimpl.X.MessageStringOf(x)
  2583. }
  2584. func (*ReqAddFriend) ProtoMessage() {}
  2585. func (x *ReqAddFriend) ProtoReflect() protoreflect.Message {
  2586. mi := &file_common_proto_msgTypes[44]
  2587. if x != nil {
  2588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2589. if ms.LoadMessageInfo() == nil {
  2590. ms.StoreMessageInfo(mi)
  2591. }
  2592. return ms
  2593. }
  2594. return mi.MessageOf(x)
  2595. }
  2596. // Deprecated: Use ReqAddFriend.ProtoReflect.Descriptor instead.
  2597. func (*ReqAddFriend) Descriptor() ([]byte, []int) {
  2598. return file_common_proto_rawDescGZIP(), []int{44}
  2599. }
  2600. func (x *ReqAddFriend) GetToUserID() string {
  2601. if x != nil {
  2602. return x.ToUserID
  2603. }
  2604. return ""
  2605. }
  2606. func (x *ReqAddFriend) GetMsg() string {
  2607. if x != nil {
  2608. return x.Msg
  2609. }
  2610. return ""
  2611. }
  2612. // 客户端接收到请求消息
  2613. type RecvAddFriendRequest struct {
  2614. state protoimpl.MessageState `protogen:"open.v1"`
  2615. Info *UserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
  2616. unknownFields protoimpl.UnknownFields
  2617. sizeCache protoimpl.SizeCache
  2618. }
  2619. func (x *RecvAddFriendRequest) Reset() {
  2620. *x = RecvAddFriendRequest{}
  2621. mi := &file_common_proto_msgTypes[45]
  2622. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2623. ms.StoreMessageInfo(mi)
  2624. }
  2625. func (x *RecvAddFriendRequest) String() string {
  2626. return protoimpl.X.MessageStringOf(x)
  2627. }
  2628. func (*RecvAddFriendRequest) ProtoMessage() {}
  2629. func (x *RecvAddFriendRequest) ProtoReflect() protoreflect.Message {
  2630. mi := &file_common_proto_msgTypes[45]
  2631. if x != nil {
  2632. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2633. if ms.LoadMessageInfo() == nil {
  2634. ms.StoreMessageInfo(mi)
  2635. }
  2636. return ms
  2637. }
  2638. return mi.MessageOf(x)
  2639. }
  2640. // Deprecated: Use RecvAddFriendRequest.ProtoReflect.Descriptor instead.
  2641. func (*RecvAddFriendRequest) Descriptor() ([]byte, []int) {
  2642. return file_common_proto_rawDescGZIP(), []int{45}
  2643. }
  2644. func (x *RecvAddFriendRequest) GetInfo() *UserInfo {
  2645. if x != nil {
  2646. return x.Info
  2647. }
  2648. return nil
  2649. }
  2650. // 接收到的玩家对消息进行操作
  2651. type OptAddFriendRequest struct {
  2652. state protoimpl.MessageState `protogen:"open.v1"`
  2653. Info *RequestAddFriendItem `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
  2654. unknownFields protoimpl.UnknownFields
  2655. sizeCache protoimpl.SizeCache
  2656. }
  2657. func (x *OptAddFriendRequest) Reset() {
  2658. *x = OptAddFriendRequest{}
  2659. mi := &file_common_proto_msgTypes[46]
  2660. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2661. ms.StoreMessageInfo(mi)
  2662. }
  2663. func (x *OptAddFriendRequest) String() string {
  2664. return protoimpl.X.MessageStringOf(x)
  2665. }
  2666. func (*OptAddFriendRequest) ProtoMessage() {}
  2667. func (x *OptAddFriendRequest) ProtoReflect() protoreflect.Message {
  2668. mi := &file_common_proto_msgTypes[46]
  2669. if x != nil {
  2670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2671. if ms.LoadMessageInfo() == nil {
  2672. ms.StoreMessageInfo(mi)
  2673. }
  2674. return ms
  2675. }
  2676. return mi.MessageOf(x)
  2677. }
  2678. // Deprecated: Use OptAddFriendRequest.ProtoReflect.Descriptor instead.
  2679. func (*OptAddFriendRequest) Descriptor() ([]byte, []int) {
  2680. return file_common_proto_rawDescGZIP(), []int{46}
  2681. }
  2682. func (x *OptAddFriendRequest) GetInfo() *RequestAddFriendItem {
  2683. if x != nil {
  2684. return x.Info
  2685. }
  2686. return nil
  2687. }
  2688. // 通知请求的玩家,对方的操作结果
  2689. type NotifyOptFriend struct {
  2690. state protoimpl.MessageState `protogen:"open.v1"`
  2691. Info *RequestAddFriendItem `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
  2692. unknownFields protoimpl.UnknownFields
  2693. sizeCache protoimpl.SizeCache
  2694. }
  2695. func (x *NotifyOptFriend) Reset() {
  2696. *x = NotifyOptFriend{}
  2697. mi := &file_common_proto_msgTypes[47]
  2698. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2699. ms.StoreMessageInfo(mi)
  2700. }
  2701. func (x *NotifyOptFriend) String() string {
  2702. return protoimpl.X.MessageStringOf(x)
  2703. }
  2704. func (*NotifyOptFriend) ProtoMessage() {}
  2705. func (x *NotifyOptFriend) ProtoReflect() protoreflect.Message {
  2706. mi := &file_common_proto_msgTypes[47]
  2707. if x != nil {
  2708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2709. if ms.LoadMessageInfo() == nil {
  2710. ms.StoreMessageInfo(mi)
  2711. }
  2712. return ms
  2713. }
  2714. return mi.MessageOf(x)
  2715. }
  2716. // Deprecated: Use NotifyOptFriend.ProtoReflect.Descriptor instead.
  2717. func (*NotifyOptFriend) Descriptor() ([]byte, []int) {
  2718. return file_common_proto_rawDescGZIP(), []int{47}
  2719. }
  2720. func (x *NotifyOptFriend) GetInfo() *RequestAddFriendItem {
  2721. if x != nil {
  2722. return x.Info
  2723. }
  2724. return nil
  2725. }
  2726. // 根据玩家id搜索玩家
  2727. type SearchUser struct {
  2728. state protoimpl.MessageState `protogen:"open.v1"`
  2729. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  2730. unknownFields protoimpl.UnknownFields
  2731. sizeCache protoimpl.SizeCache
  2732. }
  2733. func (x *SearchUser) Reset() {
  2734. *x = SearchUser{}
  2735. mi := &file_common_proto_msgTypes[48]
  2736. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2737. ms.StoreMessageInfo(mi)
  2738. }
  2739. func (x *SearchUser) String() string {
  2740. return protoimpl.X.MessageStringOf(x)
  2741. }
  2742. func (*SearchUser) ProtoMessage() {}
  2743. func (x *SearchUser) ProtoReflect() protoreflect.Message {
  2744. mi := &file_common_proto_msgTypes[48]
  2745. if x != nil {
  2746. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2747. if ms.LoadMessageInfo() == nil {
  2748. ms.StoreMessageInfo(mi)
  2749. }
  2750. return ms
  2751. }
  2752. return mi.MessageOf(x)
  2753. }
  2754. // Deprecated: Use SearchUser.ProtoReflect.Descriptor instead.
  2755. func (*SearchUser) Descriptor() ([]byte, []int) {
  2756. return file_common_proto_rawDescGZIP(), []int{48}
  2757. }
  2758. func (x *SearchUser) GetUserId() string {
  2759. if x != nil {
  2760. return x.UserId
  2761. }
  2762. return ""
  2763. }
  2764. // 响应搜索结果
  2765. type ResSearchUser struct {
  2766. state protoimpl.MessageState `protogen:"open.v1"`
  2767. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  2768. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  2769. Info *UserInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
  2770. unknownFields protoimpl.UnknownFields
  2771. sizeCache protoimpl.SizeCache
  2772. }
  2773. func (x *ResSearchUser) Reset() {
  2774. *x = ResSearchUser{}
  2775. mi := &file_common_proto_msgTypes[49]
  2776. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2777. ms.StoreMessageInfo(mi)
  2778. }
  2779. func (x *ResSearchUser) String() string {
  2780. return protoimpl.X.MessageStringOf(x)
  2781. }
  2782. func (*ResSearchUser) ProtoMessage() {}
  2783. func (x *ResSearchUser) ProtoReflect() protoreflect.Message {
  2784. mi := &file_common_proto_msgTypes[49]
  2785. if x != nil {
  2786. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2787. if ms.LoadMessageInfo() == nil {
  2788. ms.StoreMessageInfo(mi)
  2789. }
  2790. return ms
  2791. }
  2792. return mi.MessageOf(x)
  2793. }
  2794. // Deprecated: Use ResSearchUser.ProtoReflect.Descriptor instead.
  2795. func (*ResSearchUser) Descriptor() ([]byte, []int) {
  2796. return file_common_proto_rawDescGZIP(), []int{49}
  2797. }
  2798. func (x *ResSearchUser) GetSuccess() bool {
  2799. if x != nil {
  2800. return x.Success
  2801. }
  2802. return false
  2803. }
  2804. func (x *ResSearchUser) GetErrMsg() *MsgError {
  2805. if x != nil {
  2806. return x.ErrMsg
  2807. }
  2808. return nil
  2809. }
  2810. func (x *ResSearchUser) GetInfo() *UserInfo {
  2811. if x != nil {
  2812. return x.Info
  2813. }
  2814. return nil
  2815. }
  2816. // 删除好友
  2817. type ReqDeleteFriend struct {
  2818. state protoimpl.MessageState `protogen:"open.v1"`
  2819. ToUserID string `protobuf:"bytes,1,opt,name=ToUserID,proto3" json:"ToUserID,omitempty"`
  2820. unknownFields protoimpl.UnknownFields
  2821. sizeCache protoimpl.SizeCache
  2822. }
  2823. func (x *ReqDeleteFriend) Reset() {
  2824. *x = ReqDeleteFriend{}
  2825. mi := &file_common_proto_msgTypes[50]
  2826. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2827. ms.StoreMessageInfo(mi)
  2828. }
  2829. func (x *ReqDeleteFriend) String() string {
  2830. return protoimpl.X.MessageStringOf(x)
  2831. }
  2832. func (*ReqDeleteFriend) ProtoMessage() {}
  2833. func (x *ReqDeleteFriend) ProtoReflect() protoreflect.Message {
  2834. mi := &file_common_proto_msgTypes[50]
  2835. if x != nil {
  2836. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2837. if ms.LoadMessageInfo() == nil {
  2838. ms.StoreMessageInfo(mi)
  2839. }
  2840. return ms
  2841. }
  2842. return mi.MessageOf(x)
  2843. }
  2844. // Deprecated: Use ReqDeleteFriend.ProtoReflect.Descriptor instead.
  2845. func (*ReqDeleteFriend) Descriptor() ([]byte, []int) {
  2846. return file_common_proto_rawDescGZIP(), []int{50}
  2847. }
  2848. func (x *ReqDeleteFriend) GetToUserID() string {
  2849. if x != nil {
  2850. return x.ToUserID
  2851. }
  2852. return ""
  2853. }
  2854. // 删除好友响应
  2855. type ResDeleteFriend struct {
  2856. state protoimpl.MessageState `protogen:"open.v1"`
  2857. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  2858. ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  2859. unknownFields protoimpl.UnknownFields
  2860. sizeCache protoimpl.SizeCache
  2861. }
  2862. func (x *ResDeleteFriend) Reset() {
  2863. *x = ResDeleteFriend{}
  2864. mi := &file_common_proto_msgTypes[51]
  2865. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2866. ms.StoreMessageInfo(mi)
  2867. }
  2868. func (x *ResDeleteFriend) String() string {
  2869. return protoimpl.X.MessageStringOf(x)
  2870. }
  2871. func (*ResDeleteFriend) ProtoMessage() {}
  2872. func (x *ResDeleteFriend) ProtoReflect() protoreflect.Message {
  2873. mi := &file_common_proto_msgTypes[51]
  2874. if x != nil {
  2875. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2876. if ms.LoadMessageInfo() == nil {
  2877. ms.StoreMessageInfo(mi)
  2878. }
  2879. return ms
  2880. }
  2881. return mi.MessageOf(x)
  2882. }
  2883. // Deprecated: Use ResDeleteFriend.ProtoReflect.Descriptor instead.
  2884. func (*ResDeleteFriend) Descriptor() ([]byte, []int) {
  2885. return file_common_proto_rawDescGZIP(), []int{51}
  2886. }
  2887. func (x *ResDeleteFriend) GetSuccess() bool {
  2888. if x != nil {
  2889. return x.Success
  2890. }
  2891. return false
  2892. }
  2893. func (x *ResDeleteFriend) GetErrMsg() *MsgError {
  2894. if x != nil {
  2895. return x.ErrMsg
  2896. }
  2897. return nil
  2898. }
  2899. var File_common_proto protoreflect.FileDescriptor
  2900. const file_common_proto_rawDesc = "" +
  2901. "\n" +
  2902. "\fcommon.proto\"z\n" +
  2903. "\x05round\x12\"\n" +
  2904. "\am_color\x18\x01 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x15\n" +
  2905. "\x06m_road\x18\x02 \x01(\tR\x05mRoad\x12\x1a\n" +
  2906. "\x03opt\x18\x03 \x01(\x0e2\b.OptTypeR\x03opt\x12\x1a\n" +
  2907. "\bszNumber\x18\x04 \x01(\x05R\bszNumber\"\x87\x04\n" +
  2908. "\bRoomInfo\x12\x1f\n" +
  2909. "\x05roles\x18\x01 \x03(\v2\t.RoleDataR\x05roles\x12\"\n" +
  2910. "\x06colors\x18\x02 \x03(\v2\n" +
  2911. ".ColorDataR\x06colors\x12&\n" +
  2912. "\troom_type\x18\x03 \x01(\x0e2\t.roomTypeR\broomType\x12&\n" +
  2913. "\troom_mode\x18\x04 \x01(\x0e2\t.roomModeR\broomMode\x121\n" +
  2914. "\x0fcur_round_color\x18\x05 \x01(\x0e2\t.roleTypeR\rcurRoundColor\x12\x1e\n" +
  2915. "\x06rounds\x18\x06 \x03(\v2\x06.roundR\x06rounds\x12/\n" +
  2916. "\rfinish_colors\x18\a \x03(\v2\n" +
  2917. ".ColorDataR\ffinishColors\x12+\n" +
  2918. "\vkict_colors\x18\b \x03(\v2\n" +
  2919. ".ColorDataR\n" +
  2920. "kictColors\x12\x0e\n" +
  2921. "\x02id\x18\t \x01(\x05R\x02id\x12\x1d\n" +
  2922. "\n" +
  2923. "room_level\x18\n" +
  2924. " \x01(\x05R\troomLevel\x12,\n" +
  2925. "\vroom_status\x18\v \x01(\x0e2\v.roomStatusR\n" +
  2926. "roomStatus\x12=\n" +
  2927. "\x12cur_color_opt_data\x18\f \x01(\v2\x10.NotifyPlayerOptR\x0fcurColorOptData\x12\x19\n" +
  2928. "\bopt_time\x18\r \x01(\x05R\aoptTime\"\xb0\x01\n" +
  2929. "\bRoleData\x12\"\n" +
  2930. "\am_color\x18\x01 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x15\n" +
  2931. "\x06m_seat\x18\x02 \x01(\x05R\x05mSeat\x12\x11\n" +
  2932. "\x04m_id\x18\x03 \x01(\tR\x03mId\x12'\n" +
  2933. "\n" +
  2934. "m_cur_road\x18\x04 \x01(\x0e2\t.roadTypeR\bmCurRoad\x12\x12\n" +
  2935. "\x04step\x18\x05 \x01(\x05R\x04step\x12\x19\n" +
  2936. "\bold_setp\x18\x06 \x01(\x05R\aoldSetp\"\x9e\x02\n" +
  2937. "\tColorData\x12\x11\n" +
  2938. "\x04m_id\x18\x01 \x01(\tR\x03mId\x12\"\n" +
  2939. "\am_color\x18\x02 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x17\n" +
  2940. "\ais_kick\x18\x03 \x01(\bR\x06isKick\x12\x1b\n" +
  2941. "\tis_finish\x18\x04 \x01(\bR\bisFinish\x12 \n" +
  2942. "\ftime_out_num\x18\x05 \x01(\x05R\n" +
  2943. "timeOutNum\x12\x15\n" +
  2944. "\x06m_name\x18\x06 \x01(\tR\x05mName\x12\x15\n" +
  2945. "\x06m_head\x18\a \x01(\tR\x05mHead\x12\x19\n" +
  2946. "\brank_num\x18\b \x01(\x05R\arankNum\x12\x15\n" +
  2947. "\x06m_coin\x18\t \x01(\x05R\x05mCoin\x12\"\n" +
  2948. "\rm_reward_coin\x18\n" +
  2949. " \x01(\x05R\vmRewardCoin\"P\n" +
  2950. "\fMoveStepData\x12\x11\n" +
  2951. "\x04m_id\x18\x01 \x01(\tR\x03mId\x12\x12\n" +
  2952. "\x04step\x18\x02 \x01(\x05R\x04step\x12\x19\n" +
  2953. "\bold_setp\x18\x03 \x01(\x05R\aoldSetp\".\n" +
  2954. "\vSendColorSz\x12\x1f\n" +
  2955. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\"G\n" +
  2956. "\fSendRoleMove\x12\x1f\n" +
  2957. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x16\n" +
  2958. "\x06roleId\x18\x02 \x01(\tR\x06roleId\"/\n" +
  2959. "\fSendQuitRoom\x12\x1f\n" +
  2960. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\"w\n" +
  2961. "\x14NotifyPlayerSzNumber\x12\x1f\n" +
  2962. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x1a\n" +
  2963. "\bszNumber\x18\x02 \x01(\x05R\bszNumber\x12\"\n" +
  2964. "\aerr_msg\x18\x03 \x01(\v2\t.MsgErrorR\x06errMsg\"u\n" +
  2965. "\x10NotifyPlayerMove\x12\x1f\n" +
  2966. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12!\n" +
  2967. "\x04step\x18\x02 \x01(\v2\r.MoveStepDataR\x04step\x12\x1d\n" +
  2968. "\x04kick\x18\x03 \x03(\v2\t.RoleDataR\x04kick\"\x98\x01\n" +
  2969. "\x0fNotifyPlayerOpt\x12\x1f\n" +
  2970. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x1a\n" +
  2971. "\x03opt\x18\x02 \x01(\x0e2\b.OptTypeR\x03opt\x12-\n" +
  2972. "\fcanMoveRoles\x18\x03 \x03(\v2\t.RoleDataR\fcanMoveRoles\x12\x19\n" +
  2973. "\bopt_time\x18\x04 \x01(\x05R\aoptTime\"\xb2\x01\n" +
  2974. "\x12NotifyPlayerStatus\x12\x1f\n" +
  2975. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12%\n" +
  2976. "\x06status\x18\x02 \x01(\x0e2\r.playerStatusR\x06status\x12\"\n" +
  2977. "\x06colors\x18\x03 \x03(\v2\n" +
  2978. ".ColorDataR\x06colors\x120\n" +
  2979. "\x0etime_out_color\x18\x04 \x01(\v2\n" +
  2980. ".ColorDataR\ftimeOutColor\"d\n" +
  2981. "\x10NotifySettlement\x12\x1f\n" +
  2982. "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12/\n" +
  2983. "\rfinish_colors\x18\x02 \x03(\v2\n" +
  2984. ".ColorDataR\ffinishColors\">\n" +
  2985. "\x14NotifyUpdateRoomInfo\x12&\n" +
  2986. "\troom_info\x18\x01 \x01(\v2\t.RoomInfoR\broomInfo\"\xa2\x01\n" +
  2987. "\bUserInfo\x12\x16\n" +
  2988. "\x06UserId\x18\x01 \x01(\tR\x06UserId\x12\x15\n" +
  2989. "\x06m_head\x18\x02 \x01(\tR\x05mHead\x12\x15\n" +
  2990. "\x06m_coin\x18\x03 \x01(\x05R\x05mCoin\x12\x12\n" +
  2991. "\x04name\x18\x04 \x01(\tR\x04name\x12\x17\n" +
  2992. "\aroom_id\x18\x05 \x01(\x05R\x06roomId\x12#\n" +
  2993. "\ronline_status\x18\x06 \x01(\x05R\fonlineStatus\"@\n" +
  2994. "\bReqLogin\x12\x18\n" +
  2995. "\aaccount\x18\x01 \x01(\tR\aaccount\x12\x1a\n" +
  2996. "\bpassword\x18\x02 \x01(\tR\bpassword\"\x89\x01\n" +
  2997. "\bResLogin\x12\x16\n" +
  2998. "\x06userId\x18\x01 \x01(\tR\x06userId\x12\x1a\n" +
  2999. "\bnikeName\x18\x02 \x01(\tR\bnikeName\x12%\n" +
  3000. "\buserInfo\x18\x03 \x01(\v2\t.UserInfoR\buserInfo\x12\"\n" +
  3001. "\aerr_msg\x18\x04 \x01(\v2\t.MsgErrorR\x06errMsg\"v\n" +
  3002. "\vReqRegister\x12\x1a\n" +
  3003. "\bnikeName\x18\x01 \x01(\tR\bnikeName\x12\x18\n" +
  3004. "\aaccount\x18\x02 \x01(\tR\aaccount\x12\x1a\n" +
  3005. "\bpassword\x18\x03 \x01(\tR\bpassword\x12\x15\n" +
  3006. "\x06m_head\x18\x04 \x01(\tR\x05mHead\"K\n" +
  3007. "\vResRegister\x12\x18\n" +
  3008. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3009. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\"#\n" +
  3010. "\tEnterHall\x12\x16\n" +
  3011. "\x06userId\x18\x01 \x01(\tR\x06userId\"\x87\x01\n" +
  3012. "\fResEnterHall\x12\x18\n" +
  3013. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3014. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x129\n" +
  3015. "\x13reconnect_room_info\x18\x03 \x01(\v2\t.RoomInfoR\x11reconnectRoomInfo\"#\n" +
  3016. "\tLeaveHall\x12\x16\n" +
  3017. "\x06userId\x18\x01 \x01(\tR\x06userId\"\x8d\x01\n" +
  3018. "\tMatchLudo\x123\n" +
  3019. "\x10select_room_type\x18\x01 \x01(\x0e2\t.roomTypeR\x0eselectRoomType\x12\x1d\n" +
  3020. "\n" +
  3021. "room_level\x18\x02 \x01(\x05R\troomLevel\x12,\n" +
  3022. "\fselect_color\x18\x03 \x01(\x0e2\t.roleTypeR\vselectColor\"k\n" +
  3023. "\fResMatchLudo\x12\x18\n" +
  3024. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3025. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
  3026. "\x04room\x18\x03 \x01(\v2\t.RoomInfoR\x04room\"F\n" +
  3027. "\bMsgError\x12\x1d\n" +
  3028. "\n" +
  3029. "error_code\x18\x01 \x01(\x05R\terrorCode\x12\x1b\n" +
  3030. "\terror_msg\x18\x02 \x01(\tR\berrorMsg\"/\n" +
  3031. "\x0eUpdateUserInfo\x12\x1d\n" +
  3032. "\x04info\x18\x01 \x01(\v2\t.UserInfoR\x04info\" \n" +
  3033. "\fResHeartBeat\x12\x10\n" +
  3034. "\x03msg\x18\x01 \x01(\tR\x03msg\" \n" +
  3035. "\fReqHeartBeat\x12\x10\n" +
  3036. "\x03msg\x18\x01 \x01(\tR\x03msg\"V\n" +
  3037. "\bShopItem\x12\x12\n" +
  3038. "\x04name\x18\x01 \x01(\tR\x04name\x12\x0e\n" +
  3039. "\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n" +
  3040. "\x05price\x18\x03 \x01(\x05R\x05price\x12\x10\n" +
  3041. "\x03num\x18\x04 \x01(\x05R\x03num\"1\n" +
  3042. "\vBeKickLogin\x12\"\n" +
  3043. "\aerr_msg\x18\x01 \x01(\v2\t.MsgErrorR\x06errMsg\"%\n" +
  3044. "\aReqShop\x12\x1a\n" +
  3045. "\bshopType\x18\x01 \x01(\x05R\bshopType\"f\n" +
  3046. "\aResShop\x12\x18\n" +
  3047. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3048. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
  3049. "\x04list\x18\x03 \x03(\v2\t.ShopItemR\x04list\"e\n" +
  3050. "\rHistoryRecord\x12\x0e\n" +
  3051. "\x02id\x18\x01 \x01(\x05R\x02id\x12\x17\n" +
  3052. "\aroom_id\x18\x02 \x01(\x05R\x06roomId\x12\x17\n" +
  3053. "\auser_id\x18\x03 \x01(\tR\x06userId\x12\x12\n" +
  3054. "\x04time\x18\x04 \x01(\tR\x04time\")\n" +
  3055. "\x0eReqLudoHistory\x12\x17\n" +
  3056. "\auser_id\x18\x01 \x01(\tR\x06userId\"r\n" +
  3057. "\x0eResLudoHistory\x12\x18\n" +
  3058. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3059. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\"\n" +
  3060. "\x04list\x18\x03 \x03(\v2\x0e.HistoryRecordR\x04list\"*\n" +
  3061. "\x0fReqLudoRoomInfo\x12\x17\n" +
  3062. "\aroom_id\x18\x01 \x01(\x03R\x06roomId\"n\n" +
  3063. "\x0fResLudoRoomInfo\x12\x18\n" +
  3064. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3065. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
  3066. "\x04info\x18\x03 \x01(\v2\t.RoomInfoR\x04info\"\x1d\n" +
  3067. "\vBuyShopItem\x12\x0e\n" +
  3068. "\x02id\x18\x01 \x01(\tR\x02id\"\xb2\x01\n" +
  3069. "\x14RequestAddFriendItem\x12\x0e\n" +
  3070. "\x02id\x18\x01 \x01(\x05R\x02id\x12\x1c\n" +
  3071. "\tRequestID\x18\x02 \x01(\tR\tRequestID\x12\x1e\n" +
  3072. "\n" +
  3073. "FromUserID\x18\x03 \x01(\tR\n" +
  3074. "FromUserID\x12\x1a\n" +
  3075. "\bToUserID\x18\x04 \x01(\tR\bToUserID\x12\x16\n" +
  3076. "\x06Status\x18\x05 \x01(\x05R\x06Status\x12\x18\n" +
  3077. "\aMessage\x18\x06 \x01(\tR\aMessage\"(\n" +
  3078. "\rReqFriendList\x12\x17\n" +
  3079. "\auser_id\x18\x01 \x01(\tR\x06userId\"l\n" +
  3080. "\rResFriendList\x12\x18\n" +
  3081. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3082. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
  3083. "\x04list\x18\x03 \x03(\v2\t.UserInfoR\x04list\"\x8c\x01\n" +
  3084. "\x11FriendRequestItem\x12\x1d\n" +
  3085. "\x04info\x18\x01 \x01(\v2\t.UserInfoR\x04info\x12\x1f\n" +
  3086. "\vrequest_msg\x18\x02 \x01(\tR\n" +
  3087. "requestMsg\x12\x1f\n" +
  3088. "\vcreate_time\x18\x03 \x01(\tR\n" +
  3089. "createTime\x12\x16\n" +
  3090. "\x06status\x18\x04 \x01(\x05R\x06status\"/\n" +
  3091. "\x14ReqFriendRequestList\x12\x17\n" +
  3092. "\auser_id\x18\x01 \x01(\tR\x06userId\"|\n" +
  3093. "\x14ResFriendRequestList\x12\x18\n" +
  3094. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3095. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12&\n" +
  3096. "\x04list\x18\x03 \x03(\v2\x12.FriendRequestItemR\x04list\"<\n" +
  3097. "\fReqAddFriend\x12\x1a\n" +
  3098. "\bToUserID\x18\x01 \x01(\tR\bToUserID\x12\x10\n" +
  3099. "\x03msg\x18\x02 \x01(\tR\x03msg\"5\n" +
  3100. "\x14RecvAddFriendRequest\x12\x1d\n" +
  3101. "\x04info\x18\x01 \x01(\v2\t.UserInfoR\x04info\"@\n" +
  3102. "\x13OptAddFriendRequest\x12)\n" +
  3103. "\x04info\x18\x01 \x01(\v2\x15.RequestAddFriendItemR\x04info\"<\n" +
  3104. "\x0fNotifyOptFriend\x12)\n" +
  3105. "\x04info\x18\x01 \x01(\v2\x15.RequestAddFriendItemR\x04info\"%\n" +
  3106. "\n" +
  3107. "SearchUser\x12\x17\n" +
  3108. "\auser_id\x18\x01 \x01(\tR\x06userId\"l\n" +
  3109. "\rResSearchUser\x12\x18\n" +
  3110. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3111. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
  3112. "\x04info\x18\x03 \x01(\v2\t.UserInfoR\x04info\"-\n" +
  3113. "\x0fReqDeleteFriend\x12\x1a\n" +
  3114. "\bToUserID\x18\x01 \x01(\tR\bToUserID\"O\n" +
  3115. "\x0fResDeleteFriend\x12\x18\n" +
  3116. "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
  3117. "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg*K\n" +
  3118. "\broleType\x12\x15\n" +
  3119. "\x11ROLE_TYPE_UNKNOWN\x10\x00\x12\a\n" +
  3120. "\x03RED\x10\x01\x12\b\n" +
  3121. "\x04BLUE\x10\x04\x12\n" +
  3122. "\n" +
  3123. "\x06YELLOW\x10\x03\x12\t\n" +
  3124. "\x05GREEN\x10\x02*A\n" +
  3125. "\aOptType\x12\x14\n" +
  3126. "\x10OPT_TYPE_UNKNOWN\x10\x00\x12\x0f\n" +
  3127. "\vZHI_SHAI_ZI\x10\x01\x12\x0f\n" +
  3128. "\vSELECT_ROLE\x10\x02*@\n" +
  3129. "\broomType\x12\x15\n" +
  3130. "\x11ROOM_TYPE_UNKNOWN\x10\x00\x12\x0e\n" +
  3131. "\n" +
  3132. "SHUANG_REN\x10\x01\x12\r\n" +
  3133. "\tSIREN_REN\x10\x02*:\n" +
  3134. "\broomMode\x12\x15\n" +
  3135. "\x11ROOM_MODE_UNKNOWN\x10\x00\x12\n" +
  3136. "\n" +
  3137. "\x06REN_JI\x10\x01\x12\v\n" +
  3138. "\aWAN_JIA\x10\x02*+\n" +
  3139. "\broadType\x12\x15\n" +
  3140. "\x11ROAD_TYPE_UNKNOWN\x10\x00\x12\b\n" +
  3141. "\x04HOME\x10\x01*q\n" +
  3142. "\fplayerStatus\x12\x19\n" +
  3143. "\x15PLAYER_STATUS_UNKNOWN\x10\x00\x12\x10\n" +
  3144. "\fSZ_ANIMATION\x10\x01\x12\x10\n" +
  3145. "\fCOLOR_FINISH\x10\x02\x12\x0e\n" +
  3146. "\n" +
  3147. "COLOR_KICK\x10\x03\x12\x12\n" +
  3148. "\x0eCOLOR_TIME_OUT\x10\x04*+\n" +
  3149. "\n" +
  3150. "roomStatus\x12\t\n" +
  3151. "\x05AWAIT\x10\x00\x12\t\n" +
  3152. "\x05START\x10\x01\x12\a\n" +
  3153. "\x03END\x10\x02B\aZ\x05./msgb\x06proto3"
  3154. var (
  3155. file_common_proto_rawDescOnce sync.Once
  3156. file_common_proto_rawDescData []byte
  3157. )
  3158. func file_common_proto_rawDescGZIP() []byte {
  3159. file_common_proto_rawDescOnce.Do(func() {
  3160. file_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)))
  3161. })
  3162. return file_common_proto_rawDescData
  3163. }
  3164. var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
  3165. var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 52)
  3166. var file_common_proto_goTypes = []any{
  3167. (RoleType)(0), // 0: roleType
  3168. (OptType)(0), // 1: OptType
  3169. (RoomType)(0), // 2: roomType
  3170. (RoomMode)(0), // 3: roomMode
  3171. (RoadType)(0), // 4: roadType
  3172. (PlayerStatus)(0), // 5: playerStatus
  3173. (RoomStatus)(0), // 6: roomStatus
  3174. (*Round)(nil), // 7: round
  3175. (*RoomInfo)(nil), // 8: RoomInfo
  3176. (*RoleData)(nil), // 9: RoleData
  3177. (*ColorData)(nil), // 10: ColorData
  3178. (*MoveStepData)(nil), // 11: MoveStepData
  3179. (*SendColorSz)(nil), // 12: SendColorSz
  3180. (*SendRoleMove)(nil), // 13: SendRoleMove
  3181. (*SendQuitRoom)(nil), // 14: SendQuitRoom
  3182. (*NotifyPlayerSzNumber)(nil), // 15: NotifyPlayerSzNumber
  3183. (*NotifyPlayerMove)(nil), // 16: NotifyPlayerMove
  3184. (*NotifyPlayerOpt)(nil), // 17: NotifyPlayerOpt
  3185. (*NotifyPlayerStatus)(nil), // 18: NotifyPlayerStatus
  3186. (*NotifySettlement)(nil), // 19: NotifySettlement
  3187. (*NotifyUpdateRoomInfo)(nil), // 20: NotifyUpdateRoomInfo
  3188. (*UserInfo)(nil), // 21: UserInfo
  3189. (*ReqLogin)(nil), // 22: ReqLogin
  3190. (*ResLogin)(nil), // 23: ResLogin
  3191. (*ReqRegister)(nil), // 24: ReqRegister
  3192. (*ResRegister)(nil), // 25: ResRegister
  3193. (*EnterHall)(nil), // 26: EnterHall
  3194. (*ResEnterHall)(nil), // 27: ResEnterHall
  3195. (*LeaveHall)(nil), // 28: LeaveHall
  3196. (*MatchLudo)(nil), // 29: MatchLudo
  3197. (*ResMatchLudo)(nil), // 30: ResMatchLudo
  3198. (*MsgError)(nil), // 31: MsgError
  3199. (*UpdateUserInfo)(nil), // 32: UpdateUserInfo
  3200. (*ResHeartBeat)(nil), // 33: ResHeartBeat
  3201. (*ReqHeartBeat)(nil), // 34: ReqHeartBeat
  3202. (*ShopItem)(nil), // 35: ShopItem
  3203. (*BeKickLogin)(nil), // 36: BeKickLogin
  3204. (*ReqShop)(nil), // 37: ReqShop
  3205. (*ResShop)(nil), // 38: ResShop
  3206. (*HistoryRecord)(nil), // 39: HistoryRecord
  3207. (*ReqLudoHistory)(nil), // 40: ReqLudoHistory
  3208. (*ResLudoHistory)(nil), // 41: ResLudoHistory
  3209. (*ReqLudoRoomInfo)(nil), // 42: ReqLudoRoomInfo
  3210. (*ResLudoRoomInfo)(nil), // 43: ResLudoRoomInfo
  3211. (*BuyShopItem)(nil), // 44: BuyShopItem
  3212. (*RequestAddFriendItem)(nil), // 45: RequestAddFriendItem
  3213. (*ReqFriendList)(nil), // 46: ReqFriendList
  3214. (*ResFriendList)(nil), // 47: ResFriendList
  3215. (*FriendRequestItem)(nil), // 48: FriendRequestItem
  3216. (*ReqFriendRequestList)(nil), // 49: ReqFriendRequestList
  3217. (*ResFriendRequestList)(nil), // 50: ResFriendRequestList
  3218. (*ReqAddFriend)(nil), // 51: ReqAddFriend
  3219. (*RecvAddFriendRequest)(nil), // 52: RecvAddFriendRequest
  3220. (*OptAddFriendRequest)(nil), // 53: OptAddFriendRequest
  3221. (*NotifyOptFriend)(nil), // 54: NotifyOptFriend
  3222. (*SearchUser)(nil), // 55: SearchUser
  3223. (*ResSearchUser)(nil), // 56: ResSearchUser
  3224. (*ReqDeleteFriend)(nil), // 57: ReqDeleteFriend
  3225. (*ResDeleteFriend)(nil), // 58: ResDeleteFriend
  3226. }
  3227. var file_common_proto_depIdxs = []int32{
  3228. 0, // 0: round.m_color:type_name -> roleType
  3229. 1, // 1: round.opt:type_name -> OptType
  3230. 9, // 2: RoomInfo.roles:type_name -> RoleData
  3231. 10, // 3: RoomInfo.colors:type_name -> ColorData
  3232. 2, // 4: RoomInfo.room_type:type_name -> roomType
  3233. 3, // 5: RoomInfo.room_mode:type_name -> roomMode
  3234. 0, // 6: RoomInfo.cur_round_color:type_name -> roleType
  3235. 7, // 7: RoomInfo.rounds:type_name -> round
  3236. 10, // 8: RoomInfo.finish_colors:type_name -> ColorData
  3237. 10, // 9: RoomInfo.kict_colors:type_name -> ColorData
  3238. 6, // 10: RoomInfo.room_status:type_name -> roomStatus
  3239. 17, // 11: RoomInfo.cur_color_opt_data:type_name -> NotifyPlayerOpt
  3240. 0, // 12: RoleData.m_color:type_name -> roleType
  3241. 4, // 13: RoleData.m_cur_road:type_name -> roadType
  3242. 0, // 14: ColorData.m_color:type_name -> roleType
  3243. 0, // 15: SendColorSz.color:type_name -> roleType
  3244. 0, // 16: SendRoleMove.color:type_name -> roleType
  3245. 0, // 17: SendQuitRoom.color:type_name -> roleType
  3246. 0, // 18: NotifyPlayerSzNumber.color:type_name -> roleType
  3247. 31, // 19: NotifyPlayerSzNumber.err_msg:type_name -> MsgError
  3248. 0, // 20: NotifyPlayerMove.color:type_name -> roleType
  3249. 11, // 21: NotifyPlayerMove.step:type_name -> MoveStepData
  3250. 9, // 22: NotifyPlayerMove.kick:type_name -> RoleData
  3251. 0, // 23: NotifyPlayerOpt.color:type_name -> roleType
  3252. 1, // 24: NotifyPlayerOpt.opt:type_name -> OptType
  3253. 9, // 25: NotifyPlayerOpt.canMoveRoles:type_name -> RoleData
  3254. 0, // 26: NotifyPlayerStatus.color:type_name -> roleType
  3255. 5, // 27: NotifyPlayerStatus.status:type_name -> playerStatus
  3256. 10, // 28: NotifyPlayerStatus.colors:type_name -> ColorData
  3257. 10, // 29: NotifyPlayerStatus.time_out_color:type_name -> ColorData
  3258. 0, // 30: NotifySettlement.color:type_name -> roleType
  3259. 10, // 31: NotifySettlement.finish_colors:type_name -> ColorData
  3260. 8, // 32: NotifyUpdateRoomInfo.room_info:type_name -> RoomInfo
  3261. 21, // 33: ResLogin.userInfo:type_name -> UserInfo
  3262. 31, // 34: ResLogin.err_msg:type_name -> MsgError
  3263. 31, // 35: ResRegister.err_msg:type_name -> MsgError
  3264. 31, // 36: ResEnterHall.err_msg:type_name -> MsgError
  3265. 8, // 37: ResEnterHall.reconnect_room_info:type_name -> RoomInfo
  3266. 2, // 38: MatchLudo.select_room_type:type_name -> roomType
  3267. 0, // 39: MatchLudo.select_color:type_name -> roleType
  3268. 31, // 40: ResMatchLudo.err_msg:type_name -> MsgError
  3269. 8, // 41: ResMatchLudo.room:type_name -> RoomInfo
  3270. 21, // 42: UpdateUserInfo.info:type_name -> UserInfo
  3271. 31, // 43: BeKickLogin.err_msg:type_name -> MsgError
  3272. 31, // 44: ResShop.err_msg:type_name -> MsgError
  3273. 35, // 45: ResShop.list:type_name -> ShopItem
  3274. 31, // 46: ResLudoHistory.err_msg:type_name -> MsgError
  3275. 39, // 47: ResLudoHistory.list:type_name -> HistoryRecord
  3276. 31, // 48: ResLudoRoomInfo.err_msg:type_name -> MsgError
  3277. 8, // 49: ResLudoRoomInfo.info:type_name -> RoomInfo
  3278. 31, // 50: ResFriendList.err_msg:type_name -> MsgError
  3279. 21, // 51: ResFriendList.list:type_name -> UserInfo
  3280. 21, // 52: FriendRequestItem.info:type_name -> UserInfo
  3281. 31, // 53: ResFriendRequestList.err_msg:type_name -> MsgError
  3282. 48, // 54: ResFriendRequestList.list:type_name -> FriendRequestItem
  3283. 21, // 55: RecvAddFriendRequest.info:type_name -> UserInfo
  3284. 45, // 56: OptAddFriendRequest.info:type_name -> RequestAddFriendItem
  3285. 45, // 57: NotifyOptFriend.info:type_name -> RequestAddFriendItem
  3286. 31, // 58: ResSearchUser.err_msg:type_name -> MsgError
  3287. 21, // 59: ResSearchUser.info:type_name -> UserInfo
  3288. 31, // 60: ResDeleteFriend.err_msg:type_name -> MsgError
  3289. 61, // [61:61] is the sub-list for method output_type
  3290. 61, // [61:61] is the sub-list for method input_type
  3291. 61, // [61:61] is the sub-list for extension type_name
  3292. 61, // [61:61] is the sub-list for extension extendee
  3293. 0, // [0:61] is the sub-list for field type_name
  3294. }
  3295. func init() { file_common_proto_init() }
  3296. func file_common_proto_init() {
  3297. if File_common_proto != nil {
  3298. return
  3299. }
  3300. type x struct{}
  3301. out := protoimpl.TypeBuilder{
  3302. File: protoimpl.DescBuilder{
  3303. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3304. RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
  3305. NumEnums: 7,
  3306. NumMessages: 52,
  3307. NumExtensions: 0,
  3308. NumServices: 0,
  3309. },
  3310. GoTypes: file_common_proto_goTypes,
  3311. DependencyIndexes: file_common_proto_depIdxs,
  3312. EnumInfos: file_common_proto_enumTypes,
  3313. MessageInfos: file_common_proto_msgTypes,
  3314. }.Build()
  3315. File_common_proto = out.File
  3316. file_common_proto_goTypes = nil
  3317. file_common_proto_depIdxs = nil
  3318. }