| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143 |
- // message结构的属性名请使用 驼峰小写字母开始
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.31.1
- // source: map.proto
- package pb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // 玩家拥有的地图对象列表
- type OwnerMapObjects struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*OwnerMapObject `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *OwnerMapObjects) Reset() {
- *x = OwnerMapObjects{}
- mi := &file_map_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *OwnerMapObjects) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OwnerMapObjects) ProtoMessage() {}
- func (x *OwnerMapObjects) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use OwnerMapObjects.ProtoReflect.Descriptor instead.
- func (*OwnerMapObjects) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{0}
- }
- func (x *OwnerMapObjects) GetList() []*OwnerMapObject {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 玩家拥有的地图对象
- type OwnerMapObject struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 对象所在坐标点
- Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
- // 对象类型,见 map.go -> ObjectType 地块对象类型
- ObjectType int32 `protobuf:"varint,3,opt,name=objectType,proto3" json:"objectType,omitempty"`
- // 对象配置ID
- ConfigID int32 `protobuf:"varint,4,opt,name=configID,proto3" json:"configID,omitempty"`
- // 建筑对象信息
- Build *OwnerMapObjectBuild `protobuf:"bytes,5,opt,name=build,proto3" json:"build,omitempty"`
- // 资源对象信息
- Res *OwnerMapObjectRes `protobuf:"bytes,6,opt,name=res,proto3" json:"res,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *OwnerMapObject) Reset() {
- *x = OwnerMapObject{}
- mi := &file_map_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *OwnerMapObject) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OwnerMapObject) ProtoMessage() {}
- func (x *OwnerMapObject) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use OwnerMapObject.ProtoReflect.Descriptor instead.
- func (*OwnerMapObject) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{1}
- }
- func (x *OwnerMapObject) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *OwnerMapObject) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *OwnerMapObject) GetObjectType() int32 {
- if x != nil {
- return x.ObjectType
- }
- return 0
- }
- func (x *OwnerMapObject) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *OwnerMapObject) GetBuild() *OwnerMapObjectBuild {
- if x != nil {
- return x.Build
- }
- return nil
- }
- func (x *OwnerMapObject) GetRes() *OwnerMapObjectRes {
- if x != nil {
- return x.Res
- }
- return nil
- }
- // 玩家拥有的地图对象-资源
- type OwnerMapObjectRes struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 放弃截止时间(ms)
- DiscardTime int64 `protobuf:"varint,1,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
- // 免战结束时间(毫秒)
- InvincibleEndTime int64 `protobuf:"varint,2,opt,name=invincibleEndTime,proto3" json:"invincibleEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *OwnerMapObjectRes) Reset() {
- *x = OwnerMapObjectRes{}
- mi := &file_map_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *OwnerMapObjectRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OwnerMapObjectRes) ProtoMessage() {}
- func (x *OwnerMapObjectRes) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use OwnerMapObjectRes.ProtoReflect.Descriptor instead.
- func (*OwnerMapObjectRes) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{2}
- }
- func (x *OwnerMapObjectRes) GetDiscardTime() int64 {
- if x != nil {
- return x.DiscardTime
- }
- return 0
- }
- func (x *OwnerMapObjectRes) GetInvincibleEndTime() int64 {
- if x != nil {
- return x.InvincibleEndTime
- }
- return 0
- }
- // 玩家拥有的地图对象-建筑
- type OwnerMapObjectBuild struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 是否正在建造中
- IsBuilding bool `protobuf:"varint,1,opt,name=isBuilding,proto3" json:"isBuilding,omitempty"`
- // 建造完成时间(毫秒)
- BuildEndTime int64 `protobuf:"varint,2,opt,name=buildEndTime,proto3" json:"buildEndTime,omitempty"`
- // 是否正在升级中
- IsUpgrading bool `protobuf:"varint,3,opt,name=isUpgrading,proto3" json:"isUpgrading,omitempty"`
- // 升级完成时间(毫秒)
- UpgradeEndTime int64 `protobuf:"varint,4,opt,name=upgradeEndTime,proto3" json:"upgradeEndTime,omitempty"`
- // 建筑等级
- Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
- // 放弃截止时间(ms)
- DiscardTime int64 `protobuf:"varint,6,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
- // 免战结束时间(毫秒)
- InvincibleEndTime int64 `protobuf:"varint,7,opt,name=invincibleEndTime,proto3" json:"invincibleEndTime,omitempty"`
- // 如果当前建筑是营帐 则为营帐下标1-5 其他默认为0
- Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *OwnerMapObjectBuild) Reset() {
- *x = OwnerMapObjectBuild{}
- mi := &file_map_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *OwnerMapObjectBuild) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OwnerMapObjectBuild) ProtoMessage() {}
- func (x *OwnerMapObjectBuild) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use OwnerMapObjectBuild.ProtoReflect.Descriptor instead.
- func (*OwnerMapObjectBuild) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{3}
- }
- func (x *OwnerMapObjectBuild) GetIsBuilding() bool {
- if x != nil {
- return x.IsBuilding
- }
- return false
- }
- func (x *OwnerMapObjectBuild) GetBuildEndTime() int64 {
- if x != nil {
- return x.BuildEndTime
- }
- return 0
- }
- func (x *OwnerMapObjectBuild) GetIsUpgrading() bool {
- if x != nil {
- return x.IsUpgrading
- }
- return false
- }
- func (x *OwnerMapObjectBuild) GetUpgradeEndTime() int64 {
- if x != nil {
- return x.UpgradeEndTime
- }
- return 0
- }
- func (x *OwnerMapObjectBuild) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *OwnerMapObjectBuild) GetDiscardTime() int64 {
- if x != nil {
- return x.DiscardTime
- }
- return 0
- }
- func (x *OwnerMapObjectBuild) GetInvincibleEndTime() int64 {
- if x != nil {
- return x.InvincibleEndTime
- }
- return 0
- }
- func (x *OwnerMapObjectBuild) GetIndex() int32 {
- if x != nil {
- return x.Index
- }
- return 0
- }
- // 地图对象列表
- type MapObjects struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象列表
- ObjectList []*MapObject `protobuf:"bytes,1,rep,name=objectList,proto3" json:"objectList,omitempty"`
- // 军团列表
- LegionList []*MapLegion `protobuf:"bytes,2,rep,name=legionList,proto3" json:"legionList,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapObjects) Reset() {
- *x = MapObjects{}
- mi := &file_map_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapObjects) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapObjects) ProtoMessage() {}
- func (x *MapObjects) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapObjects.ProtoReflect.Descriptor instead.
- func (*MapObjects) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{4}
- }
- func (x *MapObjects) GetObjectList() []*MapObject {
- if x != nil {
- return x.ObjectList
- }
- return nil
- }
- func (x *MapObjects) GetLegionList() []*MapLegion {
- if x != nil {
- return x.LegionList
- }
- return nil
- }
- // 地图玩家对象列表
- type MapPlayers struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapPlayer `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapPlayers) Reset() {
- *x = MapPlayers{}
- mi := &file_map_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapPlayers) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapPlayers) ProtoMessage() {}
- func (x *MapPlayers) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapPlayers.ProtoReflect.Descriptor instead.
- func (*MapPlayers) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{5}
- }
- func (x *MapPlayers) GetList() []*MapPlayer {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 地图联盟对象列表
- type MapLeagues struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapLeague `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapLeagues) Reset() {
- *x = MapLeagues{}
- mi := &file_map_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapLeagues) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapLeagues) ProtoMessage() {}
- func (x *MapLeagues) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapLeagues.ProtoReflect.Descriptor instead.
- func (*MapLeagues) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{6}
- }
- func (x *MapLeagues) GetList() []*MapLeague {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 地图中的玩家对象信息
- type MapPlayer struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家ID
- PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 玩家名
- PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"` // 主将头像?
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapPlayer) Reset() {
- *x = MapPlayer{}
- mi := &file_map_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapPlayer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapPlayer) ProtoMessage() {}
- func (x *MapPlayer) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapPlayer.ProtoReflect.Descriptor instead.
- func (*MapPlayer) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{7}
- }
- func (x *MapPlayer) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *MapPlayer) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- // 地图中的联盟对象信息
- type MapLeague struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟ID
- LeagueID int64 `protobuf:"varint,1,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 联盟名
- LeagueName string `protobuf:"bytes,2,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
- // 联盟简称
- LeagueAbbName string `protobuf:"bytes,3,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
- // 旗帜背景ID L-联盟-旗帜表旗帜ID
- FlagBg int32 `protobuf:"varint,4,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
- // 旗帜图标ID L-联盟-旗帜表旗帜ID
- FlagIcon int32 `protobuf:"varint,5,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapLeague) Reset() {
- *x = MapLeague{}
- mi := &file_map_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapLeague) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapLeague) ProtoMessage() {}
- func (x *MapLeague) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapLeague.ProtoReflect.Descriptor instead.
- func (*MapLeague) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{8}
- }
- func (x *MapLeague) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *MapLeague) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *MapLeague) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *MapLeague) GetFlagBg() int32 {
- if x != nil {
- return x.FlagBg
- }
- return 0
- }
- func (x *MapLeague) GetFlagIcon() int32 {
- if x != nil {
- return x.FlagIcon
- }
- return 0
- }
- // 地图对象
- type MapObject struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 所有者的玩家ID
- PlayerID int64 `protobuf:"varint,2,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 所有者的联盟ID
- LeagueID int64 `protobuf:"varint,3,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 对象所在坐标点
- Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
- // 对象类型,用来读取下面对应的配置ID和结构
- // 见 map.go -> ObjectType 地块对象类型
- ObjectType int32 `protobuf:"varint,5,opt,name=objectType,proto3" json:"objectType,omitempty"`
- // 对象配置ID
- ConfigID int32 `protobuf:"varint,6,opt,name=configID,proto3" json:"configID,omitempty"`
- // 寻路信息(运用于行军/军团等可移动对象)
- Path *MapPath `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
- // 免战结束时间(毫秒)
- InvincibleEndTime int64 `protobuf:"varint,8,opt,name=invincibleEndTime,proto3" json:"invincibleEndTime,omitempty"`
- // 系统城对象信息
- Castle *MapCastle `protobuf:"bytes,11,opt,name=castle,proto3" json:"castle,omitempty"`
- // 建筑对象信息
- Build *MapBuild `protobuf:"bytes,12,opt,name=build,proto3" json:"build,omitempty"`
- // 怪物对象信息
- Monster *MapMonster `protobuf:"bytes,13,opt,name=monster,proto3" json:"monster,omitempty"`
- // 资源对象信息
- Res *MapRes `protobuf:"bytes,14,opt,name=res,proto3" json:"res,omitempty"`
- // 行军对象信息
- March *MapMarch `protobuf:"bytes,15,opt,name=march,proto3" json:"march,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapObject) Reset() {
- *x = MapObject{}
- mi := &file_map_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapObject) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapObject) ProtoMessage() {}
- func (x *MapObject) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapObject.ProtoReflect.Descriptor instead.
- func (*MapObject) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{9}
- }
- func (x *MapObject) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapObject) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *MapObject) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *MapObject) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapObject) GetObjectType() int32 {
- if x != nil {
- return x.ObjectType
- }
- return 0
- }
- func (x *MapObject) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *MapObject) GetPath() *MapPath {
- if x != nil {
- return x.Path
- }
- return nil
- }
- func (x *MapObject) GetInvincibleEndTime() int64 {
- if x != nil {
- return x.InvincibleEndTime
- }
- return 0
- }
- func (x *MapObject) GetCastle() *MapCastle {
- if x != nil {
- return x.Castle
- }
- return nil
- }
- func (x *MapObject) GetBuild() *MapBuild {
- if x != nil {
- return x.Build
- }
- return nil
- }
- func (x *MapObject) GetMonster() *MapMonster {
- if x != nil {
- return x.Monster
- }
- return nil
- }
- func (x *MapObject) GetRes() *MapRes {
- if x != nil {
- return x.Res
- }
- return nil
- }
- func (x *MapObject) GetMarch() *MapMarch {
- if x != nil {
- return x.March
- }
- return nil
- }
- // 地图对象寻路结构
- type MapPath struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 行军的起点与终点
- FromTo *Point2 `protobuf:"bytes,1,opt,name=fromTo,proto3" json:"fromTo,omitempty"`
- // 路径列表(后续只发路径关键点)
- Points []*Point `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"`
- // 路点下标(当前在第几个点)
- PointIndex int32 `protobuf:"varint,3,opt,name=pointIndex,proto3" json:"pointIndex,omitempty"`
- // 路径最后一次更新时间(毫秒)
- LastTime int64 `protobuf:"varint,4,opt,name=lastTime,proto3" json:"lastTime,omitempty"`
- // 行军速度
- Speed int64 `protobuf:"varint,5,opt,name=speed,proto3" json:"speed,omitempty"`
- // 行军类型
- // 见 map.go -> MarchType 行军类型
- MarchType int32 `protobuf:"varint,6,opt,name=marchType,proto3" json:"marchType,omitempty"`
- // 行军状态
- // 见 map.go -> MarchState 行军状态
- MarchState int32 `protobuf:"varint,7,opt,name=marchState,proto3" json:"marchState,omitempty"`
- // 状态开始时间(毫秒)
- StateStartTime int64 `protobuf:"varint,8,opt,name=stateStartTime,proto3" json:"stateStartTime,omitempty"`
- // 状态结束时间(毫秒)
- StateEndTime int64 `protobuf:"varint,9,opt,name=stateEndTime,proto3" json:"stateEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapPath) Reset() {
- *x = MapPath{}
- mi := &file_map_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapPath) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapPath) ProtoMessage() {}
- func (x *MapPath) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapPath.ProtoReflect.Descriptor instead.
- func (*MapPath) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{10}
- }
- func (x *MapPath) GetFromTo() *Point2 {
- if x != nil {
- return x.FromTo
- }
- return nil
- }
- func (x *MapPath) GetPoints() []*Point {
- if x != nil {
- return x.Points
- }
- return nil
- }
- func (x *MapPath) GetPointIndex() int32 {
- if x != nil {
- return x.PointIndex
- }
- return 0
- }
- func (x *MapPath) GetLastTime() int64 {
- if x != nil {
- return x.LastTime
- }
- return 0
- }
- func (x *MapPath) GetSpeed() int64 {
- if x != nil {
- return x.Speed
- }
- return 0
- }
- func (x *MapPath) GetMarchType() int32 {
- if x != nil {
- return x.MarchType
- }
- return 0
- }
- func (x *MapPath) GetMarchState() int32 {
- if x != nil {
- return x.MarchState
- }
- return 0
- }
- func (x *MapPath) GetStateStartTime() int64 {
- if x != nil {
- return x.StateStartTime
- }
- return 0
- }
- func (x *MapPath) GetStateEndTime() int64 {
- if x != nil {
- return x.StateEndTime
- }
- return 0
- }
- // 城池对象
- type MapCastle struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 驻城部队数量
- GarrisonArimes int32 `protobuf:"varint,1,opt,name=garrisonArimes,proto3" json:"garrisonArimes,omitempty"`
- // 当前耐久度
- Durability int32 `protobuf:"varint,2,opt,name=durability,proto3" json:"durability,omitempty"`
- // 耐久恢复时间(毫秒)
- RecoverTime int64 `protobuf:"varint,3,opt,name=recoverTime,proto3" json:"recoverTime,omitempty"`
- // 调动数量
- RedeployNum int32 `protobuf:"varint,4,opt,name=redeployNum,proto3" json:"redeployNum,omitempty"`
- // 封印结束时间(毫秒)
- SealEndTime int64 `protobuf:"varint,5,opt,name=sealEndTime,proto3" json:"sealEndTime,omitempty"`
- // 首次占领的联盟ID
- FirstLeagueID int64 `protobuf:"varint,10,opt,name=firstLeagueID,proto3" json:"firstLeagueID,omitempty"`
- // 首次占领的联盟名称
- FirstLeagueName string `protobuf:"bytes,11,opt,name=firstLeagueName,proto3" json:"firstLeagueName,omitempty"`
- // 首次占领的联盟简称
- FirstLeagueAbbName string `protobuf:"bytes,12,opt,name=firstLeagueAbbName,proto3" json:"firstLeagueAbbName,omitempty"`
- // 首次占领的联盟图标
- FirstLeagueIcon int32 `protobuf:"varint,13,opt,name=firstLeagueIcon,proto3" json:"firstLeagueIcon,omitempty"`
- // 关联的建筑对象ID列表
- //
- // Deprecated: Marked as deprecated in map.proto.
- BuildObjectIDList []int64 `protobuf:"varint,20,rep,packed,name=buildObjectIDList,proto3" json:"buildObjectIDList,omitempty"`
- // 宣战结束时间(毫秒)
- StartWarEndTime int64 `protobuf:"varint,21,opt,name=startWarEndTime,proto3" json:"startWarEndTime,omitempty"`
- // 攻城结束时间(毫秒)
- SiegeEndTime int64 `protobuf:"varint,22,opt,name=siegeEndTime,proto3" json:"siegeEndTime,omitempty"`
- // 子对象ID列表
- ChildObjectIDs []int64 `protobuf:"varint,23,rep,packed,name=childObjectIDs,proto3" json:"childObjectIDs,omitempty"`
- // 父对象ID
- ParentObjectID int64 `protobuf:"varint,24,opt,name=parentObjectID,proto3" json:"parentObjectID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapCastle) Reset() {
- *x = MapCastle{}
- mi := &file_map_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapCastle) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapCastle) ProtoMessage() {}
- func (x *MapCastle) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapCastle.ProtoReflect.Descriptor instead.
- func (*MapCastle) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{11}
- }
- func (x *MapCastle) GetGarrisonArimes() int32 {
- if x != nil {
- return x.GarrisonArimes
- }
- return 0
- }
- func (x *MapCastle) GetDurability() int32 {
- if x != nil {
- return x.Durability
- }
- return 0
- }
- func (x *MapCastle) GetRecoverTime() int64 {
- if x != nil {
- return x.RecoverTime
- }
- return 0
- }
- func (x *MapCastle) GetRedeployNum() int32 {
- if x != nil {
- return x.RedeployNum
- }
- return 0
- }
- func (x *MapCastle) GetSealEndTime() int64 {
- if x != nil {
- return x.SealEndTime
- }
- return 0
- }
- func (x *MapCastle) GetFirstLeagueID() int64 {
- if x != nil {
- return x.FirstLeagueID
- }
- return 0
- }
- func (x *MapCastle) GetFirstLeagueName() string {
- if x != nil {
- return x.FirstLeagueName
- }
- return ""
- }
- func (x *MapCastle) GetFirstLeagueAbbName() string {
- if x != nil {
- return x.FirstLeagueAbbName
- }
- return ""
- }
- func (x *MapCastle) GetFirstLeagueIcon() int32 {
- if x != nil {
- return x.FirstLeagueIcon
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapCastle) GetBuildObjectIDList() []int64 {
- if x != nil {
- return x.BuildObjectIDList
- }
- return nil
- }
- func (x *MapCastle) GetStartWarEndTime() int64 {
- if x != nil {
- return x.StartWarEndTime
- }
- return 0
- }
- func (x *MapCastle) GetSiegeEndTime() int64 {
- if x != nil {
- return x.SiegeEndTime
- }
- return 0
- }
- func (x *MapCastle) GetChildObjectIDs() []int64 {
- if x != nil {
- return x.ChildObjectIDs
- }
- return nil
- }
- func (x *MapCastle) GetParentObjectID() int64 {
- if x != nil {
- return x.ParentObjectID
- }
- return 0
- }
- // 建筑对象
- type MapBuild struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 是否正在建造中
- IsBuilding bool `protobuf:"varint,1,opt,name=isBuilding,proto3" json:"isBuilding,omitempty"`
- // 建造完成时间(毫秒)
- BuildEndTime int64 `protobuf:"varint,2,opt,name=buildEndTime,proto3" json:"buildEndTime,omitempty"`
- // 是否正在升级中
- IsUpgrading bool `protobuf:"varint,3,opt,name=isUpgrading,proto3" json:"isUpgrading,omitempty"`
- // 升级完成时间(毫秒)
- UpgradeEndTime int64 `protobuf:"varint,4,opt,name=upgradeEndTime,proto3" json:"upgradeEndTime,omitempty"`
- // 建筑等级
- Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
- // 如果当前建筑是营帐 则为营帐下标1-5 其他默认为0
- Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
- // 调动数量
- RedeployNum int32 `protobuf:"varint,7,opt,name=redeployNum,proto3" json:"redeployNum,omitempty"`
- // 建筑外观ID D-地图-主城外观表主城外观ID
- ShowID int32 `protobuf:"varint,8,opt,name=showID,proto3" json:"showID,omitempty"`
- // 驻城部队数量
- GarrisonArimes int32 `protobuf:"varint,10,opt,name=garrisonArimes,proto3" json:"garrisonArimes,omitempty"`
- // 当前耐久度
- Durability int32 `protobuf:"varint,11,opt,name=durability,proto3" json:"durability,omitempty"`
- // 耐久恢复时间(毫秒)
- RecoverTime int64 `protobuf:"varint,12,opt,name=recoverTime,proto3" json:"recoverTime,omitempty"`
- // 最大耐久度
- MaxDurability int32 `protobuf:"varint,13,opt,name=maxDurability,proto3" json:"maxDurability,omitempty"`
- // 放弃截止时间(ms)
- DiscardTime int64 `protobuf:"varint,20,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
- // 关联的城池对象castleObjectIDID
- //
- // Deprecated: Marked as deprecated in map.proto.
- CastleObjectID int64 `protobuf:"varint,21,opt,name=castleObjectID,proto3" json:"castleObjectID,omitempty"`
- // 宣战结束时间(毫秒)
- //
- // Deprecated: Marked as deprecated in map.proto.
- StartWarEndTime int64 `protobuf:"varint,22,opt,name=startWarEndTime,proto3" json:"startWarEndTime,omitempty"`
- // 攻城结束时间(毫秒)
- //
- // Deprecated: Marked as deprecated in map.proto.
- SiegeEndTime int64 `protobuf:"varint,23,opt,name=siegeEndTime,proto3" json:"siegeEndTime,omitempty"`
- // 整顿结束时间(毫秒)
- ReorganizeEndTime int64 `protobuf:"varint,30,opt,name=reorganizeEndTime,proto3" json:"reorganizeEndTime,omitempty"`
- // 加固准备结束时间(毫秒)
- ReinforcePrepareEndTime int64 `protobuf:"varint,31,opt,name=reinforcePrepareEndTime,proto3" json:"reinforcePrepareEndTime,omitempty"`
- // 加固结束时间(毫秒)
- ReinforceEndTime int64 `protobuf:"varint,32,opt,name=reinforceEndTime,proto3" json:"reinforceEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapBuild) Reset() {
- *x = MapBuild{}
- mi := &file_map_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapBuild) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapBuild) ProtoMessage() {}
- func (x *MapBuild) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapBuild.ProtoReflect.Descriptor instead.
- func (*MapBuild) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{12}
- }
- func (x *MapBuild) GetIsBuilding() bool {
- if x != nil {
- return x.IsBuilding
- }
- return false
- }
- func (x *MapBuild) GetBuildEndTime() int64 {
- if x != nil {
- return x.BuildEndTime
- }
- return 0
- }
- func (x *MapBuild) GetIsUpgrading() bool {
- if x != nil {
- return x.IsUpgrading
- }
- return false
- }
- func (x *MapBuild) GetUpgradeEndTime() int64 {
- if x != nil {
- return x.UpgradeEndTime
- }
- return 0
- }
- func (x *MapBuild) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *MapBuild) GetIndex() int32 {
- if x != nil {
- return x.Index
- }
- return 0
- }
- func (x *MapBuild) GetRedeployNum() int32 {
- if x != nil {
- return x.RedeployNum
- }
- return 0
- }
- func (x *MapBuild) GetShowID() int32 {
- if x != nil {
- return x.ShowID
- }
- return 0
- }
- func (x *MapBuild) GetGarrisonArimes() int32 {
- if x != nil {
- return x.GarrisonArimes
- }
- return 0
- }
- func (x *MapBuild) GetDurability() int32 {
- if x != nil {
- return x.Durability
- }
- return 0
- }
- func (x *MapBuild) GetRecoverTime() int64 {
- if x != nil {
- return x.RecoverTime
- }
- return 0
- }
- func (x *MapBuild) GetMaxDurability() int32 {
- if x != nil {
- return x.MaxDurability
- }
- return 0
- }
- func (x *MapBuild) GetDiscardTime() int64 {
- if x != nil {
- return x.DiscardTime
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapBuild) GetCastleObjectID() int64 {
- if x != nil {
- return x.CastleObjectID
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapBuild) GetStartWarEndTime() int64 {
- if x != nil {
- return x.StartWarEndTime
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapBuild) GetSiegeEndTime() int64 {
- if x != nil {
- return x.SiegeEndTime
- }
- return 0
- }
- func (x *MapBuild) GetReorganizeEndTime() int64 {
- if x != nil {
- return x.ReorganizeEndTime
- }
- return 0
- }
- func (x *MapBuild) GetReinforcePrepareEndTime() int64 {
- if x != nil {
- return x.ReinforcePrepareEndTime
- }
- return 0
- }
- func (x *MapBuild) GetReinforceEndTime() int64 {
- if x != nil {
- return x.ReinforceEndTime
- }
- return 0
- }
- // 怪物对象
- type MapMonster struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 存活截止时间(毫秒)
- AliveTime int64 `protobuf:"varint,1,opt,name=aliveTime,proto3" json:"aliveTime,omitempty"`
- // 是否被讨伐中
- IsCrusade bool `protobuf:"varint,2,opt,name=isCrusade,proto3" json:"isCrusade,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMonster) Reset() {
- *x = MapMonster{}
- mi := &file_map_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMonster) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMonster) ProtoMessage() {}
- func (x *MapMonster) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMonster.ProtoReflect.Descriptor instead.
- func (*MapMonster) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{13}
- }
- func (x *MapMonster) GetAliveTime() int64 {
- if x != nil {
- return x.AliveTime
- }
- return 0
- }
- func (x *MapMonster) GetIsCrusade() bool {
- if x != nil {
- return x.IsCrusade
- }
- return false
- }
- // 资源对象
- type MapRes struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 采集中的行军对象ID
- GatherObjectID int64 `protobuf:"varint,1,opt,name=gatherObjectID,proto3" json:"gatherObjectID,omitempty"`
- // 存活终止时间(毫秒)
- AliveTime int64 `protobuf:"varint,2,opt,name=aliveTime,proto3" json:"aliveTime,omitempty"`
- // 剩余资源量
- Remain int64 `protobuf:"varint,3,opt,name=remain,proto3" json:"remain,omitempty"`
- // 放弃截止时间(ms)
- DiscardTime int64 `protobuf:"varint,11,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapRes) Reset() {
- *x = MapRes{}
- mi := &file_map_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapRes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapRes) ProtoMessage() {}
- func (x *MapRes) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapRes.ProtoReflect.Descriptor instead.
- func (*MapRes) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{14}
- }
- func (x *MapRes) GetGatherObjectID() int64 {
- if x != nil {
- return x.GatherObjectID
- }
- return 0
- }
- func (x *MapRes) GetAliveTime() int64 {
- if x != nil {
- return x.AliveTime
- }
- return 0
- }
- func (x *MapRes) GetRemain() int64 {
- if x != nil {
- return x.Remain
- }
- return 0
- }
- func (x *MapRes) GetDiscardTime() int64 {
- if x != nil {
- return x.DiscardTime
- }
- return 0
- }
- // 军团(包含多个行军对象)
- type MapLegion struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 所属的联盟ID
- LeagueID int64 `protobuf:"varint,2,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 军团的名称
- LegionName string `protobuf:"bytes,3,opt,name=legionName,proto3" json:"legionName,omitempty"`
- // 对象所在坐标点
- Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
- // 寻路信息(运用于行军/军团等可移动对象)
- Path *MapPath `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
- // 军团的行军对象列表
- MarchList []*MapObject `protobuf:"bytes,6,rep,name=marchList,proto3" json:"marchList,omitempty"`
- // 军团领队的对象ID
- LeadObjectID int64 `protobuf:"varint,7,opt,name=leadObjectID,proto3" json:"leadObjectID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapLegion) Reset() {
- *x = MapLegion{}
- mi := &file_map_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapLegion) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapLegion) ProtoMessage() {}
- func (x *MapLegion) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapLegion.ProtoReflect.Descriptor instead.
- func (*MapLegion) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{15}
- }
- func (x *MapLegion) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapLegion) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *MapLegion) GetLegionName() string {
- if x != nil {
- return x.LegionName
- }
- return ""
- }
- func (x *MapLegion) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapLegion) GetPath() *MapPath {
- if x != nil {
- return x.Path
- }
- return nil
- }
- func (x *MapLegion) GetMarchList() []*MapObject {
- if x != nil {
- return x.MarchList
- }
- return nil
- }
- func (x *MapLegion) GetLeadObjectID() int64 {
- if x != nil {
- return x.LeadObjectID
- }
- return 0
- }
- // 行军对象
- type MapMarch struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 行军展示ID(配置文件中)
- //
- // Deprecated: Marked as deprecated in map.proto.
- MarchViewID int32 `protobuf:"varint,1,opt,name=marchViewID,proto3" json:"marchViewID,omitempty"`
- // 兵种ID1
- //
- // Deprecated: Marked as deprecated in map.proto.
- ArmID1 int32 `protobuf:"varint,2,opt,name=armID1,proto3" json:"armID1,omitempty"`
- // 兵种ID2
- //
- // Deprecated: Marked as deprecated in map.proto.
- ArmID2 int32 `protobuf:"varint,3,opt,name=armID2,proto3" json:"armID2,omitempty"`
- // 兵种ID3
- //
- // Deprecated: Marked as deprecated in map.proto.
- ArmID3 int32 `protobuf:"varint,4,opt,name=armID3,proto3" json:"armID3,omitempty"`
- // 负重比例(0-100)对应资源运输表的ID
- LoadRatio int32 `protobuf:"varint,5,opt,name=loadRatio,proto3" json:"loadRatio,omitempty"`
- // 调动目标建筑对象ID
- RedeployObjectID int64 `protobuf:"varint,6,opt,name=redeployObjectID,proto3" json:"redeployObjectID,omitempty"`
- // 征兵结束时间(毫秒)
- ConscriptEndTime int64 `protobuf:"varint,7,opt,name=conscriptEndTime,proto3" json:"conscriptEndTime,omitempty"`
- // 行军展示信息
- MarchView *MarchView `protobuf:"bytes,8,opt,name=marchView,proto3" json:"marchView,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMarch) Reset() {
- *x = MapMarch{}
- mi := &file_map_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMarch) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMarch) ProtoMessage() {}
- func (x *MapMarch) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMarch.ProtoReflect.Descriptor instead.
- func (*MapMarch) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{16}
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapMarch) GetMarchViewID() int32 {
- if x != nil {
- return x.MarchViewID
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapMarch) GetArmID1() int32 {
- if x != nil {
- return x.ArmID1
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapMarch) GetArmID2() int32 {
- if x != nil {
- return x.ArmID2
- }
- return 0
- }
- // Deprecated: Marked as deprecated in map.proto.
- func (x *MapMarch) GetArmID3() int32 {
- if x != nil {
- return x.ArmID3
- }
- return 0
- }
- func (x *MapMarch) GetLoadRatio() int32 {
- if x != nil {
- return x.LoadRatio
- }
- return 0
- }
- func (x *MapMarch) GetRedeployObjectID() int64 {
- if x != nil {
- return x.RedeployObjectID
- }
- return 0
- }
- func (x *MapMarch) GetConscriptEndTime() int64 {
- if x != nil {
- return x.ConscriptEndTime
- }
- return 0
- }
- func (x *MapMarch) GetMarchView() *MarchView {
- if x != nil {
- return x.MarchView
- }
- return nil
- }
- // 行军请求
- type MapMarchRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 选择的队伍ID
- TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
- // 行军类型,意图
- // 见 map.go -> MarchType 行军类型
- MarchType int32 `protobuf:"varint,2,opt,name=marchType,proto3" json:"marchType,omitempty"`
- // 行军的目标坐标点
- Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
- // 行军的目标对象ID
- TargetObjectID int64 `protobuf:"varint,4,opt,name=targetObjectID,proto3" json:"targetObjectID,omitempty"`
- // 是否自动回城
- IsAutoRetreat bool `protobuf:"varint,10,opt,name=isAutoRetreat,proto3" json:"isAutoRetreat,omitempty"`
- // 是否自动征兵
- IsAutoConscript bool `protobuf:"varint,11,opt,name=isAutoConscript,proto3" json:"isAutoConscript,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMarchRequest) Reset() {
- *x = MapMarchRequest{}
- mi := &file_map_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMarchRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMarchRequest) ProtoMessage() {}
- func (x *MapMarchRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMarchRequest.ProtoReflect.Descriptor instead.
- func (*MapMarchRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{17}
- }
- func (x *MapMarchRequest) GetTeamID() int32 {
- if x != nil {
- return x.TeamID
- }
- return 0
- }
- func (x *MapMarchRequest) GetMarchType() int32 {
- if x != nil {
- return x.MarchType
- }
- return 0
- }
- func (x *MapMarchRequest) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapMarchRequest) GetTargetObjectID() int64 {
- if x != nil {
- return x.TargetObjectID
- }
- return 0
- }
- func (x *MapMarchRequest) GetIsAutoRetreat() bool {
- if x != nil {
- return x.IsAutoRetreat
- }
- return false
- }
- func (x *MapMarchRequest) GetIsAutoConscript() bool {
- if x != nil {
- return x.IsAutoConscript
- }
- return false
- }
- // 建造请求
- type MapBuildRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 地图建筑的配置ID
- ConfigID int32 `protobuf:"varint,1,opt,name=configID,proto3" json:"configID,omitempty"`
- // 建造的中心坐标点
- Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapBuildRequest) Reset() {
- *x = MapBuildRequest{}
- mi := &file_map_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapBuildRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapBuildRequest) ProtoMessage() {}
- func (x *MapBuildRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapBuildRequest.ProtoReflect.Descriptor instead.
- func (*MapBuildRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{18}
- }
- func (x *MapBuildRequest) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *MapBuildRequest) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- // 建筑升级请求
- type MapBuildUpgradeRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 地图建筑的对象ID
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 地图建筑的配置ID
- ConfigID int32 `protobuf:"varint,2,opt,name=configID,proto3" json:"configID,omitempty"`
- // 当前等级
- Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapBuildUpgradeRequest) Reset() {
- *x = MapBuildUpgradeRequest{}
- mi := &file_map_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapBuildUpgradeRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapBuildUpgradeRequest) ProtoMessage() {}
- func (x *MapBuildUpgradeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapBuildUpgradeRequest.ProtoReflect.Descriptor instead.
- func (*MapBuildUpgradeRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{19}
- }
- func (x *MapBuildUpgradeRequest) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapBuildUpgradeRequest) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *MapBuildUpgradeRequest) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- // 地图对象更新列表
- type MapObjectsUpdate struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapObjectUpdate `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapObjectsUpdate) Reset() {
- *x = MapObjectsUpdate{}
- mi := &file_map_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapObjectsUpdate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapObjectsUpdate) ProtoMessage() {}
- func (x *MapObjectsUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapObjectsUpdate.ProtoReflect.Descriptor instead.
- func (*MapObjectsUpdate) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{20}
- }
- func (x *MapObjectsUpdate) GetList() []*MapObjectUpdate {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 地图对象更新
- type MapObjectUpdate struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 是否删除
- IsDelete bool `protobuf:"varint,1,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
- // 对象ID
- ObjectID int64 `protobuf:"varint,2,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 配置ID
- ConfigID int32 `protobuf:"varint,3,opt,name=configID,proto3" json:"configID,omitempty"`
- // 对象类型
- ObjectType int32 `protobuf:"varint,4,opt,name=objectType,proto3" json:"objectType,omitempty"`
- // 坐标
- Point *Point `protobuf:"bytes,5,opt,name=point,proto3" json:"point,omitempty"`
- // 时间(毫秒)
- Time int64 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapObjectUpdate) Reset() {
- *x = MapObjectUpdate{}
- mi := &file_map_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapObjectUpdate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapObjectUpdate) ProtoMessage() {}
- func (x *MapObjectUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapObjectUpdate.ProtoReflect.Descriptor instead.
- func (*MapObjectUpdate) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{21}
- }
- func (x *MapObjectUpdate) GetIsDelete() bool {
- if x != nil {
- return x.IsDelete
- }
- return false
- }
- func (x *MapObjectUpdate) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapObjectUpdate) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *MapObjectUpdate) GetObjectType() int32 {
- if x != nil {
- return x.ObjectType
- }
- return 0
- }
- func (x *MapObjectUpdate) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapObjectUpdate) GetTime() int64 {
- if x != nil {
- return x.Time
- }
- return 0
- }
- // 行军对象的状态
- type MapMarchState struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 行军对象ID
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 行军对象当前坐标点
- Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
- // 行军对象当前状态
- // 见 map.go -> MarchState 行军状态
- State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
- // 状态开始时间 (毫秒)
- StateStartTime int64 `protobuf:"varint,4,opt,name=stateStartTime,proto3" json:"stateStartTime,omitempty"`
- // 状态结束时间 (毫秒)
- StateEndTime int64 `protobuf:"varint,5,opt,name=stateEndTime,proto3" json:"stateEndTime,omitempty"`
- // 行军速度
- Speed int64 `protobuf:"varint,6,opt,name=speed,proto3" json:"speed,omitempty"`
- // 调动目标建筑对象ID
- RedeployObjectID int64 `protobuf:"varint,7,opt,name=redeployObjectID,proto3" json:"redeployObjectID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMarchState) Reset() {
- *x = MapMarchState{}
- mi := &file_map_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMarchState) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMarchState) ProtoMessage() {}
- func (x *MapMarchState) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMarchState.ProtoReflect.Descriptor instead.
- func (*MapMarchState) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{22}
- }
- func (x *MapMarchState) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapMarchState) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapMarchState) GetState() int32 {
- if x != nil {
- return x.State
- }
- return 0
- }
- func (x *MapMarchState) GetStateStartTime() int64 {
- if x != nil {
- return x.StateStartTime
- }
- return 0
- }
- func (x *MapMarchState) GetStateEndTime() int64 {
- if x != nil {
- return x.StateEndTime
- }
- return 0
- }
- func (x *MapMarchState) GetSpeed() int64 {
- if x != nil {
- return x.Speed
- }
- return 0
- }
- func (x *MapMarchState) GetRedeployObjectID() int64 {
- if x != nil {
- return x.RedeployObjectID
- }
- return 0
- }
- // 玩家登录地图后,带下去一些进入地图之前需要知道必要的信息
- type MapLoginResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家出生州ID(0表示未选州)
- BornStateID int32 `protobuf:"varint,1,opt,name=bornStateID,proto3" json:"bornStateID,omitempty"`
- // 玩家声望
- Prestige int32 `protobuf:"varint,2,opt,name=prestige,proto3" json:"prestige,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapLoginResponse) Reset() {
- *x = MapLoginResponse{}
- mi := &file_map_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapLoginResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapLoginResponse) ProtoMessage() {}
- func (x *MapLoginResponse) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapLoginResponse.ProtoReflect.Descriptor instead.
- func (*MapLoginResponse) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{23}
- }
- func (x *MapLoginResponse) GetBornStateID() int32 {
- if x != nil {
- return x.BornStateID
- }
- return 0
- }
- func (x *MapLoginResponse) GetPrestige() int32 {
- if x != nil {
- return x.Prestige
- }
- return 0
- }
- // 玩家进入地图成功后下发的信息
- type MapEnterResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 地基建造截止时间 (毫秒)
- CityBaseEndTime int64 `protobuf:"varint,1,opt,name=cityBaseEndTime,proto3" json:"cityBaseEndTime,omitempty"`
- // 迁城冷却截止时间 (毫秒)
- RelocateEndTime int64 `protobuf:"varint,2,opt,name=relocateEndTime,proto3" json:"relocateEndTime,omitempty"`
- // 再起截止时间(毫秒)
- ComebackEndTime int64 `protobuf:"varint,4,opt,name=comebackEndTime,proto3" json:"comebackEndTime,omitempty"`
- // 选州截止时间(毫秒)
- RechooseComebackEndTime int64 `protobuf:"varint,5,opt,name=rechooseComebackEndTime,proto3" json:"rechooseComebackEndTime,omitempty"`
- // 加固准备结束时间(毫秒)
- ReinforcePrepareEndTime int64 `protobuf:"varint,6,opt,name=reinforcePrepareEndTime,proto3" json:"reinforcePrepareEndTime,omitempty"`
- // 加固生效结束时间(毫秒)
- ReinforceEffectEndTime int64 `protobuf:"varint,7,opt,name=reinforceEffectEndTime,proto3" json:"reinforceEffectEndTime,omitempty"`
- // 加固冷却结束时间(毫秒)
- ReinforceCooldownEndTime int64 `protobuf:"varint,8,opt,name=reinforceCooldownEndTime,proto3" json:"reinforceCooldownEndTime,omitempty"`
- // 资源守军恢复倒计时(秒) key: objectID value: 恢复时间
- ResDefends *I64Map `protobuf:"bytes,10,opt,name=resDefends,proto3" json:"resDefends,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapEnterResponse) Reset() {
- *x = MapEnterResponse{}
- mi := &file_map_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapEnterResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapEnterResponse) ProtoMessage() {}
- func (x *MapEnterResponse) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapEnterResponse.ProtoReflect.Descriptor instead.
- func (*MapEnterResponse) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{24}
- }
- func (x *MapEnterResponse) GetCityBaseEndTime() int64 {
- if x != nil {
- return x.CityBaseEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetRelocateEndTime() int64 {
- if x != nil {
- return x.RelocateEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetComebackEndTime() int64 {
- if x != nil {
- return x.ComebackEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetRechooseComebackEndTime() int64 {
- if x != nil {
- return x.RechooseComebackEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetReinforcePrepareEndTime() int64 {
- if x != nil {
- return x.ReinforcePrepareEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetReinforceEffectEndTime() int64 {
- if x != nil {
- return x.ReinforceEffectEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetReinforceCooldownEndTime() int64 {
- if x != nil {
- return x.ReinforceCooldownEndTime
- }
- return 0
- }
- func (x *MapEnterResponse) GetResDefends() *I64Map {
- if x != nil {
- return x.ResDefends
- }
- return nil
- }
- // 地图攻城信息
- type MapSiege struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 系统城对象ID
- CastleObjectID int64 `protobuf:"varint,1,opt,name=castleObjectID,proto3" json:"castleObjectID,omitempty"`
- // 系统城配置ID
- CastleConfigID int32 `protobuf:"varint,2,opt,name=castleConfigID,proto3" json:"castleConfigID,omitempty"`
- // 攻城大营对象ID
- SiegeCampObjectID int64 `protobuf:"varint,3,opt,name=siegeCampObjectID,proto3" json:"siegeCampObjectID,omitempty"`
- // 当前攻城阶段
- // 见 siege_stage.go 文件 SiegeStage 枚举
- SiegeStage int32 `protobuf:"varint,11,opt,name=siegeStage,proto3" json:"siegeStage,omitempty"`
- // 当前阶段结束时间(毫秒)
- StageEndTime int64 `protobuf:"varint,12,opt,name=stageEndTime,proto3" json:"stageEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapSiege) Reset() {
- *x = MapSiege{}
- mi := &file_map_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapSiege) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapSiege) ProtoMessage() {}
- func (x *MapSiege) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapSiege.ProtoReflect.Descriptor instead.
- func (*MapSiege) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{25}
- }
- func (x *MapSiege) GetCastleObjectID() int64 {
- if x != nil {
- return x.CastleObjectID
- }
- return 0
- }
- func (x *MapSiege) GetCastleConfigID() int32 {
- if x != nil {
- return x.CastleConfigID
- }
- return 0
- }
- func (x *MapSiege) GetSiegeCampObjectID() int64 {
- if x != nil {
- return x.SiegeCampObjectID
- }
- return 0
- }
- func (x *MapSiege) GetSiegeStage() int32 {
- if x != nil {
- return x.SiegeStage
- }
- return 0
- }
- func (x *MapSiege) GetStageEndTime() int64 {
- if x != nil {
- return x.StageEndTime
- }
- return 0
- }
- // 发起集结请求
- type MapAssembleRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 要集结的队伍ID
- TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
- // 集结的目标对象ID
- ObjectID int64 `protobuf:"varint,2,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 集结的目标对象类型
- ObjectType int32 `protobuf:"varint,3,opt,name=objectType,proto3" json:"objectType,omitempty"`
- // 集结的目标坐标
- Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
- // 集结时间(分钟)
- AssembleTime int32 `protobuf:"varint,5,opt,name=assembleTime,proto3" json:"assembleTime,omitempty"`
- // 是否自动回城
- IsAutoRetreat bool `protobuf:"varint,6,opt,name=isAutoRetreat,proto3" json:"isAutoRetreat,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapAssembleRequest) Reset() {
- *x = MapAssembleRequest{}
- mi := &file_map_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapAssembleRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapAssembleRequest) ProtoMessage() {}
- func (x *MapAssembleRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[26]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapAssembleRequest.ProtoReflect.Descriptor instead.
- func (*MapAssembleRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{26}
- }
- func (x *MapAssembleRequest) GetTeamID() int32 {
- if x != nil {
- return x.TeamID
- }
- return 0
- }
- func (x *MapAssembleRequest) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapAssembleRequest) GetObjectType() int32 {
- if x != nil {
- return x.ObjectType
- }
- return 0
- }
- func (x *MapAssembleRequest) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapAssembleRequest) GetAssembleTime() int32 {
- if x != nil {
- return x.AssembleTime
- }
- return 0
- }
- func (x *MapAssembleRequest) GetIsAutoRetreat() bool {
- if x != nil {
- return x.IsAutoRetreat
- }
- return false
- }
- // 加入集结请求
- type MapAssembleJoinRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 要加入的队伍ID
- TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
- // 要加入的集结ID
- AssembleID int64 `protobuf:"varint,2,opt,name=assembleID,proto3" json:"assembleID,omitempty"`
- // 是否自动回城
- IsAutoRetreat bool `protobuf:"varint,3,opt,name=isAutoRetreat,proto3" json:"isAutoRetreat,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapAssembleJoinRequest) Reset() {
- *x = MapAssembleJoinRequest{}
- mi := &file_map_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapAssembleJoinRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapAssembleJoinRequest) ProtoMessage() {}
- func (x *MapAssembleJoinRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapAssembleJoinRequest.ProtoReflect.Descriptor instead.
- func (*MapAssembleJoinRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{27}
- }
- func (x *MapAssembleJoinRequest) GetTeamID() int32 {
- if x != nil {
- return x.TeamID
- }
- return 0
- }
- func (x *MapAssembleJoinRequest) GetAssembleID() int64 {
- if x != nil {
- return x.AssembleID
- }
- return 0
- }
- func (x *MapAssembleJoinRequest) GetIsAutoRetreat() bool {
- if x != nil {
- return x.IsAutoRetreat
- }
- return false
- }
- type MapAssembleList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapAssemble `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapAssembleList) Reset() {
- *x = MapAssembleList{}
- mi := &file_map_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapAssembleList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapAssembleList) ProtoMessage() {}
- func (x *MapAssembleList) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[28]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapAssembleList.ProtoReflect.Descriptor instead.
- func (*MapAssembleList) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{28}
- }
- func (x *MapAssembleList) GetList() []*MapAssemble {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 地图集结信息
- type MapAssemble struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 集结信息唯一ID
- AssembleID int64 `protobuf:"varint,1,opt,name=assembleID,proto3" json:"assembleID,omitempty"`
- // 发起人玩家ID
- LeadPlayerID int64 `protobuf:"varint,2,opt,name=leadPlayerID,proto3" json:"leadPlayerID,omitempty"`
- // 出发坐标点
- StartPoint *Point `protobuf:"bytes,3,opt,name=startPoint,proto3" json:"startPoint,omitempty"`
- // 集结结束时间(毫秒)
- AssembleEndTime int64 `protobuf:"varint,4,opt,name=assembleEndTime,proto3" json:"assembleEndTime,omitempty"`
- // 集结对象列表
- MarchList []*MapAssembleMarch `protobuf:"bytes,5,rep,name=marchList,proto3" json:"marchList,omitempty"`
- // 是否已出发(讨伐中)
- IsDepart bool `protobuf:"varint,6,opt,name=isDepart,proto3" json:"isDepart,omitempty"`
- // 集结目标对象ID
- TargetObjectID int64 `protobuf:"varint,11,opt,name=targetObjectID,proto3" json:"targetObjectID,omitempty"`
- // 集结目标配置ID
- TargetConfigID int32 `protobuf:"varint,12,opt,name=targetConfigID,proto3" json:"targetConfigID,omitempty"`
- // 集结目标对象类型
- TargetConfigType int32 `protobuf:"varint,13,opt,name=targetConfigType,proto3" json:"targetConfigType,omitempty"`
- // 集结目标的坐标
- TargetPoint *Point `protobuf:"bytes,14,opt,name=targetPoint,proto3" json:"targetPoint,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapAssemble) Reset() {
- *x = MapAssemble{}
- mi := &file_map_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapAssemble) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapAssemble) ProtoMessage() {}
- func (x *MapAssemble) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[29]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapAssemble.ProtoReflect.Descriptor instead.
- func (*MapAssemble) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{29}
- }
- func (x *MapAssemble) GetAssembleID() int64 {
- if x != nil {
- return x.AssembleID
- }
- return 0
- }
- func (x *MapAssemble) GetLeadPlayerID() int64 {
- if x != nil {
- return x.LeadPlayerID
- }
- return 0
- }
- func (x *MapAssemble) GetStartPoint() *Point {
- if x != nil {
- return x.StartPoint
- }
- return nil
- }
- func (x *MapAssemble) GetAssembleEndTime() int64 {
- if x != nil {
- return x.AssembleEndTime
- }
- return 0
- }
- func (x *MapAssemble) GetMarchList() []*MapAssembleMarch {
- if x != nil {
- return x.MarchList
- }
- return nil
- }
- func (x *MapAssemble) GetIsDepart() bool {
- if x != nil {
- return x.IsDepart
- }
- return false
- }
- func (x *MapAssemble) GetTargetObjectID() int64 {
- if x != nil {
- return x.TargetObjectID
- }
- return 0
- }
- func (x *MapAssemble) GetTargetConfigID() int32 {
- if x != nil {
- return x.TargetConfigID
- }
- return 0
- }
- func (x *MapAssemble) GetTargetConfigType() int32 {
- if x != nil {
- return x.TargetConfigType
- }
- return 0
- }
- func (x *MapAssemble) GetTargetPoint() *Point {
- if x != nil {
- return x.TargetPoint
- }
- return nil
- }
- // 地图中的集结对象信息
- type MapAssembleMarch struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 集结的玩家ID
- PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 集结的玩家名
- PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"`
- // 集结的行军对象ID
- MarchObjectID int64 `protobuf:"varint,10,opt,name=marchObjectID,proto3" json:"marchObjectID,omitempty"`
- // 集结行军对象到达时间
- MarchArriveTime int64 `protobuf:"varint,11,opt,name=marchArriveTime,proto3" json:"marchArriveTime,omitempty"`
- // 行军对象的主将英雄配置ID
- HeroConfigID int32 `protobuf:"varint,12,opt,name=heroConfigID,proto3" json:"heroConfigID,omitempty"`
- // 行军对象的主将英雄等级
- HeroLevel int32 `protobuf:"varint,13,opt,name=heroLevel,proto3" json:"heroLevel,omitempty"`
- // 行军对象的主将英雄星级
- HeroStar int32 `protobuf:"varint,14,opt,name=heroStar,proto3" json:"heroStar,omitempty"`
- // 行军对象的兵力
- TroopsNum int32 `protobuf:"varint,15,opt,name=troopsNum,proto3" json:"troopsNum,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapAssembleMarch) Reset() {
- *x = MapAssembleMarch{}
- mi := &file_map_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapAssembleMarch) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapAssembleMarch) ProtoMessage() {}
- func (x *MapAssembleMarch) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[30]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapAssembleMarch.ProtoReflect.Descriptor instead.
- func (*MapAssembleMarch) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{30}
- }
- func (x *MapAssembleMarch) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *MapAssembleMarch) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *MapAssembleMarch) GetMarchObjectID() int64 {
- if x != nil {
- return x.MarchObjectID
- }
- return 0
- }
- func (x *MapAssembleMarch) GetMarchArriveTime() int64 {
- if x != nil {
- return x.MarchArriveTime
- }
- return 0
- }
- func (x *MapAssembleMarch) GetHeroConfigID() int32 {
- if x != nil {
- return x.HeroConfigID
- }
- return 0
- }
- func (x *MapAssembleMarch) GetHeroLevel() int32 {
- if x != nil {
- return x.HeroLevel
- }
- return 0
- }
- func (x *MapAssembleMarch) GetHeroStar() int32 {
- if x != nil {
- return x.HeroStar
- }
- return 0
- }
- func (x *MapAssembleMarch) GetTroopsNum() int32 {
- if x != nil {
- return x.TroopsNum
- }
- return 0
- }
- // 地图标记列表
- type MapMarkList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapMark `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMarkList) Reset() {
- *x = MapMarkList{}
- mi := &file_map_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMarkList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMarkList) ProtoMessage() {}
- func (x *MapMarkList) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[31]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMarkList.ProtoReflect.Descriptor instead.
- func (*MapMarkList) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{31}
- }
- func (x *MapMarkList) GetList() []*MapMark {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 玩家地图标记
- type MapMark struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 标记ID
- MarkID int32 `protobuf:"varint,1,opt,name=markID,proto3" json:"markID,omitempty"`
- // 标记标题 如果为玩家标记 当前为空时 则使用地块名称
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
- // 标记描述
- Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
- // 标记坐标
- Point *Point `protobuf:"bytes,4,opt,name=point,proto3" json:"point,omitempty"`
- // 标记指令 0未选择 1撤退 2集合 3防守 4进攻 5扎营 6建造
- Command int32 `protobuf:"varint,5,opt,name=command,proto3" json:"command,omitempty"`
- // 标记时间戳 单位秒
- MarkTime int64 `protobuf:"varint,6,opt,name=markTime,proto3" json:"markTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMark) Reset() {
- *x = MapMark{}
- mi := &file_map_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMark) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMark) ProtoMessage() {}
- func (x *MapMark) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[32]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMark.ProtoReflect.Descriptor instead.
- func (*MapMark) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{32}
- }
- func (x *MapMark) GetMarkID() int32 {
- if x != nil {
- return x.MarkID
- }
- return 0
- }
- func (x *MapMark) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
- }
- func (x *MapMark) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- func (x *MapMark) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapMark) GetCommand() int32 {
- if x != nil {
- return x.Command
- }
- return 0
- }
- func (x *MapMark) GetMarkTime() int64 {
- if x != nil {
- return x.MarkTime
- }
- return 0
- }
- // 玩家地图标记
- type MapMarkRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 标记标题 如果为玩家标记 当前为空时 则使用地块名称
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- // 标记描述
- Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
- // 标记坐标
- Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
- // 标记指令 0未选择 1撤退 2集合 3防守 4进攻 5扎营 6建造
- Command int32 `protobuf:"varint,4,opt,name=command,proto3" json:"command,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMarkRequest) Reset() {
- *x = MapMarkRequest{}
- mi := &file_map_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMarkRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMarkRequest) ProtoMessage() {}
- func (x *MapMarkRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[33]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMarkRequest.ProtoReflect.Descriptor instead.
- func (*MapMarkRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{33}
- }
- func (x *MapMarkRequest) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
- }
- func (x *MapMarkRequest) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- func (x *MapMarkRequest) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapMarkRequest) GetCommand() int32 {
- if x != nil {
- return x.Command
- }
- return 0
- }
- // 玩家地图标记
- type MapMarkEditRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 地图标记ID
- MarkID int32 `protobuf:"varint,1,opt,name=markID,proto3" json:"markID,omitempty"`
- // 标记标题 如果为玩家标记 当前为空时 则使用地块名称
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
- // 标记描述
- Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
- // 标记指令 0未选择 1撤退 2集合 3防守 4进攻 5扎营 6建造
- Command int32 `protobuf:"varint,4,opt,name=command,proto3" json:"command,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapMarkEditRequest) Reset() {
- *x = MapMarkEditRequest{}
- mi := &file_map_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapMarkEditRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapMarkEditRequest) ProtoMessage() {}
- func (x *MapMarkEditRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[34]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapMarkEditRequest.ProtoReflect.Descriptor instead.
- func (*MapMarkEditRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{34}
- }
- func (x *MapMarkEditRequest) GetMarkID() int32 {
- if x != nil {
- return x.MarkID
- }
- return 0
- }
- func (x *MapMarkEditRequest) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
- }
- func (x *MapMarkEditRequest) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- func (x *MapMarkEditRequest) GetCommand() int32 {
- if x != nil {
- return x.Command
- }
- return 0
- }
- // 地图战斗推送
- type MapBattlePush struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 进攻方的行军对象ID
- AttackMarchObjectID int64 `protobuf:"varint,1,opt,name=attackMarchObjectID,proto3" json:"attackMarchObjectID,omitempty"`
- // 进攻方主将英雄配置ID
- AttackHeroConfigID int32 `protobuf:"varint,2,opt,name=attackHeroConfigID,proto3" json:"attackHeroConfigID,omitempty"`
- // 进攻方行军展示信息
- AttackMarchView *MarchView `protobuf:"bytes,3,opt,name=attackMarchView,proto3" json:"attackMarchView,omitempty"`
- // 防守方的行军对象ID(PVE为0)
- DefendMarchObjectID int64 `protobuf:"varint,11,opt,name=defendMarchObjectID,proto3" json:"defendMarchObjectID,omitempty"`
- // 防守方主将英雄配置ID
- DefendHeroConfigID int32 `protobuf:"varint,12,opt,name=defendHeroConfigID,proto3" json:"defendHeroConfigID,omitempty"`
- // 防守方行军展示信息
- DefendMarchView *MarchView `protobuf:"bytes,13,opt,name=defendMarchView,proto3" json:"defendMarchView,omitempty"`
- // 防守方的怪物组ID(PVP为0)
- DefendMonsterGroupID int32 `protobuf:"varint,14,opt,name=defendMonsterGroupID,proto3" json:"defendMonsterGroupID,omitempty"`
- // 战斗类型,区分PVE和PVP
- // 见 tile_battle_type.go -> TileBattleType 战斗类型
- BattleType int32 `protobuf:"varint,21,opt,name=battleType,proto3" json:"battleType,omitempty"`
- // 是否胜利(以进攻方为视角)
- IsWin bool `protobuf:"varint,22,opt,name=isWin,proto3" json:"isWin,omitempty"`
- // 发生战斗的坐标
- Point *Point `protobuf:"bytes,23,opt,name=point,proto3" json:"point,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapBattlePush) Reset() {
- *x = MapBattlePush{}
- mi := &file_map_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapBattlePush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapBattlePush) ProtoMessage() {}
- func (x *MapBattlePush) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[35]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapBattlePush.ProtoReflect.Descriptor instead.
- func (*MapBattlePush) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{35}
- }
- func (x *MapBattlePush) GetAttackMarchObjectID() int64 {
- if x != nil {
- return x.AttackMarchObjectID
- }
- return 0
- }
- func (x *MapBattlePush) GetAttackHeroConfigID() int32 {
- if x != nil {
- return x.AttackHeroConfigID
- }
- return 0
- }
- func (x *MapBattlePush) GetAttackMarchView() *MarchView {
- if x != nil {
- return x.AttackMarchView
- }
- return nil
- }
- func (x *MapBattlePush) GetDefendMarchObjectID() int64 {
- if x != nil {
- return x.DefendMarchObjectID
- }
- return 0
- }
- func (x *MapBattlePush) GetDefendHeroConfigID() int32 {
- if x != nil {
- return x.DefendHeroConfigID
- }
- return 0
- }
- func (x *MapBattlePush) GetDefendMarchView() *MarchView {
- if x != nil {
- return x.DefendMarchView
- }
- return nil
- }
- func (x *MapBattlePush) GetDefendMonsterGroupID() int32 {
- if x != nil {
- return x.DefendMonsterGroupID
- }
- return 0
- }
- func (x *MapBattlePush) GetBattleType() int32 {
- if x != nil {
- return x.BattleType
- }
- return 0
- }
- func (x *MapBattlePush) GetIsWin() bool {
- if x != nil {
- return x.IsWin
- }
- return false
- }
- func (x *MapBattlePush) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- // [请求] 攻城集结
- type SiegeAssembleRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 队伍ID
- TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
- // 攻城大营对象ID
- SiegeBaseObjectID int64 `protobuf:"varint,2,opt,name=siegeBaseObjectID,proto3" json:"siegeBaseObjectID,omitempty"`
- // 是否作为攻城主力部队
- IsMainForce bool `protobuf:"varint,3,opt,name=isMainForce,proto3" json:"isMainForce,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SiegeAssembleRequest) Reset() {
- *x = SiegeAssembleRequest{}
- mi := &file_map_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SiegeAssembleRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SiegeAssembleRequest) ProtoMessage() {}
- func (x *SiegeAssembleRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[36]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SiegeAssembleRequest.ProtoReflect.Descriptor instead.
- func (*SiegeAssembleRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{36}
- }
- func (x *SiegeAssembleRequest) GetTeamID() int32 {
- if x != nil {
- return x.TeamID
- }
- return 0
- }
- func (x *SiegeAssembleRequest) GetSiegeBaseObjectID() int64 {
- if x != nil {
- return x.SiegeBaseObjectID
- }
- return 0
- }
- func (x *SiegeAssembleRequest) GetIsMainForce() bool {
- if x != nil {
- return x.IsMainForce
- }
- return false
- }
- // 地图战争信息
- type War struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 宣战的系统城对象ID
- CastleObjectID int64 `protobuf:"varint,1,opt,name=castleObjectID,proto3" json:"castleObjectID,omitempty"`
- // 宣战的系统城配置ID
- CastleConfigID int32 `protobuf:"varint,2,opt,name=castleConfigID,proto3" json:"castleConfigID,omitempty"`
- // 宣战的系统城坐标
- CastlePoint *Point `protobuf:"bytes,3,opt,name=castlePoint,proto3" json:"castlePoint,omitempty"`
- // 宣战的攻城地基对象ID
- SiegeBaseObjectID int64 `protobuf:"varint,4,opt,name=siegeBaseObjectID,proto3" json:"siegeBaseObjectID,omitempty"`
- // 宣战的攻城地基配置ID
- SiegeBaseConfigID int32 `protobuf:"varint,5,opt,name=siegeBaseConfigID,proto3" json:"siegeBaseConfigID,omitempty"`
- // 宣战的攻城地基坐标
- SiegeBasePoint *Point `protobuf:"bytes,6,opt,name=siegeBasePoint,proto3" json:"siegeBasePoint,omitempty"`
- // 战争阶段, 见 siege_stage.go 文件 SiegeStage 枚举
- Stage int32 `protobuf:"varint,10,opt,name=stage,proto3" json:"stage,omitempty"`
- // 当前阶段结束时间(毫秒)
- StageEndTime int64 `protobuf:"varint,11,opt,name=stageEndTime,proto3" json:"stageEndTime,omitempty"`
- // 攻城主力部队数量
- MainForceNum int32 `protobuf:"varint,20,opt,name=mainForceNum,proto3" json:"mainForceNum,omitempty"`
- // 攻城拆迁部队数量
- SiegeSquadNum int32 `protobuf:"varint,21,opt,name=siegeSquadNum,proto3" json:"siegeSquadNum,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *War) Reset() {
- *x = War{}
- mi := &file_map_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *War) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*War) ProtoMessage() {}
- func (x *War) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[37]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use War.ProtoReflect.Descriptor instead.
- func (*War) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{37}
- }
- func (x *War) GetCastleObjectID() int64 {
- if x != nil {
- return x.CastleObjectID
- }
- return 0
- }
- func (x *War) GetCastleConfigID() int32 {
- if x != nil {
- return x.CastleConfigID
- }
- return 0
- }
- func (x *War) GetCastlePoint() *Point {
- if x != nil {
- return x.CastlePoint
- }
- return nil
- }
- func (x *War) GetSiegeBaseObjectID() int64 {
- if x != nil {
- return x.SiegeBaseObjectID
- }
- return 0
- }
- func (x *War) GetSiegeBaseConfigID() int32 {
- if x != nil {
- return x.SiegeBaseConfigID
- }
- return 0
- }
- func (x *War) GetSiegeBasePoint() *Point {
- if x != nil {
- return x.SiegeBasePoint
- }
- return nil
- }
- func (x *War) GetStage() int32 {
- if x != nil {
- return x.Stage
- }
- return 0
- }
- func (x *War) GetStageEndTime() int64 {
- if x != nil {
- return x.StageEndTime
- }
- return 0
- }
- func (x *War) GetMainForceNum() int32 {
- if x != nil {
- return x.MainForceNum
- }
- return 0
- }
- func (x *War) GetSiegeSquadNum() int32 {
- if x != nil {
- return x.SiegeSquadNum
- }
- return 0
- }
- // 地图战争列表
- type WarList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*War `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *WarList) Reset() {
- *x = WarList{}
- mi := &file_map_proto_msgTypes[38]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *WarList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WarList) ProtoMessage() {}
- func (x *WarList) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[38]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use WarList.ProtoReflect.Descriptor instead.
- func (*WarList) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{38}
- }
- func (x *WarList) GetList() []*War {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 攻城首占排名
- type SiegeRank struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 建筑对象ID
- BuildObjectID int64 `protobuf:"varint,1,opt,name=buildObjectID,proto3" json:"buildObjectID,omitempty"`
- // 杀敌排行 key: 杀敌数 value: 玩家名
- KillRank []*I32Str `protobuf:"bytes,2,rep,name=killRank,proto3" json:"killRank,omitempty"`
- // 耐久排行 key: 耐久数 value: 玩家名
- DurabilityRank []*I32Str `protobuf:"bytes,3,rep,name=durabilityRank,proto3" json:"durabilityRank,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SiegeRank) Reset() {
- *x = SiegeRank{}
- mi := &file_map_proto_msgTypes[39]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SiegeRank) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SiegeRank) ProtoMessage() {}
- func (x *SiegeRank) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[39]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SiegeRank.ProtoReflect.Descriptor instead.
- func (*SiegeRank) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{39}
- }
- func (x *SiegeRank) GetBuildObjectID() int64 {
- if x != nil {
- return x.BuildObjectID
- }
- return 0
- }
- func (x *SiegeRank) GetKillRank() []*I32Str {
- if x != nil {
- return x.KillRank
- }
- return nil
- }
- func (x *SiegeRank) GetDurabilityRank() []*I32Str {
- if x != nil {
- return x.DurabilityRank
- }
- return nil
- }
- // 攻城结果推送
- type SiegeResult struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟ID
- LeagueID int64 `protobuf:"varint,1,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 联盟名
- LeagueName string `protobuf:"bytes,2,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
- // 建筑ID
- BuildObjectID int64 `protobuf:"varint,10,opt,name=buildObjectID,proto3" json:"buildObjectID,omitempty"`
- // 建筑配置ID
- BuildConfigID int32 `protobuf:"varint,11,opt,name=buildConfigID,proto3" json:"buildConfigID,omitempty"`
- // 杀敌数据
- KillData []*SiegeData `protobuf:"bytes,20,rep,name=killData,proto3" json:"killData,omitempty"`
- // 攻城数据
- SiegeData []*SiegeData `protobuf:"bytes,21,rep,name=siegeData,proto3" json:"siegeData,omitempty"`
- // 最后一击玩家信息
- LastKill *SiegePlayer `protobuf:"bytes,22,opt,name=lastKill,proto3" json:"lastKill,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SiegeResult) Reset() {
- *x = SiegeResult{}
- mi := &file_map_proto_msgTypes[40]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SiegeResult) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SiegeResult) ProtoMessage() {}
- func (x *SiegeResult) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[40]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SiegeResult.ProtoReflect.Descriptor instead.
- func (*SiegeResult) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{40}
- }
- func (x *SiegeResult) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *SiegeResult) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *SiegeResult) GetBuildObjectID() int64 {
- if x != nil {
- return x.BuildObjectID
- }
- return 0
- }
- func (x *SiegeResult) GetBuildConfigID() int32 {
- if x != nil {
- return x.BuildConfigID
- }
- return 0
- }
- func (x *SiegeResult) GetKillData() []*SiegeData {
- if x != nil {
- return x.KillData
- }
- return nil
- }
- func (x *SiegeResult) GetSiegeData() []*SiegeData {
- if x != nil {
- return x.SiegeData
- }
- return nil
- }
- func (x *SiegeResult) GetLastKill() *SiegePlayer {
- if x != nil {
- return x.LastKill
- }
- return nil
- }
- // 攻城结果
- type SiegeData struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家信息
- Player *SiegePlayer `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"`
- // 值
- Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SiegeData) Reset() {
- *x = SiegeData{}
- mi := &file_map_proto_msgTypes[41]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SiegeData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SiegeData) ProtoMessage() {}
- func (x *SiegeData) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[41]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SiegeData.ProtoReflect.Descriptor instead.
- func (*SiegeData) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{41}
- }
- func (x *SiegeData) GetPlayer() *SiegePlayer {
- if x != nil {
- return x.Player
- }
- return nil
- }
- func (x *SiegeData) GetValue() int32 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type SiegePlayer struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家ID
- PlayerID int64 `protobuf:"varint,1,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 玩家名
- PlayerName string `protobuf:"bytes,2,opt,name=playerName,proto3" json:"playerName,omitempty"`
- // 玩家头像
- IconID int32 `protobuf:"varint,3,opt,name=iconID,proto3" json:"iconID,omitempty"`
- // 玩家头像框ID
- FrameID int32 `protobuf:"varint,4,opt,name=frameID,proto3" json:"frameID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SiegePlayer) Reset() {
- *x = SiegePlayer{}
- mi := &file_map_proto_msgTypes[42]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SiegePlayer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SiegePlayer) ProtoMessage() {}
- func (x *SiegePlayer) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[42]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SiegePlayer.ProtoReflect.Descriptor instead.
- func (*SiegePlayer) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{42}
- }
- func (x *SiegePlayer) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *SiegePlayer) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *SiegePlayer) GetIconID() int32 {
- if x != nil {
- return x.IconID
- }
- return 0
- }
- func (x *SiegePlayer) GetFrameID() int32 {
- if x != nil {
- return x.FrameID
- }
- return 0
- }
- // 行军展示信息
- type MarchView struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 行军展示ID(配置文件中)
- MarchViewID int32 `protobuf:"varint,1,opt,name=marchViewID,proto3" json:"marchViewID,omitempty"`
- // 兵种ID1
- ArmID1 int32 `protobuf:"varint,2,opt,name=armID1,proto3" json:"armID1,omitempty"`
- // 兵种ID2
- ArmID2 int32 `protobuf:"varint,3,opt,name=armID2,proto3" json:"armID2,omitempty"`
- // 兵种ID3
- ArmID3 int32 `protobuf:"varint,4,opt,name=armID3,proto3" json:"armID3,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MarchView) Reset() {
- *x = MarchView{}
- mi := &file_map_proto_msgTypes[43]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MarchView) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MarchView) ProtoMessage() {}
- func (x *MarchView) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[43]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MarchView.ProtoReflect.Descriptor instead.
- func (*MarchView) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{43}
- }
- func (x *MarchView) GetMarchViewID() int32 {
- if x != nil {
- return x.MarchViewID
- }
- return 0
- }
- func (x *MarchView) GetArmID1() int32 {
- if x != nil {
- return x.ArmID1
- }
- return 0
- }
- func (x *MarchView) GetArmID2() int32 {
- if x != nil {
- return x.ArmID2
- }
- return 0
- }
- func (x *MarchView) GetArmID3() int32 {
- if x != nil {
- return x.ArmID3
- }
- return 0
- }
- // 寻路请求
- type MapFindPathRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 选择的队伍ID
- TeamID int32 `protobuf:"varint,1,opt,name=teamID,proto3" json:"teamID,omitempty"`
- // 目标坐标点
- Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapFindPathRequest) Reset() {
- *x = MapFindPathRequest{}
- mi := &file_map_proto_msgTypes[44]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapFindPathRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapFindPathRequest) ProtoMessage() {}
- func (x *MapFindPathRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[44]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapFindPathRequest.ProtoReflect.Descriptor instead.
- func (*MapFindPathRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{44}
- }
- func (x *MapFindPathRequest) GetTeamID() int32 {
- if x != nil {
- return x.TeamID
- }
- return 0
- }
- func (x *MapFindPathRequest) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- // 再起信息
- type ComebackResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 新的坐标点
- Point *Point `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
- // 再起冷却结束时间(毫秒)
- ComebackEndTime int64 `protobuf:"varint,2,opt,name=comebackEndTime,proto3" json:"comebackEndTime,omitempty"`
- // 选州再起冷却结束时间(毫秒)
- RechooseComebackEndTime int64 `protobuf:"varint,3,opt,name=rechooseComebackEndTime,proto3" json:"rechooseComebackEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ComebackResponse) Reset() {
- *x = ComebackResponse{}
- mi := &file_map_proto_msgTypes[45]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ComebackResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ComebackResponse) ProtoMessage() {}
- func (x *ComebackResponse) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[45]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ComebackResponse.ProtoReflect.Descriptor instead.
- func (*ComebackResponse) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{45}
- }
- func (x *ComebackResponse) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *ComebackResponse) GetComebackEndTime() int64 {
- if x != nil {
- return x.ComebackEndTime
- }
- return 0
- }
- func (x *ComebackResponse) GetRechooseComebackEndTime() int64 {
- if x != nil {
- return x.RechooseComebackEndTime
- }
- return 0
- }
- // 重新出生推送
- type RebornPush struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 新的坐标点
- Point *Point `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
- // 是否出生失败(客户端要重试)
- IsFailed bool `protobuf:"varint,2,opt,name=isFailed,proto3" json:"isFailed,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *RebornPush) Reset() {
- *x = RebornPush{}
- mi := &file_map_proto_msgTypes[46]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *RebornPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RebornPush) ProtoMessage() {}
- func (x *RebornPush) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[46]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RebornPush.ProtoReflect.Descriptor instead.
- func (*RebornPush) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{46}
- }
- func (x *RebornPush) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *RebornPush) GetIsFailed() bool {
- if x != nil {
- return x.IsFailed
- }
- return false
- }
- // 地图ui层-行军对象列表
- type MapUIMarchs struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象列表
- List []*MapUIMarch `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapUIMarchs) Reset() {
- *x = MapUIMarchs{}
- mi := &file_map_proto_msgTypes[47]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapUIMarchs) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapUIMarchs) ProtoMessage() {}
- func (x *MapUIMarchs) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[47]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapUIMarchs.ProtoReflect.Descriptor instead.
- func (*MapUIMarchs) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{47}
- }
- func (x *MapUIMarchs) GetList() []*MapUIMarch {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 地图ui层-行军
- type MapUIMarch struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 对象配置ID
- ConfigID int32 `protobuf:"varint,2,opt,name=configID,proto3" json:"configID,omitempty"`
- // 行军状态
- // 见 map.go -> MarchState 行军状态
- MarchState int32 `protobuf:"varint,3,opt,name=marchState,proto3" json:"marchState,omitempty"`
- // 行军展示信息
- MarchView *MarchView `protobuf:"bytes,4,opt,name=marchView,proto3" json:"marchView,omitempty"`
- // 寻路信息(运用于行军/军团等可移动对象)
- Path *MapPath `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
- // 对象所在坐标点
- Point *Point `protobuf:"bytes,6,opt,name=point,proto3" json:"point,omitempty"`
- // 所有者的玩家ID
- PlayerID int64 `protobuf:"varint,7,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 所有者的联盟ID
- LeagueID int64 `protobuf:"varint,8,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 调动对象ID
- RedeployObjectID int64 `protobuf:"varint,9,opt,name=redeployObjectID,proto3" json:"redeployObjectID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapUIMarch) Reset() {
- *x = MapUIMarch{}
- mi := &file_map_proto_msgTypes[48]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapUIMarch) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapUIMarch) ProtoMessage() {}
- func (x *MapUIMarch) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[48]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapUIMarch.ProtoReflect.Descriptor instead.
- func (*MapUIMarch) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{48}
- }
- func (x *MapUIMarch) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapUIMarch) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *MapUIMarch) GetMarchState() int32 {
- if x != nil {
- return x.MarchState
- }
- return 0
- }
- func (x *MapUIMarch) GetMarchView() *MarchView {
- if x != nil {
- return x.MarchView
- }
- return nil
- }
- func (x *MapUIMarch) GetPath() *MapPath {
- if x != nil {
- return x.Path
- }
- return nil
- }
- func (x *MapUIMarch) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapUIMarch) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *MapUIMarch) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *MapUIMarch) GetRedeployObjectID() int64 {
- if x != nil {
- return x.RedeployObjectID
- }
- return 0
- }
- // 地图ui层-系统城对象列表
- type MapUICastles struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象列表
- List []*MapUICastle `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapUICastles) Reset() {
- *x = MapUICastles{}
- mi := &file_map_proto_msgTypes[49]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapUICastles) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapUICastles) ProtoMessage() {}
- func (x *MapUICastles) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[49]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapUICastles.ProtoReflect.Descriptor instead.
- func (*MapUICastles) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{49}
- }
- func (x *MapUICastles) GetList() []*MapUICastle {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 地图ui层-系统城对象列表
- type MapUICastle struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 对象所在坐标点
- Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
- // 对象配置ID
- ConfigID int32 `protobuf:"varint,3,opt,name=configID,proto3" json:"configID,omitempty"`
- // 占领的联盟ID
- LeagueID int64 `protobuf:"varint,4,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 占领的联盟名称
- LeagueName string `protobuf:"bytes,5,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
- // 占领的联盟简称
- LeagueAbbName string `protobuf:"bytes,6,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
- // 旗帜背景ID L-联盟-旗帜表旗帜ID
- FlagBg int32 `protobuf:"varint,7,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
- // 旗帜图标ID L-联盟-旗帜表旗帜ID
- FlagIcon int32 `protobuf:"varint,8,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapUICastle) Reset() {
- *x = MapUICastle{}
- mi := &file_map_proto_msgTypes[50]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapUICastle) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapUICastle) ProtoMessage() {}
- func (x *MapUICastle) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[50]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapUICastle.ProtoReflect.Descriptor instead.
- func (*MapUICastle) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{50}
- }
- func (x *MapUICastle) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapUICastle) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapUICastle) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *MapUICastle) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *MapUICastle) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *MapUICastle) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *MapUICastle) GetFlagBg() int32 {
- if x != nil {
- return x.FlagBg
- }
- return 0
- }
- func (x *MapUICastle) GetFlagIcon() int32 {
- if x != nil {
- return x.FlagIcon
- }
- return 0
- }
- // 获取指定对象的坐标
- type MapObjectPositionRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 对象类型,见 map.go -> ObjectType 地块对象类型
- ObjectType int32 `protobuf:"varint,2,opt,name=objectType,proto3" json:"objectType,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapObjectPositionRequest) Reset() {
- *x = MapObjectPositionRequest{}
- mi := &file_map_proto_msgTypes[51]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapObjectPositionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapObjectPositionRequest) ProtoMessage() {}
- func (x *MapObjectPositionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[51]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapObjectPositionRequest.ProtoReflect.Descriptor instead.
- func (*MapObjectPositionRequest) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{51}
- }
- func (x *MapObjectPositionRequest) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapObjectPositionRequest) GetObjectType() int32 {
- if x != nil {
- return x.ObjectType
- }
- return 0
- }
- // 侦察列表(侦察中+空闲)
- type MapScoutList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapScout `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapScoutList) Reset() {
- *x = MapScoutList{}
- mi := &file_map_proto_msgTypes[52]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapScoutList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapScoutList) ProtoMessage() {}
- func (x *MapScoutList) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[52]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapScoutList.ProtoReflect.Descriptor instead.
- func (*MapScoutList) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{52}
- }
- func (x *MapScoutList) GetList() []*MapScout {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 侦察信息
- type MapScout struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 侦察队列ID
- QueueID int32 `protobuf:"varint,1,opt,name=queueID,proto3" json:"queueID,omitempty"`
- // 侦察状态 0空闲 1行军 2侦察中
- ScoutStatus int32 `protobuf:"varint,2,opt,name=scoutStatus,proto3" json:"scoutStatus,omitempty"`
- // 侦察坐标 如果为空,则为空闲
- Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
- // 状态结束时间戳 单位毫秒
- EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapScout) Reset() {
- *x = MapScout{}
- mi := &file_map_proto_msgTypes[53]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapScout) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapScout) ProtoMessage() {}
- func (x *MapScout) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[53]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapScout.ProtoReflect.Descriptor instead.
- func (*MapScout) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{53}
- }
- func (x *MapScout) GetQueueID() int32 {
- if x != nil {
- return x.QueueID
- }
- return 0
- }
- func (x *MapScout) GetScoutStatus() int32 {
- if x != nil {
- return x.ScoutStatus
- }
- return 0
- }
- func (x *MapScout) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapScout) GetEndTime() int64 {
- if x != nil {
- return x.EndTime
- }
- return 0
- }
- // 军情线列表
- type MapArmyLines struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*MapArmyLine `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapArmyLines) Reset() {
- *x = MapArmyLines{}
- mi := &file_map_proto_msgTypes[54]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapArmyLines) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapArmyLines) ProtoMessage() {}
- func (x *MapArmyLines) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[54]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapArmyLines.ProtoReflect.Descriptor instead.
- func (*MapArmyLines) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{54}
- }
- func (x *MapArmyLines) GetList() []*MapArmyLine {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 军情线
- type MapArmyLine struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 对象唯一id
- ObjectID int64 `protobuf:"varint,1,opt,name=objectID,proto3" json:"objectID,omitempty"`
- // 所有者的玩家ID
- PlayerID int64 `protobuf:"varint,2,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 所有者的联盟ID
- LeagueID int64 `protobuf:"varint,3,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 对象类型,用来读取下面对应的配置ID和结构
- // 见 map.go -> ObjectType 地块对象类型
- ObjectType int32 `protobuf:"varint,4,opt,name=objectType,proto3" json:"objectType,omitempty"`
- // 速度
- Speed int64 `protobuf:"varint,5,opt,name=speed,proto3" json:"speed,omitempty"`
- // 路径列表
- Points []*Point `protobuf:"bytes,6,rep,name=points,proto3" json:"points,omitempty"`
- // 终点坐标
- TargetPoint *Point `protobuf:"bytes,7,opt,name=targetPoint,proto3" json:"targetPoint,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MapArmyLine) Reset() {
- *x = MapArmyLine{}
- mi := &file_map_proto_msgTypes[55]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MapArmyLine) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapArmyLine) ProtoMessage() {}
- func (x *MapArmyLine) ProtoReflect() protoreflect.Message {
- mi := &file_map_proto_msgTypes[55]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapArmyLine.ProtoReflect.Descriptor instead.
- func (*MapArmyLine) Descriptor() ([]byte, []int) {
- return file_map_proto_rawDescGZIP(), []int{55}
- }
- func (x *MapArmyLine) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *MapArmyLine) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *MapArmyLine) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *MapArmyLine) GetObjectType() int32 {
- if x != nil {
- return x.ObjectType
- }
- return 0
- }
- func (x *MapArmyLine) GetSpeed() int64 {
- if x != nil {
- return x.Speed
- }
- return 0
- }
- func (x *MapArmyLine) GetPoints() []*Point {
- if x != nil {
- return x.Points
- }
- return nil
- }
- func (x *MapArmyLine) GetTargetPoint() *Point {
- if x != nil {
- return x.TargetPoint
- }
- return nil
- }
- var File_map_proto protoreflect.FileDescriptor
- const file_map_proto_rawDesc = "" +
- "\n" +
- "\tmap.proto\x12\x02pb\x1a\x0fbase_type.proto\"9\n" +
- "\x0fOwnerMapObjects\x12&\n" +
- "\x04list\x18\x01 \x03(\v2\x12.pb.OwnerMapObjectR\x04list\"\xe1\x01\n" +
- "\x0eOwnerMapObject\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1f\n" +
- "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x1e\n" +
- "\n" +
- "objectType\x18\x03 \x01(\x05R\n" +
- "objectType\x12\x1a\n" +
- "\bconfigID\x18\x04 \x01(\x05R\bconfigID\x12-\n" +
- "\x05build\x18\x05 \x01(\v2\x17.pb.OwnerMapObjectBuildR\x05build\x12'\n" +
- "\x03res\x18\x06 \x01(\v2\x15.pb.OwnerMapObjectResR\x03res\"c\n" +
- "\x11OwnerMapObjectRes\x12 \n" +
- "\vdiscardTime\x18\x01 \x01(\x03R\vdiscardTime\x12,\n" +
- "\x11invincibleEndTime\x18\x02 \x01(\x03R\x11invincibleEndTime\"\x9f\x02\n" +
- "\x13OwnerMapObjectBuild\x12\x1e\n" +
- "\n" +
- "isBuilding\x18\x01 \x01(\bR\n" +
- "isBuilding\x12\"\n" +
- "\fbuildEndTime\x18\x02 \x01(\x03R\fbuildEndTime\x12 \n" +
- "\visUpgrading\x18\x03 \x01(\bR\visUpgrading\x12&\n" +
- "\x0eupgradeEndTime\x18\x04 \x01(\x03R\x0eupgradeEndTime\x12\x14\n" +
- "\x05level\x18\x05 \x01(\x05R\x05level\x12 \n" +
- "\vdiscardTime\x18\x06 \x01(\x03R\vdiscardTime\x12,\n" +
- "\x11invincibleEndTime\x18\a \x01(\x03R\x11invincibleEndTime\x12\x14\n" +
- "\x05index\x18\b \x01(\x05R\x05index\"j\n" +
- "\n" +
- "MapObjects\x12-\n" +
- "\n" +
- "objectList\x18\x01 \x03(\v2\r.pb.MapObjectR\n" +
- "objectList\x12-\n" +
- "\n" +
- "legionList\x18\x02 \x03(\v2\r.pb.MapLegionR\n" +
- "legionList\"/\n" +
- "\n" +
- "MapPlayers\x12!\n" +
- "\x04list\x18\x01 \x03(\v2\r.pb.MapPlayerR\x04list\"/\n" +
- "\n" +
- "MapLeagues\x12!\n" +
- "\x04list\x18\x01 \x03(\v2\r.pb.MapLeagueR\x04list\"G\n" +
- "\tMapPlayer\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\"\xa1\x01\n" +
- "\tMapLeague\x12\x1a\n" +
- "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "leagueName\x18\x02 \x01(\tR\n" +
- "leagueName\x12$\n" +
- "\rleagueAbbName\x18\x03 \x01(\tR\rleagueAbbName\x12\x16\n" +
- "\x06flagBg\x18\x04 \x01(\x05R\x06flagBg\x12\x1a\n" +
- "\bflagIcon\x18\x05 \x01(\x05R\bflagIcon\"\xc2\x03\n" +
- "\tMapObject\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bplayerID\x18\x02 \x01(\x03R\bplayerID\x12\x1a\n" +
- "\bleagueID\x18\x03 \x01(\x03R\bleagueID\x12\x1f\n" +
- "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\x1e\n" +
- "\n" +
- "objectType\x18\x05 \x01(\x05R\n" +
- "objectType\x12\x1a\n" +
- "\bconfigID\x18\x06 \x01(\x05R\bconfigID\x12\x1f\n" +
- "\x04path\x18\a \x01(\v2\v.pb.MapPathR\x04path\x12,\n" +
- "\x11invincibleEndTime\x18\b \x01(\x03R\x11invincibleEndTime\x12%\n" +
- "\x06castle\x18\v \x01(\v2\r.pb.MapCastleR\x06castle\x12\"\n" +
- "\x05build\x18\f \x01(\v2\f.pb.MapBuildR\x05build\x12(\n" +
- "\amonster\x18\r \x01(\v2\x0e.pb.MapMonsterR\amonster\x12\x1c\n" +
- "\x03res\x18\x0e \x01(\v2\n" +
- ".pb.MapResR\x03res\x12\"\n" +
- "\x05march\x18\x0f \x01(\v2\f.pb.MapMarchR\x05march\"\xac\x02\n" +
- "\aMapPath\x12\"\n" +
- "\x06fromTo\x18\x01 \x01(\v2\n" +
- ".pb.Point2R\x06fromTo\x12!\n" +
- "\x06points\x18\x02 \x03(\v2\t.pb.PointR\x06points\x12\x1e\n" +
- "\n" +
- "pointIndex\x18\x03 \x01(\x05R\n" +
- "pointIndex\x12\x1a\n" +
- "\blastTime\x18\x04 \x01(\x03R\blastTime\x12\x14\n" +
- "\x05speed\x18\x05 \x01(\x03R\x05speed\x12\x1c\n" +
- "\tmarchType\x18\x06 \x01(\x05R\tmarchType\x12\x1e\n" +
- "\n" +
- "marchState\x18\a \x01(\x05R\n" +
- "marchState\x12&\n" +
- "\x0estateStartTime\x18\b \x01(\x03R\x0estateStartTime\x12\"\n" +
- "\fstateEndTime\x18\t \x01(\x03R\fstateEndTime\"\xb3\x04\n" +
- "\tMapCastle\x12&\n" +
- "\x0egarrisonArimes\x18\x01 \x01(\x05R\x0egarrisonArimes\x12\x1e\n" +
- "\n" +
- "durability\x18\x02 \x01(\x05R\n" +
- "durability\x12 \n" +
- "\vrecoverTime\x18\x03 \x01(\x03R\vrecoverTime\x12 \n" +
- "\vredeployNum\x18\x04 \x01(\x05R\vredeployNum\x12 \n" +
- "\vsealEndTime\x18\x05 \x01(\x03R\vsealEndTime\x12$\n" +
- "\rfirstLeagueID\x18\n" +
- " \x01(\x03R\rfirstLeagueID\x12(\n" +
- "\x0ffirstLeagueName\x18\v \x01(\tR\x0ffirstLeagueName\x12.\n" +
- "\x12firstLeagueAbbName\x18\f \x01(\tR\x12firstLeagueAbbName\x12(\n" +
- "\x0ffirstLeagueIcon\x18\r \x01(\x05R\x0ffirstLeagueIcon\x120\n" +
- "\x11buildObjectIDList\x18\x14 \x03(\x03B\x02\x18\x01R\x11buildObjectIDList\x12(\n" +
- "\x0fstartWarEndTime\x18\x15 \x01(\x03R\x0fstartWarEndTime\x12\"\n" +
- "\fsiegeEndTime\x18\x16 \x01(\x03R\fsiegeEndTime\x12&\n" +
- "\x0echildObjectIDs\x18\x17 \x03(\x03R\x0echildObjectIDs\x12&\n" +
- "\x0eparentObjectID\x18\x18 \x01(\x03R\x0eparentObjectID\"\xc6\x05\n" +
- "\bMapBuild\x12\x1e\n" +
- "\n" +
- "isBuilding\x18\x01 \x01(\bR\n" +
- "isBuilding\x12\"\n" +
- "\fbuildEndTime\x18\x02 \x01(\x03R\fbuildEndTime\x12 \n" +
- "\visUpgrading\x18\x03 \x01(\bR\visUpgrading\x12&\n" +
- "\x0eupgradeEndTime\x18\x04 \x01(\x03R\x0eupgradeEndTime\x12\x14\n" +
- "\x05level\x18\x05 \x01(\x05R\x05level\x12\x14\n" +
- "\x05index\x18\x06 \x01(\x05R\x05index\x12 \n" +
- "\vredeployNum\x18\a \x01(\x05R\vredeployNum\x12\x16\n" +
- "\x06showID\x18\b \x01(\x05R\x06showID\x12&\n" +
- "\x0egarrisonArimes\x18\n" +
- " \x01(\x05R\x0egarrisonArimes\x12\x1e\n" +
- "\n" +
- "durability\x18\v \x01(\x05R\n" +
- "durability\x12 \n" +
- "\vrecoverTime\x18\f \x01(\x03R\vrecoverTime\x12$\n" +
- "\rmaxDurability\x18\r \x01(\x05R\rmaxDurability\x12 \n" +
- "\vdiscardTime\x18\x14 \x01(\x03R\vdiscardTime\x12*\n" +
- "\x0ecastleObjectID\x18\x15 \x01(\x03B\x02\x18\x01R\x0ecastleObjectID\x12,\n" +
- "\x0fstartWarEndTime\x18\x16 \x01(\x03B\x02\x18\x01R\x0fstartWarEndTime\x12&\n" +
- "\fsiegeEndTime\x18\x17 \x01(\x03B\x02\x18\x01R\fsiegeEndTime\x12,\n" +
- "\x11reorganizeEndTime\x18\x1e \x01(\x03R\x11reorganizeEndTime\x128\n" +
- "\x17reinforcePrepareEndTime\x18\x1f \x01(\x03R\x17reinforcePrepareEndTime\x12*\n" +
- "\x10reinforceEndTime\x18 \x01(\x03R\x10reinforceEndTime\"H\n" +
- "\n" +
- "MapMonster\x12\x1c\n" +
- "\taliveTime\x18\x01 \x01(\x03R\taliveTime\x12\x1c\n" +
- "\tisCrusade\x18\x02 \x01(\bR\tisCrusade\"\x88\x01\n" +
- "\x06MapRes\x12&\n" +
- "\x0egatherObjectID\x18\x01 \x01(\x03R\x0egatherObjectID\x12\x1c\n" +
- "\taliveTime\x18\x02 \x01(\x03R\taliveTime\x12\x16\n" +
- "\x06remain\x18\x03 \x01(\x03R\x06remain\x12 \n" +
- "\vdiscardTime\x18\v \x01(\x03R\vdiscardTime\"\xf6\x01\n" +
- "\tMapLegion\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bleagueID\x18\x02 \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "legionName\x18\x03 \x01(\tR\n" +
- "legionName\x12\x1f\n" +
- "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\x1f\n" +
- "\x04path\x18\x05 \x01(\v2\v.pb.MapPathR\x04path\x12+\n" +
- "\tmarchList\x18\x06 \x03(\v2\r.pb.MapObjectR\tmarchList\x12\"\n" +
- "\fleadObjectID\x18\a \x01(\x03R\fleadObjectID\"\xa7\x02\n" +
- "\bMapMarch\x12$\n" +
- "\vmarchViewID\x18\x01 \x01(\x05B\x02\x18\x01R\vmarchViewID\x12\x1a\n" +
- "\x06armID1\x18\x02 \x01(\x05B\x02\x18\x01R\x06armID1\x12\x1a\n" +
- "\x06armID2\x18\x03 \x01(\x05B\x02\x18\x01R\x06armID2\x12\x1a\n" +
- "\x06armID3\x18\x04 \x01(\x05B\x02\x18\x01R\x06armID3\x12\x1c\n" +
- "\tloadRatio\x18\x05 \x01(\x05R\tloadRatio\x12*\n" +
- "\x10redeployObjectID\x18\x06 \x01(\x03R\x10redeployObjectID\x12*\n" +
- "\x10conscriptEndTime\x18\a \x01(\x03R\x10conscriptEndTime\x12+\n" +
- "\tmarchView\x18\b \x01(\v2\r.pb.MarchViewR\tmarchView\"\xe0\x01\n" +
- "\x0fMapMarchRequest\x12\x16\n" +
- "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1c\n" +
- "\tmarchType\x18\x02 \x01(\x05R\tmarchType\x12\x1f\n" +
- "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12&\n" +
- "\x0etargetObjectID\x18\x04 \x01(\x03R\x0etargetObjectID\x12$\n" +
- "\risAutoRetreat\x18\n" +
- " \x01(\bR\risAutoRetreat\x12(\n" +
- "\x0fisAutoConscript\x18\v \x01(\bR\x0fisAutoConscript\"N\n" +
- "\x0fMapBuildRequest\x12\x1a\n" +
- "\bconfigID\x18\x01 \x01(\x05R\bconfigID\x12\x1f\n" +
- "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\"f\n" +
- "\x16MapBuildUpgradeRequest\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bconfigID\x18\x02 \x01(\x05R\bconfigID\x12\x14\n" +
- "\x05level\x18\x03 \x01(\x05R\x05level\";\n" +
- "\x10MapObjectsUpdate\x12'\n" +
- "\x04list\x18\x01 \x03(\v2\x13.pb.MapObjectUpdateR\x04list\"\xba\x01\n" +
- "\x0fMapObjectUpdate\x12\x1a\n" +
- "\bisDelete\x18\x01 \x01(\bR\bisDelete\x12\x1a\n" +
- "\bobjectID\x18\x02 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bconfigID\x18\x03 \x01(\x05R\bconfigID\x12\x1e\n" +
- "\n" +
- "objectType\x18\x04 \x01(\x05R\n" +
- "objectType\x12\x1f\n" +
- "\x05point\x18\x05 \x01(\v2\t.pb.PointR\x05point\x12\x12\n" +
- "\x04time\x18\x06 \x01(\x03R\x04time\"\xf0\x01\n" +
- "\rMapMarchState\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1f\n" +
- "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x14\n" +
- "\x05state\x18\x03 \x01(\x05R\x05state\x12&\n" +
- "\x0estateStartTime\x18\x04 \x01(\x03R\x0estateStartTime\x12\"\n" +
- "\fstateEndTime\x18\x05 \x01(\x03R\fstateEndTime\x12\x14\n" +
- "\x05speed\x18\x06 \x01(\x03R\x05speed\x12*\n" +
- "\x10redeployObjectID\x18\a \x01(\x03R\x10redeployObjectID\"P\n" +
- "\x10MapLoginResponse\x12 \n" +
- "\vbornStateID\x18\x01 \x01(\x05R\vbornStateID\x12\x1a\n" +
- "\bprestige\x18\x02 \x01(\x05R\bprestige\"\xa4\x03\n" +
- "\x10MapEnterResponse\x12(\n" +
- "\x0fcityBaseEndTime\x18\x01 \x01(\x03R\x0fcityBaseEndTime\x12(\n" +
- "\x0frelocateEndTime\x18\x02 \x01(\x03R\x0frelocateEndTime\x12(\n" +
- "\x0fcomebackEndTime\x18\x04 \x01(\x03R\x0fcomebackEndTime\x128\n" +
- "\x17rechooseComebackEndTime\x18\x05 \x01(\x03R\x17rechooseComebackEndTime\x128\n" +
- "\x17reinforcePrepareEndTime\x18\x06 \x01(\x03R\x17reinforcePrepareEndTime\x126\n" +
- "\x16reinforceEffectEndTime\x18\a \x01(\x03R\x16reinforceEffectEndTime\x12:\n" +
- "\x18reinforceCooldownEndTime\x18\b \x01(\x03R\x18reinforceCooldownEndTime\x12*\n" +
- "\n" +
- "resDefends\x18\n" +
- " \x01(\v2\n" +
- ".pb.I64MapR\n" +
- "resDefends\"\xcc\x01\n" +
- "\bMapSiege\x12&\n" +
- "\x0ecastleObjectID\x18\x01 \x01(\x03R\x0ecastleObjectID\x12&\n" +
- "\x0ecastleConfigID\x18\x02 \x01(\x05R\x0ecastleConfigID\x12,\n" +
- "\x11siegeCampObjectID\x18\x03 \x01(\x03R\x11siegeCampObjectID\x12\x1e\n" +
- "\n" +
- "siegeStage\x18\v \x01(\x05R\n" +
- "siegeStage\x12\"\n" +
- "\fstageEndTime\x18\f \x01(\x03R\fstageEndTime\"\xd3\x01\n" +
- "\x12MapAssembleRequest\x12\x16\n" +
- "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1a\n" +
- "\bobjectID\x18\x02 \x01(\x03R\bobjectID\x12\x1e\n" +
- "\n" +
- "objectType\x18\x03 \x01(\x05R\n" +
- "objectType\x12\x1f\n" +
- "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\"\n" +
- "\fassembleTime\x18\x05 \x01(\x05R\fassembleTime\x12$\n" +
- "\risAutoRetreat\x18\x06 \x01(\bR\risAutoRetreat\"v\n" +
- "\x16MapAssembleJoinRequest\x12\x16\n" +
- "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1e\n" +
- "\n" +
- "assembleID\x18\x02 \x01(\x03R\n" +
- "assembleID\x12$\n" +
- "\risAutoRetreat\x18\x03 \x01(\bR\risAutoRetreat\"6\n" +
- "\x0fMapAssembleList\x12#\n" +
- "\x04list\x18\x01 \x03(\v2\x0f.pb.MapAssembleR\x04list\"\x9f\x03\n" +
- "\vMapAssemble\x12\x1e\n" +
- "\n" +
- "assembleID\x18\x01 \x01(\x03R\n" +
- "assembleID\x12\"\n" +
- "\fleadPlayerID\x18\x02 \x01(\x03R\fleadPlayerID\x12)\n" +
- "\n" +
- "startPoint\x18\x03 \x01(\v2\t.pb.PointR\n" +
- "startPoint\x12(\n" +
- "\x0fassembleEndTime\x18\x04 \x01(\x03R\x0fassembleEndTime\x122\n" +
- "\tmarchList\x18\x05 \x03(\v2\x14.pb.MapAssembleMarchR\tmarchList\x12\x1a\n" +
- "\bisDepart\x18\x06 \x01(\bR\bisDepart\x12&\n" +
- "\x0etargetObjectID\x18\v \x01(\x03R\x0etargetObjectID\x12&\n" +
- "\x0etargetConfigID\x18\f \x01(\x05R\x0etargetConfigID\x12*\n" +
- "\x10targetConfigType\x18\r \x01(\x05R\x10targetConfigType\x12+\n" +
- "\vtargetPoint\x18\x0e \x01(\v2\t.pb.PointR\vtargetPoint\"\x9a\x02\n" +
- "\x10MapAssembleMarch\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12$\n" +
- "\rmarchObjectID\x18\n" +
- " \x01(\x03R\rmarchObjectID\x12(\n" +
- "\x0fmarchArriveTime\x18\v \x01(\x03R\x0fmarchArriveTime\x12\"\n" +
- "\fheroConfigID\x18\f \x01(\x05R\fheroConfigID\x12\x1c\n" +
- "\theroLevel\x18\r \x01(\x05R\theroLevel\x12\x1a\n" +
- "\bheroStar\x18\x0e \x01(\x05R\bheroStar\x12\x1c\n" +
- "\ttroopsNum\x18\x0f \x01(\x05R\ttroopsNum\".\n" +
- "\vMapMarkList\x12\x1f\n" +
- "\x04list\x18\x01 \x03(\v2\v.pb.MapMarkR\x04list\"\xa2\x01\n" +
- "\aMapMark\x12\x16\n" +
- "\x06markID\x18\x01 \x01(\x05R\x06markID\x12\x14\n" +
- "\x05title\x18\x02 \x01(\tR\x05title\x12\x12\n" +
- "\x04desc\x18\x03 \x01(\tR\x04desc\x12\x1f\n" +
- "\x05point\x18\x04 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
- "\acommand\x18\x05 \x01(\x05R\acommand\x12\x1a\n" +
- "\bmarkTime\x18\x06 \x01(\x03R\bmarkTime\"u\n" +
- "\x0eMapMarkRequest\x12\x14\n" +
- "\x05title\x18\x01 \x01(\tR\x05title\x12\x12\n" +
- "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x1f\n" +
- "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
- "\acommand\x18\x04 \x01(\x05R\acommand\"p\n" +
- "\x12MapMarkEditRequest\x12\x16\n" +
- "\x06markID\x18\x01 \x01(\x05R\x06markID\x12\x14\n" +
- "\x05title\x18\x02 \x01(\tR\x05title\x12\x12\n" +
- "\x04desc\x18\x03 \x01(\tR\x04desc\x12\x18\n" +
- "\acommand\x18\x04 \x01(\x05R\acommand\"\xd0\x03\n" +
- "\rMapBattlePush\x120\n" +
- "\x13attackMarchObjectID\x18\x01 \x01(\x03R\x13attackMarchObjectID\x12.\n" +
- "\x12attackHeroConfigID\x18\x02 \x01(\x05R\x12attackHeroConfigID\x127\n" +
- "\x0fattackMarchView\x18\x03 \x01(\v2\r.pb.MarchViewR\x0fattackMarchView\x120\n" +
- "\x13defendMarchObjectID\x18\v \x01(\x03R\x13defendMarchObjectID\x12.\n" +
- "\x12defendHeroConfigID\x18\f \x01(\x05R\x12defendHeroConfigID\x127\n" +
- "\x0fdefendMarchView\x18\r \x01(\v2\r.pb.MarchViewR\x0fdefendMarchView\x122\n" +
- "\x14defendMonsterGroupID\x18\x0e \x01(\x05R\x14defendMonsterGroupID\x12\x1e\n" +
- "\n" +
- "battleType\x18\x15 \x01(\x05R\n" +
- "battleType\x12\x14\n" +
- "\x05isWin\x18\x16 \x01(\bR\x05isWin\x12\x1f\n" +
- "\x05point\x18\x17 \x01(\v2\t.pb.PointR\x05point\"~\n" +
- "\x14SiegeAssembleRequest\x12\x16\n" +
- "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12,\n" +
- "\x11siegeBaseObjectID\x18\x02 \x01(\x03R\x11siegeBaseObjectID\x12 \n" +
- "\visMainForce\x18\x03 \x01(\bR\visMainForce\"\x95\x03\n" +
- "\x03War\x12&\n" +
- "\x0ecastleObjectID\x18\x01 \x01(\x03R\x0ecastleObjectID\x12&\n" +
- "\x0ecastleConfigID\x18\x02 \x01(\x05R\x0ecastleConfigID\x12+\n" +
- "\vcastlePoint\x18\x03 \x01(\v2\t.pb.PointR\vcastlePoint\x12,\n" +
- "\x11siegeBaseObjectID\x18\x04 \x01(\x03R\x11siegeBaseObjectID\x12,\n" +
- "\x11siegeBaseConfigID\x18\x05 \x01(\x05R\x11siegeBaseConfigID\x121\n" +
- "\x0esiegeBasePoint\x18\x06 \x01(\v2\t.pb.PointR\x0esiegeBasePoint\x12\x14\n" +
- "\x05stage\x18\n" +
- " \x01(\x05R\x05stage\x12\"\n" +
- "\fstageEndTime\x18\v \x01(\x03R\fstageEndTime\x12\"\n" +
- "\fmainForceNum\x18\x14 \x01(\x05R\fmainForceNum\x12$\n" +
- "\rsiegeSquadNum\x18\x15 \x01(\x05R\rsiegeSquadNum\"&\n" +
- "\aWarList\x12\x1b\n" +
- "\x04list\x18\x01 \x03(\v2\a.pb.WarR\x04list\"\x8d\x01\n" +
- "\tSiegeRank\x12$\n" +
- "\rbuildObjectID\x18\x01 \x01(\x03R\rbuildObjectID\x12&\n" +
- "\bkillRank\x18\x02 \x03(\v2\n" +
- ".pb.I32StrR\bkillRank\x122\n" +
- "\x0edurabilityRank\x18\x03 \x03(\v2\n" +
- ".pb.I32StrR\x0edurabilityRank\"\x9a\x02\n" +
- "\vSiegeResult\x12\x1a\n" +
- "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "leagueName\x18\x02 \x01(\tR\n" +
- "leagueName\x12$\n" +
- "\rbuildObjectID\x18\n" +
- " \x01(\x03R\rbuildObjectID\x12$\n" +
- "\rbuildConfigID\x18\v \x01(\x05R\rbuildConfigID\x12)\n" +
- "\bkillData\x18\x14 \x03(\v2\r.pb.SiegeDataR\bkillData\x12+\n" +
- "\tsiegeData\x18\x15 \x03(\v2\r.pb.SiegeDataR\tsiegeData\x12+\n" +
- "\blastKill\x18\x16 \x01(\v2\x0f.pb.SiegePlayerR\blastKill\"J\n" +
- "\tSiegeData\x12'\n" +
- "\x06player\x18\x01 \x01(\v2\x0f.pb.SiegePlayerR\x06player\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x05R\x05value\"{\n" +
- "\vSiegePlayer\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x16\n" +
- "\x06iconID\x18\x03 \x01(\x05R\x06iconID\x12\x18\n" +
- "\aframeID\x18\x04 \x01(\x05R\aframeID\"u\n" +
- "\tMarchView\x12 \n" +
- "\vmarchViewID\x18\x01 \x01(\x05R\vmarchViewID\x12\x16\n" +
- "\x06armID1\x18\x02 \x01(\x05R\x06armID1\x12\x16\n" +
- "\x06armID2\x18\x03 \x01(\x05R\x06armID2\x12\x16\n" +
- "\x06armID3\x18\x04 \x01(\x05R\x06armID3\"M\n" +
- "\x12MapFindPathRequest\x12\x16\n" +
- "\x06teamID\x18\x01 \x01(\x05R\x06teamID\x12\x1f\n" +
- "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\"\x97\x01\n" +
- "\x10ComebackResponse\x12\x1f\n" +
- "\x05point\x18\x01 \x01(\v2\t.pb.PointR\x05point\x12(\n" +
- "\x0fcomebackEndTime\x18\x02 \x01(\x03R\x0fcomebackEndTime\x128\n" +
- "\x17rechooseComebackEndTime\x18\x03 \x01(\x03R\x17rechooseComebackEndTime\"I\n" +
- "\n" +
- "RebornPush\x12\x1f\n" +
- "\x05point\x18\x01 \x01(\v2\t.pb.PointR\x05point\x12\x1a\n" +
- "\bisFailed\x18\x02 \x01(\bR\bisFailed\"1\n" +
- "\vMapUIMarchs\x12\"\n" +
- "\x04list\x18\x01 \x03(\v2\x0e.pb.MapUIMarchR\x04list\"\xb7\x02\n" +
- "\n" +
- "MapUIMarch\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bconfigID\x18\x02 \x01(\x05R\bconfigID\x12\x1e\n" +
- "\n" +
- "marchState\x18\x03 \x01(\x05R\n" +
- "marchState\x12+\n" +
- "\tmarchView\x18\x04 \x01(\v2\r.pb.MarchViewR\tmarchView\x12\x1f\n" +
- "\x04path\x18\x05 \x01(\v2\v.pb.MapPathR\x04path\x12\x1f\n" +
- "\x05point\x18\x06 \x01(\v2\t.pb.PointR\x05point\x12\x1a\n" +
- "\bplayerID\x18\a \x01(\x03R\bplayerID\x12\x1a\n" +
- "\bleagueID\x18\b \x01(\x03R\bleagueID\x12*\n" +
- "\x10redeployObjectID\x18\t \x01(\x03R\x10redeployObjectID\"3\n" +
- "\fMapUICastles\x12#\n" +
- "\x04list\x18\x01 \x03(\v2\x0f.pb.MapUICastleR\x04list\"\xfc\x01\n" +
- "\vMapUICastle\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1f\n" +
- "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x1a\n" +
- "\bconfigID\x18\x03 \x01(\x05R\bconfigID\x12\x1a\n" +
- "\bleagueID\x18\x04 \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "leagueName\x18\x05 \x01(\tR\n" +
- "leagueName\x12$\n" +
- "\rleagueAbbName\x18\x06 \x01(\tR\rleagueAbbName\x12\x16\n" +
- "\x06flagBg\x18\a \x01(\x05R\x06flagBg\x12\x1a\n" +
- "\bflagIcon\x18\b \x01(\x05R\bflagIcon\"V\n" +
- "\x18MapObjectPositionRequest\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1e\n" +
- "\n" +
- "objectType\x18\x02 \x01(\x05R\n" +
- "objectType\"0\n" +
- "\fMapScoutList\x12 \n" +
- "\x04list\x18\x01 \x03(\v2\f.pb.MapScoutR\x04list\"\x81\x01\n" +
- "\bMapScout\x12\x18\n" +
- "\aqueueID\x18\x01 \x01(\x05R\aqueueID\x12 \n" +
- "\vscoutStatus\x18\x02 \x01(\x05R\vscoutStatus\x12\x1f\n" +
- "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
- "\aendTime\x18\x04 \x01(\x03R\aendTime\"3\n" +
- "\fMapArmyLines\x12#\n" +
- "\x04list\x18\x01 \x03(\v2\x0f.pb.MapArmyLineR\x04list\"\xe7\x01\n" +
- "\vMapArmyLine\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bplayerID\x18\x02 \x01(\x03R\bplayerID\x12\x1a\n" +
- "\bleagueID\x18\x03 \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "objectType\x18\x04 \x01(\x05R\n" +
- "objectType\x12\x14\n" +
- "\x05speed\x18\x05 \x01(\x03R\x05speed\x12!\n" +
- "\x06points\x18\x06 \x03(\v2\t.pb.PointR\x06points\x12+\n" +
- "\vtargetPoint\x18\a \x01(\v2\t.pb.PointR\vtargetPointB\x05Z\x03/pbb\x06proto3"
- var (
- file_map_proto_rawDescOnce sync.Once
- file_map_proto_rawDescData []byte
- )
- func file_map_proto_rawDescGZIP() []byte {
- file_map_proto_rawDescOnce.Do(func() {
- file_map_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_map_proto_rawDesc), len(file_map_proto_rawDesc)))
- })
- return file_map_proto_rawDescData
- }
- var file_map_proto_msgTypes = make([]protoimpl.MessageInfo, 56)
- var file_map_proto_goTypes = []any{
- (*OwnerMapObjects)(nil), // 0: pb.OwnerMapObjects
- (*OwnerMapObject)(nil), // 1: pb.OwnerMapObject
- (*OwnerMapObjectRes)(nil), // 2: pb.OwnerMapObjectRes
- (*OwnerMapObjectBuild)(nil), // 3: pb.OwnerMapObjectBuild
- (*MapObjects)(nil), // 4: pb.MapObjects
- (*MapPlayers)(nil), // 5: pb.MapPlayers
- (*MapLeagues)(nil), // 6: pb.MapLeagues
- (*MapPlayer)(nil), // 7: pb.MapPlayer
- (*MapLeague)(nil), // 8: pb.MapLeague
- (*MapObject)(nil), // 9: pb.MapObject
- (*MapPath)(nil), // 10: pb.MapPath
- (*MapCastle)(nil), // 11: pb.MapCastle
- (*MapBuild)(nil), // 12: pb.MapBuild
- (*MapMonster)(nil), // 13: pb.MapMonster
- (*MapRes)(nil), // 14: pb.MapRes
- (*MapLegion)(nil), // 15: pb.MapLegion
- (*MapMarch)(nil), // 16: pb.MapMarch
- (*MapMarchRequest)(nil), // 17: pb.MapMarchRequest
- (*MapBuildRequest)(nil), // 18: pb.MapBuildRequest
- (*MapBuildUpgradeRequest)(nil), // 19: pb.MapBuildUpgradeRequest
- (*MapObjectsUpdate)(nil), // 20: pb.MapObjectsUpdate
- (*MapObjectUpdate)(nil), // 21: pb.MapObjectUpdate
- (*MapMarchState)(nil), // 22: pb.MapMarchState
- (*MapLoginResponse)(nil), // 23: pb.MapLoginResponse
- (*MapEnterResponse)(nil), // 24: pb.MapEnterResponse
- (*MapSiege)(nil), // 25: pb.MapSiege
- (*MapAssembleRequest)(nil), // 26: pb.MapAssembleRequest
- (*MapAssembleJoinRequest)(nil), // 27: pb.MapAssembleJoinRequest
- (*MapAssembleList)(nil), // 28: pb.MapAssembleList
- (*MapAssemble)(nil), // 29: pb.MapAssemble
- (*MapAssembleMarch)(nil), // 30: pb.MapAssembleMarch
- (*MapMarkList)(nil), // 31: pb.MapMarkList
- (*MapMark)(nil), // 32: pb.MapMark
- (*MapMarkRequest)(nil), // 33: pb.MapMarkRequest
- (*MapMarkEditRequest)(nil), // 34: pb.MapMarkEditRequest
- (*MapBattlePush)(nil), // 35: pb.MapBattlePush
- (*SiegeAssembleRequest)(nil), // 36: pb.SiegeAssembleRequest
- (*War)(nil), // 37: pb.War
- (*WarList)(nil), // 38: pb.WarList
- (*SiegeRank)(nil), // 39: pb.SiegeRank
- (*SiegeResult)(nil), // 40: pb.SiegeResult
- (*SiegeData)(nil), // 41: pb.SiegeData
- (*SiegePlayer)(nil), // 42: pb.SiegePlayer
- (*MarchView)(nil), // 43: pb.MarchView
- (*MapFindPathRequest)(nil), // 44: pb.MapFindPathRequest
- (*ComebackResponse)(nil), // 45: pb.ComebackResponse
- (*RebornPush)(nil), // 46: pb.RebornPush
- (*MapUIMarchs)(nil), // 47: pb.MapUIMarchs
- (*MapUIMarch)(nil), // 48: pb.MapUIMarch
- (*MapUICastles)(nil), // 49: pb.MapUICastles
- (*MapUICastle)(nil), // 50: pb.MapUICastle
- (*MapObjectPositionRequest)(nil), // 51: pb.MapObjectPositionRequest
- (*MapScoutList)(nil), // 52: pb.MapScoutList
- (*MapScout)(nil), // 53: pb.MapScout
- (*MapArmyLines)(nil), // 54: pb.MapArmyLines
- (*MapArmyLine)(nil), // 55: pb.MapArmyLine
- (*Point)(nil), // 56: pb.Point
- (*Point2)(nil), // 57: pb.Point2
- (*I64Map)(nil), // 58: pb.I64Map
- (*I32Str)(nil), // 59: pb.I32Str
- }
- var file_map_proto_depIdxs = []int32{
- 1, // 0: pb.OwnerMapObjects.list:type_name -> pb.OwnerMapObject
- 56, // 1: pb.OwnerMapObject.point:type_name -> pb.Point
- 3, // 2: pb.OwnerMapObject.build:type_name -> pb.OwnerMapObjectBuild
- 2, // 3: pb.OwnerMapObject.res:type_name -> pb.OwnerMapObjectRes
- 9, // 4: pb.MapObjects.objectList:type_name -> pb.MapObject
- 15, // 5: pb.MapObjects.legionList:type_name -> pb.MapLegion
- 7, // 6: pb.MapPlayers.list:type_name -> pb.MapPlayer
- 8, // 7: pb.MapLeagues.list:type_name -> pb.MapLeague
- 56, // 8: pb.MapObject.point:type_name -> pb.Point
- 10, // 9: pb.MapObject.path:type_name -> pb.MapPath
- 11, // 10: pb.MapObject.castle:type_name -> pb.MapCastle
- 12, // 11: pb.MapObject.build:type_name -> pb.MapBuild
- 13, // 12: pb.MapObject.monster:type_name -> pb.MapMonster
- 14, // 13: pb.MapObject.res:type_name -> pb.MapRes
- 16, // 14: pb.MapObject.march:type_name -> pb.MapMarch
- 57, // 15: pb.MapPath.fromTo:type_name -> pb.Point2
- 56, // 16: pb.MapPath.points:type_name -> pb.Point
- 56, // 17: pb.MapLegion.point:type_name -> pb.Point
- 10, // 18: pb.MapLegion.path:type_name -> pb.MapPath
- 9, // 19: pb.MapLegion.marchList:type_name -> pb.MapObject
- 43, // 20: pb.MapMarch.marchView:type_name -> pb.MarchView
- 56, // 21: pb.MapMarchRequest.point:type_name -> pb.Point
- 56, // 22: pb.MapBuildRequest.point:type_name -> pb.Point
- 21, // 23: pb.MapObjectsUpdate.list:type_name -> pb.MapObjectUpdate
- 56, // 24: pb.MapObjectUpdate.point:type_name -> pb.Point
- 56, // 25: pb.MapMarchState.point:type_name -> pb.Point
- 58, // 26: pb.MapEnterResponse.resDefends:type_name -> pb.I64Map
- 56, // 27: pb.MapAssembleRequest.point:type_name -> pb.Point
- 29, // 28: pb.MapAssembleList.list:type_name -> pb.MapAssemble
- 56, // 29: pb.MapAssemble.startPoint:type_name -> pb.Point
- 30, // 30: pb.MapAssemble.marchList:type_name -> pb.MapAssembleMarch
- 56, // 31: pb.MapAssemble.targetPoint:type_name -> pb.Point
- 32, // 32: pb.MapMarkList.list:type_name -> pb.MapMark
- 56, // 33: pb.MapMark.point:type_name -> pb.Point
- 56, // 34: pb.MapMarkRequest.point:type_name -> pb.Point
- 43, // 35: pb.MapBattlePush.attackMarchView:type_name -> pb.MarchView
- 43, // 36: pb.MapBattlePush.defendMarchView:type_name -> pb.MarchView
- 56, // 37: pb.MapBattlePush.point:type_name -> pb.Point
- 56, // 38: pb.War.castlePoint:type_name -> pb.Point
- 56, // 39: pb.War.siegeBasePoint:type_name -> pb.Point
- 37, // 40: pb.WarList.list:type_name -> pb.War
- 59, // 41: pb.SiegeRank.killRank:type_name -> pb.I32Str
- 59, // 42: pb.SiegeRank.durabilityRank:type_name -> pb.I32Str
- 41, // 43: pb.SiegeResult.killData:type_name -> pb.SiegeData
- 41, // 44: pb.SiegeResult.siegeData:type_name -> pb.SiegeData
- 42, // 45: pb.SiegeResult.lastKill:type_name -> pb.SiegePlayer
- 42, // 46: pb.SiegeData.player:type_name -> pb.SiegePlayer
- 56, // 47: pb.MapFindPathRequest.point:type_name -> pb.Point
- 56, // 48: pb.ComebackResponse.point:type_name -> pb.Point
- 56, // 49: pb.RebornPush.point:type_name -> pb.Point
- 48, // 50: pb.MapUIMarchs.list:type_name -> pb.MapUIMarch
- 43, // 51: pb.MapUIMarch.marchView:type_name -> pb.MarchView
- 10, // 52: pb.MapUIMarch.path:type_name -> pb.MapPath
- 56, // 53: pb.MapUIMarch.point:type_name -> pb.Point
- 50, // 54: pb.MapUICastles.list:type_name -> pb.MapUICastle
- 56, // 55: pb.MapUICastle.point:type_name -> pb.Point
- 53, // 56: pb.MapScoutList.list:type_name -> pb.MapScout
- 56, // 57: pb.MapScout.point:type_name -> pb.Point
- 55, // 58: pb.MapArmyLines.list:type_name -> pb.MapArmyLine
- 56, // 59: pb.MapArmyLine.points:type_name -> pb.Point
- 56, // 60: pb.MapArmyLine.targetPoint:type_name -> pb.Point
- 61, // [61:61] is the sub-list for method output_type
- 61, // [61:61] is the sub-list for method input_type
- 61, // [61:61] is the sub-list for extension type_name
- 61, // [61:61] is the sub-list for extension extendee
- 0, // [0:61] is the sub-list for field type_name
- }
- func init() { file_map_proto_init() }
- func file_map_proto_init() {
- if File_map_proto != nil {
- return
- }
- file_base_type_proto_init()
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_map_proto_rawDesc), len(file_map_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 56,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_map_proto_goTypes,
- DependencyIndexes: file_map_proto_depIdxs,
- MessageInfos: file_map_proto_msgTypes,
- }.Build()
- File_map_proto = out.File
- file_map_proto_goTypes = nil
- file_map_proto_depIdxs = nil
- }
|