| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940 |
- // 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"`
- 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
- }
- // 地图对象列表
- 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"`
- 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
- }
- // 重新出生推送
- 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"`
- 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
- }
- // 地图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"`
- // 侦察坐标 如果为空,则为空闲
- Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
- // 侦察结束时间戳(行军+侦察时间) 单位毫秒 0表示空闲
- EndTime int64 `protobuf:"varint,3,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) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MapScout) GetEndTime() int64 {
- if x != nil {
- return x.EndTime
- }
- return 0
- }
- 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\"\x89\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\"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\"]\n" +
- "\x10ComebackResponse\x12\x1f\n" +
- "\x05point\x18\x01 \x01(\v2\t.pb.PointR\x05point\x12(\n" +
- "\x0fcomebackEndTime\x18\x02 \x01(\x03R\x0fcomebackEndTime\"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\"\x8b\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\"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\"_\n" +
- "\bMapScout\x12\x18\n" +
- "\aqueueID\x18\x01 \x01(\x05R\aqueueID\x12\x1f\n" +
- "\x05point\x18\x02 \x01(\v2\t.pb.PointR\x05point\x12\x18\n" +
- "\aendTime\x18\x03 \x01(\x03R\aendTimeB\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, 54)
- 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
- (*Point)(nil), // 54: pb.Point
- (*Point2)(nil), // 55: pb.Point2
- (*I64Map)(nil), // 56: pb.I64Map
- (*I32Str)(nil), // 57: pb.I32Str
- }
- var file_map_proto_depIdxs = []int32{
- 1, // 0: pb.OwnerMapObjects.list:type_name -> pb.OwnerMapObject
- 54, // 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
- 54, // 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
- 55, // 15: pb.MapPath.fromTo:type_name -> pb.Point2
- 54, // 16: pb.MapPath.points:type_name -> pb.Point
- 54, // 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
- 54, // 21: pb.MapMarchRequest.point:type_name -> pb.Point
- 54, // 22: pb.MapBuildRequest.point:type_name -> pb.Point
- 21, // 23: pb.MapObjectsUpdate.list:type_name -> pb.MapObjectUpdate
- 54, // 24: pb.MapObjectUpdate.point:type_name -> pb.Point
- 54, // 25: pb.MapMarchState.point:type_name -> pb.Point
- 56, // 26: pb.MapEnterResponse.resDefends:type_name -> pb.I64Map
- 54, // 27: pb.MapAssembleRequest.point:type_name -> pb.Point
- 29, // 28: pb.MapAssembleList.list:type_name -> pb.MapAssemble
- 54, // 29: pb.MapAssemble.startPoint:type_name -> pb.Point
- 30, // 30: pb.MapAssemble.marchList:type_name -> pb.MapAssembleMarch
- 54, // 31: pb.MapAssemble.targetPoint:type_name -> pb.Point
- 32, // 32: pb.MapMarkList.list:type_name -> pb.MapMark
- 54, // 33: pb.MapMark.point:type_name -> pb.Point
- 54, // 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
- 54, // 37: pb.MapBattlePush.point:type_name -> pb.Point
- 54, // 38: pb.War.castlePoint:type_name -> pb.Point
- 54, // 39: pb.War.siegeBasePoint:type_name -> pb.Point
- 37, // 40: pb.WarList.list:type_name -> pb.War
- 57, // 41: pb.SiegeRank.killRank:type_name -> pb.I32Str
- 57, // 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
- 54, // 47: pb.MapFindPathRequest.point:type_name -> pb.Point
- 54, // 48: pb.ComebackResponse.point:type_name -> pb.Point
- 54, // 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
- 54, // 53: pb.MapUIMarch.point:type_name -> pb.Point
- 50, // 54: pb.MapUICastles.list:type_name -> pb.MapUICastle
- 54, // 55: pb.MapUICastle.point:type_name -> pb.Point
- 53, // 56: pb.MapScoutList.list:type_name -> pb.MapScout
- 54, // 57: pb.MapScout.point:type_name -> pb.Point
- 58, // [58:58] is the sub-list for method output_type
- 58, // [58:58] is the sub-list for method input_type
- 58, // [58:58] is the sub-list for extension type_name
- 58, // [58:58] is the sub-list for extension extendee
- 0, // [0:58] 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: 54,
- 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
- }
|