| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372 |
- // 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
- }
- 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\x10unionRelieveTimeB\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, 46)
- 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
- nil, // 41: pb.LeagueMemberRecordInfo.RecordsEntry
- nil, // 42: pb.LeagueMemberRecord.WeekDatasEntry
- nil, // 43: pb.LeagueStorage.CurrenciesEntry
- nil, // 44: pb.LeagueStorage.RatiosEntry
- nil, // 45: pb.LeagueDiplomacy.UmengsEntry
- (*Point)(nil), // 46: pb.Point
- (*Attrs)(nil), // 47: pb.Attrs
- (*I32I64)(nil), // 48: pb.I32I64
- (*I32I32)(nil), // 49: pb.I32I32
- (*I64I32)(nil), // 50: pb.I64I32
- (*Currency)(nil), // 51: pb.Currency
- }
- var file_league_proto_depIdxs = []int32{
- 1, // 0: pb.LeagueList.list:type_name -> pb.LeagueSearch
- 46, // 1: pb.LeagueSearch.location:type_name -> pb.Point
- 46, // 2: pb.LeagueBase.location:type_name -> pb.Point
- 47, // 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
- 46, // 8: pb.LeagueMember.point:type_name -> pb.Point
- 48, // 9: pb.LeagueJobRequest.jobs:type_name -> pb.I32I64
- 49, // 10: pb.LeagueTechList.techs:type_name -> pb.I32I32
- 10, // 11: pb.LeagueBuildList.list:type_name -> pb.LeagueBuild
- 46, // 12: pb.LeagueBuild.point:type_name -> pb.Point
- 12, // 13: pb.LeagueCastleList.list:type_name -> pb.LeagueCastle
- 46, // 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
- 46, // 19: pb.LeagueApply.location:type_name -> pb.Point
- 27, // 20: pb.LeagueResidenceList.list:type_name -> pb.LeagueResidence
- 41, // 21: pb.LeagueMemberRecordInfo.records:type_name -> pb.LeagueMemberRecordInfo.RecordsEntry
- 42, // 22: pb.LeagueMemberRecord.weekDatas:type_name -> pb.LeagueMemberRecord.WeekDatasEntry
- 43, // 23: pb.LeagueStorage.currencies:type_name -> pb.LeagueStorage.CurrenciesEntry
- 44, // 24: pb.LeagueStorage.ratios:type_name -> pb.LeagueStorage.RatiosEntry
- 35, // 25: pb.LeagueDiplomacyInfos.list:type_name -> pb.LeagueDiplomacyInfo
- 46, // 26: pb.LeagueDiplomacyInfo.location:type_name -> pb.Point
- 40, // 27: pb.LeagueDiplomacy.union:type_name -> pb.LeagueUnion
- 45, // 28: pb.LeagueDiplomacy.umengs:type_name -> pb.LeagueDiplomacy.UmengsEntry
- 38, // 29: pb.LeagueDiplomacy.applys:type_name -> pb.LeagueDiplomacyApply
- 50, // 30: pb.LeagueDiplomacy.sendApplys:type_name -> pb.I64I32
- 38, // 31: pb.LeagueDiplomacyApplyChange.apply:type_name -> pb.LeagueDiplomacyApply
- 29, // 32: pb.LeagueMemberRecordInfo.RecordsEntry.value:type_name -> pb.LeagueMemberRecord
- 51, // 33: pb.LeagueStorage.CurrenciesEntry.value:type_name -> pb.Currency
- 31, // 34: pb.LeagueStorage.RatiosEntry.value:type_name -> pb.StorageRatio
- 35, // [35:35] is the sub-list for method output_type
- 35, // [35:35] is the sub-list for method input_type
- 35, // [35:35] is the sub-list for extension type_name
- 35, // [35:35] is the sub-list for extension extendee
- 0, // [0:35] 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: 46,
- 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
- }
|