OuterMessage.proto 161 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349
  1. syntax = "proto3";
  2. package ET;
  3. message G2C_TestMessage // IMessage
  4. {
  5. string Content = 1; // 消息内容
  6. }
  7. message R2C_TestMessage // IMessage
  8. {
  9. string Content = 1; // 消息内容
  10. }
  11. //ResponseType R2C_Test
  12. message C2R_Test // IRequest
  13. {
  14. int32 RpcId = 90;
  15. string Content = 1; // 消息内容
  16. }
  17. message R2C_Test // IResponse
  18. {
  19. int32 RpcId = 90;
  20. int32 Error = 91;
  21. string Message = 92;
  22. string Content = 1; // 消息内容
  23. }
  24. message C2M_TestActorLocationMessage // IActorLocationMessage
  25. {
  26. int32 RpcId = 90;
  27. string Content = 1; // 消息内容
  28. }
  29. message M2C_TestActorMessage // IActorMessage
  30. {
  31. string Content = 1; // 消息内容
  32. }
  33. //ResponseType M2C_TestActorLocationResponse
  34. message C2M_TestActorLocationRequest // IActorLocationRequest
  35. {
  36. int32 RpcId = 90;
  37. string Request = 1; // 消息内容
  38. }
  39. message M2C_TestActorLocationResponse // IActorLocationResponse
  40. {
  41. int32 RpcId = 90;
  42. int32 Error = 91;
  43. string Message = 92;
  44. string Response = 1; // 消息内容
  45. }
  46. //ResponseType M2C_TestRobotCase
  47. message C2M_TestRobotCase // IActorLocationRequest
  48. {
  49. int32 RpcId = 90;
  50. int32 N = 1;
  51. }
  52. message M2C_TestRobotCase // IActorLocationResponse
  53. {
  54. int32 RpcId = 90;
  55. int32 Error = 91;
  56. string Message = 92;
  57. int32 N = 1;
  58. }
  59. //ResponseType G2C_Ping
  60. message C2G_Ping // IRequest
  61. {
  62. int32 RpcId = 90;
  63. }
  64. message G2C_Ping // IResponse
  65. {
  66. int32 RpcId = 90;
  67. int32 Error = 91;
  68. string Message = 92;
  69. int64 Time = 1;
  70. }
  71. //ResponseType M2C_Reload
  72. message C2M_Reload // IRequest
  73. {
  74. int32 RpcId = 90;
  75. string Account = 1;
  76. string Password = 2;
  77. }
  78. message M2C_Reload // IResponse
  79. {
  80. int32 RpcId = 90;
  81. int32 Error = 91;
  82. string Message = 92;
  83. }
  84. //ResponseType A2C_Register
  85. message C2A_Register // IRequest
  86. {
  87. int32 RpcId = 90;
  88. string Account = 1; // 帐号
  89. string Password = 2; // 密码
  90. string Name = 3; //名称
  91. string IdentityNum = 4; //身份证号
  92. string Code = 5; //验证码
  93. int32 PlatformId = 6; //平台id
  94. int32 ChannelId = 7; //渠道id
  95. }
  96. message A2C_Register // IResponse
  97. {
  98. int32 RpcId = 90;
  99. int32 Error = 91;
  100. string Message = 92;
  101. }
  102. //通知服务端发送手机验证码
  103. //ResponseType S2C_GetMobileVerificationCode
  104. message C2S_GetMobileVerificationCode // IRequest
  105. {
  106. int32 RpcId = 90;
  107. string PhoneNumber = 1; //手机号码
  108. }
  109. message S2C_GetMobileVerificationCode // IResponse
  110. {
  111. int32 RpcId = 90;
  112. int32 Error = 91;
  113. string Message = 92;
  114. string PhoneNumber = 1; //手机号码
  115. }
  116. //ResponseType A2C_LoginAccount
  117. message C2A_LoginAccount // IRequest
  118. {
  119. int32 RpcId = 90;
  120. string Account = 1;
  121. string Password = 2;
  122. string Version = 3;
  123. int32 PlatformId = 4; //平台id
  124. int32 ChannelId = 5; //渠道id
  125. bool CancelDelete = 6;
  126. }
  127. message A2C_LoginAccount // IResponse
  128. {
  129. int32 RpcId = 90;
  130. int32 Error = 91;
  131. string Message = 92;
  132. string Token = 1;
  133. int64 AccountId = 2;
  134. int32 Age = 3;
  135. int64 DeleteTime = 4; //删除时间,单位毫秒
  136. string PhoneNumber = 5; //返回手机号码
  137. }
  138. //测试登录
  139. //ResponseType A2C_LoginAccount
  140. message C2A_LoginTest // IRequest
  141. {
  142. int32 RpcId = 90;
  143. string Account = 1;
  144. string Version = 2;
  145. int32 PlatformId = 3; //平台id
  146. int32 ChannelId = 4; //渠道id
  147. string Token = 5;
  148. bool CancelDelete = 6;
  149. }
  150. //请求删除账号
  151. //ResponseType A2C_ReqDeleteAccount
  152. message C2A_ReqDeleteAccount // IRequest
  153. {
  154. int32 RpcId = 90;
  155. string Account = 1; // 帐号
  156. string Password = 2; // 密码
  157. string Name = 3; //名称
  158. string IdentityNum = 4; //身份证号
  159. string Code = 5; //验证码
  160. int32 PlatformId = 6; //平台id
  161. int32 ChannelId = 7; //渠道id
  162. }
  163. message A2C_ReqDeleteAccount // IResponse
  164. {
  165. int32 RpcId = 90;
  166. int32 Error = 91;
  167. string Message = 92;
  168. }
  169. message A2C_Disconnect // IMessage
  170. {
  171. int32 Error = 91;
  172. string Message = 92;
  173. }
  174. message ServerInfoProto
  175. {
  176. int32 Id = 1;
  177. int32 Status = 2;
  178. string ServerName = 3;
  179. int64 OpenServerTime = 4; //毫秒级开服时间戳
  180. }
  181. //ResponseType A2C_GetServerInfos
  182. message C2A_GetServerInfos // IRequest
  183. {
  184. int32 RpcId = 90;
  185. string Token = 1;
  186. int64 AccountId = 2;
  187. }
  188. message A2C_GetServerInfos // IResponse
  189. {
  190. int32 RpcId = 90;
  191. int32 Error = 91;
  192. string Message = 92;
  193. repeated ServerInfoProto ServerInfosList = 1;
  194. int32 RecentId = 2; //最近登录的服务器Id
  195. }
  196. message RoleInfoProto
  197. {
  198. int64 Id = 1;
  199. string Name = 2;
  200. int32 State = 3;
  201. int64 AccountId = 4;
  202. int64 LastLoginTime = 5; //上次登录时间,单位:毫秒
  203. int64 CreateTime = 6; //创建时间,单位:毫秒
  204. int32 ServerId = 7;
  205. }
  206. //ResponseType A2C_CreateRole
  207. message C2A_CreateRole // IRequest
  208. {
  209. int32 RpcId = 90;
  210. string Token = 1;
  211. int64 AccountId = 2;
  212. string Name = 3;
  213. int32 ServerId = 4;
  214. }
  215. message A2C_CreateRole // IResponse
  216. {
  217. int32 RpcId = 90;
  218. int32 Error = 91;
  219. string Message = 92;
  220. RoleInfoProto RoleInfo = 1;
  221. }
  222. //ResponseType A2C_GetRoles
  223. message C2A_GetRoles // IRequest
  224. {
  225. int32 RpcId = 90;
  226. string Token = 1;
  227. int64 AccountId = 2;
  228. int32 ServerId = 3;
  229. }
  230. message A2C_GetRoles // IResponse
  231. {
  232. int32 RpcId = 90;
  233. int32 Error = 91;
  234. string Message = 92;
  235. repeated RoleInfoProto RoleInfos = 1;
  236. }
  237. //ResponseType A2C_DeleteRole
  238. message C2A_DeleteRole // IRequest
  239. {
  240. int32 RpcId = 90;
  241. string Token = 1;
  242. int64 AccountId = 2;
  243. int64 RoleInfoId = 3;
  244. int32 ServerId = 4;
  245. }
  246. message A2C_DeleteRole // IResponse
  247. {
  248. int32 RpcId = 90;
  249. int32 Error = 91;
  250. string Message = 92;
  251. int64 DeleteRoleInfoId = 1;
  252. }
  253. //ResponseType A2C_GetRealmKey
  254. message C2A_GetRealmKey // IRequest
  255. {
  256. int32 RpcId = 90;
  257. string Token = 1;
  258. int32 ServerId = 2;
  259. int64 AccountId = 3;
  260. }
  261. message A2C_GetRealmKey // IResponse
  262. {
  263. int32 RpcId = 90;
  264. int32 Error = 91;
  265. string Message = 92;
  266. string RealmKey = 1;
  267. string RealmAddress = 2;
  268. }
  269. //请求最新的系统公告
  270. //ResponseType A2C_GetLatestNotice
  271. message C2A_GetLatestNotice // IRequest
  272. {
  273. int32 RpcId = 90;
  274. }
  275. message A2C_GetLatestNotice // IResponse
  276. {
  277. int32 RpcId = 90;
  278. int32 Error = 91;
  279. string Message = 92;
  280. int32 NoticeId = 1; //公告id
  281. string Title = 2; //标题
  282. int64 TimeSec = 3; //时间戳,单位秒
  283. string Content = 4; //公告内容
  284. }
  285. //请求随机角色名字
  286. //ResponseType A2C_GetRandomRoleName
  287. message C2A_GetRandomRoleName // IRequest
  288. {
  289. int32 RpcId = 90;
  290. int32 ServerId = 1;
  291. }
  292. message A2C_GetRandomRoleName // IResponse
  293. {
  294. int32 RpcId = 90;
  295. int32 Error = 91;
  296. string Message = 92;
  297. string Name = 1; //随机的角色名
  298. }
  299. //ResponseType R2C_LoginRealm
  300. message C2R_LoginRealm // IRequest
  301. {
  302. int32 RpcId = 90;
  303. int64 AccountId = 1;
  304. string RealmTokenKey = 2;
  305. }
  306. message R2C_LoginRealm // IResponse
  307. {
  308. int32 RpcId = 90;
  309. int32 Error = 91;
  310. string Message = 92;
  311. string GateSessionKey = 1;
  312. string GateAddress = 2;
  313. }
  314. //ResponseType G2C_LoginGate
  315. message C2G_LoginGate // IRequest
  316. {
  317. int32 RpcId = 90;
  318. string Key = 1;
  319. int64 RoleId = 2;
  320. int64 AccountId = 3;
  321. }
  322. message G2C_LoginGate // IResponse
  323. {
  324. int32 RpcId = 90;
  325. int32 Error = 91;
  326. string Message = 92;
  327. int64 PlayerId = 1;
  328. }
  329. //ResponseType G2C_EnterGame
  330. message C2G_EnterGame // IRequest
  331. {
  332. int32 RpcId = 1;
  333. }
  334. message G2C_EnterGame // IResponse
  335. {
  336. int32 RpcId = 90;
  337. int32 Error = 91;
  338. string Message = 92;
  339. //自己的UnitId
  340. int64 MyId = 1; //无用
  341. bool InQueue = 2; //是否需要排队
  342. int32 Count = 3; //排队总人数
  343. int32 Index = 4; //排到第几位
  344. }
  345. message M2C_StartSceneChange // IActorMessage
  346. {
  347. int64 SceneInstanceId = 1;
  348. string SceneName = 2;
  349. }
  350. message UnitInfo
  351. {
  352. int64 UnitId = 1;
  353. int32 Type = 2;
  354. repeated int32 Ks = 3; //数值组件key
  355. repeated int64 Vs = 4; //数值组件值
  356. }
  357. message M2C_CreateMyUnit // IActorMessage
  358. {
  359. UnitInfo Unit = 1;
  360. }
  361. message M2C_NoticeUnitNumeric // IActorMessage
  362. {
  363. int64 UnitId = 1;
  364. int32 NumericType = 2;
  365. int64 NewValue = 3;
  366. }
  367. //ResponseType M2C_TestUnitNumric
  368. message C2M_TestUnitNumric // IActorLocationRequest
  369. {
  370. int32 RpcId = 1;
  371. }
  372. message M2C_TestUnitNumric // IActorLocationResponse
  373. {
  374. int32 RpcId = 90;
  375. int32 Error = 91;
  376. string Message = 92;
  377. }
  378. //ResponseType M2C_AddAttributePoint
  379. message C2M_AddAtributePoint // IActorLocationRequest
  380. {
  381. int32 RpcId = 1;
  382. int32 NumericType = 2;
  383. }
  384. message M2C_AddAttributePoint // IActorLocationResponse
  385. {
  386. int32 RpcId = 90;
  387. int32 Error = 91;
  388. string Message = 92;
  389. }
  390. //物品信息
  391. message ItemInfoProto
  392. {
  393. int32 ConfigId = 1;
  394. int64 Count = 2;
  395. int32 Type = 3;
  396. int32 SubType = 4;
  397. int32 Rarity = 5;
  398. }
  399. message ItemAttributeProto
  400. {
  401. int32 ConfigId = 1;
  402. repeated int32 Ks = 2;
  403. repeated int32 Vs = 3;
  404. }
  405. //ResponseType M2C_GetItemAttributeInfos
  406. message C2M_GetItemAttributeInfos // IActorLocationRequest
  407. {
  408. int32 RpcId = 90;
  409. }
  410. message M2C_GetItemAttributeInfos // IActorLocationResponse
  411. {
  412. int32 RpcId = 90;
  413. int32 Error = 91;
  414. string Message = 92;
  415. repeated ItemAttributeProto ItemAtrributes = 1;
  416. }
  417. message M2C_NoticeUnitItem // IActorMessage
  418. {
  419. ItemInfoProto Item = 1;
  420. }
  421. message M2C_NoticeUnitItemAttribute // IActorMessage
  422. {
  423. int64 UnitId = 1;
  424. int32 ConfigId = 2;
  425. int32 Key = 3; // key = typeAttribute * 10 + typeAction
  426. int32 NewValue = 4;
  427. }
  428. //ResponseType M2C_GM
  429. message C2M_GM // IActorLocationRequest
  430. {
  431. int32 RpcId = 1;
  432. string message = 2;
  433. }
  434. message M2C_GM // IActorLocationResponse
  435. {
  436. int32 RpcId = 90;
  437. int32 Error = 91;
  438. string Message = 92;
  439. }
  440. message SuitInfoProto
  441. {
  442. int32 SuitId = 1;
  443. int32 GuideBoxBonusState = 2;
  444. int32 SyntheticBoxBonusState = 3;
  445. int32 MaintainStep = 4; //养护步骤,0表示未养护
  446. repeated int32 MaintainBonusSteps = 5; //已领取的奖励步骤
  447. int32 MakeNewState = 6; //焕新状态,0表示未焕新
  448. int32 PartsCount = 7; //收集的件数
  449. bool CollectedAll = 8; //是否集齐
  450. int32 BringTogetherRewardStatus = 9; //套装集齐奖励状态: 0未领取 1可领取 2已领取
  451. }
  452. //ResponseType M2C_GetSuitInfos
  453. message C2M_GetSuitInfos // IActorLocationRequest
  454. {
  455. int32 RpcId = 90;
  456. }
  457. message M2C_GetSuitInfos // IActorLocationResponse
  458. {
  459. int32 RpcId = 90;
  460. int32 Error = 91;
  461. string Message = 92;
  462. repeated SuitInfoProto SuitInfos = 1;
  463. }
  464. //ResponseType M2C_MaintainSuit
  465. message C2M_MaintainSuit // IActorLocationRequest
  466. {
  467. int32 RpcId = 90;
  468. int32 SuitId = 1; //套装id
  469. int32 MaintainStep = 2;
  470. }
  471. message M2C_MaintainSuit // IActorLocationResponse
  472. {
  473. int32 RpcId = 90;
  474. int32 Error = 91;
  475. string Message = 92;
  476. int32 MaintainStep = 1;
  477. }
  478. //ResponseType M2C_GetMaintainSuitBonus
  479. message C2M_GetMaintainSuitBonus // IActorLocationRequest
  480. {
  481. int32 RpcId = 90;
  482. int32 SuitId = 1;
  483. int32 MaintainStep = 2;
  484. }
  485. message M2C_GetMaintainSuitBonus // IActorLocationResponse
  486. {
  487. int32 RpcId = 90;
  488. int32 Error = 91;
  489. string Message = 92;
  490. int32 MaintainStep = 1;
  491. }
  492. //ResponseType M2C_MakeNewSuit
  493. message C2M_MakeNewSuit // IActorLocationRequest
  494. {
  495. int32 RpcId = 90;
  496. int32 SuitId = 1;
  497. }
  498. message M2C_MakeNewSuit // IActorLocationResponse
  499. {
  500. int32 RpcId = 90;
  501. int32 Error = 91;
  502. string Message = 92;
  503. int32 MakeNewState = 1;
  504. }
  505. //请求领取图鉴套装奖励
  506. //ResponseType M2C_GetSuitGuideBoxBonus
  507. message C2M_GetSuitGuideBoxBonus // IActorLocationRequest
  508. {
  509. int32 RpcId = 90;
  510. int32 SuitId = 1;
  511. }
  512. message M2C_GetSuitGuideBoxBonus // IActorLocationResponse
  513. {
  514. int32 RpcId = 90;
  515. int32 Error = 91;
  516. string Message = 92;
  517. int32 SuitId = 1;
  518. }
  519. //请求领取合成套装奖励
  520. //ResponseType M2C_GetSuitSyntheticBoxBonus
  521. message C2M_GetSuitSyntheticBoxBonus // IActorLocationRequest
  522. {
  523. int32 RpcId = 90;
  524. int32 SuitId = 1;
  525. }
  526. message M2C_GetSuitSyntheticBoxBonus // IActorLocationResponse
  527. {
  528. int32 RpcId = 90;
  529. int32 Error = 91;
  530. string Message = 92;
  531. int32 SuitId = 1;
  532. }
  533. //请求领取套装集齐奖励
  534. //ResponseType M2C_BringTogetherReward
  535. message C2M_GetBringTogetherReward // IActorLocationRequest
  536. {
  537. int32 RpcId = 90;
  538. int32 SuitId = 1;
  539. }
  540. message M2C_BringTogetherReward // IActorLocationResponse
  541. {
  542. int32 RpcId = 90;
  543. int32 Error = 91;
  544. string Message = 92;
  545. int32 SuitId = 1;
  546. repeated ItemInfoProto RewardList = 2; //获得的东西
  547. }
  548. //推送套装集齐奖励状态
  549. message M2C_PushBringTogetherRewardState // IActorMessage
  550. {
  551. int32 SuitId = 1; // 套装id
  552. int32 BringTogetherRewardStatus = 2; //奖励状态 0不可以领取 1可以领取 2已经领取
  553. }
  554. //请求主线剧情关卡数据
  555. //ResponseType M2C_GetMainStoryInfos
  556. message C2M_GetMainStoryInfos // IActorLocationRequest
  557. {
  558. int32 RpcId = 90;
  559. }
  560. message M2C_GetMainStoryInfos // IActorLocationResponse
  561. {
  562. int32 RpcId = 90;
  563. int32 Error = 91;
  564. string Message = 92;
  565. repeated int32 KsBonusState = 5;
  566. repeated int32 VsBonusState = 6; //v1+v2*10+v3*10*2
  567. }
  568. //推送主线剧情宝箱奖励状态
  569. message M2C_NoticeMainStoryBoxBonusState // IActorMessage
  570. {
  571. int32 ChapterId = 1; // 章节配置Id
  572. int32 BoxStates = 2; //章节宝箱状态 //v1+v2*10+v3*10*2
  573. }
  574. //请求领取主线剧情宝箱奖励
  575. //ResponseType M2C_GetMainStoryBoxBonus
  576. message C2M_GetMainStoryBoxBonus //IActorLocationRequest
  577. {
  578. int32 RpcId = 90;
  579. int32 ChapterId = 1; // 章节配置Id
  580. int32 Index = 2; //宝箱索引
  581. }
  582. message M2C_GetMainStoryBoxBonus //IActorLocationResponse
  583. {
  584. int32 RpcId = 90;
  585. int32 Error = 91;
  586. string Message = 92;
  587. int32 ChapterId = 1; // 章节配置Id
  588. int32 Index = 2; //宝箱索引
  589. int32 BoxStates = 3; //章节宝箱状态 //v1+v2*10+v3*10*2
  590. }
  591. //关卡数据&最高分玩家数据实体
  592. message LevelRoleInfoProto
  593. {
  594. int32 LevelId = 1; //关卡id
  595. string RoleName = 2; //玩家名称
  596. int32 HeadItemId = 3; //头像物品id
  597. int32 HeadBorderItemId = 4; //头像框物品id
  598. }
  599. //请求通用关卡数据
  600. //ResponseType M2C_GetInstanceZonesInfos
  601. message C2M_GetInstanceZonesInfos // IActorLocationRequest
  602. {
  603. int32 RpcId = 90;
  604. }
  605. message M2C_GetInstanceZonesInfos // IActorLocationResponse
  606. {
  607. int32 RpcId = 90;
  608. int32 Error = 91;
  609. string Message = 92;
  610. repeated int32 ksScore = 1; //关卡id
  611. repeated int32 vsScore = 2; //分数
  612. repeated int32 ksStar = 3; //关卡id
  613. repeated int32 vsStar = 4; //星数
  614. repeated int32 ksPass = 7; //章节id
  615. repeated int32 VsPass = 8; //关卡id
  616. }
  617. //请求完成剧情对话关卡
  618. //ResponseType M2C_FinishInstanceZonesDialog
  619. message C2M_FinishInstanceZonesDialog // IActorLocationRequest
  620. {
  621. int32 RpcId = 90;
  622. int32 LevelCfgId = 1; // 关卡配置Id
  623. }
  624. message M2C_FinishInstanceZonesDialog // IActorLocationResponse
  625. {
  626. int32 RpcId = 90;
  627. int32 Error = 91;
  628. string Message = 92;
  629. int32 LevelCfgId = 1; // 关卡配置Id
  630. }
  631. //请求完成战斗关卡
  632. //ResponseType M2C_FinishInstanceZonesFightLevel
  633. message C2M_FinishInstanceZonesFightLevel // IActorLocationRequest
  634. {
  635. int32 RpcId = 90;
  636. int32 LevelCfgId = 1; // 关卡配置Id
  637. int32 Score = 2;
  638. int32 NpcScore = 3;
  639. bool UseRecommend = 4; // 是否使用推荐
  640. }
  641. message M2C_FinishInstanceZonesFightLevel // IActorLocationResponse
  642. {
  643. int32 RpcId = 90;
  644. int32 Error = 91;
  645. string Message = 92;
  646. int32 LevelCfgId = 1; // 关卡配置Id
  647. int32 Score = 2; //本次关卡分数
  648. int32 Star = 3; // 本次挑战星数
  649. bool HasOnceBonus = 4; // 是否有首通奖励
  650. repeated ItemInfoProto RandomBonusList = 6; //奖励
  651. }
  652. //战斗关卡失败时请求更新关卡最高分数
  653. //ResponseType M2C_FinishInstanceZonesFightLevelFail
  654. message C2M_FinishInstanceZonesFightLevelFail // IActorLocationRequest
  655. {
  656. int32 RpcId = 90;
  657. int32 LevelCfgId = 1; // 关卡配置Id
  658. int32 Score = 2;
  659. }
  660. message M2C_FinishInstanceZonesFightLevelFail // IActorLocationResponse
  661. {
  662. int32 RpcId = 90;
  663. int32 Error = 91;
  664. string Message = 92;
  665. int32 LevelCfgId = 1; // 关卡配置Id
  666. int32 Score = 2;
  667. }
  668. //请求快速完成战斗关卡
  669. //ResponseType M2C_FinishInstanceZonesFightQuickly
  670. message C2M_FinishInstanceZonesFightQuickly // IActorLocationRequest
  671. {
  672. int32 RpcId = 90;
  673. int32 LevelCfgId = 1; // 关卡配置Id
  674. int32 Times = 2; //快速完成次数
  675. }
  676. message M2C_FinishInstanceZonesFightQuickly // IActorLocationResponse
  677. {
  678. int32 RpcId = 90;
  679. int32 Error = 91;
  680. string Message = 92;
  681. int32 LevelCfgId = 1; // 关卡配置Id
  682. repeated int32 BonusLengths = 2; //每次奖励长度
  683. repeated ItemInfoProto RandomBonusList = 3; //奖励
  684. }
  685. //请求每日重置
  686. //ResponseType M2C_ResetDailyData
  687. message C2M_ResetDailyData // IActorLocationRequest
  688. {
  689. int32 RpcId = 90;
  690. }
  691. message M2C_ResetDailyData // IActorLocationResponse
  692. {
  693. int32 RpcId = 90;
  694. int32 Error = 91;
  695. string Message = 92;
  696. }
  697. //请求工作室副本数据
  698. //ResponseType M2C_GetStudioInfos
  699. message C2M_GetStudioInfos // IActorLocationRequest
  700. {
  701. int32 RpcId = 90;
  702. }
  703. message M2C_GetStudioInfos //IActorLocationResponse
  704. {
  705. int32 RpcId = 90;
  706. int32 Error = 91;
  707. string Message = 92;
  708. repeated StudioInfoProto infos = 1;
  709. int32 RepairPorcelainTheme = 2; //瓷器修复主题
  710. int32 RepairPorcelainChapterId = 3; //瓷器修复章节Id
  711. }
  712. message StudioInfoProto
  713. {
  714. int32 ChapterId = 1;
  715. int32 ChapterScore = 2; //一章总分(只有查阅建档才有值)
  716. repeated int32 BonusStatusList = 3; //宝箱奖励状态,索引按照配置列表顺序索引,值由ConstBonusStatus定义(只有查阅建档才有值)
  717. }
  718. //请求工作室副本购买次数
  719. //ResponseType M2C_BuyStudioPlayTimes
  720. message C2M_BuyStudioPlayTimes // IActorLocationRequest
  721. {
  722. int32 RpcId = 90;
  723. int32 ChapterId = 1;
  724. int32 BuyType = 2; // 购买类型,0道具,1货币
  725. int32 BuyCount = 3; //购买数量
  726. }
  727. message M2C_BuyStudioPlayTimes // IActorLocationResponse
  728. {
  729. int32 RpcId = 90;
  730. int32 Error = 91;
  731. string Message = 92;
  732. int32 ChapterId = 1;
  733. int32 BuyTimes = 2; //今日累计购买次数
  734. int32 TotalPlayTimes = 3; //可挑战次数
  735. }
  736. //推送工作室副本挑战次数
  737. message M2C_NoticeStudioPlayTimes // IActorMessage
  738. {
  739. int32 ChapterId = 1;
  740. int32 PlayTimes = 2; //已挑战次数
  741. }
  742. //请求商店信息
  743. //ResponseType S2C_RequestShopInfo
  744. message C2S_RequestShopInfo // IActorLocationRequest
  745. {
  746. int32 RpcId = 90;
  747. }
  748. message S2C_RequestShopInfo // IActorLocationResponse
  749. {
  750. int32 RpcId = 90;
  751. int32 Error = 91;
  752. string Message = 92;
  753. repeated int32 ks = 1; //商店购买id
  754. repeated int32 vs = 2; //已购买次数
  755. }
  756. //商店购买
  757. //ResponseType S2C_ShopBuy
  758. message C2S_ShopBuy // IActorLocationRequest
  759. {
  760. int32 RpcId = 90;
  761. int32 BuyId = 1; //购买项在商店里的编号id
  762. int32 Times = 2; //购买次数
  763. }
  764. message S2C_ShopBuy // IActorLocationResponse
  765. {
  766. int32 RpcId = 90;
  767. int32 Error = 91;
  768. string Message = 92;
  769. int32 BuyId = 1; //购买项在商店里的编号id
  770. int32 Times = 2; //购买次数
  771. int32 TotalTimes = 3; //总的购买次数
  772. //以下只有RMB充值才会返回,客户端试用以下参数请求平台充值
  773. string OrderId = 4; //订单号
  774. int64 Price = 5; //价格
  775. }
  776. //角色物品兑换
  777. //ResponseType M2C_ItemExchange
  778. message C2M_ItemExchange // IActorLocationRequest
  779. {
  780. int32 RpcId = 90;
  781. int32 ItemId = 1; //兑换物品id
  782. int32 Times = 2; //兑换次数
  783. }
  784. message M2C_ItemExchange // IActorLocationResponse
  785. {
  786. int32 RpcId = 90;
  787. int32 Error = 91;
  788. string Message = 92;
  789. int32 ItemId = 1;
  790. int32 ExchangedTimes = 2; // 已兑换次数
  791. }
  792. //获取自定义数值
  793. //ResponseType M2C_GetClientValues
  794. message C2M_GetClientValues // IActorLocationRequest
  795. {
  796. int32 RpcId = 90;
  797. }
  798. message M2C_GetClientValues // IActorLocationResponse
  799. {
  800. int32 RpcId = 90;
  801. int32 Error = 91;
  802. string Message = 92;
  803. repeated int32 Ks = 1;
  804. repeated int32 Vs = 2;
  805. }
  806. //设置自定义数值
  807. //ResponseType M2C_SetClientValue
  808. message C2M_SetClientValue // IActorLocationRequest
  809. {
  810. int32 RpcId = 90;
  811. int32 Key = 1;
  812. int32 Value = 2;
  813. }
  814. message M2C_SetClientValue // IActorLocationResponse
  815. {
  816. int32 RpcId = 90;
  817. int32 Error = 91;
  818. string Message = 92;
  819. int32 Key = 1;
  820. int32 Value = 2;
  821. }
  822. //抽奖(摘星)
  823. //ResponseType M2C_DrawLuckyBox
  824. message C2M_DrawLuckyBox // IActorLocationRequest
  825. {
  826. int32 RpcId = 90;
  827. int32 LuckyBoxId = 1; //抽奖宝箱id
  828. int32 Times = 2; //本次抽奖次数
  829. bool Free = 3; //是否免费
  830. int32 ActivityId = 4; //活动id
  831. }
  832. message M2C_DrawLuckyBox // IActorLocationResponse
  833. {
  834. int32 RpcId = 90;
  835. int32 Error = 91;
  836. string Message = 92;
  837. int32 LuckyBoxId = 1; //抽奖宝箱id
  838. int32 Times = 2; //本次抽奖次数
  839. repeated ItemInfoProto bonusList = 3; //奖励列表
  840. int32 ActivityId = 4; //活动id
  841. }
  842. //卡牌
  843. message CardInfoProto
  844. {
  845. int32 CardId = 1; //卡牌id
  846. int32 Lvl = 2; //卡牌等级
  847. int32 Exp = 3; //卡牌经验
  848. int32 Star = 4; //卡牌星数
  849. int32 ResIndex = 5; //卡牌牌面资源索引
  850. repeated int32 KsAttribute = 6; //属性key列表,由ConstItemAttributeType枚举
  851. repeated int32 VsAttribute = 7; //属性value列表
  852. repeated int32 KsSkill = 8; //技能id列表
  853. repeated int32 VsSkill = 9; //技能等级列表
  854. repeated int32 KsStarBonus = 10; //星级奖励列表key:星级
  855. repeated int32 VsStarBonus = 11; //星级奖励列表value:奖励状态由ConstBonusStatus定义
  856. int32 MainScore = 12;
  857. }
  858. //请求卡牌数据
  859. //ResponseType M2C_GetCardInfos
  860. message C2M_GetCardInfos // IActorLocationRequest
  861. {
  862. int32 RpcId = 90;
  863. }
  864. message M2C_GetCardInfos // IActorLocationResponse
  865. {
  866. int32 RpcId = 90;
  867. int32 Error = 91;
  868. string Message = 92;
  869. repeated CardInfoProto CardInfos = 1;
  870. }
  871. //推送新获得的卡牌数据
  872. message M2C_GetNewCard // IActorMessage
  873. {
  874. CardInfoProto CardInfo = 1;
  875. }
  876. //卡牌升级
  877. //ResponseType M2C_UpgradeCardLvl
  878. message C2M_UpgradeCardLvl // IActorLocationRequest
  879. {
  880. int32 RpcId = 90;
  881. int32 CardId = 1;
  882. repeated int32 ItemNums = 2; //升级使用的材料个数列表
  883. }
  884. message M2C_UpgradeCardLvl // IActorLocationResponse
  885. {
  886. int32 RpcId = 90;
  887. int32 Error = 91;
  888. string Message = 92;
  889. int32 CardId = 1;
  890. int32 CardLvl = 2; //使用物品后的等级
  891. int32 CardExp = 3; //使用物品后的经验
  892. repeated int32 KsAttribute = 4; //属性key列表,由ConstItemAttributeType枚举
  893. repeated int32 VsAttribute = 5; //属性value列表
  894. }
  895. //卡牌升星
  896. //ResponseType M2C_UpgradeCardStar
  897. message C2M_UpgradeCardStar // IActorLocationRequest
  898. {
  899. int32 RpcId = 90;
  900. int32 CardId = 1;
  901. bool IsAutoSelect = 2; //是否自动兑换材料
  902. }
  903. message M2C_UpgradeCardStar // IActorLocationResponse
  904. {
  905. int32 RpcId = 90;
  906. int32 Error = 91;
  907. string Message = 92;
  908. int32 CardId = 1;
  909. int32 CardStar = 2; //升完后的卡牌星数
  910. repeated int32 KsAttribute = 3; //属性key列表,由ConstItemAttributeType枚举
  911. repeated int32 VsAttribute = 4; //属性value列表
  912. repeated int32 KsStarBonus = 5; //星级奖励列表key:星级
  913. repeated int32 VsStarBonus = 6; //星级奖励列表value:奖励状态由ConstBonusStatus定义
  914. bool IsAutoSelect = 7; //是否自动兑换材料
  915. }
  916. //卡牌升星保存 IsAutoSelect
  917. //ResponseType M2C_SaveIsAutoSelect
  918. message C2M_SaveIsAutoSelect // IActorLocationRequest
  919. {
  920. int32 RpcId = 90;
  921. bool IsAutoSelect = 1; //是否自动兑换材料
  922. }
  923. message M2C_SaveIsAutoSelect // IActorLocationResponse
  924. {
  925. int32 RpcId = 90;
  926. int32 Error = 91;
  927. string Message = 92;
  928. bool IsAutoSelect = 2; //是否自动兑换材料
  929. }
  930. //领取卡牌星级奖励
  931. //ResponseType S2C_GetCardStarBonus
  932. message C2S_GetCardStarBonus // IActorLocationRequest
  933. {
  934. int32 RpcId = 90;
  935. int32 CardId = 1;
  936. int32 CardStar = 2;
  937. }
  938. message S2C_GetCardStarBonus // IActorLocationResponse
  939. {
  940. int32 RpcId = 90;
  941. int32 Error = 91;
  942. string Message = 92;
  943. int32 CardId = 1;
  944. int32 CardStar = 2;
  945. int32 BonusStatus = 3;
  946. }
  947. //卡牌更换卡面
  948. //ResponseType M2C_ChangeCardRes
  949. message C2M_ChangeCardRes // IActorLocationRequest
  950. {
  951. int32 RpcId = 90;
  952. int32 CardId = 1;
  953. int32 ResIndex = 2; //卡牌牌面资源索引
  954. }
  955. message M2C_ChangeCardRes // IActorLocationResponse
  956. {
  957. int32 RpcId = 90;
  958. int32 Error = 91;
  959. string Message = 92;
  960. }
  961. //卡牌技能升级
  962. //ResponseType M2C_UpgradeCardSkill
  963. message C2M_UpgradeCardSkill // IActorLocationRequest
  964. {
  965. int32 RpcId = 90;
  966. int32 CardId = 1;
  967. int32 SkillId = 2;
  968. int32 CostType = 3; //消耗类型 0:原来的PassivitySkillLvlCfg.materiars消耗材料 1:GeneralMaterialCfg的消耗材料
  969. }
  970. message M2C_UpgradeCardSkill // IActorLocationResponse
  971. {
  972. int32 RpcId = 90;
  973. int32 Error = 91;
  974. string Message = 92;
  975. int32 CardId = 1;
  976. int32 SkillId = 2;
  977. int32 SkillLvl = 3; // 升级后的技能等级
  978. }
  979. //服装分解
  980. //ResponseType M2C_ClothingDecompose
  981. message C2M_ClothingDecompose // IActorLocationRequest
  982. {
  983. int32 RpcId = 90;
  984. repeated int32 itemIds = 1; //物品id列表
  985. repeated int64 itemNums = 2; //物品个数列表
  986. }
  987. message M2C_ClothingDecompose // IActorLocationResponse
  988. {
  989. int32 RpcId = 90;
  990. int32 Error = 91;
  991. string Message = 92;
  992. repeated ItemInfoProto bonusList = 1; //奖励列表
  993. }
  994. //自定义套装
  995. message CustomSuitProto
  996. {
  997. int32 Pos = 1; //位置索引
  998. int32 BgId = 2; //背景id
  999. int32 SuitId = 3; //套装id
  1000. int32 ActionId = 4; //动作id
  1001. repeated int32 EquipIds = 5; //部件id列表
  1002. }
  1003. //ResponseType M2C_SaveCustomSuit
  1004. message C2M_SaveCustomSuit // IActorLocationRequest
  1005. {
  1006. int32 RpcId = 90;
  1007. CustomSuitProto suit = 1;
  1008. }
  1009. message M2C_SaveCustomSuit // IActorLocationResponse
  1010. {
  1011. int32 RpcId = 90;
  1012. int32 Error = 91;
  1013. string Message = 92;
  1014. }
  1015. //套装合成
  1016. //ResponseType M2C_ClothingSynthetic
  1017. message C2M_ClothingSynthetic // IActorLocationRequest
  1018. {
  1019. int32 RpcId = 90;
  1020. int32 ItemId = 1;
  1021. }
  1022. message M2C_ClothingSynthetic // IActorLocationResponse
  1023. {
  1024. int32 RpcId = 90;
  1025. int32 Error = 91;
  1026. string Message = 92;
  1027. int32 ItemId = 1;
  1028. }
  1029. //获取田野调查数据
  1030. //ResponseType M2C_GetFieldInstanceInfos
  1031. message C2M_GetFieldInstanceInfos // IActorLocationRequest
  1032. {
  1033. int32 RpcId = 90;
  1034. }
  1035. message M2C_GetFieldInstanceInfos // IActorLocationResponse
  1036. {
  1037. int32 RpcId = 90;
  1038. int32 Error = 91;
  1039. string Message = 92;
  1040. int32 Theme = 1; //当前主题
  1041. repeated int32 kHighestLvl = 2; //章节id列表
  1042. repeated int32 vHighestLvl = 3; //最高关卡序号记录列表
  1043. int32 BonusWeekly = 4; //每周已领奖励
  1044. int32 BonusMaxLimit = 5; //奖励上限
  1045. repeated int32 kTaskIds = 6; //任务id列表
  1046. repeated int32 vTaskStatus = 7; //任务奖励状态 由ConstBonusStatus定义
  1047. bool HasBonus = 8; //仅在上线时判断是否有奖励未结算
  1048. }
  1049. //请求田野副本结算
  1050. //ResponseType M2C_GetFieldInstanceResult
  1051. message C2M_GetFieldInstanceResult // IActorLocationRequest
  1052. {
  1053. int32 RpcId = 90;
  1054. }
  1055. message M2C_GetFieldInstanceResult // IActorLocationResponse
  1056. {
  1057. int32 RpcId = 90;
  1058. int32 Error = 91;
  1059. string Message = 92;
  1060. int32 ChapterId = 1; //章节id
  1061. int32 PassLvl = 2;//完成关数
  1062. repeated ItemInfoProto BonusList = 3; //奖励列表
  1063. int32 CostNum = 4; //体力消耗
  1064. int32 HighestLvl = 5; //最高关卡记录
  1065. int32 BonusWeekly = 6; //每周已领奖励
  1066. repeated int32 kTaskIds = 7; //任务id列表
  1067. repeated int32 vTaskStatus = 8; //任务奖励状态 由ConstBonusStatus定义
  1068. }
  1069. //请求领取田野任务奖励
  1070. //ResponseType M2C_GetFieldTaskBonus
  1071. message C2M_GetFieldTaskBonus // IActorLocationRequest
  1072. {
  1073. int32 RpcId = 90;
  1074. int32 TaskId = 1; //田野任务Id
  1075. }
  1076. message M2C_GetFieldTaskBonus // IActorLocationResponse
  1077. {
  1078. int32 RpcId = 90;
  1079. int32 Error = 91;
  1080. string Message = 92;
  1081. int32 TaskId = 1; //田野任务Id
  1082. int32 TaskStatus = 2; //任务奖励状态 由ConstBonusStatus定义
  1083. int32 BonusMaxLimit = 3; //奖励上限
  1084. }
  1085. //服务端推送最新田野任务状态
  1086. message S2C_FieldTaskBonus // IActorMessage
  1087. {
  1088. repeated int32 kTaskIds = 1; //任务id列表
  1089. repeated int32 vTaskStatus = 2; //任务奖励状态 由ConstBonusStatus定义
  1090. }
  1091. //任务数据
  1092. message TaskInfoProto
  1093. {
  1094. int32 Id = 1;
  1095. int32 Status = 2; //任务奖励状态 由ConstBonusStatus定义
  1096. int64 Progress = 3; //进度
  1097. int32 FuncType = 4; //任务功能类型
  1098. }
  1099. //成就任务数据
  1100. message AchieveTaskInfoProto
  1101. {
  1102. int32 AchievementType = 1;
  1103. int32 AchievementSubType = 2;
  1104. TaskInfoProto TaskInfo = 3;
  1105. }
  1106. //请求每日任务数据(包括每周任务)
  1107. //ResponseType M2C_GetDailyTaskInfos
  1108. message C2M_GetDailyTaskInfos // IActorLocationRequest
  1109. {
  1110. int32 RpcId = 90;
  1111. }
  1112. message M2C_GetDailyTaskInfos // IActorLocationResponse
  1113. {
  1114. int32 RpcId = 90;
  1115. int32 Error = 91;
  1116. string Message = 92;
  1117. repeated int32 kLivenessBox = 1; //活跃度宝箱id列表
  1118. repeated int32 vLivenessBox = 2; //活跃度宝箱状态 由ConstBonusStatus定义
  1119. }
  1120. //推送活跃度宝箱状态
  1121. message M2C_LivenessBoxChange // IActorMessage
  1122. {
  1123. repeated int32 kLivenessBox = 1; //变化的活跃度宝箱id列表
  1124. repeated int32 vLivenessBox = 2; //活跃度宝箱状态 由ConstBonusStatus定义
  1125. }
  1126. //请求领取活跃度宝箱
  1127. //ResponseType M2C_GetLivenessBox
  1128. message C2M_GetLivenessBox // IActorLocationRequest
  1129. {
  1130. int32 RpcId = 90;
  1131. int32 Id = 1; //活跃度宝箱id
  1132. }
  1133. message M2C_GetLivenessBox // IActorLocationResponse
  1134. {
  1135. int32 RpcId = 90;
  1136. int32 Error = 91;
  1137. string Message = 92;
  1138. int32 Id = 1;
  1139. int32 Status = 2;
  1140. }
  1141. //请求每日签到奖励信息[旧的,客户端对接完新的后将会移除]
  1142. //ResponseType M2C_GetDailySignInBonusInfos
  1143. message C2M_GetDailySignInBonusInfos // IActorLocationRequest
  1144. {
  1145. int32 RpcId = 90;
  1146. }
  1147. message M2C_GetDailySignInBonusInfos // IActorLocationResponse
  1148. {
  1149. int32 RpcId = 90;
  1150. int32 Error = 91;
  1151. string Message = 92;
  1152. int32 CuurentBonusId = 1; //当日奖励id
  1153. int32 BonusStatus = 2; //当日奖励状态
  1154. }
  1155. //请求每日签到奖励信息列表[新的]
  1156. //ResponseType M2C_GetDailySignInBonusInfoList
  1157. message C2M_GetDailySignInBonusInfoList // IActorLocationRequest
  1158. {
  1159. int32 RpcId = 90;
  1160. }
  1161. message M2C_GetDailySignInBonusInfoList // IActorLocationResponse
  1162. {
  1163. int32 RpcId = 90;
  1164. int32 Error = 91;
  1165. string Message = 92;
  1166. repeated int32 KsBonusId = 1; //奖励ids,索引与 VsBonusStatus 的索引对应
  1167. repeated int32 VsBonusStatus = 2; //奖励状态 由枚举 ConstBonusStatus
  1168. }
  1169. //请求领取每日签到奖励
  1170. //ResponseType M2C_GetDailySinInBonus
  1171. message C2M_GetDailySinInBonus // IActorLocationRequest
  1172. {
  1173. int32 RpcId = 90;
  1174. int32 BonusId = 1; //奖励id
  1175. }
  1176. message M2C_GetDailySinInBonus // IActorLocationResponse
  1177. {
  1178. int32 RpcId = 90;
  1179. int32 Error = 91;
  1180. string Message = 92;
  1181. int32 BonusId = 1;
  1182. int32 BonusStatus = 2; //当日奖励状态
  1183. }
  1184. message SystemNoticeProto
  1185. {
  1186. int32 NoticeId = 1; //公告id
  1187. string Title = 2; //标题
  1188. int64 TimeSec = 3; //时间戳,单位秒
  1189. bool ReadStatus = 4; //对应的读取状态,true为已读
  1190. }
  1191. //请求系统公告列表
  1192. //ResponseType M2C_GetSystemNoticeList
  1193. message C2M_GetSystemNoticeList // IActorLocationRequest
  1194. {
  1195. int32 RpcId = 90;
  1196. }
  1197. message M2C_GetSystemNoticeList // IActorLocationResponse
  1198. {
  1199. int32 RpcId = 90;
  1200. int32 Error = 91;
  1201. string Message = 92;
  1202. repeated SystemNoticeProto NoticeList = 1; //公告列表
  1203. }
  1204. //请求系统公告内容
  1205. //ResponseType M2C_GetSystemNotice
  1206. message C2M_GetSystemNotice // IActorLocationRequest
  1207. {
  1208. int32 RpcId = 90;
  1209. int32 NoticeId = 1; //公告id
  1210. }
  1211. message M2C_GetSystemNotice // IActorLocationResponse
  1212. {
  1213. int32 RpcId = 90;
  1214. int32 Error = 91;
  1215. string Message = 92;
  1216. int32 NoticeId = 1; //公告id
  1217. string Content = 2; //公告内容,需要设置邮件读取状态
  1218. }
  1219. //推送系统公告更新
  1220. message M2C_SystemNoticeChanged // IActorMessage
  1221. {
  1222. SystemNoticeProto Notice = 1; //公告
  1223. }
  1224. //推送系统公告移除
  1225. message M2C_SystemNoticeRemoved // IActorMessage
  1226. {
  1227. int32 NoticeId = 1; //公告id
  1228. }
  1229. //邮件==================================================================
  1230. message MailProto
  1231. {
  1232. int64 MailId = 1; //邮件id
  1233. string Tile = 2; //邮件标题
  1234. int64 TimeSec = 3; //邮件时间戳,单位秒
  1235. int32 Status = 4; //邮件状态 0未读, 1已读未领取,2已读已领取
  1236. bool HasItem = 5; //是否有物品
  1237. }
  1238. message MailDetailProto
  1239. {
  1240. string Content = 1; //邮件内容
  1241. repeated ItemInfoProto ItemList = 2; //邮件物品
  1242. }
  1243. //请求邮件数量
  1244. //ResponseType Mail2C_GetMailCount
  1245. message C2Mail_GetMailCount // IActorMailRequest
  1246. {
  1247. int32 RpcId = 90;
  1248. int64 RoleId = 91;
  1249. }
  1250. message Mail2C_GetMailCount // IActorMailResponse
  1251. {
  1252. int32 RpcId = 90;
  1253. int32 Error = 91;
  1254. string Message = 92;
  1255. int32 TotolCount = 1; //邮件总数
  1256. int32 UnreadCount = 2; //未读邮件数量
  1257. }
  1258. //请求邮件标题列表
  1259. //ResponseType Mail2C_GetMailList
  1260. message C2Mail_GetMailList // IActorMailRequest
  1261. {
  1262. int32 RpcId = 90;
  1263. int64 RoleId = 91;
  1264. int32 StartIndex = 1; //起始索引,从0开始
  1265. int32 Count = 2; //个数
  1266. bool NeedSort = 3; //trur表示要重新排序
  1267. }
  1268. message Mail2C_GetMailList // IActorMailResponse
  1269. {
  1270. int32 RpcId = 90;
  1271. int32 Error = 91;
  1272. string Message = 92;
  1273. int32 StartIndex = 1;
  1274. repeated MailProto mailList = 2; //邮件列表
  1275. }
  1276. //请求邮件内容
  1277. //ResponseType Mail2C_GetMailData
  1278. message C2Mail_GetMailData // IActorMailRequest
  1279. {
  1280. int32 RpcId = 90;
  1281. int64 RoleId = 91;
  1282. int64 MailId = 1;
  1283. }
  1284. message Mail2C_GetMailData // IActorMailResponse
  1285. {
  1286. int32 RpcId = 90;
  1287. int32 Error = 91;
  1288. string Message = 92;
  1289. int64 MailId = 1;
  1290. MailDetailProto MailDetail = 2; //邮件内容
  1291. int32 Status = 3;
  1292. int32 UnreadCount = 4; //未读邮件数量
  1293. }
  1294. //请求领取奖励
  1295. //ResponseType M2C_GetMailItems
  1296. message C2M_GetMailItems // IActorLocationRequest
  1297. {
  1298. int32 RpcId = 90;
  1299. int64 MailId = 1;
  1300. }
  1301. message M2C_GetMailItems // IActorLocationResponse
  1302. {
  1303. int32 RpcId = 90;
  1304. int32 Error = 91;
  1305. string Message = 92;
  1306. int64 MailId = 1;
  1307. int32 Status = 2;
  1308. }
  1309. //请求删除邮件
  1310. //ResponseType Mail2C_DeleteMail
  1311. message C2Mail_DeleteMail // IActorMailRequest
  1312. {
  1313. int32 RpcId = 90;
  1314. int64 RoleId = 91;
  1315. int64 MailId = 1;
  1316. }
  1317. message Mail2C_DeleteMail // IActorMailResponse
  1318. {
  1319. int32 RpcId = 90;
  1320. int32 Error = 91;
  1321. string Message = 92;
  1322. int64 MailId = 1;
  1323. int32 TotolCount = 2; //邮件总数
  1324. }
  1325. //请求一键领取奖励
  1326. //ResponseType M2C_GetAllMailItems
  1327. message C2M_GetAllMailItems // IActorLocationRequest
  1328. {
  1329. int32 RpcId = 90;
  1330. }
  1331. message M2C_GetAllMailItems // IActorLocationResponse
  1332. {
  1333. int32 RpcId = 90;
  1334. int32 Error = 91;
  1335. string Message = 92;
  1336. repeated ItemInfoProto ItemList = 1; //所有领取的邮件物品,如果有物品领取客户端需重新请求邮件列表
  1337. int32 UnreadCount = 2; //未读邮件数量
  1338. }
  1339. //请求一键删除邮件
  1340. //ResponseType Mail2C_DeleteAllMails
  1341. message C2Mail_DeleteAllMails // IActorMailRequest
  1342. {
  1343. int32 RpcId = 90;
  1344. int64 RoleId = 91;
  1345. }
  1346. message Mail2C_DeleteAllMails // IActorMailResponse
  1347. {
  1348. int32 RpcId = 90;
  1349. int32 Error = 91;
  1350. string Message = 92;
  1351. int32 DeleteCount = 1; //删除数量,如果大于0,客户端需重新请求邮件列表
  1352. }
  1353. //推送邮件数量变化,增删都是这一条
  1354. message Mail2C_MailCountChanged // IActorMessage
  1355. {
  1356. int32 TotolCount = 1; //邮件总数
  1357. int32 UnreadCount = 2; //未读邮件数量
  1358. }
  1359. //获取物品信息
  1360. //ResponseType M2C_GetItemInfos
  1361. message C2M_GetItemInfos // IActorLocationRequest
  1362. {
  1363. int32 RpcId = 90;
  1364. }
  1365. message M2C_GetItemInfos // IActorLocationResponse
  1366. {
  1367. int32 RpcId = 90;
  1368. int32 Error = 91;
  1369. string Message = 92;
  1370. repeated int32 KsItemExchange = 1; // 物品兑换-物品id
  1371. repeated int32 VsItemExchange = 2; //物品兑换-兑换次数
  1372. repeated ItemInfoProto Items = 3; //物品个数
  1373. repeated CustomSuitProto CustomSuits = 4; //自定义套装
  1374. int32 CustomSuitPos = 5; //自定义套装当前存储位
  1375. repeated int32 NewItems = 6; //新的物品
  1376. repeated int32 KsItemExpire = 7; //物品过期时间-物品id
  1377. repeated int64 VsItemExpire = 8; //物品过期时间-过期时间,单位毫秒
  1378. }
  1379. //个人信息===================================================
  1380. //请求个人信息
  1381. //ResponseType S2C_GetPersonalInfo
  1382. message C2S_GetPersonalInfo // IActorLocationRequest
  1383. {
  1384. int32 RpcId = 90;
  1385. }
  1386. message S2C_GetPersonalInfo // IActorLocationResponse
  1387. {
  1388. int32 RpcId = 90;
  1389. int32 Error = 91;
  1390. string Message = 92;
  1391. string Signature = 1; //个性签名
  1392. repeated int64 PictureIds = 2; //返回最新的公开的相册的列表ids
  1393. int32 HeadItemId = 3; //头像物品id
  1394. int32 HeadBorderItemId = 4; //头像框物品id
  1395. repeated int32 ItemList = 5; //佩戴中的徽章,顺序是客户端保存的顺序
  1396. int32 MyMainBgId = 6; //主界面背景id. ps:大于999999,就是MainBackgroundCfg表的id,不然是ItemCfg表的id.
  1397. int32 AchievementTaskCollect = 7; //成就收集度
  1398. int32 TitleItemId = 8; //称号物品id
  1399. }
  1400. //修改个人签名
  1401. //ResponseType S2C_ModifySignature
  1402. message C2S_ModifySignature // IActorLocationRequest
  1403. {
  1404. int32 RpcId = 90;
  1405. string Signature = 1; //个性签名
  1406. }
  1407. message S2C_ModifySignature // IActorLocationResponse
  1408. {
  1409. int32 RpcId = 90;
  1410. int32 Error = 91;
  1411. string Message = 92;
  1412. string Signature = 1; //个性签名
  1413. }
  1414. //保存佩戴的徽章
  1415. //ResponseType S2C_UpWearBadges
  1416. message C2S_UpWearBadges // IActorLocationRequest
  1417. {
  1418. int32 RpcId = 90;
  1419. repeated int32 ItemList = 1; //徽章
  1420. }
  1421. message S2C_UpWearBadges // IActorLocationResponse
  1422. {
  1423. int32 RpcId = 90;
  1424. int32 Error = 91;
  1425. string Message = 92;
  1426. repeated int32 ItemList = 1; //徽章
  1427. }
  1428. //保存主界面
  1429. //ResponseType S2C_UpMyMainBg
  1430. message C2S_UpMyMainBg // IActorLocationRequest
  1431. {
  1432. int32 RpcId = 90;
  1433. int32 MyMainBgId = 1; //主界面背景id
  1434. }
  1435. message S2C_UpMyMainBg // IActorLocationResponse
  1436. {
  1437. int32 RpcId = 90;
  1438. int32 Error = 91;
  1439. string Message = 92;
  1440. int32 MyMainBgId = 1; //主界面背景id
  1441. }
  1442. //激活码兑换奖励
  1443. //ResponseType S2C_RedeemRewards
  1444. message C2S_RedeemRewards // IActorLocationRequest
  1445. {
  1446. int32 RpcId = 90;
  1447. string ActivationCode = 1; //激活码
  1448. }
  1449. message S2C_RedeemRewards // IActorLocationResponse
  1450. {
  1451. int32 RpcId = 90;
  1452. int32 Error = 91;
  1453. string Message = 92;
  1454. repeated ItemInfoProto ItemList = 1; //兑换奖励物品
  1455. }
  1456. //保存换装是否更换背景
  1457. //ResponseType S2C_SaveChangeGearSwitch
  1458. message C2S_SaveChangeGearSwitch // IActorLocationRequest
  1459. {
  1460. int32 RpcId = 90;
  1461. int32 Switch = 1;
  1462. }
  1463. message S2C_SaveChangeGearSwitch // IActorLocationResponse
  1464. {
  1465. int32 RpcId = 90;
  1466. int32 Error = 91;
  1467. string Message = 92;
  1468. int32 Switch = 1;
  1469. }
  1470. //其他玩家===================================================
  1471. //其他玩家摘要信息
  1472. message OtherRoleInfoProto
  1473. {
  1474. int64 RoleId = 1; //角色编号
  1475. string RoleName = 2; //角色名称
  1476. int32 RoleLvl = 3; //角色等级
  1477. int64 OfflineTimeSec = 4; //离线时间戳,单位秒,0表示在线
  1478. int32 HeadItemId = 5; //头像物品id
  1479. int32 HeadBorderItemId = 6; //头像框物品id
  1480. int32 ServerId = 7;
  1481. int32 PlatFormId = 8;
  1482. int32 ChannelId = 9;
  1483. int64 AccountId = 10;
  1484. string Account = 11;
  1485. string LeagueName = 12; //联盟名称
  1486. repeated int32 ItemList = 13; //佩戴中的徽章,顺序是客户端保存的顺序
  1487. int32 SuitCollect = 14; //套装收集度
  1488. int32 CardCollect = 15; //词牌收集度
  1489. int32 AchievementTaskCollect = 16; //成就收集度
  1490. int64 RoleExp = 17; //角色经验
  1491. int32 TitleItemId = 18; //称号物品id
  1492. }
  1493. //请求其他玩家详细信息
  1494. //ResponseType S2C_GetOtherRoleDetailInfo
  1495. message C2S_GetOtherRoleDetailInfo // IActorOpenRoleInfoRequest
  1496. {
  1497. int32 RpcId = 90;
  1498. int64 RoleId = 1; //自己的角色id,客户端可以不传
  1499. int64 OtherRoleId = 2; //其他玩家的角色id
  1500. }
  1501. message S2C_GetOtherRoleDetailInfo // IActorOpenRoleInfoResponse
  1502. {
  1503. int32 RpcId = 90;
  1504. int32 Error = 91;
  1505. string Message = 92;
  1506. string Signature = 1; //个性签名
  1507. CustomSuitProto CustomSuit = 2; //当前搭配套装
  1508. repeated PictureInfoProto PictureInfoList = 3; //返回最新的公开的相册的列表
  1509. string SuitCollectPer = 4; //套装收集完成百分比: 50%
  1510. OtherRoleInfoProto RoleInfo = 5;
  1511. }
  1512. //请求搜索其他玩家
  1513. //ResponseType S2C_SearchRole
  1514. message C2S_SearchRole // IActorOpenRoleInfoRequest
  1515. {
  1516. int32 RpcId = 90;
  1517. int64 RoleId = 1; //自己的角色id,客户端可以不传
  1518. string RoleName = 2; //角色名称
  1519. }
  1520. message S2C_SearchRole // IActorOpenRoleInfoResponse
  1521. {
  1522. int32 RpcId = 90;
  1523. int32 Error = 91;
  1524. string Message = 92;
  1525. repeated OtherRoleInfoProto RoleList = 1; //角色列表
  1526. }
  1527. //请求推荐好友
  1528. //ResponseType S2C_GetRecommendFriends
  1529. message C2S_GetRecommendFriends // IActorOpenRoleInfoRequest
  1530. {
  1531. int32 RpcId = 90;
  1532. int64 RoleId = 1; //自己的角色id,客户端可以不传
  1533. }
  1534. message S2C_GetRecommendFriends // IActorOpenRoleInfoResponse
  1535. {
  1536. int32 RpcId = 90;
  1537. int32 Error = 91;
  1538. string Message = 92;
  1539. repeated OtherRoleInfoProto RoleList = 1; //角色列表
  1540. }
  1541. //推送其他玩家基础信息变化
  1542. message S2C_NoticeFriendInfo // IActorMessage
  1543. {
  1544. OtherRoleInfoProto RoleInfo = 1;
  1545. }
  1546. //好友==================================================================
  1547. message FriendInfoProto
  1548. {
  1549. OtherRoleInfoProto RoleInfo = 1;
  1550. int32 Type = 2; //好友关系类型,由FriendType枚举
  1551. int32 GiveGiftState = 3; //赠送状态,由ConstGiveGiftStatus枚举
  1552. int32 TakeGiftState = 4; //领取赠送状态,由ConstBonusStatus枚举
  1553. }
  1554. //请求所有好友信息
  1555. //ResponseType S2C_GetAllFriendInfos
  1556. message C2S_GetAllFriendInfos // IActorOpenRoleInfoRequest
  1557. {
  1558. int32 RpcId = 90;
  1559. int64 RoleId = 1; //自己的角色id,客户端可以不传
  1560. }
  1561. message S2C_GetAllFriendInfos // IActorOpenRoleInfoResponse
  1562. {
  1563. int32 RpcId = 90;
  1564. int32 Error = 91;
  1565. string Message = 92;
  1566. repeated FriendInfoProto FriendList = 1; //好友列表
  1567. }
  1568. //申请添加好友
  1569. //ResponseType S2C_RequestApplyForFriend
  1570. message C2S_RequestApplyForFriend // IActorFriendRequest
  1571. {
  1572. int32 RpcId = 90;
  1573. int64 FriendId = 1; //被申请的角色id
  1574. }
  1575. message S2C_RequestApplyForFriend // IActorFriendResponse
  1576. {
  1577. int32 RpcId = 90;
  1578. int32 Error = 91;
  1579. string Message = 92;
  1580. }
  1581. //推送申请添加好友信息
  1582. message S2C_NoticeApplyForFriend // IActorMessage
  1583. {
  1584. FriendInfoProto FriendInfo = 1;
  1585. }
  1586. //同意添加好友
  1587. //ResponseType S2C_AcceptApplyForFriend
  1588. message C2S_AcceptApplyForFriend // IActorFriendRequest
  1589. {
  1590. int32 RpcId = 90;
  1591. int64 FriendId = 1; //发起申请的角色id
  1592. }
  1593. message S2C_AcceptApplyForFriend // IActorFriendResponse
  1594. {
  1595. int32 RpcId = 90;
  1596. int32 Error = 91;
  1597. string Message = 92;
  1598. }
  1599. //拒绝添加好友
  1600. //ResponseType S2C_RefuseApplyForFriend
  1601. message C2S_RefuseApplyForFriend // IActorFriendRequest
  1602. {
  1603. int32 RpcId = 90;
  1604. int64 FriendId = 1; //发起申请的角色id
  1605. }
  1606. message S2C_RefuseApplyForFriend // IActorFriendResponse
  1607. {
  1608. int32 RpcId = 90;
  1609. int32 Error = 91;
  1610. string Message = 92;
  1611. int64 FriendId = 1; //被拒绝的角色id
  1612. }
  1613. //一键同意添加好友
  1614. //ResponseType S2C_AcceptAllApplyForFriend
  1615. message C2S_AcceptAllApplyForFriend // IActorFriendRequest
  1616. {
  1617. int32 RpcId = 90;
  1618. }
  1619. message S2C_AcceptAllApplyForFriend // IActorFriendResponse
  1620. {
  1621. int32 RpcId = 90;
  1622. int32 Error = 91;
  1623. string Message = 92;
  1624. }
  1625. //一键拒绝添加好友
  1626. //ResponseType S2C_RefuseAllApplyForFriend
  1627. message C2S_RefuseAllApplyForFriend // IActorFriendRequest
  1628. {
  1629. int32 RpcId = 90;
  1630. }
  1631. message S2C_RefuseAllApplyForFriend // IActorFriendResponse
  1632. {
  1633. int32 RpcId = 90;
  1634. int32 Error = 91;
  1635. string Message = 92;
  1636. repeated int64 FriendIds = 1; //被拒绝的角色id列表
  1637. }
  1638. //推送新增好友
  1639. message S2C_NoticeAddFriends // IActorMessage
  1640. {
  1641. repeated FriendInfoProto FriendList = 1; //要添加的好友列表
  1642. }
  1643. //请求删除好友
  1644. //ResponseType S2C_RequestDeleteFriend
  1645. message C2S_RequestDeleteFriend // IActorFriendRequest
  1646. {
  1647. int32 RpcId = 90;
  1648. int64 FriendId = 1; //要删除的角色id
  1649. }
  1650. message S2C_RequestDeleteFriend // IActorFriendResponse
  1651. {
  1652. int32 RpcId = 90;
  1653. int32 Error = 91;
  1654. string Message = 92;
  1655. int64 FriendId = 1; //要删除的角色id
  1656. }
  1657. //推送删除好友
  1658. message S2C_NoticeDeleteFriend // IActorMessage
  1659. {
  1660. int64 FriendId = 1; //要删除的角色id
  1661. }
  1662. //赠送
  1663. //ResponseType S2C_GiveGiftToFriend
  1664. message C2S_GiveGiftToFriend // IActorFriendRequest
  1665. {
  1666. int32 RpcId = 90;
  1667. int64 FriendId = 1; //好友id
  1668. }
  1669. message S2C_GiveGiftToFriend // IActorFriendResponse
  1670. {
  1671. int32 RpcId = 90;
  1672. int32 Error = 91;
  1673. string Message = 92;
  1674. int64 FriendId = 1; //好友id
  1675. int32 GiveGiftState = 2; //赠送状态,由ConstGiveGiftStatus枚举
  1676. }
  1677. //一键赠送
  1678. //ResponseType S2C_GiveGiftToAllFriends
  1679. message C2S_GiveGiftToAllFriends // IActorFriendRequest
  1680. {
  1681. int32 RpcId = 90;
  1682. }
  1683. message S2C_GiveGiftToAllFriends // IActorFriendResponse
  1684. {
  1685. int32 RpcId = 90;
  1686. int32 Error = 91;
  1687. string Message = 92;
  1688. repeated int64 FriendIds = 1; //好友id列表
  1689. repeated int32 GiveGiftStates = 2; //赠送状态,由ConstGiveGiftStatus枚举
  1690. }
  1691. //领取并赠送
  1692. //ResponseType S2C_TakeGiftFromFriend
  1693. message C2S_TakeGiftFromFriend // IActorLocationRequest
  1694. {
  1695. int32 RpcId = 90;
  1696. int64 FriendId = 1; //好友id
  1697. }
  1698. message S2C_TakeGiftFromFriend // IActorLocationResponse
  1699. {
  1700. int32 RpcId = 90;
  1701. int32 Error = 91;
  1702. string Message = 92;
  1703. int64 FriendId = 1; //好友id
  1704. int32 GiveGiftState = 2; //赠送状态,由ConstGiveGiftStatus枚举
  1705. int32 TakeGiftState = 3; //领取赠送状态,由ConstBonusStatus枚举
  1706. }
  1707. //一键领取并赠送
  1708. //ResponseType S2C_TakeGiftFromAllFriend
  1709. message C2S_TakeGiftFromAllFriend // IActorLocationRequest
  1710. {
  1711. int32 RpcId = 90;
  1712. }
  1713. message S2C_TakeGiftFromAllFriend // IActorLocationResponse
  1714. {
  1715. int32 RpcId = 90;
  1716. int32 Error = 91;
  1717. string Message = 92;
  1718. repeated int64 FriendIds = 1; //好友id列表
  1719. repeated int32 GiveGiftStates = 2; //赠送状态,由ConstGiveGiftStatus枚举
  1720. repeated int32 TakeGiftStates = 3; //领取赠送状态,由ConstBonusStatus枚举
  1721. }
  1722. //推送领取赠送状态
  1723. message S2C_NoticeTakeGiftStates // IActorMessage
  1724. {
  1725. int64 FriendId = 1; //好友id
  1726. int32 TakeGiftState = 2; //领取赠送状态,由ConstBonusStatus枚举
  1727. }
  1728. //推送好友每日重置
  1729. message S2C_NoticeFriendDailyReset // IActorMessage
  1730. {
  1731. }
  1732. //请求修改角色名
  1733. //ResponseType S2C_ModifyRoleName
  1734. message C2S_ModifyRoleName // IActorLocationRequest
  1735. {
  1736. int32 RpcId = 90;
  1737. string Name = 1;
  1738. }
  1739. message S2C_ModifyRoleName // IActorLocationResponse
  1740. {
  1741. int32 RpcId = 90;
  1742. int32 Error = 91;
  1743. string Message = 92;
  1744. string Name = 1;
  1745. }
  1746. //设置物品已读
  1747. //ResponseType S2C_SetItemRead
  1748. message C2S_SetItemRead // IActorLocationRequest
  1749. {
  1750. int32 RpcId = 90;
  1751. int32 ItemId = 1;
  1752. }
  1753. message S2C_SetItemRead // IActorLocationResponse
  1754. {
  1755. int32 RpcId = 90;
  1756. int32 Error = 91;
  1757. string Message = 92;
  1758. int32 ItemId = 1;
  1759. }
  1760. //请求使用物品
  1761. //ResponseType S2C_UseItem
  1762. message C2S_UseItem // IActorLocationRequest
  1763. {
  1764. int32 RpcId = 90;
  1765. int32 ItemId = 1;
  1766. int64 itemNum = 2;
  1767. }
  1768. message S2C_UseItem // IActorLocationResponse
  1769. {
  1770. int32 RpcId = 90;
  1771. int32 Error = 91;
  1772. string Message = 92;
  1773. int32 ItemId = 1;
  1774. repeated ItemInfoProto GotItemList = 2;
  1775. }
  1776. //请求使用随机礼包物品
  1777. //ResponseType S2C_UseRandomItem
  1778. message C2S_UseRandomItem // IActorLocationRequest
  1779. {
  1780. int32 RpcId = 90;
  1781. int32 ItemId = 1;
  1782. int64 itemNum = 2;
  1783. }
  1784. message S2C_UseRandomItem // IActorLocationResponse
  1785. {
  1786. int32 RpcId = 90;
  1787. int32 Error = 91;
  1788. string Message = 92;
  1789. int32 ItemId = 1;
  1790. repeated ItemInfoProto GotItemList = 2;
  1791. }
  1792. //推送客户端查阅建档宝箱状态
  1793. message S2C_FilingScoreBonusChanged // IActorMessage
  1794. {
  1795. int32 ChapterId = 1;
  1796. int32 ChapterScore = 2; //一章总分
  1797. repeated int32 BonusStatusList = 3; //宝箱奖励状态,索引按照配置列表顺序索引,值由ConstBonusStatus定义
  1798. }
  1799. //领取查阅建档分数宝箱
  1800. //ResponseType S2C_GetFilingScoreBonus
  1801. message C2S_GetFilingScoreBonus // IActorLocationRequest
  1802. {
  1803. int32 RpcId = 90;
  1804. int32 ChapterId = 1;
  1805. }
  1806. message S2C_GetFilingScoreBonus // IActorLocationResponse
  1807. {
  1808. int32 RpcId = 90;
  1809. int32 Error = 91;
  1810. string Message = 92;
  1811. int32 ChapterId = 1;
  1812. repeated int32 BonusIndexList = 2; // 本次领取的宝箱索引列表,用于客户端展示及更改宝箱状态
  1813. }
  1814. //相册========================================
  1815. //照片信息
  1816. message PictureInfoProto
  1817. {
  1818. int64 PictureId = 1; //图片id
  1819. int64 CreationTime = 2; //创建时间
  1820. int64 ToppingTime = 3; //置顶时间
  1821. bool ToppingStatus = 4; //置顶状态
  1822. bool LockingStatus = 5; //锁定状态
  1823. string PictureName = 6; //图片名
  1824. string PictureTempUrl = 7; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
  1825. int32 SourceType = 8; // 图片来源 -- 值由 PictureSourceType 定义
  1826. int32 TravelLocationId = 9; //游历地点id --万水千山
  1827. int32 PositionIndex = 10; //Q版人物位置下标
  1828. int32 TravelSuitResourceIndex = 11; //Q版套装人物资源下标
  1829. int32 TravelSuitId = 12; //出游穿的q版套装id
  1830. }
  1831. //C2S获取玩家所有相册数据协议
  1832. //ResponseType S2C_GetAllAlbumInfo
  1833. message C2S_GetAllAlbumInfo // IActorLocationRequest
  1834. {
  1835. int32 RpcId = 90;
  1836. }
  1837. message S2C_GetAllAlbumInfo // IActorLocationResponse
  1838. {
  1839. int32 RpcId = 90;
  1840. int32 Error = 91;
  1841. string Message = 92;
  1842. repeated PictureInfoProto PictureInfosA = 1; //个人相册列表
  1843. repeated PictureInfoProto PictureInfosB = 2; //万水千山列表
  1844. }
  1845. //C2S获取图片的临时上传地址协议
  1846. //ResponseType S2C_GetTempPictureUrl
  1847. message C2S_GetTempPictureUrl // IActorLocationRequest
  1848. {
  1849. int32 RpcId = 90;
  1850. int32 PictureType = 1; //图片类型jpg,png -- 值由 PictureType 定义
  1851. }
  1852. message S2C_GetTempPictureUrl // IActorLocationResponse
  1853. {
  1854. int32 RpcId = 90;
  1855. int32 Error = 91;
  1856. string Message = 92;
  1857. int64 PictureId = 1; //图片id
  1858. string TempPictureUrl = 2; //图片临时上传url
  1859. }
  1860. //C2S保存图片信息协议
  1861. //ResponseType S2C_AddPicture
  1862. message C2S_AddPicture // IActorLocationRequest
  1863. {
  1864. int32 RpcId = 90;
  1865. int64 PictureId = 1; //图片id
  1866. }
  1867. message S2C_AddPicture // IActorLocationResponse
  1868. {
  1869. int32 RpcId = 90;
  1870. int32 Error = 91;
  1871. string Message = 92;
  1872. PictureInfoProto PictureInfo = 1; //保存成功的图片信息
  1873. }
  1874. //C2S批量删除玩家相册协议
  1875. //ResponseType S2C_RemovedPictures
  1876. message C2S_RemovedPictures // IActorLocationRequest
  1877. {
  1878. int32 RpcId = 90;
  1879. repeated int64 PictureIds = 1; //需要删除的图片ids
  1880. }
  1881. message S2C_RemovedPictures // IActorLocationResponse
  1882. {
  1883. int32 RpcId = 90;
  1884. int32 Error = 91;
  1885. string Message = 92;
  1886. repeated int64 PictureIds = 1;//删除成功的图片ids
  1887. }
  1888. //C2S修改图片锁定状态
  1889. //ResponseType S2C_UpPictureLockingStatus
  1890. message C2S_UpPictureLockingStatus // IActorLocationRequest
  1891. {
  1892. int32 RpcId = 90;
  1893. int64 PictureId = 1;
  1894. bool Status = 2; //图片状态: true锁定 false不锁定
  1895. }
  1896. message S2C_UpPictureLockingStatus // IActorLocationResponse
  1897. {
  1898. int32 RpcId = 90;
  1899. int32 Error = 91;
  1900. string Message = 92;
  1901. int64 PictureId = 1;
  1902. bool Status = 2; //图片状态: true置顶 false不置顶
  1903. }
  1904. //C2S修改图片置顶状态
  1905. //ResponseType S2C_UpPictureToppingStatus
  1906. message C2S_UpPictureToppingStatus // IActorLocationRequest
  1907. {
  1908. int32 RpcId = 90;
  1909. int64 PictureId = 1;
  1910. bool Status = 2; //图片状态: true置顶 false不置顶
  1911. }
  1912. message S2C_UpPictureToppingStatus // IActorLocationResponse
  1913. {
  1914. int32 RpcId = 90;
  1915. int32 Error = 91;
  1916. string Message = 92;
  1917. int64 PictureId = 1;
  1918. bool Status = 2; //图片状态: true置顶 false不置顶
  1919. }
  1920. //千山万水 TravelGuide =================================================
  1921. //游历信息
  1922. message TravelGuideInfoProto
  1923. {
  1924. int32 Status = 1; //状态,0未游历,1游历中,2游历完成 值由 TravelGuideType 定义
  1925. int64 CreationTime = 2; //开始时间
  1926. int32 TravelNeedHour = 3; //需要的时间(小时)
  1927. int32 TravelLocationId = 4; //游历地点id
  1928. int32 TravelCount = 5; //游历地点对应的最新游历次数
  1929. int32 TravelSuitId = 6; //出游穿的q版套装id
  1930. int32 PositionIndex = 7; //Q版人物位置下标
  1931. int32 TravelSuitResourceIndex = 8; //Q版套装人物资源下标
  1932. repeated ItemInfoProto RewardItem = 9; //获得的物品
  1933. int64 EndTime = 10; //游历结束时间
  1934. }
  1935. //C2S游历开始协议
  1936. //ResponseType S2C_TravelGuideGo
  1937. message C2S_TravelGuideGo // IActorLocationRequest
  1938. {
  1939. int32 RpcId = 90;
  1940. repeated int32 TravelSuitIds = 1; //携带的Q版服装ids,前端推送2套客户选的,后端自己读取一套默认的
  1941. }
  1942. message S2C_TravelGuideGo // IActorLocationResponse
  1943. {
  1944. int32 RpcId = 90;
  1945. int32 Error = 91;
  1946. string Message = 92;
  1947. TravelGuideInfoProto TravelGuideInfo = 1;
  1948. }
  1949. //C2S获取游历数据协议
  1950. //ResponseType S2C_GetTravelGuideData
  1951. message C2S_GetTravelGuideData // IActorLocationRequest
  1952. {
  1953. int32 RpcId = 90;
  1954. }
  1955. message S2C_GetTravelGuideData // IActorLocationResponse
  1956. {
  1957. int32 RpcId = 90;
  1958. int32 Error = 91;
  1959. string Message = 92;
  1960. TravelGuideInfoProto TravelGuideInfo = 1;
  1961. }
  1962. //C2S领取游历奖励(明信片信息,后端在这个协议里进行添加到了相册)
  1963. //ResponseType S2C_ReceiveTravelGuideReward
  1964. message C2S_ReceiveTravelGuideReward // IActorLocationRequest
  1965. {
  1966. int32 RpcId = 90;
  1967. }
  1968. message S2C_ReceiveTravelGuideReward // IActorLocationResponse
  1969. {
  1970. int32 RpcId = 90;
  1971. int32 Error = 91;
  1972. string Message = 92;
  1973. PictureInfoProto PictureInfo = 1; //图片信息
  1974. }
  1975. //C2S获取千山万水游历记录的协议
  1976. //ResponseType S2C_GetTravelGuideRecordAll
  1977. message C2S_GetTravelGuideRecordAll // IActorLocationRequest
  1978. {
  1979. int32 RpcId = 90;
  1980. }
  1981. message S2C_GetTravelGuideRecordAll // IActorLocationResponse
  1982. {
  1983. int32 RpcId = 90;
  1984. int32 Error = 91;
  1985. string Message = 92;
  1986. repeated int32 TglLocationRecordList = 1; //地点游历次数,数据顺序是配表的顺序
  1987. repeated int32 TglAreaRecordList = 2; //区域奖励状态,数据顺序是配表的顺序 -- 奖励状态由枚举 ConstBonusStatus
  1988. }
  1989. //C2S领取图鉴千山万水区域奖励协议
  1990. //ResponseType S2C_ReceiveTravelAreaReward
  1991. message C2S_ReceiveTravelAreaReward // IActorLocationRequest
  1992. {
  1993. int32 RpcId = 90;
  1994. int32 AreaId = 1;
  1995. }
  1996. message S2C_ReceiveTravelAreaReward // IActorLocationResponse
  1997. {
  1998. int32 RpcId = 90;
  1999. int32 Error = 91;
  2000. string Message = 92;
  2001. repeated ItemInfoProto RewardItem = 1; //获得的物品
  2002. }
  2003. //千山万水加速
  2004. //ResponseType S2C_SpeedUpTravelGuide
  2005. message C2S_SpeedUpTravelGuide // IActorLocationRequest
  2006. {
  2007. int32 RpcId = 90;
  2008. int32 SpeedUpType = 1; //加速类型: 1.立即完成 2.加速一次
  2009. repeated ItemInfoProto UseItem = 2; //消耗物品
  2010. }
  2011. message S2C_SpeedUpTravelGuide // IActorLocationResponse
  2012. {
  2013. int32 RpcId = 90;
  2014. int32 Error = 91;
  2015. string Message = 92;
  2016. TravelGuideInfoProto TravelGuideInfo = 1;
  2017. }
  2018. //画廊 =========================================================================
  2019. //画廊作品
  2020. message GalleryWorksInfoProto
  2021. {
  2022. int64 WorksId = 1; //作品
  2023. int64 AuthorId = 2; //作者id
  2024. string AuthorName = 3; //作者名字
  2025. int64 BelikedCount = 4; //被点赞次数
  2026. int64 BeCollectedCount = 5; //被收藏次数
  2027. bool LikeOrNot = 6; //是否点赞
  2028. bool CollectOrNot = 7; //是否收藏
  2029. int64 CreateTime = 8; //创建时间,单位:毫秒
  2030. int64 ThemeOrder = 9; //主题期数
  2031. int32 ThemeId = 10; //主题配置id
  2032. string PictureTempUrl = 11; //临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
  2033. }
  2034. //请求画廊主题
  2035. //ResponseType S2C_GetGalleryTheme
  2036. message C2S_GetGalleryTheme // IActorGalleryRequest
  2037. {
  2038. int32 RpcId = 90;
  2039. }
  2040. message S2C_GetGalleryTheme // IActorGalleryResponse
  2041. {
  2042. int32 RpcId = 90;
  2043. int32 Error = 91;
  2044. string Message = 92;
  2045. int64 ThemeOrder = 1; //主题期数
  2046. int64 ThemeConfigId = 2; //主题配置id
  2047. int64 MyWorksCountOfTheme = 3; //本期主题我的作品数
  2048. bool HasBonus = 4; // 是否有排行榜奖励需要领取
  2049. }
  2050. //请求画廊列表
  2051. //ResponseType S2C_GetGalleryList
  2052. message C2S_GetGalleryList // IActorGalleryRequest
  2053. {
  2054. int32 RpcId = 90;
  2055. int32 SortType = 1; //类型,由GallerySortType定义
  2056. int32 StartIndex = 2; //起始索引,从0开始
  2057. int32 Count = 3; //个数
  2058. }
  2059. message S2C_GetGalleryList // IActorGalleryResponse
  2060. {
  2061. int32 RpcId = 90;
  2062. int32 Error = 91;
  2063. string Message = 92;
  2064. int32 SortType = 1; //排序类型,由GallerySortType定义
  2065. int32 StartIndex = 2; //起始索引,从0开始
  2066. repeated GalleryWorksInfoProto WorksList = 3; //作品列表
  2067. }
  2068. //请求投稿画廊作品
  2069. //ResponseType S2C_RequestUpLoadGalleryWorks
  2070. message C2S_RequestUpLoadGalleryWorks // IActorGalleryRequest
  2071. {
  2072. int32 RpcId = 90;
  2073. }
  2074. message S2C_RequestUpLoadGalleryWorks // IActorGalleryResponse
  2075. {
  2076. int32 RpcId = 90;
  2077. int32 Error = 91;
  2078. string Message = 92;
  2079. int64 WorksId = 1;
  2080. string TempPictureUrl = 2; //图片临时上传url
  2081. }
  2082. //通知服务端上传成功
  2083. //ResponseType S2C_NoticeGalleryWorksUploaded
  2084. message C2S_NoticeGalleryWorksUploaded // IActorGalleryRequest
  2085. {
  2086. int32 RpcId = 90;
  2087. int64 WorksId = 1;
  2088. }
  2089. message S2C_NoticeGalleryWorksUploaded // IActorGalleryResponse
  2090. {
  2091. int32 RpcId = 90;
  2092. int32 Error = 91;
  2093. string Message = 92;
  2094. int64 MyWorksCountOfTheme = 1; //本期主题我的作品数
  2095. }
  2096. //删除我的作品
  2097. //ResponseType S2C_DeleteMyWorks
  2098. message C2S_DeleteMyWorks // IActorGalleryRequest
  2099. {
  2100. int32 RpcId = 90;
  2101. int64 WorksId = 1;
  2102. }
  2103. message S2C_DeleteMyWorks // IActorGalleryResponse
  2104. {
  2105. int32 RpcId = 90;
  2106. int32 Error = 91;
  2107. string Message = 92;
  2108. int64 WorksId = 1;
  2109. int64 MyWorksCountOfTheme = 2; //本期主题我的作品数
  2110. }
  2111. //收藏指定画廊作品
  2112. //ResponseType S2C_CollecteGalleryWorks
  2113. message C2S_CollecteGalleryWorks // IActorGalleryRequest
  2114. {
  2115. int32 RpcId = 90;
  2116. int64 WorksId = 1;
  2117. }
  2118. message S2C_CollecteGalleryWorks // IActorGalleryResponse
  2119. {
  2120. int32 RpcId = 90;
  2121. int32 Error = 91;
  2122. string Message = 92;
  2123. int64 WorksId = 1;
  2124. int64 BeCollectedCount = 2; //被收藏次数,需要自行修改被收藏状态
  2125. }
  2126. //取消收藏指定画廊作品
  2127. //ResponseType S2C_CancelCollecteGalleryWorks
  2128. message C2S_CancelCollecteGalleryWorks // IActorGalleryRequest
  2129. {
  2130. int32 RpcId = 90;
  2131. int64 WorksId = 1;
  2132. }
  2133. message S2C_CancelCollecteGalleryWorks // IActorGalleryResponse
  2134. {
  2135. int32 RpcId = 90;
  2136. int32 Error = 91;
  2137. string Message = 92;
  2138. int64 WorksId = 1;
  2139. int64 BeCollectedCount = 2; //被收藏次数,需要自行修改被收藏状态
  2140. }
  2141. //点赞指定画廊作品
  2142. //ResponseType S2C_LikeGalleryWorks
  2143. message C2S_LikeGalleryWorks // IActorLocationRequest
  2144. {
  2145. int32 RpcId = 90;
  2146. int64 WorksId = 1;
  2147. }
  2148. message S2C_LikeGalleryWorks // IActorLocationResponse
  2149. {
  2150. int32 RpcId = 90;
  2151. int32 Error = 91;
  2152. string Message = 92;
  2153. int64 WorksId = 1;
  2154. int64 BelikedCount = 2; //被点赞次数,需要自行修改被点赞状态
  2155. }
  2156. //获取画廊作品排行榜
  2157. //ResponseType S2C_GetGalleryWorksRankList
  2158. message C2S_GetGalleryWorksRankList // IActorGalleryRequest
  2159. {
  2160. int32 RpcId = 90;
  2161. }
  2162. message S2C_GetGalleryWorksRankList // IActorGalleryResponse
  2163. {
  2164. int32 RpcId = 90;
  2165. int32 Error = 91;
  2166. string Message = 92;
  2167. int64 MyRank = 1; //我的最高排名
  2168. repeated GalleryWorksInfoProto RankList = 2; //作品列表
  2169. }
  2170. //领取排行榜奖励
  2171. //ResponseType S2C_GetGalleryRankBonus
  2172. message C2S_GetGalleryRankBonus // IActorLocationRequest
  2173. {
  2174. int32 RpcId = 90;
  2175. }
  2176. message S2C_GetGalleryRankBonus // IActorLocationResponse
  2177. {
  2178. int32 RpcId = 90;
  2179. int32 Error = 91;
  2180. string Message = 92;
  2181. repeated int32 MyWorksRanks = 1; //我的作品排名列表
  2182. }
  2183. //------------------公开的相册协议
  2184. //保存图片到,公开的相册
  2185. //ResponseType S2C_AddOpenAlbumInfo
  2186. message C2S_AddOpenAlbumInfo // IActorLocationRequest
  2187. {
  2188. int32 RpcId = 90;
  2189. repeated int64 PictureIds = 1; //图片ids,索引即位置,某个位置为null,就传0
  2190. }
  2191. message S2C_AddOpenAlbumInfo // IActorLocationResponse
  2192. {
  2193. int32 RpcId = 90;
  2194. int32 Error = 91;
  2195. string Message = 92;
  2196. }
  2197. //修改头像
  2198. //ResponseType S2C_AuHead
  2199. message C2S_AuHead // IActorLocationRequest
  2200. {
  2201. int32 RpcId = 90;
  2202. int32 HeadItemId = 1; //头像物品id
  2203. }
  2204. message S2C_AuHead // IActorLocationResponse
  2205. {
  2206. int32 RpcId = 90;
  2207. int32 Error = 91;
  2208. string Message = 92;
  2209. int32 HeadItemId = 1;
  2210. }
  2211. //修改头像框
  2212. //ResponseType S2C_AuHeadBorder
  2213. message C2S_AuHeadBorder // IActorLocationRequest
  2214. {
  2215. int32 RpcId = 90;
  2216. int32 HeadBorderItemId = 1; //头像框物品id
  2217. }
  2218. message S2C_AuHeadBorder // IActorLocationResponse
  2219. {
  2220. int32 RpcId = 90;
  2221. int32 Error = 91;
  2222. string Message = 92;
  2223. int32 HeadBorderItemId = 1;
  2224. }
  2225. //竞技场 =========================================================================
  2226. //获取竞技场信息
  2227. //ResponseType S2C_GetArenaInfos
  2228. message C2S_GetArenaInfos // IActorArenaRequest
  2229. {
  2230. int32 RpcId = 90;
  2231. int64 RoleId = 91;
  2232. }
  2233. message S2C_GetArenaInfos // IActorArenaResponse
  2234. {
  2235. int32 RpcId = 90;
  2236. int32 Error = 91;
  2237. string Message = 92;
  2238. repeated int32 ThemeList = 1; //本周主题列表
  2239. string Tag = 2; //本周标签
  2240. int32 SeasonId = 3; // 赛季id
  2241. int32 Grade = 4; //本赛季段位
  2242. int32 RankInGrade = 5; //本赛季段位内排名
  2243. int32 HighestGradeOfSeason = 6; //本赛季最高段位
  2244. int32 HighestRankInGradeOfSeason = 7; //本赛最高季段位内排名
  2245. int64 LastFightTime = 8;//上次挑战时间 为0时是本周还没打过
  2246. repeated ArenaDressupProto DressupList = 9; //搭配列表
  2247. repeated ArenaTargetProto targets = 10; //对手
  2248. }
  2249. //通知玩家段位发生变化
  2250. message SC_RankChange // IActorMessage
  2251. {
  2252. int32 Grade = 1; //本赛季段位
  2253. int32 RankInGrade = 2; //本赛季段位内排名
  2254. }
  2255. //刷新竞争对手
  2256. //ResponseType S2C_RefreshArenaTargets
  2257. message C2S_RefreshArenaTargets // IActorLocationRequest
  2258. {
  2259. int32 RpcId = 90;
  2260. }
  2261. message S2C_RefreshArenaTargets // IActorLocationResponse
  2262. {
  2263. int32 RpcId = 90;
  2264. int32 Error = 91;
  2265. string Message = 92;
  2266. repeated ArenaTargetProto targets = 1; //对手
  2267. }
  2268. //更换搭配
  2269. //ResponseType S2C_ChangeArenaDressup
  2270. message C2S_ChangeArenaDressup // IActorArenaRequest
  2271. {
  2272. int32 RpcId = 90;
  2273. int64 RoleId = 91;
  2274. int32 Index = 1;//搭配的
  2275. int32 CardId = 2; //卡牌id
  2276. repeated int32 EquipIds = 3; //换装id列表
  2277. repeated int64 SelfFightPower = 4;//自己 搭配战力,卓越点击战力,卡牌战力
  2278. }
  2279. message S2C_ChangeArenaDressup // IActorArenaResponse
  2280. {
  2281. int32 RpcId = 90;
  2282. int32 Error = 91;
  2283. string Message = 92;
  2284. }
  2285. //获取某个玩家最新挑战分
  2286. //ResponseType S2C_GetTargetNewFightPower
  2287. message C2S_GetTargetNewFightPower // IActorArenaRequest
  2288. {
  2289. int32 RpcId = 90;
  2290. int64 RoleId = 91; //玩家自己的RoleId
  2291. int64 TargetRoleId = 1; //对手RoleId
  2292. }
  2293. message S2C_GetTargetNewFightPower // IActorArenaResponse
  2294. {
  2295. int32 RpcId = 90;
  2296. int32 Error = 91;
  2297. string Message = 92;
  2298. repeated int64 TargetFightPower = 1;
  2299. int64 TargetRoleId = 2;
  2300. }
  2301. //购买挑战次数
  2302. //ResponseType S2C_BuyArenaFightTimes
  2303. message C2S_BuyArenaFightTimes // IActorLocationRequest
  2304. {
  2305. int32 RpcId = 90;
  2306. }
  2307. message S2C_BuyArenaFightTimes // IActorLocationResponse
  2308. {
  2309. int32 RpcId = 90;
  2310. int32 Error = 91;
  2311. string Message = 92;
  2312. }
  2313. //获取对手套装属性
  2314. //ResponseType S2C_ArenaFightAttr
  2315. message C2S_ArenaFightAttr // IActorArenaRequest
  2316. {
  2317. int32 RpcId = 90;
  2318. int64 RoleId = 91;
  2319. int64 TargetRoleId = 1;
  2320. }
  2321. message S2C_ArenaFightAttr // IActorArenaResponse
  2322. {
  2323. int32 RpcId = 90;
  2324. int32 Error = 91;
  2325. string Message = 92;
  2326. repeated ArenaDressupAttrProto data = 1;
  2327. repeated ArenaDressupProto DressupList = 2; //搭配列表
  2328. repeated SkillAttrProto SkillAttrs = 3; //技能属性
  2329. }
  2330. //技能属性
  2331. message SkillAttrProto
  2332. {
  2333. int32 Score = 1;
  2334. int64 Value = 2;
  2335. }
  2336. //竞技场的一组套装属性
  2337. message ArenaDressupAttrProto
  2338. {
  2339. int32 CardId = 1;
  2340. int32 CardScore = 2;
  2341. repeated int32 SkillId = 3;
  2342. repeated int32 SkillLevel = 4;
  2343. repeated int32 SuitScore = 5;
  2344. }
  2345. //客户端发送到挑战结果
  2346. //ResponseType S2C_ArenaFight
  2347. message C2S_ArenaFight // IActorArenaRequest
  2348. {
  2349. int32 RpcId = 90;
  2350. int64 RoleId = 91;
  2351. int32 Grade = 1; //挑战的阶级
  2352. int32 RankInGrade = 2; //挑战的排名
  2353. int32 Type = 3; //类型,由FightTargetType定义
  2354. int64 TargetRoleId = 4; //对手角色id 挑战的是玩家时候需要传
  2355. bool IsWin = 5; //是否胜利
  2356. repeated int64 SelfFightPower = 6;//自己 搭配战力,卓越点击战力,卡牌战力
  2357. repeated int64 TargetFightPower = 7;// 对手 搭配战力,卓越点击战力,卡牌战力
  2358. repeated int64 SelfRandScore = 8; //自己 3轮积分
  2359. repeated int64 TargetRandScore = 9;//对手 3轮积分
  2360. }
  2361. message S2C_ArenaFight // IActorArenaResponse
  2362. {
  2363. int32 RpcId = 90;
  2364. int32 Error = 91; //Error不为0时, 要提示玩家挑战玩家排行已改变
  2365. string Message = 92;
  2366. int32 Grade = 1; //本赛季段位
  2367. int32 RankInGrade = 2; //本赛季段位内排名
  2368. repeated ArenaTargetProto targets = 3; // 返回新的列表
  2369. int32 RewardId = 4; //首次晋升奖励id 为0时不是首次晋升
  2370. bool isUpGrade = 5;//是否晋升
  2371. int64 LastFightTime = 6;//本次挑战时间
  2372. repeated ItemInfoProto rewards = 7;//结算奖励
  2373. repeated int32 RewardStatusVs = 8; //段位id
  2374. repeated int32 RewardStatusKs = 9; //奖励状态
  2375. }
  2376. //获取排行榜
  2377. //ResponseType S2C_ArenaRank
  2378. message C2S_ArenaRank // IActorArenaRequest
  2379. {
  2380. int32 RpcId = 90;
  2381. int64 RoleId = 91;
  2382. int32 RankType = 1; //排行类型 ArenaRankType
  2383. int32 StartIndex = 2; //获取排行开始值 从第一名开始
  2384. int32 EndIndex = 3; //获取排行结束值
  2385. }
  2386. message S2C_ArenaRank // IActorArenaResponse
  2387. {
  2388. int32 RpcId = 90;
  2389. int32 Error = 91;
  2390. string Message = 92;
  2391. ArenaTargetProto self = 1; //自己的排行信息
  2392. repeated ArenaTargetProto ranks = 2; //排行榜其他人信息
  2393. }
  2394. //获取竞技场历史记录
  2395. //ResponseType S2C_ArenaHistory
  2396. message C2S_ArenaHistory // IActorArenaRequest
  2397. {
  2398. int32 RpcId = 90;
  2399. int64 RoleId = 91;
  2400. }
  2401. message S2C_ArenaHistory // IActorArenaResponse
  2402. {
  2403. int32 RpcId = 90;
  2404. int32 Error = 91;
  2405. string Message = 92;
  2406. repeated ArenaHistoryProto history = 1; // 竞技场历史记录
  2407. }
  2408. //通知玩家竞技场历史记录发生添加
  2409. message SC_ArenaHistoryAdd // IActorMessage
  2410. {
  2411. ArenaHistoryProto history = 1;
  2412. }
  2413. //竞技场周清理
  2414. message SC_ArenaWeekClear // IActorMessage
  2415. {
  2416. string Tag = 1;
  2417. repeated int32 Themes = 2;
  2418. }
  2419. //赛季结束
  2420. message SC_ArenaSeasonEnd // IActorMessage
  2421. {
  2422. int32 seasonId = 1; //下个赛季的id
  2423. }
  2424. //竞技场历史记录
  2425. message ArenaHistoryProto
  2426. {
  2427. bool IsWin = 1; //是否胜利
  2428. bool IsChallenge = 2; //是否挑战
  2429. int64 FightTime = 3;//战斗时间
  2430. int32 GradeChangeType = 4;//是否晋级 ArenaGradeChangeType
  2431. int32 Grade = 5;//自己战斗后段位
  2432. int32 Rank = 6;//自己战斗后排行
  2433. repeated int64 SelfFightPower = 7;//自己 搭配战力,卓越点击战力,卡牌战力
  2434. ArenaTargetProto target = 8; //对手信息
  2435. repeated int64 SelfRandScore = 9; //自己 3轮积分
  2436. repeated int64 TargetRandScore = 10;//对手 3轮积分
  2437. }
  2438. //竞技场的一组搭配
  2439. message ArenaDressupProto
  2440. {
  2441. int32 CardId = 1; //卡牌id
  2442. repeated int32 EquipIds = 2; //换装id列表
  2443. }
  2444. //竞技场选手
  2445. message ArenaTargetProto
  2446. {
  2447. int32 Grade = 1; //本赛季段位
  2448. int32 RankInGrade = 2; //本赛季段位内排名
  2449. int32 Type = 3; //类型,由FightTargetType定义
  2450. OtherRoleInfoProto RoleInfo = 4; //玩家数据
  2451. repeated ArenaDressupProto PlayerDressupList = 5; //搭配列表
  2452. ArenaRobotProto RobotDressupInfo = 6; //机器人数据
  2453. repeated int64 FightPower = 7; //搭配战力,卓越点击战力,卡牌战力
  2454. }
  2455. //竞技场机器人
  2456. message ArenaRobotProto
  2457. {
  2458. int32 RobotId = 1; //机器人编号
  2459. repeated int32 Randoms = 2; //属性系数
  2460. repeated int32 CardIdList = 3; //对应3套搭配的卡佩id列表
  2461. repeated int32 SuitList = 4; //对应3套搭配的套装id列表
  2462. string Name = 5;//机器人名字
  2463. string RobotHead = 6; //机器人头像
  2464. }
  2465. //联盟 =========================================================================
  2466. // 获取军团信息
  2467. //ResponseType S2C_GetLeagueInfo
  2468. message C2S_GetLeagueInfo // IActorLeagueRequest
  2469. {
  2470. int32 RpcId = 90;
  2471. int64 RoleId = 91;
  2472. }
  2473. message S2C_GetLeagueInfo // IActorLeagueResponse
  2474. {
  2475. int32 RpcId = 90;
  2476. int32 Error = 91;
  2477. string Message = 92;
  2478. int32 Type = 1;// 1:已经加入军团 2:未加入军团
  2479. LeagueDetailInfoProto LeagueDetailInfo = 2;//自己有军团时有值
  2480. repeated LeagueListInfoProto list = 4; //军团推荐列表
  2481. }
  2482. // 搜索军团信息
  2483. //ResponseType S2C_SearchLeagueInfo
  2484. message C2S_SearchLeagueInfo // IActorLeagueRequest
  2485. {
  2486. int32 RpcId = 90;
  2487. int64 RoleId = 91;
  2488. string Name = 1;
  2489. }
  2490. message S2C_SearchLeagueInfo // IActorLeagueResponse
  2491. {
  2492. int32 RpcId = 90;
  2493. int32 Error = 91;
  2494. string Message = 92;
  2495. repeated LeagueListInfoProto list = 4;
  2496. }
  2497. //创建联盟
  2498. //ResponseType S2C_CreateLeague
  2499. message C2S_CreateLeague // IActorLocationRequest
  2500. {
  2501. int32 RpcId = 90;
  2502. string Name = 1;
  2503. string IconName = 2;
  2504. }
  2505. message S2C_CreateLeague // IActorLocationResponse
  2506. {
  2507. int32 RpcId = 90;
  2508. int32 Error = 91;
  2509. string Message = 92;
  2510. LeagueDetailInfoProto LeagueDetailInfo = 1;//军团信息
  2511. }
  2512. //申请加入联盟
  2513. //ResponseType S2C_ApplyJoinLeague
  2514. message C2S_ApplyJoinLeague // IActorLeagueRequest
  2515. {
  2516. int32 RpcId = 90;
  2517. int64 RoleId = 91;
  2518. int64 LeagueId = 1; //联盟id
  2519. }
  2520. message S2C_ApplyJoinLeague // IActorLeagueResponse
  2521. {
  2522. int32 RpcId = 90;
  2523. int32 Error = 91;
  2524. string Message = 92;
  2525. int32 Type = 1; //1等待审核 2加入成功
  2526. LeagueDetailInfoProto LeagueDetailInfo = 2;//加入成功直接返回军团信息
  2527. }
  2528. //通知有人申请加入联盟
  2529. message L2C_NoticeApplyLeague // IActorMessage
  2530. {
  2531. int64 LeagueId = 1; //联盟id
  2532. OtherRoleInfoProto RoleInfo = 2;// 玩家摘要数据
  2533. }
  2534. //获取申请加入联盟列表
  2535. //ResponseType S2C_GetApplyJoinLeagueList
  2536. message C2S_GetApplyJoinLeagueList // IActorLeagueRequest
  2537. {
  2538. int32 RpcId = 90;
  2539. int64 RoleId = 91;
  2540. }
  2541. message S2C_GetApplyJoinLeagueList // IActorLeagueResponse
  2542. {
  2543. int32 RpcId = 90;
  2544. int32 Error = 91;
  2545. string Message = 92;
  2546. repeated OtherRoleInfoProto RoleInfo = 2;// 玩家摘要数据
  2547. }
  2548. //审核是否加入
  2549. //ResponseType S2C_AuditJoinLeague
  2550. message C2S_AuditJoinLeague // IActorLeagueRequest
  2551. {
  2552. int32 RpcId = 90;
  2553. int64 RoleId = 91;
  2554. int64 TargetRoleId = 1;
  2555. bool IsAgreed = 2; //是否同意
  2556. }
  2557. message S2C_AuditJoinLeague // IActorLeagueResponse
  2558. {
  2559. int32 RpcId = 90;
  2560. int32 Error = 91;
  2561. string Message = 92;
  2562. }
  2563. //通知有人加入了联盟
  2564. message L2C_NoticeJoinLeague // IActorMessage
  2565. {
  2566. int64 LeagueId = 1; //联盟id
  2567. LeagueMemberDetailInfoProto RoleInfo = 2;
  2568. }
  2569. //退出联盟
  2570. //ResponseType S2C_QuitLeague
  2571. message C2S_QuitLeague // IActorLeagueRequest
  2572. {
  2573. int32 RpcId = 90;
  2574. int64 RoleId = 91;
  2575. }
  2576. message S2C_QuitLeague // IActorLeagueResponse
  2577. {
  2578. int32 RpcId = 90;
  2579. int32 Error = 91;
  2580. string Message = 92;
  2581. }
  2582. //踢出联盟
  2583. //ResponseType S2C_KickLeague
  2584. message C2S_KickLeague // IActorLeagueRequest
  2585. {
  2586. int32 RpcId = 90;
  2587. int64 RoleId = 91;
  2588. int64 TargetRoleId = 1; //被踢玩家Id
  2589. }
  2590. message S2C_KickLeague // IActorLeagueResponse
  2591. {
  2592. int32 RpcId = 90;
  2593. int32 Error = 91;
  2594. string Message = 92;
  2595. }
  2596. //通知有人离开了联盟
  2597. message L2C_NoticeLeaveLeague // IActorMessage
  2598. {
  2599. int64 LeagueId = 1; //联盟id
  2600. int64 LeaveRoleId = 2; //离开者玩家id, 自己离开时也会同步,这个时候重新拉取下 S2C_GetLeagueInfo
  2601. }
  2602. //通知联盟解散了
  2603. message L2C_NoticeDisbandLeague // IActorMessage
  2604. {
  2605. int64 LeagueId = 1; //联盟id
  2606. }
  2607. //建设联盟
  2608. //升级建筑
  2609. //ResponseType S2C_UpLeagueBuilding
  2610. message C2S_UpLeagueBuilding // IActorLeagueRequest
  2611. {
  2612. int32 RpcId = 90;
  2613. int64 RoleId = 91;
  2614. int32 BuildingType = 1; // LeagueBuildingType
  2615. }
  2616. message S2C_UpLeagueBuilding // IActorLeagueResponse
  2617. {
  2618. int32 RpcId = 90;
  2619. int32 Error = 91;
  2620. string Message = 92;
  2621. int64 Level = 1; //等级
  2622. }
  2623. //管理联盟
  2624. //修改联盟名字和联盟徽章
  2625. //ResponseType S2C_ChangeLeagueNameOrIcon
  2626. message C2S_ChangeLeagueNameOrIcon // IActorLocationRequest
  2627. {
  2628. int32 RpcId = 90;
  2629. int32 Type = 1; // 1为名字,2为徽章
  2630. string Changed = 2; //改变后的值
  2631. }
  2632. message S2C_ChangeLeagueNameOrIcon // IActorLocationResponse
  2633. {
  2634. int32 RpcId = 90;
  2635. int32 Error = 91;
  2636. string Message = 92;
  2637. }
  2638. //修改公告
  2639. //ResponseType S2C_ChangeLeagueNotice
  2640. message C2S_ChangeLeagueNotice // IActorLeagueRequest
  2641. {
  2642. int32 RpcId = 90;
  2643. int64 RoleId = 91;
  2644. string Notice = 1; //公告
  2645. }
  2646. message S2C_ChangeLeagueNotice // IActorLeagueResponse
  2647. {
  2648. int32 RpcId = 90;
  2649. int32 Error = 91;
  2650. string Message = 92;
  2651. }
  2652. //发广告
  2653. //ResponseType S2C_SendLeagueAD
  2654. message C2S_SendLeagueAD // IActorLocationRequest
  2655. {
  2656. int32 RpcId = 90;
  2657. }
  2658. message S2C_SendLeagueAD // IActorLocationResponse
  2659. {
  2660. int32 RpcId = 90;
  2661. int32 Error = 91;
  2662. string Message = 92;
  2663. int64 AdEndTime = 1; //广告结束时间
  2664. }
  2665. //通知联盟信息改变
  2666. message L2C_NoticeLeagueInfoChange // IActorMessage
  2667. {
  2668. int64 LeagueId = 1; //联盟id
  2669. int32 Type = 2;// 1为名字,2为徽章,3为公告
  2670. string Changed = 3; //改变后的值
  2671. }
  2672. //设置是否需要审批
  2673. //ResponseType S2C_SetLeagueApply
  2674. message C2S_SetLeagueApply // IActorLeagueRequest
  2675. {
  2676. int32 RpcId = 90;
  2677. int64 RoleId = 91;
  2678. bool IsNeed = 1; //是否需要审核
  2679. }
  2680. message S2C_SetLeagueApply // IActorLeagueResponse
  2681. {
  2682. int32 RpcId = 90;
  2683. int32 Error = 91;
  2684. string Message = 92;
  2685. bool IsNeed = 1; //是否需要审核
  2686. }
  2687. //获取加入退出日志
  2688. //ResponseType S2C_GetLeagueJoinQuitLog
  2689. message C2S_GetLeagueJoinQuitLog // IActorLeagueRequest
  2690. {
  2691. int32 RpcId = 90;
  2692. int64 RoleId = 91;
  2693. }
  2694. message S2C_GetLeagueJoinQuitLog // IActorLeagueResponse
  2695. {
  2696. int32 RpcId = 90;
  2697. int32 Error = 91;
  2698. string Message = 92;
  2699. repeated LeagueJoinQuitLogProto Logs = 1;
  2700. }
  2701. //同步加入退出日志
  2702. message S2C_LeagueJoinQuitLog // IActorMessage
  2703. {
  2704. LeagueJoinQuitLogProto Logs = 1;
  2705. }
  2706. //修改职位
  2707. //ResponseType S2C_ChangeLeaguePos
  2708. message C2S_ChangeLeaguePos // IActorLeagueRequest
  2709. {
  2710. int32 RpcId = 90;
  2711. int64 RoleId = 91;
  2712. int64 TargetRoleId = 1;
  2713. int32 Position = 2; //职位
  2714. }
  2715. message S2C_ChangeLeaguePos // IActorLeagueResponse
  2716. {
  2717. int32 RpcId = 90;
  2718. int32 Error = 91;
  2719. string Message = 92;
  2720. }
  2721. //通知职位变化
  2722. message L2C_NoticeLeaguePosChange // IActorMessage
  2723. {
  2724. int64 LeagueId = 1; //联盟id
  2725. int64 RoleId = 2;//玩家id
  2726. int32 Position = 3; //职位
  2727. }
  2728. //联盟祈福
  2729. //ResponseType S2C_PrayLeague
  2730. message C2S_PrayLeague // IActorLocationRequest
  2731. {
  2732. int32 RpcId = 90;
  2733. int32 Type = 1; //
  2734. }
  2735. message S2C_PrayLeague // IActorLocationResponse
  2736. {
  2737. int32 RpcId = 90;
  2738. int32 Error = 91;
  2739. string Message = 92;
  2740. int32 CoinCount = 1; //联盟基金
  2741. int32 ItemConfigId = 2; //联盟基金配置id
  2742. repeated ItemInfoProto Bonus = 3; //祈福每天首次贡献奖励
  2743. }
  2744. //同步玩家联盟贡献统计
  2745. message S2C_LeagueContribution // IActorMessage
  2746. {
  2747. int64 RoleId = 1;
  2748. int64 AllContribution = 2; //全期累计贡献
  2749. int64 WeekContribution = 3; //本周累计贡献
  2750. int64 AllCoin = 4; //累计资金
  2751. }
  2752. //通知联盟值变化
  2753. message L2C_NoticeLeagueNumeric // IActorMessage
  2754. {
  2755. int64 LeagueId = 1;
  2756. int32 NumericType = 2;
  2757. int64 NewValue = 3;
  2758. }
  2759. message LeagueJoinQuitLogProto
  2760. {
  2761. int32 Type = 1; //LeagueJoinQuitLogType 1:加入 2:退出 3:变更 4:踢掉
  2762. OtherRoleInfoProto RoleInfo = 2;// 玩家摘要数据
  2763. int64 Time = 3;//操作时间
  2764. int32 OldPos = 4; //旧职位 职位变更时需要
  2765. int32 NewPos = 5; //新职位 职位变更时需要
  2766. }
  2767. //联盟详情
  2768. message LeagueDetailInfoProto
  2769. {
  2770. int64 LeagueId = 1;
  2771. string Name = 2;
  2772. string Icon = 3;
  2773. string Notice = 4;
  2774. int32 Num = 5; //人数
  2775. int64 AdEndTime = 6; //广告结束时间
  2776. int64 OwnerId = 7; //盟主id
  2777. int64 SubOwnerId = 8; //副盟主id
  2778. repeated int32 NumberKeys = 9; //LeagueNumericType
  2779. repeated int64 Values = 10; //值
  2780. repeated LeagueMemberDetailInfoProto LeagueMemberDetailInfo = 11; //军团成员信息
  2781. int64 LastQuestionNo1RoleId = 12; //上次答题第一名玩家id
  2782. int32 TeapartyId = 13; //茶会期数 --未开启则期数为0
  2783. int32 Status = 14; // 0未开启 1集结中 2已集结
  2784. }
  2785. //联盟成员详情
  2786. message LeagueMemberDetailInfoProto
  2787. {
  2788. OtherRoleInfoProto RoleInfo = 1; // 玩家信息
  2789. int32 Pos = 2; //职位
  2790. int64 WeekContribution = 3; //本周贡献值
  2791. int64 AllContribution = 4; //累计贡献值
  2792. int64 JoinLeagueTime = 5; //加入联盟时间
  2793. int64 AllCoin = 6; //累计资金
  2794. }
  2795. //联盟列表
  2796. message LeagueListInfoProto
  2797. {
  2798. int64 LeagueId = 1;
  2799. string Name = 2;
  2800. string Icon = 3;
  2801. int32 Num = 4; //当前人数
  2802. int32 MaxNum = 5; //最大人数
  2803. bool NeedAudit = 6;//是否需要审核
  2804. bool IsAd = 7; //是否是广告
  2805. int32 ApplyStatus = 8; //LeagueApplyStatus 0:可申请,1:申请中, 3:拒绝
  2806. int32 Level = 9; //等级
  2807. }
  2808. //推送其他玩家基础信息变化
  2809. message S2C_NoticeOtherInfo // IActorMessage
  2810. {
  2811. repeated OtherRoleInfoProto RoleInfos = 1;
  2812. }
  2813. //-------------------------------VIP--------------------------------
  2814. // 领取VIP等级礼包
  2815. //ResponseType S2C_GetVipLevelGift
  2816. message C2S_GetVipLevelGift // IActorLocationRequest
  2817. {
  2818. int32 RpcId = 90;
  2819. int32 VipLevel = 1; //VIP等级
  2820. }
  2821. message S2C_GetVipLevelGift // IActorLocationResponse
  2822. {
  2823. int32 RpcId = 90;
  2824. int32 Error = 91;
  2825. string Message = 92;
  2826. }
  2827. //领取VIP周礼包
  2828. //ResponseType S2C_GetVipWeekGift
  2829. message C2S_GetVipWeekGift // IActorLocationRequest
  2830. {
  2831. int32 RpcId = 90;
  2832. int32 VipLevel = 1; //VIP等级
  2833. }
  2834. message S2C_GetVipWeekGift // IActorLocationResponse
  2835. {
  2836. int32 RpcId = 90;
  2837. int32 Error = 91;
  2838. string Message = 92;
  2839. }
  2840. //-------------------------------联盟二期--------------------------------
  2841. //购买联盟福利
  2842. //ResponseType S2C_BuyLeagueWelfare
  2843. message C2S_BuyLeagueWelfare // IActorLeagueRequest
  2844. {
  2845. int32 RpcId = 90;
  2846. int64 RoleId = 91;
  2847. int32 Type = 1; //LeagueWelfareType
  2848. }
  2849. message S2C_BuyLeagueWelfare // IActorLeagueResponse
  2850. {
  2851. int32 RpcId = 90;
  2852. int32 Error = 91;
  2853. string Message = 92;
  2854. }
  2855. //领取联盟福利
  2856. //ResponseType S2C_GetLeagueWelfare
  2857. message C2S_GetLeagueWelfare // IActorLocationRequest
  2858. {
  2859. int32 RpcId = 90;
  2860. int32 LeagueWelfareType = 1; //LeagueWelfareType
  2861. }
  2862. message S2C_GetLeagueWelfare // IActorLocationResponse
  2863. {
  2864. int32 RpcId = 90;
  2865. int32 Error = 91;
  2866. string Message = 92;
  2867. repeated ItemInfoProto Bonus = 1;
  2868. }
  2869. //获取答题排行
  2870. //ResponseType S2C_GetAnswerRank
  2871. message C2S_GetAnswerRank // IActorLeagueRequest
  2872. {
  2873. int32 RpcId = 90;
  2874. int64 RoleId = 91;
  2875. int32 Type = 1; //1:周排行 2:上周排行
  2876. }
  2877. message S2C_GetAnswerRank // IActorLeagueResponse
  2878. {
  2879. int32 RpcId = 90;
  2880. int32 Error = 91;
  2881. string Message = 92;
  2882. repeated LeagueQuestionRoleInfoProto RoleInfos = 1;
  2883. }
  2884. //回答题目
  2885. //ResponseType S2C_AnswerQuestion
  2886. message C2S_AnswerQuestion // IActorLeagueRequest
  2887. {
  2888. int32 RpcId = 90;
  2889. int64 RoleId = 91;
  2890. int32 QuestionId = 1;
  2891. string Answer = 2;
  2892. }
  2893. message S2C_AnswerQuestion // IActorLeagueResponse
  2894. {
  2895. int32 RpcId = 90;
  2896. int32 Error = 91;
  2897. string Message = 92;
  2898. }
  2899. //加入答题
  2900. //ResponseType S2C_JoinAnswer
  2901. message C2S_JoinAnswer // IActorLeagueRequest
  2902. {
  2903. int32 RpcId = 90;
  2904. int64 RoleId = 91;
  2905. }
  2906. message S2C_JoinAnswer // IActorLeagueResponse
  2907. {
  2908. int32 RpcId = 90;
  2909. int32 Error = 91;
  2910. string Message = 92;
  2911. repeated LeagueQuestionRoleInfoProto RoleInfos = 1;
  2912. int32 QuestionId = 2;//上次答题id
  2913. string Ans = 3;//上次答案
  2914. int64 LastRightRoleId = 4;//上次答对玩家id
  2915. }
  2916. //退出答题
  2917. //ResponseType S2C_QuitAnswer
  2918. message C2S_QuitAnswer // IActorLeagueRequest
  2919. {
  2920. int32 RpcId = 90;
  2921. int64 RoleId = 91;
  2922. }
  2923. message S2C_QuitAnswer // IActorLeagueResponse
  2924. {
  2925. int32 RpcId = 90;
  2926. int32 Error = 91;
  2927. string Message = 92;
  2928. }
  2929. //通知有玩家加入答题
  2930. message L2C_NoticeJoinAnswer // IActorMessage
  2931. {
  2932. int64 RoleId = 1;// 玩家信息
  2933. int32 AnswerNum = 2;//答题数量
  2934. }
  2935. //通知有玩家退出答题
  2936. message L2C_NoticeQuitAnswer // IActorMessage
  2937. {
  2938. int64 RoleId = 1;// 玩家信息
  2939. }
  2940. //同步玩家答题数量
  2941. message S2C_SyncAnswerNum // IActorMessage
  2942. {
  2943. int64 RoleId = 1;
  2944. int32 Num = 2;
  2945. repeated ItemInfoProto Rewards = 3;
  2946. }
  2947. //通知答题暂停
  2948. message L2C_NoticeAnswerPause // IActorMessage
  2949. {
  2950. int32 Type = 1; //1:有人答对题目 2:无人答对 3:答题结束
  2951. int64 Time = 2; //等待结束时间,除了答题结束都有这个值
  2952. repeated ItemInfoProto Rewards = 3;
  2953. }
  2954. //同步答题开始
  2955. message S2C_SyncAnswerStart // IActorMessage
  2956. {
  2957. int32 QuestionId = 1; //题目id
  2958. int64 Time = 2; //答题结束时间
  2959. }
  2960. //玩家联盟答题信息
  2961. message LeagueQuestionRoleInfoProto
  2962. {
  2963. int64 RoleId = 1;
  2964. int32 Num = 2;//答题次数
  2965. }
  2966. //-------------------------------技能--------------------------------
  2967. //获取技能列表
  2968. //ResponseType S2C_GetSkillList
  2969. message C2S_GetSkillList // IActorLocationRequest
  2970. {
  2971. int32 RpcId = 90;
  2972. int32 SKillType = 1; //SkillType
  2973. }
  2974. message S2C_GetSkillList // IActorLocationResponse
  2975. {
  2976. int32 RpcId = 90;
  2977. int32 Error = 91;
  2978. string Message = 92;
  2979. repeated int32 SkillId = 1;
  2980. }
  2981. //同步添加了技能
  2982. message S2C_SyncAddSkill // IActorMessage
  2983. {
  2984. repeated SkillInfoProto SkillInfos = 1;
  2985. }
  2986. message SkillInfoProto
  2987. {
  2988. int32 SkillType = 1; //SkillType
  2989. int32 SkillId = 2;
  2990. }
  2991. //激活技能
  2992. //ResponseType S2C_ActiveSkill
  2993. message C2S_ActiveSkill // IActorLocationRequest
  2994. {
  2995. int32 RpcId = 90;
  2996. int32 SkillType = 1;
  2997. int32 SkillId = 2;
  2998. }
  2999. message S2C_ActiveSkill // IActorLocationResponse
  3000. {
  3001. int32 RpcId = 90;
  3002. int32 Error = 91;
  3003. string Message = 92;
  3004. }
  3005. //-------------------------------聊天--------------------------------
  3006. //发送聊天消息
  3007. //ResponseType S2C_SendChatMsg
  3008. message C2S_SendChatMsg // IActorLocationRequest
  3009. {
  3010. int32 RpcId = 90;
  3011. int32 Type = 1; //ChatType
  3012. string Content = 2; //内容
  3013. int64 TargetId = 3; //私聊时需要
  3014. }
  3015. message S2C_SendChatMsg // IActorLocationResponse
  3016. {
  3017. int32 RpcId = 90;
  3018. int32 Error = 91;
  3019. string Message = 92;
  3020. }
  3021. //发送聊天消息
  3022. message S2C_NoticeChatMsg // IActorMessage
  3023. {
  3024. int32 Type = 1; //ChatType
  3025. OtherRoleInfoProto RoleInfo = 2; //玩家信息
  3026. string Content = 3; //内容
  3027. int64 Time = 4; //时间
  3028. }
  3029. //查询聊天记录
  3030. //ResponseType S2C_QueryChatMsg
  3031. message C2S_QueryChatMsg // IActorLocationRequest
  3032. {
  3033. int32 RpcId = 90;
  3034. int32 Type = 1; //ChatType
  3035. }
  3036. message S2C_QueryChatMsg // IActorLocationResponse
  3037. {
  3038. int32 RpcId = 90;
  3039. int32 Error = 91;
  3040. string Message = 92;
  3041. repeated ChatMsgProto ChatMsgs = 1;
  3042. }
  3043. message ChatMsgProto
  3044. {
  3045. int32 Type = 1; //ChatType
  3046. OtherRoleInfoProto RoleInfo = 2; //玩家信息
  3047. int64 TargetId = 3; //私聊时需要
  3048. string Content = 4; //内容
  3049. int64 Time = 5; //时间
  3050. }
  3051. //-------------------------------月卡--------------------------------
  3052. //领取每日返还珍珠
  3053. //ResponseType S2C_GetMonthCardReward
  3054. message C2S_GetMonthCardReward // IActorLocationRequest
  3055. {
  3056. int32 RpcId = 90;
  3057. int32 MonthCardType = 1; //MonthCardType
  3058. }
  3059. message S2C_GetMonthCardReward // IActorLocationResponse
  3060. {
  3061. int32 RpcId = 90;
  3062. int32 Error = 91;
  3063. string Message = 92;
  3064. }
  3065. //领取专属单品
  3066. //ResponseType S2C_GetMonthCardItem
  3067. message C2S_GetMonthCardItem // IActorLocationRequest
  3068. {
  3069. int32 RpcId = 90;
  3070. }
  3071. message S2C_GetMonthCardItem // IActorLocationResponse
  3072. {
  3073. int32 RpcId = 90;
  3074. int32 Error = 91;
  3075. string Message = 92;
  3076. }
  3077. //通知月卡开启
  3078. message S2C_NoticeMonthCardOpen // IActorMessage
  3079. {
  3080. int32 MonthCardType = 1; //MonthCardType
  3081. }
  3082. //-------------------------------签到--------------------------------
  3083. //签到
  3084. //ResponseType S2C_Sign
  3085. message C2S_Sign // IActorLocationRequest
  3086. {
  3087. int32 RpcId = 90;
  3088. }
  3089. message S2C_Sign // IActorLocationResponse
  3090. {
  3091. int32 RpcId = 90;
  3092. int32 Error = 91;
  3093. string Message = 92;
  3094. repeated ItemInfoProto reward = 1;
  3095. }
  3096. //补签
  3097. //ResponseType S2C_ReSign
  3098. message C2S_ReSign // IActorLocationRequest
  3099. {
  3100. int32 RpcId = 90;
  3101. int32 Day = 1;
  3102. int32 ConsumeType = 2; //消耗类型:0.以前的消耗 1.新的消耗
  3103. }
  3104. message S2C_ReSign // IActorLocationResponse
  3105. {
  3106. int32 RpcId = 90;
  3107. int32 Error = 91;
  3108. string Message = 92;
  3109. repeated ItemInfoProto reward = 1;
  3110. }
  3111. //领取签到累计奖励
  3112. //ResponseType S2C_GetSignReward
  3113. message C2S_GetSignReward // IActorLocationRequest
  3114. {
  3115. int32 RpcId = 90;
  3116. int32 Day = 1;
  3117. }
  3118. message S2C_GetSignReward // IActorLocationResponse
  3119. {
  3120. int32 RpcId = 90;
  3121. int32 Error = 91;
  3122. string Message = 92;
  3123. repeated ItemInfoProto reward = 1;
  3124. }
  3125. //领取/补领每日补给
  3126. //ResponseType S2C_GetSupplyReward
  3127. message C2S_GetSupplyReward // IActorLocationRequest
  3128. {
  3129. int32 RpcId = 90;
  3130. int32 Id = 1;
  3131. }
  3132. message S2C_GetSupplyReward // IActorLocationResponse
  3133. {
  3134. int32 RpcId = 90;
  3135. int32 Error = 91;
  3136. string Message = 92;
  3137. repeated ItemInfoProto reward = 1;
  3138. }
  3139. //-------------------------------任务--------------------------------
  3140. //请求任务数据
  3141. //ResponseType M2C_GetTaskInfos
  3142. message C2M_GetTaskInfos // IActorLocationRequest
  3143. {
  3144. int32 RpcId = 90;
  3145. int32 Type = 1; //TaskType
  3146. }
  3147. message M2C_GetTaskInfos // IActorLocationResponse
  3148. {
  3149. int32 RpcId = 90;
  3150. int32 Error = 91;
  3151. string Message = 92;
  3152. repeated TaskInfoProto TaskList = 1; //任务列表
  3153. }
  3154. //推送任务进度和状态
  3155. //message M2C_TaskInfoChange // IActorMessage
  3156. //{
  3157. // TaskInfoProto TaskInfo = 1;
  3158. //}
  3159. //请求领取每日任务奖励
  3160. //ResponseType M2C_GetTaskBonus
  3161. message C2M_GetTaskBonus // IActorLocationRequest
  3162. {
  3163. int32 RpcId = 90;
  3164. int32 Id = 1; //任务id
  3165. }
  3166. message M2C_GetTaskBonus // IActorLocationResponse
  3167. {
  3168. int32 RpcId = 90;
  3169. int32 Error = 91;
  3170. string Message = 92;
  3171. int32 Id = 1; //请求领奖的任务
  3172. int32 Status = 2; //请求领奖的任务最新状态
  3173. TaskInfoProto NextTask = 3; //成就任务 下一个展示的任务
  3174. }
  3175. //一键领取任务奖励
  3176. //ResponseType M2C_GetAllTaskBonus
  3177. message C2M_GetAllTaskBonus // IActorLocationRequest
  3178. {
  3179. int32 RpcId = 90;
  3180. int32 Type = 1; //TaskType
  3181. }
  3182. message M2C_GetAllTaskBonus // IActorLocationResponse
  3183. {
  3184. int32 RpcId = 90;
  3185. int32 Error = 91;
  3186. string Message = 92;
  3187. repeated TaskInfoProto TaskList = 1; //有变化的任务列表
  3188. repeated ItemInfoProto BonusList = 2; //领取的所有任务奖励
  3189. }
  3190. //通知任务关闭
  3191. message M2C_TaskClose // IActorMessage
  3192. {
  3193. int32 TaskId = 1;
  3194. }
  3195. //通知任务重置
  3196. message M2C_TaskChange // IActorMessage
  3197. {
  3198. repeated TaskInfoProto TaskList = 1; //有变化的任务列表
  3199. }
  3200. //成就任务分类进度
  3201. message AchievementTaskTypePro
  3202. {
  3203. int32 AchievementType = 1; //任务分类
  3204. int32 AllTaskNum = 2; //所有的任务数量
  3205. int32 CompleteTaskNum = 3; //完成的任务数量
  3206. }
  3207. //请求ALL成就任务分类完成进度
  3208. //ResponseType M2C_GetAchievementTaskTypePro
  3209. message C2M_GetAchievementTaskTypePro // IActorLocationRequest
  3210. {
  3211. int32 RpcId = 90;
  3212. }
  3213. message M2C_GetAchievementTaskTypePro // IActorLocationResponse
  3214. {
  3215. int32 RpcId = 90;
  3216. int32 Error = 91;
  3217. string Message = 92;
  3218. repeated AchievementTaskTypePro AchievementTaskTypeProList = 1; //成就任务分类进度
  3219. }
  3220. //通知成就任务分类进度
  3221. message M2C_AchievementTaskTypeChange // IActorMessage
  3222. {
  3223. AchievementTaskTypePro AchievementTaskTypeProto = 1;
  3224. }
  3225. //-------------------------------七日活跃--------------------------------
  3226. //领取七日活跃奖励
  3227. //ResponseType S2C_GetDay7Reward
  3228. message C2S_GetDay7Reward // IActorLocationRequest
  3229. {
  3230. int32 RpcId = 90;
  3231. int32 Id = 1;
  3232. }
  3233. message S2C_GetDay7Reward // IActorLocationResponse
  3234. {
  3235. int32 RpcId = 90;
  3236. int32 Error = 91;
  3237. string Message = 92;
  3238. }
  3239. //-------------------------------通行证--------------------------------
  3240. //获取玩家通行证信息
  3241. //ResponseType S2C_GetBattlePassInfo
  3242. message C2S_GetBattlePassInfo // IActorLocationRequest
  3243. {
  3244. int32 RpcId = 90;
  3245. }
  3246. message S2C_GetBattlePassInfo // IActorLocationResponse
  3247. {
  3248. int32 RpcId = 90;
  3249. int32 Error = 91;
  3250. string Message = 92;
  3251. int32 SeasonId = 1;//赛季id
  3252. bool IsBuy = 2;//是否购买通行证
  3253. repeated int32 RewardList = 6; //已领取奖励列表
  3254. repeated int32 SuperRewardList = 7;//已领取超级奖励
  3255. }
  3256. //领取通行证奖励
  3257. //ResponseType S2C_GetBattlePassReward
  3258. message C2S_GetBattlePassReward // IActorLocationRequest
  3259. {
  3260. int32 RpcId = 90;
  3261. int32 Id = 1;
  3262. }
  3263. message S2C_GetBattlePassReward // IActorLocationResponse
  3264. {
  3265. int32 RpcId = 90;
  3266. int32 Error = 91;
  3267. string Message = 92;
  3268. int32 Type = 1;//1:普通奖励 2:超级奖励 3:都领奖了
  3269. }
  3270. //一键领取通行证奖励
  3271. //ResponseType S2C_GetAllBattlePassReward
  3272. message C2S_GetAllBattlePassReward // IActorLocationRequest
  3273. {
  3274. int32 RpcId = 90;
  3275. }
  3276. message S2C_GetAllBattlePassReward // IActorLocationResponse
  3277. {
  3278. int32 RpcId = 90;
  3279. int32 Error = 91;
  3280. string Message = 92;
  3281. repeated int32 Levels = 1;//领取的等级
  3282. repeated int32 SuperLevels = 2;//领取的超级等级
  3283. }
  3284. //购买等级
  3285. //ResponseType S2C_BuyBattlePassLevel
  3286. message C2S_BuyBattlePassLevel // IActorLocationRequest
  3287. {
  3288. int32 RpcId = 90;
  3289. int32 UpLevel = 1;//升N级
  3290. }
  3291. message S2C_BuyBattlePassLevel // IActorLocationResponse
  3292. {
  3293. int32 RpcId = 90;
  3294. int32 Error = 91;
  3295. string Message = 92;
  3296. }
  3297. //同步玩家开通了通行证
  3298. message M2C_SyncBattlePass // IActorMessage
  3299. {
  3300. bool IsBuy = 1; //是否购买
  3301. int32 SeasonId = 2; //赛季id
  3302. }
  3303. //同步玩家通行证领奖等级
  3304. message M2C_SyncBattlePassLevel // IActorMessage
  3305. {
  3306. repeated int32 Level = 1; //领奖等级
  3307. repeated int32 SuperLevel = 2;//高级领奖等级
  3308. }
  3309. //同步赛季id变化
  3310. message M2C_SyncBattlePassSeasonId // IActorMessage
  3311. {
  3312. int32 SeasonId = 1; //赛季id
  3313. }
  3314. //-------------------------------通用限制--------------------------------
  3315. message UnitLimitInfoProto
  3316. {
  3317. int32 LimitId = 1;
  3318. int32 BuyTimes = 2; //已购买次数
  3319. int32 PlayTimes = 3; //已挑战次数
  3320. int32 PlayTimesMax = 4; //能挑战的最大次数
  3321. int32 PlayTimesResetExtra = 5; //重置时相对于配置额外的挑战次数
  3322. int32 MaxStorageCount = 6; //最大存储次数
  3323. }
  3324. //ResponseType S2C_GetUnitLimitInfos
  3325. message C2S_GetUnitLimitInfos // IActorLocationRequest
  3326. {
  3327. int32 RpcId = 90;
  3328. }
  3329. message S2C_GetUnitLimitInfos // IActorLocationResponse
  3330. {
  3331. int32 RpcId = 90;
  3332. int32 Error = 91;
  3333. string Message = 92;
  3334. repeated UnitLimitInfoProto UnitLimitInfos = 1;
  3335. }
  3336. //请求购买限制次数
  3337. //ResponseType M2C_BuyUnitLimitPlayTimes
  3338. message C2M_BuyUnitLimitPlayTimes // IActorLocationRequest
  3339. {
  3340. int32 RpcId = 90;
  3341. int32 LimitId = 1;
  3342. int32 BuyType = 2; // 购买类型,0道具,1货币
  3343. int32 BuyCount = 3; //购买数量
  3344. }
  3345. message M2C_BuyUnitLimitPlayTimes // IActorLocationResponse
  3346. {
  3347. int32 RpcId = 90;
  3348. int32 Error = 91;
  3349. string Message = 92;
  3350. int32 LimitId = 1;
  3351. }
  3352. //推送限制数据变化
  3353. message M2C_NoticeUnitLimitPlayTimes // IActorMessage
  3354. {
  3355. UnitLimitInfoProto UnitLimitInfo = 1;
  3356. }
  3357. //自选礼包选择的物品
  3358. message GiftBoxSelChildItemProto
  3359. {
  3360. int32 ChildItemId = 1; //选择获取的物品id
  3361. int32 ChildItemCount = 2; //选择获取的物品数量
  3362. }
  3363. //请求消费自选礼包
  3364. //ResponseType M2C_GiftBoxSelConsumption
  3365. message C2M_GiftBoxSelConsumption // IActorLocationRequest
  3366. {
  3367. int32 RpcId = 90;
  3368. int32 ItemId = 1;
  3369. repeated GiftBoxSelChildItemProto GiftBoxSelChildItems = 2; //自选礼包选择的物品List
  3370. }
  3371. message M2C_GiftBoxSelConsumption // IActorLocationResponse
  3372. {
  3373. int32 RpcId = 90;
  3374. int32 Error = 91;
  3375. string Message = 92;
  3376. repeated ItemInfoProto GotItemList = 1;
  3377. }
  3378. //请求轮换抽奖活动信息
  3379. //ResponseType S2C_GetLuckyBoxRotatingInfo
  3380. message C2S_GetLuckyBoxRotatingInfo // IActorLocationRequest
  3381. {
  3382. int32 RpcId = 90;
  3383. }
  3384. message S2C_GetLuckyBoxRotatingInfo // IActorLocationResponse
  3385. {
  3386. int32 RpcId = 90;
  3387. int32 Error = 91;
  3388. string Message = 92;
  3389. int32 RotatingId = 1; //轮换id
  3390. }
  3391. //请求限时抽奖活动信息
  3392. //ResponseType S2C_GetTimeLimitLuckyBoxInfo
  3393. message C2S_GetTimeLimitLuckyBoxInfo // IActorLocationRequest
  3394. {
  3395. int32 RpcId = 90;
  3396. int32 ActivityId = 1;
  3397. }
  3398. message S2C_GetTimeLimitLuckyBoxInfo // IActorLocationResponse
  3399. {
  3400. int32 RpcId = 90;
  3401. int32 Error = 91;
  3402. string Message = 92;
  3403. int32 ActivityId = 1;
  3404. int64 AllPlayTimes = 2; //抽奖总次数
  3405. repeated int32 KsBonusState = 3; //奖励key,这里对应抽奖次数
  3406. repeated int32 VsBonusState = 4; //值由ConstBonusStatus定义
  3407. int32 Count = 5; //限时抽奖必掉次数
  3408. }
  3409. //领取抽奖奖励
  3410. //ResponseType S2C_GetTimeLimitLuckyBoxBonus
  3411. message C2S_GetTimeLimitLuckyBoxBonus // IActorLocationRequest
  3412. {
  3413. int32 RpcId = 90;
  3414. int32 ActivityId = 1;
  3415. int32 BonusKey = 2; //奖励key,这里对应抽奖次数
  3416. }
  3417. message S2C_GetTimeLimitLuckyBoxBonus // IActorLocationResponse
  3418. {
  3419. int32 RpcId = 90;
  3420. int32 Error = 91;
  3421. string Message = 92;
  3422. int32 ActivityId = 1;
  3423. int32 BonusKey = 2; //奖励key,这里对应抽奖次数
  3424. int32 BonusStatus = 3; //值由ConstBonusStatus定义
  3425. repeated ItemInfoProto BonusList = 4; //奖励列表
  3426. }
  3427. //推送限时抽奖必掉次数
  3428. message S2C_NoticeTimeLimitLuckyBoxDropOutCount // IActorMessage
  3429. {
  3430. int32 Count = 1;
  3431. int32 ActivityId = 2;
  3432. int64 AllPlayTimes = 3; //抽奖总次数
  3433. }
  3434. //请求领取连续返利礼包--的返利
  3435. //ResponseType S2C_GiftBagRebate
  3436. message C2S_GetGiftBagRebate // IActorLocationRequest
  3437. {
  3438. int32 RpcId = 90;
  3439. int32 ShopId = 1; //返利礼包Id
  3440. }
  3441. message S2C_GiftBagRebate // IActorLocationResponse
  3442. {
  3443. int32 RpcId = 90;
  3444. int32 Error = 91;
  3445. string Message = 92;
  3446. repeated ItemInfoProto ItemList = 1; //返利物品
  3447. }
  3448. message DayItemInfo
  3449. {
  3450. int32 ItemId = 1;
  3451. int32 ResidueNum = 2;
  3452. }
  3453. //获取已经领取的返利物品ids
  3454. //ResponseType S2C_GetAllGiftBagRebateStatus
  3455. message C2S_GetAllGiftBagRebateStatus // IActorLocationRequest
  3456. {
  3457. int32 RpcId = 90;
  3458. }
  3459. message S2C_GetAllGiftBagRebateStatus // IActorLocationResponse
  3460. {
  3461. int32 RpcId = 90;
  3462. int32 Error = 91;
  3463. string Message = 92;
  3464. repeated int32 ItemIds = 1; //当天已经领取的返利物品Id
  3465. repeated DayItemInfo DayAllItemResidues = 2; //当天可以领取的列表
  3466. }
  3467. //通知活动开启
  3468. message S2C_NoticeActivityOpen // IActorMessage
  3469. {
  3470. ActivityInfoProto ActivityInfo = 1;
  3471. }
  3472. //通知活动关闭
  3473. message S2C_NoticeActivityClose // IActorMessage
  3474. {
  3475. int32 ActivityId = 1;
  3476. }
  3477. //客户端请求关闭活动
  3478. //ResponseType S2C_CloseActivity
  3479. message C2S_CloseActivity // IActorLocationRequest
  3480. {
  3481. int32 RpcId = 90;
  3482. int32 ActivityId = 1;
  3483. }
  3484. message S2C_CloseActivity // IActorLocationResponse
  3485. {
  3486. int32 RpcId = 90;
  3487. int32 Error = 91;
  3488. string Message = 92;
  3489. }
  3490. //拉取活动列表
  3491. //ResponseType S2C_GetActivityList
  3492. message C2S_GetActivityList // IActorLocationRequest
  3493. {
  3494. int32 RpcId = 90;
  3495. repeated int32 Type = 1; //活动类型
  3496. }
  3497. message S2C_GetActivityList // IActorLocationResponse
  3498. {
  3499. int32 RpcId = 90;
  3500. int32 Error = 91;
  3501. string Message = 92;
  3502. repeated ActivityInfoProto ActivityList = 1;
  3503. }
  3504. message ActivityInfoProto
  3505. {
  3506. int32 ActivityId = 1;
  3507. int64 StartTime = 2;
  3508. int64 EndTime = 3;
  3509. repeated int32 GetRewards = 4;
  3510. int64 CountValue = 5;
  3511. int32 Type = 6; //活动类型
  3512. }
  3513. //首充奖励
  3514. //ResponseType S2C_GetFirstRechargeBonus
  3515. message C2S_GetFirstRechargeBonus // IActorLocationRequest
  3516. {
  3517. int32 RpcId = 90;
  3518. }
  3519. message S2C_GetFirstRechargeBonus // IActorLocationResponse
  3520. {
  3521. int32 RpcId = 90;
  3522. int32 Error = 91;
  3523. string Message = 92;
  3524. }
  3525. //领取活动奖励
  3526. //ResponseType S2C_GetActivityBonus
  3527. message C2S_GetActivityBonus // IActorLocationRequest
  3528. {
  3529. int32 RpcId = 90;
  3530. int32 ActivityId = 1;
  3531. int32 BonusId = 2;
  3532. }
  3533. message S2C_GetActivityBonus // IActorLocationResponse
  3534. {
  3535. int32 RpcId = 90;
  3536. int32 Error = 91;
  3537. string Message = 92;
  3538. repeated ItemInfoProto itemList = 1;
  3539. }
  3540. //同步活动进度值
  3541. message S2C_SyncActivityCountValue // IActorMessage
  3542. {
  3543. int32 ActivityId = 1;
  3544. int64 CountValue = 2;
  3545. }
  3546. //同步充值物品获得
  3547. message S2C_SyncRechargeItemGet // IActorMessage
  3548. {
  3549. int32 BuyId = 1; //购买项在商店里的编号id
  3550. int32 Times = 2; //购买次数
  3551. int32 TotalTimes = 3; //总的购买次数
  3552. int64 OrderTime = 4; //购买时间
  3553. }
  3554. //请求抽奖数据
  3555. //ResponseType S2C_GetLuckyBoxInfo
  3556. message C2S_GetLuckyBoxInfo // IActorLocationRequest
  3557. {
  3558. int32 RpcId = 90;
  3559. }
  3560. message S2C_GetLuckyBoxInfo // IActorLocationResponse
  3561. {
  3562. int32 RpcId = 90;
  3563. int32 Error = 91;
  3564. string Message = 92;
  3565. repeated int32 KsLuckyBoxId = 1; //奖池id列表
  3566. repeated int64 VsFreeTime = 2; //免费时间列表
  3567. repeated int32 KsPlayedId = 3; //摘星次数对应的奖池id列表
  3568. repeated int64 VsPlayedTimes = 4; //摘星次数列表
  3569. }
  3570. //推送奖池免费时间变化
  3571. message S2C_NoticeLuckyBoxFreeTime // IActorMessage
  3572. {
  3573. int32 LuckyBoxId = 1; //奖池id
  3574. int64 FreeTime = 2; //免费时间,当前时间大于此时间免费,如果为0,表示取消免费
  3575. }
  3576. //技能书分解
  3577. //ResponseType M2C_SkillBookDecompose
  3578. message C2M_SkillBookDecompose // IActorLocationRequest
  3579. {
  3580. int32 RpcId = 90;
  3581. repeated int32 itemIds = 1; //技能书物品id列表
  3582. repeated int64 itemNums = 2; //技能书物品个数列表
  3583. }
  3584. message M2C_SkillBookDecompose // IActorLocationResponse
  3585. {
  3586. int32 RpcId = 90;
  3587. int32 Error = 91;
  3588. string Message = 92;
  3589. repeated ItemInfoProto bonusList = 1; //奖励列表
  3590. }
  3591. //==========================联盟--茶会=========================
  3592. //扮演角色坑位信息
  3593. message RoleContainerProto
  3594. {
  3595. int32 TeapartyRoleId = 1; //扮演角色id
  3596. int32 PerNum = 2; //当前的人数
  3597. int32 MaxScore = 3; //最高分
  3598. string MaxScoreRoleName = 4; //最高分的玩家名称
  3599. repeated int32 EquipIds = 5; //最高分的玩家换装id列表
  3600. int32 HeadItemId = 6; //头像物品id
  3601. int32 HeadBorderItemId = 7; //头像框物品id
  3602. }
  3603. //玩家茶会详细信息
  3604. message RoleTeapartyInfoProto
  3605. {
  3606. bool Status = 1; //true已提交搭配方案 fasle未提交搭配方案 ---不在活动内,依然会返回fasle
  3607. bool IsComplete = 2; //true已经走完流程 false未走完流程 -- 由 C2S_ReportTeapartyComplete 决定这里的值
  3608. int32 PerScore = 3; //个人评分分数
  3609. repeated int32 PerAwardStatusVs = 4; //个人评分对应的领奖状态 由枚举 ConstBonusStatus
  3610. int32 LeagueScore = 5; //雅集评分分数
  3611. repeated int32 LeagueAwardStatusVs = 6; //雅集评分对应的领奖状态 由枚举 ConstBonusStatus
  3612. int32 TeapartyRoleId = 7; //扮演的角色Id
  3613. repeated int32 EquipIds = 8; //玩家自己的换装id列表
  3614. bool IsQuitTeaParty = 9; //一个茶会期数内 是否退出过雅集--茶会重置的时候重置为false,被踢出或者退出的时候设置为true
  3615. int32 LastOpenCfgId = 10; //记录上一次结算过奖励的雅集茶会期数
  3616. repeated int32 TempEquipIds = 11; //临时穿搭:玩家自己的换装id列表,提交搭配后会与正式的穿搭一致
  3617. bool IsNoActDayEnterLeague = 12; //是否非茶会活动日进入的雅集
  3618. }
  3619. //获取本期茶会期数信息
  3620. //ResponseType S2C_GetTeapartyInfos
  3621. message C2S_GetTeapartyInfos // IActorLeagueRequest
  3622. {
  3623. int32 RpcId = 90;
  3624. int64 RoleId = 91;
  3625. }
  3626. message S2C_GetTeapartyInfos // IActorLeagueResponse
  3627. {
  3628. int32 RpcId = 90;
  3629. int32 Error = 91;
  3630. string Message = 92;
  3631. int32 TeapartyId = 1; //茶会期数 --未开启则期数为0
  3632. int32 Status = 2; // 0未开启 1集结中 2已集结
  3633. }
  3634. //获取玩家本期茶话会参与信息
  3635. //ResponseType S2C_TeapartyMatchingInfos
  3636. message C2S_GetTeapartyMatchingInfos // IActorLeagueRequest
  3637. {
  3638. int32 RpcId = 90;
  3639. int64 RoleId = 91;
  3640. }
  3641. message S2C_TeapartyMatchingInfos // IActorLeagueResponse
  3642. {
  3643. int32 RpcId = 90;
  3644. int32 Error = 91;
  3645. string Message = 92;
  3646. RoleTeapartyInfoProto RoleTeapartyInfo = 1;
  3647. }
  3648. //进入茶会话,获取茶会每个扮演角色坑位信息
  3649. //ResponseType S2C_GetRoleContainerInfos
  3650. message C2S_GetRoleContainerInfos // IActorLeagueRequest
  3651. {
  3652. int32 RpcId = 90;
  3653. int64 RoleId = 91;
  3654. }
  3655. message S2C_GetRoleContainerInfos // IActorLeagueResponse
  3656. {
  3657. int32 RpcId = 90;
  3658. int32 Error = 91;
  3659. string Message = 92;
  3660. int64 TeaPartyCloseTime = 1; //茶会倒计时显示那里的截至时间
  3661. repeated RoleContainerProto RoleContainerList = 2;
  3662. }
  3663. //退出茶会话,服务端就不会再推送S2C_RoleContainerInfos
  3664. //ResponseType S2C_QuitTeapparty
  3665. message C2S_QuitTeapparty // IActorLeagueRequest
  3666. {
  3667. int32 RpcId = 90;
  3668. int64 RoleId = 91;
  3669. }
  3670. message S2C_QuitTeapparty // IActorLeagueResponse
  3671. {
  3672. int32 RpcId = 90;
  3673. int32 Error = 91;
  3674. string Message = 92;
  3675. }
  3676. //更换角色坑位以及搭配
  3677. //ResponseType S2C_ChangeTeapartyDressup
  3678. message C2S_ChangeTeapartyDressup // IActorLeagueRequest
  3679. {
  3680. int32 RpcId = 90;
  3681. int64 RoleId = 91;
  3682. int32 TeapartyRoleId = 1; //扮演的角色Id
  3683. repeated int32 EquipIds = 2; //换装id列表
  3684. }
  3685. message S2C_ChangeTeapartyDressup // IActorLeagueResponse
  3686. {
  3687. int32 RpcId = 90;
  3688. int32 Error = 91;
  3689. string Message = 92;
  3690. int32 PerScore = 1; //个人评分分数
  3691. }
  3692. //走完剧情流程上报节点--策划说到了结算界面就算走完了,关了程序再进来也不用继续从头走流程了(就可以直接领奖励了),否则重新看剧情
  3693. //ResponseType S2C_ReportTeapartyComplete
  3694. message C2S_ReportTeapartyComplete // IActorLeagueRequest
  3695. {
  3696. int32 RpcId = 90;
  3697. int64 RoleId = 91;
  3698. }
  3699. message S2C_ReportTeapartyComplete // IActorLeagueResponse
  3700. {
  3701. int32 RpcId = 90;
  3702. int32 Error = 91;
  3703. string Message = 92;
  3704. int32 PerScore = 1; //个人评分分数
  3705. }
  3706. //领取个人评分奖励
  3707. //ResponseType S2C_GetPerRatingAward
  3708. message C2S_GetPerRatingAward // IActorLeagueRequest
  3709. {
  3710. int32 RpcId = 90;
  3711. int32 Score = 1; //领取奖励的分
  3712. int64 RoleId = 2;
  3713. }
  3714. message S2C_GetPerRatingAward // IActorLeagueResponse
  3715. {
  3716. int32 RpcId = 90;
  3717. int32 Error = 91;
  3718. string Message = 92;
  3719. int32 PerScore = 1; //个人评分分数
  3720. repeated ItemInfoProto BonusList = 2; //奖励列表
  3721. repeated int32 PerAwardStatusVs = 3; //个人评分对应的领奖状态 由枚举 ConstBonusStatus
  3722. }
  3723. //领取雅集评分奖励
  3724. //ResponseType S2C_GetLeagueRatingAward
  3725. message C2S_GetLeagueRatingAward // IActorLeagueRequest
  3726. {
  3727. int32 RpcId = 90;
  3728. int64 RoleId = 91;
  3729. int32 Score = 1; //领取奖励的分
  3730. }
  3731. message S2C_GetLeagueRatingAward // IActorLeagueResponse
  3732. {
  3733. int32 RpcId = 90;
  3734. int32 Error = 91;
  3735. string Message = 92;
  3736. repeated ItemInfoProto BonusList = 1; //奖励列表
  3737. repeated int32 LeagueAwardStatusVs = 2; //雅集评分对应的领奖状态 由枚举 ConstBonusStatus
  3738. }
  3739. //会长点击挑战,开启挑战
  3740. //ResponseType S2C_TeapartyStartChallenge
  3741. message C2S_TeapartyStartChallenge // IActorLeagueRequest
  3742. {
  3743. int32 RpcId = 90;
  3744. int64 RoleId = 91;
  3745. }
  3746. message S2C_TeapartyStartChallenge // IActorLeagueResponse
  3747. {
  3748. int32 RpcId = 90;
  3749. int32 Error = 91;
  3750. string Message = 92;
  3751. repeated RoleContainerProto RoleContainerList = 1;
  3752. }
  3753. //提交临时搭配
  3754. //ResponseType S2C_ChangeTempCollocation
  3755. message C2S_ChangeTempCollocation // IActorLeagueRequest
  3756. {
  3757. int32 RpcId = 90;
  3758. int64 RoleId = 91;
  3759. repeated int32 TempEquipIds = 1; //临时穿搭
  3760. }
  3761. message S2C_ChangeTempCollocation // IActorLeagueResponse
  3762. {
  3763. int32 RpcId = 90;
  3764. int32 Error = 91;
  3765. string Message = 92;
  3766. repeated int32 TempEquipIds = 1; //临时穿搭---如果本次活动提交过搭配方案,即使使用该协议提交临时搭配依然以 提交过正式搭配的为基准
  3767. }
  3768. //通知茶会状态
  3769. message S2C_TeapartyStatus // IActorMessage
  3770. {
  3771. int32 TeapartyId = 1; //茶会期数 --未开启则期数为0
  3772. int32 Status = 2; // 0未开启 1集结中 2已集结
  3773. int64 TeaPartyCloseTime = 3; //茶会倒计时显示那里的截至时间
  3774. }
  3775. //服务端推送每个扮演角色坑位信息最新情况
  3776. message S2C_RoleContainerInfos // IActorMessage
  3777. {
  3778. repeated RoleContainerProto RoleContainerList = 1;
  3779. }
  3780. //服务端推送雅集评分分数+雅集评分对应的领奖状态
  3781. message S2C_LeagueScore // IActorMessage
  3782. {
  3783. int32 LeagueScore = 1; //雅集评分分数
  3784. repeated int32 LeagueAwardStatusVs = 2; //雅集评分对应的领奖状态 由枚举 ConstBonusStatus
  3785. }
  3786. //========================许愿池协议
  3787. //许愿池许愿记录
  3788. //ResponseType S2C_AddWishingPoolInfo
  3789. message C2S_AddWishingPoolInfo // IActorLocationRequest
  3790. {
  3791. int32 RpcId = 90;
  3792. int32 SuitId = 1; //许愿的套装id
  3793. int32 ActivityId = 2; //活动id
  3794. }
  3795. message S2C_AddWishingPoolInfo // IActorLocationResponse
  3796. {
  3797. int32 RpcId = 90;
  3798. int32 Error = 91;
  3799. string Message = 92;
  3800. int32 ActivityId = 1; //活动id
  3801. bool Status = 2; //true已进行许愿 false未进行许愿
  3802. }
  3803. //获取许愿池许愿记录
  3804. //ResponseType S2C_GetWishingPoolInfo
  3805. message C2S_GetWishingPoolInfo // IActorLocationRequest
  3806. {
  3807. int32 RpcId = 90;
  3808. }
  3809. message S2C_GetWishingPoolInfo // IActorLocationResponse
  3810. {
  3811. int32 RpcId = 90;
  3812. int32 Error = 91;
  3813. string Message = 92;
  3814. repeated int32 KsActivityId = 1; //活动ids--只存放开启中的许愿池活动id
  3815. repeated bool VsStatus = 2; //true已进行许愿 false未进行许愿
  3816. }
  3817. //活动开启服务端推送最新许愿记录
  3818. message S2C_PushWishingPoolInfo // IActorMessage
  3819. {
  3820. repeated int32 KsActivityId = 1; //活动ids--只存放开启中的许愿池活动id
  3821. repeated bool VsStatus = 2; //true已进行许愿 false未进行许愿
  3822. }
  3823. //============================================阿福的赠礼
  3824. //阿福赠礼详细信息
  3825. message ActivityLoginInfoProto
  3826. {
  3827. bool ActivityIsOpen = 1; //阿福赠礼活动是否开启
  3828. long EndTime = 2; //阿福赠礼活动截止时间
  3829. int32 IndexDay = 3; //当前开到第几天
  3830. bool IsBuy = 4; //是否购买了加赠 true.已购买 false.未购买
  3831. repeated int32 FreeRewardStatusList = 5; //对应每天的奖励状态列表--由枚举 ConstBonusStatus 索引按照天数1-N对应奖励状态
  3832. repeated int32 PayRewardStatusList = 6; //对应每天的超级奖励状态列表--由枚举 ConstBonusStatus 索引按照天数1-N对应奖励状态
  3833. }
  3834. //获取玩家阿福赠礼的信息
  3835. //ResponseType S2C_GetActivityLoginInfo
  3836. message C2S_GetActivityLoginInfo // IActorLocationRequest
  3837. {
  3838. int32 RpcId = 90;
  3839. }
  3840. message S2C_GetActivityLoginInfo // IActorLocationResponse
  3841. {
  3842. int32 RpcId = 90;
  3843. int32 Error = 91;
  3844. string Message = 92;
  3845. ActivityLoginInfoProto ActivityLoginInfo = 1;
  3846. }
  3847. //领取阿福赠礼奖励(免费奖励,花钱的奖励)
  3848. //ResponseType S2C_GetActivityLoginReward
  3849. message C2S_GetActivityLoginReward // IActorLocationRequest
  3850. {
  3851. int32 RpcId = 90;
  3852. bool IsPay = 1; //true.领取付费奖励 false.领取免费奖励
  3853. int32 RewardDay = 2; //领取哪天的奖励
  3854. }
  3855. message S2C_GetActivityLoginReward // IActorLocationResponse
  3856. {
  3857. int32 RpcId = 90;
  3858. int32 Error = 91;
  3859. string Message = 92;
  3860. ActivityLoginInfoProto ActivityLoginInfo = 1;
  3861. repeated ItemInfoProto BonusList = 2; //奖励列表
  3862. }
  3863. //服务端推送同步玩家最新的阿福赠礼信息--推送情况:购买阿福赠礼,活动开启,活动关闭
  3864. message S2C_PushActivityLoginInfo // IActorMessage
  3865. {
  3866. ActivityLoginInfoProto ActivityLoginInfo = 1;
  3867. }
  3868. //阿福赠礼一键领取--需要加购才拥有一键领取功能
  3869. //ResponseType S2C_GetAllActivityLoginReward
  3870. message C2S_GetAllActivityLoginReward // IActorLocationRequest
  3871. {
  3872. int32 RpcId = 90;
  3873. }
  3874. message S2C_GetAllActivityLoginReward // IActorLocationResponse
  3875. {
  3876. int32 RpcId = 90;
  3877. int32 Error = 91;
  3878. string Message = 92;
  3879. ActivityLoginInfoProto ActivityLoginInfo = 1;
  3880. repeated ItemInfoProto BonusList = 2; //奖励列表
  3881. }
  3882. //IOS验证订单,进行发货--C2S_ShopBuy请求之后
  3883. //ResponseType S2C_IosVerifyOrder
  3884. message C2S_IosVerifyOrder // IActorLocationRequest
  3885. {
  3886. int32 RpcId = 90;
  3887. string OrderId = 1;
  3888. string TransactionId = 2;
  3889. int32 EnvironmentType = 3; //1正式环境 0沙盒环境
  3890. }
  3891. message S2C_IosVerifyOrder // IActorLocationResponse
  3892. {
  3893. int32 RpcId = 90;
  3894. int32 Error = 91;
  3895. string Message = 92;
  3896. string OrderId = 1;
  3897. string TransactionId = 2;
  3898. }
  3899. message GameInfoProto
  3900. {
  3901. int32 GameId = 1; //游戏id
  3902. int32 GameType = 2;
  3903. bool IsCleared = 4; //true通关 false未通关
  3904. repeated int32 StarRewardStatus = 5; //星级奖励状态 ConstBonusStatus
  3905. bool IsUnlock = 6; //是否解锁
  3906. int32 PlayCount = 7; //游玩次数
  3907. int32 FirstPassRewardStatus = 8; // 首通奖励状态 ConstBonusStatus
  3908. }
  3909. //获取活动内的小游戏关卡信息列表--GameType-GameId 只有一条数据
  3910. //ResponseType S2C_GetActivityGameInfos
  3911. message C2S_GetActivityGameInfos // IActorLocationRequest
  3912. {
  3913. int32 RpcId = 90;
  3914. int32 ActivityId = 1;
  3915. }
  3916. message S2C_GetActivityGameInfos // IActorLocationResponse
  3917. {
  3918. int32 RpcId = 90;
  3919. int32 Error = 91;
  3920. string Message = 92;
  3921. repeated GameInfoProto GameInfoList = 1;
  3922. }
  3923. //小游戏开始游戏
  3924. //ResponseType S2C_MiniGameStart
  3925. message C2S_MiniGameStart // IActorLocationRequest
  3926. {
  3927. int32 RpcId = 90;
  3928. int32 GameId = 1; //小游戏Id
  3929. int32 GameType = 2; //小游戏类型
  3930. int32 ActivityId = 3; //活动id
  3931. }
  3932. message S2C_MiniGameStart // IActorLocationResponse
  3933. {
  3934. int32 RpcId = 90;
  3935. int32 Error = 91;
  3936. string Message = 92;
  3937. }
  3938. //小游戏结束
  3939. //ResponseType S2C_MiniGameEnd
  3940. message C2S_MiniGameEnd // IActorLocationRequest
  3941. {
  3942. int32 RpcId = 90;
  3943. int32 GameId = 1; //小游戏Id
  3944. int32 GameType = 2; //小游戏类型
  3945. int32 TotalTime = 3; //游戏用时 单位s
  3946. bool IsWin = 4; //ture胜利 false失败
  3947. int32 ActivityId = 5; //活动id
  3948. }
  3949. message S2C_MiniGameEnd // IActorLocationResponse
  3950. {
  3951. int32 RpcId = 90;
  3952. int32 Error = 91;
  3953. string Message = 92;
  3954. repeated ItemInfoProto BonusList = 1; //奖励列表
  3955. GameInfoProto GameInfo = 2;
  3956. }
  3957. //小游戏关卡解锁
  3958. //ResponseType S2C_MiniGameUnlock
  3959. message C2S_MiniGameUnlock // IActorLocationRequest
  3960. {
  3961. int32 RpcId = 90;
  3962. int32 GameId = 1; //小游戏Id
  3963. int32 GameType = 2; //小游戏类型
  3964. int32 ActivityId = 3; //活动id
  3965. }
  3966. message S2C_MiniGameUnlock // IActorLocationResponse
  3967. {
  3968. int32 RpcId = 90;
  3969. int32 Error = 91;
  3970. string Message = 92;
  3971. }
  3972. //领取星级奖励
  3973. //ResponseType S2C_GetStarMiniGameRewrd
  3974. message C2S_GetStarMiniGameRewrd // IActorLocationRequest
  3975. {
  3976. int32 RpcId = 90;
  3977. int32 GameId = 1; //小游戏Id
  3978. int32 GameType = 2; //小游戏类型
  3979. int32 ActivityId = 3; //活动id
  3980. int32 Star = 4; //星级
  3981. }
  3982. message S2C_GetStarMiniGameRewrd // IActorLocationResponse
  3983. {
  3984. int32 RpcId = 90;
  3985. int32 Error = 91;
  3986. string Message = 92;
  3987. repeated ItemInfoProto BonusList = 1; //奖励列表
  3988. GameInfoProto GameInfo = 2;
  3989. }
  3990. //领取首通奖励
  3991. //ResponseType S2C_GetFirstPassReward
  3992. message C2S_GetFirstPassReward // IActorLocationRequest
  3993. {
  3994. int32 RpcId = 90;
  3995. int32 GameId = 1; //小游戏Id
  3996. int32 GameType = 2; //小游戏类型
  3997. int32 ActivityId = 3; //活动id
  3998. }
  3999. message S2C_GetFirstPassReward // IActorLocationResponse
  4000. {
  4001. int32 RpcId = 90;
  4002. int32 Error = 91;
  4003. string Message = 92;
  4004. repeated ItemInfoProto BonusList = 1; //奖励列表
  4005. GameInfoProto GameInfo = 2;
  4006. }
  4007. //修改限定数值,且每日重置为0---用来做今日不提示功能
  4008. //ResponseType S2C_UpLimitNumericValue
  4009. message C2S_UpLimitNumericValue // IActorLocationRequest
  4010. {
  4011. int32 RpcId = 90;
  4012. int32 NumericType = 1; //数值类型 限定NumericType.IsPropYchmActivity 与 NumericType.IsPropCzykActivity (服务端开放修改的数值要慎重)
  4013. int32 NumericVal = 2; //值
  4014. }
  4015. message S2C_UpLimitNumericValue // IActorLocationResponse
  4016. {
  4017. int32 RpcId = 90;
  4018. int32 Error = 91;
  4019. string Message = 92;
  4020. int32 NumericType = 1;
  4021. int32 NumericVal = 2;
  4022. }
  4023. //获取物品收集量
  4024. //ResponseType S2C_GetItemCollect
  4025. message C2S_GetItemCollect // IActorLocationRequest
  4026. {
  4027. int32 RpcId = 90;
  4028. }
  4029. message S2C_GetItemCollect // IActorLocationResponse
  4030. {
  4031. int32 RpcId = 90;
  4032. int32 Error = 91;
  4033. string Message = 92;
  4034. repeated int ItemIds = 1; //收集的物品id
  4035. repeated int Counts = 2; //收集的数量
  4036. }
  4037. //推送物品收集量
  4038. message S2C_ItemCollect // IActorMessage
  4039. {
  4040. repeated int ItemIds = 1; //收集的物品id
  4041. repeated int Counts = 2; //收集的数量
  4042. }
  4043. //合成活动=======================
  4044. //部件合成信息
  4045. message ItemSyntheticProto
  4046. {
  4047. int32 ItemId = 1; //部件id
  4048. int32 Status = 2; //1.未合成 2.已合成
  4049. }
  4050. //获取合成列表--已经废弃
  4051. //ResponseType S2C_GetItemSyntheticInfos
  4052. message C2S_GetItemSyntheticInfos // IActorLocationRequest
  4053. {
  4054. int32 RpcId = 90;
  4055. int32 ActivityId = 1; //活动id
  4056. }
  4057. message S2C_GetItemSyntheticInfos // IActorLocationResponse
  4058. {
  4059. int32 RpcId = 90;
  4060. int32 Error = 91;
  4061. string Message = 92;
  4062. repeated ItemSyntheticProto ItemSynthetics = 1;
  4063. }
  4064. //部件合成
  4065. //ResponseType S2C_ItemSynthetic
  4066. message C2S_ItemSynthetic // IActorLocationRequest
  4067. {
  4068. int32 RpcId = 90;
  4069. int32 ActivityId = 1; //活动id
  4070. int32 ItemId = 2; //需要合成的物品id
  4071. }
  4072. message S2C_ItemSynthetic // IActorLocationResponse
  4073. {
  4074. int32 RpcId = 90;
  4075. int32 Error = 91;
  4076. string Message = 92;
  4077. repeated ItemInfoProto BonusList = 1; //合成获得的物品列表
  4078. }
  4079. //拜访活动========================
  4080. //npc信息
  4081. message NpcVisitProto
  4082. {
  4083. int32 ActivityId = 1; //活动id
  4084. int32 NpcId = 2;
  4085. int32 UnlockStatus = 3; //0.未解锁 1.可解锁 2.已解锁
  4086. int32 RewrdStatus = 4; //礼盒奖励状态
  4087. }
  4088. //获取npc列表信息
  4089. //ResponseType S2C_GetNpcVisits
  4090. message C2S_GetNpcVisits // IActorLocationRequest
  4091. {
  4092. int32 RpcId = 90;
  4093. int32 ActivityId = 1; //活动id
  4094. }
  4095. message S2C_GetNpcVisits // IActorLocationResponse
  4096. {
  4097. int32 RpcId = 90;
  4098. int32 Error = 91;
  4099. string Message = 92;
  4100. repeated NpcVisitProto NpcVisits = 1;
  4101. }
  4102. //解锁npc
  4103. //ResponseType S2C_UnlockNpcVisit
  4104. message C2S_UnlockNpcVisit // IActorLocationRequest
  4105. {
  4106. int32 RpcId = 90;
  4107. int32 ActivityId = 1; //活动id
  4108. int32 NpcId = 2;
  4109. }
  4110. message S2C_UnlockNpcVisit // IActorLocationResponse
  4111. {
  4112. int32 RpcId = 90;
  4113. int32 Error = 91;
  4114. string Message = 92;
  4115. repeated NpcVisitProto NpcVisits = 1;
  4116. }
  4117. //领取npc礼盒
  4118. //ResponseType S2C_GetNpcVisitRewrd
  4119. message C2S_GetNpcVisitRewrd // IActorLocationRequest
  4120. {
  4121. int32 RpcId = 90;
  4122. int32 ActivityId = 1; //活动id
  4123. int32 NpcId = 2;
  4124. }
  4125. message S2C_GetNpcVisitRewrd // IActorLocationResponse
  4126. {
  4127. int32 RpcId = 90;
  4128. int32 Error = 91;
  4129. string Message = 92;
  4130. repeated NpcVisitProto NpcVisits = 1;
  4131. repeated ItemInfoProto BonusList = 2; //礼盒奖励
  4132. }
  4133. //任务完成推送最新npc礼盒等状态
  4134. message S2C_PushNpcVisits // IActorMessage
  4135. {
  4136. repeated NpcVisitProto NpcVisits = 1;
  4137. }
  4138. //推送最新排队的信息
  4139. message G2C_UpdateQueue // IMessage
  4140. {
  4141. int32 Index = 1; //所在的位置
  4142. int32 Count = 2; //当前排队的总人数
  4143. }
  4144. //取消排队
  4145. //ResponseType G2C_CancelQueue
  4146. message C2G_CancelQueue // IRequest
  4147. {
  4148. int32 RpcId = 90;
  4149. int64 UnitId = 1; //玩家的id
  4150. }
  4151. message G2C_CancelQueue // IResponse
  4152. {
  4153. int32 RpcId = 90;
  4154. int32 Error = 91;
  4155. string Message = 92;
  4156. }
  4157. //获取招财进宝类型的活动奖励列表
  4158. //ResponseType S2C_GetDressRewrdStatusList
  4159. message C2S_GetDressRewrdStatusList // IActorLocationRequest
  4160. {
  4161. int32 RpcId = 90;
  4162. int32 ActivityId = 1; //活动id
  4163. }
  4164. message S2C_GetDressRewrdStatusList // IActorLocationResponse
  4165. {
  4166. int32 RpcId = 90;
  4167. int32 Error = 91;
  4168. string Message = 92;
  4169. repeated int RewrdIds = 1; //已经领取的奖励id
  4170. }
  4171. //领取招财进宝类型的活动奖励
  4172. //ResponseType S2C_GetDressRewrd
  4173. message C2S_GetDressRewrd // IActorLocationRequest
  4174. {
  4175. int32 RpcId = 90;
  4176. int32 ActivityId = 1; //活动id
  4177. int32 RewrdId = 2; //ActivityDressCfg.id
  4178. }
  4179. message S2C_GetDressRewrd // IActorLocationResponse
  4180. {
  4181. int32 RpcId = 90;
  4182. int32 Error = 91;
  4183. string Message = 92;
  4184. repeated int RewrdIds = 1; //已经领取的奖励ids
  4185. repeated ItemInfoProto BonusList = 2; //兑换后获得的物品奖励
  4186. }
  4187. //获取成长基金奖励状态列表
  4188. //ResponseType S2C_GetGrowthFundRewrdStatus
  4189. message C2S_GetGrowthFundRewrdStatus // IActorLocationRequest
  4190. {
  4191. int32 RpcId = 90;
  4192. int32 ActivityId = 1; //活动id
  4193. }
  4194. message S2C_GetGrowthFundRewrdStatus // IActorLocationResponse
  4195. {
  4196. int32 RpcId = 90;
  4197. int32 Error = 91;
  4198. string Message = 92;
  4199. repeated int RewrdIds = 1; //已经领取的奖励ids
  4200. }
  4201. //领取成长基金奖励
  4202. //ResponseType S2C_GetGrowthFundRewrd
  4203. message C2S_GetGrowthFundRewrd // IActorLocationRequest
  4204. {
  4205. int32 RpcId = 90;
  4206. int32 ActivityId = 1; //活动id
  4207. int32 RewrdId = 2; //GrowthFundCfg.id
  4208. }
  4209. message S2C_GetGrowthFundRewrd // IActorLocationResponse
  4210. {
  4211. int32 RpcId = 90;
  4212. int32 Error = 91;
  4213. string Message = 92;
  4214. repeated int RewrdIds = 1; //已经领取的奖励ids
  4215. repeated ItemInfoProto BonusList = 2; //兑换后获得的物品奖励
  4216. }
  4217. //获取红包信息
  4218. //ResponseType S2C_GetRedPacketInfo
  4219. message C2S_GetRedPacketInfo // IActorLocationRequest
  4220. {
  4221. int32 RpcId = 90;
  4222. int32 ActivityId = 1;
  4223. }
  4224. message S2C_GetRedPacketInfo // IActorLocationResponse
  4225. {
  4226. int32 RpcId = 90;
  4227. int32 Error = 91;
  4228. string Message = 92;
  4229. int32 ActivityId = 1;
  4230. int32 Status = 2; //红包状态 由RedPacketStatus定义
  4231. int32 ItemId = 3; //奖励物品
  4232. int64 ItemNum = 4; //奖励数量(单倍)
  4233. }
  4234. //开红包
  4235. //ResponseType S2C_ReqOpenRedPacket
  4236. message C2S_ReqOpenRedPacket // IActorLocationRequest
  4237. {
  4238. int32 RpcId = 90;
  4239. int32 ActivityId = 1;
  4240. }
  4241. message S2C_ReqOpenRedPacket // IActorLocationResponse
  4242. {
  4243. int32 RpcId = 90;
  4244. int32 Error = 91;
  4245. string Message = 92;
  4246. int32 ActivityId = 1;
  4247. int32 ItemId = 2; //奖励物品
  4248. int64 ItemNum = 3; //奖励数量(单倍)
  4249. }
  4250. //通知红包双倍
  4251. message S2C_NoticeRedPacketDouble // IActorMessage
  4252. {
  4253. int32 ActivityId = 1;
  4254. int32 ItemId = 2; //奖励物品
  4255. int64 ItemNum = 3; //奖励数量(双倍)
  4256. }
  4257. //双倍红包
  4258. //ResponseType S2C_ReqDoubleRedPacket
  4259. message C2S_ReqDoubleRedPacket // IActorLocationRequest
  4260. {
  4261. int32 RpcId = 90;
  4262. int32 ActivityId = 1;
  4263. }
  4264. message S2C_ReqDoubleRedPacket // IActorLocationResponse
  4265. {
  4266. int32 RpcId = 90;
  4267. int32 Error = 91;
  4268. string Message = 92;
  4269. }
  4270. //获取活动签到奖励状态
  4271. //ResponseType S2C_GetActivitySignInfos
  4272. message C2S_GetActivitySignInfos // IActorLocationRequest
  4273. {
  4274. int32 RpcId = 90;
  4275. int32 ActivityId = 1;
  4276. }
  4277. message S2C_GetActivitySignInfos // IActorLocationResponse
  4278. {
  4279. int32 RpcId = 90;
  4280. int32 Error = 91;
  4281. string Message = 92;
  4282. int32 ActivityId = 1;
  4283. repeated int32 ksDay = 2; //登录第几天列表
  4284. repeated int32 vsStatus = 3; //奖励状态列表
  4285. }
  4286. //活动签到领取奖励
  4287. //ResponseType S2C_ReqGetAcitivitySignBonus
  4288. message C2S_ReqGetAcitivitySignBonus // IActorLocationRequest
  4289. {
  4290. int32 RpcId = 90;
  4291. int32 ActivityId = 1;
  4292. int32 Day = 2; //领的第几天
  4293. }
  4294. message S2C_ReqGetAcitivitySignBonus // IActorLocationResponse
  4295. {
  4296. int32 RpcId = 90;
  4297. int32 Error = 91;
  4298. string Message = 92;
  4299. int32 ActivityId = 1;
  4300. int32 Day = 2; //领的第几天
  4301. }
  4302. //========================================================合成副本增加的协议
  4303. //评分奖励状态列表获取
  4304. //ResponseType S2C_GetInstanceZonesRatingRewardList
  4305. message C2S_GetInstanceZonesRatingRewardList // IActorLocationRequest
  4306. {
  4307. int32 RpcId = 90;
  4308. int32 StoryLevelId = 1; //关卡id
  4309. }
  4310. message S2C_GetInstanceZonesRatingRewardList // IActorLocationResponse
  4311. {
  4312. int32 RpcId = 90;
  4313. int32 Error = 91;
  4314. string Message = 92;
  4315. int32 StoryLevelId = 1; //关卡id
  4316. repeated int RewardKs = 2; //奖励ids
  4317. repeated int RewardVs = 3; //奖励状态
  4318. }
  4319. //评分奖励领取
  4320. //ResponseType S2C_GetInstanceZonesRatingReward
  4321. message C2S_GetInstanceZonesRatingReward // IActorLocationRequest
  4322. {
  4323. int32 RpcId = 90;
  4324. int32 StoryLevelId = 1; //关卡id
  4325. int32 RewardId = 2; //奖励id
  4326. }
  4327. message S2C_GetInstanceZonesRatingReward // IActorLocationResponse
  4328. {
  4329. int32 RpcId = 90;
  4330. int32 Error = 91;
  4331. string Message = 92;
  4332. int32 StoryLevelId = 1; //关卡id
  4333. repeated int RewardKs = 2; //奖励ids
  4334. repeated int RewardVs = 3; //奖励状态
  4335. repeated ItemInfoProto BonusList = 4; //获得的物品奖励
  4336. }
  4337. //全部评分奖励领取
  4338. //ResponseType S2C_GetAllInstanceZonesRatingReward
  4339. message C2S_GetAllInstanceZonesRatingReward // IActorLocationRequest
  4340. {
  4341. int32 RpcId = 90;
  4342. int32 StoryLevelId = 1; //关卡id
  4343. }
  4344. message S2C_GetAllInstanceZonesRatingReward // IActorLocationResponse
  4345. {
  4346. int32 RpcId = 90;
  4347. int32 Error = 91;
  4348. string Message = 92;
  4349. repeated ItemInfoProto BonusList = 1; //获得的物品奖励
  4350. repeated int RewardKs = 2; //奖励ids
  4351. repeated int RewardVs = 3; //奖励状态
  4352. }
  4353. //章节奖励列表
  4354. //ResponseType S2C_GetChapterRewardList
  4355. message C2S_GetChapterRewardList // IActorLocationRequest
  4356. {
  4357. int32 RpcId = 90;
  4358. }
  4359. message S2C_GetChapterRewardList // IActorLocationResponse
  4360. {
  4361. int32 RpcId = 90;
  4362. int32 Error = 91;
  4363. string Message = 92;
  4364. repeated int RewardIds = 1; //已经领取的奖励ids
  4365. }
  4366. //领取章节奖励
  4367. //ResponseType S2C_GetChapterReward
  4368. message C2S_GetChapterReward // IActorLocationRequest
  4369. {
  4370. int32 RpcId = 90;
  4371. int32 RewardId = 1; //奖励id
  4372. }
  4373. message S2C_GetChapterReward // IActorLocationResponse
  4374. {
  4375. int32 RpcId = 90;
  4376. int32 Error = 91;
  4377. string Message = 92;
  4378. repeated int RewardIds = 1; //已经领取的奖励ids
  4379. repeated ItemInfoProto BonusList = 2; //获得的物品奖励
  4380. }
  4381. //关卡排行榜单条数据实体
  4382. message LevelRankProto
  4383. {
  4384. int32 RankIndex = 1; //排名
  4385. string RoleName = 2; //玩家名称
  4386. int32 HeadItemId = 3; //头像物品id
  4387. int32 HeadBorderItemId = 4; //头像框物品id
  4388. int64 RatingScore = 5; //评分
  4389. string LeagueName = 6; //雅集名称
  4390. int64 RoleId = 7;
  4391. int32 RoleLvl = 8;
  4392. }
  4393. //获取关卡排行榜数据协议
  4394. //ResponseType S2C_GetInstanceZonesRankList
  4395. message C2S_GetInstanceZonesRankList // IActorOpenRoleInfoRequest
  4396. {
  4397. int32 RpcId = 90;
  4398. int64 RoleId = 91; //前端不用管
  4399. int32 LevelCfgId = 1; //关卡id
  4400. }
  4401. message S2C_GetInstanceZonesRankList // IActorOpenRoleInfoResponse
  4402. {
  4403. int32 RpcId = 90;
  4404. int32 Error = 91;
  4405. string Message = 92;
  4406. repeated LevelRankProto LevelRankList = 1; //关卡排行榜数据列表
  4407. int64 NexTime = 2; //下次刷新时间,毫秒级时间戳
  4408. LevelRankProto MyLevelRankInfo = 3; //自己的关卡排行榜数据里欸包
  4409. }
  4410. //获取关卡好友排行榜数据协议
  4411. //ResponseType S2C_GetInstanceZonesFriendRankList
  4412. message C2S_GetInstanceZonesFriendRankList // IActorOpenRoleInfoRequest
  4413. {
  4414. int32 RpcId = 90;
  4415. int64 RoleId = 91; //前端不用管
  4416. int32 LevelCfgId = 1; //关卡id
  4417. }
  4418. message S2C_GetInstanceZonesFriendRankList // IActorOpenRoleInfoResponse
  4419. {
  4420. int32 RpcId = 90;
  4421. int32 Error = 91;
  4422. string Message = 92;
  4423. repeated LevelRankProto FriendLevelRankList = 1; //好有关卡排行榜数据列表--100条数据
  4424. LevelRankProto MyLevelRank = 2; // 自己的排行数据,如果在榜单上的话,也会存在于FriendLevelRankList
  4425. }
  4426. //合成排行榜单条数据实体
  4427. message SuitCollectRankProto
  4428. {
  4429. int32 RankIndex = 1; //排名
  4430. string RoleName = 2; //玩家名称
  4431. int32 HeadItemId = 3; //头像物品id
  4432. int32 HeadBorderItemId = 4; //头像框物品id
  4433. int64 TimeSecNum = 5; //用时,单位秒,如:30秒
  4434. int32 CompletedNum = 6; //完成量
  4435. int32 TotalNum = 7; //套装部件总数量
  4436. string LeagueName = 8; //雅集名称
  4437. int32 RoleLvl = 9;
  4438. }
  4439. //获取合成排名榜数据协议
  4440. //ResponseType S2C_GetSuitCollectRankList
  4441. message C2S_GetSuitCollectRankList // IActorOpenRoleInfoRequest
  4442. {
  4443. int32 RpcId = 90;
  4444. int64 RoleId = 91; //前端不用管
  4445. int32 SuitId = 1; //套装id
  4446. }
  4447. message S2C_GetSuitCollectRankList // IActorOpenRoleInfoResponse
  4448. {
  4449. int32 RpcId = 90;
  4450. int32 Error = 91;
  4451. string Message = 92;
  4452. repeated SuitCollectRankProto SuitCollectRankList = 1; //合成排行榜数据列表
  4453. SuitCollectRankProto MySuitCollectRank = 2; // 自己的排行数据,如果在榜单上的话,也会存在于 SuitCollectRankList
  4454. int64 NexTime = 3; //下次刷新时间,毫秒级时间戳
  4455. }
  4456. //获取好友合成排名榜数据协议
  4457. //ResponseType S2C_GetFriendSuitCollectRankList
  4458. message C2S_GetFriendSuitCollectRankList // IActorOpenRoleInfoRequest
  4459. {
  4460. int32 RpcId = 90;
  4461. int64 RoleId = 91; //前端不用管
  4462. int32 SuitId = 1; //套装id
  4463. }
  4464. message S2C_GetFriendSuitCollectRankList // IActorOpenRoleInfoResponse
  4465. {
  4466. int32 RpcId = 90;
  4467. int32 Error = 91;
  4468. string Message = 92;
  4469. repeated SuitCollectRankProto FriendSuitCollectRankList = 1; //好友合成排行榜数据列表
  4470. SuitCollectRankProto MySuitCollectRank = 2; // 自己的排行数据,如果在榜单上的话,也会存在于 FriendSuitCollectRankList
  4471. }
  4472. //添加或者修改数据记录协议
  4473. //ResponseType S2C_UpdateDataRecord
  4474. message C2S_UpdateDataRecord // IActorLocationRequest
  4475. {
  4476. int32 RpcId = 90;
  4477. int64 K = 1; //客户端自定义的键
  4478. int64 V = 2; //客户端自定义的值
  4479. int32 ResetType = 3; //0不重置 1.每日重置值为0 2.每周重置值为0 3.每月重置值为0(目前只有0生效,其他的之后有需求再弄,留个字段只是为了之后有需要可以热更)
  4480. }
  4481. message S2C_UpdateDataRecord // IActorLocationResponse
  4482. {
  4483. int32 RpcId = 90;
  4484. int32 Error = 91;
  4485. string Message = 92;
  4486. repeated int64 Ks = 1; //客户端自定义的所有键
  4487. repeated int64 Vs = 2; //客户端自定义的所有值
  4488. repeated int64 ResetTypes = 3; //客户端自定义的所有对应类型
  4489. }
  4490. //获取数据记录协议
  4491. //ResponseType S2C_GetDataRecord
  4492. message C2S_GetDataRecord // IActorLocationRequest
  4493. {
  4494. int32 RpcId = 90;
  4495. }
  4496. message S2C_GetDataRecord // IActorLocationResponse
  4497. {
  4498. int32 RpcId = 90;
  4499. int32 Error = 91;
  4500. string Message = 92;
  4501. repeated int64 AllKs = 1; //客户端自定义的所有键
  4502. repeated int64 AllVs = 2; //客户端自定义的所有值
  4503. repeated int64 ResetTypes = 3; //客户端自定义的所有对应类型
  4504. }
  4505. //请求高级合成副本关卡最高分数据
  4506. //ResponseType M2C_GetCompositeLevelMaxScoreInfos
  4507. message C2M_GetCompositeLevelMaxScoreInfos // IActorLocationRequest
  4508. {
  4509. int32 RpcId = 90;
  4510. int32 ChapterId = 1; // 章节配置Id
  4511. }
  4512. message M2C_GetCompositeLevelMaxScoreInfos // IActorLocationResponse
  4513. {
  4514. int32 RpcId = 90;
  4515. int32 Error = 91;
  4516. string Message = 92;
  4517. repeated LevelRoleInfoProto LevelRoleInfoList = 1; //关卡数据&最高分玩家列表
  4518. }
  4519. //修改称号
  4520. //ResponseType S2C_UpTitleItem
  4521. message C2S_UpTitleItem // IActorLocationRequest
  4522. {
  4523. int32 RpcId = 90;
  4524. int32 TitleItemId = 1; //称号物品id
  4525. }
  4526. message S2C_UpTitleItem // IActorLocationResponse
  4527. {
  4528. int32 RpcId = 90;
  4529. int32 Error = 91;
  4530. string Message = 92;
  4531. int32 TitleItemId = 1; //称号物品id
  4532. }
  4533. //领取登录礼包奖励
  4534. //ResponseType S2C_GetNewcomerRewards
  4535. message C2S_GetNewcomerRewards // IActorLocationRequest
  4536. {
  4537. int32 RpcId = 90;
  4538. }
  4539. message S2C_GetNewcomerRewards // IActorLocationResponse
  4540. {
  4541. int32 RpcId = 90;
  4542. int32 Error = 91;
  4543. string Message = 92;
  4544. bool Status = 1; //奖励状态
  4545. repeated ItemInfoProto BonusList = 2; //奖励的礼包物品列表
  4546. }
  4547. //获取登录礼包奖励状态
  4548. //ResponseType S2C_GetNewcomerRewardStatus
  4549. message C2S_GetNewcomerRewardStatus // IActorLocationRequest
  4550. {
  4551. int32 RpcId = 90;
  4552. }
  4553. message S2C_GetNewcomerRewardStatus // IActorLocationResponse
  4554. {
  4555. int32 RpcId = 90;
  4556. int32 Error = 91;
  4557. string Message = 92;
  4558. bool Status = 1; //奖励状态
  4559. bool OpenStatus = 2; //开启状态
  4560. }
  4561. //通知登录礼包双状态
  4562. message S2C_PushNewcomerRewardStatus // IActorMessage
  4563. {
  4564. bool Status = 1; //奖励状态
  4565. bool OpenStatus = 2; //开启状态
  4566. }
  4567. //获取关卡章节奖励状态
  4568. //ResponseType S2C_GetChapterPassStatus
  4569. message C2S_GetChapterPassStatus // IActorLocationRequest
  4570. {
  4571. int32 RpcId = 90;
  4572. }
  4573. message S2C_GetChapterPassStatus // IActorLocationResponse
  4574. {
  4575. int32 RpcId = 90;
  4576. int32 Error = 91;
  4577. string Message = 92;
  4578. repeated int32 PassStatusVs = 1; //章节ids
  4579. repeated int32 PassStatusKs = 2; //对应的奖励状态
  4580. }
  4581. //领取关卡章节奖励
  4582. //ResponseType S2C_GethapterPassReward
  4583. message C2S_GethapterPassReward // IActorLocationRequest
  4584. {
  4585. int32 RpcId = 90;
  4586. int32 ChapterId = 1;
  4587. }
  4588. message S2C_GethapterPassReward // IActorLocationResponse
  4589. {
  4590. int32 RpcId = 90;
  4591. int32 Error = 91;
  4592. string Message = 92;
  4593. repeated ItemInfoProto BonusList = 1; //奖励列表
  4594. repeated int32 PassStatusVs = 2; //章节ids
  4595. repeated int32 PassStatusKs = 3; //对应的奖励状态
  4596. }
  4597. //获取赛季段位奖励状态
  4598. //ResponseType S2C_GetSeasonGradeRewardStatus
  4599. message C2S_GetSeasonGradeRewardStatus // IActorArenaRequest
  4600. {
  4601. int32 RpcId = 90;
  4602. int64 RoleId = 91;
  4603. }
  4604. message S2C_GetSeasonGradeRewardStatus // IActorArenaResponse
  4605. {
  4606. int32 RpcId = 90;
  4607. int32 Error = 91;
  4608. string Message = 92;
  4609. repeated int32 RewardStatusVs = 1; //段位id
  4610. repeated int32 RewardStatusKs = 2; //奖励状态
  4611. }
  4612. //领取赛季段位奖励状态
  4613. //ResponseType S2C_GetSeasonGradeReward
  4614. message C2S_GetSeasonGradeReward // IActorArenaRequest
  4615. {
  4616. int32 RpcId = 90;
  4617. int64 RoleId = 91;
  4618. int32 Grade = 1; //需要领取的段位奖励
  4619. }
  4620. message S2C_GetSeasonGradeReward // IActorArenaResponse
  4621. {
  4622. int32 RpcId = 90;
  4623. int32 Error = 91;
  4624. string Message = 92;
  4625. repeated int32 RewardStatusVs = 1; //段位id
  4626. repeated int32 RewardStatusKs = 2; //奖励状态
  4627. repeated ItemInfoProto BonusList = 3; //奖励列表
  4628. }
  4629. //套装3选1=======
  4630. //获取选择的状态
  4631. //ResponseType S2C_GetSuitSelectStatus
  4632. message C2S_GetSuitSelectStatus // IActorLocationRequest
  4633. {
  4634. int32 RpcId = 90;
  4635. }
  4636. message S2C_GetSuitSelectStatus // IActorLocationResponse
  4637. {
  4638. int32 RpcId = 90;
  4639. int32 Error = 91;
  4640. string Message = 92;
  4641. bool Status = 1; //false: 未选择 true:已选择
  4642. int32 SuitId = 2; //已经选择的套装id
  4643. }
  4644. //选择一套套装
  4645. //ResponseType S2C_GetSuitSelectReward
  4646. message C2S_GetSuitSelectReward // IActorLocationRequest
  4647. {
  4648. int32 RpcId = 90;
  4649. int32 SuitId = 1; //选择的套装id
  4650. }
  4651. message S2C_GetSuitSelectReward // IActorLocationResponse
  4652. {
  4653. int32 RpcId = 90;
  4654. int32 Error = 91;
  4655. string Message = 92;
  4656. bool Status = 1; //false: 未选择 true:已选择
  4657. int32 SuitId = 2; //已经选择的套装id
  4658. repeated ItemInfoProto RewardList = 3; //套装部件物品
  4659. }
  4660. //卡牌合成
  4661. //ResponseType M2C_CardSynthetic
  4662. message C2M_CardSynthetic // IActorLocationRequest
  4663. {
  4664. int32 RpcId = 90;
  4665. int32 ItemId = 1;
  4666. }
  4667. message M2C_CardSynthetic // IActorLocationResponse
  4668. {
  4669. int32 RpcId = 90;
  4670. int32 Error = 91;
  4671. string Message = 92;
  4672. repeated ItemInfoProto RewardList = 1; //获得的东西
  4673. int32 Num = 2; //卡牌合成次数
  4674. }
  4675. //获取某张卡牌合成次数
  4676. //ResponseType M2C_GetCardSyntheticNum
  4677. message C2M_GetCardSyntheticNum // IActorLocationRequest
  4678. {
  4679. int32 RpcId = 90;
  4680. int32 ItemId = 1;
  4681. }
  4682. message M2C_GetCardSyntheticNum // IActorLocationResponse
  4683. {
  4684. int32 RpcId = 90;
  4685. int32 Error = 91;
  4686. string Message = 92;
  4687. int32 ItemId = 1; //卡牌id
  4688. int32 Num = 2; //卡牌合成次数
  4689. }
  4690. //SDK订单回调成功或者失败
  4691. //ResponseType M2C_SdkOrderStatusCallback
  4692. message C2M_SdkOrderStatusCallback // IActorLocationRequest
  4693. {
  4694. int32 RpcId = 90;
  4695. string CallbackParams = 1; //回调的字符串
  4696. }
  4697. message M2C_SdkOrderStatusCallback // IActorLocationResponse
  4698. {
  4699. int32 RpcId = 90;
  4700. int32 Error = 91;
  4701. string Message = 92;
  4702. }
  4703. //=======================================学院协议
  4704. //部位信息
  4705. message CollectPartInfo
  4706. {
  4707. int32 CollectPartType = 1; //部位由枚举 CollectPartID
  4708. int32 Stage = 2; //阶段
  4709. int32 Lvl = 3; //等级
  4710. }
  4711. //获取各个部位的技能学习信息
  4712. //ResponseType M2C_GetDressUpSkillDes
  4713. message C2M_GetDressUpSkillDes // IActorLocationRequest
  4714. {
  4715. int32 RpcId = 90;
  4716. }
  4717. message M2C_GetDressUpSkillDes // IActorLocationResponse
  4718. {
  4719. int32 RpcId = 90;
  4720. int32 Error = 91;
  4721. string Message = 92;
  4722. repeated CollectPartInfo CollectPartInfos = 1; //每个部位的技能信息
  4723. }
  4724. //学习,升级部位技能
  4725. //ResponseType M2C_UpDressUpSkill
  4726. message C2M_UpDressUpSkill // IActorLocationRequest
  4727. {
  4728. int32 RpcId = 90;
  4729. int32 CollectPartType = 1; //部位由枚举 CollectPartID
  4730. int32 Stage = 2; //阶段
  4731. int32 Lvl = 3; //等级
  4732. }
  4733. message M2C_UpDressUpSkill // IActorLocationResponse
  4734. {
  4735. int32 RpcId = 90;
  4736. int32 Error = 91;
  4737. string Message = 92;
  4738. CollectPartInfo CollectPartInfo = 1; //每个部位的技能信息
  4739. }
  4740. //分享记录次数, 有奖励返回哦
  4741. //ResponseType M2C_ShareRecordTimes
  4742. message C2M_ShareRecordTimes // IActorLocationRequest
  4743. {
  4744. int32 RpcId = 90;
  4745. }
  4746. message M2C_ShareRecordTimes // IActorLocationResponse
  4747. {
  4748. int32 RpcId = 90;
  4749. int32 Error = 91;
  4750. string Message = 92;
  4751. int32 TotalShareNum = 1;
  4752. int32 DayShareNum = 2;
  4753. repeated ItemInfoProto RewardList = 3;
  4754. }
  4755. //=========================消暑礼包===已废弃
  4756. //获取玩家消暑礼包状态
  4757. //ResponseType M2C_GetSummerVacationBoxList
  4758. message C2M_GetSummerVacationBoxList // IActorLocationRequest
  4759. {
  4760. int32 RpcId = 90;
  4761. int ActivityId = 1;
  4762. }
  4763. message M2C_GetSummerVacationBoxList // IActorLocationResponse
  4764. {
  4765. int32 RpcId = 90;
  4766. int32 Error = 91;
  4767. string Message = 92;
  4768. repeated int OrdinaryRewardStatus = 1; //普通奖励状态,按照配置顺序索引的奖励状态
  4769. repeated int PayRewardStatus = 2; //付费奖励状态,按照配置顺序索引的奖励状态
  4770. bool IsBuyActivityShop = 3; //是否购买活动对应的 消暑礼包
  4771. }
  4772. //领取单个消暑礼包的奖励
  4773. //ResponseType M2C_GetSummerVacationBoxReward
  4774. message C2M_GetSummerVacationBoxReward // IActorLocationRequest
  4775. {
  4776. int32 RpcId = 90;
  4777. int ActivityId = 1;
  4778. int Day = 2; //天
  4779. }
  4780. message M2C_GetSummerVacationBoxReward // IActorLocationResponse
  4781. {
  4782. int32 RpcId = 90;
  4783. int32 Error = 91;
  4784. string Message = 92;
  4785. repeated int OrdinaryRewardStatus = 1; //普通奖励状态,按照配置顺序索引的奖励状态
  4786. repeated int PayRewardStatus = 2; //付费奖励状态,按照配置顺序索引的奖励状态
  4787. repeated ItemInfoProto Rewards = 3; //领取得到的奖励
  4788. }
  4789. //一键领取消暑礼包奖励
  4790. //ResponseType M2C_GetAllSummerVacationBoxReward
  4791. message C2M_GetAllSummerVacationBoxReward // IActorLocationRequest
  4792. {
  4793. int32 RpcId = 90;
  4794. int ActivityId = 1;
  4795. }
  4796. message M2C_GetAllSummerVacationBoxReward // IActorLocationResponse
  4797. {
  4798. int32 RpcId = 90;
  4799. int32 Error = 91;
  4800. string Message = 92;
  4801. repeated int OrdinaryRewardStatus = 1; //普通奖励状态,按照配置顺序索引的奖励状态
  4802. repeated int PayRewardStatus = 2; //付费奖励状态,按照配置顺序索引的奖励状态
  4803. repeated ItemInfoProto Rewards = 3; //领取得到的奖励
  4804. }
  4805. //============================================阿福的赠礼->消暑礼包
  4806. //获取玩家消暑礼包的信息
  4807. //ResponseType S2C_GetActivityLoginInfoExt
  4808. message C2S_GetActivityLoginInfoExt // IActorLocationRequest
  4809. {
  4810. int32 RpcId = 90;
  4811. }
  4812. message S2C_GetActivityLoginInfoExt // IActorLocationResponse
  4813. {
  4814. int32 RpcId = 90;
  4815. int32 Error = 91;
  4816. string Message = 92;
  4817. ActivityLoginInfoProto ActivityLoginInfo = 1;
  4818. }
  4819. //领取消暑礼包奖励(免费奖励,花钱的奖励)
  4820. //ResponseType S2C_GetActivityLoginRewardExt
  4821. message C2S_GetActivityLoginRewardExt // IActorLocationRequest
  4822. {
  4823. int32 RpcId = 90;
  4824. bool IsPay = 1; //true.领取付费奖励 false.领取免费奖励
  4825. int32 RewardDay = 2; //领取哪天的奖励
  4826. }
  4827. message S2C_GetActivityLoginRewardExt // IActorLocationResponse
  4828. {
  4829. int32 RpcId = 90;
  4830. int32 Error = 91;
  4831. string Message = 92;
  4832. ActivityLoginInfoProto ActivityLoginInfo = 1;
  4833. repeated ItemInfoProto BonusList = 2; //奖励列表
  4834. }
  4835. //服务端推送同步玩家最新的消暑礼包信息--推送情况:购买消暑礼包,活动开启,活动关闭
  4836. message S2C_PushActivityLoginInfoExt // IActorMessage
  4837. {
  4838. ActivityLoginInfoProto ActivityLoginInfo = 1;
  4839. }
  4840. //消暑礼包一键领取--需要加购才拥有一键领取功能
  4841. //ResponseType S2C_GetAllActivityLoginRewardExt
  4842. message C2S_GetAllActivityLoginRewardExt // IActorLocationRequest
  4843. {
  4844. int32 RpcId = 90;
  4845. }
  4846. message S2C_GetAllActivityLoginRewardExt // IActorLocationResponse
  4847. {
  4848. int32 RpcId = 90;
  4849. int32 Error = 91;
  4850. string Message = 92;
  4851. ActivityLoginInfoProto ActivityLoginInfo = 1;
  4852. repeated ItemInfoProto BonusList = 2; //奖励列表
  4853. }
  4854. //========================================搭配评选赛====================================
  4855. //搭配信息
  4856. message CollocationInfo
  4857. {
  4858. string ItemId = 1; //物品id
  4859. string ClientPosition = 2; //客户端用的xy位置
  4860. }
  4861. //作品信息,用于JudgingRoundRoleInfo, 自己上传的作品信息
  4862. message MyWorksIdInfo
  4863. {
  4864. int64 Score = 1; //心动分
  4865. int32 Rank = 2; //排名
  4866. int64 WorksId = 3; //作品id
  4867. string PictureTempUrl = 4; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
  4868. repeated CollocationInfo CollocationInfoList = 5;
  4869. }
  4870. //玩家搭配作品信息
  4871. message JudgingRoundRoleInfo
  4872. {
  4873. long RoleId = 1; //角色id
  4874. string RoleName = 2; //角色名称
  4875. string LeagueName = 4; //联盟名称
  4876. int32 HeadItemId = 5; //头像物品id
  4877. int32 HeadBorderItemId = 6; //头像框物品id
  4878. int64 Score = 7; //心动分
  4879. int32 Rank = 8; //排名
  4880. int64 WorksId = 9; //作品id
  4881. string PictureTempUrl = 10; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
  4882. repeated CollocationInfo CollocationInfoList = 11;
  4883. int32 BagId = 12; //背景id
  4884. int32 ActionId = 13; //动作id
  4885. int64 CreationTime = 14; //创建时间
  4886. bool ToppingStatus = 15; //置顶状态
  4887. }
  4888. //单条作品集信息
  4889. message WorksCollectionInfo
  4890. {
  4891. int32 OldJudgingRoundOpenId = 1; //往期搭配赛期数id
  4892. string PictureTempUrl = 2; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
  4893. long RoleId = 3; //角色id--用不到
  4894. string RoleName = 4; //角色名称--用不到
  4895. string LeagueName = 5; //联盟名称--用不到
  4896. int64 Score = 6; //心动分--用不到
  4897. }
  4898. //往期作品集单条信息
  4899. message OldTopWorksInfo
  4900. {
  4901. int32 JudgingRoundOpenId = 1; //期数id
  4902. int64 OpenTime = 2; //开启时间,13位毫秒级时间戳
  4903. string MaxScoreWorksUrl = 3; //最高分的玩家图片下载链接
  4904. int64 RoleId = 4; //角色id
  4905. string RoleName = 5;
  4906. }
  4907. //获取搭配评选赛的信息
  4908. //ResponseType S2C_GetJudgingRoundInfo
  4909. message C2S_GetJudgingRoundInfo // IActorJudgingRoundRequest
  4910. {
  4911. int32 RpcId = 90;
  4912. int64 RoleId = 91;
  4913. }
  4914. message S2C_GetJudgingRoundInfo // IActorJudgingRoundResponse
  4915. {
  4916. int32 RpcId = 90;
  4917. int32 Error = 91;
  4918. string Message = 92;
  4919. int32 JudgingRoundOpenId = 1; //当前搭配赛期数id
  4920. int32 PhaseType = 2; //当前处于的阶段类型 1.集结期 2.评选期 3.结算期
  4921. int64 PhaseEndTime = 3; //当前阶段结束时间,13位毫秒级时间戳
  4922. MyWorksIdInfo MyWorks = 4; //本期自己上传的作品信息list--暂时好像用不到
  4923. int32 Num = 5; //当天获奖励次数
  4924. }
  4925. //获取当前排行榜数据(只有50条数据)
  4926. //ResponseType S2C_GetCurJudgingRoundRankList
  4927. message C2S_GetCurJudgingRoundRankList // IActorJudgingRoundRequest
  4928. {
  4929. int32 RpcId = 90;
  4930. int64 RoleId = 91;
  4931. }
  4932. message S2C_GetCurJudgingRoundRankList // IActorJudgingRoundResponse
  4933. {
  4934. int32 RpcId = 90;
  4935. int32 Error = 91;
  4936. string Message = 92;
  4937. repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1; //排行榜玩家信息
  4938. }
  4939. //请求投稿搭配评选赛作品--上传
  4940. //ResponseType S2C_RequestUpLoadJudgingRoundWorks
  4941. message C2S_RequestUpLoadJudgingRoundWorks // IActorJudgingRoundRequest
  4942. {
  4943. int32 RpcId = 90;
  4944. int64 RoleId = 91;
  4945. int32 PictureType = 1; //图片类型jpg,png -- 值由 PictureType 定义
  4946. repeated CollocationInfo CollocationInfoList = 2; //搭配信息
  4947. int32 BagId = 3; //背景id
  4948. int32 ActionId = 4; //动作id
  4949. }
  4950. message S2C_RequestUpLoadJudgingRoundWorks // IActorJudgingRoundResponse
  4951. {
  4952. int32 RpcId = 90;
  4953. int32 Error = 91;
  4954. string Message = 92;
  4955. int64 WorksId = 1; //作品id
  4956. string TempPictureUrl = 2; //图片临时上传url
  4957. }
  4958. //通知服务端上传成功
  4959. //ResponseType S2C_NoticeJudgingRoundWorksUploaded
  4960. message C2S_NoticeJudgingRoundWorksUploaded // IActorJudgingRoundRequest
  4961. {
  4962. int32 RpcId = 90;
  4963. int64 RoleId = 91;
  4964. int64 WorksId = 1; //作品id
  4965. }
  4966. message S2C_NoticeJudgingRoundWorksUploaded // IActorJudgingRoundResponse
  4967. {
  4968. int32 RpcId = 90;
  4969. int32 Error = 91;
  4970. string Message = 92;
  4971. repeated MyWorksIdInfo MyWorksIdInfoList = 1; //本期自己上传的作品信息list
  4972. }
  4973. //往期作品集
  4974. //ResponseType S2C_GetPreviousWorksCollection
  4975. message C2S_GetPreviousWorksCollection // IActorJudgingRoundRequest
  4976. {
  4977. int32 RpcId = 90;
  4978. int64 RoleId = 91;
  4979. }
  4980. message S2C_GetPreviousWorksCollection // IActorJudgingRoundResponse
  4981. {
  4982. int32 RpcId = 90;
  4983. int32 Error = 91;
  4984. string Message = 92;
  4985. repeated WorksCollectionInfo WorksCollectionList = 1; //作品集列表
  4986. }
  4987. //进入往期作品集排行榜:(20条数据)
  4988. //ResponseType S2C_GetOldJudgingRoundRankList
  4989. message C2S_GetOldJudgingRoundRankList // IActorJudgingRoundRequest
  4990. {
  4991. int32 RpcId = 90;
  4992. int64 RoleId = 91;
  4993. int32 JudgingRoundOpenId = 1; //当前搭配赛期数id
  4994. }
  4995. message S2C_GetOldJudgingRoundRankList // IActorJudgingRoundResponse
  4996. {
  4997. int32 RpcId = 90;
  4998. int32 Error = 91;
  4999. string Message = 92;
  5000. repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1; //排行榜玩家信息
  5001. }
  5002. //获取心动选择的两个玩家
  5003. //ResponseType S2C_GetTwoPlayers
  5004. message C2S_GetTwoPlayers // IActorJudgingRoundRequest
  5005. {
  5006. int32 RpcId = 90;
  5007. int64 RoleId = 91;
  5008. }
  5009. message S2C_GetTwoPlayers // IActorJudgingRoundResponse
  5010. {
  5011. int32 RpcId = 90;
  5012. int32 Error = 91;
  5013. string Message = 92;
  5014. repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1; //两个玩家的作品信息
  5015. }
  5016. //选择心动的一个作品
  5017. //ResponseType S2C_SelFavoriteWorks
  5018. message C2S_SelFavoriteWorks // IActorJudgingRoundRequest
  5019. {
  5020. int32 RpcId = 90;
  5021. int64 RoleId = 91;
  5022. int64 WorksId = 1; //心动的作品id
  5023. int64 AnotherWorksId = 2; //另外一个作品id
  5024. }
  5025. message S2C_SelFavoriteWorks // IActorJudgingRoundResponse
  5026. {
  5027. int32 RpcId = 90;
  5028. int32 Error = 91;
  5029. string Message = 92;
  5030. repeated ItemInfoProto BonusList = 1; //普通奖励列表
  5031. repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 2; //两个玩家的作品信息
  5032. int32 Num = 3; //当天获奖励次数
  5033. repeated ItemInfoProto SpecialBonusList = 4; //特殊奖励列表
  5034. }
  5035. //获取一个热门推荐的玩家:
  5036. //ResponseType S2C_GetOnePlayers
  5037. message C2S_GetOnePlayers // IActorJudgingRoundRequest
  5038. {
  5039. int32 RpcId = 90;
  5040. int64 RoleId = 91;
  5041. }
  5042. message S2C_GetOnePlayers // IActorJudgingRoundResponse
  5043. {
  5044. int32 RpcId = 90;
  5045. int32 Error = 91;
  5046. string Message = 92;
  5047. JudgingRoundRoleInfo JudgingRoundRole = 1; //一个玩家的作品信息
  5048. }
  5049. //================搭配评选赛的相册协议
  5050. //C2S获取玩家所有搭配评选赛相册数据协议
  5051. //ResponseType S2C_GetJudgingRoundWorksList
  5052. message C2S_GetJudgingRoundWorksList // IActorJudgingRoundRequest
  5053. {
  5054. int32 RpcId = 90;
  5055. int64 RoleId = 91;
  5056. }
  5057. message S2C_GetJudgingRoundWorksList // IActorJudgingRoundResponse
  5058. {
  5059. int32 RpcId = 90;
  5060. int32 Error = 91;
  5061. string Message = 92;
  5062. repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1;
  5063. }
  5064. //C2S批量删除玩家搭配评选赛相册协议
  5065. //ResponseType S2C_RemovedJudgingRoundWorks
  5066. message C2S_RemovedJudgingRoundWorks // IActorJudgingRoundRequest
  5067. {
  5068. int32 RpcId = 90;
  5069. int64 RoleId = 91;
  5070. repeated int64 WorksIds = 1; //需要删除的作品ids
  5071. }
  5072. message S2C_RemovedJudgingRoundWorks // IActorJudgingRoundResponse
  5073. {
  5074. int32 RpcId = 90;
  5075. int32 Error = 91;
  5076. string Message = 92;
  5077. repeated int64 WorksIds = 1; //删除成功的作品ids
  5078. }
  5079. //C2S修改搭配评选赛图片锁定状态
  5080. //ResponseType S2C_UpJudgingRoundWorksLockingStatus
  5081. message C2S_UpJudgingRoundWorksLockingStatus // IActorJudgingRoundRequest
  5082. {
  5083. int32 RpcId = 90;
  5084. int64 RoleId = 91;
  5085. int64 WorksId = 1;
  5086. bool Status = 2; //作品状态: true锁定 false不锁定
  5087. }
  5088. message S2C_UpJudgingRoundWorksLockingStatus // IActorJudgingRoundResponse
  5089. {
  5090. int32 RpcId = 90;
  5091. int32 Error = 91;
  5092. string Message = 92;
  5093. int64 WorksId = 1;
  5094. bool Status = 2; //作品状态: true置顶 false不置顶
  5095. }
  5096. //C2S修改搭配评选赛作品置顶状态
  5097. //ResponseType S2C_UpJudgingRoundWorksToppingStatus
  5098. message C2S_UpJudgingRoundWorksToppingStatus // IActorJudgingRoundRequest
  5099. {
  5100. int32 RpcId = 90;
  5101. int64 RoleId = 91;
  5102. int64 WorksId = 1;
  5103. bool Status = 2; //作品状态: true置顶 false不置顶
  5104. }
  5105. message S2C_UpJudgingRoundWorksToppingStatus // IActorJudgingRoundResponse
  5106. {
  5107. int32 RpcId = 90;
  5108. int32 Error = 91;
  5109. string Message = 92;
  5110. int64 WorksId = 1;
  5111. bool Status = 2; //作品状态: true置顶 false不置顶
  5112. }
  5113. //服务端推送搭配赛最新状态
  5114. message S2C_PushJudgingRoundInfo // IActorMessage
  5115. {
  5116. int32 JudgingRoundOpenId = 1; //当前搭配赛期数id
  5117. int32 PhaseType = 2; //当前处于的阶段类型 1.集结期 2.评选期 3.结算期
  5118. int64 PhaseEndTime = 3; //当前阶段结束时间,13位毫秒级时间戳
  5119. }
  5120. //=============================爬塔协议
  5121. //词牌磨损信息
  5122. message CardAbrasionInfo
  5123. {
  5124. int32 Card = 1; //卡牌id
  5125. int32 UseNum = 2; //使用次数
  5126. string YuLiu = 3;
  5127. }
  5128. //爬塔关卡信息
  5129. message CimbingTowerLevelInfoProto
  5130. {
  5131. int32 LevelId = 1; //爬塔关卡id
  5132. int64 WeekMaxScore = 2; //本周最高得分
  5133. bool IsGetReward = 3; //是否获得过奖励
  5134. bool IsPass = 4; //是否通过(重置的时候会进行清理成false)
  5135. string YuLiu = 5;
  5136. }
  5137. //1.获取爬塔信息协议:
  5138. //ResponseType S2C_GetGetCimbingTowerInfo
  5139. message C2S_GetCimbingTowerInfo // IActorLocationRequest
  5140. {
  5141. int32 RpcId = 90;
  5142. string YuLiu = 1;
  5143. }
  5144. message S2C_GetGetCimbingTowerInfo // IActorLocationResponse
  5145. {
  5146. int32 RpcId = 90;
  5147. int32 Error = 91;
  5148. string Message = 92;
  5149. repeated string WeekTags = 1; //本周主题标签
  5150. repeated int WeekUserItems = 2; //本周使用过的物品ids
  5151. repeated CardAbrasionInfo CardAbrasionInfoList = 3; //词牌磨损信息list
  5152. repeated CimbingTowerLevelInfoProto CimbingTowerLevelInfoList = 4; //爬塔关卡信息list
  5153. repeated int32 EquipAIds = 5; //换装id列表1
  5154. repeated int32 EquipBIds = 6; //换装id列表2
  5155. repeated int32 EquipCIds = 7; //换装id列表3
  5156. int32 MaxLevelId = 8; //历史最高挑战关卡id
  5157. string YuLiu = 9;
  5158. }
  5159. //2.重置爬塔协议 一周一次:
  5160. //ResponseType S2C_CimbingTowerResetLevel
  5161. message C2S_CimbingTowerResetLevel // IActorLocationRequest
  5162. {
  5163. int32 RpcId = 90;
  5164. string YuLiu = 1;
  5165. }
  5166. message S2C_CimbingTowerResetLevel // IActorLocationResponse
  5167. {
  5168. int32 RpcId = 90;
  5169. int32 Error = 91;
  5170. string Message = 92;
  5171. repeated CardAbrasionInfo CardAbrasionInfoList = 1; //词牌磨损信息list(重置的时候会重置磨损度)
  5172. repeated CimbingTowerLevelInfoProto CimbingTowerLevelInfoList = 2; //爬塔关卡信息list
  5173. string YuLiu = 3;
  5174. }
  5175. //3.保存搭配信息协议:
  5176. //ResponseType S2C_CimbingTowerSaveCollocation
  5177. message C2S_CimbingTowerSaveCollocation // IActorLocationRequest
  5178. {
  5179. int32 RpcId = 90;
  5180. repeated int32 EquipAIds = 1; //换装id列表1
  5181. repeated int32 EquipBIds = 2; //换装id列表2
  5182. repeated int32 EquipCIds = 3; //换装id列表3
  5183. string YuLiu = 4;
  5184. }
  5185. message S2C_CimbingTowerSaveCollocation // IActorLocationResponse
  5186. {
  5187. int32 RpcId = 90;
  5188. int32 Error = 91;
  5189. string Message = 92;
  5190. repeated int32 EquipAIds = 1; //换装id列表1
  5191. repeated int32 EquipBIds = 2; //换装id列表2
  5192. repeated int32 EquipCIds = 3; //换装id列表3
  5193. string YuLiu = 4;
  5194. }
  5195. //4.关卡挑战协议:
  5196. //ResponseType S2C_CimbingTowerFightLevel
  5197. message C2S_CimbingTowerFightLevel // IActorLocationRequest
  5198. {
  5199. int32 RpcId = 90;
  5200. int32 LevelId = 1; //关卡id
  5201. repeated int64 FightScoreList = 2; //战斗得分
  5202. repeated int32 EquipAIds = 3; //换装id列表1
  5203. repeated int32 EquipBIds = 4; //换装id列表2
  5204. repeated int32 EquipCIds = 5; //换装id列表3
  5205. string YuLiu = 6;
  5206. }
  5207. message S2C_CimbingTowerFightLevel // IActorLocationResponse
  5208. {
  5209. int32 RpcId = 90;
  5210. int32 Error = 91;
  5211. string Message = 92;
  5212. bool FightStatus = 1; //挑战胜利:true 挑战胜利失败:false
  5213. CimbingTowerLevelInfoProto CimbingTowerLevelInfo = 2; //爬塔关卡信息(返回最新当前挑战完的关卡)
  5214. repeated CardAbrasionInfo CardAbrasionInfoList = 3; //词牌磨损信息(只返回当前使用过的词牌)
  5215. repeated int WeekUserItems = 4; //本周使用过的物品ids
  5216. repeated ItemInfoProto BonusList = 5; //奖励
  5217. repeated int32 EquipAIds = 6; //换装id列表1
  5218. repeated int32 EquipBIds = 7; //换装id列表2
  5219. repeated int32 EquipCIds = 8; //换装id列表3
  5220. int32 MaxLevelId = 9; //历史最高挑战关卡id
  5221. string YuLiu = 10;
  5222. }
  5223. //5.一键通过:---不用消耗磨损跟扣衣服
  5224. //ResponseType S2C_CimbingTowerOneClickPass
  5225. message C2S_CimbingTowerOneClickPass // IActorLocationRequest
  5226. {
  5227. int32 RpcId = 90;
  5228. string YuLiu = 1;
  5229. }
  5230. message S2C_CimbingTowerOneClickPass // IActorLocationResponse
  5231. {
  5232. int32 RpcId = 90;
  5233. int32 Error = 91;
  5234. string Message = 92;
  5235. repeated ItemInfoProto BonusList = 1; //奖励
  5236. repeated CimbingTowerLevelInfoProto CimbingTowerLevelInfoList = 2; //爬塔关卡信息list
  5237. int32 MaxLevelId = 3; //历史最高挑战关卡id
  5238. string YuLiu = 4;
  5239. }
  5240. //6.服务端推送最新标签--一般在周刷的时候,推送给在线的玩家
  5241. message S2C_PushCimbingTowerInfo // IActorMessage
  5242. {
  5243. repeated string WeekTags = 1; //本周主题标签
  5244. string YuLiu = 2;
  5245. }
  5246. //======================轮盘活动协议
  5247. //玩家上线获取许愿活动的内容
  5248. //ResponseType S2C_GetWishingActivityInfo
  5249. message C2S_GetWishingActivityInfo // IActorLocationRequest
  5250. {
  5251. int32 RpcId = 90;
  5252. string ReqOther = 91;
  5253. int32 AcitvityId = 1;
  5254. }
  5255. message S2C_GetWishingActivityInfo // IActorLocationResponse
  5256. {
  5257. int32 RpcId = 90;
  5258. int32 Error = 91;
  5259. string Message = 92;
  5260. string ResOther = 93;
  5261. int32 ActivityId = 1;
  5262. int32 SpecialRewardNum = 2; //特殊奖励下次必出特殊奖励次数
  5263. int32 SpecialTotalNum = 3; //总共许愿次数
  5264. repeated int32 RewardIds = 4; //奖励id list
  5265. repeated int32 RewardStatus = 5; //奖励状态
  5266. int32 ExtraIdDropId = 6; //最新特殊奖励的掉落id
  5267. repeated int32 WishingBags = 7; //玩家在这个活动获得过的物品,只记录掉落出来的,不记录礼包打开获得的.
  5268. }
  5269. //许愿协议
  5270. //ResponseType S2C_WishingLuckyBox
  5271. message C2S_WishingLuckyBox // IActorLocationRequest
  5272. {
  5273. int32 RpcId = 90;
  5274. string ReqOther = 91;
  5275. int32 AcitvityId = 1;
  5276. int32 WishingType = 2; //许愿类型: 1.许愿1次 2.许愿3次
  5277. }
  5278. message S2C_WishingLuckyBox // IActorLocationResponse
  5279. {
  5280. int32 RpcId = 90;
  5281. int32 Error = 91;
  5282. string Message = 92;
  5283. string ResOther = 93;
  5284. int32 AcitvityId = 1;
  5285. int32 WishingType = 2; //许愿类型: 1.许愿1次 2.许愿3次
  5286. int32 SpecialRewardNum = 3; //特殊奖励下次必出特殊奖励次数
  5287. repeated int32 RewardIds = 4; //奖励id list
  5288. repeated int32 RewardStatus = 5; //奖励状态
  5289. int32 SpecialTotalNum = 6; //总共许愿次数
  5290. repeated ItemInfoProto RewardList = 7; //普通物品奖励
  5291. repeated ItemInfoProto SpecialRewardList = 8; //特殊奖励物品
  5292. int32 ExtraIdDropId = 9; //最新特殊奖励的掉落id
  5293. repeated int32 WishingBags = 10; //玩家在这个活动获得过的物品,只记录掉落出来的,不记录礼包打开获得的.
  5294. }
  5295. //领取奖励
  5296. //ResponseType S2C_GetWishingRewards
  5297. message C2S_GetWishingRewards // IActorLocationRequest
  5298. {
  5299. int32 RpcId = 90;
  5300. string ReqOther = 91;
  5301. int32 RewardId = 1; //奖励id
  5302. }
  5303. message S2C_GetWishingRewards // IActorLocationResponse
  5304. {
  5305. int32 RpcId = 90;
  5306. int32 Error = 91;
  5307. string Message = 92;
  5308. string ResOther = 93;
  5309. repeated ItemInfoProto RewardList = 1;
  5310. repeated int32 RewardIds = 2; //奖励id list
  5311. repeated int32 RewardStatus = 3; //奖励状态
  5312. }
  5313. //绑定手机号码
  5314. //ResponseType S2C_BindMobilePhoneNumber
  5315. message C2S_BindMobilePhoneNumber // IActorLocationRequest
  5316. {
  5317. int32 RpcId = 90;
  5318. string ReqOther = 91;
  5319. string PhoneNumber = 1; //手机号码
  5320. string VerCode = 2; //验证码
  5321. }
  5322. message S2C_BindMobilePhoneNumber // IActorLocationResponse
  5323. {
  5324. int32 RpcId = 90;
  5325. int32 Error = 91;
  5326. string Message = 92;
  5327. string ResOther = 93;
  5328. repeated ItemInfoProto RewardList = 1;
  5329. string PhoneNumber = 2; //手机号码
  5330. }
  5331. //修改账户名以及密码
  5332. //ResponseType S2C_UpAccountPassword
  5333. message C2S_UpAccountPassword // IActorLocationRequest
  5334. {
  5335. int32 RpcId = 90;
  5336. string ReqOther = 91;
  5337. string PhoneNumber = 1; //手机号码
  5338. string VerCode = 2; //验证码
  5339. string Account = 3;
  5340. string Password = 4;
  5341. }
  5342. message S2C_UpAccountPassword // IActorLocationResponse
  5343. {
  5344. int32 RpcId = 90;
  5345. int32 Error = 91;
  5346. string Message = 92;
  5347. string ResOther = 93;
  5348. repeated ItemInfoProto RewardList = 1;
  5349. }
  5350. //通知服务端发送手机验证码
  5351. //ResponseType S2C_GetMobileVerificationCodeUnit
  5352. message C2S_GetMobileVerificationCodeUnit // IActorLocationRequest
  5353. {
  5354. int32 RpcId = 90;
  5355. string ReqOther = 91;
  5356. string PhoneNumber = 1; //手机号码
  5357. }
  5358. message S2C_GetMobileVerificationCodeUnit // IActorLocationResponse
  5359. {
  5360. int32 RpcId = 90;
  5361. int32 Error = 91;
  5362. string Message = 92;
  5363. string ResOther = 93;
  5364. string PhoneNumber = 1; //手机号码
  5365. }
  5366. //合成小游戏协议=================================
  5367. //获取合成小游戏信息
  5368. //ResponseType S2C_GetMergeGameInfo
  5369. message C2S_GetMergeGameInfo // IActorLocationRequest
  5370. {
  5371. int32 RpcId = 90;
  5372. string ReqOther = 91;
  5373. int32 SubType = 1; //合成小游戏子类型
  5374. }
  5375. message S2C_GetMergeGameInfo // IActorLocationResponse
  5376. {
  5377. int32 RpcId = 90;
  5378. int32 Error = 91;
  5379. string Message = 92;
  5380. string ResOther = 93;
  5381. int32 CurLevelId = 1; //当前处于的关卡id
  5382. bool CurLevelStatus = 2; //当前关卡通过状态.正常都是未通过,只有全部都通过完了之后这里会是最后一关的通过状态
  5383. repeated int32 PassLevelIds = 3; //已经通关的关卡id列表
  5384. repeated int32 ShowLatticeList = 4; //展示区, 索引代表格子位置, 无道具会用0填充,有道具即用材料id填充
  5385. repeated int32 ItemsKey = 5; //为new的材料ids, 用来处理合成路线new样式,等.
  5386. repeated int32 ItemsVal = 6; //每个材料的状态。0未获得过 1新获得的new 2已获得过
  5387. }
  5388. //取消new样式
  5389. //ResponseType S2C_MergeGameCancelNewStyle
  5390. message C2S_MergeGameCancelNewStyle // IActorLocationRequest
  5391. {
  5392. int32 RpcId = 90;
  5393. string ReqOther = 91;
  5394. int32 SubType = 1; //合成小游戏子类型
  5395. }
  5396. message S2C_MergeGameCancelNewStyle // IActorLocationResponse
  5397. {
  5398. int32 RpcId = 90;
  5399. int32 Error = 91;
  5400. string Message = 92;
  5401. string ResOther = 93;
  5402. repeated int32 ItemsKey = 1; //为new的材料ids, 用来处理合成路线new样式,等.
  5403. repeated int32 ItemsVal = 2; //每个材料的状态。0未获得过 1新获得的new 2已获得过
  5404. }
  5405. //关卡完成,也就是gou策说的任务完成
  5406. //ResponseType S2C_MergeGameLevelPass
  5407. message C2S_MergeGameLevelPass // IActorLocationRequest
  5408. {
  5409. int32 RpcId = 90;
  5410. string ReqOther = 91;
  5411. int32 SubType = 1; //合成小游戏子类型
  5412. int32 LevelId = 2; //关卡id
  5413. }
  5414. message S2C_MergeGameLevelPass // IActorLocationResponse
  5415. {
  5416. int32 RpcId = 90;
  5417. int32 Error = 91;
  5418. string Message = 92;
  5419. string ResOther = 93;
  5420. int32 CurLevelId = 1; //当前处于的关卡id
  5421. bool CurLevelStatus = 2; //当前关卡通过状态.正常都是未通过,只有全部都通过完了之后这里会是最后一关的通过状态
  5422. repeated int32 PassLevelIds = 3; //已经通关的关卡id列表
  5423. repeated int32 ShowLatticeList = 4; //展示区, 索引代表格子位置, 无道具会用0填充,有道具即用材料id填充
  5424. repeated ItemInfoProto RewardList = 5; //奖励
  5425. }
  5426. //合成材料
  5427. //ResponseType S2C_MergeGameMaterialSynthesis
  5428. message C2S_MergeGameMaterialSynthesis // IActorLocationRequest
  5429. {
  5430. int32 RpcId = 90;
  5431. string ReqOther = 91;
  5432. int32 SubType = 1; //合成小游戏子类型
  5433. int32 OldItemIdA = 2; //原材料1移动的材料
  5434. int32 OldItemIdB = 3; //原材料2
  5435. repeated int32 BeforeMovShowLatticeList = 4; //移动合成材料之前的展示区
  5436. repeated int32 AfterMovShowLatticeList = 5; //移动合成材料之后的展示区
  5437. }
  5438. message S2C_MergeGameMaterialSynthesis // IActorLocationResponse
  5439. {
  5440. int32 RpcId = 90;
  5441. int32 Error = 91;
  5442. string Message = 92;
  5443. string ResOther = 93;
  5444. bool IsSynthesiSuccess = 1; //材料合成是否成功bool
  5445. int32 NewItemId = 2; //获得的新材料
  5446. repeated int32 ShowLatticeList = 3; //展示区, 索引代表格子位置, 无道具会用0填充,有道具即用材料id填充
  5447. repeated ItemInfoProto RewardList = 4; //奖励
  5448. repeated int32 ItemsKey = 5; //为new的材料ids, 用来处理合成路线new样式,等.
  5449. repeated int32 ItemsVal = 6; //每个材料的状态。1新获得的new 2已获得过
  5450. }
  5451. //合成小游戏兑换获取材料
  5452. //ResponseType S2C_MergeGameExchangeMaterial
  5453. message C2S_MergeGameExchangeMaterial // IActorLocationRequest
  5454. {
  5455. int32 RpcId = 90;
  5456. string ReqOther = 91;
  5457. int32 ExchangeType = 1; //1.左边的豆包 2.右边的阿福
  5458. int32 LevelId = 2; //游戏关卡id
  5459. }
  5460. message S2C_MergeGameExchangeMaterial // IActorLocationResponse
  5461. {
  5462. int32 RpcId = 90;
  5463. int32 Error = 91;
  5464. string Message = 92;
  5465. string ResOther = 93;
  5466. string ItemIdVPosition = 1; //通过兑换获得的(材料id-位置),这个的作用是让客户端好知道哪个位置新加了哪个材料,好做效果.
  5467. repeated int32 ShowLatticeList = 2; //展示区,新增材料之后的展示区
  5468. repeated int32 ItemsKey = 3; //为new的材料ids, 用来处理合成路线new样式,等.
  5469. repeated int32 ItemsVal = 4; //每个材料的状态。 1新获得的new 2已获得过
  5470. }
  5471. //出售材料
  5472. //ResponseType S2C_MergeGameSellingMaterials
  5473. message C2S_MergeGameSellingMaterials // IActorLocationRequest
  5474. {
  5475. int32 RpcId = 90;
  5476. string ReqOther = 91;
  5477. int32 SubType = 1; //合成小游戏子类型
  5478. int32 ResType = 2; //使用的资源组
  5479. int32 Materialld = 3; //材料id MergeCfg.materialld
  5480. int32 Position = 4; //售卖的位置
  5481. }
  5482. message S2C_MergeGameSellingMaterials // IActorLocationResponse
  5483. {
  5484. int32 RpcId = 90;
  5485. int32 Error = 91;
  5486. string Message = 92;
  5487. string ResOther = 93;
  5488. repeated int32 ShowLatticeList = 1; //展示区,新增材料之后的展示区
  5489. repeated ItemInfoProto RewardList = 2; //奖励
  5490. }
  5491. //抽奖(盲盒)
  5492. //ResponseType M2C_BlindBox
  5493. message C2M_BlindBox // IActorLocationRequest
  5494. {
  5495. int32 RpcId = 90;
  5496. string ReqOther = 91;
  5497. int32 BlindBoxId = 1; //盲盒抽奖id
  5498. int32 Times = 2; //本次抽奖次数
  5499. int32 ActivityId = 3; //活动id
  5500. }
  5501. message M2C_BlindBox // IActorLocationResponse
  5502. {
  5503. int32 RpcId = 90;
  5504. int32 Error = 91;
  5505. string Message = 92;
  5506. string ResOther = 93;
  5507. int32 BlindBoxId = 1; //盲盒抽奖id
  5508. int32 Times = 2; //本次抽奖次数
  5509. repeated ItemInfoProto bonusList = 3; //奖励列表
  5510. int32 ActivityId = 4; //活动id
  5511. }
  5512. //创建支付宝订单
  5513. //ResponseType S2C_CreateAliOrder
  5514. message C2S_CreateAliOrder // IActorLocationRequest
  5515. {
  5516. int32 RpcId = 90;
  5517. int64 OrderTempId = 1; //临时订单号
  5518. int32 ShopId = 2; //商品id
  5519. int64 Price = 3; //价格
  5520. }
  5521. message S2C_CreateAliOrder // IActorLocationResponse
  5522. {
  5523. int32 RpcId = 90;
  5524. int32 Error = 91;
  5525. string Message = 92;
  5526. int32 BuyId = 1; //购买项在商店里的编号id
  5527. //以下只有RMB充值才会返回,客户端试用以下参数请求平台充值
  5528. string OrderId = 4; //订单号
  5529. int64 Price = 5; //价格
  5530. string AliOrderStr = 6; //支付宝的串
  5531. }
  5532. //登记玩家信息
  5533. //ResponseType M2C_RegisterRoleInfo
  5534. message C2M_RegisterRoleInfo // IActorLocationRequest
  5535. {
  5536. int32 RpcId = 90;
  5537. string ReqOther = 91;
  5538. string PhoneNumber = 1; //手机号
  5539. string VerificationCode = 2; //验证码
  5540. string Account = 3; //账号
  5541. string Password = 4; //密码
  5542. string ConfirmPassword = 5; //确认密码
  5543. string IdCard = 6; //身份证号
  5544. string CardName = 7; //真实姓名
  5545. }
  5546. message M2C_RegisterRoleInfo // IActorLocationResponse
  5547. {
  5548. int32 RpcId = 90;
  5549. int32 Error = 91;
  5550. string Message = 92;
  5551. string ResOther = 93;
  5552. string PhoneNumber = 1; //手机号
  5553. string Account = 2; //账号
  5554. repeated ItemInfoProto RewardList = 3; //奖励
  5555. }
  5556. //创建微信订单
  5557. //ResponseType S2C_CreateWeChatPayOrder
  5558. message C2S_CreateWeChatPayOrder // IActorLocationRequest
  5559. {
  5560. int32 RpcId = 90;
  5561. int64 OrderTempId = 1; //临时订单号
  5562. int32 ShopId = 2; //商品id
  5563. int64 Price = 3; //价格
  5564. }
  5565. message S2C_CreateWeChatPayOrder // IActorLocationResponse
  5566. {
  5567. int32 RpcId = 90;
  5568. int32 Error = 91;
  5569. string Message = 92;
  5570. int32 BuyId = 1; //购买项在商店里的编号id
  5571. //以下只有RMB充值才会返回,客户端试用以下参数请求平台充值
  5572. string OrderId = 2; //订单号
  5573. int64 Price = 3; //价格
  5574. string PrepayIdStr = 4; //微信返回的预付Id
  5575. string NonceStr = 5;
  5576. string Sign = 6;
  5577. string Timestamp = 7;
  5578. }
  5579. //ResponseType A2C_LoginAccount
  5580. message C2A_H5Login // IRequest
  5581. {
  5582. int32 RpcId = 90;
  5583. string user_id = 1;
  5584. string user_name = 2;
  5585. string uuid = 3;
  5586. string sign = 4;
  5587. string timestamp = 5;
  5588. string cp_ext = 6;
  5589. string Version = 7;
  5590. int32 PlatformId = 8;
  5591. int32 ChannelId = 9;
  5592. bool CancelDelete = 10;
  5593. }