map.pb.go 131 KB

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