map.pb.go 135 KB

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