| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452 |
- // message结构的属性名请使用 驼峰小写字母开始
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.31.1
- // source: league.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 LeagueList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 总数
- Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
- // 联盟列表
- List []*LeagueSearch `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueList) Reset() {
- *x = LeagueList{}
- mi := &file_league_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueList) ProtoMessage() {}
- func (x *LeagueList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueList.ProtoReflect.Descriptor instead.
- func (*LeagueList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{0}
- }
- func (x *LeagueList) GetTotal() int32 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *LeagueList) GetList() []*LeagueSearch {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 联盟搜索信息
- type LeagueSearch 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"`
- // 联盟等级
- Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
- // 联盟当前成员数量
- MemberCount int32 `protobuf:"varint,5,opt,name=memberCount,proto3" json:"memberCount,omitempty"`
- // 所属地坐标
- Location *Point `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
- // 是否需要审批
- NeedApprove bool `protobuf:"varint,7,opt,name=needApprove,proto3" json:"needApprove,omitempty"`
- // 霸业积分
- GloryScore int32 `protobuf:"varint,8,opt,name=gloryScore,proto3" json:"gloryScore,omitempty"`
- // 是否已发送入盟申请
- Apply bool `protobuf:"varint,9,opt,name=apply,proto3" json:"apply,omitempty"`
- // 加入联盟所需主城等级
- JoinNeedLevel int32 `protobuf:"varint,10,opt,name=joinNeedLevel,proto3" json:"joinNeedLevel,omitempty"`
- // 创建时间戳 单位秒
- CreateTime int64 `protobuf:"varint,11,opt,name=createTime,proto3" json:"createTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueSearch) Reset() {
- *x = LeagueSearch{}
- mi := &file_league_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueSearch) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueSearch) ProtoMessage() {}
- func (x *LeagueSearch) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueSearch.ProtoReflect.Descriptor instead.
- func (*LeagueSearch) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{1}
- }
- func (x *LeagueSearch) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeagueSearch) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeagueSearch) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *LeagueSearch) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *LeagueSearch) GetMemberCount() int32 {
- if x != nil {
- return x.MemberCount
- }
- return 0
- }
- func (x *LeagueSearch) GetLocation() *Point {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *LeagueSearch) GetNeedApprove() bool {
- if x != nil {
- return x.NeedApprove
- }
- return false
- }
- func (x *LeagueSearch) GetGloryScore() int32 {
- if x != nil {
- return x.GloryScore
- }
- return 0
- }
- func (x *LeagueSearch) GetApply() bool {
- if x != nil {
- return x.Apply
- }
- return false
- }
- func (x *LeagueSearch) GetJoinNeedLevel() int32 {
- if x != nil {
- return x.JoinNeedLevel
- }
- return 0
- }
- func (x *LeagueSearch) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- // 联盟信息推送
- type LeaguePush 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"`
- // 联盟是否有红点
- RedPoint bool `protobuf:"varint,4,opt,name=redPoint,proto3" json:"redPoint,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeaguePush) Reset() {
- *x = LeaguePush{}
- mi := &file_league_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeaguePush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeaguePush) ProtoMessage() {}
- func (x *LeaguePush) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeaguePush.ProtoReflect.Descriptor instead.
- func (*LeaguePush) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{2}
- }
- func (x *LeaguePush) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeaguePush) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeaguePush) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *LeaguePush) GetRedPoint() bool {
- if x != nil {
- return x.RedPoint
- }
- return false
- }
- // 联盟基础信息
- type LeagueBase 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
- LeaderID int64 `protobuf:"varint,4,opt,name=leaderID,proto3" json:"leaderID,omitempty"`
- // 联盟盟主名称
- LeaderName string `protobuf:"bytes,5,opt,name=leaderName,proto3" json:"leaderName,omitempty"`
- // 联盟等级
- Level int32 `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty"`
- // 联盟经验
- Exp int32 `protobuf:"varint,7,opt,name=exp,proto3" json:"exp,omitempty"`
- // 联盟当前成员数量
- MemberCount int32 `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount,omitempty"`
- // 旗帜背景
- FlagBg int32 `protobuf:"varint,9,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
- // 旗帜图标
- FlagIcon int32 `protobuf:"varint,10,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
- // 所属地坐标
- Location *Point `protobuf:"bytes,11,opt,name=location,proto3" json:"location,omitempty"`
- // 申请所需领主等级
- LordLevelLimit int32 `protobuf:"varint,12,opt,name=lordLevelLimit,proto3" json:"lordLevelLimit,omitempty"`
- // 是否需要审批
- NeedApprove bool `protobuf:"varint,13,opt,name=needApprove,proto3" json:"needApprove,omitempty"`
- // 霸业积分
- GloryScore int32 `protobuf:"varint,14,opt,name=gloryScore,proto3" json:"gloryScore,omitempty"`
- // 联盟公告
- LeagueNotice string `protobuf:"bytes,15,opt,name=leagueNotice,proto3" json:"leagueNotice,omitempty"`
- // 创建时间戳 单位秒
- CreateTime int64 `protobuf:"varint,16,opt,name=createTime,proto3" json:"createTime,omitempty"`
- // 属性
- Attrs *Attrs `protobuf:"bytes,17,opt,name=attrs,proto3" json:"attrs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueBase) Reset() {
- *x = LeagueBase{}
- mi := &file_league_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueBase) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueBase) ProtoMessage() {}
- func (x *LeagueBase) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueBase.ProtoReflect.Descriptor instead.
- func (*LeagueBase) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{3}
- }
- func (x *LeagueBase) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeagueBase) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeagueBase) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *LeagueBase) GetLeaderID() int64 {
- if x != nil {
- return x.LeaderID
- }
- return 0
- }
- func (x *LeagueBase) GetLeaderName() string {
- if x != nil {
- return x.LeaderName
- }
- return ""
- }
- func (x *LeagueBase) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *LeagueBase) GetExp() int32 {
- if x != nil {
- return x.Exp
- }
- return 0
- }
- func (x *LeagueBase) GetMemberCount() int32 {
- if x != nil {
- return x.MemberCount
- }
- return 0
- }
- func (x *LeagueBase) GetFlagBg() int32 {
- if x != nil {
- return x.FlagBg
- }
- return 0
- }
- func (x *LeagueBase) GetFlagIcon() int32 {
- if x != nil {
- return x.FlagIcon
- }
- return 0
- }
- func (x *LeagueBase) GetLocation() *Point {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *LeagueBase) GetLordLevelLimit() int32 {
- if x != nil {
- return x.LordLevelLimit
- }
- return 0
- }
- func (x *LeagueBase) GetNeedApprove() bool {
- if x != nil {
- return x.NeedApprove
- }
- return false
- }
- func (x *LeagueBase) GetGloryScore() int32 {
- if x != nil {
- return x.GloryScore
- }
- return 0
- }
- func (x *LeagueBase) GetLeagueNotice() string {
- if x != nil {
- return x.LeagueNotice
- }
- return ""
- }
- func (x *LeagueBase) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- func (x *LeagueBase) GetAttrs() *Attrs {
- if x != nil {
- return x.Attrs
- }
- return nil
- }
- // 联盟详细信息
- type League struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟基础信息
- LeagueBase *LeagueBase `protobuf:"bytes,1,opt,name=leagueBase,proto3" json:"leagueBase,omitempty"`
- // 联盟声望
- LeaguePrestige int32 `protobuf:"varint,2,opt,name=leaguePrestige,proto3" json:"leaguePrestige,omitempty"`
- // 联盟城池数
- LeagueCityCount int32 `protobuf:"varint,3,opt,name=leagueCityCount,proto3" json:"leagueCityCount,omitempty"`
- // 联盟外交
- Diplomacy *LeagueDiplomacy `protobuf:"bytes,4,opt,name=diplomacy,proto3" json:"diplomacy,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *League) Reset() {
- *x = League{}
- mi := &file_league_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *League) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*League) ProtoMessage() {}
- func (x *League) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 League.ProtoReflect.Descriptor instead.
- func (*League) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{4}
- }
- func (x *League) GetLeagueBase() *LeagueBase {
- if x != nil {
- return x.LeagueBase
- }
- return nil
- }
- func (x *League) GetLeaguePrestige() int32 {
- if x != nil {
- return x.LeaguePrestige
- }
- return 0
- }
- func (x *League) GetLeagueCityCount() int32 {
- if x != nil {
- return x.LeagueCityCount
- }
- return 0
- }
- func (x *League) GetDiplomacy() *LeagueDiplomacy {
- if x != nil {
- return x.Diplomacy
- }
- return nil
- }
- // 联盟成员列表
- type LeagueMembers struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟成员列表
- List []*LeagueMember `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- // 转让信息 为空不存在
- Transfer *LeagueTransfer `protobuf:"bytes,2,opt,name=transfer,proto3" json:"transfer,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueMembers) Reset() {
- *x = LeagueMembers{}
- mi := &file_league_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueMembers) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueMembers) ProtoMessage() {}
- func (x *LeagueMembers) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueMembers.ProtoReflect.Descriptor instead.
- func (*LeagueMembers) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{5}
- }
- func (x *LeagueMembers) GetList() []*LeagueMember {
- if x != nil {
- return x.List
- }
- return nil
- }
- func (x *LeagueMembers) GetTransfer() *LeagueTransfer {
- if x != nil {
- return x.Transfer
- }
- return nil
- }
- // 联盟成员信息
- type LeagueMember 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"`
- // 成员职位
- Job int32 `protobuf:"varint,3,opt,name=job,proto3" json:"job,omitempty"`
- // 成员等级
- Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
- // 成员声望
- Prestige int32 `protobuf:"varint,5,opt,name=prestige,proto3" json:"prestige,omitempty"`
- // 成员功勋
- Glory int32 `protobuf:"varint,6,opt,name=glory,proto3" json:"glory,omitempty"`
- // 成员累计功勋
- TotalGlory int32 `protobuf:"varint,7,opt,name=totalGlory,proto3" json:"totalGlory,omitempty"`
- // 成员贡献
- Contribution int32 `protobuf:"varint,8,opt,name=contribution,proto3" json:"contribution,omitempty"`
- // 成员累计贡献
- TotalContribution int32 `protobuf:"varint,9,opt,name=totalContribution,proto3" json:"totalContribution,omitempty"`
- // 成员坐标
- Point *Point `protobuf:"bytes,10,opt,name=point,proto3" json:"point,omitempty"`
- // 当前状态 0无 1离线超过x天 2玩家x天内入盟 3玩家当前处于整顿状态
- Status int32 `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"`
- // 成员加入时间
- JoinTime int64 `protobuf:"varint,12,opt,name=joinTime,proto3" json:"joinTime,omitempty"`
- // 本周分配的F币
- WeeklyFund int64 `protobuf:"varint,13,opt,name=weeklyFund,proto3" json:"weeklyFund,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueMember) Reset() {
- *x = LeagueMember{}
- mi := &file_league_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueMember) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueMember) ProtoMessage() {}
- func (x *LeagueMember) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueMember.ProtoReflect.Descriptor instead.
- func (*LeagueMember) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{6}
- }
- func (x *LeagueMember) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueMember) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueMember) GetJob() int32 {
- if x != nil {
- return x.Job
- }
- return 0
- }
- func (x *LeagueMember) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *LeagueMember) GetPrestige() int32 {
- if x != nil {
- return x.Prestige
- }
- return 0
- }
- func (x *LeagueMember) GetGlory() int32 {
- if x != nil {
- return x.Glory
- }
- return 0
- }
- func (x *LeagueMember) GetTotalGlory() int32 {
- if x != nil {
- return x.TotalGlory
- }
- return 0
- }
- func (x *LeagueMember) GetContribution() int32 {
- if x != nil {
- return x.Contribution
- }
- return 0
- }
- func (x *LeagueMember) GetTotalContribution() int32 {
- if x != nil {
- return x.TotalContribution
- }
- return 0
- }
- func (x *LeagueMember) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *LeagueMember) GetStatus() int32 {
- if x != nil {
- return x.Status
- }
- return 0
- }
- func (x *LeagueMember) GetJoinTime() int64 {
- if x != nil {
- return x.JoinTime
- }
- return 0
- }
- func (x *LeagueMember) GetWeeklyFund() int64 {
- if x != nil {
- return x.WeeklyFund
- }
- return 0
- }
- // 联盟职位设置
- type LeagueJobRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟成员列表 Key职位ID value联盟成员玩家ID
- Jobs []*I32I64 `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueJobRequest) Reset() {
- *x = LeagueJobRequest{}
- mi := &file_league_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueJobRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueJobRequest) ProtoMessage() {}
- func (x *LeagueJobRequest) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueJobRequest.ProtoReflect.Descriptor instead.
- func (*LeagueJobRequest) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{7}
- }
- func (x *LeagueJobRequest) GetJobs() []*I32I64 {
- if x != nil {
- return x.Jobs
- }
- return nil
- }
- // 科技列表
- type LeagueTechList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 科技列表 Key科技ID value科技等级
- Techs []*I32I32 `protobuf:"bytes,1,rep,name=techs,proto3" json:"techs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueTechList) Reset() {
- *x = LeagueTechList{}
- mi := &file_league_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueTechList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueTechList) ProtoMessage() {}
- func (x *LeagueTechList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueTechList.ProtoReflect.Descriptor instead.
- func (*LeagueTechList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{8}
- }
- func (x *LeagueTechList) GetTechs() []*I32I32 {
- if x != nil {
- return x.Techs
- }
- return nil
- }
- // 联盟设施列表
- type LeagueBuildList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*LeagueBuild `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueBuildList) Reset() {
- *x = LeagueBuildList{}
- mi := &file_league_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueBuildList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueBuildList) ProtoMessage() {}
- func (x *LeagueBuildList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueBuildList.ProtoReflect.Descriptor instead.
- func (*LeagueBuildList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{9}
- }
- func (x *LeagueBuildList) GetList() []*LeagueBuild {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 联盟设施
- type LeagueBuild 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"`
- // 坐标
- Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
- // 是否建造中
- IsOperating bool `protobuf:"varint,4,opt,name=isOperating,proto3" json:"isOperating,omitempty"`
- // 建造完成时间(毫秒)
- BuildEndTime int64 `protobuf:"varint,5,opt,name=buildEndTime,proto3" json:"buildEndTime,omitempty"`
- // 放弃截止时间(毫秒)
- DiscardTime int64 `protobuf:"varint,6,opt,name=discardTime,proto3" json:"discardTime,omitempty"`
- // 升级完成时间(毫秒)
- UpgradeEndTime int64 `protobuf:"varint,7,opt,name=upgradeEndTime,proto3" json:"upgradeEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueBuild) Reset() {
- *x = LeagueBuild{}
- mi := &file_league_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueBuild) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueBuild) ProtoMessage() {}
- func (x *LeagueBuild) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueBuild.ProtoReflect.Descriptor instead.
- func (*LeagueBuild) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{10}
- }
- func (x *LeagueBuild) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *LeagueBuild) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *LeagueBuild) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *LeagueBuild) GetIsOperating() bool {
- if x != nil {
- return x.IsOperating
- }
- return false
- }
- func (x *LeagueBuild) GetBuildEndTime() int64 {
- if x != nil {
- return x.BuildEndTime
- }
- return 0
- }
- func (x *LeagueBuild) GetDiscardTime() int64 {
- if x != nil {
- return x.DiscardTime
- }
- return 0
- }
- func (x *LeagueBuild) GetUpgradeEndTime() int64 {
- if x != nil {
- return x.UpgradeEndTime
- }
- return 0
- }
- // 联盟城池列表
- type LeagueCastleList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*LeagueCastle `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueCastleList) Reset() {
- *x = LeagueCastleList{}
- mi := &file_league_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueCastleList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueCastleList) ProtoMessage() {}
- func (x *LeagueCastleList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueCastleList.ProtoReflect.Descriptor instead.
- func (*LeagueCastleList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{11}
- }
- func (x *LeagueCastleList) GetList() []*LeagueCastle {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 联盟城池
- type LeagueCastle 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"`
- // 城池位置
- Point *Point `protobuf:"bytes,3,opt,name=point,proto3" json:"point,omitempty"`
- // 占领时间(毫秒)
- OccupyTime int64 `protobuf:"varint,4,opt,name=occupyTime,proto3" json:"occupyTime,omitempty"`
- // 城主ID 0表示没有任命城主
- OwnerID int64 `protobuf:"varint,5,opt,name=ownerID,proto3" json:"ownerID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueCastle) Reset() {
- *x = LeagueCastle{}
- mi := &file_league_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueCastle) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueCastle) ProtoMessage() {}
- func (x *LeagueCastle) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueCastle.ProtoReflect.Descriptor instead.
- func (*LeagueCastle) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{12}
- }
- func (x *LeagueCastle) GetObjectID() int64 {
- if x != nil {
- return x.ObjectID
- }
- return 0
- }
- func (x *LeagueCastle) GetConfigID() int32 {
- if x != nil {
- return x.ConfigID
- }
- return 0
- }
- func (x *LeagueCastle) GetPoint() *Point {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *LeagueCastle) GetOccupyTime() int64 {
- if x != nil {
- return x.OccupyTime
- }
- return 0
- }
- func (x *LeagueCastle) GetOwnerID() int64 {
- if x != nil {
- return x.OwnerID
- }
- return 0
- }
- // 联盟职位权限设置
- type LeaguePermissionRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 变更的联盟职位权限列表
- Jobs []*LeaguePermission `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeaguePermissionRequest) Reset() {
- *x = LeaguePermissionRequest{}
- mi := &file_league_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeaguePermissionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeaguePermissionRequest) ProtoMessage() {}
- func (x *LeaguePermissionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeaguePermissionRequest.ProtoReflect.Descriptor instead.
- func (*LeaguePermissionRequest) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{13}
- }
- func (x *LeaguePermissionRequest) GetJobs() []*LeaguePermission {
- if x != nil {
- return x.Jobs
- }
- return nil
- }
- // 联盟职位权限
- type LeaguePermission struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 职位ID L-联盟-职位表职位ID
- Job int32 `protobuf:"varint,1,opt,name=job,proto3" json:"job,omitempty"`
- // 权限ID L-联盟-权限表权限ID
- Permissions []int32 `protobuf:"varint,2,rep,packed,name=permissions,proto3" json:"permissions,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeaguePermission) Reset() {
- *x = LeaguePermission{}
- mi := &file_league_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeaguePermission) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeaguePermission) ProtoMessage() {}
- func (x *LeaguePermission) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeaguePermission.ProtoReflect.Descriptor instead.
- func (*LeaguePermission) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{14}
- }
- func (x *LeaguePermission) GetJob() int32 {
- if x != nil {
- return x.Job
- }
- return 0
- }
- func (x *LeaguePermission) GetPermissions() []int32 {
- if x != nil {
- return x.Permissions
- }
- return nil
- }
- // 创建联盟
- type LeagueCreateRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟名称
- LeagueName string `protobuf:"bytes,1,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
- // 联盟简称
- LeagueAbbName string `protobuf:"bytes,2,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
- // 旗帜背景ID L-联盟-旗帜表旗帜ID
- FlagBg int32 `protobuf:"varint,3,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
- // 旗帜图标ID L-联盟-旗帜表旗帜ID
- FlagIcon int32 `protobuf:"varint,4,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueCreateRequest) Reset() {
- *x = LeagueCreateRequest{}
- mi := &file_league_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueCreateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueCreateRequest) ProtoMessage() {}
- func (x *LeagueCreateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueCreateRequest.ProtoReflect.Descriptor instead.
- func (*LeagueCreateRequest) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{15}
- }
- func (x *LeagueCreateRequest) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeagueCreateRequest) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *LeagueCreateRequest) GetFlagBg() int32 {
- if x != nil {
- return x.FlagBg
- }
- return 0
- }
- func (x *LeagueCreateRequest) GetFlagIcon() int32 {
- if x != nil {
- return x.FlagIcon
- }
- return 0
- }
- // 联盟日志列表
- type LeagueLogList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟日志列表
- List []*LeagueLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueLogList) Reset() {
- *x = LeagueLogList{}
- mi := &file_league_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueLogList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueLogList) ProtoMessage() {}
- func (x *LeagueLogList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueLogList.ProtoReflect.Descriptor instead.
- func (*LeagueLogList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{16}
- }
- func (x *LeagueLogList) GetList() []*LeagueLog {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 联盟日志
- type LeagueLog struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟日志ID L-联盟-日志表日志类型ID
- LogID int32 `protobuf:"varint,1,opt,name=logID,proto3" json:"logID,omitempty"`
- // 联盟日志参数
- Params []string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
- // 日志时间戳 单位秒
- LogTime int64 `protobuf:"varint,3,opt,name=logTime,proto3" json:"logTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueLog) Reset() {
- *x = LeagueLog{}
- mi := &file_league_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueLog) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueLog) ProtoMessage() {}
- func (x *LeagueLog) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueLog.ProtoReflect.Descriptor instead.
- func (*LeagueLog) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{17}
- }
- func (x *LeagueLog) GetLogID() int32 {
- if x != nil {
- return x.LogID
- }
- return 0
- }
- func (x *LeagueLog) GetParams() []string {
- if x != nil {
- return x.Params
- }
- return nil
- }
- func (x *LeagueLog) GetLogTime() int64 {
- if x != nil {
- return x.LogTime
- }
- return 0
- }
- // 盟主转让
- type LeagueTransfer 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"`
- // 转让结束时间 单位秒
- TransferEndTime int64 `protobuf:"varint,3,opt,name=transferEndTime,proto3" json:"transferEndTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueTransfer) Reset() {
- *x = LeagueTransfer{}
- mi := &file_league_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueTransfer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueTransfer) ProtoMessage() {}
- func (x *LeagueTransfer) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueTransfer.ProtoReflect.Descriptor instead.
- func (*LeagueTransfer) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{18}
- }
- func (x *LeagueTransfer) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueTransfer) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueTransfer) GetTransferEndTime() int64 {
- if x != nil {
- return x.TransferEndTime
- }
- return 0
- }
- // 职位列表
- type LeagueJobList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*LeagueJobInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueJobList) Reset() {
- *x = LeagueJobList{}
- mi := &file_league_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueJobList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueJobList) ProtoMessage() {}
- func (x *LeagueJobList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueJobList.ProtoReflect.Descriptor instead.
- func (*LeagueJobList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{19}
- }
- func (x *LeagueJobList) GetList() []*LeagueJobInfo {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 职位信息
- type LeagueJobInfo struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 职位ID L-联盟-职位表职位ID
- JobID int32 `protobuf:"varint,1,opt,name=jobID,proto3" json:"jobID,omitempty"`
- // 当前职位玩家ID 0为无玩家担任当前职位
- PlayerID int64 `protobuf:"varint,2,opt,name=playerID,proto3" json:"playerID,omitempty"`
- // 玩家名称
- PlayerName string `protobuf:"bytes,3,opt,name=playerName,proto3" json:"playerName,omitempty"`
- // 权限列表
- Permissions []int32 `protobuf:"varint,4,rep,packed,name=permissions,proto3" json:"permissions,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueJobInfo) Reset() {
- *x = LeagueJobInfo{}
- mi := &file_league_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueJobInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueJobInfo) ProtoMessage() {}
- func (x *LeagueJobInfo) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueJobInfo.ProtoReflect.Descriptor instead.
- func (*LeagueJobInfo) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{20}
- }
- func (x *LeagueJobInfo) GetJobID() int32 {
- if x != nil {
- return x.JobID
- }
- return 0
- }
- func (x *LeagueJobInfo) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueJobInfo) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueJobInfo) GetPermissions() []int32 {
- if x != nil {
- return x.Permissions
- }
- return nil
- }
- // 联盟申请列表
- type LeagueApplyList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*LeagueApply `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueApplyList) Reset() {
- *x = LeagueApplyList{}
- mi := &file_league_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueApplyList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueApplyList) ProtoMessage() {}
- func (x *LeagueApplyList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueApplyList.ProtoReflect.Descriptor instead.
- func (*LeagueApplyList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{21}
- }
- func (x *LeagueApplyList) GetList() []*LeagueApply {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 联盟申请
- type LeagueApply 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"`
- // 玩家领主等级
- Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
- // 玩家声望
- Prestige int32 `protobuf:"varint,4,opt,name=prestige,proto3" json:"prestige,omitempty"`
- // 玩家主城位置
- Location *Point `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
- // 申请时间戳 单位秒
- ApplyTime int64 `protobuf:"varint,6,opt,name=applyTime,proto3" json:"applyTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueApply) Reset() {
- *x = LeagueApply{}
- mi := &file_league_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueApply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueApply) ProtoMessage() {}
- func (x *LeagueApply) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueApply.ProtoReflect.Descriptor instead.
- func (*LeagueApply) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{22}
- }
- func (x *LeagueApply) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueApply) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueApply) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *LeagueApply) GetPrestige() int32 {
- if x != nil {
- return x.Prestige
- }
- return 0
- }
- func (x *LeagueApply) GetLocation() *Point {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *LeagueApply) GetApplyTime() int64 {
- if x != nil {
- return x.ApplyTime
- }
- return 0
- }
- // 联盟入盟审批&等级&公告设置
- type LeagueBaseSetting struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 入盟是否需要审批
- NeedApprove bool `protobuf:"varint,1,opt,name=needApprove,proto3" json:"needApprove,omitempty"`
- // 入盟所需主城等级
- LevelLimit int32 `protobuf:"varint,2,opt,name=levelLimit,proto3" json:"levelLimit,omitempty"`
- // 联盟公告
- LeagueNotice string `protobuf:"bytes,3,opt,name=leagueNotice,proto3" json:"leagueNotice,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueBaseSetting) Reset() {
- *x = LeagueBaseSetting{}
- mi := &file_league_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueBaseSetting) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueBaseSetting) ProtoMessage() {}
- func (x *LeagueBaseSetting) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueBaseSetting.ProtoReflect.Descriptor instead.
- func (*LeagueBaseSetting) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{23}
- }
- func (x *LeagueBaseSetting) GetNeedApprove() bool {
- if x != nil {
- return x.NeedApprove
- }
- return false
- }
- func (x *LeagueBaseSetting) GetLevelLimit() int32 {
- if x != nil {
- return x.LevelLimit
- }
- return 0
- }
- func (x *LeagueBaseSetting) GetLeagueNotice() string {
- if x != nil {
- return x.LeagueNotice
- }
- return ""
- }
- // 弹劾信息
- type LeagueImpeachInfo 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"`
- // 同意人数
- AgreeCount int32 `protobuf:"varint,3,opt,name=agreeCount,proto3" json:"agreeCount,omitempty"`
- // 反对人数
- RejectCount int32 `protobuf:"varint,4,opt,name=rejectCount,proto3" json:"rejectCount,omitempty"`
- // 我的投票结果 0-未投票 1-同意 2-反对
- MyVote int32 `protobuf:"varint,5,opt,name=myVote,proto3" json:"myVote,omitempty"`
- // 弹劾结束时间 单位秒
- EndTime int64 `protobuf:"varint,6,opt,name=endTime,proto3" json:"endTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueImpeachInfo) Reset() {
- *x = LeagueImpeachInfo{}
- mi := &file_league_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueImpeachInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueImpeachInfo) ProtoMessage() {}
- func (x *LeagueImpeachInfo) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueImpeachInfo.ProtoReflect.Descriptor instead.
- func (*LeagueImpeachInfo) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{24}
- }
- func (x *LeagueImpeachInfo) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueImpeachInfo) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueImpeachInfo) GetAgreeCount() int32 {
- if x != nil {
- return x.AgreeCount
- }
- return 0
- }
- func (x *LeagueImpeachInfo) GetRejectCount() int32 {
- if x != nil {
- return x.RejectCount
- }
- return 0
- }
- func (x *LeagueImpeachInfo) GetMyVote() int32 {
- if x != nil {
- return x.MyVote
- }
- return 0
- }
- func (x *LeagueImpeachInfo) GetEndTime() int64 {
- if x != nil {
- return x.EndTime
- }
- return 0
- }
- // 职位信息
- type LeagueJob struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 当前职位 0表示已没有任何职位
- Job int32 `protobuf:"varint,1,opt,name=job,proto3" json:"job,omitempty"`
- // 权限列表
- Permissions []int32 `protobuf:"varint,2,rep,packed,name=permissions,proto3" json:"permissions,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueJob) Reset() {
- *x = LeagueJob{}
- mi := &file_league_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueJob) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueJob) ProtoMessage() {}
- func (x *LeagueJob) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueJob.ProtoReflect.Descriptor instead.
- func (*LeagueJob) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{25}
- }
- func (x *LeagueJob) GetJob() int32 {
- if x != nil {
- return x.Job
- }
- return 0
- }
- func (x *LeagueJob) GetPermissions() []int32 {
- if x != nil {
- return x.Permissions
- }
- return nil
- }
- // 联盟驻地列表
- type LeagueResidenceList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*LeagueResidence `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueResidenceList) Reset() {
- *x = LeagueResidenceList{}
- mi := &file_league_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueResidenceList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueResidenceList) ProtoMessage() {}
- func (x *LeagueResidenceList) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueResidenceList.ProtoReflect.Descriptor instead.
- func (*LeagueResidenceList) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{26}
- }
- func (x *LeagueResidenceList) GetList() []*LeagueResidence {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 入住联盟驻地玩家基础信息
- type LeagueResidence 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"`
- // 驻地下标索引 从0开始
- Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueResidence) Reset() {
- *x = LeagueResidence{}
- mi := &file_league_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueResidence) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueResidence) ProtoMessage() {}
- func (x *LeagueResidence) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueResidence.ProtoReflect.Descriptor instead.
- func (*LeagueResidence) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{27}
- }
- func (x *LeagueResidence) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueResidence) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueResidence) GetIndex() int32 {
- if x != nil {
- return x.Index
- }
- return 0
- }
- // 联盟成员战绩信息
- type LeagueMemberRecordInfo 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"`
- // 领主等级
- LordLevel int32 `protobuf:"varint,3,opt,name=lordLevel,proto3" json:"lordLevel,omitempty"`
- // 头像
- IconID int32 `protobuf:"varint,4,opt,name=iconID,proto3" json:"iconID,omitempty"`
- // 头像框ID
- FrameID int32 `protobuf:"varint,5,opt,name=frameID,proto3" json:"frameID,omitempty"`
- // 职位
- Job int32 `protobuf:"varint,6,opt,name=job,proto3" json:"job,omitempty"`
- // 玩家战绩列表 0本周 1上周 2上上周 空则无战绩
- Records map[int32]*LeagueMemberRecord `protobuf:"bytes,7,rep,name=records,proto3" json:"records,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueMemberRecordInfo) Reset() {
- *x = LeagueMemberRecordInfo{}
- mi := &file_league_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueMemberRecordInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueMemberRecordInfo) ProtoMessage() {}
- func (x *LeagueMemberRecordInfo) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueMemberRecordInfo.ProtoReflect.Descriptor instead.
- func (*LeagueMemberRecordInfo) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{28}
- }
- func (x *LeagueMemberRecordInfo) GetPlayerID() int64 {
- if x != nil {
- return x.PlayerID
- }
- return 0
- }
- func (x *LeagueMemberRecordInfo) GetPlayerName() string {
- if x != nil {
- return x.PlayerName
- }
- return ""
- }
- func (x *LeagueMemberRecordInfo) GetLordLevel() int32 {
- if x != nil {
- return x.LordLevel
- }
- return 0
- }
- func (x *LeagueMemberRecordInfo) GetIconID() int32 {
- if x != nil {
- return x.IconID
- }
- return 0
- }
- func (x *LeagueMemberRecordInfo) GetFrameID() int32 {
- if x != nil {
- return x.FrameID
- }
- return 0
- }
- func (x *LeagueMemberRecordInfo) GetJob() int32 {
- if x != nil {
- return x.Job
- }
- return 0
- }
- func (x *LeagueMemberRecordInfo) GetRecords() map[int32]*LeagueMemberRecord {
- if x != nil {
- return x.Records
- }
- return nil
- }
- // 联盟成员战绩
- type LeagueMemberRecord struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 玩家战绩 key 战绩枚举类型 value 对应值
- WeekDatas map[int32]int32 `protobuf:"bytes,1,rep,name=weekDatas,proto3" json:"weekDatas,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueMemberRecord) Reset() {
- *x = LeagueMemberRecord{}
- mi := &file_league_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueMemberRecord) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueMemberRecord) ProtoMessage() {}
- func (x *LeagueMemberRecord) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueMemberRecord.ProtoReflect.Descriptor instead.
- func (*LeagueMemberRecord) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{29}
- }
- func (x *LeagueMemberRecord) GetWeekDatas() map[int32]int32 {
- if x != nil {
- return x.WeekDatas
- }
- return nil
- }
- // 联盟仓库
- type LeagueStorage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 仓库货币列表
- Currencies map[int32]*Currency `protobuf:"bytes,1,rep,name=currencies,proto3" json:"currencies,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // 货币税率
- Ratios map[int32]*StorageRatio `protobuf:"bytes,2,rep,name=ratios,proto3" json:"ratios,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // F币分配剩余次数(每日重置)
- FBonusRemainCount int32 `protobuf:"varint,3,opt,name=fBonusRemainCount,proto3" json:"fBonusRemainCount,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueStorage) Reset() {
- *x = LeagueStorage{}
- mi := &file_league_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueStorage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueStorage) ProtoMessage() {}
- func (x *LeagueStorage) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueStorage.ProtoReflect.Descriptor instead.
- func (*LeagueStorage) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{30}
- }
- func (x *LeagueStorage) GetCurrencies() map[int32]*Currency {
- if x != nil {
- return x.Currencies
- }
- return nil
- }
- func (x *LeagueStorage) GetRatios() map[int32]*StorageRatio {
- if x != nil {
- return x.Ratios
- }
- return nil
- }
- func (x *LeagueStorage) GetFBonusRemainCount() int32 {
- if x != nil {
- return x.FBonusRemainCount
- }
- return 0
- }
- // 联盟资源税率
- type StorageRatio struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 货币ID
- Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- // 税率 百分比
- Ratio int32 `protobuf:"varint,2,opt,name=ratio,proto3" json:"ratio,omitempty"`
- // 剩余调整次数(每日重置)
- RemainCount int32 `protobuf:"varint,3,opt,name=remainCount,proto3" json:"remainCount,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *StorageRatio) Reset() {
- *x = StorageRatio{}
- mi := &file_league_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *StorageRatio) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StorageRatio) ProtoMessage() {}
- func (x *StorageRatio) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 StorageRatio.ProtoReflect.Descriptor instead.
- func (*StorageRatio) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{31}
- }
- func (x *StorageRatio) GetId() int32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *StorageRatio) GetRatio() int32 {
- if x != nil {
- return x.Ratio
- }
- return 0
- }
- func (x *StorageRatio) GetRemainCount() int32 {
- if x != nil {
- return x.RemainCount
- }
- return 0
- }
- // F币分红
- type LeagueFundBonus struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 总分红F币数量
- TotalFund int64 `protobuf:"varint,1,opt,name=totalFund,proto3" json:"totalFund,omitempty"`
- // 成员ID列表
- MemberIDList []int64 `protobuf:"varint,2,rep,packed,name=memberIDList,proto3" json:"memberIDList,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueFundBonus) Reset() {
- *x = LeagueFundBonus{}
- mi := &file_league_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueFundBonus) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueFundBonus) ProtoMessage() {}
- func (x *LeagueFundBonus) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueFundBonus.ProtoReflect.Descriptor instead.
- func (*LeagueFundBonus) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{32}
- }
- func (x *LeagueFundBonus) GetTotalFund() int64 {
- if x != nil {
- return x.TotalFund
- }
- return 0
- }
- func (x *LeagueFundBonus) GetMemberIDList() []int64 {
- if x != nil {
- return x.MemberIDList
- }
- return nil
- }
- // 联盟职位
- type LeaguePlayerJob struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟ID 没加入为0
- LeagueID int64 `protobuf:"varint,7,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 联盟名称
- LeagueName string `protobuf:"bytes,8,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
- // 联盟简称
- LeagueAbbName string `protobuf:"bytes,9,opt,name=leagueAbbName,proto3" json:"leagueAbbName,omitempty"`
- // 所在联盟职位ID L-联盟-职位表职位ID
- JobID int32 `protobuf:"varint,10,opt,name=jobID,proto3" json:"jobID,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeaguePlayerJob) Reset() {
- *x = LeaguePlayerJob{}
- mi := &file_league_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeaguePlayerJob) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeaguePlayerJob) ProtoMessage() {}
- func (x *LeaguePlayerJob) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeaguePlayerJob.ProtoReflect.Descriptor instead.
- func (*LeaguePlayerJob) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{33}
- }
- func (x *LeaguePlayerJob) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeaguePlayerJob) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeaguePlayerJob) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *LeaguePlayerJob) GetJobID() int32 {
- if x != nil {
- return x.JobID
- }
- return 0
- }
- // 联盟外交列表
- type LeagueDiplomacyInfos struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- List []*LeagueDiplomacyInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueDiplomacyInfos) Reset() {
- *x = LeagueDiplomacyInfos{}
- mi := &file_league_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueDiplomacyInfos) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueDiplomacyInfos) ProtoMessage() {}
- func (x *LeagueDiplomacyInfos) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueDiplomacyInfos.ProtoReflect.Descriptor instead.
- func (*LeagueDiplomacyInfos) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{34}
- }
- func (x *LeagueDiplomacyInfos) GetList() []*LeagueDiplomacyInfo {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 联盟外交信息
- type LeagueDiplomacyInfo 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"`
- // 联盟等级
- Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
- // 声望
- Prestige int32 `protobuf:"varint,5,opt,name=prestige,proto3" json:"prestige,omitempty"`
- // 联盟当前成员数量
- MemberCount int32 `protobuf:"varint,6,opt,name=memberCount,proto3" json:"memberCount,omitempty"`
- // 旗帜背景
- FlagBg int32 `protobuf:"varint,7,opt,name=flagBg,proto3" json:"flagBg,omitempty"`
- // 旗帜图标
- FlagIcon int32 `protobuf:"varint,8,opt,name=flagIcon,proto3" json:"flagIcon,omitempty"`
- // 所属地坐标
- Location *Point `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
- // 联盟创建时间戳 单位秒
- CreateTime int64 `protobuf:"varint,10,opt,name=createTime,proto3" json:"createTime,omitempty"`
- // 联邦ID
- UninID int64 `protobuf:"varint,21,opt,name=uninID,proto3" json:"uninID,omitempty"`
- // 友盟联盟ID列表
- Umengs []int64 `protobuf:"varint,22,rep,packed,name=umengs,proto3" json:"umengs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueDiplomacyInfo) Reset() {
- *x = LeagueDiplomacyInfo{}
- mi := &file_league_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueDiplomacyInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueDiplomacyInfo) ProtoMessage() {}
- func (x *LeagueDiplomacyInfo) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueDiplomacyInfo.ProtoReflect.Descriptor instead.
- func (*LeagueDiplomacyInfo) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{35}
- }
- func (x *LeagueDiplomacyInfo) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeagueDiplomacyInfo) GetLeagueAbbName() string {
- if x != nil {
- return x.LeagueAbbName
- }
- return ""
- }
- func (x *LeagueDiplomacyInfo) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetPrestige() int32 {
- if x != nil {
- return x.Prestige
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetMemberCount() int32 {
- if x != nil {
- return x.MemberCount
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetFlagBg() int32 {
- if x != nil {
- return x.FlagBg
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetFlagIcon() int32 {
- if x != nil {
- return x.FlagIcon
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetLocation() *Point {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *LeagueDiplomacyInfo) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetUninID() int64 {
- if x != nil {
- return x.UninID
- }
- return 0
- }
- func (x *LeagueDiplomacyInfo) GetUmengs() []int64 {
- if x != nil {
- return x.Umengs
- }
- return nil
- }
- // 联盟外交
- type LeagueDiplomacy struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联邦信息
- Union *LeagueUnion `protobuf:"bytes,1,opt,name=union,proto3" json:"union,omitempty"`
- // 友盟联盟列表 key联盟ID value解除时间戳 0为未解除 单位秒
- Umengs map[int64]int64 `protobuf:"bytes,2,rep,name=umengs,proto3" json:"umengs,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // 联盟外交接收申请列表
- Applys []*LeagueDiplomacyApply `protobuf:"bytes,3,rep,name=applys,proto3" json:"applys,omitempty"`
- // 联盟外交发送申请列表 key联盟ID value申请类型 1友盟 2联邦
- SendApplys []*I64I32 `protobuf:"bytes,4,rep,name=sendApplys,proto3" json:"sendApplys,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueDiplomacy) Reset() {
- *x = LeagueDiplomacy{}
- mi := &file_league_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueDiplomacy) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueDiplomacy) ProtoMessage() {}
- func (x *LeagueDiplomacy) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueDiplomacy.ProtoReflect.Descriptor instead.
- func (*LeagueDiplomacy) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{36}
- }
- func (x *LeagueDiplomacy) GetUnion() *LeagueUnion {
- if x != nil {
- return x.Union
- }
- return nil
- }
- func (x *LeagueDiplomacy) GetUmengs() map[int64]int64 {
- if x != nil {
- return x.Umengs
- }
- return nil
- }
- func (x *LeagueDiplomacy) GetApplys() []*LeagueDiplomacyApply {
- if x != nil {
- return x.Applys
- }
- return nil
- }
- func (x *LeagueDiplomacy) GetSendApplys() []*I64I32 {
- if x != nil {
- return x.SendApplys
- }
- return nil
- }
- // 联盟外交申请变更通知
- type LeagueDiplomacyApplyChange struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 变更类型 1添加 2删除
- ChangeType int32 `protobuf:"varint,1,opt,name=changeType,proto3" json:"changeType,omitempty"`
- // 联盟外交申请
- Apply *LeagueDiplomacyApply `protobuf:"bytes,2,opt,name=apply,proto3" json:"apply,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueDiplomacyApplyChange) Reset() {
- *x = LeagueDiplomacyApplyChange{}
- mi := &file_league_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueDiplomacyApplyChange) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueDiplomacyApplyChange) ProtoMessage() {}
- func (x *LeagueDiplomacyApplyChange) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueDiplomacyApplyChange.ProtoReflect.Descriptor instead.
- func (*LeagueDiplomacyApplyChange) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{37}
- }
- func (x *LeagueDiplomacyApplyChange) GetChangeType() int32 {
- if x != nil {
- return x.ChangeType
- }
- return 0
- }
- func (x *LeagueDiplomacyApplyChange) GetApply() *LeagueDiplomacyApply {
- if x != nil {
- return x.Apply
- }
- return nil
- }
- // 联盟外交申请
- type LeagueDiplomacyApply 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"`
- // 申请类型 1友盟 2联邦
- ApplyType int32 `protobuf:"varint,3,opt,name=applyType,proto3" json:"applyType,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueDiplomacyApply) Reset() {
- *x = LeagueDiplomacyApply{}
- mi := &file_league_proto_msgTypes[38]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueDiplomacyApply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueDiplomacyApply) ProtoMessage() {}
- func (x *LeagueDiplomacyApply) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueDiplomacyApply.ProtoReflect.Descriptor instead.
- func (*LeagueDiplomacyApply) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{38}
- }
- func (x *LeagueDiplomacyApply) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeagueDiplomacyApply) GetLeagueName() string {
- if x != nil {
- return x.LeagueName
- }
- return ""
- }
- func (x *LeagueDiplomacyApply) GetApplyType() int32 {
- if x != nil {
- return x.ApplyType
- }
- return 0
- }
- // 友盟关系变化
- type LeagueUmengChange struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 是否添加 true添加 false删除
- Add bool `protobuf:"varint,1,opt,name=add,proto3" json:"add,omitempty"`
- // 增加/删除的联盟ID
- LeagueIDList []int64 `protobuf:"varint,2,rep,packed,name=leagueIDList,proto3" json:"leagueIDList,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueUmengChange) Reset() {
- *x = LeagueUmengChange{}
- mi := &file_league_proto_msgTypes[39]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueUmengChange) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueUmengChange) ProtoMessage() {}
- func (x *LeagueUmengChange) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueUmengChange.ProtoReflect.Descriptor instead.
- func (*LeagueUmengChange) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{39}
- }
- func (x *LeagueUmengChange) GetAdd() bool {
- if x != nil {
- return x.Add
- }
- return false
- }
- func (x *LeagueUmengChange) GetLeagueIDList() []int64 {
- if x != nil {
- return x.LeagueIDList
- }
- return nil
- }
- type LeagueUnion struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联邦ID
- UnionID int64 `protobuf:"varint,1,opt,name=unionID,proto3" json:"unionID,omitempty"`
- // 联邦对方联盟ID
- UnionLeagueID int64 `protobuf:"varint,2,opt,name=unionLeagueID,proto3" json:"unionLeagueID,omitempty"`
- // 联邦解除时间戳 0未解除 单位秒
- UnionRelieveTime int64 `protobuf:"varint,3,opt,name=unionRelieveTime,proto3" json:"unionRelieveTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueUnion) Reset() {
- *x = LeagueUnion{}
- mi := &file_league_proto_msgTypes[40]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueUnion) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueUnion) ProtoMessage() {}
- func (x *LeagueUnion) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueUnion.ProtoReflect.Descriptor instead.
- func (*LeagueUnion) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{40}
- }
- func (x *LeagueUnion) GetUnionID() int64 {
- if x != nil {
- return x.UnionID
- }
- return 0
- }
- func (x *LeagueUnion) GetUnionLeagueID() int64 {
- if x != nil {
- return x.UnionLeagueID
- }
- return 0
- }
- func (x *LeagueUnion) GetUnionRelieveTime() int64 {
- if x != nil {
- return x.UnionRelieveTime
- }
- return 0
- }
- // 联盟升级通知
- type LeagueUpgradeNotice struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟ID
- LeagueID int64 `protobuf:"varint,1,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 当前等级
- Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
- // 当前经验值
- Exp int32 `protobuf:"varint,3,opt,name=exp,proto3" json:"exp,omitempty"`
- // 联盟属性
- Attrs *Attrs `protobuf:"bytes,4,opt,name=attrs,proto3" json:"attrs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeagueUpgradeNotice) Reset() {
- *x = LeagueUpgradeNotice{}
- mi := &file_league_proto_msgTypes[41]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeagueUpgradeNotice) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeagueUpgradeNotice) ProtoMessage() {}
- func (x *LeagueUpgradeNotice) ProtoReflect() protoreflect.Message {
- mi := &file_league_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 LeagueUpgradeNotice.ProtoReflect.Descriptor instead.
- func (*LeagueUpgradeNotice) Descriptor() ([]byte, []int) {
- return file_league_proto_rawDescGZIP(), []int{41}
- }
- func (x *LeagueUpgradeNotice) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *LeagueUpgradeNotice) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *LeagueUpgradeNotice) GetExp() int32 {
- if x != nil {
- return x.Exp
- }
- return 0
- }
- func (x *LeagueUpgradeNotice) GetAttrs() *Attrs {
- if x != nil {
- return x.Attrs
- }
- return nil
- }
- var File_league_proto protoreflect.FileDescriptor
- const file_league_proto_rawDesc = "" +
- "\n" +
- "\fleague.proto\x12\x02pb\x1a\x0fbase_type.proto\x1a\n" +
- "item.proto\"H\n" +
- "\n" +
- "LeagueList\x12\x14\n" +
- "\x05total\x18\x01 \x01(\x05R\x05total\x12$\n" +
- "\x04list\x18\x02 \x03(\v2\x10.pb.LeagueSearchR\x04list\"\xed\x02\n" +
- "\fLeagueSearch\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\x14\n" +
- "\x05level\x18\x04 \x01(\x05R\x05level\x12 \n" +
- "\vmemberCount\x18\x05 \x01(\x05R\vmemberCount\x12%\n" +
- "\blocation\x18\x06 \x01(\v2\t.pb.PointR\blocation\x12 \n" +
- "\vneedApprove\x18\a \x01(\bR\vneedApprove\x12\x1e\n" +
- "\n" +
- "gloryScore\x18\b \x01(\x05R\n" +
- "gloryScore\x12\x14\n" +
- "\x05apply\x18\t \x01(\bR\x05apply\x12$\n" +
- "\rjoinNeedLevel\x18\n" +
- " \x01(\x05R\rjoinNeedLevel\x12\x1e\n" +
- "\n" +
- "createTime\x18\v \x01(\x03R\n" +
- "createTime\"\x8a\x01\n" +
- "\n" +
- "LeaguePush\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\x1a\n" +
- "\bredPoint\x18\x04 \x01(\bR\bredPoint\"\x9e\x04\n" +
- "\n" +
- "LeagueBase\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\x1a\n" +
- "\bleaderID\x18\x04 \x01(\x03R\bleaderID\x12\x1e\n" +
- "\n" +
- "leaderName\x18\x05 \x01(\tR\n" +
- "leaderName\x12\x14\n" +
- "\x05level\x18\x06 \x01(\x05R\x05level\x12\x10\n" +
- "\x03exp\x18\a \x01(\x05R\x03exp\x12 \n" +
- "\vmemberCount\x18\b \x01(\x05R\vmemberCount\x12\x16\n" +
- "\x06flagBg\x18\t \x01(\x05R\x06flagBg\x12\x1a\n" +
- "\bflagIcon\x18\n" +
- " \x01(\x05R\bflagIcon\x12%\n" +
- "\blocation\x18\v \x01(\v2\t.pb.PointR\blocation\x12&\n" +
- "\x0elordLevelLimit\x18\f \x01(\x05R\x0elordLevelLimit\x12 \n" +
- "\vneedApprove\x18\r \x01(\bR\vneedApprove\x12\x1e\n" +
- "\n" +
- "gloryScore\x18\x0e \x01(\x05R\n" +
- "gloryScore\x12\"\n" +
- "\fleagueNotice\x18\x0f \x01(\tR\fleagueNotice\x12\x1e\n" +
- "\n" +
- "createTime\x18\x10 \x01(\x03R\n" +
- "createTime\x12\x1f\n" +
- "\x05attrs\x18\x11 \x01(\v2\t.pb.AttrsR\x05attrs\"\xbd\x01\n" +
- "\x06League\x12.\n" +
- "\n" +
- "leagueBase\x18\x01 \x01(\v2\x0e.pb.LeagueBaseR\n" +
- "leagueBase\x12&\n" +
- "\x0eleaguePrestige\x18\x02 \x01(\x05R\x0eleaguePrestige\x12(\n" +
- "\x0fleagueCityCount\x18\x03 \x01(\x05R\x0fleagueCityCount\x121\n" +
- "\tdiplomacy\x18\x04 \x01(\v2\x13.pb.LeagueDiplomacyR\tdiplomacy\"e\n" +
- "\rLeagueMembers\x12$\n" +
- "\x04list\x18\x01 \x03(\v2\x10.pb.LeagueMemberR\x04list\x12.\n" +
- "\btransfer\x18\x02 \x01(\v2\x12.pb.LeagueTransferR\btransfer\"\x8b\x03\n" +
- "\fLeagueMember\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x10\n" +
- "\x03job\x18\x03 \x01(\x05R\x03job\x12\x14\n" +
- "\x05level\x18\x04 \x01(\x05R\x05level\x12\x1a\n" +
- "\bprestige\x18\x05 \x01(\x05R\bprestige\x12\x14\n" +
- "\x05glory\x18\x06 \x01(\x05R\x05glory\x12\x1e\n" +
- "\n" +
- "totalGlory\x18\a \x01(\x05R\n" +
- "totalGlory\x12\"\n" +
- "\fcontribution\x18\b \x01(\x05R\fcontribution\x12,\n" +
- "\x11totalContribution\x18\t \x01(\x05R\x11totalContribution\x12\x1f\n" +
- "\x05point\x18\n" +
- " \x01(\v2\t.pb.PointR\x05point\x12\x16\n" +
- "\x06status\x18\v \x01(\x05R\x06status\x12\x1a\n" +
- "\bjoinTime\x18\f \x01(\x03R\bjoinTime\x12\x1e\n" +
- "\n" +
- "weeklyFund\x18\r \x01(\x03R\n" +
- "weeklyFund\"2\n" +
- "\x10LeagueJobRequest\x12\x1e\n" +
- "\x04jobs\x18\x01 \x03(\v2\n" +
- ".pb.I32I64R\x04jobs\"2\n" +
- "\x0eLeagueTechList\x12 \n" +
- "\x05techs\x18\x01 \x03(\v2\n" +
- ".pb.I32I32R\x05techs\"6\n" +
- "\x0fLeagueBuildList\x12#\n" +
- "\x04list\x18\x01 \x03(\v2\x0f.pb.LeagueBuildR\x04list\"\xf6\x01\n" +
- "\vLeagueBuild\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bconfigID\x18\x02 \x01(\x05R\bconfigID\x12\x1f\n" +
- "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12 \n" +
- "\visOperating\x18\x04 \x01(\bR\visOperating\x12\"\n" +
- "\fbuildEndTime\x18\x05 \x01(\x03R\fbuildEndTime\x12 \n" +
- "\vdiscardTime\x18\x06 \x01(\x03R\vdiscardTime\x12&\n" +
- "\x0eupgradeEndTime\x18\a \x01(\x03R\x0eupgradeEndTime\"8\n" +
- "\x10LeagueCastleList\x12$\n" +
- "\x04list\x18\x01 \x03(\v2\x10.pb.LeagueCastleR\x04list\"\xa1\x01\n" +
- "\fLeagueCastle\x12\x1a\n" +
- "\bobjectID\x18\x01 \x01(\x03R\bobjectID\x12\x1a\n" +
- "\bconfigID\x18\x02 \x01(\x05R\bconfigID\x12\x1f\n" +
- "\x05point\x18\x03 \x01(\v2\t.pb.PointR\x05point\x12\x1e\n" +
- "\n" +
- "occupyTime\x18\x04 \x01(\x03R\n" +
- "occupyTime\x12\x18\n" +
- "\aownerID\x18\x05 \x01(\x03R\aownerID\"C\n" +
- "\x17LeaguePermissionRequest\x12(\n" +
- "\x04jobs\x18\x01 \x03(\v2\x14.pb.LeaguePermissionR\x04jobs\"F\n" +
- "\x10LeaguePermission\x12\x10\n" +
- "\x03job\x18\x01 \x01(\x05R\x03job\x12 \n" +
- "\vpermissions\x18\x02 \x03(\x05R\vpermissions\"\x8f\x01\n" +
- "\x13LeagueCreateRequest\x12\x1e\n" +
- "\n" +
- "leagueName\x18\x01 \x01(\tR\n" +
- "leagueName\x12$\n" +
- "\rleagueAbbName\x18\x02 \x01(\tR\rleagueAbbName\x12\x16\n" +
- "\x06flagBg\x18\x03 \x01(\x05R\x06flagBg\x12\x1a\n" +
- "\bflagIcon\x18\x04 \x01(\x05R\bflagIcon\"2\n" +
- "\rLeagueLogList\x12!\n" +
- "\x04list\x18\x01 \x03(\v2\r.pb.LeagueLogR\x04list\"S\n" +
- "\tLeagueLog\x12\x14\n" +
- "\x05logID\x18\x01 \x01(\x05R\x05logID\x12\x16\n" +
- "\x06params\x18\x02 \x03(\tR\x06params\x12\x18\n" +
- "\alogTime\x18\x03 \x01(\x03R\alogTime\"v\n" +
- "\x0eLeagueTransfer\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12(\n" +
- "\x0ftransferEndTime\x18\x03 \x01(\x03R\x0ftransferEndTime\"6\n" +
- "\rLeagueJobList\x12%\n" +
- "\x04list\x18\x01 \x03(\v2\x11.pb.LeagueJobInfoR\x04list\"\x83\x01\n" +
- "\rLeagueJobInfo\x12\x14\n" +
- "\x05jobID\x18\x01 \x01(\x05R\x05jobID\x12\x1a\n" +
- "\bplayerID\x18\x02 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x03 \x01(\tR\n" +
- "playerName\x12 \n" +
- "\vpermissions\x18\x04 \x03(\x05R\vpermissions\"6\n" +
- "\x0fLeagueApplyList\x12#\n" +
- "\x04list\x18\x01 \x03(\v2\x0f.pb.LeagueApplyR\x04list\"\xc0\x01\n" +
- "\vLeagueApply\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x14\n" +
- "\x05level\x18\x03 \x01(\x05R\x05level\x12\x1a\n" +
- "\bprestige\x18\x04 \x01(\x05R\bprestige\x12%\n" +
- "\blocation\x18\x05 \x01(\v2\t.pb.PointR\blocation\x12\x1c\n" +
- "\tapplyTime\x18\x06 \x01(\x03R\tapplyTime\"y\n" +
- "\x11LeagueBaseSetting\x12 \n" +
- "\vneedApprove\x18\x01 \x01(\bR\vneedApprove\x12\x1e\n" +
- "\n" +
- "levelLimit\x18\x02 \x01(\x05R\n" +
- "levelLimit\x12\"\n" +
- "\fleagueNotice\x18\x03 \x01(\tR\fleagueNotice\"\xc3\x01\n" +
- "\x11LeagueImpeachInfo\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x1e\n" +
- "\n" +
- "agreeCount\x18\x03 \x01(\x05R\n" +
- "agreeCount\x12 \n" +
- "\vrejectCount\x18\x04 \x01(\x05R\vrejectCount\x12\x16\n" +
- "\x06myVote\x18\x05 \x01(\x05R\x06myVote\x12\x18\n" +
- "\aendTime\x18\x06 \x01(\x03R\aendTime\"?\n" +
- "\tLeagueJob\x12\x10\n" +
- "\x03job\x18\x01 \x01(\x05R\x03job\x12 \n" +
- "\vpermissions\x18\x02 \x03(\x05R\vpermissions\">\n" +
- "\x13LeagueResidenceList\x12'\n" +
- "\x04list\x18\x01 \x03(\v2\x13.pb.LeagueResidenceR\x04list\"c\n" +
- "\x0fLeagueResidence\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x14\n" +
- "\x05index\x18\x03 \x01(\x05R\x05index\"\xcd\x02\n" +
- "\x16LeagueMemberRecordInfo\x12\x1a\n" +
- "\bplayerID\x18\x01 \x01(\x03R\bplayerID\x12\x1e\n" +
- "\n" +
- "playerName\x18\x02 \x01(\tR\n" +
- "playerName\x12\x1c\n" +
- "\tlordLevel\x18\x03 \x01(\x05R\tlordLevel\x12\x16\n" +
- "\x06iconID\x18\x04 \x01(\x05R\x06iconID\x12\x18\n" +
- "\aframeID\x18\x05 \x01(\x05R\aframeID\x12\x10\n" +
- "\x03job\x18\x06 \x01(\x05R\x03job\x12A\n" +
- "\arecords\x18\a \x03(\v2'.pb.LeagueMemberRecordInfo.RecordsEntryR\arecords\x1aR\n" +
- "\fRecordsEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\x05R\x03key\x12,\n" +
- "\x05value\x18\x02 \x01(\v2\x16.pb.LeagueMemberRecordR\x05value:\x028\x01\"\x97\x01\n" +
- "\x12LeagueMemberRecord\x12C\n" +
- "\tweekDatas\x18\x01 \x03(\v2%.pb.LeagueMemberRecord.WeekDatasEntryR\tweekDatas\x1a<\n" +
- "\x0eWeekDatasEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xd1\x02\n" +
- "\rLeagueStorage\x12A\n" +
- "\n" +
- "currencies\x18\x01 \x03(\v2!.pb.LeagueStorage.CurrenciesEntryR\n" +
- "currencies\x125\n" +
- "\x06ratios\x18\x02 \x03(\v2\x1d.pb.LeagueStorage.RatiosEntryR\x06ratios\x12,\n" +
- "\x11fBonusRemainCount\x18\x03 \x01(\x05R\x11fBonusRemainCount\x1aK\n" +
- "\x0fCurrenciesEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\x05R\x03key\x12\"\n" +
- "\x05value\x18\x02 \x01(\v2\f.pb.CurrencyR\x05value:\x028\x01\x1aK\n" +
- "\vRatiosEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\x05R\x03key\x12&\n" +
- "\x05value\x18\x02 \x01(\v2\x10.pb.StorageRatioR\x05value:\x028\x01\"V\n" +
- "\fStorageRatio\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\x05R\x02id\x12\x14\n" +
- "\x05ratio\x18\x02 \x01(\x05R\x05ratio\x12 \n" +
- "\vremainCount\x18\x03 \x01(\x05R\vremainCount\"S\n" +
- "\x0fLeagueFundBonus\x12\x1c\n" +
- "\ttotalFund\x18\x01 \x01(\x03R\ttotalFund\x12\"\n" +
- "\fmemberIDList\x18\x02 \x03(\x03R\fmemberIDList\"\x89\x01\n" +
- "\x0fLeaguePlayerJob\x12\x1a\n" +
- "\bleagueID\x18\a \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "leagueName\x18\b \x01(\tR\n" +
- "leagueName\x12$\n" +
- "\rleagueAbbName\x18\t \x01(\tR\rleagueAbbName\x12\x14\n" +
- "\x05jobID\x18\n" +
- " \x01(\x05R\x05jobID\"C\n" +
- "\x14LeagueDiplomacyInfos\x12+\n" +
- "\x04list\x18\x01 \x03(\v2\x17.pb.LeagueDiplomacyInfoR\x04list\"\xf6\x02\n" +
- "\x13LeagueDiplomacyInfo\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\x14\n" +
- "\x05level\x18\x04 \x01(\x05R\x05level\x12\x1a\n" +
- "\bprestige\x18\x05 \x01(\x05R\bprestige\x12 \n" +
- "\vmemberCount\x18\x06 \x01(\x05R\vmemberCount\x12\x16\n" +
- "\x06flagBg\x18\a \x01(\x05R\x06flagBg\x12\x1a\n" +
- "\bflagIcon\x18\b \x01(\x05R\bflagIcon\x12%\n" +
- "\blocation\x18\t \x01(\v2\t.pb.PointR\blocation\x12\x1e\n" +
- "\n" +
- "createTime\x18\n" +
- " \x01(\x03R\n" +
- "createTime\x12\x16\n" +
- "\x06uninID\x18\x15 \x01(\x03R\x06uninID\x12\x16\n" +
- "\x06umengs\x18\x16 \x03(\x03R\x06umengs\"\x8a\x02\n" +
- "\x0fLeagueDiplomacy\x12%\n" +
- "\x05union\x18\x01 \x01(\v2\x0f.pb.LeagueUnionR\x05union\x127\n" +
- "\x06umengs\x18\x02 \x03(\v2\x1f.pb.LeagueDiplomacy.UmengsEntryR\x06umengs\x120\n" +
- "\x06applys\x18\x03 \x03(\v2\x18.pb.LeagueDiplomacyApplyR\x06applys\x12*\n" +
- "\n" +
- "sendApplys\x18\x04 \x03(\v2\n" +
- ".pb.I64I32R\n" +
- "sendApplys\x1a9\n" +
- "\vUmengsEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"l\n" +
- "\x1aLeagueDiplomacyApplyChange\x12\x1e\n" +
- "\n" +
- "changeType\x18\x01 \x01(\x05R\n" +
- "changeType\x12.\n" +
- "\x05apply\x18\x02 \x01(\v2\x18.pb.LeagueDiplomacyApplyR\x05apply\"p\n" +
- "\x14LeagueDiplomacyApply\x12\x1a\n" +
- "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x1e\n" +
- "\n" +
- "leagueName\x18\x02 \x01(\tR\n" +
- "leagueName\x12\x1c\n" +
- "\tapplyType\x18\x03 \x01(\x05R\tapplyType\"I\n" +
- "\x11LeagueUmengChange\x12\x10\n" +
- "\x03add\x18\x01 \x01(\bR\x03add\x12\"\n" +
- "\fleagueIDList\x18\x02 \x03(\x03R\fleagueIDList\"y\n" +
- "\vLeagueUnion\x12\x18\n" +
- "\aunionID\x18\x01 \x01(\x03R\aunionID\x12$\n" +
- "\runionLeagueID\x18\x02 \x01(\x03R\runionLeagueID\x12*\n" +
- "\x10unionRelieveTime\x18\x03 \x01(\x03R\x10unionRelieveTime\"z\n" +
- "\x13LeagueUpgradeNotice\x12\x1a\n" +
- "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x14\n" +
- "\x05level\x18\x02 \x01(\x05R\x05level\x12\x10\n" +
- "\x03exp\x18\x03 \x01(\x05R\x03exp\x12\x1f\n" +
- "\x05attrs\x18\x04 \x01(\v2\t.pb.AttrsR\x05attrsB\x05Z\x03/pbb\x06proto3"
- var (
- file_league_proto_rawDescOnce sync.Once
- file_league_proto_rawDescData []byte
- )
- func file_league_proto_rawDescGZIP() []byte {
- file_league_proto_rawDescOnce.Do(func() {
- file_league_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_league_proto_rawDesc), len(file_league_proto_rawDesc)))
- })
- return file_league_proto_rawDescData
- }
- var file_league_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
- var file_league_proto_goTypes = []any{
- (*LeagueList)(nil), // 0: pb.LeagueList
- (*LeagueSearch)(nil), // 1: pb.LeagueSearch
- (*LeaguePush)(nil), // 2: pb.LeaguePush
- (*LeagueBase)(nil), // 3: pb.LeagueBase
- (*League)(nil), // 4: pb.League
- (*LeagueMembers)(nil), // 5: pb.LeagueMembers
- (*LeagueMember)(nil), // 6: pb.LeagueMember
- (*LeagueJobRequest)(nil), // 7: pb.LeagueJobRequest
- (*LeagueTechList)(nil), // 8: pb.LeagueTechList
- (*LeagueBuildList)(nil), // 9: pb.LeagueBuildList
- (*LeagueBuild)(nil), // 10: pb.LeagueBuild
- (*LeagueCastleList)(nil), // 11: pb.LeagueCastleList
- (*LeagueCastle)(nil), // 12: pb.LeagueCastle
- (*LeaguePermissionRequest)(nil), // 13: pb.LeaguePermissionRequest
- (*LeaguePermission)(nil), // 14: pb.LeaguePermission
- (*LeagueCreateRequest)(nil), // 15: pb.LeagueCreateRequest
- (*LeagueLogList)(nil), // 16: pb.LeagueLogList
- (*LeagueLog)(nil), // 17: pb.LeagueLog
- (*LeagueTransfer)(nil), // 18: pb.LeagueTransfer
- (*LeagueJobList)(nil), // 19: pb.LeagueJobList
- (*LeagueJobInfo)(nil), // 20: pb.LeagueJobInfo
- (*LeagueApplyList)(nil), // 21: pb.LeagueApplyList
- (*LeagueApply)(nil), // 22: pb.LeagueApply
- (*LeagueBaseSetting)(nil), // 23: pb.LeagueBaseSetting
- (*LeagueImpeachInfo)(nil), // 24: pb.LeagueImpeachInfo
- (*LeagueJob)(nil), // 25: pb.LeagueJob
- (*LeagueResidenceList)(nil), // 26: pb.LeagueResidenceList
- (*LeagueResidence)(nil), // 27: pb.LeagueResidence
- (*LeagueMemberRecordInfo)(nil), // 28: pb.LeagueMemberRecordInfo
- (*LeagueMemberRecord)(nil), // 29: pb.LeagueMemberRecord
- (*LeagueStorage)(nil), // 30: pb.LeagueStorage
- (*StorageRatio)(nil), // 31: pb.StorageRatio
- (*LeagueFundBonus)(nil), // 32: pb.LeagueFundBonus
- (*LeaguePlayerJob)(nil), // 33: pb.LeaguePlayerJob
- (*LeagueDiplomacyInfos)(nil), // 34: pb.LeagueDiplomacyInfos
- (*LeagueDiplomacyInfo)(nil), // 35: pb.LeagueDiplomacyInfo
- (*LeagueDiplomacy)(nil), // 36: pb.LeagueDiplomacy
- (*LeagueDiplomacyApplyChange)(nil), // 37: pb.LeagueDiplomacyApplyChange
- (*LeagueDiplomacyApply)(nil), // 38: pb.LeagueDiplomacyApply
- (*LeagueUmengChange)(nil), // 39: pb.LeagueUmengChange
- (*LeagueUnion)(nil), // 40: pb.LeagueUnion
- (*LeagueUpgradeNotice)(nil), // 41: pb.LeagueUpgradeNotice
- nil, // 42: pb.LeagueMemberRecordInfo.RecordsEntry
- nil, // 43: pb.LeagueMemberRecord.WeekDatasEntry
- nil, // 44: pb.LeagueStorage.CurrenciesEntry
- nil, // 45: pb.LeagueStorage.RatiosEntry
- nil, // 46: pb.LeagueDiplomacy.UmengsEntry
- (*Point)(nil), // 47: pb.Point
- (*Attrs)(nil), // 48: pb.Attrs
- (*I32I64)(nil), // 49: pb.I32I64
- (*I32I32)(nil), // 50: pb.I32I32
- (*I64I32)(nil), // 51: pb.I64I32
- (*Currency)(nil), // 52: pb.Currency
- }
- var file_league_proto_depIdxs = []int32{
- 1, // 0: pb.LeagueList.list:type_name -> pb.LeagueSearch
- 47, // 1: pb.LeagueSearch.location:type_name -> pb.Point
- 47, // 2: pb.LeagueBase.location:type_name -> pb.Point
- 48, // 3: pb.LeagueBase.attrs:type_name -> pb.Attrs
- 3, // 4: pb.League.leagueBase:type_name -> pb.LeagueBase
- 36, // 5: pb.League.diplomacy:type_name -> pb.LeagueDiplomacy
- 6, // 6: pb.LeagueMembers.list:type_name -> pb.LeagueMember
- 18, // 7: pb.LeagueMembers.transfer:type_name -> pb.LeagueTransfer
- 47, // 8: pb.LeagueMember.point:type_name -> pb.Point
- 49, // 9: pb.LeagueJobRequest.jobs:type_name -> pb.I32I64
- 50, // 10: pb.LeagueTechList.techs:type_name -> pb.I32I32
- 10, // 11: pb.LeagueBuildList.list:type_name -> pb.LeagueBuild
- 47, // 12: pb.LeagueBuild.point:type_name -> pb.Point
- 12, // 13: pb.LeagueCastleList.list:type_name -> pb.LeagueCastle
- 47, // 14: pb.LeagueCastle.point:type_name -> pb.Point
- 14, // 15: pb.LeaguePermissionRequest.jobs:type_name -> pb.LeaguePermission
- 17, // 16: pb.LeagueLogList.list:type_name -> pb.LeagueLog
- 20, // 17: pb.LeagueJobList.list:type_name -> pb.LeagueJobInfo
- 22, // 18: pb.LeagueApplyList.list:type_name -> pb.LeagueApply
- 47, // 19: pb.LeagueApply.location:type_name -> pb.Point
- 27, // 20: pb.LeagueResidenceList.list:type_name -> pb.LeagueResidence
- 42, // 21: pb.LeagueMemberRecordInfo.records:type_name -> pb.LeagueMemberRecordInfo.RecordsEntry
- 43, // 22: pb.LeagueMemberRecord.weekDatas:type_name -> pb.LeagueMemberRecord.WeekDatasEntry
- 44, // 23: pb.LeagueStorage.currencies:type_name -> pb.LeagueStorage.CurrenciesEntry
- 45, // 24: pb.LeagueStorage.ratios:type_name -> pb.LeagueStorage.RatiosEntry
- 35, // 25: pb.LeagueDiplomacyInfos.list:type_name -> pb.LeagueDiplomacyInfo
- 47, // 26: pb.LeagueDiplomacyInfo.location:type_name -> pb.Point
- 40, // 27: pb.LeagueDiplomacy.union:type_name -> pb.LeagueUnion
- 46, // 28: pb.LeagueDiplomacy.umengs:type_name -> pb.LeagueDiplomacy.UmengsEntry
- 38, // 29: pb.LeagueDiplomacy.applys:type_name -> pb.LeagueDiplomacyApply
- 51, // 30: pb.LeagueDiplomacy.sendApplys:type_name -> pb.I64I32
- 38, // 31: pb.LeagueDiplomacyApplyChange.apply:type_name -> pb.LeagueDiplomacyApply
- 48, // 32: pb.LeagueUpgradeNotice.attrs:type_name -> pb.Attrs
- 29, // 33: pb.LeagueMemberRecordInfo.RecordsEntry.value:type_name -> pb.LeagueMemberRecord
- 52, // 34: pb.LeagueStorage.CurrenciesEntry.value:type_name -> pb.Currency
- 31, // 35: pb.LeagueStorage.RatiosEntry.value:type_name -> pb.StorageRatio
- 36, // [36:36] is the sub-list for method output_type
- 36, // [36:36] is the sub-list for method input_type
- 36, // [36:36] is the sub-list for extension type_name
- 36, // [36:36] is the sub-list for extension extendee
- 0, // [0:36] is the sub-list for field type_name
- }
- func init() { file_league_proto_init() }
- func file_league_proto_init() {
- if File_league_proto != nil {
- return
- }
- file_base_type_proto_init()
- file_item_proto_init()
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_league_proto_rawDesc), len(file_league_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 47,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_league_proto_goTypes,
- DependencyIndexes: file_league_proto_depIdxs,
- MessageInfos: file_league_proto_msgTypes,
- }.Build()
- File_league_proto = out.File
- file_league_proto_goTypes = nil
- file_league_proto_depIdxs = nil
- }
|