map.pb.go 134 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940
  1. // message结构的属性名请使用 驼峰小写字母开始
  2. // Code generated by protoc-gen-go. DO NOT EDIT.
  3. // versions:
  4. // protoc-gen-go v1.36.8
  5. // protoc v6.31.1
  6. // source: map.proto
  7. package pb
  8. import (
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // 玩家拥有的地图对象列表
  22. type OwnerMapObjects struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. List []*OwnerMapObject `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *OwnerMapObjects) Reset() {
  29. *x = OwnerMapObjects{}
  30. mi := &file_map_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *OwnerMapObjects) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*OwnerMapObjects) ProtoMessage() {}
  38. func (x *OwnerMapObjects) ProtoReflect() protoreflect.Message {
  39. mi := &file_map_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use OwnerMapObjects.ProtoReflect.Descriptor instead.
  50. func (*OwnerMapObjects) Descriptor() ([]byte, []int) {
  51. return file_map_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *OwnerMapObjects) GetList() []*OwnerMapObject {
  54. if x != nil {
  55. return x.List
  56. }
  57. return nil
  58. }
  59. // 玩家拥有的地图对象
  60. type OwnerMapObject struct {
  61. state protoimpl.MessageState `protogen:"open.v1"`
  62. // 对象唯一id
  63. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  64. // 对象所在坐标点
  65. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
  66. // 对象类型,见 map.go -> ObjectType 地块对象类型
  67. ObjectType int32 `protobuf:"varint,3,opt,name=objectType,proto3" json:"objectType,omitempty"`
  68. // 对象配置ID
  69. ConfigID int32 `protobuf:"varint,4,opt,name=configID,proto3" json:"configID,omitempty"`
  70. // 建筑对象信息
  71. Build *OwnerMapObjectBuild `protobuf:"bytes,5,opt,name=build,proto3" json:"build,omitempty"`
  72. // 资源对象信息
  73. Res *OwnerMapObjectRes `protobuf:"bytes,6,opt,name=res,proto3" json:"res,omitempty"`
  74. unknownFields protoimpl.UnknownFields
  75. sizeCache protoimpl.SizeCache
  76. }
  77. func (x *OwnerMapObject) Reset() {
  78. *x = OwnerMapObject{}
  79. mi := &file_map_proto_msgTypes[1]
  80. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  81. ms.StoreMessageInfo(mi)
  82. }
  83. func (x *OwnerMapObject) String() string {
  84. return protoimpl.X.MessageStringOf(x)
  85. }
  86. func (*OwnerMapObject) ProtoMessage() {}
  87. func (x *OwnerMapObject) ProtoReflect() protoreflect.Message {
  88. mi := &file_map_proto_msgTypes[1]
  89. if x != nil {
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. if ms.LoadMessageInfo() == nil {
  92. ms.StoreMessageInfo(mi)
  93. }
  94. return ms
  95. }
  96. return mi.MessageOf(x)
  97. }
  98. // Deprecated: Use OwnerMapObject.ProtoReflect.Descriptor instead.
  99. func (*OwnerMapObject) Descriptor() ([]byte, []int) {
  100. return file_map_proto_rawDescGZIP(), []int{1}
  101. }
  102. func (x *OwnerMapObject) GetObjectID() int64 {
  103. if x != nil {
  104. return x.ObjectID
  105. }
  106. return 0
  107. }
  108. func (x *OwnerMapObject) GetPoint() *Point {
  109. if x != nil {
  110. return x.Point
  111. }
  112. return nil
  113. }
  114. func (x *OwnerMapObject) GetObjectType() int32 {
  115. if x != nil {
  116. return x.ObjectType
  117. }
  118. return 0
  119. }
  120. func (x *OwnerMapObject) GetConfigID() int32 {
  121. if x != nil {
  122. return x.ConfigID
  123. }
  124. return 0
  125. }
  126. func (x *OwnerMapObject) GetBuild() *OwnerMapObjectBuild {
  127. if x != nil {
  128. return x.Build
  129. }
  130. return nil
  131. }
  132. func (x *OwnerMapObject) GetRes() *OwnerMapObjectRes {
  133. if x != nil {
  134. return x.Res
  135. }
  136. return nil
  137. }
  138. // 玩家拥有的地图对象-资源
  139. type OwnerMapObjectRes struct {
  140. state protoimpl.MessageState `protogen:"open.v1"`
  141. // 放弃截止时间(ms)
  142. DiscardTime int64 `protobuf:"varint,1,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
  143. // 免战结束时间(毫秒)
  144. InvincibleEndTime int64 `protobuf:"varint,2,opt,name=invincibleEndTime,proto3" json:"invincibleEndTime,omitempty"`
  145. unknownFields protoimpl.UnknownFields
  146. sizeCache protoimpl.SizeCache
  147. }
  148. func (x *OwnerMapObjectRes) Reset() {
  149. *x = OwnerMapObjectRes{}
  150. mi := &file_map_proto_msgTypes[2]
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. ms.StoreMessageInfo(mi)
  153. }
  154. func (x *OwnerMapObjectRes) String() string {
  155. return protoimpl.X.MessageStringOf(x)
  156. }
  157. func (*OwnerMapObjectRes) ProtoMessage() {}
  158. func (x *OwnerMapObjectRes) ProtoReflect() protoreflect.Message {
  159. mi := &file_map_proto_msgTypes[2]
  160. if x != nil {
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. if ms.LoadMessageInfo() == nil {
  163. ms.StoreMessageInfo(mi)
  164. }
  165. return ms
  166. }
  167. return mi.MessageOf(x)
  168. }
  169. // Deprecated: Use OwnerMapObjectRes.ProtoReflect.Descriptor instead.
  170. func (*OwnerMapObjectRes) Descriptor() ([]byte, []int) {
  171. return file_map_proto_rawDescGZIP(), []int{2}
  172. }
  173. func (x *OwnerMapObjectRes) GetDiscardTime() int64 {
  174. if x != nil {
  175. return x.DiscardTime
  176. }
  177. return 0
  178. }
  179. func (x *OwnerMapObjectRes) GetInvincibleEndTime() int64 {
  180. if x != nil {
  181. return x.InvincibleEndTime
  182. }
  183. return 0
  184. }
  185. // 玩家拥有的地图对象-建筑
  186. type OwnerMapObjectBuild struct {
  187. state protoimpl.MessageState `protogen:"open.v1"`
  188. // 是否正在建造中
  189. IsBuilding bool `protobuf:"varint,1,opt,name=isBuilding,proto3" json:"isBuilding,omitempty"`
  190. // 建造完成时间(毫秒)
  191. BuildEndTime int64 `protobuf:"varint,2,opt,name=buildEndTime,proto3" json:"buildEndTime,omitempty"`
  192. // 是否正在升级中
  193. IsUpgrading bool `protobuf:"varint,3,opt,name=isUpgrading,proto3" json:"isUpgrading,omitempty"`
  194. // 升级完成时间(毫秒)
  195. UpgradeEndTime int64 `protobuf:"varint,4,opt,name=upgradeEndTime,proto3" json:"upgradeEndTime,omitempty"`
  196. // 建筑等级
  197. Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
  198. // 放弃截止时间(ms)
  199. DiscardTime int64 `protobuf:"varint,6,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
  200. // 免战结束时间(毫秒)
  201. InvincibleEndTime int64 `protobuf:"varint,7,opt,name=invincibleEndTime,proto3" json:"invincibleEndTime,omitempty"`
  202. unknownFields protoimpl.UnknownFields
  203. sizeCache protoimpl.SizeCache
  204. }
  205. func (x *OwnerMapObjectBuild) Reset() {
  206. *x = OwnerMapObjectBuild{}
  207. mi := &file_map_proto_msgTypes[3]
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. ms.StoreMessageInfo(mi)
  210. }
  211. func (x *OwnerMapObjectBuild) String() string {
  212. return protoimpl.X.MessageStringOf(x)
  213. }
  214. func (*OwnerMapObjectBuild) ProtoMessage() {}
  215. func (x *OwnerMapObjectBuild) ProtoReflect() protoreflect.Message {
  216. mi := &file_map_proto_msgTypes[3]
  217. if x != nil {
  218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  219. if ms.LoadMessageInfo() == nil {
  220. ms.StoreMessageInfo(mi)
  221. }
  222. return ms
  223. }
  224. return mi.MessageOf(x)
  225. }
  226. // Deprecated: Use OwnerMapObjectBuild.ProtoReflect.Descriptor instead.
  227. func (*OwnerMapObjectBuild) Descriptor() ([]byte, []int) {
  228. return file_map_proto_rawDescGZIP(), []int{3}
  229. }
  230. func (x *OwnerMapObjectBuild) GetIsBuilding() bool {
  231. if x != nil {
  232. return x.IsBuilding
  233. }
  234. return false
  235. }
  236. func (x *OwnerMapObjectBuild) GetBuildEndTime() int64 {
  237. if x != nil {
  238. return x.BuildEndTime
  239. }
  240. return 0
  241. }
  242. func (x *OwnerMapObjectBuild) GetIsUpgrading() bool {
  243. if x != nil {
  244. return x.IsUpgrading
  245. }
  246. return false
  247. }
  248. func (x *OwnerMapObjectBuild) GetUpgradeEndTime() int64 {
  249. if x != nil {
  250. return x.UpgradeEndTime
  251. }
  252. return 0
  253. }
  254. func (x *OwnerMapObjectBuild) GetLevel() int32 {
  255. if x != nil {
  256. return x.Level
  257. }
  258. return 0
  259. }
  260. func (x *OwnerMapObjectBuild) GetDiscardTime() int64 {
  261. if x != nil {
  262. return x.DiscardTime
  263. }
  264. return 0
  265. }
  266. func (x *OwnerMapObjectBuild) GetInvincibleEndTime() int64 {
  267. if x != nil {
  268. return x.InvincibleEndTime
  269. }
  270. return 0
  271. }
  272. // 地图对象列表
  273. type MapObjects struct {
  274. state protoimpl.MessageState `protogen:"open.v1"`
  275. // 对象列表
  276. ObjectList []*MapObject `protobuf:"bytes,1,rep,name=objectList,proto3" json:"objectList,omitempty"`
  277. // 军团列表
  278. LegionList []*MapLegion `protobuf:"bytes,2,rep,name=legionList,proto3" json:"legionList,omitempty"`
  279. unknownFields protoimpl.UnknownFields
  280. sizeCache protoimpl.SizeCache
  281. }
  282. func (x *MapObjects) Reset() {
  283. *x = MapObjects{}
  284. mi := &file_map_proto_msgTypes[4]
  285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  286. ms.StoreMessageInfo(mi)
  287. }
  288. func (x *MapObjects) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*MapObjects) ProtoMessage() {}
  292. func (x *MapObjects) ProtoReflect() protoreflect.Message {
  293. mi := &file_map_proto_msgTypes[4]
  294. if x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use MapObjects.ProtoReflect.Descriptor instead.
  304. func (*MapObjects) Descriptor() ([]byte, []int) {
  305. return file_map_proto_rawDescGZIP(), []int{4}
  306. }
  307. func (x *MapObjects) GetObjectList() []*MapObject {
  308. if x != nil {
  309. return x.ObjectList
  310. }
  311. return nil
  312. }
  313. func (x *MapObjects) GetLegionList() []*MapLegion {
  314. if x != nil {
  315. return x.LegionList
  316. }
  317. return nil
  318. }
  319. // 地图玩家对象列表
  320. type MapPlayers struct {
  321. state protoimpl.MessageState `protogen:"open.v1"`
  322. List []*MapPlayer `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  323. unknownFields protoimpl.UnknownFields
  324. sizeCache protoimpl.SizeCache
  325. }
  326. func (x *MapPlayers) Reset() {
  327. *x = MapPlayers{}
  328. mi := &file_map_proto_msgTypes[5]
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. ms.StoreMessageInfo(mi)
  331. }
  332. func (x *MapPlayers) String() string {
  333. return protoimpl.X.MessageStringOf(x)
  334. }
  335. func (*MapPlayers) ProtoMessage() {}
  336. func (x *MapPlayers) ProtoReflect() protoreflect.Message {
  337. mi := &file_map_proto_msgTypes[5]
  338. if x != nil {
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. if ms.LoadMessageInfo() == nil {
  341. ms.StoreMessageInfo(mi)
  342. }
  343. return ms
  344. }
  345. return mi.MessageOf(x)
  346. }
  347. // Deprecated: Use MapPlayers.ProtoReflect.Descriptor instead.
  348. func (*MapPlayers) Descriptor() ([]byte, []int) {
  349. return file_map_proto_rawDescGZIP(), []int{5}
  350. }
  351. func (x *MapPlayers) GetList() []*MapPlayer {
  352. if x != nil {
  353. return x.List
  354. }
  355. return nil
  356. }
  357. // 地图联盟对象列表
  358. type MapLeagues struct {
  359. state protoimpl.MessageState `protogen:"open.v1"`
  360. List []*MapLeague `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  361. unknownFields protoimpl.UnknownFields
  362. sizeCache protoimpl.SizeCache
  363. }
  364. func (x *MapLeagues) Reset() {
  365. *x = MapLeagues{}
  366. mi := &file_map_proto_msgTypes[6]
  367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  368. ms.StoreMessageInfo(mi)
  369. }
  370. func (x *MapLeagues) String() string {
  371. return protoimpl.X.MessageStringOf(x)
  372. }
  373. func (*MapLeagues) ProtoMessage() {}
  374. func (x *MapLeagues) ProtoReflect() protoreflect.Message {
  375. mi := &file_map_proto_msgTypes[6]
  376. if x != nil {
  377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  378. if ms.LoadMessageInfo() == nil {
  379. ms.StoreMessageInfo(mi)
  380. }
  381. return ms
  382. }
  383. return mi.MessageOf(x)
  384. }
  385. // Deprecated: Use MapLeagues.ProtoReflect.Descriptor instead.
  386. func (*MapLeagues) Descriptor() ([]byte, []int) {
  387. return file_map_proto_rawDescGZIP(), []int{6}
  388. }
  389. func (x *MapLeagues) GetList() []*MapLeague {
  390. if x != nil {
  391. return x.List
  392. }
  393. return nil
  394. }
  395. // 地图中的玩家对象信息
  396. type MapPlayer struct {
  397. state protoimpl.MessageState `protogen:"open.v1"`
  398. // 玩家ID
  399. PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
  400. // 玩家名
  401. PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"` // 主将头像?
  402. unknownFields protoimpl.UnknownFields
  403. sizeCache protoimpl.SizeCache
  404. }
  405. func (x *MapPlayer) Reset() {
  406. *x = MapPlayer{}
  407. mi := &file_map_proto_msgTypes[7]
  408. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  409. ms.StoreMessageInfo(mi)
  410. }
  411. func (x *MapPlayer) String() string {
  412. return protoimpl.X.MessageStringOf(x)
  413. }
  414. func (*MapPlayer) ProtoMessage() {}
  415. func (x *MapPlayer) ProtoReflect() protoreflect.Message {
  416. mi := &file_map_proto_msgTypes[7]
  417. if x != nil {
  418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  419. if ms.LoadMessageInfo() == nil {
  420. ms.StoreMessageInfo(mi)
  421. }
  422. return ms
  423. }
  424. return mi.MessageOf(x)
  425. }
  426. // Deprecated: Use MapPlayer.ProtoReflect.Descriptor instead.
  427. func (*MapPlayer) Descriptor() ([]byte, []int) {
  428. return file_map_proto_rawDescGZIP(), []int{7}
  429. }
  430. func (x *MapPlayer) GetPlayerID() int64 {
  431. if x != nil {
  432. return x.PlayerID
  433. }
  434. return 0
  435. }
  436. func (x *MapPlayer) GetPlayerName() string {
  437. if x != nil {
  438. return x.PlayerName
  439. }
  440. return ""
  441. }
  442. // 地图中的联盟对象信息
  443. type MapLeague struct {
  444. state protoimpl.MessageState `protogen:"open.v1"`
  445. // 联盟ID
  446. LeagueID int64 `protobuf:"varint,1,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  447. // 联盟名
  448. LeagueName string `protobuf:"bytes,2,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
  449. // 联盟简称
  450. LeagueAbbName string `protobuf:"bytes,3,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
  451. // 旗帜背景ID L-联盟-旗帜表旗帜ID
  452. FlagBg int32 `protobuf:"varint,4,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
  453. // 旗帜图标ID L-联盟-旗帜表旗帜ID
  454. FlagIcon int32 `protobuf:"varint,5,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
  455. unknownFields protoimpl.UnknownFields
  456. sizeCache protoimpl.SizeCache
  457. }
  458. func (x *MapLeague) Reset() {
  459. *x = MapLeague{}
  460. mi := &file_map_proto_msgTypes[8]
  461. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  462. ms.StoreMessageInfo(mi)
  463. }
  464. func (x *MapLeague) String() string {
  465. return protoimpl.X.MessageStringOf(x)
  466. }
  467. func (*MapLeague) ProtoMessage() {}
  468. func (x *MapLeague) ProtoReflect() protoreflect.Message {
  469. mi := &file_map_proto_msgTypes[8]
  470. if x != nil {
  471. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  472. if ms.LoadMessageInfo() == nil {
  473. ms.StoreMessageInfo(mi)
  474. }
  475. return ms
  476. }
  477. return mi.MessageOf(x)
  478. }
  479. // Deprecated: Use MapLeague.ProtoReflect.Descriptor instead.
  480. func (*MapLeague) Descriptor() ([]byte, []int) {
  481. return file_map_proto_rawDescGZIP(), []int{8}
  482. }
  483. func (x *MapLeague) GetLeagueID() int64 {
  484. if x != nil {
  485. return x.LeagueID
  486. }
  487. return 0
  488. }
  489. func (x *MapLeague) GetLeagueName() string {
  490. if x != nil {
  491. return x.LeagueName
  492. }
  493. return ""
  494. }
  495. func (x *MapLeague) GetLeagueAbbName() string {
  496. if x != nil {
  497. return x.LeagueAbbName
  498. }
  499. return ""
  500. }
  501. func (x *MapLeague) GetFlagBg() int32 {
  502. if x != nil {
  503. return x.FlagBg
  504. }
  505. return 0
  506. }
  507. func (x *MapLeague) GetFlagIcon() int32 {
  508. if x != nil {
  509. return x.FlagIcon
  510. }
  511. return 0
  512. }
  513. // 地图对象
  514. type MapObject struct {
  515. state protoimpl.MessageState `protogen:"open.v1"`
  516. // 对象唯一id
  517. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  518. // 所有者的玩家ID
  519. PlayerID int64 `protobuf:"varint,2,opt,name=playerID,proto3" json:"playerID,omitempty"`
  520. // 所有者的联盟ID
  521. LeagueID int64 `protobuf:"varint,3,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  522. // 对象所在坐标点
  523. Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
  524. // 对象类型,用来读取下面对应的配置ID和结构
  525. // 见 map.go -> ObjectType 地块对象类型
  526. ObjectType int32 `protobuf:"varint,5,opt,name=objectType,proto3" json:"objectType,omitempty"`
  527. // 对象配置ID
  528. ConfigID int32 `protobuf:"varint,6,opt,name=configID,proto3" json:"configID,omitempty"`
  529. // 寻路信息(运用于行军/军团等可移动对象)
  530. Path *MapPath `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
  531. // 免战结束时间(毫秒)
  532. InvincibleEndTime int64 `protobuf:"varint,8,opt,name=invincibleEndTime,proto3" json:"invincibleEndTime,omitempty"`
  533. // 系统城对象信息
  534. Castle *MapCastle `protobuf:"bytes,11,opt,name=castle,proto3" json:"castle,omitempty"`
  535. // 建筑对象信息
  536. Build *MapBuild `protobuf:"bytes,12,opt,name=build,proto3" json:"build,omitempty"`
  537. // 怪物对象信息
  538. Monster *MapMonster `protobuf:"bytes,13,opt,name=monster,proto3" json:"monster,omitempty"`
  539. // 资源对象信息
  540. Res *MapRes `protobuf:"bytes,14,opt,name=res,proto3" json:"res,omitempty"`
  541. // 行军对象信息
  542. March *MapMarch `protobuf:"bytes,15,opt,name=march,proto3" json:"march,omitempty"`
  543. unknownFields protoimpl.UnknownFields
  544. sizeCache protoimpl.SizeCache
  545. }
  546. func (x *MapObject) Reset() {
  547. *x = MapObject{}
  548. mi := &file_map_proto_msgTypes[9]
  549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  550. ms.StoreMessageInfo(mi)
  551. }
  552. func (x *MapObject) String() string {
  553. return protoimpl.X.MessageStringOf(x)
  554. }
  555. func (*MapObject) ProtoMessage() {}
  556. func (x *MapObject) ProtoReflect() protoreflect.Message {
  557. mi := &file_map_proto_msgTypes[9]
  558. if x != nil {
  559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  560. if ms.LoadMessageInfo() == nil {
  561. ms.StoreMessageInfo(mi)
  562. }
  563. return ms
  564. }
  565. return mi.MessageOf(x)
  566. }
  567. // Deprecated: Use MapObject.ProtoReflect.Descriptor instead.
  568. func (*MapObject) Descriptor() ([]byte, []int) {
  569. return file_map_proto_rawDescGZIP(), []int{9}
  570. }
  571. func (x *MapObject) GetObjectID() int64 {
  572. if x != nil {
  573. return x.ObjectID
  574. }
  575. return 0
  576. }
  577. func (x *MapObject) GetPlayerID() int64 {
  578. if x != nil {
  579. return x.PlayerID
  580. }
  581. return 0
  582. }
  583. func (x *MapObject) GetLeagueID() int64 {
  584. if x != nil {
  585. return x.LeagueID
  586. }
  587. return 0
  588. }
  589. func (x *MapObject) GetPoint() *Point {
  590. if x != nil {
  591. return x.Point
  592. }
  593. return nil
  594. }
  595. func (x *MapObject) GetObjectType() int32 {
  596. if x != nil {
  597. return x.ObjectType
  598. }
  599. return 0
  600. }
  601. func (x *MapObject) GetConfigID() int32 {
  602. if x != nil {
  603. return x.ConfigID
  604. }
  605. return 0
  606. }
  607. func (x *MapObject) GetPath() *MapPath {
  608. if x != nil {
  609. return x.Path
  610. }
  611. return nil
  612. }
  613. func (x *MapObject) GetInvincibleEndTime() int64 {
  614. if x != nil {
  615. return x.InvincibleEndTime
  616. }
  617. return 0
  618. }
  619. func (x *MapObject) GetCastle() *MapCastle {
  620. if x != nil {
  621. return x.Castle
  622. }
  623. return nil
  624. }
  625. func (x *MapObject) GetBuild() *MapBuild {
  626. if x != nil {
  627. return x.Build
  628. }
  629. return nil
  630. }
  631. func (x *MapObject) GetMonster() *MapMonster {
  632. if x != nil {
  633. return x.Monster
  634. }
  635. return nil
  636. }
  637. func (x *MapObject) GetRes() *MapRes {
  638. if x != nil {
  639. return x.Res
  640. }
  641. return nil
  642. }
  643. func (x *MapObject) GetMarch() *MapMarch {
  644. if x != nil {
  645. return x.March
  646. }
  647. return nil
  648. }
  649. // 地图对象寻路结构
  650. type MapPath struct {
  651. state protoimpl.MessageState `protogen:"open.v1"`
  652. // 行军的起点与终点
  653. FromTo *Point2 `protobuf:"bytes,1,opt,name=fromTo,proto3" json:"fromTo,omitempty"`
  654. // 路径列表(后续只发路径关键点)
  655. Points []*Point `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"`
  656. // 路点下标(当前在第几个点)
  657. PointIndex int32 `protobuf:"varint,3,opt,name=pointIndex,proto3" json:"pointIndex,omitempty"`
  658. // 路径最后一次更新时间(毫秒)
  659. LastTime int64 `protobuf:"varint,4,opt,name=lastTime,proto3" json:"lastTime,omitempty"`
  660. // 行军速度
  661. Speed int64 `protobuf:"varint,5,opt,name=speed,proto3" json:"speed,omitempty"`
  662. // 行军类型
  663. // 见 map.go -> MarchType 行军类型
  664. MarchType int32 `protobuf:"varint,6,opt,name=marchType,proto3" json:"marchType,omitempty"`
  665. // 行军状态
  666. // 见 map.go -> MarchState 行军状态
  667. MarchState int32 `protobuf:"varint,7,opt,name=marchState,proto3" json:"marchState,omitempty"`
  668. // 状态开始时间(毫秒)
  669. StateStartTime int64 `protobuf:"varint,8,opt,name=stateStartTime,proto3" json:"stateStartTime,omitempty"`
  670. // 状态结束时间(毫秒)
  671. StateEndTime int64 `protobuf:"varint,9,opt,name=stateEndTime,proto3" json:"stateEndTime,omitempty"`
  672. unknownFields protoimpl.UnknownFields
  673. sizeCache protoimpl.SizeCache
  674. }
  675. func (x *MapPath) Reset() {
  676. *x = MapPath{}
  677. mi := &file_map_proto_msgTypes[10]
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. ms.StoreMessageInfo(mi)
  680. }
  681. func (x *MapPath) String() string {
  682. return protoimpl.X.MessageStringOf(x)
  683. }
  684. func (*MapPath) ProtoMessage() {}
  685. func (x *MapPath) ProtoReflect() protoreflect.Message {
  686. mi := &file_map_proto_msgTypes[10]
  687. if x != nil {
  688. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  689. if ms.LoadMessageInfo() == nil {
  690. ms.StoreMessageInfo(mi)
  691. }
  692. return ms
  693. }
  694. return mi.MessageOf(x)
  695. }
  696. // Deprecated: Use MapPath.ProtoReflect.Descriptor instead.
  697. func (*MapPath) Descriptor() ([]byte, []int) {
  698. return file_map_proto_rawDescGZIP(), []int{10}
  699. }
  700. func (x *MapPath) GetFromTo() *Point2 {
  701. if x != nil {
  702. return x.FromTo
  703. }
  704. return nil
  705. }
  706. func (x *MapPath) GetPoints() []*Point {
  707. if x != nil {
  708. return x.Points
  709. }
  710. return nil
  711. }
  712. func (x *MapPath) GetPointIndex() int32 {
  713. if x != nil {
  714. return x.PointIndex
  715. }
  716. return 0
  717. }
  718. func (x *MapPath) GetLastTime() int64 {
  719. if x != nil {
  720. return x.LastTime
  721. }
  722. return 0
  723. }
  724. func (x *MapPath) GetSpeed() int64 {
  725. if x != nil {
  726. return x.Speed
  727. }
  728. return 0
  729. }
  730. func (x *MapPath) GetMarchType() int32 {
  731. if x != nil {
  732. return x.MarchType
  733. }
  734. return 0
  735. }
  736. func (x *MapPath) GetMarchState() int32 {
  737. if x != nil {
  738. return x.MarchState
  739. }
  740. return 0
  741. }
  742. func (x *MapPath) GetStateStartTime() int64 {
  743. if x != nil {
  744. return x.StateStartTime
  745. }
  746. return 0
  747. }
  748. func (x *MapPath) GetStateEndTime() int64 {
  749. if x != nil {
  750. return x.StateEndTime
  751. }
  752. return 0
  753. }
  754. // 城池对象
  755. type MapCastle struct {
  756. state protoimpl.MessageState `protogen:"open.v1"`
  757. // 驻城部队数量
  758. GarrisonArimes int32 `protobuf:"varint,1,opt,name=garrisonArimes,proto3" json:"garrisonArimes,omitempty"`
  759. // 当前耐久度
  760. Durability int32 `protobuf:"varint,2,opt,name=durability,proto3" json:"durability,omitempty"`
  761. // 耐久恢复时间(毫秒)
  762. RecoverTime int64 `protobuf:"varint,3,opt,name=recoverTime,proto3" json:"recoverTime,omitempty"`
  763. // 调动数量
  764. RedeployNum int32 `protobuf:"varint,4,opt,name=redeployNum,proto3" json:"redeployNum,omitempty"`
  765. // 封印结束时间(毫秒)
  766. SealEndTime int64 `protobuf:"varint,5,opt,name=sealEndTime,proto3" json:"sealEndTime,omitempty"`
  767. // 首次占领的联盟ID
  768. FirstLeagueID int64 `protobuf:"varint,10,opt,name=firstLeagueID,proto3" json:"firstLeagueID,omitempty"`
  769. // 首次占领的联盟名称
  770. FirstLeagueName string `protobuf:"bytes,11,opt,name=firstLeagueName,proto3" json:"firstLeagueName,omitempty"`
  771. // 首次占领的联盟简称
  772. FirstLeagueAbbName string `protobuf:"bytes,12,opt,name=firstLeagueAbbName,proto3" json:"firstLeagueAbbName,omitempty"`
  773. // 首次占领的联盟图标
  774. FirstLeagueIcon int32 `protobuf:"varint,13,opt,name=firstLeagueIcon,proto3" json:"firstLeagueIcon,omitempty"`
  775. // 关联的建筑对象ID列表
  776. //
  777. // Deprecated: Marked as deprecated in map.proto.
  778. BuildObjectIDList []int64 `protobuf:"varint,20,rep,packed,name=buildObjectIDList,proto3" json:"buildObjectIDList,omitempty"`
  779. // 宣战结束时间(毫秒)
  780. StartWarEndTime int64 `protobuf:"varint,21,opt,name=startWarEndTime,proto3" json:"startWarEndTime,omitempty"`
  781. // 攻城结束时间(毫秒)
  782. SiegeEndTime int64 `protobuf:"varint,22,opt,name=siegeEndTime,proto3" json:"siegeEndTime,omitempty"`
  783. // 子对象ID列表
  784. ChildObjectIDs []int64 `protobuf:"varint,23,rep,packed,name=childObjectIDs,proto3" json:"childObjectIDs,omitempty"`
  785. // 父对象ID
  786. ParentObjectID int64 `protobuf:"varint,24,opt,name=parentObjectID,proto3" json:"parentObjectID,omitempty"`
  787. unknownFields protoimpl.UnknownFields
  788. sizeCache protoimpl.SizeCache
  789. }
  790. func (x *MapCastle) Reset() {
  791. *x = MapCastle{}
  792. mi := &file_map_proto_msgTypes[11]
  793. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  794. ms.StoreMessageInfo(mi)
  795. }
  796. func (x *MapCastle) String() string {
  797. return protoimpl.X.MessageStringOf(x)
  798. }
  799. func (*MapCastle) ProtoMessage() {}
  800. func (x *MapCastle) ProtoReflect() protoreflect.Message {
  801. mi := &file_map_proto_msgTypes[11]
  802. if x != nil {
  803. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  804. if ms.LoadMessageInfo() == nil {
  805. ms.StoreMessageInfo(mi)
  806. }
  807. return ms
  808. }
  809. return mi.MessageOf(x)
  810. }
  811. // Deprecated: Use MapCastle.ProtoReflect.Descriptor instead.
  812. func (*MapCastle) Descriptor() ([]byte, []int) {
  813. return file_map_proto_rawDescGZIP(), []int{11}
  814. }
  815. func (x *MapCastle) GetGarrisonArimes() int32 {
  816. if x != nil {
  817. return x.GarrisonArimes
  818. }
  819. return 0
  820. }
  821. func (x *MapCastle) GetDurability() int32 {
  822. if x != nil {
  823. return x.Durability
  824. }
  825. return 0
  826. }
  827. func (x *MapCastle) GetRecoverTime() int64 {
  828. if x != nil {
  829. return x.RecoverTime
  830. }
  831. return 0
  832. }
  833. func (x *MapCastle) GetRedeployNum() int32 {
  834. if x != nil {
  835. return x.RedeployNum
  836. }
  837. return 0
  838. }
  839. func (x *MapCastle) GetSealEndTime() int64 {
  840. if x != nil {
  841. return x.SealEndTime
  842. }
  843. return 0
  844. }
  845. func (x *MapCastle) GetFirstLeagueID() int64 {
  846. if x != nil {
  847. return x.FirstLeagueID
  848. }
  849. return 0
  850. }
  851. func (x *MapCastle) GetFirstLeagueName() string {
  852. if x != nil {
  853. return x.FirstLeagueName
  854. }
  855. return ""
  856. }
  857. func (x *MapCastle) GetFirstLeagueAbbName() string {
  858. if x != nil {
  859. return x.FirstLeagueAbbName
  860. }
  861. return ""
  862. }
  863. func (x *MapCastle) GetFirstLeagueIcon() int32 {
  864. if x != nil {
  865. return x.FirstLeagueIcon
  866. }
  867. return 0
  868. }
  869. // Deprecated: Marked as deprecated in map.proto.
  870. func (x *MapCastle) GetBuildObjectIDList() []int64 {
  871. if x != nil {
  872. return x.BuildObjectIDList
  873. }
  874. return nil
  875. }
  876. func (x *MapCastle) GetStartWarEndTime() int64 {
  877. if x != nil {
  878. return x.StartWarEndTime
  879. }
  880. return 0
  881. }
  882. func (x *MapCastle) GetSiegeEndTime() int64 {
  883. if x != nil {
  884. return x.SiegeEndTime
  885. }
  886. return 0
  887. }
  888. func (x *MapCastle) GetChildObjectIDs() []int64 {
  889. if x != nil {
  890. return x.ChildObjectIDs
  891. }
  892. return nil
  893. }
  894. func (x *MapCastle) GetParentObjectID() int64 {
  895. if x != nil {
  896. return x.ParentObjectID
  897. }
  898. return 0
  899. }
  900. // 建筑对象
  901. type MapBuild struct {
  902. state protoimpl.MessageState `protogen:"open.v1"`
  903. // 是否正在建造中
  904. IsBuilding bool `protobuf:"varint,1,opt,name=isBuilding,proto3" json:"isBuilding,omitempty"`
  905. // 建造完成时间(毫秒)
  906. BuildEndTime int64 `protobuf:"varint,2,opt,name=buildEndTime,proto3" json:"buildEndTime,omitempty"`
  907. // 是否正在升级中
  908. IsUpgrading bool `protobuf:"varint,3,opt,name=isUpgrading,proto3" json:"isUpgrading,omitempty"`
  909. // 升级完成时间(毫秒)
  910. UpgradeEndTime int64 `protobuf:"varint,4,opt,name=upgradeEndTime,proto3" json:"upgradeEndTime,omitempty"`
  911. // 建筑等级
  912. Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
  913. // 如果当前建筑是营帐 则为营帐下标1-5 其他默认为0
  914. Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
  915. // 调动数量
  916. RedeployNum int32 `protobuf:"varint,7,opt,name=redeployNum,proto3" json:"redeployNum,omitempty"`
  917. // 建筑外观ID D-地图-主城外观表主城外观ID
  918. ShowID int32 `protobuf:"varint,8,opt,name=showID,proto3" json:"showID,omitempty"`
  919. // 驻城部队数量
  920. GarrisonArimes int32 `protobuf:"varint,10,opt,name=garrisonArimes,proto3" json:"garrisonArimes,omitempty"`
  921. // 当前耐久度
  922. Durability int32 `protobuf:"varint,11,opt,name=durability,proto3" json:"durability,omitempty"`
  923. // 耐久恢复时间(毫秒)
  924. RecoverTime int64 `protobuf:"varint,12,opt,name=recoverTime,proto3" json:"recoverTime,omitempty"`
  925. // 最大耐久度
  926. MaxDurability int32 `protobuf:"varint,13,opt,name=maxDurability,proto3" json:"maxDurability,omitempty"`
  927. // 放弃截止时间(ms)
  928. DiscardTime int64 `protobuf:"varint,20,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
  929. // 关联的城池对象castleObjectIDID
  930. //
  931. // Deprecated: Marked as deprecated in map.proto.
  932. CastleObjectID int64 `protobuf:"varint,21,opt,name=castleObjectID,proto3" json:"castleObjectID,omitempty"`
  933. // 宣战结束时间(毫秒)
  934. //
  935. // Deprecated: Marked as deprecated in map.proto.
  936. StartWarEndTime int64 `protobuf:"varint,22,opt,name=startWarEndTime,proto3" json:"startWarEndTime,omitempty"`
  937. // 攻城结束时间(毫秒)
  938. //
  939. // Deprecated: Marked as deprecated in map.proto.
  940. SiegeEndTime int64 `protobuf:"varint,23,opt,name=siegeEndTime,proto3" json:"siegeEndTime,omitempty"`
  941. // 整顿结束时间(毫秒)
  942. ReorganizeEndTime int64 `protobuf:"varint,30,opt,name=reorganizeEndTime,proto3" json:"reorganizeEndTime,omitempty"`
  943. // 加固准备结束时间(毫秒)
  944. ReinforcePrepareEndTime int64 `protobuf:"varint,31,opt,name=reinforcePrepareEndTime,proto3" json:"reinforcePrepareEndTime,omitempty"`
  945. // 加固结束时间(毫秒)
  946. ReinforceEndTime int64 `protobuf:"varint,32,opt,name=reinforceEndTime,proto3" json:"reinforceEndTime,omitempty"`
  947. unknownFields protoimpl.UnknownFields
  948. sizeCache protoimpl.SizeCache
  949. }
  950. func (x *MapBuild) Reset() {
  951. *x = MapBuild{}
  952. mi := &file_map_proto_msgTypes[12]
  953. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  954. ms.StoreMessageInfo(mi)
  955. }
  956. func (x *MapBuild) String() string {
  957. return protoimpl.X.MessageStringOf(x)
  958. }
  959. func (*MapBuild) ProtoMessage() {}
  960. func (x *MapBuild) ProtoReflect() protoreflect.Message {
  961. mi := &file_map_proto_msgTypes[12]
  962. if x != nil {
  963. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  964. if ms.LoadMessageInfo() == nil {
  965. ms.StoreMessageInfo(mi)
  966. }
  967. return ms
  968. }
  969. return mi.MessageOf(x)
  970. }
  971. // Deprecated: Use MapBuild.ProtoReflect.Descriptor instead.
  972. func (*MapBuild) Descriptor() ([]byte, []int) {
  973. return file_map_proto_rawDescGZIP(), []int{12}
  974. }
  975. func (x *MapBuild) GetIsBuilding() bool {
  976. if x != nil {
  977. return x.IsBuilding
  978. }
  979. return false
  980. }
  981. func (x *MapBuild) GetBuildEndTime() int64 {
  982. if x != nil {
  983. return x.BuildEndTime
  984. }
  985. return 0
  986. }
  987. func (x *MapBuild) GetIsUpgrading() bool {
  988. if x != nil {
  989. return x.IsUpgrading
  990. }
  991. return false
  992. }
  993. func (x *MapBuild) GetUpgradeEndTime() int64 {
  994. if x != nil {
  995. return x.UpgradeEndTime
  996. }
  997. return 0
  998. }
  999. func (x *MapBuild) GetLevel() int32 {
  1000. if x != nil {
  1001. return x.Level
  1002. }
  1003. return 0
  1004. }
  1005. func (x *MapBuild) GetIndex() int32 {
  1006. if x != nil {
  1007. return x.Index
  1008. }
  1009. return 0
  1010. }
  1011. func (x *MapBuild) GetRedeployNum() int32 {
  1012. if x != nil {
  1013. return x.RedeployNum
  1014. }
  1015. return 0
  1016. }
  1017. func (x *MapBuild) GetShowID() int32 {
  1018. if x != nil {
  1019. return x.ShowID
  1020. }
  1021. return 0
  1022. }
  1023. func (x *MapBuild) GetGarrisonArimes() int32 {
  1024. if x != nil {
  1025. return x.GarrisonArimes
  1026. }
  1027. return 0
  1028. }
  1029. func (x *MapBuild) GetDurability() int32 {
  1030. if x != nil {
  1031. return x.Durability
  1032. }
  1033. return 0
  1034. }
  1035. func (x *MapBuild) GetRecoverTime() int64 {
  1036. if x != nil {
  1037. return x.RecoverTime
  1038. }
  1039. return 0
  1040. }
  1041. func (x *MapBuild) GetMaxDurability() int32 {
  1042. if x != nil {
  1043. return x.MaxDurability
  1044. }
  1045. return 0
  1046. }
  1047. func (x *MapBuild) GetDiscardTime() int64 {
  1048. if x != nil {
  1049. return x.DiscardTime
  1050. }
  1051. return 0
  1052. }
  1053. // Deprecated: Marked as deprecated in map.proto.
  1054. func (x *MapBuild) GetCastleObjectID() int64 {
  1055. if x != nil {
  1056. return x.CastleObjectID
  1057. }
  1058. return 0
  1059. }
  1060. // Deprecated: Marked as deprecated in map.proto.
  1061. func (x *MapBuild) GetStartWarEndTime() int64 {
  1062. if x != nil {
  1063. return x.StartWarEndTime
  1064. }
  1065. return 0
  1066. }
  1067. // Deprecated: Marked as deprecated in map.proto.
  1068. func (x *MapBuild) GetSiegeEndTime() int64 {
  1069. if x != nil {
  1070. return x.SiegeEndTime
  1071. }
  1072. return 0
  1073. }
  1074. func (x *MapBuild) GetReorganizeEndTime() int64 {
  1075. if x != nil {
  1076. return x.ReorganizeEndTime
  1077. }
  1078. return 0
  1079. }
  1080. func (x *MapBuild) GetReinforcePrepareEndTime() int64 {
  1081. if x != nil {
  1082. return x.ReinforcePrepareEndTime
  1083. }
  1084. return 0
  1085. }
  1086. func (x *MapBuild) GetReinforceEndTime() int64 {
  1087. if x != nil {
  1088. return x.ReinforceEndTime
  1089. }
  1090. return 0
  1091. }
  1092. // 怪物对象
  1093. type MapMonster struct {
  1094. state protoimpl.MessageState `protogen:"open.v1"`
  1095. // 存活截止时间(毫秒)
  1096. AliveTime int64 `protobuf:"varint,1,opt,name=aliveTime,proto3" json:"aliveTime,omitempty"`
  1097. // 是否被讨伐中
  1098. IsCrusade bool `protobuf:"varint,2,opt,name=isCrusade,proto3" json:"isCrusade,omitempty"`
  1099. unknownFields protoimpl.UnknownFields
  1100. sizeCache protoimpl.SizeCache
  1101. }
  1102. func (x *MapMonster) Reset() {
  1103. *x = MapMonster{}
  1104. mi := &file_map_proto_msgTypes[13]
  1105. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1106. ms.StoreMessageInfo(mi)
  1107. }
  1108. func (x *MapMonster) String() string {
  1109. return protoimpl.X.MessageStringOf(x)
  1110. }
  1111. func (*MapMonster) ProtoMessage() {}
  1112. func (x *MapMonster) ProtoReflect() protoreflect.Message {
  1113. mi := &file_map_proto_msgTypes[13]
  1114. if x != nil {
  1115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1116. if ms.LoadMessageInfo() == nil {
  1117. ms.StoreMessageInfo(mi)
  1118. }
  1119. return ms
  1120. }
  1121. return mi.MessageOf(x)
  1122. }
  1123. // Deprecated: Use MapMonster.ProtoReflect.Descriptor instead.
  1124. func (*MapMonster) Descriptor() ([]byte, []int) {
  1125. return file_map_proto_rawDescGZIP(), []int{13}
  1126. }
  1127. func (x *MapMonster) GetAliveTime() int64 {
  1128. if x != nil {
  1129. return x.AliveTime
  1130. }
  1131. return 0
  1132. }
  1133. func (x *MapMonster) GetIsCrusade() bool {
  1134. if x != nil {
  1135. return x.IsCrusade
  1136. }
  1137. return false
  1138. }
  1139. // 资源对象
  1140. type MapRes struct {
  1141. state protoimpl.MessageState `protogen:"open.v1"`
  1142. // 采集中的行军对象ID
  1143. GatherObjectID int64 `protobuf:"varint,1,opt,name=gatherObjectID,proto3" json:"gatherObjectID,omitempty"`
  1144. // 存活终止时间(毫秒)
  1145. AliveTime int64 `protobuf:"varint,2,opt,name=aliveTime,proto3" json:"aliveTime,omitempty"`
  1146. // 剩余资源量
  1147. Remain int64 `protobuf:"varint,3,opt,name=remain,proto3" json:"remain,omitempty"`
  1148. // 放弃截止时间(ms)
  1149. DiscardTime int64 `protobuf:"varint,11,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
  1150. unknownFields protoimpl.UnknownFields
  1151. sizeCache protoimpl.SizeCache
  1152. }
  1153. func (x *MapRes) Reset() {
  1154. *x = MapRes{}
  1155. mi := &file_map_proto_msgTypes[14]
  1156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1157. ms.StoreMessageInfo(mi)
  1158. }
  1159. func (x *MapRes) String() string {
  1160. return protoimpl.X.MessageStringOf(x)
  1161. }
  1162. func (*MapRes) ProtoMessage() {}
  1163. func (x *MapRes) ProtoReflect() protoreflect.Message {
  1164. mi := &file_map_proto_msgTypes[14]
  1165. if x != nil {
  1166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1167. if ms.LoadMessageInfo() == nil {
  1168. ms.StoreMessageInfo(mi)
  1169. }
  1170. return ms
  1171. }
  1172. return mi.MessageOf(x)
  1173. }
  1174. // Deprecated: Use MapRes.ProtoReflect.Descriptor instead.
  1175. func (*MapRes) Descriptor() ([]byte, []int) {
  1176. return file_map_proto_rawDescGZIP(), []int{14}
  1177. }
  1178. func (x *MapRes) GetGatherObjectID() int64 {
  1179. if x != nil {
  1180. return x.GatherObjectID
  1181. }
  1182. return 0
  1183. }
  1184. func (x *MapRes) GetAliveTime() int64 {
  1185. if x != nil {
  1186. return x.AliveTime
  1187. }
  1188. return 0
  1189. }
  1190. func (x *MapRes) GetRemain() int64 {
  1191. if x != nil {
  1192. return x.Remain
  1193. }
  1194. return 0
  1195. }
  1196. func (x *MapRes) GetDiscardTime() int64 {
  1197. if x != nil {
  1198. return x.DiscardTime
  1199. }
  1200. return 0
  1201. }
  1202. // 军团(包含多个行军对象)
  1203. type MapLegion struct {
  1204. state protoimpl.MessageState `protogen:"open.v1"`
  1205. // 对象唯一id
  1206. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  1207. // 所属的联盟ID
  1208. LeagueID int64 `protobuf:"varint,2,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  1209. // 军团的名称
  1210. LegionName string `protobuf:"bytes,3,opt,name=legionName,proto3" json:"legionName,omitempty"`
  1211. // 对象所在坐标点
  1212. Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
  1213. // 寻路信息(运用于行军/军团等可移动对象)
  1214. Path *MapPath `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
  1215. // 军团的行军对象列表
  1216. MarchList []*MapObject `protobuf:"bytes,6,rep,name=marchList,proto3" json:"marchList,omitempty"`
  1217. // 军团领队的对象ID
  1218. LeadObjectID int64 `protobuf:"varint,7,opt,name=leadObjectID,proto3" json:"leadObjectID,omitempty"`
  1219. unknownFields protoimpl.UnknownFields
  1220. sizeCache protoimpl.SizeCache
  1221. }
  1222. func (x *MapLegion) Reset() {
  1223. *x = MapLegion{}
  1224. mi := &file_map_proto_msgTypes[15]
  1225. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1226. ms.StoreMessageInfo(mi)
  1227. }
  1228. func (x *MapLegion) String() string {
  1229. return protoimpl.X.MessageStringOf(x)
  1230. }
  1231. func (*MapLegion) ProtoMessage() {}
  1232. func (x *MapLegion) ProtoReflect() protoreflect.Message {
  1233. mi := &file_map_proto_msgTypes[15]
  1234. if x != nil {
  1235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1236. if ms.LoadMessageInfo() == nil {
  1237. ms.StoreMessageInfo(mi)
  1238. }
  1239. return ms
  1240. }
  1241. return mi.MessageOf(x)
  1242. }
  1243. // Deprecated: Use MapLegion.ProtoReflect.Descriptor instead.
  1244. func (*MapLegion) Descriptor() ([]byte, []int) {
  1245. return file_map_proto_rawDescGZIP(), []int{15}
  1246. }
  1247. func (x *MapLegion) GetObjectID() int64 {
  1248. if x != nil {
  1249. return x.ObjectID
  1250. }
  1251. return 0
  1252. }
  1253. func (x *MapLegion) GetLeagueID() int64 {
  1254. if x != nil {
  1255. return x.LeagueID
  1256. }
  1257. return 0
  1258. }
  1259. func (x *MapLegion) GetLegionName() string {
  1260. if x != nil {
  1261. return x.LegionName
  1262. }
  1263. return ""
  1264. }
  1265. func (x *MapLegion) GetPoint() *Point {
  1266. if x != nil {
  1267. return x.Point
  1268. }
  1269. return nil
  1270. }
  1271. func (x *MapLegion) GetPath() *MapPath {
  1272. if x != nil {
  1273. return x.Path
  1274. }
  1275. return nil
  1276. }
  1277. func (x *MapLegion) GetMarchList() []*MapObject {
  1278. if x != nil {
  1279. return x.MarchList
  1280. }
  1281. return nil
  1282. }
  1283. func (x *MapLegion) GetLeadObjectID() int64 {
  1284. if x != nil {
  1285. return x.LeadObjectID
  1286. }
  1287. return 0
  1288. }
  1289. // 行军对象
  1290. type MapMarch struct {
  1291. state protoimpl.MessageState `protogen:"open.v1"`
  1292. // 行军展示ID(配置文件中)
  1293. //
  1294. // Deprecated: Marked as deprecated in map.proto.
  1295. MarchViewID int32 `protobuf:"varint,1,opt,name=marchViewID,proto3" json:"marchViewID,omitempty"`
  1296. // 兵种ID1
  1297. //
  1298. // Deprecated: Marked as deprecated in map.proto.
  1299. ArmID1 int32 `protobuf:"varint,2,opt,name=armID1,proto3" json:"armID1,omitempty"`
  1300. // 兵种ID2
  1301. //
  1302. // Deprecated: Marked as deprecated in map.proto.
  1303. ArmID2 int32 `protobuf:"varint,3,opt,name=armID2,proto3" json:"armID2,omitempty"`
  1304. // 兵种ID3
  1305. //
  1306. // Deprecated: Marked as deprecated in map.proto.
  1307. ArmID3 int32 `protobuf:"varint,4,opt,name=armID3,proto3" json:"armID3,omitempty"`
  1308. // 负重比例(0-100)对应资源运输表的ID
  1309. LoadRatio int32 `protobuf:"varint,5,opt,name=loadRatio,proto3" json:"loadRatio,omitempty"`
  1310. // 调动目标建筑对象ID
  1311. RedeployObjectID int64 `protobuf:"varint,6,opt,name=redeployObjectID,proto3" json:"redeployObjectID,omitempty"`
  1312. // 征兵结束时间(毫秒)
  1313. ConscriptEndTime int64 `protobuf:"varint,7,opt,name=conscriptEndTime,proto3" json:"conscriptEndTime,omitempty"`
  1314. // 行军展示信息
  1315. MarchView *MarchView `protobuf:"bytes,8,opt,name=marchView,proto3" json:"marchView,omitempty"`
  1316. unknownFields protoimpl.UnknownFields
  1317. sizeCache protoimpl.SizeCache
  1318. }
  1319. func (x *MapMarch) Reset() {
  1320. *x = MapMarch{}
  1321. mi := &file_map_proto_msgTypes[16]
  1322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1323. ms.StoreMessageInfo(mi)
  1324. }
  1325. func (x *MapMarch) String() string {
  1326. return protoimpl.X.MessageStringOf(x)
  1327. }
  1328. func (*MapMarch) ProtoMessage() {}
  1329. func (x *MapMarch) ProtoReflect() protoreflect.Message {
  1330. mi := &file_map_proto_msgTypes[16]
  1331. if x != nil {
  1332. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1333. if ms.LoadMessageInfo() == nil {
  1334. ms.StoreMessageInfo(mi)
  1335. }
  1336. return ms
  1337. }
  1338. return mi.MessageOf(x)
  1339. }
  1340. // Deprecated: Use MapMarch.ProtoReflect.Descriptor instead.
  1341. func (*MapMarch) Descriptor() ([]byte, []int) {
  1342. return file_map_proto_rawDescGZIP(), []int{16}
  1343. }
  1344. // Deprecated: Marked as deprecated in map.proto.
  1345. func (x *MapMarch) GetMarchViewID() int32 {
  1346. if x != nil {
  1347. return x.MarchViewID
  1348. }
  1349. return 0
  1350. }
  1351. // Deprecated: Marked as deprecated in map.proto.
  1352. func (x *MapMarch) GetArmID1() int32 {
  1353. if x != nil {
  1354. return x.ArmID1
  1355. }
  1356. return 0
  1357. }
  1358. // Deprecated: Marked as deprecated in map.proto.
  1359. func (x *MapMarch) GetArmID2() int32 {
  1360. if x != nil {
  1361. return x.ArmID2
  1362. }
  1363. return 0
  1364. }
  1365. // Deprecated: Marked as deprecated in map.proto.
  1366. func (x *MapMarch) GetArmID3() int32 {
  1367. if x != nil {
  1368. return x.ArmID3
  1369. }
  1370. return 0
  1371. }
  1372. func (x *MapMarch) GetLoadRatio() int32 {
  1373. if x != nil {
  1374. return x.LoadRatio
  1375. }
  1376. return 0
  1377. }
  1378. func (x *MapMarch) GetRedeployObjectID() int64 {
  1379. if x != nil {
  1380. return x.RedeployObjectID
  1381. }
  1382. return 0
  1383. }
  1384. func (x *MapMarch) GetConscriptEndTime() int64 {
  1385. if x != nil {
  1386. return x.ConscriptEndTime
  1387. }
  1388. return 0
  1389. }
  1390. func (x *MapMarch) GetMarchView() *MarchView {
  1391. if x != nil {
  1392. return x.MarchView
  1393. }
  1394. return nil
  1395. }
  1396. // 行军请求
  1397. type MapMarchRequest struct {
  1398. state protoimpl.MessageState `protogen:"open.v1"`
  1399. // 选择的队伍ID
  1400. TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
  1401. // 行军类型,意图
  1402. // 见 map.go -> MarchType 行军类型
  1403. MarchType int32 `protobuf:"varint,2,opt,name=marchType,proto3" json:"marchType,omitempty"`
  1404. // 行军的目标坐标点
  1405. Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
  1406. // 行军的目标对象ID
  1407. TargetObjectID int64 `protobuf:"varint,4,opt,name=targetObjectID,proto3" json:"targetObjectID,omitempty"`
  1408. // 是否自动回城
  1409. IsAutoRetreat bool `protobuf:"varint,10,opt,name=isAutoRetreat,proto3" json:"isAutoRetreat,omitempty"`
  1410. // 是否自动征兵
  1411. IsAutoConscript bool `protobuf:"varint,11,opt,name=isAutoConscript,proto3" json:"isAutoConscript,omitempty"`
  1412. unknownFields protoimpl.UnknownFields
  1413. sizeCache protoimpl.SizeCache
  1414. }
  1415. func (x *MapMarchRequest) Reset() {
  1416. *x = MapMarchRequest{}
  1417. mi := &file_map_proto_msgTypes[17]
  1418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1419. ms.StoreMessageInfo(mi)
  1420. }
  1421. func (x *MapMarchRequest) String() string {
  1422. return protoimpl.X.MessageStringOf(x)
  1423. }
  1424. func (*MapMarchRequest) ProtoMessage() {}
  1425. func (x *MapMarchRequest) ProtoReflect() protoreflect.Message {
  1426. mi := &file_map_proto_msgTypes[17]
  1427. if x != nil {
  1428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1429. if ms.LoadMessageInfo() == nil {
  1430. ms.StoreMessageInfo(mi)
  1431. }
  1432. return ms
  1433. }
  1434. return mi.MessageOf(x)
  1435. }
  1436. // Deprecated: Use MapMarchRequest.ProtoReflect.Descriptor instead.
  1437. func (*MapMarchRequest) Descriptor() ([]byte, []int) {
  1438. return file_map_proto_rawDescGZIP(), []int{17}
  1439. }
  1440. func (x *MapMarchRequest) GetTeamID() int32 {
  1441. if x != nil {
  1442. return x.TeamID
  1443. }
  1444. return 0
  1445. }
  1446. func (x *MapMarchRequest) GetMarchType() int32 {
  1447. if x != nil {
  1448. return x.MarchType
  1449. }
  1450. return 0
  1451. }
  1452. func (x *MapMarchRequest) GetPoint() *Point {
  1453. if x != nil {
  1454. return x.Point
  1455. }
  1456. return nil
  1457. }
  1458. func (x *MapMarchRequest) GetTargetObjectID() int64 {
  1459. if x != nil {
  1460. return x.TargetObjectID
  1461. }
  1462. return 0
  1463. }
  1464. func (x *MapMarchRequest) GetIsAutoRetreat() bool {
  1465. if x != nil {
  1466. return x.IsAutoRetreat
  1467. }
  1468. return false
  1469. }
  1470. func (x *MapMarchRequest) GetIsAutoConscript() bool {
  1471. if x != nil {
  1472. return x.IsAutoConscript
  1473. }
  1474. return false
  1475. }
  1476. // 建造请求
  1477. type MapBuildRequest struct {
  1478. state protoimpl.MessageState `protogen:"open.v1"`
  1479. // 地图建筑的配置ID
  1480. ConfigID int32 `protobuf:"varint,1,opt,name=configID,proto3" json:"configID,omitempty"`
  1481. // 建造的中心坐标点
  1482. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
  1483. unknownFields protoimpl.UnknownFields
  1484. sizeCache protoimpl.SizeCache
  1485. }
  1486. func (x *MapBuildRequest) Reset() {
  1487. *x = MapBuildRequest{}
  1488. mi := &file_map_proto_msgTypes[18]
  1489. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1490. ms.StoreMessageInfo(mi)
  1491. }
  1492. func (x *MapBuildRequest) String() string {
  1493. return protoimpl.X.MessageStringOf(x)
  1494. }
  1495. func (*MapBuildRequest) ProtoMessage() {}
  1496. func (x *MapBuildRequest) ProtoReflect() protoreflect.Message {
  1497. mi := &file_map_proto_msgTypes[18]
  1498. if x != nil {
  1499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1500. if ms.LoadMessageInfo() == nil {
  1501. ms.StoreMessageInfo(mi)
  1502. }
  1503. return ms
  1504. }
  1505. return mi.MessageOf(x)
  1506. }
  1507. // Deprecated: Use MapBuildRequest.ProtoReflect.Descriptor instead.
  1508. func (*MapBuildRequest) Descriptor() ([]byte, []int) {
  1509. return file_map_proto_rawDescGZIP(), []int{18}
  1510. }
  1511. func (x *MapBuildRequest) GetConfigID() int32 {
  1512. if x != nil {
  1513. return x.ConfigID
  1514. }
  1515. return 0
  1516. }
  1517. func (x *MapBuildRequest) GetPoint() *Point {
  1518. if x != nil {
  1519. return x.Point
  1520. }
  1521. return nil
  1522. }
  1523. // 建筑升级请求
  1524. type MapBuildUpgradeRequest struct {
  1525. state protoimpl.MessageState `protogen:"open.v1"`
  1526. // 地图建筑的对象ID
  1527. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  1528. // 地图建筑的配置ID
  1529. ConfigID int32 `protobuf:"varint,2,opt,name=configID,proto3" json:"configID,omitempty"`
  1530. // 当前等级
  1531. Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
  1532. unknownFields protoimpl.UnknownFields
  1533. sizeCache protoimpl.SizeCache
  1534. }
  1535. func (x *MapBuildUpgradeRequest) Reset() {
  1536. *x = MapBuildUpgradeRequest{}
  1537. mi := &file_map_proto_msgTypes[19]
  1538. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1539. ms.StoreMessageInfo(mi)
  1540. }
  1541. func (x *MapBuildUpgradeRequest) String() string {
  1542. return protoimpl.X.MessageStringOf(x)
  1543. }
  1544. func (*MapBuildUpgradeRequest) ProtoMessage() {}
  1545. func (x *MapBuildUpgradeRequest) ProtoReflect() protoreflect.Message {
  1546. mi := &file_map_proto_msgTypes[19]
  1547. if x != nil {
  1548. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1549. if ms.LoadMessageInfo() == nil {
  1550. ms.StoreMessageInfo(mi)
  1551. }
  1552. return ms
  1553. }
  1554. return mi.MessageOf(x)
  1555. }
  1556. // Deprecated: Use MapBuildUpgradeRequest.ProtoReflect.Descriptor instead.
  1557. func (*MapBuildUpgradeRequest) Descriptor() ([]byte, []int) {
  1558. return file_map_proto_rawDescGZIP(), []int{19}
  1559. }
  1560. func (x *MapBuildUpgradeRequest) GetObjectID() int64 {
  1561. if x != nil {
  1562. return x.ObjectID
  1563. }
  1564. return 0
  1565. }
  1566. func (x *MapBuildUpgradeRequest) GetConfigID() int32 {
  1567. if x != nil {
  1568. return x.ConfigID
  1569. }
  1570. return 0
  1571. }
  1572. func (x *MapBuildUpgradeRequest) GetLevel() int32 {
  1573. if x != nil {
  1574. return x.Level
  1575. }
  1576. return 0
  1577. }
  1578. // 地图对象更新列表
  1579. type MapObjectsUpdate struct {
  1580. state protoimpl.MessageState `protogen:"open.v1"`
  1581. List []*MapObjectUpdate `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  1582. unknownFields protoimpl.UnknownFields
  1583. sizeCache protoimpl.SizeCache
  1584. }
  1585. func (x *MapObjectsUpdate) Reset() {
  1586. *x = MapObjectsUpdate{}
  1587. mi := &file_map_proto_msgTypes[20]
  1588. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1589. ms.StoreMessageInfo(mi)
  1590. }
  1591. func (x *MapObjectsUpdate) String() string {
  1592. return protoimpl.X.MessageStringOf(x)
  1593. }
  1594. func (*MapObjectsUpdate) ProtoMessage() {}
  1595. func (x *MapObjectsUpdate) ProtoReflect() protoreflect.Message {
  1596. mi := &file_map_proto_msgTypes[20]
  1597. if x != nil {
  1598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1599. if ms.LoadMessageInfo() == nil {
  1600. ms.StoreMessageInfo(mi)
  1601. }
  1602. return ms
  1603. }
  1604. return mi.MessageOf(x)
  1605. }
  1606. // Deprecated: Use MapObjectsUpdate.ProtoReflect.Descriptor instead.
  1607. func (*MapObjectsUpdate) Descriptor() ([]byte, []int) {
  1608. return file_map_proto_rawDescGZIP(), []int{20}
  1609. }
  1610. func (x *MapObjectsUpdate) GetList() []*MapObjectUpdate {
  1611. if x != nil {
  1612. return x.List
  1613. }
  1614. return nil
  1615. }
  1616. // 地图对象更新
  1617. type MapObjectUpdate struct {
  1618. state protoimpl.MessageState `protogen:"open.v1"`
  1619. // 是否删除
  1620. IsDelete bool `protobuf:"varint,1,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
  1621. // 对象ID
  1622. ObjectID int64 `protobuf:"varint,2,opt,name=objectID,proto3" json:"objectID,omitempty"`
  1623. // 配置ID
  1624. ConfigID int32 `protobuf:"varint,3,opt,name=configID,proto3" json:"configID,omitempty"`
  1625. // 对象类型
  1626. ObjectType int32 `protobuf:"varint,4,opt,name=objectType,proto3" json:"objectType,omitempty"`
  1627. // 坐标
  1628. Point *Point `protobuf:"bytes,5,opt,name=point,proto3" json:"point,omitempty"`
  1629. // 时间(毫秒)
  1630. Time int64 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"`
  1631. unknownFields protoimpl.UnknownFields
  1632. sizeCache protoimpl.SizeCache
  1633. }
  1634. func (x *MapObjectUpdate) Reset() {
  1635. *x = MapObjectUpdate{}
  1636. mi := &file_map_proto_msgTypes[21]
  1637. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1638. ms.StoreMessageInfo(mi)
  1639. }
  1640. func (x *MapObjectUpdate) String() string {
  1641. return protoimpl.X.MessageStringOf(x)
  1642. }
  1643. func (*MapObjectUpdate) ProtoMessage() {}
  1644. func (x *MapObjectUpdate) ProtoReflect() protoreflect.Message {
  1645. mi := &file_map_proto_msgTypes[21]
  1646. if x != nil {
  1647. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1648. if ms.LoadMessageInfo() == nil {
  1649. ms.StoreMessageInfo(mi)
  1650. }
  1651. return ms
  1652. }
  1653. return mi.MessageOf(x)
  1654. }
  1655. // Deprecated: Use MapObjectUpdate.ProtoReflect.Descriptor instead.
  1656. func (*MapObjectUpdate) Descriptor() ([]byte, []int) {
  1657. return file_map_proto_rawDescGZIP(), []int{21}
  1658. }
  1659. func (x *MapObjectUpdate) GetIsDelete() bool {
  1660. if x != nil {
  1661. return x.IsDelete
  1662. }
  1663. return false
  1664. }
  1665. func (x *MapObjectUpdate) GetObjectID() int64 {
  1666. if x != nil {
  1667. return x.ObjectID
  1668. }
  1669. return 0
  1670. }
  1671. func (x *MapObjectUpdate) GetConfigID() int32 {
  1672. if x != nil {
  1673. return x.ConfigID
  1674. }
  1675. return 0
  1676. }
  1677. func (x *MapObjectUpdate) GetObjectType() int32 {
  1678. if x != nil {
  1679. return x.ObjectType
  1680. }
  1681. return 0
  1682. }
  1683. func (x *MapObjectUpdate) GetPoint() *Point {
  1684. if x != nil {
  1685. return x.Point
  1686. }
  1687. return nil
  1688. }
  1689. func (x *MapObjectUpdate) GetTime() int64 {
  1690. if x != nil {
  1691. return x.Time
  1692. }
  1693. return 0
  1694. }
  1695. // 行军对象的状态
  1696. type MapMarchState struct {
  1697. state protoimpl.MessageState `protogen:"open.v1"`
  1698. // 行军对象ID
  1699. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  1700. // 行军对象当前坐标点
  1701. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
  1702. // 行军对象当前状态
  1703. // 见 map.go -> MarchState 行军状态
  1704. State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
  1705. // 状态开始时间 (毫秒)
  1706. StateStartTime int64 `protobuf:"varint,4,opt,name=stateStartTime,proto3" json:"stateStartTime,omitempty"`
  1707. // 状态结束时间 (毫秒)
  1708. StateEndTime int64 `protobuf:"varint,5,opt,name=stateEndTime,proto3" json:"stateEndTime,omitempty"`
  1709. // 行军速度
  1710. Speed int64 `protobuf:"varint,6,opt,name=speed,proto3" json:"speed,omitempty"`
  1711. // 调动目标建筑对象ID
  1712. RedeployObjectID int64 `protobuf:"varint,7,opt,name=redeployObjectID,proto3" json:"redeployObjectID,omitempty"`
  1713. unknownFields protoimpl.UnknownFields
  1714. sizeCache protoimpl.SizeCache
  1715. }
  1716. func (x *MapMarchState) Reset() {
  1717. *x = MapMarchState{}
  1718. mi := &file_map_proto_msgTypes[22]
  1719. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1720. ms.StoreMessageInfo(mi)
  1721. }
  1722. func (x *MapMarchState) String() string {
  1723. return protoimpl.X.MessageStringOf(x)
  1724. }
  1725. func (*MapMarchState) ProtoMessage() {}
  1726. func (x *MapMarchState) ProtoReflect() protoreflect.Message {
  1727. mi := &file_map_proto_msgTypes[22]
  1728. if x != nil {
  1729. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1730. if ms.LoadMessageInfo() == nil {
  1731. ms.StoreMessageInfo(mi)
  1732. }
  1733. return ms
  1734. }
  1735. return mi.MessageOf(x)
  1736. }
  1737. // Deprecated: Use MapMarchState.ProtoReflect.Descriptor instead.
  1738. func (*MapMarchState) Descriptor() ([]byte, []int) {
  1739. return file_map_proto_rawDescGZIP(), []int{22}
  1740. }
  1741. func (x *MapMarchState) GetObjectID() int64 {
  1742. if x != nil {
  1743. return x.ObjectID
  1744. }
  1745. return 0
  1746. }
  1747. func (x *MapMarchState) GetPoint() *Point {
  1748. if x != nil {
  1749. return x.Point
  1750. }
  1751. return nil
  1752. }
  1753. func (x *MapMarchState) GetState() int32 {
  1754. if x != nil {
  1755. return x.State
  1756. }
  1757. return 0
  1758. }
  1759. func (x *MapMarchState) GetStateStartTime() int64 {
  1760. if x != nil {
  1761. return x.StateStartTime
  1762. }
  1763. return 0
  1764. }
  1765. func (x *MapMarchState) GetStateEndTime() int64 {
  1766. if x != nil {
  1767. return x.StateEndTime
  1768. }
  1769. return 0
  1770. }
  1771. func (x *MapMarchState) GetSpeed() int64 {
  1772. if x != nil {
  1773. return x.Speed
  1774. }
  1775. return 0
  1776. }
  1777. func (x *MapMarchState) GetRedeployObjectID() int64 {
  1778. if x != nil {
  1779. return x.RedeployObjectID
  1780. }
  1781. return 0
  1782. }
  1783. // 玩家登录地图后,带下去一些进入地图之前需要知道必要的信息
  1784. type MapLoginResponse struct {
  1785. state protoimpl.MessageState `protogen:"open.v1"`
  1786. // 玩家出生州ID(0表示未选州)
  1787. BornStateID int32 `protobuf:"varint,1,opt,name=bornStateID,proto3" json:"bornStateID,omitempty"`
  1788. // 玩家声望
  1789. Prestige int32 `protobuf:"varint,2,opt,name=prestige,proto3" json:"prestige,omitempty"`
  1790. unknownFields protoimpl.UnknownFields
  1791. sizeCache protoimpl.SizeCache
  1792. }
  1793. func (x *MapLoginResponse) Reset() {
  1794. *x = MapLoginResponse{}
  1795. mi := &file_map_proto_msgTypes[23]
  1796. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1797. ms.StoreMessageInfo(mi)
  1798. }
  1799. func (x *MapLoginResponse) String() string {
  1800. return protoimpl.X.MessageStringOf(x)
  1801. }
  1802. func (*MapLoginResponse) ProtoMessage() {}
  1803. func (x *MapLoginResponse) ProtoReflect() protoreflect.Message {
  1804. mi := &file_map_proto_msgTypes[23]
  1805. if x != nil {
  1806. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1807. if ms.LoadMessageInfo() == nil {
  1808. ms.StoreMessageInfo(mi)
  1809. }
  1810. return ms
  1811. }
  1812. return mi.MessageOf(x)
  1813. }
  1814. // Deprecated: Use MapLoginResponse.ProtoReflect.Descriptor instead.
  1815. func (*MapLoginResponse) Descriptor() ([]byte, []int) {
  1816. return file_map_proto_rawDescGZIP(), []int{23}
  1817. }
  1818. func (x *MapLoginResponse) GetBornStateID() int32 {
  1819. if x != nil {
  1820. return x.BornStateID
  1821. }
  1822. return 0
  1823. }
  1824. func (x *MapLoginResponse) GetPrestige() int32 {
  1825. if x != nil {
  1826. return x.Prestige
  1827. }
  1828. return 0
  1829. }
  1830. // 玩家进入地图成功后下发的信息
  1831. type MapEnterResponse struct {
  1832. state protoimpl.MessageState `protogen:"open.v1"`
  1833. // 地基建造截止时间 (毫秒)
  1834. CityBaseEndTime int64 `protobuf:"varint,1,opt,name=cityBaseEndTime,proto3" json:"cityBaseEndTime,omitempty"`
  1835. // 迁城冷却截止时间 (毫秒)
  1836. RelocateEndTime int64 `protobuf:"varint,2,opt,name=relocateEndTime,proto3" json:"relocateEndTime,omitempty"`
  1837. // 再起截止时间(毫秒)
  1838. ComebackEndTime int64 `protobuf:"varint,4,opt,name=comebackEndTime,proto3" json:"comebackEndTime,omitempty"`
  1839. // 选州截止时间(毫秒)
  1840. RechooseComebackEndTime int64 `protobuf:"varint,5,opt,name=rechooseComebackEndTime,proto3" json:"rechooseComebackEndTime,omitempty"`
  1841. // 加固准备结束时间(毫秒)
  1842. ReinforcePrepareEndTime int64 `protobuf:"varint,6,opt,name=reinforcePrepareEndTime,proto3" json:"reinforcePrepareEndTime,omitempty"`
  1843. // 加固生效结束时间(毫秒)
  1844. ReinforceEffectEndTime int64 `protobuf:"varint,7,opt,name=reinforceEffectEndTime,proto3" json:"reinforceEffectEndTime,omitempty"`
  1845. // 加固冷却结束时间(毫秒)
  1846. ReinforceCooldownEndTime int64 `protobuf:"varint,8,opt,name=reinforceCooldownEndTime,proto3" json:"reinforceCooldownEndTime,omitempty"`
  1847. // 资源守军恢复倒计时(秒) key: objectID value: 恢复时间
  1848. ResDefends *I64Map `protobuf:"bytes,10,opt,name=resDefends,proto3" json:"resDefends,omitempty"`
  1849. unknownFields protoimpl.UnknownFields
  1850. sizeCache protoimpl.SizeCache
  1851. }
  1852. func (x *MapEnterResponse) Reset() {
  1853. *x = MapEnterResponse{}
  1854. mi := &file_map_proto_msgTypes[24]
  1855. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1856. ms.StoreMessageInfo(mi)
  1857. }
  1858. func (x *MapEnterResponse) String() string {
  1859. return protoimpl.X.MessageStringOf(x)
  1860. }
  1861. func (*MapEnterResponse) ProtoMessage() {}
  1862. func (x *MapEnterResponse) ProtoReflect() protoreflect.Message {
  1863. mi := &file_map_proto_msgTypes[24]
  1864. if x != nil {
  1865. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1866. if ms.LoadMessageInfo() == nil {
  1867. ms.StoreMessageInfo(mi)
  1868. }
  1869. return ms
  1870. }
  1871. return mi.MessageOf(x)
  1872. }
  1873. // Deprecated: Use MapEnterResponse.ProtoReflect.Descriptor instead.
  1874. func (*MapEnterResponse) Descriptor() ([]byte, []int) {
  1875. return file_map_proto_rawDescGZIP(), []int{24}
  1876. }
  1877. func (x *MapEnterResponse) GetCityBaseEndTime() int64 {
  1878. if x != nil {
  1879. return x.CityBaseEndTime
  1880. }
  1881. return 0
  1882. }
  1883. func (x *MapEnterResponse) GetRelocateEndTime() int64 {
  1884. if x != nil {
  1885. return x.RelocateEndTime
  1886. }
  1887. return 0
  1888. }
  1889. func (x *MapEnterResponse) GetComebackEndTime() int64 {
  1890. if x != nil {
  1891. return x.ComebackEndTime
  1892. }
  1893. return 0
  1894. }
  1895. func (x *MapEnterResponse) GetRechooseComebackEndTime() int64 {
  1896. if x != nil {
  1897. return x.RechooseComebackEndTime
  1898. }
  1899. return 0
  1900. }
  1901. func (x *MapEnterResponse) GetReinforcePrepareEndTime() int64 {
  1902. if x != nil {
  1903. return x.ReinforcePrepareEndTime
  1904. }
  1905. return 0
  1906. }
  1907. func (x *MapEnterResponse) GetReinforceEffectEndTime() int64 {
  1908. if x != nil {
  1909. return x.ReinforceEffectEndTime
  1910. }
  1911. return 0
  1912. }
  1913. func (x *MapEnterResponse) GetReinforceCooldownEndTime() int64 {
  1914. if x != nil {
  1915. return x.ReinforceCooldownEndTime
  1916. }
  1917. return 0
  1918. }
  1919. func (x *MapEnterResponse) GetResDefends() *I64Map {
  1920. if x != nil {
  1921. return x.ResDefends
  1922. }
  1923. return nil
  1924. }
  1925. // 地图攻城信息
  1926. type MapSiege struct {
  1927. state protoimpl.MessageState `protogen:"open.v1"`
  1928. // 系统城对象ID
  1929. CastleObjectID int64 `protobuf:"varint,1,opt,name=castleObjectID,proto3" json:"castleObjectID,omitempty"`
  1930. // 系统城配置ID
  1931. CastleConfigID int32 `protobuf:"varint,2,opt,name=castleConfigID,proto3" json:"castleConfigID,omitempty"`
  1932. // 攻城大营对象ID
  1933. SiegeCampObjectID int64 `protobuf:"varint,3,opt,name=siegeCampObjectID,proto3" json:"siegeCampObjectID,omitempty"`
  1934. // 当前攻城阶段
  1935. // 见 siege_stage.go 文件 SiegeStage 枚举
  1936. SiegeStage int32 `protobuf:"varint,11,opt,name=siegeStage,proto3" json:"siegeStage,omitempty"`
  1937. // 当前阶段结束时间(毫秒)
  1938. StageEndTime int64 `protobuf:"varint,12,opt,name=stageEndTime,proto3" json:"stageEndTime,omitempty"`
  1939. unknownFields protoimpl.UnknownFields
  1940. sizeCache protoimpl.SizeCache
  1941. }
  1942. func (x *MapSiege) Reset() {
  1943. *x = MapSiege{}
  1944. mi := &file_map_proto_msgTypes[25]
  1945. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1946. ms.StoreMessageInfo(mi)
  1947. }
  1948. func (x *MapSiege) String() string {
  1949. return protoimpl.X.MessageStringOf(x)
  1950. }
  1951. func (*MapSiege) ProtoMessage() {}
  1952. func (x *MapSiege) ProtoReflect() protoreflect.Message {
  1953. mi := &file_map_proto_msgTypes[25]
  1954. if x != nil {
  1955. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1956. if ms.LoadMessageInfo() == nil {
  1957. ms.StoreMessageInfo(mi)
  1958. }
  1959. return ms
  1960. }
  1961. return mi.MessageOf(x)
  1962. }
  1963. // Deprecated: Use MapSiege.ProtoReflect.Descriptor instead.
  1964. func (*MapSiege) Descriptor() ([]byte, []int) {
  1965. return file_map_proto_rawDescGZIP(), []int{25}
  1966. }
  1967. func (x *MapSiege) GetCastleObjectID() int64 {
  1968. if x != nil {
  1969. return x.CastleObjectID
  1970. }
  1971. return 0
  1972. }
  1973. func (x *MapSiege) GetCastleConfigID() int32 {
  1974. if x != nil {
  1975. return x.CastleConfigID
  1976. }
  1977. return 0
  1978. }
  1979. func (x *MapSiege) GetSiegeCampObjectID() int64 {
  1980. if x != nil {
  1981. return x.SiegeCampObjectID
  1982. }
  1983. return 0
  1984. }
  1985. func (x *MapSiege) GetSiegeStage() int32 {
  1986. if x != nil {
  1987. return x.SiegeStage
  1988. }
  1989. return 0
  1990. }
  1991. func (x *MapSiege) GetStageEndTime() int64 {
  1992. if x != nil {
  1993. return x.StageEndTime
  1994. }
  1995. return 0
  1996. }
  1997. // 发起集结请求
  1998. type MapAssembleRequest struct {
  1999. state protoimpl.MessageState `protogen:"open.v1"`
  2000. // 要集结的队伍ID
  2001. TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
  2002. // 集结的目标对象ID
  2003. ObjectID int64 `protobuf:"varint,2,opt,name=objectID,proto3" json:"objectID,omitempty"`
  2004. // 集结的目标对象类型
  2005. ObjectType int32 `protobuf:"varint,3,opt,name=objectType,proto3" json:"objectType,omitempty"`
  2006. // 集结的目标坐标
  2007. Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
  2008. // 集结时间(分钟)
  2009. AssembleTime int32 `protobuf:"varint,5,opt,name=assembleTime,proto3" json:"assembleTime,omitempty"`
  2010. // 是否自动回城
  2011. IsAutoRetreat bool `protobuf:"varint,6,opt,name=isAutoRetreat,proto3" json:"isAutoRetreat,omitempty"`
  2012. unknownFields protoimpl.UnknownFields
  2013. sizeCache protoimpl.SizeCache
  2014. }
  2015. func (x *MapAssembleRequest) Reset() {
  2016. *x = MapAssembleRequest{}
  2017. mi := &file_map_proto_msgTypes[26]
  2018. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2019. ms.StoreMessageInfo(mi)
  2020. }
  2021. func (x *MapAssembleRequest) String() string {
  2022. return protoimpl.X.MessageStringOf(x)
  2023. }
  2024. func (*MapAssembleRequest) ProtoMessage() {}
  2025. func (x *MapAssembleRequest) ProtoReflect() protoreflect.Message {
  2026. mi := &file_map_proto_msgTypes[26]
  2027. if x != nil {
  2028. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2029. if ms.LoadMessageInfo() == nil {
  2030. ms.StoreMessageInfo(mi)
  2031. }
  2032. return ms
  2033. }
  2034. return mi.MessageOf(x)
  2035. }
  2036. // Deprecated: Use MapAssembleRequest.ProtoReflect.Descriptor instead.
  2037. func (*MapAssembleRequest) Descriptor() ([]byte, []int) {
  2038. return file_map_proto_rawDescGZIP(), []int{26}
  2039. }
  2040. func (x *MapAssembleRequest) GetTeamID() int32 {
  2041. if x != nil {
  2042. return x.TeamID
  2043. }
  2044. return 0
  2045. }
  2046. func (x *MapAssembleRequest) GetObjectID() int64 {
  2047. if x != nil {
  2048. return x.ObjectID
  2049. }
  2050. return 0
  2051. }
  2052. func (x *MapAssembleRequest) GetObjectType() int32 {
  2053. if x != nil {
  2054. return x.ObjectType
  2055. }
  2056. return 0
  2057. }
  2058. func (x *MapAssembleRequest) GetPoint() *Point {
  2059. if x != nil {
  2060. return x.Point
  2061. }
  2062. return nil
  2063. }
  2064. func (x *MapAssembleRequest) GetAssembleTime() int32 {
  2065. if x != nil {
  2066. return x.AssembleTime
  2067. }
  2068. return 0
  2069. }
  2070. func (x *MapAssembleRequest) GetIsAutoRetreat() bool {
  2071. if x != nil {
  2072. return x.IsAutoRetreat
  2073. }
  2074. return false
  2075. }
  2076. // 加入集结请求
  2077. type MapAssembleJoinRequest struct {
  2078. state protoimpl.MessageState `protogen:"open.v1"`
  2079. // 要加入的队伍ID
  2080. TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
  2081. // 要加入的集结ID
  2082. AssembleID int64 `protobuf:"varint,2,opt,name=assembleID,proto3" json:"assembleID,omitempty"`
  2083. // 是否自动回城
  2084. IsAutoRetreat bool `protobuf:"varint,3,opt,name=isAutoRetreat,proto3" json:"isAutoRetreat,omitempty"`
  2085. unknownFields protoimpl.UnknownFields
  2086. sizeCache protoimpl.SizeCache
  2087. }
  2088. func (x *MapAssembleJoinRequest) Reset() {
  2089. *x = MapAssembleJoinRequest{}
  2090. mi := &file_map_proto_msgTypes[27]
  2091. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2092. ms.StoreMessageInfo(mi)
  2093. }
  2094. func (x *MapAssembleJoinRequest) String() string {
  2095. return protoimpl.X.MessageStringOf(x)
  2096. }
  2097. func (*MapAssembleJoinRequest) ProtoMessage() {}
  2098. func (x *MapAssembleJoinRequest) ProtoReflect() protoreflect.Message {
  2099. mi := &file_map_proto_msgTypes[27]
  2100. if x != nil {
  2101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2102. if ms.LoadMessageInfo() == nil {
  2103. ms.StoreMessageInfo(mi)
  2104. }
  2105. return ms
  2106. }
  2107. return mi.MessageOf(x)
  2108. }
  2109. // Deprecated: Use MapAssembleJoinRequest.ProtoReflect.Descriptor instead.
  2110. func (*MapAssembleJoinRequest) Descriptor() ([]byte, []int) {
  2111. return file_map_proto_rawDescGZIP(), []int{27}
  2112. }
  2113. func (x *MapAssembleJoinRequest) GetTeamID() int32 {
  2114. if x != nil {
  2115. return x.TeamID
  2116. }
  2117. return 0
  2118. }
  2119. func (x *MapAssembleJoinRequest) GetAssembleID() int64 {
  2120. if x != nil {
  2121. return x.AssembleID
  2122. }
  2123. return 0
  2124. }
  2125. func (x *MapAssembleJoinRequest) GetIsAutoRetreat() bool {
  2126. if x != nil {
  2127. return x.IsAutoRetreat
  2128. }
  2129. return false
  2130. }
  2131. type MapAssembleList struct {
  2132. state protoimpl.MessageState `protogen:"open.v1"`
  2133. List []*MapAssemble `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  2134. unknownFields protoimpl.UnknownFields
  2135. sizeCache protoimpl.SizeCache
  2136. }
  2137. func (x *MapAssembleList) Reset() {
  2138. *x = MapAssembleList{}
  2139. mi := &file_map_proto_msgTypes[28]
  2140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2141. ms.StoreMessageInfo(mi)
  2142. }
  2143. func (x *MapAssembleList) String() string {
  2144. return protoimpl.X.MessageStringOf(x)
  2145. }
  2146. func (*MapAssembleList) ProtoMessage() {}
  2147. func (x *MapAssembleList) ProtoReflect() protoreflect.Message {
  2148. mi := &file_map_proto_msgTypes[28]
  2149. if x != nil {
  2150. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2151. if ms.LoadMessageInfo() == nil {
  2152. ms.StoreMessageInfo(mi)
  2153. }
  2154. return ms
  2155. }
  2156. return mi.MessageOf(x)
  2157. }
  2158. // Deprecated: Use MapAssembleList.ProtoReflect.Descriptor instead.
  2159. func (*MapAssembleList) Descriptor() ([]byte, []int) {
  2160. return file_map_proto_rawDescGZIP(), []int{28}
  2161. }
  2162. func (x *MapAssembleList) GetList() []*MapAssemble {
  2163. if x != nil {
  2164. return x.List
  2165. }
  2166. return nil
  2167. }
  2168. // 地图集结信息
  2169. type MapAssemble struct {
  2170. state protoimpl.MessageState `protogen:"open.v1"`
  2171. // 集结信息唯一ID
  2172. AssembleID int64 `protobuf:"varint,1,opt,name=assembleID,proto3" json:"assembleID,omitempty"`
  2173. // 发起人玩家ID
  2174. LeadPlayerID int64 `protobuf:"varint,2,opt,name=leadPlayerID,proto3" json:"leadPlayerID,omitempty"`
  2175. // 出发坐标点
  2176. StartPoint *Point `protobuf:"bytes,3,opt,name=startPoint,proto3" json:"startPoint,omitempty"`
  2177. // 集结结束时间(毫秒)
  2178. AssembleEndTime int64 `protobuf:"varint,4,opt,name=assembleEndTime,proto3" json:"assembleEndTime,omitempty"`
  2179. // 集结对象列表
  2180. MarchList []*MapAssembleMarch `protobuf:"bytes,5,rep,name=marchList,proto3" json:"marchList,omitempty"`
  2181. // 是否已出发(讨伐中)
  2182. IsDepart bool `protobuf:"varint,6,opt,name=isDepart,proto3" json:"isDepart,omitempty"`
  2183. // 集结目标对象ID
  2184. TargetObjectID int64 `protobuf:"varint,11,opt,name=targetObjectID,proto3" json:"targetObjectID,omitempty"`
  2185. // 集结目标配置ID
  2186. TargetConfigID int32 `protobuf:"varint,12,opt,name=targetConfigID,proto3" json:"targetConfigID,omitempty"`
  2187. // 集结目标对象类型
  2188. TargetConfigType int32 `protobuf:"varint,13,opt,name=targetConfigType,proto3" json:"targetConfigType,omitempty"`
  2189. // 集结目标的坐标
  2190. TargetPoint *Point `protobuf:"bytes,14,opt,name=targetPoint,proto3" json:"targetPoint,omitempty"`
  2191. unknownFields protoimpl.UnknownFields
  2192. sizeCache protoimpl.SizeCache
  2193. }
  2194. func (x *MapAssemble) Reset() {
  2195. *x = MapAssemble{}
  2196. mi := &file_map_proto_msgTypes[29]
  2197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2198. ms.StoreMessageInfo(mi)
  2199. }
  2200. func (x *MapAssemble) String() string {
  2201. return protoimpl.X.MessageStringOf(x)
  2202. }
  2203. func (*MapAssemble) ProtoMessage() {}
  2204. func (x *MapAssemble) ProtoReflect() protoreflect.Message {
  2205. mi := &file_map_proto_msgTypes[29]
  2206. if x != nil {
  2207. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2208. if ms.LoadMessageInfo() == nil {
  2209. ms.StoreMessageInfo(mi)
  2210. }
  2211. return ms
  2212. }
  2213. return mi.MessageOf(x)
  2214. }
  2215. // Deprecated: Use MapAssemble.ProtoReflect.Descriptor instead.
  2216. func (*MapAssemble) Descriptor() ([]byte, []int) {
  2217. return file_map_proto_rawDescGZIP(), []int{29}
  2218. }
  2219. func (x *MapAssemble) GetAssembleID() int64 {
  2220. if x != nil {
  2221. return x.AssembleID
  2222. }
  2223. return 0
  2224. }
  2225. func (x *MapAssemble) GetLeadPlayerID() int64 {
  2226. if x != nil {
  2227. return x.LeadPlayerID
  2228. }
  2229. return 0
  2230. }
  2231. func (x *MapAssemble) GetStartPoint() *Point {
  2232. if x != nil {
  2233. return x.StartPoint
  2234. }
  2235. return nil
  2236. }
  2237. func (x *MapAssemble) GetAssembleEndTime() int64 {
  2238. if x != nil {
  2239. return x.AssembleEndTime
  2240. }
  2241. return 0
  2242. }
  2243. func (x *MapAssemble) GetMarchList() []*MapAssembleMarch {
  2244. if x != nil {
  2245. return x.MarchList
  2246. }
  2247. return nil
  2248. }
  2249. func (x *MapAssemble) GetIsDepart() bool {
  2250. if x != nil {
  2251. return x.IsDepart
  2252. }
  2253. return false
  2254. }
  2255. func (x *MapAssemble) GetTargetObjectID() int64 {
  2256. if x != nil {
  2257. return x.TargetObjectID
  2258. }
  2259. return 0
  2260. }
  2261. func (x *MapAssemble) GetTargetConfigID() int32 {
  2262. if x != nil {
  2263. return x.TargetConfigID
  2264. }
  2265. return 0
  2266. }
  2267. func (x *MapAssemble) GetTargetConfigType() int32 {
  2268. if x != nil {
  2269. return x.TargetConfigType
  2270. }
  2271. return 0
  2272. }
  2273. func (x *MapAssemble) GetTargetPoint() *Point {
  2274. if x != nil {
  2275. return x.TargetPoint
  2276. }
  2277. return nil
  2278. }
  2279. // 地图中的集结对象信息
  2280. type MapAssembleMarch struct {
  2281. state protoimpl.MessageState `protogen:"open.v1"`
  2282. // 集结的玩家ID
  2283. PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
  2284. // 集结的玩家名
  2285. PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"`
  2286. // 集结的行军对象ID
  2287. MarchObjectID int64 `protobuf:"varint,10,opt,name=marchObjectID,proto3" json:"marchObjectID,omitempty"`
  2288. // 集结行军对象到达时间
  2289. MarchArriveTime int64 `protobuf:"varint,11,opt,name=marchArriveTime,proto3" json:"marchArriveTime,omitempty"`
  2290. // 行军对象的主将英雄配置ID
  2291. HeroConfigID int32 `protobuf:"varint,12,opt,name=heroConfigID,proto3" json:"heroConfigID,omitempty"`
  2292. // 行军对象的主将英雄等级
  2293. HeroLevel int32 `protobuf:"varint,13,opt,name=heroLevel,proto3" json:"heroLevel,omitempty"`
  2294. // 行军对象的主将英雄星级
  2295. HeroStar int32 `protobuf:"varint,14,opt,name=heroStar,proto3" json:"heroStar,omitempty"`
  2296. // 行军对象的兵力
  2297. TroopsNum int32 `protobuf:"varint,15,opt,name=troopsNum,proto3" json:"troopsNum,omitempty"`
  2298. unknownFields protoimpl.UnknownFields
  2299. sizeCache protoimpl.SizeCache
  2300. }
  2301. func (x *MapAssembleMarch) Reset() {
  2302. *x = MapAssembleMarch{}
  2303. mi := &file_map_proto_msgTypes[30]
  2304. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2305. ms.StoreMessageInfo(mi)
  2306. }
  2307. func (x *MapAssembleMarch) String() string {
  2308. return protoimpl.X.MessageStringOf(x)
  2309. }
  2310. func (*MapAssembleMarch) ProtoMessage() {}
  2311. func (x *MapAssembleMarch) ProtoReflect() protoreflect.Message {
  2312. mi := &file_map_proto_msgTypes[30]
  2313. if x != nil {
  2314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2315. if ms.LoadMessageInfo() == nil {
  2316. ms.StoreMessageInfo(mi)
  2317. }
  2318. return ms
  2319. }
  2320. return mi.MessageOf(x)
  2321. }
  2322. // Deprecated: Use MapAssembleMarch.ProtoReflect.Descriptor instead.
  2323. func (*MapAssembleMarch) Descriptor() ([]byte, []int) {
  2324. return file_map_proto_rawDescGZIP(), []int{30}
  2325. }
  2326. func (x *MapAssembleMarch) GetPlayerID() int64 {
  2327. if x != nil {
  2328. return x.PlayerID
  2329. }
  2330. return 0
  2331. }
  2332. func (x *MapAssembleMarch) GetPlayerName() string {
  2333. if x != nil {
  2334. return x.PlayerName
  2335. }
  2336. return ""
  2337. }
  2338. func (x *MapAssembleMarch) GetMarchObjectID() int64 {
  2339. if x != nil {
  2340. return x.MarchObjectID
  2341. }
  2342. return 0
  2343. }
  2344. func (x *MapAssembleMarch) GetMarchArriveTime() int64 {
  2345. if x != nil {
  2346. return x.MarchArriveTime
  2347. }
  2348. return 0
  2349. }
  2350. func (x *MapAssembleMarch) GetHeroConfigID() int32 {
  2351. if x != nil {
  2352. return x.HeroConfigID
  2353. }
  2354. return 0
  2355. }
  2356. func (x *MapAssembleMarch) GetHeroLevel() int32 {
  2357. if x != nil {
  2358. return x.HeroLevel
  2359. }
  2360. return 0
  2361. }
  2362. func (x *MapAssembleMarch) GetHeroStar() int32 {
  2363. if x != nil {
  2364. return x.HeroStar
  2365. }
  2366. return 0
  2367. }
  2368. func (x *MapAssembleMarch) GetTroopsNum() int32 {
  2369. if x != nil {
  2370. return x.TroopsNum
  2371. }
  2372. return 0
  2373. }
  2374. // 地图标记列表
  2375. type MapMarkList struct {
  2376. state protoimpl.MessageState `protogen:"open.v1"`
  2377. List []*MapMark `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  2378. unknownFields protoimpl.UnknownFields
  2379. sizeCache protoimpl.SizeCache
  2380. }
  2381. func (x *MapMarkList) Reset() {
  2382. *x = MapMarkList{}
  2383. mi := &file_map_proto_msgTypes[31]
  2384. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2385. ms.StoreMessageInfo(mi)
  2386. }
  2387. func (x *MapMarkList) String() string {
  2388. return protoimpl.X.MessageStringOf(x)
  2389. }
  2390. func (*MapMarkList) ProtoMessage() {}
  2391. func (x *MapMarkList) ProtoReflect() protoreflect.Message {
  2392. mi := &file_map_proto_msgTypes[31]
  2393. if x != nil {
  2394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2395. if ms.LoadMessageInfo() == nil {
  2396. ms.StoreMessageInfo(mi)
  2397. }
  2398. return ms
  2399. }
  2400. return mi.MessageOf(x)
  2401. }
  2402. // Deprecated: Use MapMarkList.ProtoReflect.Descriptor instead.
  2403. func (*MapMarkList) Descriptor() ([]byte, []int) {
  2404. return file_map_proto_rawDescGZIP(), []int{31}
  2405. }
  2406. func (x *MapMarkList) GetList() []*MapMark {
  2407. if x != nil {
  2408. return x.List
  2409. }
  2410. return nil
  2411. }
  2412. // 玩家地图标记
  2413. type MapMark struct {
  2414. state protoimpl.MessageState `protogen:"open.v1"`
  2415. // 标记ID
  2416. MarkID int32 `protobuf:"varint,1,opt,name=markID,proto3" json:"markID,omitempty"`
  2417. // 标记标题 如果为玩家标记 当前为空时 则使用地块名称
  2418. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  2419. // 标记描述
  2420. Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
  2421. // 标记坐标
  2422. Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
  2423. // 标记指令 0未选择 1撤退 2集合 3防守 4进攻 5扎营 6建造
  2424. Command int32 `protobuf:"varint,5,opt,name=command,proto3" json:"command,omitempty"`
  2425. // 标记时间戳 单位秒
  2426. MarkTime int64 `protobuf:"varint,6,opt,name=markTime,proto3" json:"markTime,omitempty"`
  2427. unknownFields protoimpl.UnknownFields
  2428. sizeCache protoimpl.SizeCache
  2429. }
  2430. func (x *MapMark) Reset() {
  2431. *x = MapMark{}
  2432. mi := &file_map_proto_msgTypes[32]
  2433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2434. ms.StoreMessageInfo(mi)
  2435. }
  2436. func (x *MapMark) String() string {
  2437. return protoimpl.X.MessageStringOf(x)
  2438. }
  2439. func (*MapMark) ProtoMessage() {}
  2440. func (x *MapMark) ProtoReflect() protoreflect.Message {
  2441. mi := &file_map_proto_msgTypes[32]
  2442. if x != nil {
  2443. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2444. if ms.LoadMessageInfo() == nil {
  2445. ms.StoreMessageInfo(mi)
  2446. }
  2447. return ms
  2448. }
  2449. return mi.MessageOf(x)
  2450. }
  2451. // Deprecated: Use MapMark.ProtoReflect.Descriptor instead.
  2452. func (*MapMark) Descriptor() ([]byte, []int) {
  2453. return file_map_proto_rawDescGZIP(), []int{32}
  2454. }
  2455. func (x *MapMark) GetMarkID() int32 {
  2456. if x != nil {
  2457. return x.MarkID
  2458. }
  2459. return 0
  2460. }
  2461. func (x *MapMark) GetTitle() string {
  2462. if x != nil {
  2463. return x.Title
  2464. }
  2465. return ""
  2466. }
  2467. func (x *MapMark) GetDesc() string {
  2468. if x != nil {
  2469. return x.Desc
  2470. }
  2471. return ""
  2472. }
  2473. func (x *MapMark) GetPoint() *Point {
  2474. if x != nil {
  2475. return x.Point
  2476. }
  2477. return nil
  2478. }
  2479. func (x *MapMark) GetCommand() int32 {
  2480. if x != nil {
  2481. return x.Command
  2482. }
  2483. return 0
  2484. }
  2485. func (x *MapMark) GetMarkTime() int64 {
  2486. if x != nil {
  2487. return x.MarkTime
  2488. }
  2489. return 0
  2490. }
  2491. // 玩家地图标记
  2492. type MapMarkRequest struct {
  2493. state protoimpl.MessageState `protogen:"open.v1"`
  2494. // 标记标题 如果为玩家标记 当前为空时 则使用地块名称
  2495. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
  2496. // 标记描述
  2497. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
  2498. // 标记坐标
  2499. Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
  2500. // 标记指令 0未选择 1撤退 2集合 3防守 4进攻 5扎营 6建造
  2501. Command int32 `protobuf:"varint,4,opt,name=command,proto3" json:"command,omitempty"`
  2502. unknownFields protoimpl.UnknownFields
  2503. sizeCache protoimpl.SizeCache
  2504. }
  2505. func (x *MapMarkRequest) Reset() {
  2506. *x = MapMarkRequest{}
  2507. mi := &file_map_proto_msgTypes[33]
  2508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2509. ms.StoreMessageInfo(mi)
  2510. }
  2511. func (x *MapMarkRequest) String() string {
  2512. return protoimpl.X.MessageStringOf(x)
  2513. }
  2514. func (*MapMarkRequest) ProtoMessage() {}
  2515. func (x *MapMarkRequest) ProtoReflect() protoreflect.Message {
  2516. mi := &file_map_proto_msgTypes[33]
  2517. if x != nil {
  2518. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2519. if ms.LoadMessageInfo() == nil {
  2520. ms.StoreMessageInfo(mi)
  2521. }
  2522. return ms
  2523. }
  2524. return mi.MessageOf(x)
  2525. }
  2526. // Deprecated: Use MapMarkRequest.ProtoReflect.Descriptor instead.
  2527. func (*MapMarkRequest) Descriptor() ([]byte, []int) {
  2528. return file_map_proto_rawDescGZIP(), []int{33}
  2529. }
  2530. func (x *MapMarkRequest) GetTitle() string {
  2531. if x != nil {
  2532. return x.Title
  2533. }
  2534. return ""
  2535. }
  2536. func (x *MapMarkRequest) GetDesc() string {
  2537. if x != nil {
  2538. return x.Desc
  2539. }
  2540. return ""
  2541. }
  2542. func (x *MapMarkRequest) GetPoint() *Point {
  2543. if x != nil {
  2544. return x.Point
  2545. }
  2546. return nil
  2547. }
  2548. func (x *MapMarkRequest) GetCommand() int32 {
  2549. if x != nil {
  2550. return x.Command
  2551. }
  2552. return 0
  2553. }
  2554. // 玩家地图标记
  2555. type MapMarkEditRequest struct {
  2556. state protoimpl.MessageState `protogen:"open.v1"`
  2557. // 地图标记ID
  2558. MarkID int32 `protobuf:"varint,1,opt,name=markID,proto3" json:"markID,omitempty"`
  2559. // 标记标题 如果为玩家标记 当前为空时 则使用地块名称
  2560. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  2561. // 标记描述
  2562. Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
  2563. // 标记指令 0未选择 1撤退 2集合 3防守 4进攻 5扎营 6建造
  2564. Command int32 `protobuf:"varint,4,opt,name=command,proto3" json:"command,omitempty"`
  2565. unknownFields protoimpl.UnknownFields
  2566. sizeCache protoimpl.SizeCache
  2567. }
  2568. func (x *MapMarkEditRequest) Reset() {
  2569. *x = MapMarkEditRequest{}
  2570. mi := &file_map_proto_msgTypes[34]
  2571. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2572. ms.StoreMessageInfo(mi)
  2573. }
  2574. func (x *MapMarkEditRequest) String() string {
  2575. return protoimpl.X.MessageStringOf(x)
  2576. }
  2577. func (*MapMarkEditRequest) ProtoMessage() {}
  2578. func (x *MapMarkEditRequest) ProtoReflect() protoreflect.Message {
  2579. mi := &file_map_proto_msgTypes[34]
  2580. if x != nil {
  2581. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2582. if ms.LoadMessageInfo() == nil {
  2583. ms.StoreMessageInfo(mi)
  2584. }
  2585. return ms
  2586. }
  2587. return mi.MessageOf(x)
  2588. }
  2589. // Deprecated: Use MapMarkEditRequest.ProtoReflect.Descriptor instead.
  2590. func (*MapMarkEditRequest) Descriptor() ([]byte, []int) {
  2591. return file_map_proto_rawDescGZIP(), []int{34}
  2592. }
  2593. func (x *MapMarkEditRequest) GetMarkID() int32 {
  2594. if x != nil {
  2595. return x.MarkID
  2596. }
  2597. return 0
  2598. }
  2599. func (x *MapMarkEditRequest) GetTitle() string {
  2600. if x != nil {
  2601. return x.Title
  2602. }
  2603. return ""
  2604. }
  2605. func (x *MapMarkEditRequest) GetDesc() string {
  2606. if x != nil {
  2607. return x.Desc
  2608. }
  2609. return ""
  2610. }
  2611. func (x *MapMarkEditRequest) GetCommand() int32 {
  2612. if x != nil {
  2613. return x.Command
  2614. }
  2615. return 0
  2616. }
  2617. // 地图战斗推送
  2618. type MapBattlePush struct {
  2619. state protoimpl.MessageState `protogen:"open.v1"`
  2620. // 进攻方的行军对象ID
  2621. AttackMarchObjectID int64 `protobuf:"varint,1,opt,name=attackMarchObjectID,proto3" json:"attackMarchObjectID,omitempty"`
  2622. // 进攻方主将英雄配置ID
  2623. AttackHeroConfigID int32 `protobuf:"varint,2,opt,name=attackHeroConfigID,proto3" json:"attackHeroConfigID,omitempty"`
  2624. // 进攻方行军展示信息
  2625. AttackMarchView *MarchView `protobuf:"bytes,3,opt,name=attackMarchView,proto3" json:"attackMarchView,omitempty"`
  2626. // 防守方的行军对象ID(PVE为0)
  2627. DefendMarchObjectID int64 `protobuf:"varint,11,opt,name=defendMarchObjectID,proto3" json:"defendMarchObjectID,omitempty"`
  2628. // 防守方主将英雄配置ID
  2629. DefendHeroConfigID int32 `protobuf:"varint,12,opt,name=defendHeroConfigID,proto3" json:"defendHeroConfigID,omitempty"`
  2630. // 防守方行军展示信息
  2631. DefendMarchView *MarchView `protobuf:"bytes,13,opt,name=defendMarchView,proto3" json:"defendMarchView,omitempty"`
  2632. // 防守方的怪物组ID(PVP为0)
  2633. DefendMonsterGroupID int32 `protobuf:"varint,14,opt,name=defendMonsterGroupID,proto3" json:"defendMonsterGroupID,omitempty"`
  2634. // 战斗类型,区分PVE和PVP
  2635. // 见 tile_battle_type.go -> TileBattleType 战斗类型
  2636. BattleType int32 `protobuf:"varint,21,opt,name=battleType,proto3" json:"battleType,omitempty"`
  2637. // 是否胜利(以进攻方为视角)
  2638. IsWin bool `protobuf:"varint,22,opt,name=isWin,proto3" json:"isWin,omitempty"`
  2639. // 发生战斗的坐标
  2640. Point *Point `protobuf:"bytes,23,opt,name=point,proto3" json:"point,omitempty"`
  2641. unknownFields protoimpl.UnknownFields
  2642. sizeCache protoimpl.SizeCache
  2643. }
  2644. func (x *MapBattlePush) Reset() {
  2645. *x = MapBattlePush{}
  2646. mi := &file_map_proto_msgTypes[35]
  2647. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2648. ms.StoreMessageInfo(mi)
  2649. }
  2650. func (x *MapBattlePush) String() string {
  2651. return protoimpl.X.MessageStringOf(x)
  2652. }
  2653. func (*MapBattlePush) ProtoMessage() {}
  2654. func (x *MapBattlePush) ProtoReflect() protoreflect.Message {
  2655. mi := &file_map_proto_msgTypes[35]
  2656. if x != nil {
  2657. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2658. if ms.LoadMessageInfo() == nil {
  2659. ms.StoreMessageInfo(mi)
  2660. }
  2661. return ms
  2662. }
  2663. return mi.MessageOf(x)
  2664. }
  2665. // Deprecated: Use MapBattlePush.ProtoReflect.Descriptor instead.
  2666. func (*MapBattlePush) Descriptor() ([]byte, []int) {
  2667. return file_map_proto_rawDescGZIP(), []int{35}
  2668. }
  2669. func (x *MapBattlePush) GetAttackMarchObjectID() int64 {
  2670. if x != nil {
  2671. return x.AttackMarchObjectID
  2672. }
  2673. return 0
  2674. }
  2675. func (x *MapBattlePush) GetAttackHeroConfigID() int32 {
  2676. if x != nil {
  2677. return x.AttackHeroConfigID
  2678. }
  2679. return 0
  2680. }
  2681. func (x *MapBattlePush) GetAttackMarchView() *MarchView {
  2682. if x != nil {
  2683. return x.AttackMarchView
  2684. }
  2685. return nil
  2686. }
  2687. func (x *MapBattlePush) GetDefendMarchObjectID() int64 {
  2688. if x != nil {
  2689. return x.DefendMarchObjectID
  2690. }
  2691. return 0
  2692. }
  2693. func (x *MapBattlePush) GetDefendHeroConfigID() int32 {
  2694. if x != nil {
  2695. return x.DefendHeroConfigID
  2696. }
  2697. return 0
  2698. }
  2699. func (x *MapBattlePush) GetDefendMarchView() *MarchView {
  2700. if x != nil {
  2701. return x.DefendMarchView
  2702. }
  2703. return nil
  2704. }
  2705. func (x *MapBattlePush) GetDefendMonsterGroupID() int32 {
  2706. if x != nil {
  2707. return x.DefendMonsterGroupID
  2708. }
  2709. return 0
  2710. }
  2711. func (x *MapBattlePush) GetBattleType() int32 {
  2712. if x != nil {
  2713. return x.BattleType
  2714. }
  2715. return 0
  2716. }
  2717. func (x *MapBattlePush) GetIsWin() bool {
  2718. if x != nil {
  2719. return x.IsWin
  2720. }
  2721. return false
  2722. }
  2723. func (x *MapBattlePush) GetPoint() *Point {
  2724. if x != nil {
  2725. return x.Point
  2726. }
  2727. return nil
  2728. }
  2729. // [请求] 攻城集结
  2730. type SiegeAssembleRequest struct {
  2731. state protoimpl.MessageState `protogen:"open.v1"`
  2732. // 队伍ID
  2733. TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
  2734. // 攻城大营对象ID
  2735. SiegeBaseObjectID int64 `protobuf:"varint,2,opt,name=siegeBaseObjectID,proto3" json:"siegeBaseObjectID,omitempty"`
  2736. // 是否作为攻城主力部队
  2737. IsMainForce bool `protobuf:"varint,3,opt,name=isMainForce,proto3" json:"isMainForce,omitempty"`
  2738. unknownFields protoimpl.UnknownFields
  2739. sizeCache protoimpl.SizeCache
  2740. }
  2741. func (x *SiegeAssembleRequest) Reset() {
  2742. *x = SiegeAssembleRequest{}
  2743. mi := &file_map_proto_msgTypes[36]
  2744. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2745. ms.StoreMessageInfo(mi)
  2746. }
  2747. func (x *SiegeAssembleRequest) String() string {
  2748. return protoimpl.X.MessageStringOf(x)
  2749. }
  2750. func (*SiegeAssembleRequest) ProtoMessage() {}
  2751. func (x *SiegeAssembleRequest) ProtoReflect() protoreflect.Message {
  2752. mi := &file_map_proto_msgTypes[36]
  2753. if x != nil {
  2754. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2755. if ms.LoadMessageInfo() == nil {
  2756. ms.StoreMessageInfo(mi)
  2757. }
  2758. return ms
  2759. }
  2760. return mi.MessageOf(x)
  2761. }
  2762. // Deprecated: Use SiegeAssembleRequest.ProtoReflect.Descriptor instead.
  2763. func (*SiegeAssembleRequest) Descriptor() ([]byte, []int) {
  2764. return file_map_proto_rawDescGZIP(), []int{36}
  2765. }
  2766. func (x *SiegeAssembleRequest) GetTeamID() int32 {
  2767. if x != nil {
  2768. return x.TeamID
  2769. }
  2770. return 0
  2771. }
  2772. func (x *SiegeAssembleRequest) GetSiegeBaseObjectID() int64 {
  2773. if x != nil {
  2774. return x.SiegeBaseObjectID
  2775. }
  2776. return 0
  2777. }
  2778. func (x *SiegeAssembleRequest) GetIsMainForce() bool {
  2779. if x != nil {
  2780. return x.IsMainForce
  2781. }
  2782. return false
  2783. }
  2784. // 地图战争信息
  2785. type War struct {
  2786. state protoimpl.MessageState `protogen:"open.v1"`
  2787. // 宣战的系统城对象ID
  2788. CastleObjectID int64 `protobuf:"varint,1,opt,name=castleObjectID,proto3" json:"castleObjectID,omitempty"`
  2789. // 宣战的系统城配置ID
  2790. CastleConfigID int32 `protobuf:"varint,2,opt,name=castleConfigID,proto3" json:"castleConfigID,omitempty"`
  2791. // 宣战的系统城坐标
  2792. CastlePoint *Point `protobuf:"bytes,3,opt,name=castlePoint,proto3" json:"castlePoint,omitempty"`
  2793. // 宣战的攻城地基对象ID
  2794. SiegeBaseObjectID int64 `protobuf:"varint,4,opt,name=siegeBaseObjectID,proto3" json:"siegeBaseObjectID,omitempty"`
  2795. // 宣战的攻城地基配置ID
  2796. SiegeBaseConfigID int32 `protobuf:"varint,5,opt,name=siegeBaseConfigID,proto3" json:"siegeBaseConfigID,omitempty"`
  2797. // 宣战的攻城地基坐标
  2798. SiegeBasePoint *Point `protobuf:"bytes,6,opt,name=siegeBasePoint,proto3" json:"siegeBasePoint,omitempty"`
  2799. // 战争阶段, 见 siege_stage.go 文件 SiegeStage 枚举
  2800. Stage int32 `protobuf:"varint,10,opt,name=stage,proto3" json:"stage,omitempty"`
  2801. // 当前阶段结束时间(毫秒)
  2802. StageEndTime int64 `protobuf:"varint,11,opt,name=stageEndTime,proto3" json:"stageEndTime,omitempty"`
  2803. // 攻城主力部队数量
  2804. MainForceNum int32 `protobuf:"varint,20,opt,name=mainForceNum,proto3" json:"mainForceNum,omitempty"`
  2805. // 攻城拆迁部队数量
  2806. SiegeSquadNum int32 `protobuf:"varint,21,opt,name=siegeSquadNum,proto3" json:"siegeSquadNum,omitempty"`
  2807. unknownFields protoimpl.UnknownFields
  2808. sizeCache protoimpl.SizeCache
  2809. }
  2810. func (x *War) Reset() {
  2811. *x = War{}
  2812. mi := &file_map_proto_msgTypes[37]
  2813. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2814. ms.StoreMessageInfo(mi)
  2815. }
  2816. func (x *War) String() string {
  2817. return protoimpl.X.MessageStringOf(x)
  2818. }
  2819. func (*War) ProtoMessage() {}
  2820. func (x *War) ProtoReflect() protoreflect.Message {
  2821. mi := &file_map_proto_msgTypes[37]
  2822. if x != nil {
  2823. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2824. if ms.LoadMessageInfo() == nil {
  2825. ms.StoreMessageInfo(mi)
  2826. }
  2827. return ms
  2828. }
  2829. return mi.MessageOf(x)
  2830. }
  2831. // Deprecated: Use War.ProtoReflect.Descriptor instead.
  2832. func (*War) Descriptor() ([]byte, []int) {
  2833. return file_map_proto_rawDescGZIP(), []int{37}
  2834. }
  2835. func (x *War) GetCastleObjectID() int64 {
  2836. if x != nil {
  2837. return x.CastleObjectID
  2838. }
  2839. return 0
  2840. }
  2841. func (x *War) GetCastleConfigID() int32 {
  2842. if x != nil {
  2843. return x.CastleConfigID
  2844. }
  2845. return 0
  2846. }
  2847. func (x *War) GetCastlePoint() *Point {
  2848. if x != nil {
  2849. return x.CastlePoint
  2850. }
  2851. return nil
  2852. }
  2853. func (x *War) GetSiegeBaseObjectID() int64 {
  2854. if x != nil {
  2855. return x.SiegeBaseObjectID
  2856. }
  2857. return 0
  2858. }
  2859. func (x *War) GetSiegeBaseConfigID() int32 {
  2860. if x != nil {
  2861. return x.SiegeBaseConfigID
  2862. }
  2863. return 0
  2864. }
  2865. func (x *War) GetSiegeBasePoint() *Point {
  2866. if x != nil {
  2867. return x.SiegeBasePoint
  2868. }
  2869. return nil
  2870. }
  2871. func (x *War) GetStage() int32 {
  2872. if x != nil {
  2873. return x.Stage
  2874. }
  2875. return 0
  2876. }
  2877. func (x *War) GetStageEndTime() int64 {
  2878. if x != nil {
  2879. return x.StageEndTime
  2880. }
  2881. return 0
  2882. }
  2883. func (x *War) GetMainForceNum() int32 {
  2884. if x != nil {
  2885. return x.MainForceNum
  2886. }
  2887. return 0
  2888. }
  2889. func (x *War) GetSiegeSquadNum() int32 {
  2890. if x != nil {
  2891. return x.SiegeSquadNum
  2892. }
  2893. return 0
  2894. }
  2895. // 地图战争列表
  2896. type WarList struct {
  2897. state protoimpl.MessageState `protogen:"open.v1"`
  2898. List []*War `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  2899. unknownFields protoimpl.UnknownFields
  2900. sizeCache protoimpl.SizeCache
  2901. }
  2902. func (x *WarList) Reset() {
  2903. *x = WarList{}
  2904. mi := &file_map_proto_msgTypes[38]
  2905. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2906. ms.StoreMessageInfo(mi)
  2907. }
  2908. func (x *WarList) String() string {
  2909. return protoimpl.X.MessageStringOf(x)
  2910. }
  2911. func (*WarList) ProtoMessage() {}
  2912. func (x *WarList) ProtoReflect() protoreflect.Message {
  2913. mi := &file_map_proto_msgTypes[38]
  2914. if x != nil {
  2915. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2916. if ms.LoadMessageInfo() == nil {
  2917. ms.StoreMessageInfo(mi)
  2918. }
  2919. return ms
  2920. }
  2921. return mi.MessageOf(x)
  2922. }
  2923. // Deprecated: Use WarList.ProtoReflect.Descriptor instead.
  2924. func (*WarList) Descriptor() ([]byte, []int) {
  2925. return file_map_proto_rawDescGZIP(), []int{38}
  2926. }
  2927. func (x *WarList) GetList() []*War {
  2928. if x != nil {
  2929. return x.List
  2930. }
  2931. return nil
  2932. }
  2933. // 攻城首占排名
  2934. type SiegeRank struct {
  2935. state protoimpl.MessageState `protogen:"open.v1"`
  2936. // 建筑对象ID
  2937. BuildObjectID int64 `protobuf:"varint,1,opt,name=buildObjectID,proto3" json:"buildObjectID,omitempty"`
  2938. // 杀敌排行 key: 杀敌数 value: 玩家名
  2939. KillRank []*I32Str `protobuf:"bytes,2,rep,name=killRank,proto3" json:"killRank,omitempty"`
  2940. // 耐久排行 key: 耐久数 value: 玩家名
  2941. DurabilityRank []*I32Str `protobuf:"bytes,3,rep,name=durabilityRank,proto3" json:"durabilityRank,omitempty"`
  2942. unknownFields protoimpl.UnknownFields
  2943. sizeCache protoimpl.SizeCache
  2944. }
  2945. func (x *SiegeRank) Reset() {
  2946. *x = SiegeRank{}
  2947. mi := &file_map_proto_msgTypes[39]
  2948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2949. ms.StoreMessageInfo(mi)
  2950. }
  2951. func (x *SiegeRank) String() string {
  2952. return protoimpl.X.MessageStringOf(x)
  2953. }
  2954. func (*SiegeRank) ProtoMessage() {}
  2955. func (x *SiegeRank) ProtoReflect() protoreflect.Message {
  2956. mi := &file_map_proto_msgTypes[39]
  2957. if x != nil {
  2958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2959. if ms.LoadMessageInfo() == nil {
  2960. ms.StoreMessageInfo(mi)
  2961. }
  2962. return ms
  2963. }
  2964. return mi.MessageOf(x)
  2965. }
  2966. // Deprecated: Use SiegeRank.ProtoReflect.Descriptor instead.
  2967. func (*SiegeRank) Descriptor() ([]byte, []int) {
  2968. return file_map_proto_rawDescGZIP(), []int{39}
  2969. }
  2970. func (x *SiegeRank) GetBuildObjectID() int64 {
  2971. if x != nil {
  2972. return x.BuildObjectID
  2973. }
  2974. return 0
  2975. }
  2976. func (x *SiegeRank) GetKillRank() []*I32Str {
  2977. if x != nil {
  2978. return x.KillRank
  2979. }
  2980. return nil
  2981. }
  2982. func (x *SiegeRank) GetDurabilityRank() []*I32Str {
  2983. if x != nil {
  2984. return x.DurabilityRank
  2985. }
  2986. return nil
  2987. }
  2988. // 攻城结果推送
  2989. type SiegeResult struct {
  2990. state protoimpl.MessageState `protogen:"open.v1"`
  2991. // 联盟ID
  2992. LeagueID int64 `protobuf:"varint,1,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  2993. // 联盟名
  2994. LeagueName string `protobuf:"bytes,2,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
  2995. // 建筑ID
  2996. BuildObjectID int64 `protobuf:"varint,10,opt,name=buildObjectID,proto3" json:"buildObjectID,omitempty"`
  2997. // 建筑配置ID
  2998. BuildConfigID int32 `protobuf:"varint,11,opt,name=buildConfigID,proto3" json:"buildConfigID,omitempty"`
  2999. // 杀敌数据
  3000. KillData []*SiegeData `protobuf:"bytes,20,rep,name=killData,proto3" json:"killData,omitempty"`
  3001. // 攻城数据
  3002. SiegeData []*SiegeData `protobuf:"bytes,21,rep,name=siegeData,proto3" json:"siegeData,omitempty"`
  3003. // 最后一击玩家信息
  3004. LastKill *SiegePlayer `protobuf:"bytes,22,opt,name=lastKill,proto3" json:"lastKill,omitempty"`
  3005. unknownFields protoimpl.UnknownFields
  3006. sizeCache protoimpl.SizeCache
  3007. }
  3008. func (x *SiegeResult) Reset() {
  3009. *x = SiegeResult{}
  3010. mi := &file_map_proto_msgTypes[40]
  3011. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3012. ms.StoreMessageInfo(mi)
  3013. }
  3014. func (x *SiegeResult) String() string {
  3015. return protoimpl.X.MessageStringOf(x)
  3016. }
  3017. func (*SiegeResult) ProtoMessage() {}
  3018. func (x *SiegeResult) ProtoReflect() protoreflect.Message {
  3019. mi := &file_map_proto_msgTypes[40]
  3020. if x != nil {
  3021. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3022. if ms.LoadMessageInfo() == nil {
  3023. ms.StoreMessageInfo(mi)
  3024. }
  3025. return ms
  3026. }
  3027. return mi.MessageOf(x)
  3028. }
  3029. // Deprecated: Use SiegeResult.ProtoReflect.Descriptor instead.
  3030. func (*SiegeResult) Descriptor() ([]byte, []int) {
  3031. return file_map_proto_rawDescGZIP(), []int{40}
  3032. }
  3033. func (x *SiegeResult) GetLeagueID() int64 {
  3034. if x != nil {
  3035. return x.LeagueID
  3036. }
  3037. return 0
  3038. }
  3039. func (x *SiegeResult) GetLeagueName() string {
  3040. if x != nil {
  3041. return x.LeagueName
  3042. }
  3043. return ""
  3044. }
  3045. func (x *SiegeResult) GetBuildObjectID() int64 {
  3046. if x != nil {
  3047. return x.BuildObjectID
  3048. }
  3049. return 0
  3050. }
  3051. func (x *SiegeResult) GetBuildConfigID() int32 {
  3052. if x != nil {
  3053. return x.BuildConfigID
  3054. }
  3055. return 0
  3056. }
  3057. func (x *SiegeResult) GetKillData() []*SiegeData {
  3058. if x != nil {
  3059. return x.KillData
  3060. }
  3061. return nil
  3062. }
  3063. func (x *SiegeResult) GetSiegeData() []*SiegeData {
  3064. if x != nil {
  3065. return x.SiegeData
  3066. }
  3067. return nil
  3068. }
  3069. func (x *SiegeResult) GetLastKill() *SiegePlayer {
  3070. if x != nil {
  3071. return x.LastKill
  3072. }
  3073. return nil
  3074. }
  3075. // 攻城结果
  3076. type SiegeData struct {
  3077. state protoimpl.MessageState `protogen:"open.v1"`
  3078. // 玩家信息
  3079. Player *SiegePlayer `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"`
  3080. // 值
  3081. Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  3082. unknownFields protoimpl.UnknownFields
  3083. sizeCache protoimpl.SizeCache
  3084. }
  3085. func (x *SiegeData) Reset() {
  3086. *x = SiegeData{}
  3087. mi := &file_map_proto_msgTypes[41]
  3088. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3089. ms.StoreMessageInfo(mi)
  3090. }
  3091. func (x *SiegeData) String() string {
  3092. return protoimpl.X.MessageStringOf(x)
  3093. }
  3094. func (*SiegeData) ProtoMessage() {}
  3095. func (x *SiegeData) ProtoReflect() protoreflect.Message {
  3096. mi := &file_map_proto_msgTypes[41]
  3097. if x != nil {
  3098. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3099. if ms.LoadMessageInfo() == nil {
  3100. ms.StoreMessageInfo(mi)
  3101. }
  3102. return ms
  3103. }
  3104. return mi.MessageOf(x)
  3105. }
  3106. // Deprecated: Use SiegeData.ProtoReflect.Descriptor instead.
  3107. func (*SiegeData) Descriptor() ([]byte, []int) {
  3108. return file_map_proto_rawDescGZIP(), []int{41}
  3109. }
  3110. func (x *SiegeData) GetPlayer() *SiegePlayer {
  3111. if x != nil {
  3112. return x.Player
  3113. }
  3114. return nil
  3115. }
  3116. func (x *SiegeData) GetValue() int32 {
  3117. if x != nil {
  3118. return x.Value
  3119. }
  3120. return 0
  3121. }
  3122. type SiegePlayer struct {
  3123. state protoimpl.MessageState `protogen:"open.v1"`
  3124. // 玩家ID
  3125. PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
  3126. // 玩家名
  3127. PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"`
  3128. // 玩家头像
  3129. IconID int32 `protobuf:"varint,3,opt,name=iconID,proto3" json:"iconID,omitempty"`
  3130. // 玩家头像框ID
  3131. FrameID int32 `protobuf:"varint,4,opt,name=frameID,proto3" json:"frameID,omitempty"`
  3132. unknownFields protoimpl.UnknownFields
  3133. sizeCache protoimpl.SizeCache
  3134. }
  3135. func (x *SiegePlayer) Reset() {
  3136. *x = SiegePlayer{}
  3137. mi := &file_map_proto_msgTypes[42]
  3138. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3139. ms.StoreMessageInfo(mi)
  3140. }
  3141. func (x *SiegePlayer) String() string {
  3142. return protoimpl.X.MessageStringOf(x)
  3143. }
  3144. func (*SiegePlayer) ProtoMessage() {}
  3145. func (x *SiegePlayer) ProtoReflect() protoreflect.Message {
  3146. mi := &file_map_proto_msgTypes[42]
  3147. if x != nil {
  3148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3149. if ms.LoadMessageInfo() == nil {
  3150. ms.StoreMessageInfo(mi)
  3151. }
  3152. return ms
  3153. }
  3154. return mi.MessageOf(x)
  3155. }
  3156. // Deprecated: Use SiegePlayer.ProtoReflect.Descriptor instead.
  3157. func (*SiegePlayer) Descriptor() ([]byte, []int) {
  3158. return file_map_proto_rawDescGZIP(), []int{42}
  3159. }
  3160. func (x *SiegePlayer) GetPlayerID() int64 {
  3161. if x != nil {
  3162. return x.PlayerID
  3163. }
  3164. return 0
  3165. }
  3166. func (x *SiegePlayer) GetPlayerName() string {
  3167. if x != nil {
  3168. return x.PlayerName
  3169. }
  3170. return ""
  3171. }
  3172. func (x *SiegePlayer) GetIconID() int32 {
  3173. if x != nil {
  3174. return x.IconID
  3175. }
  3176. return 0
  3177. }
  3178. func (x *SiegePlayer) GetFrameID() int32 {
  3179. if x != nil {
  3180. return x.FrameID
  3181. }
  3182. return 0
  3183. }
  3184. // 行军展示信息
  3185. type MarchView struct {
  3186. state protoimpl.MessageState `protogen:"open.v1"`
  3187. // 行军展示ID(配置文件中)
  3188. MarchViewID int32 `protobuf:"varint,1,opt,name=marchViewID,proto3" json:"marchViewID,omitempty"`
  3189. // 兵种ID1
  3190. ArmID1 int32 `protobuf:"varint,2,opt,name=armID1,proto3" json:"armID1,omitempty"`
  3191. // 兵种ID2
  3192. ArmID2 int32 `protobuf:"varint,3,opt,name=armID2,proto3" json:"armID2,omitempty"`
  3193. // 兵种ID3
  3194. ArmID3 int32 `protobuf:"varint,4,opt,name=armID3,proto3" json:"armID3,omitempty"`
  3195. unknownFields protoimpl.UnknownFields
  3196. sizeCache protoimpl.SizeCache
  3197. }
  3198. func (x *MarchView) Reset() {
  3199. *x = MarchView{}
  3200. mi := &file_map_proto_msgTypes[43]
  3201. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3202. ms.StoreMessageInfo(mi)
  3203. }
  3204. func (x *MarchView) String() string {
  3205. return protoimpl.X.MessageStringOf(x)
  3206. }
  3207. func (*MarchView) ProtoMessage() {}
  3208. func (x *MarchView) ProtoReflect() protoreflect.Message {
  3209. mi := &file_map_proto_msgTypes[43]
  3210. if x != nil {
  3211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3212. if ms.LoadMessageInfo() == nil {
  3213. ms.StoreMessageInfo(mi)
  3214. }
  3215. return ms
  3216. }
  3217. return mi.MessageOf(x)
  3218. }
  3219. // Deprecated: Use MarchView.ProtoReflect.Descriptor instead.
  3220. func (*MarchView) Descriptor() ([]byte, []int) {
  3221. return file_map_proto_rawDescGZIP(), []int{43}
  3222. }
  3223. func (x *MarchView) GetMarchViewID() int32 {
  3224. if x != nil {
  3225. return x.MarchViewID
  3226. }
  3227. return 0
  3228. }
  3229. func (x *MarchView) GetArmID1() int32 {
  3230. if x != nil {
  3231. return x.ArmID1
  3232. }
  3233. return 0
  3234. }
  3235. func (x *MarchView) GetArmID2() int32 {
  3236. if x != nil {
  3237. return x.ArmID2
  3238. }
  3239. return 0
  3240. }
  3241. func (x *MarchView) GetArmID3() int32 {
  3242. if x != nil {
  3243. return x.ArmID3
  3244. }
  3245. return 0
  3246. }
  3247. // 寻路请求
  3248. type MapFindPathRequest struct {
  3249. state protoimpl.MessageState `protogen:"open.v1"`
  3250. // 选择的队伍ID
  3251. TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
  3252. // 目标坐标点
  3253. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
  3254. unknownFields protoimpl.UnknownFields
  3255. sizeCache protoimpl.SizeCache
  3256. }
  3257. func (x *MapFindPathRequest) Reset() {
  3258. *x = MapFindPathRequest{}
  3259. mi := &file_map_proto_msgTypes[44]
  3260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3261. ms.StoreMessageInfo(mi)
  3262. }
  3263. func (x *MapFindPathRequest) String() string {
  3264. return protoimpl.X.MessageStringOf(x)
  3265. }
  3266. func (*MapFindPathRequest) ProtoMessage() {}
  3267. func (x *MapFindPathRequest) ProtoReflect() protoreflect.Message {
  3268. mi := &file_map_proto_msgTypes[44]
  3269. if x != nil {
  3270. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3271. if ms.LoadMessageInfo() == nil {
  3272. ms.StoreMessageInfo(mi)
  3273. }
  3274. return ms
  3275. }
  3276. return mi.MessageOf(x)
  3277. }
  3278. // Deprecated: Use MapFindPathRequest.ProtoReflect.Descriptor instead.
  3279. func (*MapFindPathRequest) Descriptor() ([]byte, []int) {
  3280. return file_map_proto_rawDescGZIP(), []int{44}
  3281. }
  3282. func (x *MapFindPathRequest) GetTeamID() int32 {
  3283. if x != nil {
  3284. return x.TeamID
  3285. }
  3286. return 0
  3287. }
  3288. func (x *MapFindPathRequest) GetPoint() *Point {
  3289. if x != nil {
  3290. return x.Point
  3291. }
  3292. return nil
  3293. }
  3294. // 再起信息
  3295. type ComebackResponse struct {
  3296. state protoimpl.MessageState `protogen:"open.v1"`
  3297. // 新的坐标点
  3298. Point *Point `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
  3299. // 冷却结束时间(毫秒)
  3300. ComebackEndTime int64 `protobuf:"varint,2,opt,name=comebackEndTime,proto3" json:"comebackEndTime,omitempty"`
  3301. unknownFields protoimpl.UnknownFields
  3302. sizeCache protoimpl.SizeCache
  3303. }
  3304. func (x *ComebackResponse) Reset() {
  3305. *x = ComebackResponse{}
  3306. mi := &file_map_proto_msgTypes[45]
  3307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3308. ms.StoreMessageInfo(mi)
  3309. }
  3310. func (x *ComebackResponse) String() string {
  3311. return protoimpl.X.MessageStringOf(x)
  3312. }
  3313. func (*ComebackResponse) ProtoMessage() {}
  3314. func (x *ComebackResponse) ProtoReflect() protoreflect.Message {
  3315. mi := &file_map_proto_msgTypes[45]
  3316. if x != nil {
  3317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3318. if ms.LoadMessageInfo() == nil {
  3319. ms.StoreMessageInfo(mi)
  3320. }
  3321. return ms
  3322. }
  3323. return mi.MessageOf(x)
  3324. }
  3325. // Deprecated: Use ComebackResponse.ProtoReflect.Descriptor instead.
  3326. func (*ComebackResponse) Descriptor() ([]byte, []int) {
  3327. return file_map_proto_rawDescGZIP(), []int{45}
  3328. }
  3329. func (x *ComebackResponse) GetPoint() *Point {
  3330. if x != nil {
  3331. return x.Point
  3332. }
  3333. return nil
  3334. }
  3335. func (x *ComebackResponse) GetComebackEndTime() int64 {
  3336. if x != nil {
  3337. return x.ComebackEndTime
  3338. }
  3339. return 0
  3340. }
  3341. // 重新出生推送
  3342. type RebornPush struct {
  3343. state protoimpl.MessageState `protogen:"open.v1"`
  3344. // 新的坐标点
  3345. Point *Point `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
  3346. // 是否出生失败(客户端要重试)
  3347. IsFailed bool `protobuf:"varint,2,opt,name=isFailed,proto3" json:"isFailed,omitempty"`
  3348. unknownFields protoimpl.UnknownFields
  3349. sizeCache protoimpl.SizeCache
  3350. }
  3351. func (x *RebornPush) Reset() {
  3352. *x = RebornPush{}
  3353. mi := &file_map_proto_msgTypes[46]
  3354. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3355. ms.StoreMessageInfo(mi)
  3356. }
  3357. func (x *RebornPush) String() string {
  3358. return protoimpl.X.MessageStringOf(x)
  3359. }
  3360. func (*RebornPush) ProtoMessage() {}
  3361. func (x *RebornPush) ProtoReflect() protoreflect.Message {
  3362. mi := &file_map_proto_msgTypes[46]
  3363. if x != nil {
  3364. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3365. if ms.LoadMessageInfo() == nil {
  3366. ms.StoreMessageInfo(mi)
  3367. }
  3368. return ms
  3369. }
  3370. return mi.MessageOf(x)
  3371. }
  3372. // Deprecated: Use RebornPush.ProtoReflect.Descriptor instead.
  3373. func (*RebornPush) Descriptor() ([]byte, []int) {
  3374. return file_map_proto_rawDescGZIP(), []int{46}
  3375. }
  3376. func (x *RebornPush) GetPoint() *Point {
  3377. if x != nil {
  3378. return x.Point
  3379. }
  3380. return nil
  3381. }
  3382. func (x *RebornPush) GetIsFailed() bool {
  3383. if x != nil {
  3384. return x.IsFailed
  3385. }
  3386. return false
  3387. }
  3388. // 地图ui层-行军对象列表
  3389. type MapUIMarchs struct {
  3390. state protoimpl.MessageState `protogen:"open.v1"`
  3391. // 对象列表
  3392. List []*MapUIMarch `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  3393. unknownFields protoimpl.UnknownFields
  3394. sizeCache protoimpl.SizeCache
  3395. }
  3396. func (x *MapUIMarchs) Reset() {
  3397. *x = MapUIMarchs{}
  3398. mi := &file_map_proto_msgTypes[47]
  3399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3400. ms.StoreMessageInfo(mi)
  3401. }
  3402. func (x *MapUIMarchs) String() string {
  3403. return protoimpl.X.MessageStringOf(x)
  3404. }
  3405. func (*MapUIMarchs) ProtoMessage() {}
  3406. func (x *MapUIMarchs) ProtoReflect() protoreflect.Message {
  3407. mi := &file_map_proto_msgTypes[47]
  3408. if x != nil {
  3409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3410. if ms.LoadMessageInfo() == nil {
  3411. ms.StoreMessageInfo(mi)
  3412. }
  3413. return ms
  3414. }
  3415. return mi.MessageOf(x)
  3416. }
  3417. // Deprecated: Use MapUIMarchs.ProtoReflect.Descriptor instead.
  3418. func (*MapUIMarchs) Descriptor() ([]byte, []int) {
  3419. return file_map_proto_rawDescGZIP(), []int{47}
  3420. }
  3421. func (x *MapUIMarchs) GetList() []*MapUIMarch {
  3422. if x != nil {
  3423. return x.List
  3424. }
  3425. return nil
  3426. }
  3427. // 地图ui层-行军
  3428. type MapUIMarch struct {
  3429. state protoimpl.MessageState `protogen:"open.v1"`
  3430. // 对象唯一id
  3431. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  3432. // 对象配置ID
  3433. ConfigID int32 `protobuf:"varint,2,opt,name=configID,proto3" json:"configID,omitempty"`
  3434. // 行军状态
  3435. // 见 map.go -> MarchState 行军状态
  3436. MarchState int32 `protobuf:"varint,3,opt,name=marchState,proto3" json:"marchState,omitempty"`
  3437. // 行军展示信息
  3438. MarchView *MarchView `protobuf:"bytes,4,opt,name=marchView,proto3" json:"marchView,omitempty"`
  3439. // 寻路信息(运用于行军/军团等可移动对象)
  3440. Path *MapPath `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
  3441. // 对象所在坐标点
  3442. Point *Point `protobuf:"bytes,6,opt,name=point,proto3" json:"point,omitempty"`
  3443. // 所有者的玩家ID
  3444. PlayerID int64 `protobuf:"varint,7,opt,name=playerID,proto3" json:"playerID,omitempty"`
  3445. // 所有者的联盟ID
  3446. LeagueID int64 `protobuf:"varint,8,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  3447. unknownFields protoimpl.UnknownFields
  3448. sizeCache protoimpl.SizeCache
  3449. }
  3450. func (x *MapUIMarch) Reset() {
  3451. *x = MapUIMarch{}
  3452. mi := &file_map_proto_msgTypes[48]
  3453. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3454. ms.StoreMessageInfo(mi)
  3455. }
  3456. func (x *MapUIMarch) String() string {
  3457. return protoimpl.X.MessageStringOf(x)
  3458. }
  3459. func (*MapUIMarch) ProtoMessage() {}
  3460. func (x *MapUIMarch) ProtoReflect() protoreflect.Message {
  3461. mi := &file_map_proto_msgTypes[48]
  3462. if x != nil {
  3463. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3464. if ms.LoadMessageInfo() == nil {
  3465. ms.StoreMessageInfo(mi)
  3466. }
  3467. return ms
  3468. }
  3469. return mi.MessageOf(x)
  3470. }
  3471. // Deprecated: Use MapUIMarch.ProtoReflect.Descriptor instead.
  3472. func (*MapUIMarch) Descriptor() ([]byte, []int) {
  3473. return file_map_proto_rawDescGZIP(), []int{48}
  3474. }
  3475. func (x *MapUIMarch) GetObjectID() int64 {
  3476. if x != nil {
  3477. return x.ObjectID
  3478. }
  3479. return 0
  3480. }
  3481. func (x *MapUIMarch) GetConfigID() int32 {
  3482. if x != nil {
  3483. return x.ConfigID
  3484. }
  3485. return 0
  3486. }
  3487. func (x *MapUIMarch) GetMarchState() int32 {
  3488. if x != nil {
  3489. return x.MarchState
  3490. }
  3491. return 0
  3492. }
  3493. func (x *MapUIMarch) GetMarchView() *MarchView {
  3494. if x != nil {
  3495. return x.MarchView
  3496. }
  3497. return nil
  3498. }
  3499. func (x *MapUIMarch) GetPath() *MapPath {
  3500. if x != nil {
  3501. return x.Path
  3502. }
  3503. return nil
  3504. }
  3505. func (x *MapUIMarch) GetPoint() *Point {
  3506. if x != nil {
  3507. return x.Point
  3508. }
  3509. return nil
  3510. }
  3511. func (x *MapUIMarch) GetPlayerID() int64 {
  3512. if x != nil {
  3513. return x.PlayerID
  3514. }
  3515. return 0
  3516. }
  3517. func (x *MapUIMarch) GetLeagueID() int64 {
  3518. if x != nil {
  3519. return x.LeagueID
  3520. }
  3521. return 0
  3522. }
  3523. // 地图ui层-系统城对象列表
  3524. type MapUICastles struct {
  3525. state protoimpl.MessageState `protogen:"open.v1"`
  3526. // 对象列表
  3527. List []*MapUICastle `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  3528. unknownFields protoimpl.UnknownFields
  3529. sizeCache protoimpl.SizeCache
  3530. }
  3531. func (x *MapUICastles) Reset() {
  3532. *x = MapUICastles{}
  3533. mi := &file_map_proto_msgTypes[49]
  3534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3535. ms.StoreMessageInfo(mi)
  3536. }
  3537. func (x *MapUICastles) String() string {
  3538. return protoimpl.X.MessageStringOf(x)
  3539. }
  3540. func (*MapUICastles) ProtoMessage() {}
  3541. func (x *MapUICastles) ProtoReflect() protoreflect.Message {
  3542. mi := &file_map_proto_msgTypes[49]
  3543. if x != nil {
  3544. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3545. if ms.LoadMessageInfo() == nil {
  3546. ms.StoreMessageInfo(mi)
  3547. }
  3548. return ms
  3549. }
  3550. return mi.MessageOf(x)
  3551. }
  3552. // Deprecated: Use MapUICastles.ProtoReflect.Descriptor instead.
  3553. func (*MapUICastles) Descriptor() ([]byte, []int) {
  3554. return file_map_proto_rawDescGZIP(), []int{49}
  3555. }
  3556. func (x *MapUICastles) GetList() []*MapUICastle {
  3557. if x != nil {
  3558. return x.List
  3559. }
  3560. return nil
  3561. }
  3562. // 地图ui层-系统城对象列表
  3563. type MapUICastle struct {
  3564. state protoimpl.MessageState `protogen:"open.v1"`
  3565. // 对象唯一id
  3566. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  3567. // 对象所在坐标点
  3568. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
  3569. // 对象配置ID
  3570. ConfigID int32 `protobuf:"varint,3,opt,name=configID,proto3" json:"configID,omitempty"`
  3571. // 占领的联盟ID
  3572. LeagueID int64 `protobuf:"varint,4,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
  3573. // 占领的联盟名称
  3574. LeagueName string `protobuf:"bytes,5,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
  3575. // 占领的联盟简称
  3576. LeagueAbbName string `protobuf:"bytes,6,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
  3577. // 旗帜背景ID L-联盟-旗帜表旗帜ID
  3578. FlagBg int32 `protobuf:"varint,7,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
  3579. // 旗帜图标ID L-联盟-旗帜表旗帜ID
  3580. FlagIcon int32 `protobuf:"varint,8,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
  3581. unknownFields protoimpl.UnknownFields
  3582. sizeCache protoimpl.SizeCache
  3583. }
  3584. func (x *MapUICastle) Reset() {
  3585. *x = MapUICastle{}
  3586. mi := &file_map_proto_msgTypes[50]
  3587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3588. ms.StoreMessageInfo(mi)
  3589. }
  3590. func (x *MapUICastle) String() string {
  3591. return protoimpl.X.MessageStringOf(x)
  3592. }
  3593. func (*MapUICastle) ProtoMessage() {}
  3594. func (x *MapUICastle) ProtoReflect() protoreflect.Message {
  3595. mi := &file_map_proto_msgTypes[50]
  3596. if x != nil {
  3597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3598. if ms.LoadMessageInfo() == nil {
  3599. ms.StoreMessageInfo(mi)
  3600. }
  3601. return ms
  3602. }
  3603. return mi.MessageOf(x)
  3604. }
  3605. // Deprecated: Use MapUICastle.ProtoReflect.Descriptor instead.
  3606. func (*MapUICastle) Descriptor() ([]byte, []int) {
  3607. return file_map_proto_rawDescGZIP(), []int{50}
  3608. }
  3609. func (x *MapUICastle) GetObjectID() int64 {
  3610. if x != nil {
  3611. return x.ObjectID
  3612. }
  3613. return 0
  3614. }
  3615. func (x *MapUICastle) GetPoint() *Point {
  3616. if x != nil {
  3617. return x.Point
  3618. }
  3619. return nil
  3620. }
  3621. func (x *MapUICastle) GetConfigID() int32 {
  3622. if x != nil {
  3623. return x.ConfigID
  3624. }
  3625. return 0
  3626. }
  3627. func (x *MapUICastle) GetLeagueID() int64 {
  3628. if x != nil {
  3629. return x.LeagueID
  3630. }
  3631. return 0
  3632. }
  3633. func (x *MapUICastle) GetLeagueName() string {
  3634. if x != nil {
  3635. return x.LeagueName
  3636. }
  3637. return ""
  3638. }
  3639. func (x *MapUICastle) GetLeagueAbbName() string {
  3640. if x != nil {
  3641. return x.LeagueAbbName
  3642. }
  3643. return ""
  3644. }
  3645. func (x *MapUICastle) GetFlagBg() int32 {
  3646. if x != nil {
  3647. return x.FlagBg
  3648. }
  3649. return 0
  3650. }
  3651. func (x *MapUICastle) GetFlagIcon() int32 {
  3652. if x != nil {
  3653. return x.FlagIcon
  3654. }
  3655. return 0
  3656. }
  3657. // 获取指定对象的坐标
  3658. type MapObjectPositionRequest struct {
  3659. state protoimpl.MessageState `protogen:"open.v1"`
  3660. // 对象唯一id
  3661. ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
  3662. // 对象类型,见 map.go -> ObjectType 地块对象类型
  3663. ObjectType int32 `protobuf:"varint,2,opt,name=objectType,proto3" json:"objectType,omitempty"`
  3664. unknownFields protoimpl.UnknownFields
  3665. sizeCache protoimpl.SizeCache
  3666. }
  3667. func (x *MapObjectPositionRequest) Reset() {
  3668. *x = MapObjectPositionRequest{}
  3669. mi := &file_map_proto_msgTypes[51]
  3670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3671. ms.StoreMessageInfo(mi)
  3672. }
  3673. func (x *MapObjectPositionRequest) String() string {
  3674. return protoimpl.X.MessageStringOf(x)
  3675. }
  3676. func (*MapObjectPositionRequest) ProtoMessage() {}
  3677. func (x *MapObjectPositionRequest) ProtoReflect() protoreflect.Message {
  3678. mi := &file_map_proto_msgTypes[51]
  3679. if x != nil {
  3680. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3681. if ms.LoadMessageInfo() == nil {
  3682. ms.StoreMessageInfo(mi)
  3683. }
  3684. return ms
  3685. }
  3686. return mi.MessageOf(x)
  3687. }
  3688. // Deprecated: Use MapObjectPositionRequest.ProtoReflect.Descriptor instead.
  3689. func (*MapObjectPositionRequest) Descriptor() ([]byte, []int) {
  3690. return file_map_proto_rawDescGZIP(), []int{51}
  3691. }
  3692. func (x *MapObjectPositionRequest) GetObjectID() int64 {
  3693. if x != nil {
  3694. return x.ObjectID
  3695. }
  3696. return 0
  3697. }
  3698. func (x *MapObjectPositionRequest) GetObjectType() int32 {
  3699. if x != nil {
  3700. return x.ObjectType
  3701. }
  3702. return 0
  3703. }
  3704. // 侦察列表(侦察中+空闲)
  3705. type MapScoutList struct {
  3706. state protoimpl.MessageState `protogen:"open.v1"`
  3707. List []*MapScout `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
  3708. unknownFields protoimpl.UnknownFields
  3709. sizeCache protoimpl.SizeCache
  3710. }
  3711. func (x *MapScoutList) Reset() {
  3712. *x = MapScoutList{}
  3713. mi := &file_map_proto_msgTypes[52]
  3714. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3715. ms.StoreMessageInfo(mi)
  3716. }
  3717. func (x *MapScoutList) String() string {
  3718. return protoimpl.X.MessageStringOf(x)
  3719. }
  3720. func (*MapScoutList) ProtoMessage() {}
  3721. func (x *MapScoutList) ProtoReflect() protoreflect.Message {
  3722. mi := &file_map_proto_msgTypes[52]
  3723. if x != nil {
  3724. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3725. if ms.LoadMessageInfo() == nil {
  3726. ms.StoreMessageInfo(mi)
  3727. }
  3728. return ms
  3729. }
  3730. return mi.MessageOf(x)
  3731. }
  3732. // Deprecated: Use MapScoutList.ProtoReflect.Descriptor instead.
  3733. func (*MapScoutList) Descriptor() ([]byte, []int) {
  3734. return file_map_proto_rawDescGZIP(), []int{52}
  3735. }
  3736. func (x *MapScoutList) GetList() []*MapScout {
  3737. if x != nil {
  3738. return x.List
  3739. }
  3740. return nil
  3741. }
  3742. // 侦察信息
  3743. type MapScout struct {
  3744. state protoimpl.MessageState `protogen:"open.v1"`
  3745. // 侦察队列ID
  3746. QueueID int32 `protobuf:"varint,1,opt,name=queueID,proto3" json:"queueID,omitempty"`
  3747. // 侦察坐标 如果为空,则为空闲
  3748. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
  3749. // 侦察结束时间戳(行军+侦察时间) 单位毫秒 0表示空闲
  3750. EndTime int64 `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
  3751. unknownFields protoimpl.UnknownFields
  3752. sizeCache protoimpl.SizeCache
  3753. }
  3754. func (x *MapScout) Reset() {
  3755. *x = MapScout{}
  3756. mi := &file_map_proto_msgTypes[53]
  3757. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3758. ms.StoreMessageInfo(mi)
  3759. }
  3760. func (x *MapScout) String() string {
  3761. return protoimpl.X.MessageStringOf(x)
  3762. }
  3763. func (*MapScout) ProtoMessage() {}
  3764. func (x *MapScout) ProtoReflect() protoreflect.Message {
  3765. mi := &file_map_proto_msgTypes[53]
  3766. if x != nil {
  3767. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3768. if ms.LoadMessageInfo() == nil {
  3769. ms.StoreMessageInfo(mi)
  3770. }
  3771. return ms
  3772. }
  3773. return mi.MessageOf(x)
  3774. }
  3775. // Deprecated: Use MapScout.ProtoReflect.Descriptor instead.
  3776. func (*MapScout) Descriptor() ([]byte, []int) {
  3777. return file_map_proto_rawDescGZIP(), []int{53}
  3778. }
  3779. func (x *MapScout) GetQueueID() int32 {
  3780. if x != nil {
  3781. return x.QueueID
  3782. }
  3783. return 0
  3784. }
  3785. func (x *MapScout) GetPoint() *Point {
  3786. if x != nil {
  3787. return x.Point
  3788. }
  3789. return nil
  3790. }
  3791. func (x *MapScout) GetEndTime() int64 {
  3792. if x != nil {
  3793. return x.EndTime
  3794. }
  3795. return 0
  3796. }
  3797. var File_map_proto protoreflect.FileDescriptor
  3798. const file_map_proto_rawDesc = "" +
  3799. "\n" +
  3800. "\tmap.proto\x12\x02pb\x1a\x0fbase_type.proto\"9\n" +
  3801. "\x0fOwnerMapObjects\x12&\n" +
  3802. "\x04list\x18\x01 \x03(\v2\x12.pb.OwnerMapObjectR\x04list\"\xe1\x01\n" +
  3803. "\x0eOwnerMapObject\x12\x1a\n" +
  3804. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1f\n" +
  3805. "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x1e\n" +
  3806. "\n" +
  3807. "objectType\x18\x03 \x01(\x05R\n" +
  3808. "objectType\x12\x1a\n" +
  3809. "\bconfigID\x18\x04 \x01(\x05R\bconfigID\x12-\n" +
  3810. "\x05build\x18\x05 \x01(\v2\x17.pb.OwnerMapObjectBuildR\x05build\x12'\n" +
  3811. "\x03res\x18\x06 \x01(\v2\x15.pb.OwnerMapObjectResR\x03res\"c\n" +
  3812. "\x11OwnerMapObjectRes\x12 \n" +
  3813. "\vdiscardTime\x18\x01 \x01(\x03R\vdiscardTime\x12,\n" +
  3814. "\x11invincibleEndTime\x18\x02 \x01(\x03R\x11invincibleEndTime\"\x89\x02\n" +
  3815. "\x13OwnerMapObjectBuild\x12\x1e\n" +
  3816. "\n" +
  3817. "isBuilding\x18\x01 \x01(\bR\n" +
  3818. "isBuilding\x12\"\n" +
  3819. "\fbuildEndTime\x18\x02 \x01(\x03R\fbuildEndTime\x12 \n" +
  3820. "\visUpgrading\x18\x03 \x01(\bR\visUpgrading\x12&\n" +
  3821. "\x0eupgradeEndTime\x18\x04 \x01(\x03R\x0eupgradeEndTime\x12\x14\n" +
  3822. "\x05level\x18\x05 \x01(\x05R\x05level\x12 \n" +
  3823. "\vdiscardTime\x18\x06 \x01(\x03R\vdiscardTime\x12,\n" +
  3824. "\x11invincibleEndTime\x18\a \x01(\x03R\x11invincibleEndTime\"j\n" +
  3825. "\n" +
  3826. "MapObjects\x12-\n" +
  3827. "\n" +
  3828. "objectList\x18\x01 \x03(\v2\r.pb.MapObjectR\n" +
  3829. "objectList\x12-\n" +
  3830. "\n" +
  3831. "legionList\x18\x02 \x03(\v2\r.pb.MapLegionR\n" +
  3832. "legionList\"/\n" +
  3833. "\n" +
  3834. "MapPlayers\x12!\n" +
  3835. "\x04list\x18\x01 \x03(\v2\r.pb.MapPlayerR\x04list\"/\n" +
  3836. "\n" +
  3837. "MapLeagues\x12!\n" +
  3838. "\x04list\x18\x01 \x03(\v2\r.pb.MapLeagueR\x04list\"G\n" +
  3839. "\tMapPlayer\x12\x1a\n" +
  3840. "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
  3841. "\n" +
  3842. "playerName\x18\x02 \x01(\tR\n" +
  3843. "playerName\"\xa1\x01\n" +
  3844. "\tMapLeague\x12\x1a\n" +
  3845. "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x1e\n" +
  3846. "\n" +
  3847. "leagueName\x18\x02 \x01(\tR\n" +
  3848. "leagueName\x12$\n" +
  3849. "\rleagueAbbName\x18\x03 \x01(\tR\rleagueAbbName\x12\x16\n" +
  3850. "\x06flagBg\x18\x04 \x01(\x05R\x06flagBg\x12\x1a\n" +
  3851. "\bflagIcon\x18\x05 \x01(\x05R\bflagIcon\"\xc2\x03\n" +
  3852. "\tMapObject\x12\x1a\n" +
  3853. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
  3854. "\bplayerID\x18\x02 \x01(\x03R\bplayerID\x12\x1a\n" +
  3855. "\bleagueID\x18\x03 \x01(\x03R\bleagueID\x12\x1f\n" +
  3856. "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\x1e\n" +
  3857. "\n" +
  3858. "objectType\x18\x05 \x01(\x05R\n" +
  3859. "objectType\x12\x1a\n" +
  3860. "\bconfigID\x18\x06 \x01(\x05R\bconfigID\x12\x1f\n" +
  3861. "\x04path\x18\a \x01(\v2\v.pb.MapPathR\x04path\x12,\n" +
  3862. "\x11invincibleEndTime\x18\b \x01(\x03R\x11invincibleEndTime\x12%\n" +
  3863. "\x06castle\x18\v \x01(\v2\r.pb.MapCastleR\x06castle\x12\"\n" +
  3864. "\x05build\x18\f \x01(\v2\f.pb.MapBuildR\x05build\x12(\n" +
  3865. "\amonster\x18\r \x01(\v2\x0e.pb.MapMonsterR\amonster\x12\x1c\n" +
  3866. "\x03res\x18\x0e \x01(\v2\n" +
  3867. ".pb.MapResR\x03res\x12\"\n" +
  3868. "\x05march\x18\x0f \x01(\v2\f.pb.MapMarchR\x05march\"\xac\x02\n" +
  3869. "\aMapPath\x12\"\n" +
  3870. "\x06fromTo\x18\x01 \x01(\v2\n" +
  3871. ".pb.Point2R\x06fromTo\x12!\n" +
  3872. "\x06points\x18\x02 \x03(\v2\t.pb.PointR\x06points\x12\x1e\n" +
  3873. "\n" +
  3874. "pointIndex\x18\x03 \x01(\x05R\n" +
  3875. "pointIndex\x12\x1a\n" +
  3876. "\blastTime\x18\x04 \x01(\x03R\blastTime\x12\x14\n" +
  3877. "\x05speed\x18\x05 \x01(\x03R\x05speed\x12\x1c\n" +
  3878. "\tmarchType\x18\x06 \x01(\x05R\tmarchType\x12\x1e\n" +
  3879. "\n" +
  3880. "marchState\x18\a \x01(\x05R\n" +
  3881. "marchState\x12&\n" +
  3882. "\x0estateStartTime\x18\b \x01(\x03R\x0estateStartTime\x12\"\n" +
  3883. "\fstateEndTime\x18\t \x01(\x03R\fstateEndTime\"\xb3\x04\n" +
  3884. "\tMapCastle\x12&\n" +
  3885. "\x0egarrisonArimes\x18\x01 \x01(\x05R\x0egarrisonArimes\x12\x1e\n" +
  3886. "\n" +
  3887. "durability\x18\x02 \x01(\x05R\n" +
  3888. "durability\x12 \n" +
  3889. "\vrecoverTime\x18\x03 \x01(\x03R\vrecoverTime\x12 \n" +
  3890. "\vredeployNum\x18\x04 \x01(\x05R\vredeployNum\x12 \n" +
  3891. "\vsealEndTime\x18\x05 \x01(\x03R\vsealEndTime\x12$\n" +
  3892. "\rfirstLeagueID\x18\n" +
  3893. " \x01(\x03R\rfirstLeagueID\x12(\n" +
  3894. "\x0ffirstLeagueName\x18\v \x01(\tR\x0ffirstLeagueName\x12.\n" +
  3895. "\x12firstLeagueAbbName\x18\f \x01(\tR\x12firstLeagueAbbName\x12(\n" +
  3896. "\x0ffirstLeagueIcon\x18\r \x01(\x05R\x0ffirstLeagueIcon\x120\n" +
  3897. "\x11buildObjectIDList\x18\x14 \x03(\x03B\x02\x18\x01R\x11buildObjectIDList\x12(\n" +
  3898. "\x0fstartWarEndTime\x18\x15 \x01(\x03R\x0fstartWarEndTime\x12\"\n" +
  3899. "\fsiegeEndTime\x18\x16 \x01(\x03R\fsiegeEndTime\x12&\n" +
  3900. "\x0echildObjectIDs\x18\x17 \x03(\x03R\x0echildObjectIDs\x12&\n" +
  3901. "\x0eparentObjectID\x18\x18 \x01(\x03R\x0eparentObjectID\"\xc6\x05\n" +
  3902. "\bMapBuild\x12\x1e\n" +
  3903. "\n" +
  3904. "isBuilding\x18\x01 \x01(\bR\n" +
  3905. "isBuilding\x12\"\n" +
  3906. "\fbuildEndTime\x18\x02 \x01(\x03R\fbuildEndTime\x12 \n" +
  3907. "\visUpgrading\x18\x03 \x01(\bR\visUpgrading\x12&\n" +
  3908. "\x0eupgradeEndTime\x18\x04 \x01(\x03R\x0eupgradeEndTime\x12\x14\n" +
  3909. "\x05level\x18\x05 \x01(\x05R\x05level\x12\x14\n" +
  3910. "\x05index\x18\x06 \x01(\x05R\x05index\x12 \n" +
  3911. "\vredeployNum\x18\a \x01(\x05R\vredeployNum\x12\x16\n" +
  3912. "\x06showID\x18\b \x01(\x05R\x06showID\x12&\n" +
  3913. "\x0egarrisonArimes\x18\n" +
  3914. " \x01(\x05R\x0egarrisonArimes\x12\x1e\n" +
  3915. "\n" +
  3916. "durability\x18\v \x01(\x05R\n" +
  3917. "durability\x12 \n" +
  3918. "\vrecoverTime\x18\f \x01(\x03R\vrecoverTime\x12$\n" +
  3919. "\rmaxDurability\x18\r \x01(\x05R\rmaxDurability\x12 \n" +
  3920. "\vdiscardTime\x18\x14 \x01(\x03R\vdiscardTime\x12*\n" +
  3921. "\x0ecastleObjectID\x18\x15 \x01(\x03B\x02\x18\x01R\x0ecastleObjectID\x12,\n" +
  3922. "\x0fstartWarEndTime\x18\x16 \x01(\x03B\x02\x18\x01R\x0fstartWarEndTime\x12&\n" +
  3923. "\fsiegeEndTime\x18\x17 \x01(\x03B\x02\x18\x01R\fsiegeEndTime\x12,\n" +
  3924. "\x11reorganizeEndTime\x18\x1e \x01(\x03R\x11reorganizeEndTime\x128\n" +
  3925. "\x17reinforcePrepareEndTime\x18\x1f \x01(\x03R\x17reinforcePrepareEndTime\x12*\n" +
  3926. "\x10reinforceEndTime\x18 \x01(\x03R\x10reinforceEndTime\"H\n" +
  3927. "\n" +
  3928. "MapMonster\x12\x1c\n" +
  3929. "\taliveTime\x18\x01 \x01(\x03R\taliveTime\x12\x1c\n" +
  3930. "\tisCrusade\x18\x02 \x01(\bR\tisCrusade\"\x88\x01\n" +
  3931. "\x06MapRes\x12&\n" +
  3932. "\x0egatherObjectID\x18\x01 \x01(\x03R\x0egatherObjectID\x12\x1c\n" +
  3933. "\taliveTime\x18\x02 \x01(\x03R\taliveTime\x12\x16\n" +
  3934. "\x06remain\x18\x03 \x01(\x03R\x06remain\x12 \n" +
  3935. "\vdiscardTime\x18\v \x01(\x03R\vdiscardTime\"\xf6\x01\n" +
  3936. "\tMapLegion\x12\x1a\n" +
  3937. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
  3938. "\bleagueID\x18\x02 \x01(\x03R\bleagueID\x12\x1e\n" +
  3939. "\n" +
  3940. "legionName\x18\x03 \x01(\tR\n" +
  3941. "legionName\x12\x1f\n" +
  3942. "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\x1f\n" +
  3943. "\x04path\x18\x05 \x01(\v2\v.pb.MapPathR\x04path\x12+\n" +
  3944. "\tmarchList\x18\x06 \x03(\v2\r.pb.MapObjectR\tmarchList\x12\"\n" +
  3945. "\fleadObjectID\x18\a \x01(\x03R\fleadObjectID\"\xa7\x02\n" +
  3946. "\bMapMarch\x12$\n" +
  3947. "\vmarchViewID\x18\x01 \x01(\x05B\x02\x18\x01R\vmarchViewID\x12\x1a\n" +
  3948. "\x06armID1\x18\x02 \x01(\x05B\x02\x18\x01R\x06armID1\x12\x1a\n" +
  3949. "\x06armID2\x18\x03 \x01(\x05B\x02\x18\x01R\x06armID2\x12\x1a\n" +
  3950. "\x06armID3\x18\x04 \x01(\x05B\x02\x18\x01R\x06armID3\x12\x1c\n" +
  3951. "\tloadRatio\x18\x05 \x01(\x05R\tloadRatio\x12*\n" +
  3952. "\x10redeployObjectID\x18\x06 \x01(\x03R\x10redeployObjectID\x12*\n" +
  3953. "\x10conscriptEndTime\x18\a \x01(\x03R\x10conscriptEndTime\x12+\n" +
  3954. "\tmarchView\x18\b \x01(\v2\r.pb.MarchViewR\tmarchView\"\xe0\x01\n" +
  3955. "\x0fMapMarchRequest\x12\x16\n" +
  3956. "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1c\n" +
  3957. "\tmarchType\x18\x02 \x01(\x05R\tmarchType\x12\x1f\n" +
  3958. "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12&\n" +
  3959. "\x0etargetObjectID\x18\x04 \x01(\x03R\x0etargetObjectID\x12$\n" +
  3960. "\risAutoRetreat\x18\n" +
  3961. " \x01(\bR\risAutoRetreat\x12(\n" +
  3962. "\x0fisAutoConscript\x18\v \x01(\bR\x0fisAutoConscript\"N\n" +
  3963. "\x0fMapBuildRequest\x12\x1a\n" +
  3964. "\bconfigID\x18\x01 \x01(\x05R\bconfigID\x12\x1f\n" +
  3965. "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\"f\n" +
  3966. "\x16MapBuildUpgradeRequest\x12\x1a\n" +
  3967. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
  3968. "\bconfigID\x18\x02 \x01(\x05R\bconfigID\x12\x14\n" +
  3969. "\x05level\x18\x03 \x01(\x05R\x05level\";\n" +
  3970. "\x10MapObjectsUpdate\x12'\n" +
  3971. "\x04list\x18\x01 \x03(\v2\x13.pb.MapObjectUpdateR\x04list\"\xba\x01\n" +
  3972. "\x0fMapObjectUpdate\x12\x1a\n" +
  3973. "\bisDelete\x18\x01 \x01(\bR\bisDelete\x12\x1a\n" +
  3974. "\bobjectID\x18\x02 \x01(\x03R\bobjectID\x12\x1a\n" +
  3975. "\bconfigID\x18\x03 \x01(\x05R\bconfigID\x12\x1e\n" +
  3976. "\n" +
  3977. "objectType\x18\x04 \x01(\x05R\n" +
  3978. "objectType\x12\x1f\n" +
  3979. "\x05point\x18\x05 \x01(\v2\t.pb.PointR\x05point\x12\x12\n" +
  3980. "\x04time\x18\x06 \x01(\x03R\x04time\"\xf0\x01\n" +
  3981. "\rMapMarchState\x12\x1a\n" +
  3982. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1f\n" +
  3983. "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x14\n" +
  3984. "\x05state\x18\x03 \x01(\x05R\x05state\x12&\n" +
  3985. "\x0estateStartTime\x18\x04 \x01(\x03R\x0estateStartTime\x12\"\n" +
  3986. "\fstateEndTime\x18\x05 \x01(\x03R\fstateEndTime\x12\x14\n" +
  3987. "\x05speed\x18\x06 \x01(\x03R\x05speed\x12*\n" +
  3988. "\x10redeployObjectID\x18\a \x01(\x03R\x10redeployObjectID\"P\n" +
  3989. "\x10MapLoginResponse\x12 \n" +
  3990. "\vbornStateID\x18\x01 \x01(\x05R\vbornStateID\x12\x1a\n" +
  3991. "\bprestige\x18\x02 \x01(\x05R\bprestige\"\xa4\x03\n" +
  3992. "\x10MapEnterResponse\x12(\n" +
  3993. "\x0fcityBaseEndTime\x18\x01 \x01(\x03R\x0fcityBaseEndTime\x12(\n" +
  3994. "\x0frelocateEndTime\x18\x02 \x01(\x03R\x0frelocateEndTime\x12(\n" +
  3995. "\x0fcomebackEndTime\x18\x04 \x01(\x03R\x0fcomebackEndTime\x128\n" +
  3996. "\x17rechooseComebackEndTime\x18\x05 \x01(\x03R\x17rechooseComebackEndTime\x128\n" +
  3997. "\x17reinforcePrepareEndTime\x18\x06 \x01(\x03R\x17reinforcePrepareEndTime\x126\n" +
  3998. "\x16reinforceEffectEndTime\x18\a \x01(\x03R\x16reinforceEffectEndTime\x12:\n" +
  3999. "\x18reinforceCooldownEndTime\x18\b \x01(\x03R\x18reinforceCooldownEndTime\x12*\n" +
  4000. "\n" +
  4001. "resDefends\x18\n" +
  4002. " \x01(\v2\n" +
  4003. ".pb.I64MapR\n" +
  4004. "resDefends\"\xcc\x01\n" +
  4005. "\bMapSiege\x12&\n" +
  4006. "\x0ecastleObjectID\x18\x01 \x01(\x03R\x0ecastleObjectID\x12&\n" +
  4007. "\x0ecastleConfigID\x18\x02 \x01(\x05R\x0ecastleConfigID\x12,\n" +
  4008. "\x11siegeCampObjectID\x18\x03 \x01(\x03R\x11siegeCampObjectID\x12\x1e\n" +
  4009. "\n" +
  4010. "siegeStage\x18\v \x01(\x05R\n" +
  4011. "siegeStage\x12\"\n" +
  4012. "\fstageEndTime\x18\f \x01(\x03R\fstageEndTime\"\xd3\x01\n" +
  4013. "\x12MapAssembleRequest\x12\x16\n" +
  4014. "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1a\n" +
  4015. "\bobjectID\x18\x02 \x01(\x03R\bobjectID\x12\x1e\n" +
  4016. "\n" +
  4017. "objectType\x18\x03 \x01(\x05R\n" +
  4018. "objectType\x12\x1f\n" +
  4019. "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\"\n" +
  4020. "\fassembleTime\x18\x05 \x01(\x05R\fassembleTime\x12$\n" +
  4021. "\risAutoRetreat\x18\x06 \x01(\bR\risAutoRetreat\"v\n" +
  4022. "\x16MapAssembleJoinRequest\x12\x16\n" +
  4023. "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1e\n" +
  4024. "\n" +
  4025. "assembleID\x18\x02 \x01(\x03R\n" +
  4026. "assembleID\x12$\n" +
  4027. "\risAutoRetreat\x18\x03 \x01(\bR\risAutoRetreat\"6\n" +
  4028. "\x0fMapAssembleList\x12#\n" +
  4029. "\x04list\x18\x01 \x03(\v2\x0f.pb.MapAssembleR\x04list\"\x9f\x03\n" +
  4030. "\vMapAssemble\x12\x1e\n" +
  4031. "\n" +
  4032. "assembleID\x18\x01 \x01(\x03R\n" +
  4033. "assembleID\x12\"\n" +
  4034. "\fleadPlayerID\x18\x02 \x01(\x03R\fleadPlayerID\x12)\n" +
  4035. "\n" +
  4036. "startPoint\x18\x03 \x01(\v2\t.pb.PointR\n" +
  4037. "startPoint\x12(\n" +
  4038. "\x0fassembleEndTime\x18\x04 \x01(\x03R\x0fassembleEndTime\x122\n" +
  4039. "\tmarchList\x18\x05 \x03(\v2\x14.pb.MapAssembleMarchR\tmarchList\x12\x1a\n" +
  4040. "\bisDepart\x18\x06 \x01(\bR\bisDepart\x12&\n" +
  4041. "\x0etargetObjectID\x18\v \x01(\x03R\x0etargetObjectID\x12&\n" +
  4042. "\x0etargetConfigID\x18\f \x01(\x05R\x0etargetConfigID\x12*\n" +
  4043. "\x10targetConfigType\x18\r \x01(\x05R\x10targetConfigType\x12+\n" +
  4044. "\vtargetPoint\x18\x0e \x01(\v2\t.pb.PointR\vtargetPoint\"\x9a\x02\n" +
  4045. "\x10MapAssembleMarch\x12\x1a\n" +
  4046. "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
  4047. "\n" +
  4048. "playerName\x18\x02 \x01(\tR\n" +
  4049. "playerName\x12$\n" +
  4050. "\rmarchObjectID\x18\n" +
  4051. " \x01(\x03R\rmarchObjectID\x12(\n" +
  4052. "\x0fmarchArriveTime\x18\v \x01(\x03R\x0fmarchArriveTime\x12\"\n" +
  4053. "\fheroConfigID\x18\f \x01(\x05R\fheroConfigID\x12\x1c\n" +
  4054. "\theroLevel\x18\r \x01(\x05R\theroLevel\x12\x1a\n" +
  4055. "\bheroStar\x18\x0e \x01(\x05R\bheroStar\x12\x1c\n" +
  4056. "\ttroopsNum\x18\x0f \x01(\x05R\ttroopsNum\".\n" +
  4057. "\vMapMarkList\x12\x1f\n" +
  4058. "\x04list\x18\x01 \x03(\v2\v.pb.MapMarkR\x04list\"\xa2\x01\n" +
  4059. "\aMapMark\x12\x16\n" +
  4060. "\x06markID\x18\x01 \x01(\x05R\x06markID\x12\x14\n" +
  4061. "\x05title\x18\x02 \x01(\tR\x05title\x12\x12\n" +
  4062. "\x04desc\x18\x03 \x01(\tR\x04desc\x12\x1f\n" +
  4063. "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
  4064. "\acommand\x18\x05 \x01(\x05R\acommand\x12\x1a\n" +
  4065. "\bmarkTime\x18\x06 \x01(\x03R\bmarkTime\"u\n" +
  4066. "\x0eMapMarkRequest\x12\x14\n" +
  4067. "\x05title\x18\x01 \x01(\tR\x05title\x12\x12\n" +
  4068. "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x1f\n" +
  4069. "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
  4070. "\acommand\x18\x04 \x01(\x05R\acommand\"p\n" +
  4071. "\x12MapMarkEditRequest\x12\x16\n" +
  4072. "\x06markID\x18\x01 \x01(\x05R\x06markID\x12\x14\n" +
  4073. "\x05title\x18\x02 \x01(\tR\x05title\x12\x12\n" +
  4074. "\x04desc\x18\x03 \x01(\tR\x04desc\x12\x18\n" +
  4075. "\acommand\x18\x04 \x01(\x05R\acommand\"\xd0\x03\n" +
  4076. "\rMapBattlePush\x120\n" +
  4077. "\x13attackMarchObjectID\x18\x01 \x01(\x03R\x13attackMarchObjectID\x12.\n" +
  4078. "\x12attackHeroConfigID\x18\x02 \x01(\x05R\x12attackHeroConfigID\x127\n" +
  4079. "\x0fattackMarchView\x18\x03 \x01(\v2\r.pb.MarchViewR\x0fattackMarchView\x120\n" +
  4080. "\x13defendMarchObjectID\x18\v \x01(\x03R\x13defendMarchObjectID\x12.\n" +
  4081. "\x12defendHeroConfigID\x18\f \x01(\x05R\x12defendHeroConfigID\x127\n" +
  4082. "\x0fdefendMarchView\x18\r \x01(\v2\r.pb.MarchViewR\x0fdefendMarchView\x122\n" +
  4083. "\x14defendMonsterGroupID\x18\x0e \x01(\x05R\x14defendMonsterGroupID\x12\x1e\n" +
  4084. "\n" +
  4085. "battleType\x18\x15 \x01(\x05R\n" +
  4086. "battleType\x12\x14\n" +
  4087. "\x05isWin\x18\x16 \x01(\bR\x05isWin\x12\x1f\n" +
  4088. "\x05point\x18\x17 \x01(\v2\t.pb.PointR\x05point\"~\n" +
  4089. "\x14SiegeAssembleRequest\x12\x16\n" +
  4090. "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12,\n" +
  4091. "\x11siegeBaseObjectID\x18\x02 \x01(\x03R\x11siegeBaseObjectID\x12 \n" +
  4092. "\visMainForce\x18\x03 \x01(\bR\visMainForce\"\x95\x03\n" +
  4093. "\x03War\x12&\n" +
  4094. "\x0ecastleObjectID\x18\x01 \x01(\x03R\x0ecastleObjectID\x12&\n" +
  4095. "\x0ecastleConfigID\x18\x02 \x01(\x05R\x0ecastleConfigID\x12+\n" +
  4096. "\vcastlePoint\x18\x03 \x01(\v2\t.pb.PointR\vcastlePoint\x12,\n" +
  4097. "\x11siegeBaseObjectID\x18\x04 \x01(\x03R\x11siegeBaseObjectID\x12,\n" +
  4098. "\x11siegeBaseConfigID\x18\x05 \x01(\x05R\x11siegeBaseConfigID\x121\n" +
  4099. "\x0esiegeBasePoint\x18\x06 \x01(\v2\t.pb.PointR\x0esiegeBasePoint\x12\x14\n" +
  4100. "\x05stage\x18\n" +
  4101. " \x01(\x05R\x05stage\x12\"\n" +
  4102. "\fstageEndTime\x18\v \x01(\x03R\fstageEndTime\x12\"\n" +
  4103. "\fmainForceNum\x18\x14 \x01(\x05R\fmainForceNum\x12$\n" +
  4104. "\rsiegeSquadNum\x18\x15 \x01(\x05R\rsiegeSquadNum\"&\n" +
  4105. "\aWarList\x12\x1b\n" +
  4106. "\x04list\x18\x01 \x03(\v2\a.pb.WarR\x04list\"\x8d\x01\n" +
  4107. "\tSiegeRank\x12$\n" +
  4108. "\rbuildObjectID\x18\x01 \x01(\x03R\rbuildObjectID\x12&\n" +
  4109. "\bkillRank\x18\x02 \x03(\v2\n" +
  4110. ".pb.I32StrR\bkillRank\x122\n" +
  4111. "\x0edurabilityRank\x18\x03 \x03(\v2\n" +
  4112. ".pb.I32StrR\x0edurabilityRank\"\x9a\x02\n" +
  4113. "\vSiegeResult\x12\x1a\n" +
  4114. "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x1e\n" +
  4115. "\n" +
  4116. "leagueName\x18\x02 \x01(\tR\n" +
  4117. "leagueName\x12$\n" +
  4118. "\rbuildObjectID\x18\n" +
  4119. " \x01(\x03R\rbuildObjectID\x12$\n" +
  4120. "\rbuildConfigID\x18\v \x01(\x05R\rbuildConfigID\x12)\n" +
  4121. "\bkillData\x18\x14 \x03(\v2\r.pb.SiegeDataR\bkillData\x12+\n" +
  4122. "\tsiegeData\x18\x15 \x03(\v2\r.pb.SiegeDataR\tsiegeData\x12+\n" +
  4123. "\blastKill\x18\x16 \x01(\v2\x0f.pb.SiegePlayerR\blastKill\"J\n" +
  4124. "\tSiegeData\x12'\n" +
  4125. "\x06player\x18\x01 \x01(\v2\x0f.pb.SiegePlayerR\x06player\x12\x14\n" +
  4126. "\x05value\x18\x02 \x01(\x05R\x05value\"{\n" +
  4127. "\vSiegePlayer\x12\x1a\n" +
  4128. "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
  4129. "\n" +
  4130. "playerName\x18\x02 \x01(\tR\n" +
  4131. "playerName\x12\x16\n" +
  4132. "\x06iconID\x18\x03 \x01(\x05R\x06iconID\x12\x18\n" +
  4133. "\aframeID\x18\x04 \x01(\x05R\aframeID\"u\n" +
  4134. "\tMarchView\x12 \n" +
  4135. "\vmarchViewID\x18\x01 \x01(\x05R\vmarchViewID\x12\x16\n" +
  4136. "\x06armID1\x18\x02 \x01(\x05R\x06armID1\x12\x16\n" +
  4137. "\x06armID2\x18\x03 \x01(\x05R\x06armID2\x12\x16\n" +
  4138. "\x06armID3\x18\x04 \x01(\x05R\x06armID3\"M\n" +
  4139. "\x12MapFindPathRequest\x12\x16\n" +
  4140. "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1f\n" +
  4141. "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\"]\n" +
  4142. "\x10ComebackResponse\x12\x1f\n" +
  4143. "\x05point\x18\x01 \x01(\v2\t.pb.PointR\x05point\x12(\n" +
  4144. "\x0fcomebackEndTime\x18\x02 \x01(\x03R\x0fcomebackEndTime\"I\n" +
  4145. "\n" +
  4146. "RebornPush\x12\x1f\n" +
  4147. "\x05point\x18\x01 \x01(\v2\t.pb.PointR\x05point\x12\x1a\n" +
  4148. "\bisFailed\x18\x02 \x01(\bR\bisFailed\"1\n" +
  4149. "\vMapUIMarchs\x12\"\n" +
  4150. "\x04list\x18\x01 \x03(\v2\x0e.pb.MapUIMarchR\x04list\"\x8b\x02\n" +
  4151. "\n" +
  4152. "MapUIMarch\x12\x1a\n" +
  4153. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
  4154. "\bconfigID\x18\x02 \x01(\x05R\bconfigID\x12\x1e\n" +
  4155. "\n" +
  4156. "marchState\x18\x03 \x01(\x05R\n" +
  4157. "marchState\x12+\n" +
  4158. "\tmarchView\x18\x04 \x01(\v2\r.pb.MarchViewR\tmarchView\x12\x1f\n" +
  4159. "\x04path\x18\x05 \x01(\v2\v.pb.MapPathR\x04path\x12\x1f\n" +
  4160. "\x05point\x18\x06 \x01(\v2\t.pb.PointR\x05point\x12\x1a\n" +
  4161. "\bplayerID\x18\a \x01(\x03R\bplayerID\x12\x1a\n" +
  4162. "\bleagueID\x18\b \x01(\x03R\bleagueID\"3\n" +
  4163. "\fMapUICastles\x12#\n" +
  4164. "\x04list\x18\x01 \x03(\v2\x0f.pb.MapUICastleR\x04list\"\xfc\x01\n" +
  4165. "\vMapUICastle\x12\x1a\n" +
  4166. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1f\n" +
  4167. "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x1a\n" +
  4168. "\bconfigID\x18\x03 \x01(\x05R\bconfigID\x12\x1a\n" +
  4169. "\bleagueID\x18\x04 \x01(\x03R\bleagueID\x12\x1e\n" +
  4170. "\n" +
  4171. "leagueName\x18\x05 \x01(\tR\n" +
  4172. "leagueName\x12$\n" +
  4173. "\rleagueAbbName\x18\x06 \x01(\tR\rleagueAbbName\x12\x16\n" +
  4174. "\x06flagBg\x18\a \x01(\x05R\x06flagBg\x12\x1a\n" +
  4175. "\bflagIcon\x18\b \x01(\x05R\bflagIcon\"V\n" +
  4176. "\x18MapObjectPositionRequest\x12\x1a\n" +
  4177. "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1e\n" +
  4178. "\n" +
  4179. "objectType\x18\x02 \x01(\x05R\n" +
  4180. "objectType\"0\n" +
  4181. "\fMapScoutList\x12 \n" +
  4182. "\x04list\x18\x01 \x03(\v2\f.pb.MapScoutR\x04list\"_\n" +
  4183. "\bMapScout\x12\x18\n" +
  4184. "\aqueueID\x18\x01 \x01(\x05R\aqueueID\x12\x1f\n" +
  4185. "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
  4186. "\aendTime\x18\x03 \x01(\x03R\aendTimeB\x05Z\x03/pbb\x06proto3"
  4187. var (
  4188. file_map_proto_rawDescOnce sync.Once
  4189. file_map_proto_rawDescData []byte
  4190. )
  4191. func file_map_proto_rawDescGZIP() []byte {
  4192. file_map_proto_rawDescOnce.Do(func() {
  4193. file_map_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_map_proto_rawDesc), len(file_map_proto_rawDesc)))
  4194. })
  4195. return file_map_proto_rawDescData
  4196. }
  4197. var file_map_proto_msgTypes = make([]protoimpl.MessageInfo, 54)
  4198. var file_map_proto_goTypes = []any{
  4199. (*OwnerMapObjects)(nil), // 0: pb.OwnerMapObjects
  4200. (*OwnerMapObject)(nil), // 1: pb.OwnerMapObject
  4201. (*OwnerMapObjectRes)(nil), // 2: pb.OwnerMapObjectRes
  4202. (*OwnerMapObjectBuild)(nil), // 3: pb.OwnerMapObjectBuild
  4203. (*MapObjects)(nil), // 4: pb.MapObjects
  4204. (*MapPlayers)(nil), // 5: pb.MapPlayers
  4205. (*MapLeagues)(nil), // 6: pb.MapLeagues
  4206. (*MapPlayer)(nil), // 7: pb.MapPlayer
  4207. (*MapLeague)(nil), // 8: pb.MapLeague
  4208. (*MapObject)(nil), // 9: pb.MapObject
  4209. (*MapPath)(nil), // 10: pb.MapPath
  4210. (*MapCastle)(nil), // 11: pb.MapCastle
  4211. (*MapBuild)(nil), // 12: pb.MapBuild
  4212. (*MapMonster)(nil), // 13: pb.MapMonster
  4213. (*MapRes)(nil), // 14: pb.MapRes
  4214. (*MapLegion)(nil), // 15: pb.MapLegion
  4215. (*MapMarch)(nil), // 16: pb.MapMarch
  4216. (*MapMarchRequest)(nil), // 17: pb.MapMarchRequest
  4217. (*MapBuildRequest)(nil), // 18: pb.MapBuildRequest
  4218. (*MapBuildUpgradeRequest)(nil), // 19: pb.MapBuildUpgradeRequest
  4219. (*MapObjectsUpdate)(nil), // 20: pb.MapObjectsUpdate
  4220. (*MapObjectUpdate)(nil), // 21: pb.MapObjectUpdate
  4221. (*MapMarchState)(nil), // 22: pb.MapMarchState
  4222. (*MapLoginResponse)(nil), // 23: pb.MapLoginResponse
  4223. (*MapEnterResponse)(nil), // 24: pb.MapEnterResponse
  4224. (*MapSiege)(nil), // 25: pb.MapSiege
  4225. (*MapAssembleRequest)(nil), // 26: pb.MapAssembleRequest
  4226. (*MapAssembleJoinRequest)(nil), // 27: pb.MapAssembleJoinRequest
  4227. (*MapAssembleList)(nil), // 28: pb.MapAssembleList
  4228. (*MapAssemble)(nil), // 29: pb.MapAssemble
  4229. (*MapAssembleMarch)(nil), // 30: pb.MapAssembleMarch
  4230. (*MapMarkList)(nil), // 31: pb.MapMarkList
  4231. (*MapMark)(nil), // 32: pb.MapMark
  4232. (*MapMarkRequest)(nil), // 33: pb.MapMarkRequest
  4233. (*MapMarkEditRequest)(nil), // 34: pb.MapMarkEditRequest
  4234. (*MapBattlePush)(nil), // 35: pb.MapBattlePush
  4235. (*SiegeAssembleRequest)(nil), // 36: pb.SiegeAssembleRequest
  4236. (*War)(nil), // 37: pb.War
  4237. (*WarList)(nil), // 38: pb.WarList
  4238. (*SiegeRank)(nil), // 39: pb.SiegeRank
  4239. (*SiegeResult)(nil), // 40: pb.SiegeResult
  4240. (*SiegeData)(nil), // 41: pb.SiegeData
  4241. (*SiegePlayer)(nil), // 42: pb.SiegePlayer
  4242. (*MarchView)(nil), // 43: pb.MarchView
  4243. (*MapFindPathRequest)(nil), // 44: pb.MapFindPathRequest
  4244. (*ComebackResponse)(nil), // 45: pb.ComebackResponse
  4245. (*RebornPush)(nil), // 46: pb.RebornPush
  4246. (*MapUIMarchs)(nil), // 47: pb.MapUIMarchs
  4247. (*MapUIMarch)(nil), // 48: pb.MapUIMarch
  4248. (*MapUICastles)(nil), // 49: pb.MapUICastles
  4249. (*MapUICastle)(nil), // 50: pb.MapUICastle
  4250. (*MapObjectPositionRequest)(nil), // 51: pb.MapObjectPositionRequest
  4251. (*MapScoutList)(nil), // 52: pb.MapScoutList
  4252. (*MapScout)(nil), // 53: pb.MapScout
  4253. (*Point)(nil), // 54: pb.Point
  4254. (*Point2)(nil), // 55: pb.Point2
  4255. (*I64Map)(nil), // 56: pb.I64Map
  4256. (*I32Str)(nil), // 57: pb.I32Str
  4257. }
  4258. var file_map_proto_depIdxs = []int32{
  4259. 1, // 0: pb.OwnerMapObjects.list:type_name -> pb.OwnerMapObject
  4260. 54, // 1: pb.OwnerMapObject.point:type_name -> pb.Point
  4261. 3, // 2: pb.OwnerMapObject.build:type_name -> pb.OwnerMapObjectBuild
  4262. 2, // 3: pb.OwnerMapObject.res:type_name -> pb.OwnerMapObjectRes
  4263. 9, // 4: pb.MapObjects.objectList:type_name -> pb.MapObject
  4264. 15, // 5: pb.MapObjects.legionList:type_name -> pb.MapLegion
  4265. 7, // 6: pb.MapPlayers.list:type_name -> pb.MapPlayer
  4266. 8, // 7: pb.MapLeagues.list:type_name -> pb.MapLeague
  4267. 54, // 8: pb.MapObject.point:type_name -> pb.Point
  4268. 10, // 9: pb.MapObject.path:type_name -> pb.MapPath
  4269. 11, // 10: pb.MapObject.castle:type_name -> pb.MapCastle
  4270. 12, // 11: pb.MapObject.build:type_name -> pb.MapBuild
  4271. 13, // 12: pb.MapObject.monster:type_name -> pb.MapMonster
  4272. 14, // 13: pb.MapObject.res:type_name -> pb.MapRes
  4273. 16, // 14: pb.MapObject.march:type_name -> pb.MapMarch
  4274. 55, // 15: pb.MapPath.fromTo:type_name -> pb.Point2
  4275. 54, // 16: pb.MapPath.points:type_name -> pb.Point
  4276. 54, // 17: pb.MapLegion.point:type_name -> pb.Point
  4277. 10, // 18: pb.MapLegion.path:type_name -> pb.MapPath
  4278. 9, // 19: pb.MapLegion.marchList:type_name -> pb.MapObject
  4279. 43, // 20: pb.MapMarch.marchView:type_name -> pb.MarchView
  4280. 54, // 21: pb.MapMarchRequest.point:type_name -> pb.Point
  4281. 54, // 22: pb.MapBuildRequest.point:type_name -> pb.Point
  4282. 21, // 23: pb.MapObjectsUpdate.list:type_name -> pb.MapObjectUpdate
  4283. 54, // 24: pb.MapObjectUpdate.point:type_name -> pb.Point
  4284. 54, // 25: pb.MapMarchState.point:type_name -> pb.Point
  4285. 56, // 26: pb.MapEnterResponse.resDefends:type_name -> pb.I64Map
  4286. 54, // 27: pb.MapAssembleRequest.point:type_name -> pb.Point
  4287. 29, // 28: pb.MapAssembleList.list:type_name -> pb.MapAssemble
  4288. 54, // 29: pb.MapAssemble.startPoint:type_name -> pb.Point
  4289. 30, // 30: pb.MapAssemble.marchList:type_name -> pb.MapAssembleMarch
  4290. 54, // 31: pb.MapAssemble.targetPoint:type_name -> pb.Point
  4291. 32, // 32: pb.MapMarkList.list:type_name -> pb.MapMark
  4292. 54, // 33: pb.MapMark.point:type_name -> pb.Point
  4293. 54, // 34: pb.MapMarkRequest.point:type_name -> pb.Point
  4294. 43, // 35: pb.MapBattlePush.attackMarchView:type_name -> pb.MarchView
  4295. 43, // 36: pb.MapBattlePush.defendMarchView:type_name -> pb.MarchView
  4296. 54, // 37: pb.MapBattlePush.point:type_name -> pb.Point
  4297. 54, // 38: pb.War.castlePoint:type_name -> pb.Point
  4298. 54, // 39: pb.War.siegeBasePoint:type_name -> pb.Point
  4299. 37, // 40: pb.WarList.list:type_name -> pb.War
  4300. 57, // 41: pb.SiegeRank.killRank:type_name -> pb.I32Str
  4301. 57, // 42: pb.SiegeRank.durabilityRank:type_name -> pb.I32Str
  4302. 41, // 43: pb.SiegeResult.killData:type_name -> pb.SiegeData
  4303. 41, // 44: pb.SiegeResult.siegeData:type_name -> pb.SiegeData
  4304. 42, // 45: pb.SiegeResult.lastKill:type_name -> pb.SiegePlayer
  4305. 42, // 46: pb.SiegeData.player:type_name -> pb.SiegePlayer
  4306. 54, // 47: pb.MapFindPathRequest.point:type_name -> pb.Point
  4307. 54, // 48: pb.ComebackResponse.point:type_name -> pb.Point
  4308. 54, // 49: pb.RebornPush.point:type_name -> pb.Point
  4309. 48, // 50: pb.MapUIMarchs.list:type_name -> pb.MapUIMarch
  4310. 43, // 51: pb.MapUIMarch.marchView:type_name -> pb.MarchView
  4311. 10, // 52: pb.MapUIMarch.path:type_name -> pb.MapPath
  4312. 54, // 53: pb.MapUIMarch.point:type_name -> pb.Point
  4313. 50, // 54: pb.MapUICastles.list:type_name -> pb.MapUICastle
  4314. 54, // 55: pb.MapUICastle.point:type_name -> pb.Point
  4315. 53, // 56: pb.MapScoutList.list:type_name -> pb.MapScout
  4316. 54, // 57: pb.MapScout.point:type_name -> pb.Point
  4317. 58, // [58:58] is the sub-list for method output_type
  4318. 58, // [58:58] is the sub-list for method input_type
  4319. 58, // [58:58] is the sub-list for extension type_name
  4320. 58, // [58:58] is the sub-list for extension extendee
  4321. 0, // [0:58] is the sub-list for field type_name
  4322. }
  4323. func init() { file_map_proto_init() }
  4324. func file_map_proto_init() {
  4325. if File_map_proto != nil {
  4326. return
  4327. }
  4328. file_base_type_proto_init()
  4329. type x struct{}
  4330. out := protoimpl.TypeBuilder{
  4331. File: protoimpl.DescBuilder{
  4332. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  4333. RawDescriptor: unsafe.Slice(unsafe.StringData(file_map_proto_rawDesc), len(file_map_proto_rawDesc)),
  4334. NumEnums: 0,
  4335. NumMessages: 54,
  4336. NumExtensions: 0,
  4337. NumServices: 0,
  4338. },
  4339. GoTypes: file_map_proto_goTypes,
  4340. DependencyIndexes: file_map_proto_depIdxs,
  4341. MessageInfos: file_map_proto_msgTypes,
  4342. }.Build()
  4343. File_map_proto = out.File
  4344. file_map_proto_goTypes = nil
  4345. file_map_proto_depIdxs = nil
  4346. }